@monoes/monomindcli 2.16.12 → 2.16.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/core/coder.md +1 -1
- package/.claude/agents/engineering/engineering-devops-automator.md +1 -1
- package/.claude/agents/github/repo-architect.md +1 -1
- package/.claude/agents/testing/production-validator.md +1 -1
- package/.claude/agents/testing/testing-tool-evaluator.md +1 -1
- package/.claude/commands/github/pr-manager.md +1 -1
- package/.claude/helpers/pick-rank.cjs +34 -4
- package/.claude/skills/monolean-audit/SKILL.md +1 -1
- package/README.md +1 -1
- package/dist/src/commands/cleanup-data.d.ts +30 -0
- package/dist/src/commands/cleanup-data.d.ts.map +1 -0
- package/dist/src/commands/cleanup-data.js +138 -0
- package/dist/src/commands/cleanup-data.js.map +1 -0
- package/dist/src/commands/cleanup-scratch.d.ts +43 -0
- package/dist/src/commands/cleanup-scratch.d.ts.map +1 -0
- package/dist/src/commands/cleanup-scratch.js +125 -0
- package/dist/src/commands/cleanup-scratch.js.map +1 -0
- package/dist/src/commands/cleanup.d.ts +2 -39
- package/dist/src/commands/cleanup.d.ts.map +1 -1
- package/dist/src/commands/cleanup.js +5 -247
- package/dist/src/commands/cleanup.js.map +1 -1
- package/dist/src/commands/doctor-gitignore-checks.d.ts +10 -0
- package/dist/src/commands/doctor-gitignore-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-gitignore-checks.js +141 -0
- package/dist/src/commands/doctor-gitignore-checks.js.map +1 -0
- package/dist/src/commands/doctor-helpers-checks.d.ts +10 -0
- package/dist/src/commands/doctor-helpers-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-helpers-checks.js +292 -0
- package/dist/src/commands/doctor-helpers-checks.js.map +1 -0
- package/dist/src/commands/doctor-memory-checks.d.ts +47 -0
- package/dist/src/commands/doctor-memory-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-memory-checks.js +298 -0
- package/dist/src/commands/doctor-memory-checks.js.map +1 -0
- package/dist/src/commands/doctor-monograph-checks.d.ts +9 -0
- package/dist/src/commands/doctor-monograph-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-monograph-checks.js +331 -0
- package/dist/src/commands/doctor-monograph-checks.js.map +1 -0
- package/dist/src/commands/doctor-project-checks.d.ts +7 -66
- package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.js +10 -1331
- package/dist/src/commands/doctor-project-checks.js.map +1 -1
- package/dist/src/commands/doctor-routing-checks.d.ts +10 -0
- package/dist/src/commands/doctor-routing-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-routing-checks.js +194 -0
- package/dist/src/commands/doctor-routing-checks.js.map +1 -0
- package/dist/src/commands/doctor-worker-checks.d.ts +17 -0
- package/dist/src/commands/doctor-worker-checks.d.ts.map +1 -0
- package/dist/src/commands/doctor-worker-checks.js +122 -0
- package/dist/src/commands/doctor-worker-checks.js.map +1 -0
- package/dist/src/commands/hooks-routing-commands.js +1 -1
- package/dist/src/commands/hooks-routing-commands.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +6 -15
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/org-control.d.ts +117 -0
- package/dist/src/commands/org-control.d.ts.map +1 -0
- package/dist/src/commands/org-control.js +274 -0
- package/dist/src/commands/org-control.js.map +1 -0
- package/dist/src/commands/org-lifecycle.d.ts +7 -0
- package/dist/src/commands/org-lifecycle.d.ts.map +1 -0
- package/dist/src/commands/org-lifecycle.js +298 -0
- package/dist/src/commands/org-lifecycle.js.map +1 -0
- package/dist/src/commands/org-manage.d.ts +7 -0
- package/dist/src/commands/org-manage.d.ts.map +1 -0
- package/dist/src/commands/org-manage.js +357 -0
- package/dist/src/commands/org-manage.js.map +1 -0
- package/dist/src/commands/org-memory-command.d.ts +3 -0
- package/dist/src/commands/org-memory-command.d.ts.map +1 -0
- package/dist/src/commands/org-memory-command.js +178 -0
- package/dist/src/commands/org-memory-command.js.map +1 -0
- package/dist/src/commands/org-observe-approvals.d.ts +8 -0
- package/dist/src/commands/org-observe-approvals.d.ts.map +1 -0
- package/dist/src/commands/org-observe-approvals.js +211 -0
- package/dist/src/commands/org-observe-approvals.js.map +1 -0
- package/dist/src/commands/org-observe-checkpoint.d.ts +26 -0
- package/dist/src/commands/org-observe-checkpoint.d.ts.map +1 -0
- package/dist/src/commands/org-observe-checkpoint.js +180 -0
- package/dist/src/commands/org-observe-checkpoint.js.map +1 -0
- package/dist/src/commands/org-observe-config.d.ts +8 -0
- package/dist/src/commands/org-observe-config.d.ts.map +1 -0
- package/dist/src/commands/org-observe-config.js +160 -0
- package/dist/src/commands/org-observe-config.js.map +1 -0
- package/dist/src/commands/org-observe-gates.d.ts +4 -0
- package/dist/src/commands/org-observe-gates.d.ts.map +1 -0
- package/dist/src/commands/org-observe-gates.js +182 -0
- package/dist/src/commands/org-observe-gates.js.map +1 -0
- package/dist/src/commands/org-observe-inbox.d.ts +18 -0
- package/dist/src/commands/org-observe-inbox.d.ts.map +1 -0
- package/dist/src/commands/org-observe-inbox.js +154 -0
- package/dist/src/commands/org-observe-inbox.js.map +1 -0
- package/dist/src/commands/org-observe-logs.d.ts +31 -0
- package/dist/src/commands/org-observe-logs.d.ts.map +1 -0
- package/dist/src/commands/org-observe-logs.js +272 -0
- package/dist/src/commands/org-observe-logs.js.map +1 -0
- package/dist/src/commands/org-observe-questions.d.ts +8 -0
- package/dist/src/commands/org-observe-questions.d.ts.map +1 -0
- package/dist/src/commands/org-observe-questions.js +201 -0
- package/dist/src/commands/org-observe-questions.js.map +1 -0
- package/dist/src/commands/org-observe-report.d.ts +8 -0
- package/dist/src/commands/org-observe-report.d.ts.map +1 -0
- package/dist/src/commands/org-observe-report.js +366 -0
- package/dist/src/commands/org-observe-report.js.map +1 -0
- package/dist/src/commands/org-observe-shared.d.ts +20 -0
- package/dist/src/commands/org-observe-shared.d.ts.map +1 -0
- package/dist/src/commands/org-observe-shared.js +55 -0
- package/dist/src/commands/org-observe-shared.js.map +1 -0
- package/dist/src/commands/org-observe.d.ts +9 -101
- package/dist/src/commands/org-observe.d.ts.map +1 -1
- package/dist/src/commands/org-observe.js +12 -1675
- package/dist/src/commands/org-observe.js.map +1 -1
- package/dist/src/commands/org-poll.d.ts +57 -0
- package/dist/src/commands/org-poll.d.ts.map +1 -0
- package/dist/src/commands/org-poll.js +194 -0
- package/dist/src/commands/org-poll.js.map +1 -0
- package/dist/src/commands/org-run.d.ts +3 -0
- package/dist/src/commands/org-run.d.ts.map +1 -0
- package/dist/src/commands/org-run.js +449 -0
- package/dist/src/commands/org-run.js.map +1 -0
- package/dist/src/commands/org-serve.d.ts +19 -0
- package/dist/src/commands/org-serve.d.ts.map +1 -0
- package/dist/src/commands/org-serve.js +395 -0
- package/dist/src/commands/org-serve.js.map +1 -0
- package/dist/src/commands/org-subcommands-config.d.ts +8 -0
- package/dist/src/commands/org-subcommands-config.d.ts.map +1 -0
- package/dist/src/commands/org-subcommands-config.js +93 -0
- package/dist/src/commands/org-subcommands-config.js.map +1 -0
- package/dist/src/commands/org-subcommands-hil.d.ts +11 -0
- package/dist/src/commands/org-subcommands-hil.d.ts.map +1 -0
- package/dist/src/commands/org-subcommands-hil.js +216 -0
- package/dist/src/commands/org-subcommands-hil.js.map +1 -0
- package/dist/src/commands/org-subcommands-observe.d.ts +12 -0
- package/dist/src/commands/org-subcommands-observe.d.ts.map +1 -0
- package/dist/src/commands/org-subcommands-observe.js +249 -0
- package/dist/src/commands/org-subcommands-observe.js.map +1 -0
- package/dist/src/commands/org-subcommands-runtime.d.ts +12 -0
- package/dist/src/commands/org-subcommands-runtime.d.ts.map +1 -0
- package/dist/src/commands/org-subcommands-runtime.js +163 -0
- package/dist/src/commands/org-subcommands-runtime.js.map +1 -0
- package/dist/src/commands/org.d.ts +3 -151
- package/dist/src/commands/org.d.ts.map +1 -1
- package/dist/src/commands/org.js +43 -2735
- package/dist/src/commands/org.js.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/init/never-commit.d.ts +3 -3
- package/dist/src/init/types.d.ts +1 -1
- package/dist/src/init/types.js +1 -1
- package/dist/src/knowledge/document-store.js +1 -1
- package/dist/src/knowledge/document-store.js.map +1 -1
- package/dist/src/mcp-tools/hooks-edit-command.d.ts +10 -0
- package/dist/src/mcp-tools/hooks-edit-command.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-edit-command.js +247 -0
- package/dist/src/mcp-tools/hooks-edit-command.js.map +1 -0
- package/dist/src/mcp-tools/hooks-learning.d.ts +9 -0
- package/dist/src/mcp-tools/hooks-learning.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-learning.js +408 -0
- package/dist/src/mcp-tools/hooks-learning.js.map +1 -0
- package/dist/src/mcp-tools/hooks-metrics-list.d.ts +8 -0
- package/dist/src/mcp-tools/hooks-metrics-list.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-metrics-list.js +205 -0
- package/dist/src/mcp-tools/hooks-metrics-list.js.map +1 -0
- package/dist/src/mcp-tools/hooks-route.d.ts +12 -0
- package/dist/src/mcp-tools/hooks-route.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-route.js +251 -0
- package/dist/src/mcp-tools/hooks-route.js.map +1 -0
- package/dist/src/mcp-tools/hooks-routing.d.ts +6 -27
- package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.js +6 -1727
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/hooks-session.d.ts +9 -0
- package/dist/src/mcp-tools/hooks-session.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-session.js +243 -0
- package/dist/src/mcp-tools/hooks-session.js.map +1 -0
- package/dist/src/mcp-tools/hooks-task.d.ts +17 -0
- package/dist/src/mcp-tools/hooks-task.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-task.js +427 -0
- package/dist/src/mcp-tools/hooks-task.js.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts +2 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +2 -1
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +1 -1
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/memory/bm25-index.d.ts +2 -2
- package/dist/src/memory/bm25-index.js +2 -2
- package/dist/src/memory/embedding-operations.js +2 -2
- package/dist/src/memory/embedding-operations.js.map +1 -1
- package/dist/src/memory/entity-name-key.d.ts +1 -1
- package/dist/src/memory/entity-name-key.js +1 -1
- package/dist/src/memory/hnsw-operations.d.ts +1 -1
- package/dist/src/memory/hnsw-operations.js +1 -1
- package/dist/src/memory/memory-bridge-backend.d.ts +43 -0
- package/dist/src/memory/memory-bridge-backend.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-backend.js +363 -0
- package/dist/src/memory/memory-bridge-backend.js.map +1 -0
- package/dist/src/memory/memory-bridge-core.d.ts +42 -0
- package/dist/src/memory/memory-bridge-core.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-core.js +126 -0
- package/dist/src/memory/memory-bridge-core.js.map +1 -0
- package/dist/src/memory/memory-bridge-entries.d.ts +131 -0
- package/dist/src/memory/memory-bridge-entries.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-entries.js +227 -0
- package/dist/src/memory/memory-bridge-entries.js.map +1 -0
- package/dist/src/memory/memory-bridge-feedback.d.ts +60 -0
- package/dist/src/memory/memory-bridge-feedback.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-feedback.js +118 -0
- package/dist/src/memory/memory-bridge-feedback.js.map +1 -0
- package/dist/src/memory/memory-bridge-paths.d.ts +123 -0
- package/dist/src/memory/memory-bridge-paths.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-paths.js +335 -0
- package/dist/src/memory/memory-bridge-paths.js.map +1 -0
- package/dist/src/memory/memory-bridge-search.d.ts +48 -0
- package/dist/src/memory/memory-bridge-search.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-search.js +383 -0
- package/dist/src/memory/memory-bridge-search.js.map +1 -0
- package/dist/src/memory/memory-bridge-sessions.d.ts +38 -0
- package/dist/src/memory/memory-bridge-sessions.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-sessions.js +109 -0
- package/dist/src/memory/memory-bridge-sessions.js.map +1 -0
- package/dist/src/memory/memory-bridge-store.d.ts +58 -0
- package/dist/src/memory/memory-bridge-store.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge-store.js +201 -0
- package/dist/src/memory/memory-bridge-store.js.map +1 -0
- package/dist/src/memory/memory-bridge.d.ts +10 -438
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +14 -1787
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-kg-claims.d.ts +52 -0
- package/dist/src/memory/memory-kg-claims.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-claims.js +99 -0
- package/dist/src/memory/memory-kg-claims.js.map +1 -0
- package/dist/src/memory/memory-kg-index.d.ts +86 -0
- package/dist/src/memory/memory-kg-index.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-index.js +256 -0
- package/dist/src/memory/memory-kg-index.js.map +1 -0
- package/dist/src/memory/memory-kg-ingest.d.ts +44 -0
- package/dist/src/memory/memory-kg-ingest.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-ingest.js +361 -0
- package/dist/src/memory/memory-kg-ingest.js.map +1 -0
- package/dist/src/memory/memory-kg-model.d.ts +168 -0
- package/dist/src/memory/memory-kg-model.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-model.js +158 -0
- package/dist/src/memory/memory-kg-model.js.map +1 -0
- package/dist/src/memory/memory-kg-names.d.ts +64 -0
- package/dist/src/memory/memory-kg-names.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-names.js +187 -0
- package/dist/src/memory/memory-kg-names.js.map +1 -0
- package/dist/src/memory/memory-kg-promote.d.ts +79 -0
- package/dist/src/memory/memory-kg-promote.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-promote.js +248 -0
- package/dist/src/memory/memory-kg-promote.js.map +1 -0
- package/dist/src/memory/memory-kg-rebuild.d.ts +77 -0
- package/dist/src/memory/memory-kg-rebuild.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-rebuild.js +299 -0
- package/dist/src/memory/memory-kg-rebuild.js.map +1 -0
- package/dist/src/memory/memory-kg-rollback.d.ts +47 -0
- package/dist/src/memory/memory-kg-rollback.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-rollback.js +193 -0
- package/dist/src/memory/memory-kg-rollback.js.map +1 -0
- package/dist/src/memory/memory-kg-rules.d.ts +64 -0
- package/dist/src/memory/memory-kg-rules.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-rules.js +251 -0
- package/dist/src/memory/memory-kg-rules.js.map +1 -0
- package/dist/src/memory/memory-kg-scan.d.ts +118 -0
- package/dist/src/memory/memory-kg-scan.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-scan.js +209 -0
- package/dist/src/memory/memory-kg-scan.js.map +1 -0
- package/dist/src/memory/memory-kg-search.d.ts +80 -0
- package/dist/src/memory/memory-kg-search.d.ts.map +1 -0
- package/dist/src/memory/memory-kg-search.js +239 -0
- package/dist/src/memory/memory-kg-search.js.map +1 -0
- package/dist/src/memory/memory-kg.d.ts +19 -547
- package/dist/src/memory/memory-kg.d.ts.map +1 -1
- package/dist/src/memory/memory-kg.js +10 -2389
- package/dist/src/memory/memory-kg.js.map +1 -1
- package/dist/src/orgrt/daemon-types.d.ts +196 -0
- package/dist/src/orgrt/daemon-types.d.ts.map +1 -0
- package/dist/src/orgrt/daemon-types.js +38 -0
- package/dist/src/orgrt/daemon-types.js.map +1 -0
- package/dist/src/orgrt/daemon.d.ts +70 -300
- package/dist/src/orgrt/daemon.d.ts.map +1 -1
- package/dist/src/orgrt/daemon.js +41 -2536
- package/dist/src/orgrt/daemon.js.map +1 -1
- package/dist/src/orgrt/idle-watchdog.d.ts +39 -0
- package/dist/src/orgrt/idle-watchdog.d.ts.map +1 -0
- package/dist/src/orgrt/idle-watchdog.js +289 -0
- package/dist/src/orgrt/idle-watchdog.js.map +1 -0
- package/dist/src/orgrt/org-reload.d.ts +7 -0
- package/dist/src/orgrt/org-reload.d.ts.map +1 -0
- package/dist/src/orgrt/org-reload.js +111 -0
- package/dist/src/orgrt/org-reload.js.map +1 -0
- package/dist/src/orgrt/org-start-steps.d.ts +21 -0
- package/dist/src/orgrt/org-start-steps.d.ts.map +1 -0
- package/dist/src/orgrt/org-start-steps.js +305 -0
- package/dist/src/orgrt/org-start-steps.js.map +1 -0
- package/dist/src/orgrt/org-start.d.ts +7 -0
- package/dist/src/orgrt/org-start.d.ts.map +1 -0
- package/dist/src/orgrt/org-start.js +435 -0
- package/dist/src/orgrt/org-start.js.map +1 -0
- package/dist/src/orgrt/org-state-file.d.ts +8 -0
- package/dist/src/orgrt/org-state-file.d.ts.map +1 -0
- package/dist/src/orgrt/org-state-file.js +116 -0
- package/dist/src/orgrt/org-state-file.js.map +1 -0
- package/dist/src/orgrt/org-stop.d.ts +6 -0
- package/dist/src/orgrt/org-stop.d.ts.map +1 -0
- package/dist/src/orgrt/org-stop.js +332 -0
- package/dist/src/orgrt/org-stop.js.map +1 -0
- package/dist/src/orgrt/org-tools.d.ts +11 -0
- package/dist/src/orgrt/org-tools.d.ts.map +1 -0
- package/dist/src/orgrt/org-tools.js +305 -0
- package/dist/src/orgrt/org-tools.js.map +1 -0
- package/dist/src/orgrt/role-incarnation.d.ts +18 -0
- package/dist/src/orgrt/role-incarnation.d.ts.map +1 -0
- package/dist/src/orgrt/role-incarnation.js +374 -0
- package/dist/src/orgrt/role-incarnation.js.map +1 -0
- package/dist/src/orgrt/role-respawn.d.ts +7 -0
- package/dist/src/orgrt/role-respawn.d.ts.map +1 -0
- package/dist/src/orgrt/role-respawn.js +318 -0
- package/dist/src/orgrt/role-respawn.js.map +1 -0
- package/dist/src/orgrt/role-session-opts.d.ts +389 -0
- package/dist/src/orgrt/role-session-opts.d.ts.map +1 -0
- package/dist/src/orgrt/role-session-opts.js +289 -0
- package/dist/src/orgrt/role-session-opts.js.map +1 -0
- package/dist/src/orgrt/runner-resolve.d.ts +43 -0
- package/dist/src/orgrt/runner-resolve.d.ts.map +1 -0
- package/dist/src/orgrt/runner-resolve.js +77 -0
- package/dist/src/orgrt/runner-resolve.js.map +1 -0
- package/dist/src/orgrt/session-gate.d.ts +34 -0
- package/dist/src/orgrt/session-gate.d.ts.map +1 -0
- package/dist/src/orgrt/session-gate.js +74 -0
- package/dist/src/orgrt/session-gate.js.map +1 -0
- package/dist/src/orgrt/session-prompt.d.ts +31 -0
- package/dist/src/orgrt/session-prompt.d.ts.map +1 -0
- package/dist/src/orgrt/session-prompt.js +115 -0
- package/dist/src/orgrt/session-prompt.js.map +1 -0
- package/dist/src/orgrt/session-run.d.ts +18 -0
- package/dist/src/orgrt/session-run.d.ts.map +1 -0
- package/dist/src/orgrt/session-run.js +429 -0
- package/dist/src/orgrt/session-run.js.map +1 -0
- package/dist/src/orgrt/session-stream.d.ts +21 -0
- package/dist/src/orgrt/session-stream.d.ts.map +1 -0
- package/dist/src/orgrt/session-stream.js +173 -0
- package/dist/src/orgrt/session-stream.js.map +1 -0
- package/dist/src/orgrt/session-types.d.ts +219 -0
- package/dist/src/orgrt/session-types.d.ts.map +1 -0
- package/dist/src/orgrt/session-types.js +2 -0
- package/dist/src/orgrt/session-types.js.map +1 -0
- package/dist/src/orgrt/session-usage.d.ts +29 -0
- package/dist/src/orgrt/session-usage.d.ts.map +1 -0
- package/dist/src/orgrt/session-usage.js +64 -0
- package/dist/src/orgrt/session-usage.js.map +1 -0
- package/dist/src/orgrt/session.d.ts +5 -281
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +8 -1117
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/ui/org-hil.mjs +1 -1
- package/dist/src/ui/routes-org-agents.mjs +318 -0
- package/dist/src/ui/routes-org-approvals.mjs +133 -0
- package/dist/src/ui/routes-org-config.mjs +459 -0
- package/dist/src/ui/routes-org-control.mjs +300 -0
- package/dist/src/ui/routes-org-files.mjs +172 -0
- package/dist/src/ui/routes-org-helpers.mjs +84 -0
- package/dist/src/ui/routes-org-knowledge.mjs +262 -0
- package/dist/src/ui/routes-org-lifecycle.mjs +224 -0
- package/dist/src/ui/routes-org-live.mjs +278 -0
- package/dist/src/ui/routes-org-mastermind.mjs +346 -0
- package/dist/src/ui/routes-org-planning.mjs +398 -0
- package/dist/src/ui/routes-org-runs.mjs +430 -0
- package/dist/src/ui/routes-org-status.mjs +342 -0
- package/dist/src/ui/routes-org-workflows.mjs +212 -0
- package/dist/src/ui/routes-org.mjs +26 -3847
- package/dist/src/ui/server.mjs +1 -1
- package/dist/src/utils/native-error.d.ts +1 -1
- package/dist/src/utils/native-error.js +1 -1
- package/dist/src/utils/paths.d.ts +2 -1
- package/dist/src/utils/paths.d.ts.map +1 -1
- package/dist/src/utils/paths.js +2 -1
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/org-skills/adversarial-reviewer/SKILL.md +1 -1
- package/org-skills/board-deck-builder/SKILL.md +1 -1
- package/org-skills/code-reviewer/SKILL.md +1 -1
- package/org-skills/debugging-wizard/SKILL.md +1 -1
- package/org-skills/scientific-thinking-literature-review/SKILL.md +1 -1
- package/org-skills/scientific-thinking-scholar-evaluation/SKILL.md +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import type { OrgBus } from './bus.js';
|
|
2
|
+
import type { RoleCheckpoint } from './checkpoint.js';
|
|
3
|
+
import { type CompletionFacts, type TaskEvidence } from './completion-gate.js';
|
|
4
|
+
import type { OrgDaemon } from './daemon.js';
|
|
5
|
+
import type { AgentRuntime, RunningOrg } from './daemon-types.js';
|
|
6
|
+
import * as decisionOps from './decisions.js';
|
|
7
|
+
import { resolveLoadout } from './loadouts.js';
|
|
8
|
+
import type { Mailbox } from './mailbox.js';
|
|
9
|
+
import type { PolicyEngine } from './policy.js';
|
|
10
|
+
import { type TaskPick } from './task-match.js';
|
|
11
|
+
import { type DecisionKind, type OrgRole } from './types.js';
|
|
12
|
+
/** #302: the `org_complete` consent gate's emit-and-return logic, extracted
|
|
13
|
+
* (matching `resolvedIdleNudgeCount`'s and `runOutcomeResult`'s precedent)
|
|
14
|
+
* so it is unit-testable without a live daemon, a running org, or the SDK's
|
|
15
|
+
* own tool-calling loop — none of which a test can drive directly, since
|
|
16
|
+
* `queryFn` replaces the whole SDK `query()`, tool orchestration included.
|
|
17
|
+
* `onComplete` gathers the facts (needs `this`/`running`) and calls this;
|
|
18
|
+
* this does the one decision (`checkCompletion`) and its two possible
|
|
19
|
+
* side effects. Returns the refusal string, or `null` to allow — exactly
|
|
20
|
+
* what the org_complete tool handler (session.ts) relays as the result. */
|
|
21
|
+
export declare function resolveOrgComplete(bus: OrgBus, role: string, outcome: 'achieved' | 'partial' | 'failed', summary: string, blocker: 'budget' | 'human' | 'external' | 'time' | undefined, blockerDetail: string | undefined, runFacts: Pick<CompletionFacts, 'mode' | 'maxBudgetFraction' | 'pendingHumanWaits' | 'hasActiveBlock' | 'hasPendingWork'>): string | null;
|
|
22
|
+
/** The sessionOpts built inside spawnRoleIncarnation (role-incarnation.ts). */
|
|
23
|
+
export declare function buildRoleSessionOpts(daemon: OrgDaemon, name: string, running: RunningOrg, role: OrgRole, roleCwd: string, runtime: AgentRuntime, abort: AbortController, loadout: ReturnType<typeof resolveLoadout> | undefined, policy: PolicyEngine, mailbox: Mailbox, roleCheckpoint: RoleCheckpoint | undefined): {
|
|
24
|
+
org: string;
|
|
25
|
+
role: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
id: string;
|
|
28
|
+
title: string;
|
|
29
|
+
type: string;
|
|
30
|
+
reports_to: string | null;
|
|
31
|
+
responsibilities: string[];
|
|
32
|
+
instructions_file?: string | undefined;
|
|
33
|
+
skills?: string[] | undefined;
|
|
34
|
+
skill_pool?: string[] | undefined;
|
|
35
|
+
blueprint?: string | undefined;
|
|
36
|
+
ui?: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
x?: number | undefined;
|
|
39
|
+
y?: number | undefined;
|
|
40
|
+
icon?: string | undefined;
|
|
41
|
+
color?: string | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
adapter_config?: {
|
|
44
|
+
model?: string | undefined;
|
|
45
|
+
max_tokens?: number | undefined;
|
|
46
|
+
provider?: string | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
provider?: {
|
|
49
|
+
kind: "antigravity" | "api-key" | "base-url" | "bedrock" | "codex" | "gemini" | "openai" | "subscription" | "vercel-api-key" | "vertex";
|
|
50
|
+
vendor?: "alibaba" | "anthropic" | "cohere" | "deepseek" | "fireworks" | "glm" | "google" | "groq" | "mistral" | "ollama" | "openai" | "openai-compatible" | "openrouter" | "perplexity" | "together" | "xai" | undefined;
|
|
51
|
+
apiKeyEnv?: string | undefined;
|
|
52
|
+
apiKey?: string | undefined;
|
|
53
|
+
baseUrl?: string | undefined;
|
|
54
|
+
authTokenEnv?: string | undefined;
|
|
55
|
+
authToken?: string | undefined;
|
|
56
|
+
usageProxy?: boolean | undefined;
|
|
57
|
+
usageProxyEnvVar?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
policy?: {
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
allowTools?: string[] | undefined;
|
|
62
|
+
denyTools?: string[] | undefined;
|
|
63
|
+
fileWrite?: string[] | undefined;
|
|
64
|
+
fileRead?: string[] | undefined;
|
|
65
|
+
webAllow?: string[] | undefined;
|
|
66
|
+
maxTokens?: number | undefined;
|
|
67
|
+
maxTokensBasis?: "billable" | "uncached" | undefined;
|
|
68
|
+
maxUsd?: number | undefined;
|
|
69
|
+
git?: "commit" | "none" | "push" | "read" | undefined;
|
|
70
|
+
sandbox?: {
|
|
71
|
+
mode?: "auto" | "off" | "required" | undefined;
|
|
72
|
+
allowedDomains?: string[] | undefined;
|
|
73
|
+
deniedDomains?: string[] | undefined;
|
|
74
|
+
allowWrite?: string[] | undefined;
|
|
75
|
+
denyWrite?: string[] | undefined;
|
|
76
|
+
allowUnixSockets?: boolean | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
fence?: {
|
|
79
|
+
[x: string]: unknown;
|
|
80
|
+
enabled?: boolean | undefined;
|
|
81
|
+
confidenceThreshold?: number | undefined;
|
|
82
|
+
enablePIIDetection?: boolean | undefined;
|
|
83
|
+
scanMessages?: boolean | undefined;
|
|
84
|
+
scanOutput?: boolean | undefined;
|
|
85
|
+
abortThreshold?: number | undefined;
|
|
86
|
+
allowlist?: {
|
|
87
|
+
id: string;
|
|
88
|
+
pattern: string;
|
|
89
|
+
types: ("context_manipulation" | "data_exfiltration" | "encoding_attack" | "instruction_override" | "jailbreak" | "pii_exposure" | "prompt_injection" | "role_switching" | "unknown")[];
|
|
90
|
+
context?: string | undefined;
|
|
91
|
+
reason?: string | undefined;
|
|
92
|
+
source?: string | undefined;
|
|
93
|
+
}[] | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
autoApproveTools?: string[] | undefined;
|
|
96
|
+
approvalTools?: string[] | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
session_scope?: "role" | "task" | undefined;
|
|
99
|
+
review_input?: "artifact-only" | undefined;
|
|
100
|
+
deliberative?: boolean | undefined;
|
|
101
|
+
runtime?: "antigravity" | "claude" | "codex" | "copilot" | "crush" | "grok" | "hermes" | "kimicode" | "opencode" | "pi" | "pi-rpc" | "qwen" | "qwen-rpc" | "vercel" | undefined;
|
|
102
|
+
max_turns_per_message?: number | undefined;
|
|
103
|
+
max_tool_rounds?: number | undefined;
|
|
104
|
+
budget_tokens?: number | undefined;
|
|
105
|
+
budget_usd?: number | undefined;
|
|
106
|
+
tool_providers?: {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
kind: "mcp-stdio";
|
|
109
|
+
name: string;
|
|
110
|
+
command: string;
|
|
111
|
+
args: string[];
|
|
112
|
+
env: Record<string, string>;
|
|
113
|
+
allow?: string[] | undefined;
|
|
114
|
+
prefix?: string | undefined;
|
|
115
|
+
timeout_ms: number;
|
|
116
|
+
idle_ms: number;
|
|
117
|
+
}[] | undefined;
|
|
118
|
+
kind?: "agent" | "endpoint" | undefined;
|
|
119
|
+
endpoint?: {
|
|
120
|
+
[x: string]: unknown;
|
|
121
|
+
url: string;
|
|
122
|
+
credential_file?: string | undefined;
|
|
123
|
+
timeout_ms?: number | undefined;
|
|
124
|
+
input_hint?: string | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
};
|
|
127
|
+
bus: OrgBus;
|
|
128
|
+
policy: PolicyEngine;
|
|
129
|
+
mailbox: Mailbox;
|
|
130
|
+
taskProcesses: import("./task-cancel.js").TaskProcesses | undefined;
|
|
131
|
+
cwd: string;
|
|
132
|
+
def: {
|
|
133
|
+
[x: string]: unknown;
|
|
134
|
+
name: string;
|
|
135
|
+
goal: string;
|
|
136
|
+
status: string;
|
|
137
|
+
schedule: string | number | null;
|
|
138
|
+
run_config: {
|
|
139
|
+
memory_namespace?: string | undefined;
|
|
140
|
+
max_tool_rounds?: number | undefined;
|
|
141
|
+
idle_minutes?: number | undefined;
|
|
142
|
+
block_recheck_minutes?: number | undefined;
|
|
143
|
+
session_scope?: "role" | "task" | undefined;
|
|
144
|
+
session_idle_exit_ms?: number | undefined;
|
|
145
|
+
bash_timeout_ms?: number | undefined;
|
|
146
|
+
notify_task_creator?: boolean | undefined;
|
|
147
|
+
circuit_breaker?: {
|
|
148
|
+
failure_threshold?: number | undefined;
|
|
149
|
+
cooldown_ms?: number | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
failure_routing?: {
|
|
152
|
+
retry?: {
|
|
153
|
+
maxAttempts?: number | undefined;
|
|
154
|
+
backoffMs?: number[] | undefined;
|
|
155
|
+
} | undefined;
|
|
156
|
+
fallbackAssignee?: string | undefined;
|
|
157
|
+
escalate?: boolean | undefined;
|
|
158
|
+
} | undefined;
|
|
159
|
+
prechecks?: {
|
|
160
|
+
name: string;
|
|
161
|
+
command: string;
|
|
162
|
+
}[] | undefined;
|
|
163
|
+
max_concurrent_agents: number;
|
|
164
|
+
budget_tokens: number;
|
|
165
|
+
budget_tokens_basis: "billable" | "uncached";
|
|
166
|
+
max_turns_per_message: number;
|
|
167
|
+
workspace: string;
|
|
168
|
+
stale_base_threshold: number;
|
|
169
|
+
max_role_respawns: number;
|
|
170
|
+
completion: "boss" | "dag";
|
|
171
|
+
completion_evidence: boolean;
|
|
172
|
+
max_evidence_attempts: number;
|
|
173
|
+
respawn_drain_timeout_ms: number;
|
|
174
|
+
respawn_force_stop_timeout_ms: number;
|
|
175
|
+
respawn_start_timeout_ms: number;
|
|
176
|
+
};
|
|
177
|
+
fence?: {
|
|
178
|
+
[x: string]: unknown;
|
|
179
|
+
enabled?: boolean | undefined;
|
|
180
|
+
confidenceThreshold?: number | undefined;
|
|
181
|
+
enablePIIDetection?: boolean | undefined;
|
|
182
|
+
scanMessages?: boolean | undefined;
|
|
183
|
+
scanOutput?: boolean | undefined;
|
|
184
|
+
abortThreshold?: number | undefined;
|
|
185
|
+
allowlist?: {
|
|
186
|
+
id: string;
|
|
187
|
+
pattern: string;
|
|
188
|
+
types: ("context_manipulation" | "data_exfiltration" | "encoding_attack" | "instruction_override" | "jailbreak" | "pii_exposure" | "prompt_injection" | "role_switching" | "unknown")[];
|
|
189
|
+
context?: string | undefined;
|
|
190
|
+
reason?: string | undefined;
|
|
191
|
+
source?: string | undefined;
|
|
192
|
+
}[] | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
federation?: {
|
|
195
|
+
[x: string]: unknown;
|
|
196
|
+
allow_from?: string[] | undefined;
|
|
197
|
+
allow_to?: string[] | undefined;
|
|
198
|
+
} | undefined;
|
|
199
|
+
cost_tiers?: {
|
|
200
|
+
[x: string]: unknown;
|
|
201
|
+
default?: string | undefined;
|
|
202
|
+
roles?: Record<string, string | {
|
|
203
|
+
[x: string]: unknown;
|
|
204
|
+
tier: string;
|
|
205
|
+
effort?: "high" | "low" | "max" | "medium" | "off" | "xhigh" | undefined;
|
|
206
|
+
}> | undefined;
|
|
207
|
+
tiers?: Record<string, Record<string, {
|
|
208
|
+
[x: string]: unknown;
|
|
209
|
+
model: string;
|
|
210
|
+
effort?: "high" | "low" | "max" | "medium" | "off" | "xhigh" | undefined;
|
|
211
|
+
}>> | undefined;
|
|
212
|
+
providers?: Record<string, {
|
|
213
|
+
[x: string]: unknown;
|
|
214
|
+
effort_env?: Partial<Record<"high" | "low" | "max" | "medium" | "off" | "xhigh", Record<string, string>>> | undefined;
|
|
215
|
+
}> | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
loadouts?: Record<string, {
|
|
218
|
+
[x: string]: unknown;
|
|
219
|
+
description?: string | undefined;
|
|
220
|
+
prompt?: string | undefined;
|
|
221
|
+
skills?: string[] | undefined;
|
|
222
|
+
instructions_file?: string | undefined;
|
|
223
|
+
}> | undefined;
|
|
224
|
+
roles: {
|
|
225
|
+
[x: string]: unknown;
|
|
226
|
+
id: string;
|
|
227
|
+
title: string;
|
|
228
|
+
type: string;
|
|
229
|
+
reports_to: string | null;
|
|
230
|
+
responsibilities: string[];
|
|
231
|
+
instructions_file?: string | undefined;
|
|
232
|
+
skills?: string[] | undefined;
|
|
233
|
+
skill_pool?: string[] | undefined;
|
|
234
|
+
blueprint?: string | undefined;
|
|
235
|
+
ui?: {
|
|
236
|
+
[x: string]: unknown;
|
|
237
|
+
x?: number | undefined;
|
|
238
|
+
y?: number | undefined;
|
|
239
|
+
icon?: string | undefined;
|
|
240
|
+
color?: string | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
adapter_config?: {
|
|
243
|
+
model?: string | undefined;
|
|
244
|
+
max_tokens?: number | undefined;
|
|
245
|
+
provider?: string | undefined;
|
|
246
|
+
} | undefined;
|
|
247
|
+
provider?: {
|
|
248
|
+
kind: "antigravity" | "api-key" | "base-url" | "bedrock" | "codex" | "gemini" | "openai" | "subscription" | "vercel-api-key" | "vertex";
|
|
249
|
+
vendor?: "alibaba" | "anthropic" | "cohere" | "deepseek" | "fireworks" | "glm" | "google" | "groq" | "mistral" | "ollama" | "openai" | "openai-compatible" | "openrouter" | "perplexity" | "together" | "xai" | undefined;
|
|
250
|
+
apiKeyEnv?: string | undefined;
|
|
251
|
+
apiKey?: string | undefined;
|
|
252
|
+
baseUrl?: string | undefined;
|
|
253
|
+
authTokenEnv?: string | undefined;
|
|
254
|
+
authToken?: string | undefined;
|
|
255
|
+
usageProxy?: boolean | undefined;
|
|
256
|
+
usageProxyEnvVar?: string | undefined;
|
|
257
|
+
} | undefined;
|
|
258
|
+
policy?: {
|
|
259
|
+
[x: string]: unknown;
|
|
260
|
+
allowTools?: string[] | undefined;
|
|
261
|
+
denyTools?: string[] | undefined;
|
|
262
|
+
fileWrite?: string[] | undefined;
|
|
263
|
+
fileRead?: string[] | undefined;
|
|
264
|
+
webAllow?: string[] | undefined;
|
|
265
|
+
maxTokens?: number | undefined;
|
|
266
|
+
maxTokensBasis?: "billable" | "uncached" | undefined;
|
|
267
|
+
maxUsd?: number | undefined;
|
|
268
|
+
git?: "commit" | "none" | "push" | "read" | undefined;
|
|
269
|
+
sandbox?: {
|
|
270
|
+
mode?: "auto" | "off" | "required" | undefined;
|
|
271
|
+
allowedDomains?: string[] | undefined;
|
|
272
|
+
deniedDomains?: string[] | undefined;
|
|
273
|
+
allowWrite?: string[] | undefined;
|
|
274
|
+
denyWrite?: string[] | undefined;
|
|
275
|
+
allowUnixSockets?: boolean | undefined;
|
|
276
|
+
} | undefined;
|
|
277
|
+
fence?: {
|
|
278
|
+
[x: string]: unknown;
|
|
279
|
+
enabled?: boolean | undefined;
|
|
280
|
+
confidenceThreshold?: number | undefined;
|
|
281
|
+
enablePIIDetection?: boolean | undefined;
|
|
282
|
+
scanMessages?: boolean | undefined;
|
|
283
|
+
scanOutput?: boolean | undefined;
|
|
284
|
+
abortThreshold?: number | undefined;
|
|
285
|
+
allowlist?: {
|
|
286
|
+
id: string;
|
|
287
|
+
pattern: string;
|
|
288
|
+
types: ("context_manipulation" | "data_exfiltration" | "encoding_attack" | "instruction_override" | "jailbreak" | "pii_exposure" | "prompt_injection" | "role_switching" | "unknown")[];
|
|
289
|
+
context?: string | undefined;
|
|
290
|
+
reason?: string | undefined;
|
|
291
|
+
source?: string | undefined;
|
|
292
|
+
}[] | undefined;
|
|
293
|
+
} | undefined;
|
|
294
|
+
autoApproveTools?: string[] | undefined;
|
|
295
|
+
approvalTools?: string[] | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
session_scope?: "role" | "task" | undefined;
|
|
298
|
+
review_input?: "artifact-only" | undefined;
|
|
299
|
+
deliberative?: boolean | undefined;
|
|
300
|
+
runtime?: "antigravity" | "claude" | "codex" | "copilot" | "crush" | "grok" | "hermes" | "kimicode" | "opencode" | "pi" | "pi-rpc" | "qwen" | "qwen-rpc" | "vercel" | undefined;
|
|
301
|
+
max_turns_per_message?: number | undefined;
|
|
302
|
+
max_tool_rounds?: number | undefined;
|
|
303
|
+
budget_tokens?: number | undefined;
|
|
304
|
+
budget_usd?: number | undefined;
|
|
305
|
+
tool_providers?: {
|
|
306
|
+
[x: string]: unknown;
|
|
307
|
+
kind: "mcp-stdio";
|
|
308
|
+
name: string;
|
|
309
|
+
command: string;
|
|
310
|
+
args: string[];
|
|
311
|
+
env: Record<string, string>;
|
|
312
|
+
allow?: string[] | undefined;
|
|
313
|
+
prefix?: string | undefined;
|
|
314
|
+
timeout_ms: number;
|
|
315
|
+
idle_ms: number;
|
|
316
|
+
}[] | undefined;
|
|
317
|
+
kind?: "agent" | "endpoint" | undefined;
|
|
318
|
+
endpoint?: {
|
|
319
|
+
[x: string]: unknown;
|
|
320
|
+
url: string;
|
|
321
|
+
credential_file?: string | undefined;
|
|
322
|
+
timeout_ms?: number | undefined;
|
|
323
|
+
input_hint?: string | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
}[];
|
|
326
|
+
runtime?: "antigravity" | "claude" | "codex" | "copilot" | "crush" | "grok" | "hermes" | "kimicode" | "opencode" | "pi" | "pi-rpc" | "qwen" | "qwen-rpc" | "vercel" | undefined;
|
|
327
|
+
};
|
|
328
|
+
orgDir: string;
|
|
329
|
+
orgRoot: string;
|
|
330
|
+
run: string;
|
|
331
|
+
buildProviderTools: () => Promise<import("./tool-providers.js").RoleProviderToolSet | undefined>;
|
|
332
|
+
maxTurns: number;
|
|
333
|
+
resumeSessionId: string | undefined;
|
|
334
|
+
sessionLedger: import("./session-ledger.js").SessionLedger | undefined;
|
|
335
|
+
loadoutFor: (taskId: string) => import("./loadouts.js").ResolvedLoadout | undefined;
|
|
336
|
+
lastMessageId: () => string | undefined;
|
|
337
|
+
onOutput: (line: string) => void;
|
|
338
|
+
onSessionId: (id: string) => void;
|
|
339
|
+
onTurnEnd: () => void;
|
|
340
|
+
deliver: (from: string, to: string, subject: string, body: string) => Promise<string>;
|
|
341
|
+
askHuman: (r: string, question: string, blocking?: boolean) => Promise<string>;
|
|
342
|
+
onGate: (r: string, gateName: string, gateDesc: string) => Promise<string>;
|
|
343
|
+
circuitBreaker: {
|
|
344
|
+
threshold: number;
|
|
345
|
+
state: {
|
|
346
|
+
failures: number;
|
|
347
|
+
tripped: boolean;
|
|
348
|
+
};
|
|
349
|
+
} | undefined;
|
|
350
|
+
beforeTool: (r: string, toolName: string, input: Record<string, unknown>) => Promise<boolean | null>;
|
|
351
|
+
fence: import("./fence.js").RoleFence | undefined;
|
|
352
|
+
onDecision: (r: string, toolName: string, message: string, kind: DecisionKind) => void;
|
|
353
|
+
hasPendingGate: () => boolean;
|
|
354
|
+
onComplete: ((r: string, outcome: 'achieved' | 'partial' | 'failed', summary: string, blocker?: 'budget' | 'human' | 'external' | 'time', blockerDetail?: string) => string | null) | undefined;
|
|
355
|
+
onContextLimit: (() => void) | undefined;
|
|
356
|
+
onListRuntimeOptions: (() => Promise<import("./runtime-options.js").RuntimeOptionsReceipt>) | undefined;
|
|
357
|
+
onRespawnRole: ((callerId: string, args: any) => Promise<import("./role-slot.js").RespawnReceipt>) | undefined;
|
|
358
|
+
recall: (r: string, q: string) => Promise<string>;
|
|
359
|
+
searchKnowledge: (r: string, q: string) => Promise<string>;
|
|
360
|
+
glossary: string[];
|
|
361
|
+
remember: (r: string, content: string, scope: 'org' | 'agent') => Promise<string>;
|
|
362
|
+
learn: (r: string, payload: {
|
|
363
|
+
nodes?: unknown[];
|
|
364
|
+
edges?: unknown[];
|
|
365
|
+
rules?: unknown[];
|
|
366
|
+
}) => Promise<string>;
|
|
367
|
+
createTask: (r: string, title: string, assignee: string, deps: string[], loadout?: string, brief?: string, pick?: TaskPick) => string;
|
|
368
|
+
pickAssignee: (title: string, brief?: string, caller?: string) => Promise<import("./task-match.js").RolePick>;
|
|
369
|
+
onSkillLoad: (r: string, skill: string) => void;
|
|
370
|
+
loadoutCatalog: import("./loadouts.js").LoadoutSummary[] | undefined;
|
|
371
|
+
loadout: import("./loadouts.js").ResolvedLoadout | undefined;
|
|
372
|
+
completeTask: (r: string, taskId: string, result?: string, evidence?: TaskEvidence) => string;
|
|
373
|
+
requireTaskEvidence: boolean;
|
|
374
|
+
requestReview: ((r: string, taskId: string, reviewer: string, base?: string) => string) | undefined;
|
|
375
|
+
listTasks: (taskId?: string) => string;
|
|
376
|
+
splitTask: (r: string, parentId: string, children: {
|
|
377
|
+
title: string;
|
|
378
|
+
assignee: string;
|
|
379
|
+
}[]) => string;
|
|
380
|
+
mergeTask: (r: string, sourceId: string, targetId: string) => string;
|
|
381
|
+
cancelTask: (r: string, taskId: string, reason?: string) => string;
|
|
382
|
+
blockTask: (r: string, taskId: string, untilIso: string, reason?: string, every?: number) => string;
|
|
383
|
+
planGraph: (r: string, specs: decisionOps.PlanTaskSpec[]) => string;
|
|
384
|
+
queryFn: typeof import("@anthropic-ai/claude-agent-sdk").query | undefined;
|
|
385
|
+
runner: import("./agent-runner.js").AgentRunner | undefined;
|
|
386
|
+
externalAbort: AbortController;
|
|
387
|
+
silentSessionMs: number | undefined;
|
|
388
|
+
};
|
|
389
|
+
//# sourceMappingURL=role-session-opts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role-session-opts.d.ts","sourceRoot":"","sources":["../../../src/orgrt/role-session-opts.ts"],"names":[],"mappings":"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"}
|