@saltpub/oar 0.121.1 → 0.122.0
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/README.md +51 -43
- package/assets/brands/NOTICE.md +7 -0
- package/assets/brands/cybion.svg +27 -0
- package/dist/capabilities.d.ts +12 -0
- package/dist/capabilities.d.ts.map +1 -0
- package/dist/capabilities.js +7 -0
- package/dist/capabilities.js.map +1 -0
- package/dist/community/cybion/index.d.ts.map +1 -1
- package/dist/community/cybion/index.js +10 -3
- package/dist/community/cybion/index.js.map +1 -1
- package/dist/community/cybion/refused-options.d.ts.map +1 -1
- package/dist/community/cybion/refused-options.js +2 -0
- package/dist/community/cybion/refused-options.js.map +1 -1
- package/dist/community/morph/index.js +1 -1
- package/dist/community/morph/index.js.map +1 -1
- package/dist/community/morph/projection.d.ts.map +1 -1
- package/dist/community/morph/projection.js +14 -2
- package/dist/community/morph/projection.js.map +1 -1
- package/dist/community/morph/session.d.ts.map +1 -1
- package/dist/community/morph/session.js +2 -0
- package/dist/community/morph/session.js.map +1 -1
- package/dist/community/morph/tracker.d.ts.map +1 -1
- package/dist/community/morph/tracker.js +18 -6
- package/dist/community/morph/tracker.js.map +1 -1
- package/dist/contracts/account-usage.d.ts +1 -1
- package/dist/contracts/account-usage.d.ts.map +1 -1
- package/dist/contracts/context-usage.d.ts +12 -0
- package/dist/contracts/context-usage.d.ts.map +1 -1
- package/dist/contracts/credentials.d.ts +61 -0
- package/dist/contracts/credentials.d.ts.map +1 -0
- package/dist/contracts/credentials.js +2 -0
- package/dist/contracts/credentials.js.map +1 -0
- package/dist/contracts/failure.d.ts +4 -1
- package/dist/contracts/failure.d.ts.map +1 -1
- package/dist/contracts/graph.d.ts +1 -1
- package/dist/contracts/graph.d.ts.map +1 -1
- package/dist/contracts/index.d.ts +7 -3
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/installation.d.ts +27 -4
- package/dist/contracts/installation.d.ts.map +1 -1
- package/dist/contracts/login.d.ts +3 -1
- package/dist/contracts/login.d.ts.map +1 -1
- package/dist/contracts/model-request.d.ts +14 -0
- package/dist/contracts/model-request.d.ts.map +1 -0
- package/dist/contracts/model-request.js +2 -0
- package/dist/contracts/model-request.js.map +1 -0
- package/dist/contracts/orientation.d.ts +2 -1
- package/dist/contracts/orientation.d.ts.map +1 -1
- package/dist/contracts/records.d.ts +21 -12
- package/dist/contracts/records.d.ts.map +1 -1
- package/dist/contracts/runtime.d.ts +39 -52
- package/dist/contracts/runtime.d.ts.map +1 -1
- package/dist/contracts/runtime.js.map +1 -1
- package/dist/contracts/session-options.d.ts +46 -48
- package/dist/contracts/session-options.d.ts.map +1 -1
- package/dist/contracts/session.d.ts +9 -3
- package/dist/contracts/session.d.ts.map +1 -1
- package/dist/contracts/tasks.d.ts +4 -0
- package/dist/contracts/tasks.d.ts.map +1 -1
- package/dist/contracts/tool-output.d.ts +6 -0
- package/dist/contracts/tool-output.d.ts.map +1 -1
- package/dist/forms/fields.d.ts +6 -3
- package/dist/forms/fields.d.ts.map +1 -1
- package/dist/forms/fields.js +44 -5
- package/dist/forms/fields.js.map +1 -1
- package/dist/forms/map.d.ts.map +1 -1
- package/dist/forms/map.js +18 -14
- package/dist/forms/map.js.map +1 -1
- package/dist/forms/types.d.ts +1 -1
- package/dist/forms/types.d.ts.map +1 -1
- package/dist/forms/validate.d.ts.map +1 -1
- package/dist/forms/validate.js +8 -15
- package/dist/forms/validate.js.map +1 -1
- package/dist/mcp/serve-tools.js +1 -1
- package/dist/mcp/serve-tools.js.map +1 -1
- package/dist/observe/agent-status.js +1 -0
- package/dist/observe/agent-status.js.map +1 -1
- package/dist/observe/conversation.d.ts.map +1 -1
- package/dist/observe/conversation.js +2 -8
- package/dist/observe/conversation.js.map +1 -1
- package/dist/observe/cursor.d.ts +6 -0
- package/dist/observe/cursor.d.ts.map +1 -0
- package/dist/observe/cursor.js +19 -0
- package/dist/observe/cursor.js.map +1 -0
- package/dist/observe/display-text.d.ts.map +1 -1
- package/dist/observe/display-text.js +1 -0
- package/dist/observe/display-text.js.map +1 -1
- package/dist/observe/events.d.ts +1 -1
- package/dist/observe/events.d.ts.map +1 -1
- package/dist/observe/events.js +5 -3
- package/dist/observe/events.js.map +1 -1
- package/dist/observe/failure-advice.d.ts.map +1 -1
- package/dist/observe/failure-advice.js +1 -0
- package/dist/observe/failure-advice.js.map +1 -1
- package/dist/observe/graph.d.ts +2 -0
- package/dist/observe/graph.d.ts.map +1 -1
- package/dist/observe/graph.js +17 -1
- package/dist/observe/graph.js.map +1 -1
- package/dist/observe/index.d.ts +1 -0
- package/dist/observe/index.d.ts.map +1 -1
- package/dist/observe/index.js +1 -0
- package/dist/observe/index.js.map +1 -1
- package/dist/observe/mcp-startup.d.ts +7 -0
- package/dist/observe/mcp-startup.d.ts.map +1 -0
- package/dist/observe/mcp-startup.js +16 -0
- package/dist/observe/mcp-startup.js.map +1 -0
- package/dist/observe/session-view-events.d.ts.map +1 -1
- package/dist/observe/session-view-events.js +6 -6
- package/dist/observe/session-view-events.js.map +1 -1
- package/dist/observe/session-view-fold.d.ts +2 -0
- package/dist/observe/session-view-fold.d.ts.map +1 -1
- package/dist/observe/session-view-fold.js +4 -0
- package/dist/observe/session-view-fold.js.map +1 -1
- package/dist/observe/session-view-root.d.ts +8 -0
- package/dist/observe/session-view-root.d.ts.map +1 -0
- package/dist/observe/session-view-root.js +76 -0
- package/dist/observe/session-view-root.js.map +1 -0
- package/dist/observe/session-view-tools.d.ts +1 -1
- package/dist/observe/session-view-tools.d.ts.map +1 -1
- package/dist/observe/session-view-tools.js +1 -0
- package/dist/observe/session-view-tools.js.map +1 -1
- package/dist/observe/session-view.d.ts +10 -8
- package/dist/observe/session-view.d.ts.map +1 -1
- package/dist/observe/session-view.js +31 -31
- package/dist/observe/session-view.js.map +1 -1
- package/dist/observe/tasks.d.ts +3 -0
- package/dist/observe/tasks.d.ts.map +1 -1
- package/dist/observe/tasks.js +1 -1
- package/dist/observe/tasks.js.map +1 -1
- package/dist/observe/tool-activity.d.ts +2 -2
- package/dist/observe/tool-activity.d.ts.map +1 -1
- package/dist/observe/tool-activity.js +9 -2
- package/dist/observe/tool-activity.js.map +1 -1
- package/dist/observe/usage-totals.d.ts +0 -2
- package/dist/observe/usage-totals.d.ts.map +1 -1
- package/dist/observe/usage-totals.js +1 -15
- package/dist/observe/usage-totals.js.map +1 -1
- package/dist/observe/usage.js +2 -2
- package/dist/observe/usage.js.map +1 -1
- package/dist/runtimes/antigravity/account-usage.d.ts +5 -2
- package/dist/runtimes/antigravity/account-usage.d.ts.map +1 -1
- package/dist/runtimes/antigravity/account-usage.js +13 -9
- package/dist/runtimes/antigravity/account-usage.js.map +1 -1
- package/dist/runtimes/antigravity/account.d.ts +37 -0
- package/dist/runtimes/antigravity/account.d.ts.map +1 -0
- package/dist/runtimes/antigravity/account.js +119 -0
- package/dist/runtimes/antigravity/account.js.map +1 -0
- package/dist/runtimes/antigravity/auth-status.d.ts +9 -0
- package/dist/runtimes/antigravity/auth-status.d.ts.map +1 -0
- package/dist/runtimes/antigravity/auth-status.js +54 -0
- package/dist/runtimes/antigravity/auth-status.js.map +1 -0
- package/dist/runtimes/antigravity/auth.d.ts +2 -6
- package/dist/runtimes/antigravity/auth.d.ts.map +1 -1
- package/dist/runtimes/antigravity/auth.js +10 -50
- package/dist/runtimes/antigravity/auth.js.map +1 -1
- package/dist/runtimes/antigravity/index.d.ts +40 -3
- package/dist/runtimes/antigravity/index.d.ts.map +1 -1
- package/dist/runtimes/antigravity/index.js +19 -4
- package/dist/runtimes/antigravity/index.js.map +1 -1
- package/dist/runtimes/antigravity/installation.d.ts +6 -3
- package/dist/runtimes/antigravity/installation.d.ts.map +1 -1
- package/dist/runtimes/antigravity/installation.js +25 -30
- package/dist/runtimes/antigravity/installation.js.map +1 -1
- package/dist/runtimes/antigravity/logout.d.ts.map +1 -1
- package/dist/runtimes/antigravity/logout.js +2 -0
- package/dist/runtimes/antigravity/logout.js.map +1 -1
- package/dist/runtimes/antigravity/options.d.ts.map +1 -1
- package/dist/runtimes/antigravity/options.js +3 -0
- package/dist/runtimes/antigravity/options.js.map +1 -1
- package/dist/runtimes/antigravity/quota.d.ts +6 -1
- package/dist/runtimes/antigravity/quota.d.ts.map +1 -1
- package/dist/runtimes/antigravity/quota.js +47 -13
- package/dist/runtimes/antigravity/quota.js.map +1 -1
- package/dist/runtimes/antigravity/skill-files.d.ts.map +1 -1
- package/dist/runtimes/antigravity/skill-files.js +2 -1
- package/dist/runtimes/antigravity/skill-files.js.map +1 -1
- package/dist/runtimes/antigravity/token-email.d.ts +37 -0
- package/dist/runtimes/antigravity/token-email.d.ts.map +1 -0
- package/dist/runtimes/antigravity/token-email.js +155 -0
- package/dist/runtimes/antigravity/token-email.js.map +1 -0
- package/dist/runtimes/claude/account-usage.d.ts.map +1 -1
- package/dist/runtimes/claude/account-usage.js +30 -8
- package/dist/runtimes/claude/account-usage.js.map +1 -1
- package/dist/runtimes/claude/auth-status.d.ts.map +1 -1
- package/dist/runtimes/claude/auth-status.js +25 -4
- package/dist/runtimes/claude/auth-status.js.map +1 -1
- package/dist/runtimes/claude/context-usage.d.ts +8 -4
- package/dist/runtimes/claude/context-usage.d.ts.map +1 -1
- package/dist/runtimes/claude/context-usage.js +24 -4
- package/dist/runtimes/claude/context-usage.js.map +1 -1
- package/dist/runtimes/claude/credentials.d.ts +4 -0
- package/dist/runtimes/claude/credentials.d.ts.map +1 -0
- package/dist/runtimes/claude/credentials.js +79 -0
- package/dist/runtimes/claude/credentials.js.map +1 -0
- package/dist/runtimes/claude/failure.d.ts +4 -0
- package/dist/runtimes/claude/failure.d.ts.map +1 -1
- package/dist/runtimes/claude/failure.js +33 -18
- package/dist/runtimes/claude/failure.js.map +1 -1
- package/dist/runtimes/claude/index.d.ts +16 -3
- package/dist/runtimes/claude/index.d.ts.map +1 -1
- package/dist/runtimes/claude/index.js +13 -2
- package/dist/runtimes/claude/index.js.map +1 -1
- package/dist/runtimes/claude/installation.d.ts +1 -0
- package/dist/runtimes/claude/installation.d.ts.map +1 -1
- package/dist/runtimes/claude/installation.js +2 -1
- package/dist/runtimes/claude/installation.js.map +1 -1
- package/dist/runtimes/claude/inventory.js +1 -1
- package/dist/runtimes/claude/inventory.js.map +1 -1
- package/dist/runtimes/claude/last-account.d.ts +21 -0
- package/dist/runtimes/claude/last-account.d.ts.map +1 -1
- package/dist/runtimes/claude/last-account.js +58 -6
- package/dist/runtimes/claude/last-account.js.map +1 -1
- package/dist/runtimes/claude/launch-args.d.ts +3 -0
- package/dist/runtimes/claude/launch-args.d.ts.map +1 -1
- package/dist/runtimes/claude/launch-args.js +26 -8
- package/dist/runtimes/claude/launch-args.js.map +1 -1
- package/dist/runtimes/claude/launch.d.ts +1 -1
- package/dist/runtimes/claude/launch.d.ts.map +1 -1
- package/dist/runtimes/claude/launch.js +9 -6
- package/dist/runtimes/claude/launch.js.map +1 -1
- package/dist/runtimes/claude/list-models.js +1 -1
- package/dist/runtimes/claude/list-models.js.map +1 -1
- package/dist/runtimes/claude/login-url.d.ts +3 -0
- package/dist/runtimes/claude/login-url.d.ts.map +1 -0
- package/dist/runtimes/claude/login-url.js +26 -0
- package/dist/runtimes/claude/login-url.js.map +1 -0
- package/dist/runtimes/claude/login.d.ts.map +1 -1
- package/dist/runtimes/claude/login.js +17 -10
- package/dist/runtimes/claude/login.js.map +1 -1
- package/dist/runtimes/claude/mcp-config.d.ts +2 -6
- package/dist/runtimes/claude/mcp-config.d.ts.map +1 -1
- package/dist/runtimes/claude/mcp-config.js +7 -117
- package/dist/runtimes/claude/mcp-config.js.map +1 -1
- package/dist/runtimes/claude/model-request-files.d.ts +19 -0
- package/dist/runtimes/claude/model-request-files.d.ts.map +1 -0
- package/dist/runtimes/claude/model-request-files.js +104 -0
- package/dist/runtimes/claude/model-request-files.js.map +1 -0
- package/dist/runtimes/claude/model-requests.d.ts +16 -0
- package/dist/runtimes/claude/model-requests.d.ts.map +1 -0
- package/dist/runtimes/claude/model-requests.js +190 -0
- package/dist/runtimes/claude/model-requests.js.map +1 -0
- package/dist/runtimes/claude/open-settings.d.ts +2 -1
- package/dist/runtimes/claude/open-settings.d.ts.map +1 -1
- package/dist/runtimes/claude/open-settings.js +33 -9
- package/dist/runtimes/claude/open-settings.js.map +1 -1
- package/dist/runtimes/claude/options.d.ts +5 -0
- package/dist/runtimes/claude/options.d.ts.map +1 -1
- package/dist/runtimes/claude/options.js +25 -0
- package/dist/runtimes/claude/options.js.map +1 -1
- package/dist/runtimes/claude/projection.d.ts +2 -1
- package/dist/runtimes/claude/projection.d.ts.map +1 -1
- package/dist/runtimes/claude/projection.js +44 -16
- package/dist/runtimes/claude/projection.js.map +1 -1
- package/dist/runtimes/claude/session.d.ts.map +1 -1
- package/dist/runtimes/claude/session.js +30 -7
- package/dist/runtimes/claude/session.js.map +1 -1
- package/dist/runtimes/claude/side-question.js +1 -1
- package/dist/runtimes/claude/side-question.js.map +1 -1
- package/dist/runtimes/claude/update.d.ts +17 -9
- package/dist/runtimes/claude/update.d.ts.map +1 -1
- package/dist/runtimes/claude/update.js +154 -29
- package/dist/runtimes/claude/update.js.map +1 -1
- package/dist/runtimes/claude/user-configuration.d.ts.map +1 -1
- package/dist/runtimes/claude/user-configuration.js +13 -6
- package/dist/runtimes/claude/user-configuration.js.map +1 -1
- package/dist/runtimes/codebuddy/failure.d.ts.map +1 -1
- package/dist/runtimes/codebuddy/failure.js +18 -2
- package/dist/runtimes/codebuddy/failure.js.map +1 -1
- package/dist/runtimes/codebuddy/index.d.ts +60 -1
- package/dist/runtimes/codebuddy/index.d.ts.map +1 -1
- package/dist/runtimes/codebuddy/index.js +25 -1
- package/dist/runtimes/codebuddy/index.js.map +1 -1
- package/dist/runtimes/codebuddy/installation.d.ts.map +1 -1
- package/dist/runtimes/codebuddy/installation.js +5 -4
- package/dist/runtimes/codebuddy/installation.js.map +1 -1
- package/dist/runtimes/codebuddy/options.d.ts.map +1 -1
- package/dist/runtimes/codebuddy/options.js +11 -9
- package/dist/runtimes/codebuddy/options.js.map +1 -1
- package/dist/runtimes/codex/account-id.d.ts +14 -0
- package/dist/runtimes/codex/account-id.d.ts.map +1 -0
- package/dist/runtimes/codex/account-id.js +173 -0
- package/dist/runtimes/codex/account-id.js.map +1 -0
- package/dist/runtimes/codex/account-request.d.ts +1 -0
- package/dist/runtimes/codex/account-request.d.ts.map +1 -1
- package/dist/runtimes/codex/account-request.js +45 -16
- package/dist/runtimes/codex/account-request.js.map +1 -1
- package/dist/runtimes/codex/account-usage.d.ts.map +1 -1
- package/dist/runtimes/codex/account-usage.js +15 -13
- package/dist/runtimes/codex/account-usage.js.map +1 -1
- package/dist/runtimes/codex/app-server-client.d.ts +5 -1
- package/dist/runtimes/codex/app-server-client.d.ts.map +1 -1
- package/dist/runtimes/codex/app-server-client.js +7 -7
- package/dist/runtimes/codex/app-server-client.js.map +1 -1
- package/dist/runtimes/codex/failure.d.ts.map +1 -1
- package/dist/runtimes/codex/failure.js +14 -16
- package/dist/runtimes/codex/failure.js.map +1 -1
- package/dist/runtimes/codex/home-initialization.d.ts +1 -0
- package/dist/runtimes/codex/home-initialization.d.ts.map +1 -1
- package/dist/runtimes/codex/home-initialization.js +49 -58
- package/dist/runtimes/codex/home-initialization.js.map +1 -1
- package/dist/runtimes/codex/index.d.ts +64 -1
- package/dist/runtimes/codex/index.d.ts.map +1 -1
- package/dist/runtimes/codex/index.js +27 -1
- package/dist/runtimes/codex/index.js.map +1 -1
- package/dist/runtimes/codex/installation.d.ts +1 -0
- package/dist/runtimes/codex/installation.d.ts.map +1 -1
- package/dist/runtimes/codex/installation.js +9 -1
- package/dist/runtimes/codex/installation.js.map +1 -1
- package/dist/runtimes/codex/inventory.js +1 -1
- package/dist/runtimes/codex/inventory.js.map +1 -1
- package/dist/runtimes/codex/item-detail.d.ts +4 -0
- package/dist/runtimes/codex/item-detail.d.ts.map +1 -1
- package/dist/runtimes/codex/item-detail.js +39 -0
- package/dist/runtimes/codex/item-detail.js.map +1 -1
- package/dist/runtimes/codex/limit-reset.d.ts.map +1 -1
- package/dist/runtimes/codex/limit-reset.js +3 -2
- package/dist/runtimes/codex/limit-reset.js.map +1 -1
- package/dist/runtimes/codex/list-models.js +1 -1
- package/dist/runtimes/codex/list-models.js.map +1 -1
- package/dist/runtimes/codex/login.d.ts.map +1 -1
- package/dist/runtimes/codex/login.js +24 -10
- package/dist/runtimes/codex/login.js.map +1 -1
- package/dist/runtimes/codex/open-config.d.ts +6 -0
- package/dist/runtimes/codex/open-config.d.ts.map +1 -0
- package/dist/runtimes/codex/open-config.js +28 -0
- package/dist/runtimes/codex/open-config.js.map +1 -0
- package/dist/runtimes/codex/open.d.ts.map +1 -1
- package/dist/runtimes/codex/open.js +3 -2
- package/dist/runtimes/codex/open.js.map +1 -1
- package/dist/runtimes/codex/options.d.ts.map +1 -1
- package/dist/runtimes/codex/options.js +3 -0
- package/dist/runtimes/codex/options.js.map +1 -1
- package/dist/runtimes/codex/projection.d.ts.map +1 -1
- package/dist/runtimes/codex/projection.js +44 -40
- package/dist/runtimes/codex/projection.js.map +1 -1
- package/dist/runtimes/codex/refusal.d.ts +3 -3
- package/dist/runtimes/codex/refusal.js +3 -3
- package/dist/runtimes/codex/session.d.ts.map +1 -1
- package/dist/runtimes/codex/session.js +13 -6
- package/dist/runtimes/codex/session.js.map +1 -1
- package/dist/runtimes/codex/tasks.d.ts.map +1 -1
- package/dist/runtimes/codex/tasks.js +1 -0
- package/dist/runtimes/codex/tasks.js.map +1 -1
- package/dist/runtimes/codex/tool-denials.d.ts +0 -3
- package/dist/runtimes/codex/tool-denials.d.ts.map +1 -1
- package/dist/runtimes/codex/tool-denials.js +0 -8
- package/dist/runtimes/codex/tool-denials.js.map +1 -1
- package/dist/runtimes/cursor/access.d.ts +4 -3
- package/dist/runtimes/cursor/access.d.ts.map +1 -1
- package/dist/runtimes/cursor/access.js +12 -8
- package/dist/runtimes/cursor/access.js.map +1 -1
- package/dist/runtimes/cursor/auth-status.js +1 -1
- package/dist/runtimes/cursor/auth-status.js.map +1 -1
- package/dist/runtimes/cursor/failure.d.ts.map +1 -1
- package/dist/runtimes/cursor/failure.js +4 -6
- package/dist/runtimes/cursor/failure.js.map +1 -1
- package/dist/runtimes/cursor/index.d.ts.map +1 -1
- package/dist/runtimes/cursor/index.js +18 -5
- package/dist/runtimes/cursor/index.js.map +1 -1
- package/dist/runtimes/cursor/installation.d.ts +13 -9
- package/dist/runtimes/cursor/installation.d.ts.map +1 -1
- package/dist/runtimes/cursor/installation.js +29 -14
- package/dist/runtimes/cursor/installation.js.map +1 -1
- package/dist/runtimes/cursor/list-models.js +1 -1
- package/dist/runtimes/cursor/list-models.js.map +1 -1
- package/dist/runtimes/cursor/login.js +1 -1
- package/dist/runtimes/cursor/login.js.map +1 -1
- package/dist/runtimes/cursor/logout.js +1 -1
- package/dist/runtimes/cursor/logout.js.map +1 -1
- package/dist/runtimes/cursor/model.d.ts.map +1 -1
- package/dist/runtimes/cursor/model.js +7 -1
- package/dist/runtimes/cursor/model.js.map +1 -1
- package/dist/runtimes/cursor/run.d.ts +2 -0
- package/dist/runtimes/cursor/run.d.ts.map +1 -1
- package/dist/runtimes/cursor/run.js +31 -0
- package/dist/runtimes/cursor/run.js.map +1 -1
- package/dist/runtimes/cursor/session.d.ts +3 -1
- package/dist/runtimes/cursor/session.d.ts.map +1 -1
- package/dist/runtimes/cursor/session.js +29 -18
- package/dist/runtimes/cursor/session.js.map +1 -1
- package/dist/runtimes/cursor/subprocess/channel.d.ts +1 -1
- package/dist/runtimes/cursor/subprocess/channel.d.ts.map +1 -1
- package/dist/runtimes/cursor/subprocess/channel.js +7 -7
- package/dist/runtimes/cursor/subprocess/channel.js.map +1 -1
- package/dist/runtimes/devin/index.d.ts +19 -0
- package/dist/runtimes/devin/index.d.ts.map +1 -1
- package/dist/runtimes/devin/index.js +10 -1
- package/dist/runtimes/devin/index.js.map +1 -1
- package/dist/runtimes/devin/installation.d.ts.map +1 -1
- package/dist/runtimes/devin/installation.js +7 -2
- package/dist/runtimes/devin/installation.js.map +1 -1
- package/dist/runtimes/devin/options.d.ts.map +1 -1
- package/dist/runtimes/devin/options.js +4 -0
- package/dist/runtimes/devin/options.js.map +1 -1
- package/dist/runtimes/devin/session.d.ts.map +1 -1
- package/dist/runtimes/devin/session.js +2 -0
- package/dist/runtimes/devin/session.js.map +1 -1
- package/dist/runtimes/dsh/bridge-controls.d.ts.map +1 -1
- package/dist/runtimes/dsh/bridge-controls.js +21 -0
- package/dist/runtimes/dsh/bridge-controls.js.map +1 -1
- package/dist/runtimes/dsh/bridge-goal.d.ts.map +1 -1
- package/dist/runtimes/dsh/bridge-goal.js +9 -5
- package/dist/runtimes/dsh/bridge-goal.js.map +1 -1
- package/dist/runtimes/dsh/bridge-input.d.ts.map +1 -1
- package/dist/runtimes/dsh/bridge-input.js +29 -3
- package/dist/runtimes/dsh/bridge-input.js.map +1 -1
- package/dist/runtimes/dsh/bridge.d.ts +1 -1
- package/dist/runtimes/dsh/bridge.d.ts.map +1 -1
- package/dist/runtimes/dsh/bridge.js +43 -8
- package/dist/runtimes/dsh/bridge.js.map +1 -1
- package/dist/runtimes/dsh/control.d.ts +3 -1
- package/dist/runtimes/dsh/control.d.ts.map +1 -1
- package/dist/runtimes/dsh/control.js +20 -6
- package/dist/runtimes/dsh/control.js.map +1 -1
- package/dist/runtimes/dsh/index.d.ts +36 -1
- package/dist/runtimes/dsh/index.d.ts.map +1 -1
- package/dist/runtimes/dsh/index.js +19 -3
- package/dist/runtimes/dsh/index.js.map +1 -1
- package/dist/runtimes/dsh/installation.d.ts +2 -3
- package/dist/runtimes/dsh/installation.d.ts.map +1 -1
- package/dist/runtimes/dsh/installation.js +11 -11
- package/dist/runtimes/dsh/installation.js.map +1 -1
- package/dist/runtimes/dsh/launch.d.ts +9 -1
- package/dist/runtimes/dsh/launch.d.ts.map +1 -1
- package/dist/runtimes/dsh/launch.js +22 -4
- package/dist/runtimes/dsh/launch.js.map +1 -1
- package/dist/runtimes/dsh/list-models.d.ts +3 -1
- package/dist/runtimes/dsh/list-models.d.ts.map +1 -1
- package/dist/runtimes/dsh/list-models.js +38 -11
- package/dist/runtimes/dsh/list-models.js.map +1 -1
- package/dist/runtimes/dsh/options.d.ts +6 -0
- package/dist/runtimes/dsh/options.d.ts.map +1 -1
- package/dist/runtimes/dsh/options.js +17 -1
- package/dist/runtimes/dsh/options.js.map +1 -1
- package/dist/runtimes/dsh/profile-startup.d.ts +12 -0
- package/dist/runtimes/dsh/profile-startup.d.ts.map +1 -0
- package/dist/runtimes/dsh/profile-startup.js +64 -0
- package/dist/runtimes/dsh/profile-startup.js.map +1 -0
- package/dist/runtimes/dsh/projection.d.ts +2 -0
- package/dist/runtimes/dsh/projection.d.ts.map +1 -1
- package/dist/runtimes/dsh/projection.js +35 -22
- package/dist/runtimes/dsh/projection.js.map +1 -1
- package/dist/runtimes/dsh/session.d.ts.map +1 -1
- package/dist/runtimes/dsh/session.js +76 -15
- package/dist/runtimes/dsh/session.js.map +1 -1
- package/dist/runtimes/dsh/skills.d.ts.map +1 -1
- package/dist/runtimes/dsh/skills.js +7 -5
- package/dist/runtimes/dsh/skills.js.map +1 -1
- package/dist/runtimes/factory/account-credential.d.ts +2 -1
- package/dist/runtimes/factory/account-credential.d.ts.map +1 -1
- package/dist/runtimes/factory/account-credential.js +5 -2
- package/dist/runtimes/factory/account-credential.js.map +1 -1
- package/dist/runtimes/factory/account-usage.d.ts.map +1 -1
- package/dist/runtimes/factory/account-usage.js +6 -3
- package/dist/runtimes/factory/account-usage.js.map +1 -1
- package/dist/runtimes/factory/account.d.ts.map +1 -1
- package/dist/runtimes/factory/account.js +4 -3
- package/dist/runtimes/factory/account.js.map +1 -1
- package/dist/runtimes/factory/client.d.ts.map +1 -1
- package/dist/runtimes/factory/client.js +3 -8
- package/dist/runtimes/factory/client.js.map +1 -1
- package/dist/runtimes/factory/compaction.d.ts +1 -1
- package/dist/runtimes/factory/compaction.d.ts.map +1 -1
- package/dist/runtimes/factory/compaction.js +62 -48
- package/dist/runtimes/factory/compaction.js.map +1 -1
- package/dist/runtimes/factory/context-usage.d.ts +15 -0
- package/dist/runtimes/factory/context-usage.d.ts.map +1 -0
- package/dist/runtimes/factory/context-usage.js +75 -0
- package/dist/runtimes/factory/context-usage.js.map +1 -0
- package/dist/runtimes/factory/index.d.ts +60 -0
- package/dist/runtimes/factory/index.d.ts.map +1 -1
- package/dist/runtimes/factory/index.js +21 -1
- package/dist/runtimes/factory/index.js.map +1 -1
- package/dist/runtimes/factory/installation.d.ts +1 -1
- package/dist/runtimes/factory/installation.d.ts.map +1 -1
- package/dist/runtimes/factory/installation.js +2 -2
- package/dist/runtimes/factory/installation.js.map +1 -1
- package/dist/runtimes/factory/options.d.ts.map +1 -1
- package/dist/runtimes/factory/options.js +6 -8
- package/dist/runtimes/factory/options.js.map +1 -1
- package/dist/runtimes/factory/projection.d.ts.map +1 -1
- package/dist/runtimes/factory/projection.js +31 -11
- package/dist/runtimes/factory/projection.js.map +1 -1
- package/dist/runtimes/factory/session-state.d.ts +9 -0
- package/dist/runtimes/factory/session-state.d.ts.map +1 -1
- package/dist/runtimes/factory/session-state.js +27 -0
- package/dist/runtimes/factory/session-state.js.map +1 -1
- package/dist/runtimes/factory/session.d.ts.map +1 -1
- package/dist/runtimes/factory/session.js +93 -46
- package/dist/runtimes/factory/session.js.map +1 -1
- package/dist/runtimes/grok/account-usage.d.ts.map +1 -1
- package/dist/runtimes/grok/account-usage.js +8 -6
- package/dist/runtimes/grok/account-usage.js.map +1 -1
- package/dist/runtimes/grok/failure.d.ts.map +1 -1
- package/dist/runtimes/grok/failure.js +12 -8
- package/dist/runtimes/grok/failure.js.map +1 -1
- package/dist/runtimes/grok/index.d.ts +32 -4
- package/dist/runtimes/grok/index.d.ts.map +1 -1
- package/dist/runtimes/grok/index.js +15 -2
- package/dist/runtimes/grok/index.js.map +1 -1
- package/dist/runtimes/grok/installation.d.ts +1 -0
- package/dist/runtimes/grok/installation.d.ts.map +1 -1
- package/dist/runtimes/grok/installation.js +8 -1
- package/dist/runtimes/grok/installation.js.map +1 -1
- package/dist/runtimes/grok/mcp-startup.d.ts +5 -0
- package/dist/runtimes/grok/mcp-startup.d.ts.map +1 -0
- package/dist/runtimes/grok/mcp-startup.js +80 -0
- package/dist/runtimes/grok/mcp-startup.js.map +1 -0
- package/dist/runtimes/grok/options.d.ts +3 -1
- package/dist/runtimes/grok/options.d.ts.map +1 -1
- package/dist/runtimes/grok/options.js +12 -0
- package/dist/runtimes/grok/options.js.map +1 -1
- package/dist/runtimes/grok/session.d.ts.map +1 -1
- package/dist/runtimes/grok/session.js +2 -0
- package/dist/runtimes/grok/session.js.map +1 -1
- package/dist/runtimes/grok/tasks.d.ts.map +1 -1
- package/dist/runtimes/grok/tasks.js +3 -1
- package/dist/runtimes/grok/tasks.js.map +1 -1
- package/dist/runtimes/kimi/account-usage.d.ts.map +1 -1
- package/dist/runtimes/kimi/account-usage.js +5 -3
- package/dist/runtimes/kimi/account-usage.js.map +1 -1
- package/dist/runtimes/kimi/index.d.ts +56 -7
- package/dist/runtimes/kimi/index.d.ts.map +1 -1
- package/dist/runtimes/kimi/index.js +21 -3
- package/dist/runtimes/kimi/index.js.map +1 -1
- package/dist/runtimes/kimi/installation.d.ts.map +1 -1
- package/dist/runtimes/kimi/installation.js +5 -1
- package/dist/runtimes/kimi/installation.js.map +1 -1
- package/dist/runtimes/kimi/kap-boot.d.ts +16 -0
- package/dist/runtimes/kimi/kap-boot.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-boot.js +28 -0
- package/dist/runtimes/kimi/kap-boot.js.map +1 -0
- package/dist/runtimes/kimi/kap-compaction.d.ts +12 -0
- package/dist/runtimes/kimi/kap-compaction.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-compaction.js +63 -0
- package/dist/runtimes/kimi/kap-compaction.js.map +1 -0
- package/dist/runtimes/kimi/kap-controls.d.ts +48 -0
- package/dist/runtimes/kimi/kap-controls.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-controls.js +263 -0
- package/dist/runtimes/kimi/kap-controls.js.map +1 -0
- package/dist/runtimes/kimi/kap-dispatch.d.ts +10 -0
- package/dist/runtimes/kimi/kap-dispatch.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-dispatch.js +146 -0
- package/dist/runtimes/kimi/kap-dispatch.js.map +1 -0
- package/dist/runtimes/kimi/kap-errors.d.ts +24 -0
- package/dist/runtimes/kimi/kap-errors.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-errors.js +173 -0
- package/dist/runtimes/kimi/kap-errors.js.map +1 -0
- package/dist/runtimes/kimi/kap-failures.d.ts +12 -0
- package/dist/runtimes/kimi/kap-failures.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-failures.js +177 -0
- package/dist/runtimes/kimi/kap-failures.js.map +1 -0
- package/dist/runtimes/kimi/kap-items.d.ts +10 -0
- package/dist/runtimes/kimi/kap-items.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-items.js +201 -0
- package/dist/runtimes/kimi/kap-items.js.map +1 -0
- package/dist/runtimes/kimi/kap-negotiate.d.ts +9 -0
- package/dist/runtimes/kimi/kap-negotiate.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-negotiate.js +83 -0
- package/dist/runtimes/kimi/kap-negotiate.js.map +1 -0
- package/dist/runtimes/kimi/kap-open.d.ts +25 -0
- package/dist/runtimes/kimi/kap-open.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-open.js +130 -0
- package/dist/runtimes/kimi/kap-open.js.map +1 -0
- package/dist/runtimes/kimi/kap-projection-state.d.ts +68 -0
- package/dist/runtimes/kimi/kap-projection-state.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-projection-state.js +61 -0
- package/dist/runtimes/kimi/kap-projection-state.js.map +1 -0
- package/dist/runtimes/kimi/kap-projection.d.ts +6 -0
- package/dist/runtimes/kimi/kap-projection.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-projection.js +223 -0
- package/dist/runtimes/kimi/kap-projection.js.map +1 -0
- package/dist/runtimes/kimi/kap-protocol.d.ts +46 -0
- package/dist/runtimes/kimi/kap-protocol.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-protocol.js +220 -0
- package/dist/runtimes/kimi/kap-protocol.js.map +1 -0
- package/dist/runtimes/kimi/kap-session.d.ts +11 -0
- package/dist/runtimes/kimi/kap-session.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-session.js +116 -0
- package/dist/runtimes/kimi/kap-session.js.map +1 -0
- package/dist/runtimes/kimi/kap-socket.d.ts +11 -0
- package/dist/runtimes/kimi/kap-socket.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-socket.js +147 -0
- package/dist/runtimes/kimi/kap-socket.js.map +1 -0
- package/dist/runtimes/kimi/kap-turns.d.ts +12 -0
- package/dist/runtimes/kimi/kap-turns.d.ts.map +1 -0
- package/dist/runtimes/kimi/kap-turns.js +168 -0
- package/dist/runtimes/kimi/kap-turns.js.map +1 -0
- package/dist/runtimes/kimi/native-usage.d.ts.map +1 -1
- package/dist/runtimes/kimi/native-usage.js +4 -3
- package/dist/runtimes/kimi/native-usage.js.map +1 -1
- package/dist/runtimes/kimi/options.d.ts +5 -1
- package/dist/runtimes/kimi/options.d.ts.map +1 -1
- package/dist/runtimes/kimi/options.js +45 -2
- package/dist/runtimes/kimi/options.js.map +1 -1
- package/dist/runtimes/kimi/session.d.ts.map +1 -1
- package/dist/runtimes/kimi/session.js +15 -3
- package/dist/runtimes/kimi/session.js.map +1 -1
- package/dist/runtimes/kimi/version.d.ts +5 -0
- package/dist/runtimes/kimi/version.d.ts.map +1 -0
- package/dist/runtimes/kimi/version.js +12 -0
- package/dist/runtimes/kimi/version.js.map +1 -0
- package/dist/runtimes/kimi/web-startup.d.ts.map +1 -1
- package/dist/runtimes/kimi/web-startup.js +4 -18
- package/dist/runtimes/kimi/web-startup.js.map +1 -1
- package/dist/runtimes/omp/index.d.ts +4 -0
- package/dist/runtimes/omp/index.d.ts.map +1 -1
- package/dist/runtimes/omp/index.js +1 -0
- package/dist/runtimes/omp/index.js.map +1 -1
- package/dist/runtimes/omp/installation.d.ts.map +1 -1
- package/dist/runtimes/omp/installation.js +3 -0
- package/dist/runtimes/omp/installation.js.map +1 -1
- package/dist/runtimes/opencode/failure.js +6 -6
- package/dist/runtimes/opencode/failure.js.map +1 -1
- package/dist/runtimes/opencode/index.d.ts +120 -5
- package/dist/runtimes/opencode/index.d.ts.map +1 -1
- package/dist/runtimes/opencode/index.js +34 -4
- package/dist/runtimes/opencode/index.js.map +1 -1
- package/dist/runtimes/opencode/inline-prompt-config.d.ts +5 -0
- package/dist/runtimes/opencode/inline-prompt-config.d.ts.map +1 -0
- package/dist/runtimes/opencode/inline-prompt-config.js +82 -0
- package/dist/runtimes/opencode/inline-prompt-config.js.map +1 -0
- package/dist/runtimes/opencode/installation.d.ts +8 -0
- package/dist/runtimes/opencode/installation.d.ts.map +1 -1
- package/dist/runtimes/opencode/installation.js +26 -1
- package/dist/runtimes/opencode/installation.js.map +1 -1
- package/dist/runtimes/opencode/options.d.ts +5 -1
- package/dist/runtimes/opencode/options.d.ts.map +1 -1
- package/dist/runtimes/opencode/options.js +45 -1
- package/dist/runtimes/opencode/options.js.map +1 -1
- package/dist/runtimes/opencode/prompt-config-v2.d.ts.map +1 -1
- package/dist/runtimes/opencode/prompt-config-v2.js +23 -31
- package/dist/runtimes/opencode/prompt-config-v2.js.map +1 -1
- package/dist/runtimes/opencode/prompt-config.d.ts +2 -1
- package/dist/runtimes/opencode/prompt-config.d.ts.map +1 -1
- package/dist/runtimes/opencode/prompt-config.js +45 -23
- package/dist/runtimes/opencode/prompt-config.js.map +1 -1
- package/dist/runtimes/opencode/session.d.ts.map +1 -1
- package/dist/runtimes/opencode/session.js +1 -0
- package/dist/runtimes/opencode/session.js.map +1 -1
- package/dist/runtimes/opencode/shared-session.d.ts.map +1 -1
- package/dist/runtimes/opencode/shared-session.js +3 -0
- package/dist/runtimes/opencode/shared-session.js.map +1 -1
- package/dist/runtimes/opencode/upgrade.d.ts +4 -0
- package/dist/runtimes/opencode/upgrade.d.ts.map +1 -0
- package/dist/runtimes/opencode/upgrade.js +21 -0
- package/dist/runtimes/opencode/upgrade.js.map +1 -0
- package/dist/runtimes/opencode/version.d.ts +5 -0
- package/dist/runtimes/opencode/version.d.ts.map +1 -1
- package/dist/runtimes/opencode/version.js +14 -1
- package/dist/runtimes/opencode/version.js.map +1 -1
- package/dist/runtimes/pi/auth.d.ts +30 -7
- package/dist/runtimes/pi/auth.d.ts.map +1 -1
- package/dist/runtimes/pi/auth.js +2 -0
- package/dist/runtimes/pi/auth.js.map +1 -1
- package/dist/runtimes/pi/catalog.d.ts +1 -1
- package/dist/runtimes/pi/catalog.d.ts.map +1 -1
- package/dist/runtimes/pi/catalog.js.map +1 -1
- package/dist/runtimes/pi/credential-shape.d.ts +9 -0
- package/dist/runtimes/pi/credential-shape.d.ts.map +1 -0
- package/dist/runtimes/pi/credential-shape.js +85 -0
- package/dist/runtimes/pi/credential-shape.js.map +1 -0
- package/dist/runtimes/pi/facade-runtime.d.ts +1 -7
- package/dist/runtimes/pi/facade-runtime.d.ts.map +1 -1
- package/dist/runtimes/pi/facade-runtime.js.map +1 -1
- package/dist/runtimes/pi/failure.d.ts.map +1 -1
- package/dist/runtimes/pi/failure.js.map +1 -1
- package/dist/runtimes/pi/index.d.ts.map +1 -1
- package/dist/runtimes/pi/index.js +3 -1
- package/dist/runtimes/pi/index.js.map +1 -1
- package/dist/runtimes/pi/input-disposition.d.ts +1 -1
- package/dist/runtimes/pi/input-disposition.d.ts.map +1 -1
- package/dist/runtimes/pi/installation.d.ts +15 -3
- package/dist/runtimes/pi/installation.d.ts.map +1 -1
- package/dist/runtimes/pi/installation.js +101 -59
- package/dist/runtimes/pi/installation.js.map +1 -1
- package/dist/runtimes/pi/inventory.d.ts.map +1 -1
- package/dist/runtimes/pi/inventory.js +5 -2
- package/dist/runtimes/pi/inventory.js.map +1 -1
- package/dist/runtimes/pi/list-models.d.ts +3 -2
- package/dist/runtimes/pi/list-models.d.ts.map +1 -1
- package/dist/runtimes/pi/list-models.js +12 -2
- package/dist/runtimes/pi/list-models.js.map +1 -1
- package/dist/runtimes/pi/model-projection.d.ts +2 -0
- package/dist/runtimes/pi/model-projection.d.ts.map +1 -1
- package/dist/runtimes/pi/model-projection.js.map +1 -1
- package/dist/runtimes/pi/model-requests.d.ts +9 -0
- package/dist/runtimes/pi/model-requests.d.ts.map +1 -0
- package/dist/runtimes/pi/model-requests.js +76 -0
- package/dist/runtimes/pi/model-requests.js.map +1 -0
- package/dist/runtimes/pi/open.d.ts.map +1 -1
- package/dist/runtimes/pi/open.js +13 -28
- package/dist/runtimes/pi/open.js.map +1 -1
- package/dist/runtimes/pi/options.d.ts +7 -0
- package/dist/runtimes/pi/options.d.ts.map +1 -1
- package/dist/runtimes/pi/options.js.map +1 -1
- package/dist/runtimes/pi/projection.d.ts.map +1 -1
- package/dist/runtimes/pi/projection.js +11 -4
- package/dist/runtimes/pi/projection.js.map +1 -1
- package/dist/runtimes/pi/rpc/control.d.ts +1 -1
- package/dist/runtimes/pi/rpc/control.d.ts.map +1 -1
- package/dist/runtimes/pi/rpc/control.js +6 -4
- package/dist/runtimes/pi/rpc/control.js.map +1 -1
- package/dist/runtimes/pi/rpc/extension.d.ts.map +1 -1
- package/dist/runtimes/pi/rpc/extension.js +15 -2
- package/dist/runtimes/pi/rpc/extension.js.map +1 -1
- package/dist/runtimes/pi/rpc/open.d.ts.map +1 -1
- package/dist/runtimes/pi/rpc/open.js +11 -6
- package/dist/runtimes/pi/rpc/open.js.map +1 -1
- package/dist/runtimes/pi/rpc/prompt-files.d.ts.map +1 -1
- package/dist/runtimes/pi/rpc/prompt-files.js +14 -5
- package/dist/runtimes/pi/rpc/prompt-files.js.map +1 -1
- package/dist/runtimes/pi/rpc/readers.d.ts.map +1 -1
- package/dist/runtimes/pi/rpc/readers.js +2 -0
- package/dist/runtimes/pi/rpc/readers.js.map +1 -1
- package/dist/runtimes/pi/rpc/session.d.ts.map +1 -1
- package/dist/runtimes/pi/rpc/session.js +18 -12
- package/dist/runtimes/pi/rpc/session.js.map +1 -1
- package/dist/runtimes/pi/session.d.ts.map +1 -1
- package/dist/runtimes/pi/session.js +15 -7
- package/dist/runtimes/pi/session.js.map +1 -1
- package/dist/runtimes/pi/side-question.js +1 -1
- package/dist/runtimes/pi/side-question.js.map +1 -1
- package/dist/runtimes/pi-durable/index.d.ts.map +1 -1
- package/dist/runtimes/pi-durable/index.js +8 -1
- package/dist/runtimes/pi-durable/index.js.map +1 -1
- package/dist/runtimes/pi-durable/options.d.ts.map +1 -1
- package/dist/runtimes/pi-durable/options.js +3 -0
- package/dist/runtimes/pi-durable/options.js.map +1 -1
- package/dist/runtimes/pi-durable/projection.d.ts +4 -2
- package/dist/runtimes/pi-durable/projection.d.ts.map +1 -1
- package/dist/runtimes/pi-durable/projection.js +19 -4
- package/dist/runtimes/pi-durable/projection.js.map +1 -1
- package/dist/runtimes/pi-durable/session.d.ts.map +1 -1
- package/dist/runtimes/pi-durable/session.js +164 -23
- package/dist/runtimes/pi-durable/session.js.map +1 -1
- package/dist/runtimes/qoder/daemon.d.ts +2 -1
- package/dist/runtimes/qoder/daemon.d.ts.map +1 -1
- package/dist/runtimes/qoder/daemon.js +13 -7
- package/dist/runtimes/qoder/daemon.js.map +1 -1
- package/dist/runtimes/qoder/index.d.ts +25 -1
- package/dist/runtimes/qoder/index.d.ts.map +1 -1
- package/dist/runtimes/qoder/index.js +14 -1
- package/dist/runtimes/qoder/index.js.map +1 -1
- package/dist/runtimes/qoder/installation.d.ts +2 -2
- package/dist/runtimes/qoder/installation.d.ts.map +1 -1
- package/dist/runtimes/qoder/installation.js +10 -17
- package/dist/runtimes/qoder/installation.js.map +1 -1
- package/dist/runtimes/qoder/launch.d.ts +4 -4
- package/dist/runtimes/qoder/launch.d.ts.map +1 -1
- package/dist/runtimes/qoder/launch.js +24 -31
- package/dist/runtimes/qoder/launch.js.map +1 -1
- package/dist/runtimes/qoder/list-models.d.ts.map +1 -1
- package/dist/runtimes/qoder/list-models.js +22 -14
- package/dist/runtimes/qoder/list-models.js.map +1 -1
- package/dist/runtimes/qoder/mcp-config.d.ts +13 -0
- package/dist/runtimes/qoder/mcp-config.d.ts.map +1 -0
- package/dist/runtimes/qoder/mcp-config.js +22 -0
- package/dist/runtimes/qoder/mcp-config.js.map +1 -0
- package/dist/runtimes/qoder/options.d.ts.map +1 -1
- package/dist/runtimes/qoder/options.js +16 -10
- package/dist/runtimes/qoder/options.js.map +1 -1
- package/dist/runtimes/qoder/projection.d.ts.map +1 -1
- package/dist/runtimes/qoder/projection.js +5 -3
- package/dist/runtimes/qoder/projection.js.map +1 -1
- package/dist/runtimes/qoder/protocol.d.ts +3 -1
- package/dist/runtimes/qoder/protocol.d.ts.map +1 -1
- package/dist/runtimes/qoder/protocol.js +6 -4
- package/dist/runtimes/qoder/protocol.js.map +1 -1
- package/dist/runtimes/qoder/session.d.ts.map +1 -1
- package/dist/runtimes/qoder/session.js +8 -4
- package/dist/runtimes/qoder/session.js.map +1 -1
- package/dist/runtimes/qwen/control.d.ts +1 -1
- package/dist/runtimes/qwen/control.d.ts.map +1 -1
- package/dist/runtimes/qwen/control.js +3 -5
- package/dist/runtimes/qwen/control.js.map +1 -1
- package/dist/runtimes/qwen/credentials.d.ts +7 -0
- package/dist/runtimes/qwen/credentials.d.ts.map +1 -0
- package/dist/runtimes/qwen/credentials.js +47 -0
- package/dist/runtimes/qwen/credentials.js.map +1 -0
- package/dist/runtimes/qwen/index.d.ts +10 -9
- package/dist/runtimes/qwen/index.d.ts.map +1 -1
- package/dist/runtimes/qwen/index.js +21 -2
- package/dist/runtimes/qwen/index.js.map +1 -1
- package/dist/runtimes/qwen/installation.d.ts +1 -0
- package/dist/runtimes/qwen/installation.d.ts.map +1 -1
- package/dist/runtimes/qwen/installation.js +2 -1
- package/dist/runtimes/qwen/installation.js.map +1 -1
- package/dist/runtimes/qwen/launch.d.ts +3 -1
- package/dist/runtimes/qwen/launch.d.ts.map +1 -1
- package/dist/runtimes/qwen/launch.js +27 -16
- package/dist/runtimes/qwen/launch.js.map +1 -1
- package/dist/runtimes/qwen/list-models.js +2 -2
- package/dist/runtimes/qwen/list-models.js.map +1 -1
- package/dist/runtimes/qwen/native-memory.d.ts +17 -0
- package/dist/runtimes/qwen/native-memory.d.ts.map +1 -0
- package/dist/runtimes/qwen/native-memory.js +252 -0
- package/dist/runtimes/qwen/native-memory.js.map +1 -0
- package/dist/runtimes/qwen/options.d.ts +2 -0
- package/dist/runtimes/qwen/options.d.ts.map +1 -1
- package/dist/runtimes/qwen/options.js +20 -17
- package/dist/runtimes/qwen/options.js.map +1 -1
- package/dist/runtimes/qwen/projection.d.ts.map +1 -1
- package/dist/runtimes/qwen/projection.js +2 -1
- package/dist/runtimes/qwen/projection.js.map +1 -1
- package/dist/runtimes/qwen/session.d.ts.map +1 -1
- package/dist/runtimes/qwen/session.js +16 -7
- package/dist/runtimes/qwen/session.js.map +1 -1
- package/dist/shared/acp/effort.d.ts.map +1 -1
- package/dist/shared/acp/effort.js +5 -0
- package/dist/shared/acp/effort.js.map +1 -1
- package/dist/shared/acp/errors.d.ts +1 -1
- package/dist/shared/acp/errors.d.ts.map +1 -1
- package/dist/shared/acp/errors.js +3 -10
- package/dist/shared/acp/errors.js.map +1 -1
- package/dist/shared/acp/failure.js +5 -5
- package/dist/shared/acp/open-readiness.d.ts +15 -0
- package/dist/shared/acp/open-readiness.d.ts.map +1 -0
- package/dist/shared/acp/open-readiness.js +11 -0
- package/dist/shared/acp/open-readiness.js.map +1 -0
- package/dist/shared/acp/process.d.ts +5 -1
- package/dist/shared/acp/process.d.ts.map +1 -1
- package/dist/shared/acp/process.js +18 -5
- package/dist/shared/acp/process.js.map +1 -1
- package/dist/shared/acp/profile.d.ts +7 -4
- package/dist/shared/acp/profile.d.ts.map +1 -1
- package/dist/shared/acp/profile.js +42 -22
- package/dist/shared/acp/profile.js.map +1 -1
- package/dist/shared/acp/projection.d.ts.map +1 -1
- package/dist/shared/acp/projection.js +8 -3
- package/dist/shared/acp/projection.js.map +1 -1
- package/dist/shared/acp/routing-types.d.ts +3 -1
- package/dist/shared/acp/routing-types.d.ts.map +1 -1
- package/dist/shared/acp/routing.d.ts.map +1 -1
- package/dist/shared/acp/routing.js +5 -3
- package/dist/shared/acp/routing.js.map +1 -1
- package/dist/shared/acp/session-state.d.ts +2 -1
- package/dist/shared/acp/session-state.d.ts.map +1 -1
- package/dist/shared/acp/session-state.js +3 -1
- package/dist/shared/acp/session-state.js.map +1 -1
- package/dist/shared/acp/session.d.ts.map +1 -1
- package/dist/shared/acp/session.js +98 -52
- package/dist/shared/acp/session.js.map +1 -1
- package/dist/shared/acp/shared-session.d.ts.map +1 -1
- package/dist/shared/acp/shared-session.js +18 -6
- package/dist/shared/acp/shared-session.js.map +1 -1
- package/dist/shared/acp/turns.d.ts +1 -1
- package/dist/shared/acp/turns.d.ts.map +1 -1
- package/dist/shared/acp/turns.js +14 -12
- package/dist/shared/acp/turns.js.map +1 -1
- package/dist/shared/credential-redactor.d.ts +8 -0
- package/dist/shared/credential-redactor.d.ts.map +1 -1
- package/dist/shared/credential-redactor.js +22 -0
- package/dist/shared/credential-redactor.js.map +1 -1
- package/dist/shared/executable/close.d.ts +7 -0
- package/dist/shared/executable/close.d.ts.map +1 -0
- package/dist/shared/executable/close.js +26 -0
- package/dist/shared/executable/close.js.map +1 -0
- package/dist/shared/executable/diagnostics.d.ts +6 -0
- package/dist/shared/executable/diagnostics.d.ts.map +1 -1
- package/dist/shared/executable/diagnostics.js +9 -0
- package/dist/shared/executable/diagnostics.js.map +1 -1
- package/dist/shared/executable/index.d.ts +2 -0
- package/dist/shared/executable/index.d.ts.map +1 -1
- package/dist/shared/executable/index.js +1 -0
- package/dist/shared/executable/index.js.map +1 -1
- package/dist/shared/executable/node-script.d.ts +1 -0
- package/dist/shared/executable/node-script.d.ts.map +1 -1
- package/dist/shared/executable/node-script.js +1 -1
- package/dist/shared/executable/node-script.js.map +1 -1
- package/dist/shared/executable/process-cleanup-diagnostics.d.ts +3 -1
- package/dist/shared/executable/process-cleanup-diagnostics.d.ts.map +1 -1
- package/dist/shared/executable/process-cleanup-diagnostics.js.map +1 -1
- package/dist/shared/executable/process-cleanup.d.ts.map +1 -1
- package/dist/shared/executable/process-cleanup.js +41 -12
- package/dist/shared/executable/process-cleanup.js.map +1 -1
- package/dist/shared/executable/process-shutdown.d.ts +1 -0
- package/dist/shared/executable/process-shutdown.d.ts.map +1 -1
- package/dist/shared/executable/process-shutdown.js +27 -4
- package/dist/shared/executable/process-shutdown.js.map +1 -1
- package/dist/shared/executable/process-table-async.js +4 -4
- package/dist/shared/executable/process-table-async.js.map +1 -1
- package/dist/shared/executable/process-table-windows.d.ts.map +1 -1
- package/dist/shared/executable/process-table-windows.js +3 -1
- package/dist/shared/executable/process-table-windows.js.map +1 -1
- package/dist/shared/executable/process-tree.d.ts +8 -4
- package/dist/shared/executable/process-tree.d.ts.map +1 -1
- package/dist/shared/executable/process-tree.js +17 -10
- package/dist/shared/executable/process-tree.js.map +1 -1
- package/dist/shared/executable/process.d.ts +9 -1
- package/dist/shared/executable/process.d.ts.map +1 -1
- package/dist/shared/executable/process.js +2 -1
- package/dist/shared/executable/process.js.map +1 -1
- package/dist/shared/executable/reported-stderr.d.ts +18 -0
- package/dist/shared/executable/reported-stderr.d.ts.map +1 -0
- package/dist/shared/executable/reported-stderr.js +49 -0
- package/dist/shared/executable/reported-stderr.js.map +1 -0
- package/dist/shared/executable/run.d.ts +2 -0
- package/dist/shared/executable/run.d.ts.map +1 -1
- package/dist/shared/executable/run.js +4 -0
- package/dist/shared/executable/run.js.map +1 -1
- package/dist/shared/executable/verify-descendant-exit.d.ts +4 -0
- package/dist/shared/executable/verify-descendant-exit.d.ts.map +1 -0
- package/dist/shared/executable/verify-descendant-exit.js +34 -0
- package/dist/shared/executable/verify-descendant-exit.js.map +1 -0
- package/dist/shared/failure-class.d.ts +2 -0
- package/dist/shared/failure-class.d.ts.map +1 -1
- package/dist/shared/failure-class.js +11 -1
- package/dist/shared/failure-class.js.map +1 -1
- package/dist/shared/held-input.d.ts +9 -0
- package/dist/shared/held-input.d.ts.map +1 -1
- package/dist/shared/held-input.js +8 -0
- package/dist/shared/held-input.js.map +1 -1
- package/dist/shared/host-environment.d.ts +40 -0
- package/dist/shared/host-environment.d.ts.map +1 -0
- package/dist/shared/host-environment.js +74 -0
- package/dist/shared/host-environment.js.map +1 -0
- package/dist/shared/installation.d.ts +14 -3
- package/dist/shared/installation.d.ts.map +1 -1
- package/dist/shared/installation.js +81 -61
- package/dist/shared/installation.js.map +1 -1
- package/dist/shared/launch-args.d.ts +7 -0
- package/dist/shared/launch-args.d.ts.map +1 -0
- package/dist/shared/launch-args.js +25 -0
- package/dist/shared/launch-args.js.map +1 -0
- package/dist/shared/login.d.ts +3 -0
- package/dist/shared/login.d.ts.map +1 -1
- package/dist/shared/login.js +2 -1
- package/dist/shared/login.js.map +1 -1
- package/dist/shared/mcp-config-handoff.d.ts +12 -0
- package/dist/shared/mcp-config-handoff.d.ts.map +1 -0
- package/dist/shared/mcp-config-handoff.js +131 -0
- package/dist/shared/mcp-config-handoff.js.map +1 -0
- package/dist/shared/native-home-initialization.d.ts +20 -0
- package/dist/shared/native-home-initialization.d.ts.map +1 -0
- package/dist/shared/native-home-initialization.js +87 -0
- package/dist/shared/native-home-initialization.js.map +1 -0
- package/dist/shared/native-session-file.d.ts +3 -0
- package/dist/shared/native-session-file.d.ts.map +1 -0
- package/dist/shared/native-session-file.js +22 -0
- package/dist/shared/native-session-file.js.map +1 -0
- package/dist/shared/process-session.d.ts +1 -1
- package/dist/shared/process-session.d.ts.map +1 -1
- package/dist/shared/process-session.js +12 -9
- package/dist/shared/process-session.js.map +1 -1
- package/dist/shared/prompt-run.d.ts +10 -0
- package/dist/shared/prompt-run.d.ts.map +1 -0
- package/dist/shared/prompt-run.js +9 -0
- package/dist/shared/prompt-run.js.map +1 -0
- package/dist/shared/seal-session.d.ts.map +1 -1
- package/dist/shared/seal-session.js +2 -1
- package/dist/shared/seal-session.js.map +1 -1
- package/dist/shared/semver.d.ts +6 -0
- package/dist/shared/semver.d.ts.map +1 -1
- package/dist/shared/semver.js +16 -0
- package/dist/shared/semver.js.map +1 -1
- package/dist/shared/session-credentials.d.ts.map +1 -1
- package/dist/shared/session-credentials.js +2 -0
- package/dist/shared/session-credentials.js.map +1 -1
- package/dist/shared/session-options.d.ts.map +1 -1
- package/dist/shared/session-options.js +7 -4
- package/dist/shared/session-options.js.map +1 -1
- package/dist/shared/stream-json/compaction.d.ts +0 -1
- package/dist/shared/stream-json/compaction.d.ts.map +1 -1
- package/dist/shared/stream-json/compaction.js +1 -1
- package/dist/shared/stream-json/compaction.js.map +1 -1
- package/dist/shared/stream-json/held-input.d.ts.map +1 -1
- package/dist/shared/stream-json/held-input.js +0 -4
- package/dist/shared/stream-json/held-input.js.map +1 -1
- package/dist/shared/stream-json/input-lifecycle.d.ts.map +1 -1
- package/dist/shared/stream-json/input-lifecycle.js +8 -0
- package/dist/shared/stream-json/input-lifecycle.js.map +1 -1
- package/dist/shared/stream-json/profile.d.ts +6 -4
- package/dist/shared/stream-json/profile.d.ts.map +1 -1
- package/dist/shared/stream-json/projection.d.ts.map +1 -1
- package/dist/shared/stream-json/projection.js +23 -6
- package/dist/shared/stream-json/projection.js.map +1 -1
- package/dist/shared/stream-json/session.d.ts.map +1 -1
- package/dist/shared/stream-json/session.js +19 -21
- package/dist/shared/stream-json/session.js.map +1 -1
- package/dist/shared/stream-json/state.d.ts +3 -2
- package/dist/shared/stream-json/state.d.ts.map +1 -1
- package/dist/shared/stream-json/state.js +1 -0
- package/dist/shared/stream-json/state.js.map +1 -1
- package/dist/shared/update.d.ts +2 -0
- package/dist/shared/update.d.ts.map +1 -1
- package/dist/shared/update.js +6 -2
- package/dist/shared/update.js.map +1 -1
- package/dist/shared/usage-ratio.d.ts +16 -0
- package/dist/shared/usage-ratio.d.ts.map +1 -0
- package/dist/shared/usage-ratio.js +52 -0
- package/dist/shared/usage-ratio.js.map +1 -0
- package/dist/shared/user-configuration.d.ts +5 -0
- package/dist/shared/user-configuration.d.ts.map +1 -0
- package/dist/shared/user-configuration.js +19 -0
- package/dist/shared/user-configuration.js.map +1 -0
- package/dist/shared/version-range.d.ts +30 -0
- package/dist/shared/version-range.d.ts.map +1 -0
- package/dist/shared/version-range.js +50 -0
- package/dist/shared/version-range.js.map +1 -0
- package/dist/testing/scripted-runtime.d.ts.map +1 -1
- package/dist/testing/scripted-runtime.js +9 -4
- package/dist/testing/scripted-runtime.js.map +1 -1
- package/dist/testing/scripted-tasks.d.ts +1 -0
- package/dist/testing/scripted-tasks.d.ts.map +1 -1
- package/package.json +15 -8
- package/dist/runtimes/qwen/close.d.ts +0 -4
- package/dist/runtimes/qwen/close.d.ts.map +0 -1
- package/dist/runtimes/qwen/close.js +0 -13
- package/dist/runtimes/qwen/close.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @saltpub/oar
|
|
2
2
|
|
|
3
3
|
> Locally modified library from the ordinary private repository
|
|
4
|
-
> [tmp-reg/oar](https://github.com/tmp-reg/oar). Version `0.
|
|
4
|
+
> [tmp-reg/oar](https://github.com/tmp-reg/oar). Version `0.122.0` is a release
|
|
5
5
|
> candidate, not a published or release-ready package. See
|
|
6
6
|
> [maintenance provenance](../../UPSTREAM.md) for the upstream commit, compiler
|
|
7
7
|
> requirements and local publication gate.
|
|
8
8
|
|
|
9
|
-
Provider-independent TypeScript contracts and
|
|
9
|
+
Provider-independent TypeScript contracts and adapters for controlling and observing Antigravity, Claude, Codex, CodeBuddy, DeepSeek Harness, Devin, Factory Droid, Grok, Kimi, OpenCode, Pi, Qwen Code, and Qoder (plus optional-peer Cursor and Pi Durable, and community Mister Morph and Cybion).
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
12
|
import { defaultRuntimes, promptAndWait } from "@saltpub/oar";
|
|
@@ -50,10 +50,10 @@ start and end, usage, model, effort, compaction start / end, retry, background
|
|
|
50
50
|
tasks and subagents started, updated and ended, runtime→app requests and oar's
|
|
51
51
|
answers, control rejections, withdrawn and natively handled inputs, the process
|
|
52
52
|
exit), each carrying the `seq` and `agentPath` of the record it was read from.
|
|
53
|
-
Kinds a runtime never says never appear (
|
|
54
|
-
compaction start
|
|
55
|
-
|
|
56
|
-
runtime pages say which. It is a
|
|
53
|
+
Kinds a runtime never says never appear (some runtimes report no
|
|
54
|
+
compaction start, some no compaction, and several no retry); the
|
|
55
|
+
[runtime matrix](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md)
|
|
56
|
+
and the runtime pages say which. It is a
|
|
57
57
|
projection over the record stream, which `session.rawEvents()` and
|
|
58
58
|
`session.records()` expose (`RawEvent`: `Frame` with the native payload
|
|
59
59
|
verbatim, `RequestRecord`, `ResponseRecord`) for consumers who need the
|
|
@@ -65,8 +65,8 @@ carry `elided: true`, while live observers still receive every record complete
|
|
|
65
65
|
reports for a command it ran, absent where it reports none (claude); see
|
|
66
66
|
[tool outcomes](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#tool-outcomes).
|
|
67
67
|
In `session.usage()`, `TokenTotals.reasoning` is the part of `output` the
|
|
68
|
-
runtime reports as reasoning (
|
|
69
|
-
|
|
68
|
+
runtime reports as reasoning (absent where the runtime does not report it;
|
|
69
|
+
the linked section lists which do): never add it to `output` again
|
|
70
70
|
([reasoning tokens](https://github.com/botiverse/oar/blob/main/docs/spec/attribution.md#reasoning-tokens)).
|
|
71
71
|
|
|
72
72
|
Tool arguments can arrive while the model is still writing them. Append
|
|
@@ -87,8 +87,9 @@ root tools, withdraws the held inputs, aborts the turn and, after the
|
|
|
87
87
|
runtime's own turn end, sends them as one merged prompt
|
|
88
88
|
([interrupting](https://github.com/botiverse/oar/blob/main/docs/spec/conversation.md#interrupting-and-merging-held-inputs)).
|
|
89
89
|
`session.steer` exists only on a session whose runtime can steer (qwen,
|
|
90
|
-
codebuddy, devin and kimi sessions have none, nor opencode v2
|
|
91
|
-
`initialize` does not advertise steering
|
|
90
|
+
codebuddy, devin and kimi ACP fallback sessions have none, nor opencode v2
|
|
91
|
+
sessions whose `initialize` does not advertise steering or dsh sessions without
|
|
92
|
+
`steer` in their native method inventory; kimi KAP sessions expose `steer`; see
|
|
92
93
|
[session controls](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#session-controls)),
|
|
93
94
|
so a host offers a steer control by reading the member, never a runtime
|
|
94
95
|
name; `deliver` and `steerOrQueue` queue where it is absent. Before any session
|
|
@@ -101,13 +102,13 @@ absent field is unknown, not false
|
|
|
101
102
|
sent (`accepted`), or answers `not_queued` once it went; with it a UI offers
|
|
102
103
|
withdraw, edit (withdraw, then `queue` again) and send now (withdraw, then
|
|
103
104
|
`deliver`). It exists where OAR holds the queue itself (claude, pi, qwen, qoder, cursor,
|
|
104
|
-
factory and the ACP runtimes), on pi-durable through native submission cancellation and on
|
|
105
|
+
factory, kimi, morph, cybion and the ACP runtimes), on pi-durable through native submission cancellation and on
|
|
105
106
|
dsh through native inbox removal where its method inventory advertises it, not on codex.
|
|
106
107
|
`session.stopTask(taskId)` stops one native task without aborting its parent
|
|
107
|
-
(claude, codex, qoder); acceptance is the native acknowledgement, never a task
|
|
108
|
+
(claude, codex, qoder, kimi KAP, and dsh for backgrounded shell jobs where job controls are advertised); acceptance is the native acknowledgement, never a task
|
|
108
109
|
end ([single-task stop](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#native-tasks-and-single-task-stop)).
|
|
109
110
|
`session.compact()` is optional on Claude, Codex, Pi SDK/RPC, Grok, Qoder,
|
|
110
|
-
Cursor, Factory and OpenCode v2 sessions. OpenCode v1
|
|
111
|
+
Cursor, Factory, Kimi KAP, DSH (when supported) and OpenCode v2 sessions. OpenCode v1 and Kimi ACP omit it.
|
|
111
112
|
`runtime.manualCompaction` describes support and active-turn policy; these
|
|
112
113
|
implementations require idle sessions. The result distinguishes native
|
|
113
114
|
completion, failure, cancellation, rejection and an unconfirmed wait.
|
|
@@ -121,8 +122,7 @@ marking a merged native turn's inputs complete; neither field is inferred.
|
|
|
121
122
|
`session.resources()` reads the memory a runtime takes on the host: resident
|
|
122
123
|
bytes and a process count over the runtime process, its group and its
|
|
123
124
|
descendants, `null` once it has exited (and on Windows). It is a reading only,
|
|
124
|
-
never a handle: no pid leaves OAR. Pi's default SDK mode, pi-durable and
|
|
125
|
-
cursor (in either execution mode) have none.
|
|
125
|
+
never a handle: no pid leaves OAR. Pi's default SDK mode, pi-durable, cursor (in either execution mode), morph and cybion have none.
|
|
126
126
|
|
|
127
127
|
For conversation UIs, use the browser-safe `reduceConversation` projection
|
|
128
128
|
over `session.rawEvents()`. It joins input requests, responses and native
|
|
@@ -160,18 +160,19 @@ The package has these public entry points, plus `@saltpub/oar/pi-durable` ([belo
|
|
|
160
160
|
- `@saltpub/oar`: the runtime registry and adapters, bounded `orient` snapshots, `defineRuntime`, `UnsupportedOptionError` (and its `ResumeCwdError` subclass), `ModelConfirmationError`, `RuntimeFailureError`, `SessionNotFoundError`, `SessionUnavailableError`, `serveMcpTools`, `userShellEnvironment` and `writeShellEnvironmentCapture`, the `oar-voyage/3` recorder (`openVoyage`), and everything the brands and observe entry points below export. Node-only (adapters import `node:child_process` and runtime SDKs).
|
|
161
161
|
- `@saltpub/oar/browser`: portable contracts, registry, session kernel, observe helpers, agent report formatting, and branding. No Node adapters, process helpers or local image-file loaders.
|
|
162
162
|
- `@saltpub/oar/brands`: browser-safe runtime names and SVG icons.
|
|
163
|
-
- `@saltpub/oar/runtimes/<id>` (`claude`, `codex`, `codebuddy`, `devin`, `dsh`, `factory`, `pi`, `cursor`, `opencode`, `kimi`, `grok`, `antigravity`, `qwen`, `qoder`): one built-in runtime (`claudeRuntime`, …; cursor's is `createCursorRuntime`) without the others, for a host that needs only some of them. Each entry stays at about 1 to 2.5 MB of heap where the root entry takes about 50 MB (Node 26, [#405](https://github.com/botiverse/oar/pull/405)): the ACP SDK (about 20 MB) loads only on the first call that speaks ACP (a session, a model list, a usage, sign-in or status read on an ACP entry, the Qwen provider facade), and the pi and cursor SDKs when theirs first run. Node-only.
|
|
163
|
+
- `@saltpub/oar/runtimes/<id>` (`claude`, `codex`, `codebuddy`, `devin`, `dsh`, `factory`, `pi`, `cursor`, `opencode`, `kimi`, `grok`, `antigravity`, `qwen`, `qoder`): one built-in runtime (`claudeRuntime`, …; cursor's is `createCursorRuntime`) without the others, for a host that needs only some of them (plus `@saltpub/oar/runtimes/codex/installation-candidates` for Codex executable candidate probing; `./runtimes/pi-durable` is blocked in favor of `@saltpub/oar/pi-durable`). Each entry stays at about 1 to 2.5 MB of heap where the root entry takes about 50 MB (Node 26, [#405](https://github.com/botiverse/oar/pull/405)): the ACP SDK (about 20 MB) loads only on the first call that speaks ACP (a session, a model list, a usage, sign-in or status read on an ACP entry, the Qwen provider facade), and the pi and cursor SDKs when theirs first run. Node-only.
|
|
164
164
|
- `@saltpub/oar/observe`: the browser-safe pure derivations over `RawEvent`s and `Event`s (`eventsOf`, `graphOf`, `usageOf`, `observeAgent`, `reduceStatus`, `tasksOf`, `observeStalls`, `classifyTool`, `reduceConversation`, `reduceSessionView`, …) with no Node or adapter imports, so a browser or Electron-renderer bundle can import it directly. The root export re-exports all of them.
|
|
165
165
|
It also supplies `failureAdvice` (recovery timing per `FailureClass`) and `noticeText`, `noticeTone`, `phaseLabel`, `failureText` and `taskStatusLabel`, alongside `toolActionLabel` and `toolGroupSummary`: English display wording for OAR types, usable in JavaScriptCore too. Wording may change in a minor release; hosts must use the typed values for decisions, not parse the text ([display wording](https://github.com/botiverse/oar/blob/main/docs/spec/conversation.md#display-wording)).
|
|
166
166
|
- `@saltpub/oar/kernel`: the runtime-author SPI. `createSessionKernel` is the record stream every built-in adapter is built on (dense `seq`, cursor replay, control recording, the reachability rule) and `sealSession` derives the `Session` API face over an adapter. Pair with `defineRuntime` to ship a custom runtime (a scripted runtime for a host's tests, an in-process agent) without re-implementing the stream contract. `inputImagesRefusal` and `withInputImages` apply the image rules every built-in runtime keeps, so a custom runtime refuses the inputs they refuse. `withdrawHeld` applies `Session.withdraw` to an adapter-held queue; its `HeldInput` type is public too.
|
|
167
|
-
- `@saltpub/oar/agents`: subagents. `createSubagents()` starts child sessions on any runtime that takes `SessionOptions.env` (not in-process cursor
|
|
167
|
+
- `@saltpub/oar/agents`: subagents. `createSubagents()` starts child sessions on any runtime that takes `SessionOptions.env` (not in-process cursor, pi-durable, morph or cybion), returns a report for every turn they end, takes follow-ups, enforces depth and concurrency limits, and reports each child as a task. The host takes reports with `wait` / `next` or receives them through an `onReport` hook; with `formatReport` and `reportOrigin` it can `deliver` one into a parent session so it wakes. See [subagents](https://github.com/botiverse/oar/blob/main/docs/spec/subagents.md). Node-only.
|
|
168
168
|
- `@saltpub/oar/agents/report`: `formatReport`, `parseReport`, `reportOrigin` and their types, with no Node or adapter imports, for a host forwarding or displaying reports. `parseReport` reads the existing report format into header fields, a structured outcome and the original body, or returns `null`. `@saltpub/oar/agents` loads every built-in runtime, because `createSubagents` defaults to them.
|
|
169
169
|
- `@saltpub/oar/testing`: `scriptedRuntime({ turn })`, a ready-made runtime on the kernel SPI whose model is a script. It yields a real `Session` (same records, folds and control semantics) with no binary, login or provider, for hosts' tests and demos. A script can also start tasks (`turn.task`) that end after the turn, like a background command, and make the runtime's process exit on its own (`turn.exit`, during the turn or kept for later, while idle), recorded as a vendor process's unexpected exit is. Node-only.
|
|
170
170
|
- `@saltpub/oar/forms`: runtime config forms for a host's agent-creation UI, as plain data (`configForms`, keyed by runtime id; grok only so far) and shared form types. Hosts validate and map selected values to session options. A form states what the runtime accepts; a host may only narrow it. Loads no runtime SDK and does nothing on import, so it runs in a browser. See [config form](https://github.com/botiverse/oar/blob/main/docs/spec/config-form.md).
|
|
171
|
+
- `@saltpub/oar/capabilities`: `installedSessionCapabilities` and its session-capability contract types (`SessionCapabilityDeclaration`, `CompactionEvents`, `ManualCompaction`, `ContextUsageCapability`, `McpTransport`, `RefusedSessionOptions`, `RefusableSessionOption`, `AvailableInstallation`, `Runtime`). Loads only contract modules, no runtime adapters or native SDKs, for hosts that avoid the root entry to keep memory low.
|
|
171
172
|
|
|
172
|
-
Brand
|
|
173
|
+
Brand SVGs (`<runtime-id>.svg`, plus themed `*-on-light.svg`/`*-on-dark.svg` variants and `NOTICE.md`) are exported under `@saltpub/oar/assets/brands/*`. Any other deep import (`@saltpub/oar/dist/...`, source paths) is internal and may break without notice.
|
|
173
174
|
|
|
174
|
-
Antigravity, CodeBuddy, Devin, Grok, Kimi, and OpenCode share an internal ACP v1 transport and session kernel, but only their concrete runtime identities are public. The registry deliberately does not expose a generic `acp` runtime. The pi SDK (`@earendil-works/pi-coding-agent`) is
|
|
175
|
+
Antigravity, CodeBuddy, Devin, Grok, Kimi (ACP fallback), and OpenCode share an internal ACP v1 transport and session kernel, but only their concrete runtime identities are public. The registry deliberately does not expose a generic `acp` runtime. The pi SDK (`@earendil-works/pi-coding-agent` and `@earendil-works/pi-ai`) is declared under `optionalDependencies` of `@saltpub/oar` (and direct `dependencies` of `@saltpub/oar-cli`): it installs by default, and hosts that want a slim install without Pi can opt out with `npm install --omit=optional` (`pnpm install --no-optional`; note that this omits every optional dependency in the dependency tree, not only Pi's). Without those packages, Pi remains in `defaultRuntimes` and its `installation()` reports `unsupported` with `code: "dependency_missing"`. `@cursor/sdk` is an optional peer dependency, and cursor is not in `defaultRuntimes`: install the SDK (`npm install @cursor/sdk@1.4.1`) and hand it over, `createRuntimeRegistry([...defaultRuntimes.list(), createCursorRuntime({ sdk: () => import("@cursor/sdk") })])`. Written in your code, that import fails your compile if the package is missing. It is Cursor's own package under Cursor's terms, and it signs in with `CURSOR_API_KEY` or its own `Cursor.auth.login()`. `createCursorRuntime({ execution: "subprocess", sdkModule: import.meta.resolve("@cursor/sdk") })` instead runs the SDK in a Node child per session, which takes `SessionOptions.env` and whose crash is recorded as `exited` ([execution modes](https://github.com/botiverse/oar/blob/main/docs/runtimes/cursor.md#execution-modes)).
|
|
175
176
|
|
|
176
177
|
Community runtimes are contributed and maintained outside the core team (each maintainer is named on its runtime page). They ship in this package from a separate entry point, `@saltpub/oar/community`, and are not in `defaultRuntimes`: `createRuntimeRegistry([...defaultRuntimes.list(), createMorphRuntime()])` adds [Mister Morph](https://github.com/botiverse/oar/blob/main/docs/runtimes/morph.md), driven through its Console Runtime API, and `createCybionRuntime({ baseUrl, apiKey })` adds [Cybion](https://github.com/botiverse/oar/blob/main/docs/runtimes/cybion.md), which drives a server-side Thread through its Agent API. The `oar` CLI adds Mister Morph; it leaves Cybion out, because a Cybion runtime needs a deployment URL and an API key that only the embedding host has.
|
|
177
178
|
|
|
@@ -180,13 +181,13 @@ Community runtimes are contributed and maintained outside the core team (each ma
|
|
|
180
181
|
`SessionOptions.model`. When resuming an old Azure session, pass
|
|
181
182
|
`model: "azure/<model>"` explicitly; without it, Pi can retain the
|
|
182
183
|
conversation while selecting a different default model. The opening `model`
|
|
183
|
-
event and `Session.model()` report the effective selection. OAR's
|
|
184
|
+
event and `Session.model()` report the effective selection. OAR's `~1.6.0`
|
|
184
185
|
dependency range includes this change
|
|
185
186
|
([migration evidence and limits](https://github.com/botiverse/oar/blob/main/experiments/runtime-version-checks/2026-10-05.md)).
|
|
186
187
|
|
|
187
188
|
**Pi 1.5.0 default prompt:** the bundled native default system prompt has
|
|
188
189
|
changed. Hosts that need stable wording should pass their own `systemPrompt`.
|
|
189
|
-
The coding SDK and OAR share undici 8.12.
|
|
190
|
+
The coding SDK and OAR share undici 8.12.4; see the
|
|
190
191
|
[security update evidence](https://github.com/botiverse/oar/blob/main/experiments/pi-1.5.0-2026-11-02.md).
|
|
191
192
|
|
|
192
193
|
Qwen Code is available as `qwenRuntime` and in `defaultRuntimes`. Install
|
|
@@ -289,7 +290,7 @@ the user's app, holds it); codex reports both. See
|
|
|
289
290
|
[unavailable resume targets](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#unavailable-resume-targets).
|
|
290
291
|
|
|
291
292
|
`SessionOptions.name` is the session's display name in the runtime's own UI
|
|
292
|
-
(claude, codex and
|
|
293
|
+
(claude, codex, pi, dsh, and cybion for new threads; other runtimes refuse it). A new session gets it; a
|
|
293
294
|
resume never replaces a name the session has. See
|
|
294
295
|
[session name](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#session-name).
|
|
295
296
|
|
|
@@ -299,7 +300,8 @@ copy's. `fork.through` keeps only the turns through one turn: pass the
|
|
|
299
300
|
`forkAnchor` of that turn's root `turn_ended` event (`ViewTurn.forkAnchor` in
|
|
300
301
|
the session view); a turn without one cannot be a cut point (claude names
|
|
301
302
|
none for a turn that ends on a tool call or was aborted). Claude and Codex
|
|
302
|
-
(`through` from Codex 0.143.0)
|
|
303
|
+
support anchored copies (`through` from Codex 0.143.0). OpenCode v2 supports
|
|
304
|
+
whole-session copies when ACP advertises `fork` and refuses `through`. See
|
|
303
305
|
[forking a session](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#forking-a-session).
|
|
304
306
|
|
|
305
307
|
`SessionOptions.additionalDirectories` adds native workspace paths, resolved
|
|
@@ -315,7 +317,9 @@ skills, commands, agents, MCP servers, hooks, memory and settings while
|
|
|
315
317
|
keeping the native login and session history, so a host can offer a clean
|
|
316
318
|
configuration without a new login or losing resume. It is not a sandbox, and
|
|
317
319
|
project configuration stays runtime-specific. Claude and Cursor support it;
|
|
318
|
-
other runtimes refuse it.
|
|
320
|
+
other runtimes refuse it. On Claude, `{ exclude: ["instructions"] }` leaves
|
|
321
|
+
settings and MCP active. You can combine `settings`, `mcp` and `instructions`.
|
|
322
|
+
Give the option again on resume. See
|
|
319
323
|
[user configuration](https://github.com/botiverse/oar/blob/main/docs/spec/runtime-matrix.md#user-configuration).
|
|
320
324
|
|
|
321
325
|
`SessionOptions.endTurnProcessesOnAbort: true` (Codex in an isolated
|
|
@@ -368,11 +372,11 @@ fails: [structured output](https://github.com/botiverse/oar/blob/main/docs/spec/
|
|
|
368
372
|
args?, env?}` or streamable HTTP `{name, type: "http", url, headers?}`) to
|
|
369
373
|
one session, on top of the runtime's own, through each runtime's own channel
|
|
370
374
|
(claude reads them from a 0600 FIFO that never puts them on a disk, a
|
|
371
|
-
temporary file on Windows); pi-durable
|
|
375
|
+
temporary file on Windows); pi-durable, morph and cybion refuse `mcpServers`, and dsh takes
|
|
372
376
|
stdio `command` and `args` only. Give them again on `resume`. Their `env` and
|
|
373
|
-
`headers` values never appear in a record or an error; antigravity,
|
|
374
|
-
|
|
375
|
-
(declared as `mcpServerCredentials`; leave such entries out). Every runtime refuses the
|
|
377
|
+
`headers` values never appear in a record or an error; antigravity, dsh, cursor,
|
|
378
|
+
devin, Pi RPC (`execution: "subprocess"`), claude on Windows and cybion refuse an
|
|
379
|
+
entry carrying them (declared as `mcpServerCredentials`; leave such entries out). Every runtime refuses the
|
|
376
380
|
names `__proto__`, `__defineGetter__`, `__defineSetter__`, `__lookupGetter__`
|
|
377
381
|
and `__lookupSetter__` (`option: "mcpServers"`), which some runtimes drop
|
|
378
382
|
without a word. See the
|
|
@@ -382,7 +386,9 @@ and each runtime page's "Session MCP servers".
|
|
|
382
386
|
Tools the host implements itself go through the same option. `serveMcpTools`
|
|
383
387
|
serves them from an MCP server inside the host process and returns the
|
|
384
388
|
`mcpServers` entry to pass, so one implementation reaches every runtime that
|
|
385
|
-
takes an http entry with `headers` (
|
|
389
|
+
takes an `http` entry with `headers` (check
|
|
390
|
+
`installedSessionCapabilities(runtime, installation)` for `mcpTransports` and
|
|
391
|
+
`mcpServerCredentials`):
|
|
386
392
|
|
|
387
393
|
```ts
|
|
388
394
|
import { serveMcpTools } from "@saltpub/oar";
|
|
@@ -443,8 +449,8 @@ the runtime says so (codex's configured model, else its catalog default; a new
|
|
|
443
449
|
session's current model on grok, kimi, antigravity, codebuddy and devin; the native
|
|
444
450
|
default on qoder and dsh; the default saved in pi's settings). claude, cursor,
|
|
445
451
|
opencode, qwen and factory mark none: OAR never picks one.
|
|
446
|
-
Where several providers serve models (pi, opencode, dsh), `provider: { id,
|
|
447
|
-
displayName? }` says which, so a host never parses `id`. A project's own
|
|
452
|
+
Where several providers serve models (pi, opencode v1, dsh), `provider: { id,
|
|
453
|
+
displayName? }` says which (OpenCode v2 omits `provider`), so a host never parses `id`. A project's own
|
|
448
454
|
configuration can change the list and its default, so pass `options.cwd`, the
|
|
449
455
|
directory a session would run in (the host's cwd by default). Like the
|
|
450
456
|
inventory readers, listing starts the runtime there the way a session would
|
|
@@ -469,10 +475,11 @@ on its own
|
|
|
469
475
|
updater would install and where that answer came from;
|
|
470
476
|
`runtime.upgrade(installation)` runs that updater without a terminal and
|
|
471
477
|
judges the result by the version the same executable reports afterwards,
|
|
472
|
-
never by its exit code. oar never upgrades on its own. Claude, Codex, Factory, Grok
|
|
473
|
-
and
|
|
474
|
-
|
|
475
|
-
|
|
478
|
+
never by its exit code. oar never upgrades on its own. Claude, Codex, Factory, Grok, Kimi
|
|
479
|
+
and Antigravity have both; Devin has only the check; OpenCode has only `upgrade`
|
|
480
|
+
(v2); CodeBuddy, DSH, Qwen and Qoder have neither yet; Pi, Cursor, Pi Durable,
|
|
481
|
+
Mister Morph and Cybion have neither (Pi's SDK is an optional dependency and
|
|
482
|
+
Cursor's an exact peer dependency).
|
|
476
483
|
See [runtime updates](https://github.com/botiverse/oar/blob/main/docs/spec/update.md).
|
|
477
484
|
|
|
478
485
|
`runtime.installPlan()` reports what installing a runtime would run on this
|
|
@@ -547,14 +554,14 @@ as the runtime's own image content. `session.capabilities.images` says whether
|
|
|
547
554
|
the runtime takes them; an input it cannot deliver is rejected whole. See
|
|
548
555
|
[Images](https://github.com/botiverse/oar/blob/main/docs/spec/conversation.md#images).
|
|
549
556
|
|
|
550
|
-
TypeScript hosts: keep `skipLibCheck` on. With `skipLibCheck: false` and `module: nodenext
|
|
557
|
+
TypeScript hosts: keep `skipLibCheck` on when Pi or Cursor is installed. With `npm install --omit=optional` (and no optional peers), OAR's own declarations check clean even with `skipLibCheck: false` and `module: nodenext`. With Pi installed (`skipLibCheck: false` and `module: nodenext`), TypeScript reports errors inside the pi SDK's declarations and their dependencies' (`@earendil-works/pi-ai` imports JSON without an import attribute, TS1543; its `@google/genai` imports the optional peer `@modelcontextprotocol/sdk`, TS2307, and without the DOM lib also misses `RequestInfo` and `HeadersInit`); OAR's own declarations check clean (official TypeScript 6.0.3 consuming a clean install of the tsrs-built package). A host that installs `@cursor/sdk` and checks library files also needs the DOM lib for its `@connectrpc/connect` dependency (`HeadersInit`).
|
|
551
558
|
|
|
552
559
|
## Host-owned durable sessions
|
|
553
560
|
|
|
554
|
-
Install the optional native peers in the host: `npm install @earendil-works/pi-durable@~1.
|
|
561
|
+
Install the optional native peers in the host: `npm install @earendil-works/pi-durable@~1.6.0 @earendil-works/chord@~1.6.0`.
|
|
555
562
|
Resolve Durable and Chord to exactly the same version.
|
|
556
|
-
For the host catalog, keep `@earendil-works/pi-ai@1.
|
|
557
|
-
name and add `@earendil-works/pi-ai-durable` as an npm alias of Pi AI 1.
|
|
563
|
+
For the host catalog, keep `@earendil-works/pi-ai@1.6.0` under its normal
|
|
564
|
+
name and add `@earendil-works/pi-ai-durable` as an npm alias of Pi AI 1.6.0;
|
|
558
565
|
import Durable models/providers from that alias. See the
|
|
559
566
|
[copyable host configuration](https://github.com/botiverse/oar/blob/main/docs/runtimes/pi-durable.md#native-objects-and-calling-interface).
|
|
560
567
|
Using a different Pi AI version under its normal name can split the coding
|
|
@@ -576,7 +583,7 @@ const runtime = createPiDurableRuntime({ harness, models });
|
|
|
576
583
|
const session = await runtime.session({ kind: "available", via: "bundled" }, {
|
|
577
584
|
cwd: "/workspace", model: "provider/model",
|
|
578
585
|
});
|
|
579
|
-
let view = initialSessionView();
|
|
586
|
+
let view = initialSessionView(session.id);
|
|
580
587
|
session.rawEvents(record => {
|
|
581
588
|
view = reduceSessionView(view, record, session.id);
|
|
582
589
|
render(view);
|
|
@@ -584,7 +591,7 @@ session.rawEvents(record => {
|
|
|
584
591
|
await session.prompt("Hello", { inputId: crypto.randomUUID() });
|
|
585
592
|
```
|
|
586
593
|
|
|
587
|
-
The host owns its Pi Durable 1.
|
|
594
|
+
The host owns its Pi Durable 1.6.0 Harness, providers, credentials, extensions
|
|
588
595
|
and storage. `resume: session.id` attaches to that storage's conversation and
|
|
589
596
|
resumes unfinished work. Queue and input-id deduplication are native and
|
|
590
597
|
durable. `dispose()` detaches the observer; it does not stop work or close the
|
|
@@ -615,8 +622,9 @@ Other core runtimes return unsupported for independent command discovery.
|
|
|
615
622
|
Kimi and OpenCode expose native skill catalogs. Cursor discovers the measured
|
|
616
623
|
SDK user/project skill directories with `view: "discovered"`, without loading
|
|
617
624
|
hooks or MCP servers; malformed/unreadable metadata makes the result partial.
|
|
618
|
-
Antigravity,
|
|
619
|
-
|
|
625
|
+
Antigravity, Devin, DSH, Factory and Qwen expose `skills` (`commands`,
|
|
626
|
+
`mcpServers` and `tools` unsupported); CodeBuddy, Qoder, Cybion, Pi Durable
|
|
627
|
+
and Mister Morph inventory queries are all unsupported.
|
|
620
628
|
|
|
621
629
|
```ts
|
|
622
630
|
const catalog = await runtime.commands(installation, { cwd: "/my/project" });
|
package/assets/brands/NOTICE.md
CHANGED
|
@@ -7,6 +7,13 @@ Brand names and marks belong to their respective owners.
|
|
|
7
7
|
|
|
8
8
|
Mister Morph: `app_logo_dark.svg` from the Mister Morph website (quailyquaily/mistermorph-website, `public/`), the project's own mark. `morph-on-dark.svg` swaps its two colors (#1F1F1F and white) for dark backgrounds.
|
|
9
9
|
|
|
10
|
+
Cybion: `clients/brand/cybion-logo.svg` from the Cybion project's own brand
|
|
11
|
+
assets (`zccz14/cybion`, a private repository), copied unmodified on 2026-11-21.
|
|
12
|
+
The Cybion runtime is contributed by that project, so this is the project
|
|
13
|
+
supplying its own mark rather than an asset taken from a published page. It
|
|
14
|
+
carries its own dark background and is used on both backgrounds. Cybion branding
|
|
15
|
+
belongs to its owner; the LobeHub MIT license below does not cover this asset.
|
|
16
|
+
|
|
10
17
|
Factory Droid: https://factory.com/favicon.svg (retrieved 2026-11-15), unmodified official site asset for identification. Factory branding belongs to its owner; the LobeHub MIT license below does not cover this asset. It carries its own dark background and is used on both backgrounds.
|
|
11
18
|
|
|
12
19
|
Pi: https://pi.dev/logo-on-dark.svg (retrieved 2026-09-16), unmodified official site asset for identification on dark backgrounds. Pi branding belongs to its respective owner; the LobeHub MIT license below does not cover this asset.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#54545e"/>
|
|
5
|
+
<stop offset="0.45" stop-color="#2a2a30"/>
|
|
6
|
+
<stop offset="1" stop-color="#161616"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="metal" x1="0" y1="0" x2="0.15" y2="1">
|
|
9
|
+
<stop offset="0" stop-color="#ffffff"/>
|
|
10
|
+
<stop offset="0.5" stop-color="#d2d2da"/>
|
|
11
|
+
<stop offset="1" stop-color="#92929c"/>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<filter id="glow" x="-40%" y="-40%" width="180%" height="180%">
|
|
14
|
+
<feGaussianBlur stdDeviation="20"/>
|
|
15
|
+
</filter>
|
|
16
|
+
</defs>
|
|
17
|
+
|
|
18
|
+
<rect x="0" y="0" width="1024" height="1024" fill="url(#bg)"/>
|
|
19
|
+
|
|
20
|
+
<!-- soft halo around the mark -->
|
|
21
|
+
<path d="M512 337 L714 687 L310 687 Z" fill="none" stroke="#ffffff"
|
|
22
|
+
stroke-width="86" stroke-linejoin="round" opacity="0.5" filter="url(#glow)"/>
|
|
23
|
+
|
|
24
|
+
<!-- the mark -->
|
|
25
|
+
<path d="M512 337 L714 687 L310 687 Z" fill="none" stroke="url(#metal)"
|
|
26
|
+
stroke-width="86" stroke-linejoin="round"/>
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lightweight session-capability entry: resolves an installation's
|
|
3
|
+
* `SessionCapabilityDeclaration` (`installedSessionCapabilities`) without
|
|
4
|
+
* loading any runtime adapter or native SDK.
|
|
5
|
+
*/
|
|
6
|
+
export { installedSessionCapabilities } from "./contracts/runtime.js";
|
|
7
|
+
export type { CompactionEvents, RefusableSessionOption, RefusedSessionOptions, Runtime, SessionCapabilityDeclaration, } from "./contracts/runtime.js";
|
|
8
|
+
export type { AvailableInstallation } from "./contracts/installation.js";
|
|
9
|
+
export type { ManualCompaction } from "./contracts/compaction.js";
|
|
10
|
+
export type { ContextUsageCapability } from "./contracts/context-usage.js";
|
|
11
|
+
export type { McpTransport } from "./contracts/session-options.js";
|
|
12
|
+
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AACtE,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,OAAO,EACP,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lightweight session-capability entry: resolves an installation's
|
|
3
|
+
* `SessionCapabilityDeclaration` (`installedSessionCapabilities`) without
|
|
4
|
+
* loading any runtime adapter or native SDK.
|
|
5
|
+
*/
|
|
6
|
+
export { installedSessionCapabilities } from "./contracts/runtime.js";
|
|
7
|
+
//# sourceMappingURL=capabilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities.js","sources":["../src/capabilities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../../src/community/cybion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI/D,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../src/community/cybion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI/D,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAkBjD,6EAA6E;AAC7E,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,uBAAuB,CAAC,CAAC,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,CAUzE"}
|
|
@@ -2,8 +2,15 @@ import { defineRuntime } from "../../contracts/runtime.js";
|
|
|
2
2
|
import { CybionClient } from "./client.js";
|
|
3
3
|
import { cybionRefusedSessionOptions } from "./refused-options.js";
|
|
4
4
|
import { cybionSessionWith } from "./session.js";
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The Cybion mark, `assets/brands/cybion.svg` (see `assets/brands/NOTICE.md`),
|
|
7
|
+
* inline so a host shows it without a file read. It carries its own background,
|
|
8
|
+
* so one asset serves both themes.
|
|
9
|
+
*/
|
|
10
|
+
const cybionBrand = {
|
|
11
|
+
name: "Cybion",
|
|
12
|
+
icon: `data:image/svg+xml,${encodeURIComponent("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1024\" height=\"1024\" viewBox=\"0 0 1024 1024\">\n <defs>\n <linearGradient id=\"bg\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\n <stop offset=\"0\" stop-color=\"#54545e\"/>\n <stop offset=\"0.45\" stop-color=\"#2a2a30\"/>\n <stop offset=\"1\" stop-color=\"#161616\"/>\n </linearGradient>\n <linearGradient id=\"metal\" x1=\"0\" y1=\"0\" x2=\"0.15\" y2=\"1\">\n <stop offset=\"0\" stop-color=\"#ffffff\"/>\n <stop offset=\"0.5\" stop-color=\"#d2d2da\"/>\n <stop offset=\"1\" stop-color=\"#92929c\"/>\n </linearGradient>\n <filter id=\"glow\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"180%\">\n <feGaussianBlur stdDeviation=\"20\"/>\n </filter>\n </defs>\n\n <rect x=\"0\" y=\"0\" width=\"1024\" height=\"1024\" fill=\"url(#bg)\"/>\n\n <!-- soft halo around the mark -->\n <path d=\"M512 337 L714 687 L310 687 Z\" fill=\"none\" stroke=\"#ffffff\"\n stroke-width=\"86\" stroke-linejoin=\"round\" opacity=\"0.5\" filter=\"url(#glow)\"/>\n\n <!-- the mark -->\n <path d=\"M512 337 L714 687 L310 687 Z\" fill=\"none\" stroke=\"url(#metal)\"\n stroke-width=\"86\" stroke-linejoin=\"round\"/>\n</svg>\n")}`,
|
|
13
|
+
};
|
|
7
14
|
/** The adapter drives a deployment over HTTP: there is no local executable to probe. */
|
|
8
15
|
const cybionInstallation = async () => {
|
|
9
16
|
await Promise.resolve();
|
|
@@ -20,7 +27,7 @@ export function createCybionRuntime(options) {
|
|
|
20
27
|
const client = new CybionClient(options);
|
|
21
28
|
return defineRuntime({
|
|
22
29
|
id: "cybion",
|
|
23
|
-
sessionCapabilities: () => ({ steer: true, images: true }),
|
|
30
|
+
sessionCapabilities: () => ({ taskEventTypes: [], steer: true, images: true }),
|
|
24
31
|
brand: cybionBrand,
|
|
25
32
|
installation: cybionInstallation,
|
|
26
33
|
session: cybionSessionWith(client),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/community/cybion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAgB,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAsB,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAIjD
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/community/cybion/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAgB,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAsB,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAIjD;;;;GAIG;AACH,MAAM,WAAW,GAAiB;IAChC,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,sBAAsB,kBAAkB,CAAC,qsCAAqsC,CAAC,EAAE;CACxvC,CAAC;AAEF,wFAAwF;AACxF,MAAM,kBAAkB,GAAsB,KAAK,IAAI,EAAE;IACvD,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;IACxB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAC/C,CAAC,CAAC;AAKF;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAsB;IACxD,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC;IACzC,OAAO,aAAa,CAAC;QACnB,EAAE,EAAE,QAAQ;QACZ,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAC9E,KAAK,EAAE,WAAW;QAClB,YAAY,EAAE,kBAAkB;QAChC,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC;QAClC,qBAAqB,EAAE,2BAA2B;KACnD,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refused-options.d.ts","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,uFAAuF;AACvF,eAAO,MAAM,2BAA2B,EAAE,
|
|
1
|
+
{"version":3,"file":"refused-options.d.ts","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,uFAAuF;AACvF,eAAO,MAAM,2BAA2B,EAAE,qBAgBzC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** Options a Cybion session refuses, each with the reason the Agent API gives none. */
|
|
2
2
|
export const cybionRefusedSessionOptions = {
|
|
3
|
+
modelRequests: "This adapter has no verified capture of the root agent's provider request",
|
|
3
4
|
systemPrompt: "A Cybion Thread takes no per-session system prompt: its instructions are the Manuals Cybion loads for it",
|
|
4
5
|
appendSystemPrompt: "A Cybion Thread takes no per-session system prompt: its instructions are the Manuals Cybion loads for it",
|
|
5
6
|
env: "A Cybion Thread runs on its owner's Workers, not in this process",
|
|
@@ -13,5 +14,6 @@ export const cybionRefusedSessionOptions = {
|
|
|
13
14
|
userConfiguration: "A Cybion Thread always runs with its owner's configuration, which cannot be excluded",
|
|
14
15
|
goals: "Cybion's Agent API exposes no structured goal controls",
|
|
15
16
|
endTurnProcessesOnAbort: "Cybion cancels a turn, but exposes no per-turn control over the processes it started",
|
|
17
|
+
sessionLogUpload: "This adapter has no verified switch to stop vendor session-log upload",
|
|
16
18
|
};
|
|
17
19
|
//# sourceMappingURL=refused-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refused-options.js","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,MAAM,CAAC,MAAM,2BAA2B,GAA0B;IAChE,YAAY,EAAE,0GAA0G;IACxH,kBAAkB,EAAE,0GAA0G;IAC9H,GAAG,EAAE,kEAAkE;IACvE,UAAU,EAAE,yEAAyE;IACrF,oBAAoB,EAAE,yEAAyE;IAC/F,eAAe,EAAE,kDAAkD;IACnE,UAAU,EAAE,wEAAwE;IACpF,WAAW,EAAE,+EAA+E;IAC5F,qBAAqB,EAAE,sFAAsF;IAC7G,YAAY,EAAE,gEAAgE;IAC9E,iBAAiB,EAAE,sFAAsF;IACzG,KAAK,EAAE,wDAAwD;IAC/D,uBAAuB,EAAE,sFAAsF;
|
|
1
|
+
{"version":3,"file":"refused-options.js","sources":["../../../src/community/cybion/refused-options.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,MAAM,CAAC,MAAM,2BAA2B,GAA0B;IAChE,aAAa,EAAE,2EAA2E;IAC1F,YAAY,EAAE,0GAA0G;IACxH,kBAAkB,EAAE,0GAA0G;IAC9H,GAAG,EAAE,kEAAkE;IACvE,UAAU,EAAE,yEAAyE;IACrF,oBAAoB,EAAE,yEAAyE;IAC/F,eAAe,EAAE,kDAAkD;IACnE,UAAU,EAAE,wEAAwE;IACpF,WAAW,EAAE,+EAA+E;IAC5F,qBAAqB,EAAE,sFAAsF;IAC7G,YAAY,EAAE,gEAAgE;IAC9E,iBAAiB,EAAE,sFAAsF;IACzG,KAAK,EAAE,wDAAwD;IAC/D,uBAAuB,EAAE,sFAAsF;IAC/G,gBAAgB,EAAE,uEAAuE;CAC1F,CAAC"}
|
|
@@ -20,7 +20,7 @@ const morphBrand = {
|
|
|
20
20
|
export function createMorphRuntime() {
|
|
21
21
|
return defineRuntime({
|
|
22
22
|
id: "morph",
|
|
23
|
-
sessionCapabilities: () => ({ steer: true, images: false }),
|
|
23
|
+
sessionCapabilities: () => ({ taskEventTypes: [], steer: true, images: false }),
|
|
24
24
|
brand: morphBrand,
|
|
25
25
|
installation: morphInstallation,
|
|
26
26
|
listModels: morphListModels,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/community/morph/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAgB,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAExE,qFAAqF;AACrF,MAAM,UAAU,GAAiB;IAC/B,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,sBAAsB,kBAAkB,CAAC,w7CAAw7C,CAAC,EAAE;IAC1+C,KAAK,EAAE;QACL,KAAK,EAAE,sBAAsB,kBAAkB,CAAC,w7CAAw7C,CAAC,EAAE;QAC3+C,IAAI,EAAE,sBAAsB,kBAAkB,CAAC,k8CAAk8C,CAAC,EAAE;KACr/C;CACF,CAAC;AAKF;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,aAAa,CAAC;QACnB,EAAE,EAAE,OAAO;QACX,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/community/morph/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAgB,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MA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,CAAC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC;CAC/D;AAED,eAAO,MAAM,sBAAsB,EAAE,eAA4C,CAAC;AAIlF,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,CAA2C,CAAC;AAEnG,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC9C;AAqJD,oHAAoH;AACpH,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,CAgBjF;AAqBD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,GAAG,SAAS,CAoB9E;AAED,kGAAkG;AAClG,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,gBAAgB,EAAE,CAYjF"}
|
|
@@ -35,6 +35,18 @@ function modelEvents(state, model) {
|
|
|
35
35
|
? { state, events: [] }
|
|
36
36
|
: { state: { ...state, model: name }, events: [{ kind: "model", model: name }] };
|
|
37
37
|
}
|
|
38
|
+
/** Read the exit code from Mister Morph's formatShellObservation envelope. */
|
|
39
|
+
function shellExitCode(tool, output) {
|
|
40
|
+
if ((tool !== "bash" && tool !== "powershell") || output === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
const header = /^exit_code: (-?\d+)\nstdout_truncated: (?:true|false)\nstderr_truncated: (?:true|false)\nstdout:\n/u.exec(output);
|
|
44
|
+
if (header === null || !output.includes("\n\nstderr:\n", header[0].length)) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
const code = Number(header[1]);
|
|
48
|
+
return Number.isSafeInteger(code) ? code : undefined;
|
|
49
|
+
}
|
|
38
50
|
/** One agent event (mistermorph agent/events.go) as OAR events. */
|
|
39
51
|
function traceEvent(task, taskId, seq, event) {
|
|
40
52
|
const tool = text(event.tool_name) ?? "tool";
|
|
@@ -55,7 +67,7 @@ function traceEvent(task, taskId, seq, event) {
|
|
|
55
67
|
case "tool_done": {
|
|
56
68
|
const callId = text(event.activity_id) ?? task.openCalls.findLast((call) => call.tool === tool)?.callId ?? `${taskId}:${String(seq)}`;
|
|
57
69
|
const output = text(event.text);
|
|
58
|
-
const
|
|
70
|
+
const exitCode = shellExitCode(tool, output);
|
|
59
71
|
const failed = text(event.error) !== undefined || event.status === "failed" || event.status === "error";
|
|
60
72
|
const result = failed ? "failed" : (event.status === "done" ? "ok" : undefined);
|
|
61
73
|
return {
|
|
@@ -65,7 +77,7 @@ function traceEvent(task, taskId, seq, event) {
|
|
|
65
77
|
callId,
|
|
66
78
|
...(output === undefined ? {} : { content: [{ type: "text", text: output }] }),
|
|
67
79
|
...(result === undefined ? {} : { result }),
|
|
68
|
-
...(
|
|
80
|
+
...(exitCode === undefined ? {} : { exitCode }),
|
|
69
81
|
}],
|
|
70
82
|
};
|
|
71
83
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.js","sources":["../../../src/community/morph/projection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAmB,MAAM,sBAAsB,CAAC;AAmCzF,MAAM,CAAC,MAAM,sBAAsB,GAAoB,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAElF,MAAM,WAAW,GAAwB,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;AAE7G,MAAM,CAAC,MAAM,sBAAsB,GAAwB,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,CAAC,C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,EAAiC,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AA8BhF,eAAO,MAAM,0BAA0B,EAAE,
|
|
1
|
+
{"version":3,"file":"session.d.ts","sources":["../../../src/community/morph/session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAsD,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAMnH,OAAO,EAAiC,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AA8BhF,eAAO,MAAM,0BAA0B,EAAE,qBAaxC,CAAC;AAsBF,oEAAoE;AACpE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;AAE1F,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,cAAc,GAAG,YAAY,CAgKtE;AAED,eAAO,MAAM,YAAY,EAAE,YAA+C,CAAC"}
|
|
@@ -31,6 +31,7 @@ import { createTaskTracker } from "./tracker.js";
|
|
|
31
31
|
/** How long dispose waits for a stopped task's own `canceled` before letting go. */
|
|
32
32
|
const DISPOSE_SETTLE_MS = 3000;
|
|
33
33
|
export const morphRefusedSessionOptions = {
|
|
34
|
+
modelRequests: "This adapter has no verified capture of the root agent's provider request",
|
|
34
35
|
fork: "OAR has not verified a native Morph fork that opens a copy of a saved session under a new id, cut after a chosen turn",
|
|
35
36
|
goals: "This runtime interface exposes no structured native goal controls",
|
|
36
37
|
endTurnProcessesOnAbort: "OAR has not verified reading and ending one aborted Morph turn's processes while its session stays usable",
|
|
@@ -41,6 +42,7 @@ export const morphRefusedSessionOptions = {
|
|
|
41
42
|
mcpServers: "OAR does not attach MCP servers to morph: no per-session channel is known",
|
|
42
43
|
launchArgs: "morph sessions run in its Console process, which a session neither starts nor owns",
|
|
43
44
|
name: "OAR knows no morph session name setting",
|
|
45
|
+
sessionLogUpload: "This adapter has no verified switch to stop vendor session-log upload",
|
|
44
46
|
};
|
|
45
47
|
function refusal(error) {
|
|
46
48
|
return error instanceof MorphRefusalError
|