- harness/es.py: append-only event store + проекции (образец — кооп-портал) - harness/levels.py: уровни 1с/1м/1ч/1д, контекст ∝ масштабу - harness/scheduler.py: уровневые потоки, идемпотентные тики, absorbed-стабы - harness/isolated_runner.py + _llm_worker.py: LLM-тик в сабпроцессе (глобальный asyncio-рантайм Strands не переживает 2+ create_harness) - cli.py: init/task/tasks/status/events + requeue (написан самим минутным агентом) - 9router: отдельный ключ sk-simbiot, модель auto (glm-5.3 первым)
31 lines
877 B
Python
31 lines
877 B
Python
|
|
class FFIError(Exception):
|
|
__module__ = 'cffi'
|
|
|
|
class CDefError(Exception):
|
|
__module__ = 'cffi'
|
|
def __str__(self):
|
|
try:
|
|
current_decl = self.args[1]
|
|
filename = current_decl.coord.file
|
|
linenum = current_decl.coord.line
|
|
prefix = '%s:%d: ' % (filename, linenum)
|
|
except (AttributeError, TypeError, IndexError):
|
|
prefix = ''
|
|
return '%s%s' % (prefix, self.args[0])
|
|
|
|
class VerificationError(Exception):
|
|
""" An error raised when verification fails
|
|
"""
|
|
__module__ = 'cffi'
|
|
|
|
class VerificationMissing(Exception):
|
|
""" An error raised when incomplete structures are passed into
|
|
cdef, but no verification has been done
|
|
"""
|
|
__module__ = 'cffi'
|
|
|
|
class PkgConfigError(Exception):
|
|
""" An error raised for missing modules in pkg-config
|
|
"""
|
|
__module__ = 'cffi'
|