agentxgo 0.1.1 → 0.1.2-rc.4
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 +11 -1
- package/dist/adapters/runtime-http/client.js +5 -5
- package/dist/bootstrap.js +28 -18
- package/dist/cli.js +46 -24
- package/dist/communication/assembly.js +12 -10
- package/dist/communication/calls.js +19 -5
- package/dist/communication/config.js +1 -1
- package/dist/communication/pump.js +6 -5
- package/dist/computer/automatic.js +2 -2
- package/dist/computer/backend.js +1 -1
- package/dist/computer/clipboard.js +1 -1
- package/dist/computer/config.js +1 -1
- package/dist/computer/controller.js +1 -1
- package/dist/computer/desktop.js +1 -1
- package/dist/computer/job-main.js +1 -1
- package/dist/computer/native.js +1 -1
- package/dist/computer/scratch.js +2 -2
- package/dist/computer/service.js +1 -1
- package/dist/computer/worker.js +2 -2
- package/dist/config.js +1 -1
- package/dist/connection/guide.js +57 -0
- package/dist/connection/public-guide.js +27 -0
- package/dist/continuation/checkpoints.js +1 -1
- package/dist/continuation/commands.js +1 -1
- package/dist/continuation/coordinator.js +21 -3
- package/dist/continuation/events.js +11 -2
- package/dist/continuation/failure.js +1 -1
- package/dist/continuation/local-wait.js +1 -1
- package/dist/continuation/mcp-updates.js +42 -0
- package/dist/continuation/observations.js +1 -1
- package/dist/continuation/reading.js +2 -2
- package/dist/conversations/pump.js +1 -1
- package/dist/conversations/runtime-http.js +2 -2
- package/dist/deployment/cold-qualification.js +1 -1
- package/dist/deployment/cold-release.js +1 -1
- package/dist/deployment/components/archive.js +90 -0
- package/dist/deployment/components/cli.js +24 -5
- package/dist/deployment/components/manager.js +47 -22
- package/dist/deployment/components/release.js +19 -23
- package/dist/deployment/components/runner.js +18 -5
- package/dist/deployment/components/runtime-profile.js +25 -0
- package/dist/deployment/components/supervisor.js +22 -22
- package/dist/deployment/components/verify.js +5 -2
- package/dist/deployment/components/windows.js +1 -1
- package/dist/deployment/config.js +5 -3
- package/dist/deployment/failure.js +2 -0
- package/dist/deployment/kernel.js +45 -27
- package/dist/deployment/linux/legacy-project.js +122 -0
- package/dist/deployment/macos/activate.js +3 -3
- package/dist/deployment/macos/attachment.js +1 -1
- package/dist/deployment/macos/handoff.js +1 -1
- package/dist/deployment/macos/plan.js +8 -5
- package/dist/deployment/recovery-route.js +1 -1
- package/dist/deployment/runtime.js +5 -3
- package/dist/doctor/config.js +28 -6
- package/dist/doctor/probe.js +22 -5
- package/dist/doctor/run.js +12 -5
- package/dist/enrollment/browser-login.js +78 -0
- package/dist/enrollment/cli.js +1 -1
- package/dist/enrollment/defaults.js +6 -0
- package/dist/enrollment/device.js +2 -40
- package/dist/enrollment/initial-command.js +40 -0
- package/dist/enrollment/initial.js +129 -0
- package/dist/enrollment/login.js +49 -30
- package/dist/enrollment/private-file.js +42 -0
- package/dist/enrollment/runtime-codex.js +93 -0
- package/dist/enrollment/runtime-command.js +74 -0
- package/dist/enrollment/runtime-dsh.js +65 -0
- package/dist/enrollment/runtime-files.js +47 -0
- package/dist/enrollment/setup.js +54 -9
- package/dist/execution/artifact.js +1 -1
- package/dist/execution/codex/authority.js +2 -2
- package/dist/execution/codex/catalog.js +1 -1
- package/dist/execution/codex/config.js +6 -1
- package/dist/execution/codex/read.js +1 -1
- package/dist/execution/codex/record.js +1 -1
- package/dist/execution/codex/window-receipts.js +1 -1
- package/dist/execution/codex/wire.js +1 -1
- package/dist/execution/codex/worker.js +8 -7
- package/dist/execution/config.js +1 -1
- package/dist/execution/environment.js +1 -1
- package/dist/execution/gateway.js +1 -1
- package/dist/execution/local.js +1 -1
- package/dist/execution/native/config.js +1 -1
- package/dist/execution/native/records.js +1 -1
- package/dist/execution/native/worker.js +1 -1
- package/dist/execution/results.js +1 -1
- package/dist/execution/role.js +1 -1
- package/dist/execution/runner.js +1 -1
- package/dist/execution/scope.js +2 -2
- package/dist/execution/scratch-files.js +1 -1
- package/dist/execution/scratch.js +1 -1
- package/dist/execution/stdio.js +1 -1
- package/dist/execution/work.js +1 -1
- package/dist/execution/worker.js +2 -2
- package/dist/generated/install-guides.js +29 -0
- package/dist/help.js +86 -9
- package/dist/lifecycle/http.js +93 -19
- package/dist/lifecycle/runtime.js +1 -1
- package/dist/lifecycle/status-command.js +2 -2
- package/dist/lifecycle/wake-hints.js +43 -6
- package/dist/main.js +1 -1
- package/dist/preparation/backend.js +7 -4
- package/dist/preparation/binding.js +2 -2
- package/dist/preparation/bootstrap.js +32 -17
- package/dist/preparation/config.js +28 -8
- package/dist/preparation/coordinator.js +48 -31
- package/dist/preparation/main.js +3 -3
- package/dist/preparation/runtime.js +20 -3
- package/dist/receptions/runtime-http.js +2 -2
- package/dist/recovery/activation.js +1 -1
- package/dist/recovery/admission.js +1 -1
- package/dist/recovery/automatic-preparation.js +1 -1
- package/dist/recovery/automatic-recovery.js +1 -1
- package/dist/recovery/confirmed-binding.js +1 -1
- package/dist/recovery/coordinator.js +9 -5
- package/dist/recovery/execution-policy.js +1 -1
- package/dist/recovery/inspection-errors.js +19 -0
- package/dist/recovery/preparation-policy.js +1 -1
- package/dist/recovery/prestart.js +1 -1
- package/dist/recovery/quarantine.js +2 -2
- package/dist/recovery/service-restart.js +2 -2
- package/dist/reports/pump.js +39 -6
- package/dist/runtime/codex/NOTICE +816 -0
- package/dist/runtime/codex/codex.js +562 -0
- package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/dist/account.js +2 -2
- package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/dist/direct.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/dist/local.js +3 -3
- package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/package.json +3 -3
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/automatic-activation.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/automatic-preparation.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/checkpoint-seal.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/communication.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/computer-scratch.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/computer.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/database.js +12 -4
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/input.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/journal.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/models.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/native-calls.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/native-window.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/observations.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/recovery-history.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/recovery-record.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/recovery.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/reports.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/runtime-events.js +1 -1
- package/dist/vendor/@agent-stack/bot-host-journal/dist/runtime-receipts/index.js +1 -0
- package/dist/vendor/@agent-stack/bot-host-journal/dist/runtime-receipts/journal.js +58 -0
- package/dist/vendor/@agent-stack/bot-host-journal/dist/runtime-receipts/transaction.js +171 -0
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/runtime-settings.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/target-actions.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/target-local.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/target-scratch.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/terminal-store.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/trace-inputs.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/waits.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/bot-transport.js +7 -2
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/client.js +2 -2
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/inventory.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/owner-route.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/runtime.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/core.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/run-work-acknowledgement.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/tenant/management.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/api-credentials.js +3 -2
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/index.js +2 -2
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/installation.js +1 -0
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/mcp-capabilities.js +9 -1
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/native-events-validation.js +6 -2
- package/dist/vendor/@agent-stack/contracts/dist/bots/read-recovery.js +67 -0
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/recovery-validation.js +3 -1
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/same-native.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/integrations.js +8 -0
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/index.js +2 -0
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/interactive-work-sources.js +6 -8
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/platform-events.js +8 -9
- package/dist/vendor/@agent-stack/contracts/dist/public-applications.js +21 -0
- package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/integration-oauth.js +4 -0
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/bootstrap.js +1 -1
- package/dist/vendor/@agent-stack/runtime-contracts/dist/bot/codex-public-startup.js +68 -0
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/codex-record.js +1 -1
- package/dist/vendor/@agent-stack/runtime-contracts/dist/bot/codex-startup.js +98 -0
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/codex-target.js +1 -1
- package/dist/vendor/@agent-stack/runtime-contracts/dist/bot/dsh-startup.js +46 -0
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/index.js +3 -0
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/process-identity.js +1 -1
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/recovery-inspection.js +2 -2
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/index.js +2 -0
- package/dist/vendor/@agent-stack/runtime-contracts/dist/legacy.js +8 -0
- package/dist/vendor/@agent-stack/runtime-contracts/dist/oauth-connection.js +7 -0
- package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/tenant-management.js +1 -1
- package/dist/vendor/@agentims/adapter/LICENSE +202 -0
- package/{node_modules → dist/vendor}/@agentims/adapter/dist/delivery/coordinator.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/adapter/dist/delivery/decision.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/adapter/dist/errors.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/adapter/dist/source/event-source.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/adapter/package.json +3 -2
- package/dist/vendor/@agentims/runtime/LICENSE +202 -0
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/backup.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/password.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/selection.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/errors.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/help.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/input.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/main.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/run.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/update-commands.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/account-credential.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/environment.js +3 -0
- package/dist/vendor/@agentims/runtime/dist/configuration/execution-artifact.js +51 -0
- package/dist/vendor/@agentims/runtime/dist/configuration/native-command.js +4 -0
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/native-settings.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/index.js +4 -4
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/embedded.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/foreground-connection.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/foreground.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/identity.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/process.js +3 -2
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/shutdown-lease.js +2 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/start.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/managed/connection.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/managed/control.js +3 -3
- package/dist/vendor/@agentims/runtime/dist/managed/execution.js +95 -0
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/managed/lease.js +2 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/managed/shutdown.js +3 -3
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/managed/state.js +12 -20
- package/dist/vendor/@agentims/runtime/dist/native/daemon-driver.js +54 -0
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/storage/archive.js +2 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/supervision/launchd.js +3 -2
- package/dist/vendor/@agentims/runtime/dist/supervision/service.js +4 -0
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/supervision/systemd.js +3 -2
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/continuity.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/discovery.js +2 -2
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/embedded.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/installation.js +4 -3
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/ledger.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/managed.js +8 -22
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/manifest.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/offline.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/shutdown-owner.js +1 -1
- package/{node_modules → dist/vendor}/@agentims/runtime/package.json +4 -3
- package/dist/vendor/@agentims/sdk/LICENSE +202 -0
- package/{node_modules → dist/vendor}/@agentims/sdk/package.json +2 -1
- package/package.json +8 -19
- package/release.json +738 -687
- package/node_modules/@agent-stack/contracts/dist/bots/read-recovery.js +0 -10
- package/node_modules/@agentims/runtime/dist/supervision/service.js +0 -4
- /package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/dist/connection-file.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/dist/operations-arguments.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/dist/operations-communication.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/adapter-agentim/dist/operations-operator.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/preparation.js +0 -0
- /package/{node_modules/@agentims/adapter/dist/delivery → dist/vendor/@agent-stack/bot-host-journal/dist/runtime-receipts}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/terminal-checkpoints.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/dist/upgrade.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bot-host-journal/package.json +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/agents.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/assistant.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/auth.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/native-events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bots/reports.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/bridge-client.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/deployments.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/integrations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/knowledge.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/management.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/platform-events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/platform.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/public-runtime.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/run-work-errors.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/runtime.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/tenant/authorization.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/client/workspace.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/dist/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/bridge-client/package.json +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/assistant-path.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/assistant.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/capabilities.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/capability-migration.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/capability-version.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/codex-policy.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/command-evidence.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/command-inventory.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/command-receipt.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/communication-native.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/communication-stream.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/communication.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/component-status.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/components.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/computer-validation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/computer.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/conversations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/corrections.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/delegation-renewal.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/delegation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/delivery-history.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/delivery-read.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/elicitation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/entries.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/event-exchanges.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/goal-window.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/host-actions.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/identities.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/interaction-validation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/interactions.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/lifecycle.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/local-execution.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/mission.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/model-routing.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/native-events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/native-fact.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/native-host.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/observation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/owner-progress.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/owner-transition.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/parking.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/preferences.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/preparations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/project-oauth.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/quarantine-installation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/quarantine.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/receptions.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/recovery-admission.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/recovery-errors.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/recovery-history.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/recovery-source.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/recovery.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/relay.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/report-status.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/reports.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/restart-source.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/runtime-command.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/runtime-input.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/runtime-provider.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/runtime-settings.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/runtime-validation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/runtime.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/service-restart.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/status.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/sync.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/targets.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/validation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/versions.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/wake-hints.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/work-brief.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/work-control.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/bots/work-events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/browser-chat-attachment.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/business-outcomes.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/chat-attachment.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/chat-stream.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/agent-ui.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/base.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/deployments.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/knowledge.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/live.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/runtime.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/contracts/workspace.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/delivery-targets.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/desktop-mcp.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/employee-association.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/event-links.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/execution-oauth-callback.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/host-page-context.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/installation-lifecycle.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/installation-mcp.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/installations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/integration-context.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/integration-oauth.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/integration-runtime.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/interactive-run-wake.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/interactive-work-acknowledgement.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/interactive-work-events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/knowledge-attachment.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/knowledge-catalog.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/knowledge-organization.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/live-audio.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/live-business.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/live-human.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/live-transport.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/mcp-directory.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/mcp-refresh.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/mcp-scopes.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/native-studio-installation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/oauth-authorization.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/reply-presentation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/reply.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/request-body.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/schedules.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/task-work-events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tasks.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/templates.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/access-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/access-views.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/access.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/actions.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/attachments.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/authorization.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/capabilities.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/connections.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/conversation-work-events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/conversation-work-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/conversations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/deliveries.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/delivery-views.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/deployment-catalog.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/descriptor.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/events.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/feedback.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/guidance.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/host-enrollment.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/identity.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/installation-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/installation-views.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/installations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/integration-configuration.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/integrations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/json.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-management-input.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-management-results.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-management-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-management.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-organization.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-program-input.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-program-results.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/knowledge-programs.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/live.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/marketplace-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/marketplaces.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/mcp-directory.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/native-operations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/operations.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/outcome-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/outcomes.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/queries.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/resource-views.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/resources.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/schedule-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/schedule-views.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/schedules.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/settings.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/sse.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/task-schemas.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/task-views.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/tasks.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/tests.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/transport.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/usage.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/views.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/widgets.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/work-changes.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/work-materials.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/tenant/workspace-resources.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/widget-authorization.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/widget-avatar.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/widget-context.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/widget-conversation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/widget-host-auth.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/widget-origin.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/dist/widget-turn.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/contracts/package.json +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/authority.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/conversation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/quarantine-material.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/bot/service.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/json.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/observation.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/runtime.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/trace.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/wire.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/execution/wire.schema.json +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/interactive-run-wake.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/mcp.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/native-studio-connection.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/native-studio-execution.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/native-studio-registration.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/oauth-context.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/personal-mcp.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/signing.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/source-reply.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/storage.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/target-environment.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/dist/tool-trace.js +0 -0
- /package/{node_modules → dist/vendor}/@agent-stack/runtime-contracts/package.json +0 -0
- /package/{node_modules → dist/vendor}/@agentims/adapter/dist/authority/binding.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/adapter/dist/delivery/record.js +0 -0
- /package/{node_modules/@agentims/adapter/dist/source → dist/vendor/@agentims/adapter/dist/delivery}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/adapter/dist/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/adapter/dist/lifecycle/budget.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/adapter/dist/receipts/send.js +0 -0
- /package/{node_modules/@agentims/runtime/dist/accounts → dist/vendor/@agentims/adapter/dist/source}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/adapter/dist/status/adapter-status.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/communication.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/context.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/credential-lifecycle.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/errors.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/login.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/accounts/register.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/account → dist/vendor/@agentims/runtime/dist/accounts}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/authentication/intent.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/authentication/journals.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/authentication/methods.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/authentication/selection.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/authentication/status.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/account-commands.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/arguments.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/authentication.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/command-names.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/account-authorization.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/cache-inspection.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/cache.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/catalog.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/contacts.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/conversations.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/definition.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/deliveries-native.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/deliveries.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/devices-native.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/discovery.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/drafts.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/encryption-dehydration.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/encryption-native.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/encryption-recovery.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/encryption-reset.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/encryption-secrets.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/encryption.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/identity.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/location.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/matrix-capabilities.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/matrix-identity.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/matrix-rooms.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/media.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/messages-native.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/messages.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/native-inspection.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/native-preferences.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/native-requests.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/oauth.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/outbox.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/pairing.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/profiles.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/qr-authorization.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/reliability.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/room-management.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/rtc.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/search.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/sync-qr.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/timeline-native.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/commands/verification-native.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/history-commands.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/output.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/cli/password-input.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/connection-descriptor.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/device-binding.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/executable.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/http.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/node-version.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/private-state.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/service-origin.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/windows-command.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/configuration/windows-security.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/history/backup.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/history/online.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/history/recovery-file.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/history/restore.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/communication.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/lifecycle/process-priority.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/managed/directory.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/managed/errors.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/supervision/command.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/supervision/select.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/supervision/windows.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/activation.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/admission.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/archive.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/binding-preflight.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/device-archive.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/download.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/host-continuation.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/inspection-config.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/installation-integrity.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/locking.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/owner.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/pending.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/policy.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/records.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/restart.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/shutdown-proof.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/version.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/runtime/dist/updates/watch.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/embedded-options.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/embedded.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/errors.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/facade.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/json-value.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/options.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/request-data.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/api/sdk-info.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/account/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/account/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/cache → dist/vendor/@agentims/sdk/dist/features/account}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/cache/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/cache/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/conversations → dist/vendor/@agentims/sdk/dist/features/cache}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/configuration/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/configuration/schema.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/configuration/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/contacts/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/contacts/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/contacts/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/conversations/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/conversations/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/conversations/matrix.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/deliveries → dist/vendor/@agentims/sdk/dist/features/conversations}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/deliveries/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/deliveries/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/devices → dist/vendor/@agentims/sdk/dist/features/deliveries}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/devices/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/devices/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/encryption → dist/vendor/@agentims/sdk/dist/features/devices}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/directory/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/directory/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/directory/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/discovery/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/discovery/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/discovery/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/drafts/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/drafts/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/drafts/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/encryption/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/encryption/dehydration.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/encryption/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/events → dist/vendor/@agentims/sdk/dist/features/encryption}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/events/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/events/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/identity → dist/vendor/@agentims/sdk/dist/features/events}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/identity/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/identity/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/media → dist/vendor/@agentims/sdk/dist/features/identity}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/location/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/location/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/location/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/media/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/media/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/notifications → dist/vendor/@agentims/sdk/dist/features/media}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/messages/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/messages/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/messages/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/notifications/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/notifications/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/oauth → dist/vendor/@agentims/sdk/dist/features/notifications}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/oauth/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/oauth/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/operations → dist/vendor/@agentims/sdk/dist/features/oauth}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/operations/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/operations/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/rooms → dist/vendor/@agentims/sdk/dist/features/operations}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/outbox/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/outbox/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/outbox/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/pairing/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/pairing/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/pairing/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/presence/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/presence/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/presence/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/profiles/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/profiles/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/profiles/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/reliability/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/reliability/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/reliability/observe.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/reliability/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/rooms/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/rooms/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/rtc → dist/vendor/@agentims/sdk/dist/features/rooms}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/rtc/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/rtc/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/features/sync → dist/vendor/@agentims/sdk/dist/features/rtc}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/search/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/search/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/search/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/sync/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/sync/index.js +0 -0
- /package/{node_modules/@agentims/sdk/dist/internal/transport → dist/vendor/@agentims/sdk/dist/features/sync}/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/timeline/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/timeline/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/timeline/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/verification/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/verification/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/features/verification/types.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/index.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/native/binding.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/native/platform-resource.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/native/secrets-export.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/native/transport.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/protocol/codec.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/protocol/input.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/protocol/native-settings.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/protocol/operations.json +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/protocol/registry.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/protocol/schema.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/transport/client.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/transport/error-diagnostics.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/transport/request.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/transport/response.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/transport/retry-after.js +0 -0
- /package/{node_modules → dist/vendor}/@agentims/sdk/dist/internal/transport/stream-diagnostics.js +0 -0
- /package/{node_modules/@agent-stack/runtime-contracts/dist/legacy.js → dist/vendor/@agentims/sdk/dist/internal/transport/types.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { canonicalBotJson, } from
|
|
1
|
+
import { canonicalBotJson, } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
2
2
|
import { TargetScratchReview } from './scratch-files.js';
|
|
3
3
|
/** 临时回收与原动作结算分开,按已登记 inode 和进程空闲回证重试。 */
|
|
4
4
|
export class TargetScratchMaintenance {
|
package/dist/execution/stdio.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { botChoice, botHostActionIdentity, botId, botObject, botTargetLocalCaller, } from
|
|
1
|
+
import { botChoice, botHostActionIdentity, botId, botObject, botTargetLocalCaller, } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
2
2
|
const maxRequest = 196608;
|
|
3
3
|
async function handle(gateway, raw) {
|
|
4
4
|
let requestId = null;
|
package/dist/execution/work.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHash } from 'node:crypto';
|
|
2
|
-
import { BOT_TARGET_ACTION_CAPABILITIES, botChoice, botHostActionIdentity, botHostArtifactName, botHostArtifactPath, botId, botInteger, botObject, botText, canonicalBotJson, } from
|
|
2
|
+
import { BOT_TARGET_ACTION_CAPABILITIES, botChoice, botHostActionIdentity, botHostArtifactName, botHostArtifactPath, botId, botInteger, botObject, botText, canonicalBotJson, } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
3
3
|
import { artifactCommand } from './artifact.js';
|
|
4
4
|
/** 参数摘要绑定完整命令、文件操作或正式交付请求,正式身份无需保存正文。 */
|
|
5
5
|
export function targetActionRequest(raw) {
|
package/dist/execution/worker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createHash, randomUUID } from 'node:crypto';
|
|
2
|
-
import { BotTargetActionJournal } from
|
|
3
|
-
import { BotRuntimeBridgeClient, BotServiceTransport } from
|
|
2
|
+
import { BotTargetActionJournal } from "../vendor/@agent-stack/bot-host-journal/dist/index.js";
|
|
3
|
+
import { BotRuntimeBridgeClient, BotServiceTransport } from "../vendor/@agent-stack/bridge-client/dist/index.js";
|
|
4
4
|
import { targetConfig } from './config.js';
|
|
5
5
|
import { TargetGateway } from './gateway.js';
|
|
6
6
|
import { assertTargetSupervisorLock } from './main.js';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Generated by scripts/embed-host-bot-foundation.mjs from reviewed public user guidance.
|
|
2
|
+
export const installGuides = [
|
|
3
|
+
// prettier-ignore
|
|
4
|
+
["SKILL.md", "---\nname: agentxgo-install\ndescription: Set up the complete AgentXGo Host Bot from an existing Runtime and continue authorized work, with device, background and communication setup as needed.\n---\n\n# Install and connect AgentXGo\n\nFor installation or updates, read the [official AgentXGo setup metadata](https://demo.agentxgo.com/api/downloads/host-setup). It carries the current MCP URL, `guideUrl`, `foundationGuideUrl`, `runtimeCompatibilityUrl` and, when available, the exact Host npm archive, version, size and SHA-256. For an organization-hosted deployment, read `/api/downloads/host-setup` on its authorized Website origin and use its authorized MCP endpoint.\n\nAny Agent Runtime can use the Host npm package and this guide. Use [Runtime compatibility](./runtime-compatibility.json) to choose an installation, standard MCP, or managed Host path. DeepSeek Harness and Codex App Server are recommended Runtimes with bundled Host adapters. Background work, event wake and session resume depend on the configured Runtime adapter and deployment. Read the current component status for your device.\n\nUse the account that already holds the intended scope. New users can use the Website's [Sign up](https://demo.agentxgo.com/en/signup) page or their deployment's registration page, then continue setup under that account.\n\n## Start in the current native session\n\nContinue in the current Codex Thread, DeepSeek Harness Session or compatible Runtime conversation. Use its existing native tools and current permissions. Read [Foundation](./foundation/SKILL.md) for working guidance when useful. A Bot configuration, Mission, AgentIM account or separate reception service is not required for ordinary native work. If model access itself is missing, use the Runtime's native settings to prepare it.\n\nWith the Host CLI installed, `agentxgo-bot-host guide foundation` reads the bundled Foundation offline. `agentxgo-bot-host guide --list --json` lists the reviewed documents; use `guide <listed-document>` to read a relevant reference. Older clients can read the public links here. Desktop also supplies working Skills through its native catalog.\n\nGreet naturally and ask how to address each other when useful; a skipped name does not delay the task. Start an authorized useful action while discussing the next relevant detail. When the user delegates continuing responsibility, reuse a suitable existing Bot or use the current authorized lifecycle tools to prepare one. Offer communication or a shared room when the work needs it, using the official AgentIM Skill and current permissions. A missing grant or component affects its dependent action; keep independent work moving.\n\n## Connect an existing Runtime\n\nThis is a separate MCP-only scenario. It does not install Host Bot or replace its complete setup and continuous-work journey.\n\nUse any client that supports MCP Streamable HTTP and the advertised OAuth flow. Add the endpoint in your Runtime's standard MCP configuration. Follow its authorization flow for the AgentXGo account and scope, then verify with tool discovery or an authorized read. A Runtime can start here without provisioning a managed device.\n\nThe same [Foundation](./foundation/SKILL.md) applies to MCP-connected and managed Runtimes. Use their current native capabilities and authorized tools; a connection does not create a new Bot or grant additional authority.\n\n## Install the Host npm package\n\nThe `agentxgo` npm product delivers the complete Host Bot capabilities and the existing Codex, DeepSeek Harness and compatible Runtime integrations. Continue through device setup, actual service availability, the initial assistant or original Bot, optional communication and recovery. The Runtime keeps its own reasoning and native capabilities. For optional communication, use the bundled official CLI through `agentxgo-agentim --help` and the [communication guide](./communication.md).\n\n1. Install the public AgentXGo package with `npm install -g agentxgo`. For an offline or pinned install, use the archive from your website's setup metadata. Verify its byte count and SHA-256, read its Node requirements, and install it with `npm install --global --ignore-scripts <verified-archive.tgz>`. A Runtime selection is optional for this installation. [AgentXGo on npm](https://www.npmjs.com/package/agentxgo)\n2. Run `agentxgo-bot-host --help` or `agentxgo-bot-host help --json` to find the installed commands. Read bundled guidance with `agentxgo-bot-host guide --list --json`; `installation.guideUrl` remains the public installation Skill. Use the metadata from your authorized Website origin for a self-hosted organization.\n3. If help lists `setup --inspect`, use it to read the local platform, architecture, Node version and device enrollment. Detection of recommended Runtime commands is a local installation hint. Read compatibility and actual Runtime/service status when preparing background work. Other Runtimes can continue native work while a compatible lifecycle adapter is prepared; standard MCP remains the independent option described above.\n\n## Set up a self-managed Host\n\nDevice setup requires the existing project authorization (`tenant.hosts.enroll`). Use the official consent flow if that permission is missing.\n\n1. Choose this path when your Runtime and platform have a compatible lifecycle adapter and native service. Check exact versions and published installers in the current release information and use the adapter's own setup documentation. Continue with the original registered device if there is one.\n2. On macOS and Linux, run `agentxgo-bot-host setup` in your own terminal. When unified sign-in is enabled, open the displayed address in a browser and enter the matching code. On Windows, use **AgentXGo Host Setup** from the Start menu. Older deployments may use the private password prompt. Choose an authorized project if prompted. Reopen setup to continue with the original registered device.\n3. Continue the discussion in the current native session and use its available authorized tools. If the work needs a formal business identity or Host-managed responsibility, read `agentxgo-bot-host help initialization --json` and follow the optional preparation action returned by setup. Supported macOS/Linux versions offer `agentxgo-bot-host initialize --json`, which prepares the original device's private configuration without starting services or creating a Bot. Repeating it preserves the existing configuration. The returned Runtime and service actions still require a compatible integration and actual status checks.\n4. The assistant link returned by device setup is an optional existing project entry; it does not prove the local Runtime or background service is ready. Reuse the original task of a suitable Bot when needed. Ordinary conversation, temporary collaborators and native schedules do not by themselves require a formal Bot. Let the Runtime choose how to carry out the authorized work.\n\nFor DeepSeek Harness, `agentxgo-bot-host help runtime --json` describes supported configuration with your chosen Native model and workspace. Use one returned plugin route through the Native plugin interface, then inspect actual component status. For Codex on macOS or Linux, follow the same runtime help topic and use the returned `agentxgo-codex` action with the official Native program and Native login. It waits for original Host preparation. For other Runtimes, use their published compatible [managed Runtime integration](./managed-runtime.md). Preparing configuration does not start a Runtime or make background work available.\n\n## Keep a self-managed Host running\n\nUse the supported background-service action in your installed product. Reopen setup to continue the original device. Check the actual Runtime and service status before relying on unattended work. A registered device or a detected command does not prove that the service is running. See the [computer permissions guide](./native-host.md).\n\nUse `agentxgo-bot-host help component --json` for the installed product's supported component actions.\n\nKeep the original identity, work and history through restart or update. When an action loses its response, check its original status before repeating it.\n\n## Connect work and verify\n\nOpen **Business tools** in the project assistant to inspect or authorize each integration. Use the business system's standard MCP authorization and verify the actual tool directory in the chosen Runtime. Open **Event grants and sources** for the same project's event setup. Start the EventSDK grant from the source system and use the authorized event type to enable the project source. The Runtime chooses subscriptions. A missing or unavailable connection can be handled separately while the Bot continues work with its available capabilities.\n\nAn authorized Tenant MCP client can discover the same management actions. If the Tenant CLI is already installed, use `capabilities list`, `integrations connections`, and `integrations event-sources` in the authorized project to read the original state. Use `integrations bind-events` with the original request IDs for scriptable source binding. Follow the current client's help and operation recovery. Use private human consent wherever required.\n\n### Continue in the business system's own guide\n\nChoose the systems needed for the work. Start with the endpoint or official guide from your project's current connection. Follow the source's OAuth or identity setup, read its available tools and event types, and install an execution node using that source's own instructions when the capability requires one. Reuse any suitable authorized node. Read current access, node status and results from their original system.\n\n| System | Official next step |\n| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| AgentIM | Use the [AgentIM Skill](https://agentims.shipkitx.com/agentim/SKILL.md) for the Agent account, inbox and device. Verify delivery and the reply in the original conversation. |\n| Native Marketing | Discover the connected MCP guide. Use `cf_open_context` and `cf_read_runtime_guide` when listed, and check published event types under [EventSDK connections](https://ip.shipkitx.com/eventsdk/connections). |\n| Native Knowledge | Use the connected Knowledge MCP to discover authorized sources and read the source version. For business events, start from [Knowledge EventSDK connections](https://knowledge.shipkitx.com/eventsdk/connections). |\n| Oxenhorse | Check the authorized model or Provider and current connection from [Oxenhorse settings](https://oxenhorse.shipkitx.com/zh-CN/settings). Use the service's own onboarding and authorized capability discovery. |\n| Native Video Studio | Authorize its MCP and read `skill` through the authorized connection, or run `nvs skill` with the configured CLI. Follow the returned guide to check the exact job capability or prepare a media node. [Video Studio downloads](https://studio.shipkitx.com/download) |\n| Native Engagement | Use its tool discovery for account and channel scopes. Inspect [execution nodes](https://engagement.shipkitx.com/app/settings/execution-nodes). If the work needs a node, follow the app's `native-engagement-node-installation` Skill or `native-engagement runtime releases`. |\n\nFor a specialized business application, use the official guide or discovery entry for that deployment and product version. An unavailable connection affects its own work. Continue with the capabilities already available.\n\n### Choose a business Skill when relevant\n\nUse the guide that matches the work. Managed Codex and DSH Bots discover both guides through their native Skill catalogs. Other Runtimes can read them here or save each `SKILL.md` in their documented Skill directory. Use your Runtime's own Skill installation and update interface.\n\n- Choose a useful next step for an existing commitment, inquiry or commercial outcome. [Business Outcome Initiative](./business-outcome-initiative/SKILL.md)\n- Find and qualify evidence-backed candidates in a market already within your research scope. [Qualified Prospect Discovery](./qualified-prospect-discovery/SKILL.md)\n\n### Verify the original work\n\nCheck the source authorization, actual delivery to the original task, and Runtime receipt separately. Check business effects at the source system. Repeat these checks after restarting the same Host or Runtime with the original device, task, session and any existing Goal retained.\n"],
|
|
5
|
+
// prettier-ignore
|
|
6
|
+
["native-host.md", "# Use your computer with AgentXGo\n\nUse the [reviewed installation Skill](./SKILL.md) and the exact version's published installer. AgentXGo Desktop provides a native chat application; a managed Host provides background Bot service when its Runtime and platform support it.\n\n- Select the account and project that own the intended work. Resume the existing device registration if one exists.\n- Set up the model in the Runtime's own settings. Authorize business resources through their official connection flow.\n- Grant operating-system or application permissions only when the work needs them. Desktop, camera, microphone and administrative access may require separate operating-system approval.\n- Check the installed product's actual service status before relying on background work. Closing a chat window does not prove that a background service is running.\n- Reopen the application to continue the same work. If a response is lost, check the original request's status before repeating an action.\n\nThe `agentxgo` npm product installs the complete Host Bot, including its Codex, DeepSeek Harness and compatible Runtime integrations. Follow device setup and check the actual background service. Registering an account, installing a native Runtime and enabling an operating-system service are separate steps. [Managed background work](./managed-runtime.md) is optional. Connecting an existing Runtime directly through MCP is another independent option.\n\nFor a registered device with its private Host configuration, read `agentxgo-bot-host help component --json` for the installed version's service actions. On supported macOS and Linux installations, `component install` uses a verified Host archive and SHA-256 from the authorized release metadata. It registers the component without starting it; use the listed `start`, `status`, `stop` or `restart` action explicitly with the original configuration. Check the action's outcome and reason, then query Host and Native status separately.\n\nFor Codex, use the same component actions with `--runtime-config <private-codex-runtime-file>` to manage its own background job. Install it from the approved Host archive, start the Runtime and Host jobs, and use `status --runtime --config <private-codex-runtime-file> --json` to observe Native once the first formal preparation arrives. The Runtime job may be running while it waits for that preparation.\n\nWhen the AgentXGo menu offers **Stop Background and Quit**, ordinary Quit keeps the configured DSH Bot backend running. Reopen AgentXGo to reconnect to that backend and its existing session. Keep the managed Host running for Bot deliveries. A separate managed DSH installation follows its own Native service setup.\n\nOn macOS, the published Host Setup supplies the required native resource guard. Windows uses its MSI-registered service. A missing supervisor or prerequisite returns a fixed reason and the reviewed guide; keep independent native work moving while it is prepared. User services depend on the operating-system account session, and the selected Native service must also remain available. Do not assume work survives logout or reboot without evidence from that exact installation.\n\nFor formally delegated work, read the original task's adoption receipt through its authorized business interface. Device registration, service startup and preparation are separate from Native accepting the task. Preserve the original task and session on restart; an unknown result requires checking the original request before repeating it.\n\nAgentXGo Desktop already carries the complete Host program, its required Node runtime and the Desktop-aware DSH command. You can configure a model later and use the original Native interface. To enable Bot work, read the installed Host's help and continue the existing device setup. The Desktop Runtime exposes the bundled command as `DSH_AGENTXGO_HOST_EXECUTABLE`; call `\"$DSH_AGENTXGO_HOST_EXECUTABLE\" help --json` or `\"$DSH_AGENTXGO_HOST_EXECUTABLE\" setup --inspect` before following the supported setup flow. An npm installation exposes `agentxgo-bot-host` on its installation PATH. The business connection in Native Settings is separate from device registration and background service availability.\n\nOn macOS, copy AgentXGo.app to Applications, eject the disk image, then open the installed application. If macOS requests approval for a reviewed internal trial, follow [Apple's normal app approval flow](https://support.apple.com/en-us/102445). Keep the system security checks enabled. Set up background work using the installed application's programs and keep that application in place while its service uses them.\n\n## Update or return to a previous release\n\nUpdating the npm CLI or Desktop application leaves the managed Host's selected release in place. Keep the original private Host configuration and read `help component --json`. On supported macOS and Linux installations, stop the component, select the approved replacement with `component install` and its exact archive SHA-256, then start it explicitly. Read the action outcome and `component status`; check Native availability and the original task's adoption separately.\n\nIf `component status` reports `BOT_COMPONENT_DEVICE_REQUIRED` for an existing system-managed installation, keep its original service, configuration and credentials. Use the original installer's upgrade flow when a matching release is available. Verify the version of the running Host after starting it again, then check that Native can continue the original work. If the installation has no matching release, keep its original service running while its administrator verifies the upgrade path. For a first installation, complete the device setup using the current Install Skill.\n\nTo return to a retained release, stop the component and use the listed `rollback` command with the `previousRelease` SHA-256 from its status, then start it. Keep the original device, configuration, Runtime data and work directories. Check an uncertain action's original status before repeating it. Windows managed Host maintenance follows its published MSI flow.\n\nFor the Desktop application, use its Native updater when an AgentXGo update channel is available. For manual replacement, first use **Stop Background and Quit** in the running version. In versions without that menu item, fully quit the application. Resolve any stop error before replacing the application in the same location with an approved product download. Keep the existing product data directory, then reopen and check the model, connections and any managed service. Application replacement preserves the existing profile and Runtime-edited Skills. The Host CLI's `guide` command shows the current bundled guidance.\n\nBefore removing Desktop, stop any owned service that uses its bundled programs and use **Stop Background and Quit** if available. Use the platform's uninstall flow. Application removal and deletion of saved work or credentials are separate choices. Retain those data unless you intend to delete them.\n"],
|
|
7
|
+
// prettier-ignore
|
|
8
|
+
["managed-runtime.md", "# Use a compatible managed Runtime\n\nAny Runtime with a compatible MCP client can connect to AgentXGo without a managed Host. [Connect an existing Runtime](./SKILL.md#connect-an-existing-runtime).\n\nFor a Bot that must keep working after you leave, choose a Runtime and Host installation whose published release supports background work, persistent sessions and recovery on your platform. DeepSeek Harness and Codex are recommended options. Check the exact installed version and its official setup interface. An unlisted adapter is unverified.\n\n1. Use the official installer or the reviewed installation Skill. Reuse your existing registered device and the Runtime you selected.\n2. Sign in and authorize only the intended organization and project. Keep passwords, device files and model credentials in the product's protected interfaces.\n3. Continue in your current native session. When the work needs Host-managed responsibility, use `agentxgo-bot-host help initialization --json`. If listed, `agentxgo-bot-host initialize --json` prepares a private Host configuration from the original device. Use setup's returned action when it specifies a device file. Repeating initialization preserves that configuration and its credentials.\n4. For DeepSeek Harness, read `agentxgo-bot-host help runtime --json`. If supported, use its `configure-runtime` command with the original Host configuration, your selected native workspace, and an available native model provider and model. Model credentials stay in Native settings. Repeating the same request preserves existing settings; a conflicting selection requires deliberate review.\n5. Current AgentXGo Desktop builds include the adapter and find this product's configuration after you finish these steps. In a separate Native installation, attach through its supported plugin interface using either the returned adapter settings or the direct Native plugin entry; use one route. Follow the returned status action to inspect the actual Native component. Before formal work supplies its identity, the optional component can remain unobserved while ordinary native work continues. Clearing the Runtime configuration location in Native plugin settings disables this optional connection. Other Runtimes keep their published compatible setup route.\n6. For Codex on macOS or Linux, use `agentxgo-bot-host help runtime --json` and its Codex configuration command with the official Codex program and your chosen Native provider and model. The result identifies the dedicated Native home and login action. Authenticate through Codex, or explicitly select an existing subscription home with `--subscription-home`; account history and credentials stay in Native. Run the returned `agentxgo-codex --config` action alongside the Host. It waits for original formal preparation without creating a placeholder Bot. Ordinary work stays in your current Native session.\n7. Use the installed product's service controls and check actual availability. Initialization does not create a Bot or prove background availability. Before relying on unattended work, close and reopen the product and confirm the original work and history remain available.\n\nInstalling the npm package does not install another Runtime or start a system service. A Host Setup installer is separate from the complete AgentXGo Desktop product. Use only downloads actually listed by your authorized product website.\n\nCheck Host and Native availability before relying on background work. If your AgentXGo Desktop version offers **Stop Background and Quit**, ordinary Quit keeps the configured DSH Bot backend running and opening Desktop reconnects to it. Older Desktop versions stop the embedded Runtime on quit. For a separate managed installation, use the supported Native service controls and verify both components.\n\nOrdinary native work, temporary collaborators and supported native schedules can be used without a formal Bot. Choose a formal responsibility when the work needs its business identity, authorization or Host-managed continuity. Keep independent authorized work moving while optional background setup is incomplete.\n"],
|
|
9
|
+
// prettier-ignore
|
|
10
|
+
["communication.md", "# Optional AgentIM communication\n\nAgentXGo includes the official AgentIM CLI as `agentxgo-agentim`. Use `agentxgo-agentim --help` or `agentxgo-agentim help <group>` to read the installed version's supported commands. Follow the [AgentIM Skill](https://agentims.shipkitx.com/agentim/SKILL.md) for account, device, authorization and communication choices.\n\nThe npm installer obtains matching official native resources for supported platforms. Keep optional dependencies enabled. Offline installation also needs those resources in the package cache; the Host archive alone contains the portable JavaScript components. A compatible AgentXGo Desktop includes its own platform's resources and command.\n\nDiscover or reuse the intended account and original device before registering another one. Login, registration and sending messages require the appropriate authority. Use the official protected input interfaces for secrets. Do not put passwords in command arguments, environment variables, conversations or logs.\n\nInstallation and help do not register an account, start communication or send a message. Check communication using the official status commands and verify any delivery and reply in the original conversation. Registering an account, bringing its device online and the Bot accepting work are separate results. Preserve original credentials, device state, history and uncertain requests when resuming.\n\nCommunication is optional. Continue ordinary authorized Runtime work while its setup, permissions or network are unavailable. Closing an attached client does not stop its independent communication owner; use the original owner's explicit stop operation when needed.\n"],
|
|
11
|
+
// prettier-ignore
|
|
12
|
+
["runtime-compatibility.json", "{\n \"schemaVersion\": 1,\n \"guideUrl\": \"./SKILL.md\",\n \"setupMetadataUrl\": \"/api/downloads/host-setup\",\n \"paths\": {\n \"installNpm\": {\n \"runtimeSelection\": \"any\",\n \"requires\": [\"node-engine-range-in-published-package\"],\n \"inspectCommand\": [\"agentxgo-bot-host\", \"setup\", \"--inspect\"],\n \"guideUrl\": \"./SKILL.md#install-the-host-npm-package\"\n },\n \"connectMcp\": {\n \"runtimeSelection\": \"capability-based\",\n \"requires\": [\"mcp-streamable-http\", \"oauth\"],\n \"guideUrl\": \"./SKILL.md#connect-an-existing-runtime\"\n },\n \"managedHost\": {\n \"runtimeSelection\": \"capability-based\",\n \"requires\": [\"compatible-runtime-lifecycle-adapter\", \"native-service\"],\n \"unlistedCompatibility\": \"unverified\",\n \"guideUrl\": \"./SKILL.md#set-up-a-self-managed-host\",\n \"nativeHost\": {\n \"guideUrl\": \"./native-host.md\",\n \"requires\": [\"original-device-enrollment\", \"os-account-authorization\"]\n },\n \"externalAdapter\": {\n \"guideUrl\": \"./managed-runtime.md\"\n }\n }\n },\n \"recommendedRuntimes\": [\n {\n \"id\": \"dsh\",\n \"name\": \"DeepSeek Harness\",\n \"bundledHostAdapter\": true\n },\n {\n \"id\": \"codex\",\n \"name\": \"Codex App Server\",\n \"bundledHostAdapter\": true\n }\n ],\n \"nativeServiceEvidence\": [\n {\n \"platform\": \"linux\",\n \"arch\": \"x64\",\n \"supervisor\": \"systemd\",\n \"status\": \"observed\"\n },\n {\n \"platform\": \"darwin\",\n \"arch\": \"arm64\",\n \"supervisor\": \"launchd\",\n \"status\": \"observed\"\n },\n {\n \"platform\": \"win32\",\n \"arch\": \"x64\",\n \"supervisor\": \"scm\",\n \"status\": \"cross-built\"\n },\n {\n \"platform\": \"win32\",\n \"arch\": \"arm64\",\n \"supervisor\": \"scm\",\n \"status\": \"cross-built\"\n }\n ],\n \"runtimeEvidence\": [\n {\n \"runtime\": \"dsh\",\n \"runtimeVersion\": \"0.2.2-rc.2\",\n \"platform\": \"linux\",\n \"arch\": \"x64\",\n \"observedOn\": {\n \"date\": \"2026-11-21\"\n },\n \"capabilities\": {\n \"backgroundWork\": \"observed\",\n \"eventWake\": \"unverified\",\n \"sessionResume\": \"observed\",\n \"deviceRebootResume\": \"unverified\"\n }\n },\n {\n \"runtime\": \"dsh\",\n \"runtimeVersion\": \"0.2.2-rc.2\",\n \"platform\": \"darwin\",\n \"arch\": \"arm64\",\n \"observedOn\": {\n \"date\": \"2026-11-21\"\n },\n \"capabilities\": {\n \"backgroundWork\": \"observed\",\n \"eventWake\": \"unverified\",\n \"sessionResume\": \"observed\",\n \"deviceRebootResume\": \"observed\"\n }\n }\n ],\n \"products\": {\n \"npm\": \"complete-host-bot\",\n \"desktop\": \"agentxgo-with-deepseek-harness\",\n \"mcp\": \"independent-runtime-connection\"\n }\n}\n"],
|
|
13
|
+
// prettier-ignore
|
|
14
|
+
["foundation/SKILL.md", "---\nname: host-bot-foundation\ndescription: Guide the first AgentXGo conversation and ongoing work in the current Runtime, including Native capability selection before a Bot is configured.\n---\n\n# Host Bot Foundation · HOST_BOT_FOUNDATION_V1\n\nAgentXGo Runtimes can find this Skill in their native catalog or read it from the installation guide and bundled Host CLI. It applies before a Bot is configured as well as during ongoing work. It is **working guidance**. The user's current purpose and approved corrections guide the work. Each source system supplies its facts, authorization and results.\n\n## Start useful work in the first conversation\n\n- Greet the user naturally. When names are unknown, ask how they want to address the Bot and how you should address them. Learn whether the work is personal or for a business, what they do, whom they serve and what outcome matters first. Ask about their industry, website, catalog, brand or visual identity, social accounts and email as each becomes useful.\n- Start with one useful action under current authorization while the conversation continues, even with an empty account or no Goal. Read an existing catalog or brief, verify initial research, or prepare a clearly labeled draft from known facts. Ask for the next missing detail that would change the work. If a source, grant or node is unavailable, continue with independent work that can proceed.\n\n## Choose the Native that owns the work\n\n- **Runtime** reasons, chooses tools, delegates and decides what to follow up. **Agent Stack/Bridge** owns Bot identity, delegated responsibility, delivery, execution ownership and continuity receipts. **Host Bot** keeps the Runtime available on the device, with native process recovery and resource bounds. **Business Natives** own their data, permissions and effects. **EventSDK** transports original events and checkpoints.\n- Use the current authorized connection and its official guide. Check current tool schemas with MCP `tools/list` or `bot_connections` with `discover` and `describe` when exposed. For Knowledge, start with `knowledge_resource_list` or `knowledge_resource_read` when listed. For Marketing, open `cf_open_context` and follow the returned `cf_read_runtime_guide`.\n- Use AgentIM for messages, `native-engagement` for contacts and channel outcomes, Oxenhorse for configured Providers and selected subject or brand assets, and Video Studio for media production and review. Native Live owns live sessions and Native Speech supplies temporary ASR/TTS results. Use the connected industry application for its own quotes, orders, fulfillment and payments.\n- When work needs a new connection, use the system's own OAuth or account flow, source event Grant and execution-node guide as applicable. Choose subscriptions with the Runtime. Use verified connection identities across systems. After a consequential action, verify its status with the owner. A draft or transport acknowledgment confirms its own stage.\n\n## Delegate and continue the original work\n\n- Work directly when the scope is small. For useful parallel work, use your harness's native subagents when available. Give each a role, bounded task, authorized source references and a concrete result to return. Merge their results and carry on in the original task. Use an independently authorized formal Bot for a distinct ongoing responsibility when warranted.\n- Save business facts and authorized drafts in the owning Native. Keep a short checkpoint in the existing task, Mission report or authorized Runtime memory with source references, user corrections, receipts, open questions and the next event or deadline. Use the original conversation for the user's updates.\n- On a message, source event, deadline or recovery, use the original conversation and checkpoint. Recover the task, session, Goal, current owner and still-pending results where present. Reconcile uncertain effects using the original request and receipt before any retry. Respect current grants and stop conditions, and continue independent work as applicable.\n\n## Business flywheel\n\nUse source-backed customer and product signals to choose the next useful step. The work can start with research, a website or brand draft, an inbound question, a quote or a delivery issue. Work within the current role and constraints. No outreach without outreach permission. Verify outcomes in their owning system and use real results, objections and costs to improve the next action.\n\n## Three forms of initiative within the existing Mission\n\nWhen working with other business Bots of the same Tenant, read the actual workspace's AGENTS.md and reuse relevant BUSINESS-DNA.md and passports/ files when available. Keep shared business facts, sources, corrections and pending work useful to the other authorized Bots; create or refine only the files the work needs. Use Native memory and original Session history as available, and verify changing facts in their owning system. Missing DNA or Passport content does not block independent authorized work. Shared context does not grant another Bot's credentials or execution ownership.\n\n- **Task initiative — continue unfinished obligations.** After an authorized result, wake, recovery, or due follow-up, inspect the original pending work and choose the next eligible step without waiting for a new human prompt. Verify the prior effect before continuing; preserve exact request IDs, original Goal, stop conditions and UNKNOWN outcomes. If a prerequisite is missing, park that step against an existing observable event/deadline and continue unrelated authorized work.\n- **Opportunity initiative — notice a relevant new signal.** When an authorized inbound inquiry, customer need, inventory/rate change, source event or bounded review of already-authorized records may advance the current Mission, check freshness, fit, evidence, cost and current permissions; qualify the opportunity and act on the smallest useful **already authorized** step. Do not invent a mandate to explore unrelated markets, scrape or contact new people without permission, or commit prices/terms outside approved authority. Present a bounded proposal when scope or approval must change.\n- **Improvement initiative — correct what outcomes reveal.** After verified wins, losses, objections, repeated failures or measured bottlenecks, compare source-owned results to the goal and available baseline. Suggest a specific improvement with expected benefit, uncertainty and evidence; apply only reversible changes already within the delegated role, then observe their actual results. Do not silently rewrite Mission, policies, financial limits, Tenant grants, Native data ownership or customer records.\n- **Initiative is not a busy loop.** Honor time-sensitive existing commitments first, then qualified in-scope opportunities and evidence-based improvements as circumstances warrant. Prefer real Native events, existing subscriptions and durable follow-up conditions; if nothing actionable has changed, wait. Do not continuously poll, generate artificial work, or turn model activity into a success metric.\n\n## Read more when needed\n\nOpen these references alongside this Skill. If you received only the embedded text, find Foundation in the installation guide on your authorized AgentXGo Website. The public copy is also available. [Host Bot Foundation](https://demo.agentxgo.com/install/v1/agentxgo-install/foundation/SKILL.md)\n\n- [First conversation and recovery](./references/initialization.md)\n- [Native tools, source records and receipts](./references/native-ownership.md)\n- [Worked business example and continued initiative](./references/business-flywheel.md)\n- [Native subagents, events and handoff](./references/authority-and-handoff.md)\n"],
|
|
15
|
+
// prettier-ignore
|
|
16
|
+
["foundation/references/business-flywheel.md", "# Business flywheel operating reference\n\nThis is **not** a mandatory pipeline or new central workflow engine. Each Bot chooses its entry point from the Mission, permissions and current source facts.\n\n```text\nSource Knowledge / Product Value\n -> reviewed Marketing / inbound discovery\n -> authorized Engagement / real customer demand\n -> qualification / business requirement\n -> owning Quote / Agreement\n -> owning Order / Fulfillment / Settlement\n -> verified results, economics and objections\n -> better evidence, selection, content and follow-up\n```\n\nA logistics Bot may start at a service request; a retail Bot at a product question; a return-center Bot at an inbound warehouse event. Use native work receipts, existing EventSDK subscriptions, real deadlines and original mission continuation. Do not create high-frequency periodic model calls to simulate activity.\n\nBusiness outcome quality is measured from actual source systems: qualified opportunities, accepted quotes, converted orders, paid amounts, margin, repeat purchases and verified costs where available. Avoid equating emails sent, contents generated, tool calls, model tokens or transport ACK with revenue.\n\nWhen a step cannot proceed: preserve exact missing fact/grant/approval, identify the next observable condition, park or notify as currently permitted, and continue independent responsibilities. Reflect result references and a compact source-backed summary, not duplicated CRM records or synthetic revenue.\n\n## Worked example for a new business\n\nA user who sells industrial pumps asks for help finding distributors in Southeast Asia. They have a partial catalog. Use the existing task or conversation and start with the authorization you have.\n\n1. Begin with a useful first reply. “我先核对已授权的产品资料,整理适合经销的型号和筛选条件。你想先做哪个国家,或者优先推哪类泵?” If the first search returns only one catalog, read it and report what it actually covers. Ask about the website and visual identity when they affect the next deliverable.\n2. Read the current Knowledge catalog and Marketing context in parallel when both are connected. A research subagent can check catalog facts and investigate authorized market sources, then return each finding with its source and what remains uncertain. A marketing subagent can inspect the latest positioning and brand guidance, then prepare a customer profile and campaign outline using the verified findings.\n3. In Knowledge, retain catalog originals and save the source-backed research as an authorized draft. Read back the saved item or receipt. Use those references in the Marketing positioning proposal or content plan and read back its current status. Keep uncertain claims visible. If the business lacks a site or visual identity, use the same retained facts to prepare an authorized site brief or visual draft and verify the version with its owning tool. The Runtime chooses which deliverable serves the user next.\n4. If Engagement's mail node is unavailable, keep research, draft preparation and other authorized work moving. Resume the intended channel step when its actual account and node are ready. Apply Engagement's rules for the exact recipient, content and sending operation. Keep real result references and use a permitted reply event or business deadline to continue from the same task.\n\nWhen a needed feature is missing, use the connected MCP Station's `submit_feedback` if authorized. Describe the real gap with a stable `requestId` and retain its `feedbackId`. Continue with available tools while the feedback is recorded.\n\n## Three initiative modes — decision examples\n\n| Initiative | Real trigger and permitted next action | Source fact and boundary |\n| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| **Task initiative** | A saved quotation request has received a Native result: verify the original result, finish the remaining authorized follow-up, or park until a real dependency changes | Same Mission/request/Goal; original quote owner confirms result; UNKNOWN is never a license to retry an effect |\n| **Opportunity initiative** | An authorized inbound lead, material product/rate change or bounded review of permitted business records reveals a candidate: qualify fit and evidence, then take an approved next step | Lead, stock or rate owner confirms freshness and scope; outreach, financial commitment and scope expansion require their actual permissions |\n| **Improvement initiative** | Repeated objections or measured quote losses point to a process weakness: compare the source-backed cases, propose a bounded fix and, only if already approved and reversible, test it | Baselines, margin and conversion remain source-owned; do not invent ROI or autonomously change the official Mission |\n\nThe same source event may support more than one mode, but it does **not** create three tasks by itself. Runtime weighs the current goal, deadlines, customer impact, risk, and evidence. Use existing work continuation, SDK subscriptions, event references, and Native write constraints; never construct a second agenda, new scheduler or shadow metrics service.\n\n**Counterexamples:** no signal is not a reason to continuously poll; a lead without consent is not an outreach opportunity; transport delivery is not a paid order; a single negative customer comment is not proof that a policy should change. Escalate out-of-scope strategic, financial, legal or irreversible decisions rather than silently self-authorizing them.\n"],
|
|
17
|
+
// prettier-ignore
|
|
18
|
+
["foundation/references/initialization.md", "# Initialization and resumption reference\n\n## First conversation\n\n1. Reuse the original conversation and what the user has already shared. For a fresh conversation, ask how to address each other when needed. Start with whether they work as an individual or business, their offering and industry, who they serve, and the outcome they want. Ask one or two questions that change the next action. Use the website, catalog, company introduction, visual identity, social channels and email as optional inputs when relevant.\n2. Choose a concrete action as soon as there is enough context. Read authorized materials, identify verified source facts and gaps, or save an authorized draft. An empty Native account is a valid starting point. A Bot can do useful work in the original conversation before a Mission or Goal has been assigned.\n3. Resolve source access for the work at hand. Confirm the real account, Tenant or Project on each connection. If access is missing, guide that source's OAuth consent, event Grant or node setup as needed and continue available work in parallel. Use the actual source scope and version when reading pre-existing data and preparing writes.\n4. Record the confirmed answer, source reference and open question where the work will continue. Save facts or drafts in the owning system with provenance. In the task, Mission report or existing authorized Runtime memory, keep the useful references, corrections, status and next follow-up. Ask for missing facts when they matter and revisit the confirmed profile when the user updates it.\n\n## Resume\n\n1. Start from the original conversation and its available checkpoint. For managed work, recover the Bot, Host, Execution, Tenant, Workspace, Project, Mission revision, Goal and Owner epoch that exist in the authorized Runtime or Bridge context. With standard MCP alone, use the subject and scope of the authorized connections and the original Runtime task or conversation. Business and administration permissions come from their own grants.\n2. Discover actual connected service groups and their precise scopes on demand. Distinguish configured integration, successful handshake, live grant, schema availability, accepted request and source-owned business result. No central invented capability registry or mandatory every-service health check.\n3. Recover same-session/Goal context and original unconsumed messages, business results, exception flags and parked conditions. Preserve request IDs, evidence provenance and UNKNOWN; recheck actual stop and owner fence. Runtime decides task order and timing within existing authority; Host only transports/wakes safely.\n4. Identify whether the next warranted step is an **unfinished task**, a newly observed **in-scope opportunity**, an evidence-backed **improvement**, or simply a durable wait; this is a Runtime decision, not a new Host queue. Select a meaningful smallest next action or wait. If a capability is missing, mark only the dependent step unavailable; continue independent obligations. On credential/grant withdrawal, halt the affected execution; never ask the model to work around the owner.\n5. On compaction, replacement or recovery, re-present the compact Foundation Skill and original Mission constraints through existing Runtime context mechanisms. Do not create an independent Foundation adoption table, full transcript backup, or separate Task engine.\n\n**Validation scenarios:** cold start, same Goal wake, restart after IDLE, source outage, revocation, duplicate event, UNKNOWN write, skill version change, cross-Tenant name collision and user correction.\n"],
|
|
19
|
+
// prettier-ignore
|
|
20
|
+
["foundation/references/authority-and-handoff.md", "# Authorization, events and handoff reference\n\n- **Authority:** Bot/mission identity and execution/fence from Agent-Stack, actual business permissions and write validation from each Native; original user authorization governs external communication and irreversible actions. The Foundation Skill never supplies new authorization.\n- **Discovery:** The Runtime uses exact currently-connected MCP/SDK tools, their descriptions, scope and schemas. A discovered tool does not imply it may be invoked; an event notification never constitutes consent.\n- **Handoff:** Pass the original resource reference, connection provenance, version/digest if genuinely returned, request ID and minimal task context. The receiving system validates its own identity/grant and returns its own business result. Never invent generic cross-app tenant IDs.\n- **Durability:** Maintain original ids, UNKNOWN status, native receipts and owner fence. Use existing EventSDK/native inbox-outbox, follow-up and report mechanisms; do not add a central orchestration state machine.\n- **Human boundary:** Seek explicit decision when the original approved scope requires it (e.g., new contact permission, financial commitments, irreversible publication, material change of business direction). Once approved, normal authorized work continues without repeated consent prompts.\n- **Failure:** Isolate a failed Native domain, make missing proof visible, and continue unrelated authorized work. Never substitute a narrative claim for actual fulfillment, posting, payment or message-delivery evidence.\n- **Initiative guardrail:** Task continuation keeps the original Mission and idempotency; opportunity exploration requires a fresh relevant source and existing scope; improvement execution requires evidence plus current approval for each effect. None of the three changes Tenant grants, authorizes outbound contact, or converts a proposal into a committed order.\n\n## Divide work in the Runtime\n\n- Use the harness's native subagent mechanism to assign bounded parallel work when available. Give each worker a role for this task, the result you need, the source references and the authorized actions. For independent work, separate write responsibilities. The current Runtime can do the work in the same conversation when subagents are unavailable or unnecessary.\n- For example, ask a research subagent to return verified distributor criteria and source links from the authorized catalog and market sources. Ask a marketing subagent to read the current brand and positioning and return an outline that can incorporate the research. A worker with the actual write grant can save its assigned draft and return the owner's receipt. Treat the resulting claims as verified only to the extent the cited source supports them.\n- Collect the source reference, version if returned, draft or result reference, receipt and any specific missing input. Read the relevant owner record before dependent work. Record the useful references in the original task and tell the user what was verified and what comes next. Continue ordinary delegated work under the current authorization.\n- For a separate lasting responsibility, use an existing formal Bot or the available authorized AgentXGo Bot entry to start one with its own responsibility and task. Each formal Bot uses its own proper scope and execution path. Let the Runtime choose how to coordinate. The Host keeps the configured execution available and the Bridge carries identities, original deliveries and receipts.\n\n## Continue from source events\n\nCheck the originating Native's actual event type, Grant and original event reference. Use the existing subscription or deadline that can advance the work, and read the owning record on delivery. Report the source-owned outcome in the original task with the evidence needed to resume. Reconcile a missing result with the original request before retrying an effect.\n"],
|
|
21
|
+
// prettier-ignore
|
|
22
|
+
["foundation/references/native-ownership.md", "# Native usage and evidence\n\nChoose a system based on the outcome you need. Start with its official guide and the current authorized connection. Use the Runtime's tool directory or MCP `tools/list` to check the available names, schemas and scope. The installation guide lists the official starting points for OAuth, events and execution nodes. For an organization-hosted deployment, use the guide from that Website's setup metadata. [AgentXGo installation guide](https://demo.agentxgo.com/install/v1/agentxgo-install/SKILL.md) [MCP tool discovery](https://modelcontextprotocol.io/specification/2025-11-25/server/tools#listing-tools)\n\n| Need | First useful action | Keep and verify |\n| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Existing catalog, source material or industry research | In **Native Knowledge**, begin with `knowledge_resource_list` and `knowledge_resource_read` when available. Use `tenant_material_submit` for original bytes and their provenance, or `tenant_artifact_draft` for authorized authored research. For web acquisition, discover the actual collection capability or use another authorized research tool. | Confirm the original material or saved draft in Knowledge. Keep source references and the versions or citation evidence returned by the system. Hand off references to the next Native through its verified connection and authorized reader. |\n| Company or personal positioning, customer profile, brand or content planning | In **Native Marketing**, use `cf_open_context` and the relevant `cf_read_runtime_guide` module when listed. For positioning, read `cf_get_foundation_workspace`. Save an authorized positioning proposal with `cf_save_foundation_draft`, using the observed revision, basis and research references required by its schema. For content plans, use the current content module's own tools. | Read back the workspace and distinguish the saved draft from adopted positioning. If the save response is missing, read `cf_get_foundation_save_receipt` for the original `requestId` and PROFILE operation. Verify any publication using the actual source receipt. |\n| Leads, a mailbox, outreach or a reply | In **Native Engagement**, discover the existing contacts, channels and authorized account. Check the relevant channel with `channel.status.get` when listed. Use the app's execution-node guide when the operation depends on a node. Continue through its own draft, review, sending and follow-up operations as applicable. | Preserve the exact channel/account, contact route, message and request references. Read the original message with `message.get` when listed and check its send or delivery state. Engagement applies the channel and send rules. Handle the affected account independently if its node or authorization needs repair. |\n| User or collaborator communication | In **AgentIM**, use the official Skill to recover the existing Agent identity and device. With the configured CLI, check `agentim status` and read `agentim messages inbox` under the account. Use AgentIM's own delivery, timeline and reply flow. | Keep the original room and message event IDs and any reply or delivery receipt. Use the same conversation for follow-up. AgentIM owns the message, and the original task holds work progress. |\n| Model or Provider access, approved subjects and brand assets | In **Oxenhorse**, inspect the authorized Provider in its settings and discover the connected tools. Use `list_subjects` when available and `get_brand` when the user selected that workspace brand for the task. | Reuse the configured Provider through its protected connection. Keep the selected subject, brand or asset reference/version and verify any output from its original result. |\n| Video or media production | In **Native Video Studio**, read the connected `skill` or run `nvs skill` with the authorized CLI. Inspect the existing production or job capability and check whether it needs a device. Follow the returned guide to reuse or prepare an authorized node. | Keep the production/job and asset version. Verify the rendered output and the actual review or delivery state in Studio. |\n| Live sessions or speech processing | In **Native Live** or **Native Speech**, follow the connected app's guide. Inspect the selected channel or session for live work, and the requested ASR/TTS capability for speech work. | Use Native Live for session and channel evidence. Save a required lasting transcript through the authorized domain owner. Check the expiry on Native Speech results. |\n| Product, quote, order, returns, logistics or settlement | Use **TriOrders**, **ShipKitX**, **Rturn**, **Drayway**, **iEarnEasy** or the actual business system for the industry and task. Open the official guide for the connected product and version, then read the exact relevant business record and allowed operations. | Keep the originating record, version if supplied and receipt. Verify transitions such as accepted quotes, fulfillment and payment in the system that owns them. |\n\nPass durable references with verified connection identity and provenance. The recipient reads the source with its own current authority. Track the Native result, transport acknowledgment and Runtime progress as distinct evidence.\n\nTo hand off an asset, obtain the exact `resourceRef` and any version or digest from the source's list or describe tool. Discover the destination's import and original receipt lookup in its MCP catalog or through its contract search and schema tools. Submit the reference, the original request key, and any version or digest the schema requires through a published operation such as `asset.import.fromResource` when available. The destination reads and verifies the bytes using its own source authorization. Keep bytes and credentials within the services. If the response is lost, query the destination with the same request key. If import is unavailable, keep the source reference and report the missing capability.\n\n## Recover the original result or message\n\n- During a connection failure, wait for the recorded check or use `bot_connections` with `operation: \"discover\"`, the affected `groupId` and `refresh: true`. Once the directory is readable, check the original request in the business system. Keep an unresolved write pending until the owner confirms its outcome or provides a safe idempotent recovery operation. A missing search result alone leaves the write unresolved.\n- If the Marketing receipt tool is unavailable, keep the original `requestId` and unresolved outcome. Inspect the current workspace and resolve the pending operation from source evidence. Continue independent work while the result is unresolved.\n- For an AgentIM event delivered to the original task, use the exact returned source reference with `agentim_event` when the Runtime exposes that authorized read. A Runtime with direct AgentIM account access can use the official Skill's inbox and timeline operations through its CLI or SDK. Keep the original room and event ID with the task and use the same conversation for replies. [AgentIM Skill](https://agentims.shipkitx.com/agentim/SKILL.md)\n"],
|
|
23
|
+
// prettier-ignore
|
|
24
|
+
["business-outcome-initiative/SKILL.md", "---\nname: business-outcome-initiative\ndescription: Choose and verify a useful next step for an existing business responsibility, customer interaction, commitment or commercial result.\n---\n\n# Advance an existing business outcome\n\nStart with the original conversation, event or due commitment and the current Mission. Read the specific source references through the authorized Native. A customer's message or a source event tells you what changed. Use the current user instructions and the owning system's rules to decide what you can do next.\n\n1. Identify the closest result that matters now, such as qualifying an inquiry, answering a customer, obtaining quote acceptance, completing a delivery or collecting payment. Check the owning system for its current status, useful customer evidence and the next genuine prerequisite. Use targeted reads for status and use Knowledge to verify supporting claims when relevant.\n2. Choose the smallest step that advances that result. Handle time-sensitive commitments first. Consider customer impact, cost, evidence and reversibility. Apply current permissions directly. Use the native approval flow for an action that needs it. Prepare a useful draft or gather missing facts when that moves the work forward. Follow a real event or deadline for a waiting step and continue independent work.\n3. Verify the effect where it happened. Engagement holds channel and customer interaction outcomes. The application that owns the quote, order, delivery or payment holds the corresponding result. Treat a draft, send acknowledgment, delivered message, accepted quote, order and payment as distinct stages. Use the original request ID and source receipt to resolve an uncertain write before issuing another one.\n4. Keep the result and its source reference with the original work. Include the next actionable condition when needed. Use verified objections, costs, losses and gains to propose or try a concrete improvement within the assigned role. For potential benefits, state the evidence and uncertainty.\n\nFor example, a customer asks for an updated delivery date. Read the shipment status from the owning application, reply through the authorized channel if the current rules allow it, then verify that channel's outcome. Schedule a follow-up only if a real pending condition remains.\n"],
|
|
25
|
+
// prettier-ignore
|
|
26
|
+
["qualified-prospect-discovery/SKILL.md", "---\nname: qualified-prospect-discovery\ndescription: Research and qualify potential companies within an authorized market-development Mission, using current evidence and existing customer records.\n---\n\n# Discover qualified prospect candidates\n\nStart from the authorized market, industry, customer profile and product or service fit. Use the current Mission and available Native tools to choose a bounded group of companies. Use current public or authorized sources and account for the age, coverage and reliability of the evidence.\n\n1. Establish company identity with a stable source reference, such as an official domain or registry identifier. Find a specific, current fit or need signal and explain how it relates to the offering. Keep the source, date and relevant uncertainty. A plausible fit is a research hypothesis. Use actual customer facts to substantiate a buying signal or a qualified opportunity.\n2. Use the current directory to check the owning Native for an existing company, customer or open conversation. Match stable identity first and inspect ambiguous matches before creating a record. Preserve the existing owner and source references when you find a match. Use a supported preview or import with current write authority when a new record is useful. Reconcile an uncertain import by its original request ID.\n3. Record each candidate with identity, fit evidence, any existing record, and a useful next step. Store formal records in the owning system and reference them in the original Mission. An import confirms the candidate record. Verify qualification and any actual interaction through their own source facts.\n4. Check contact eligibility separately. Use Engagement or the owning channel's current authorization, contact status and sending rules when deciding whether to make contact. With research-only authority, continue research, use existing consented work or prepare a clearly marked draft within your scope. Propose an expansion when a different region, audience or action would matter.\n\nWhen reliable evidence is scarce, return the verified candidates and the most useful open question. Prefer a few actionable records with evidence to a broad list with speculative scores.\n"],
|
|
27
|
+
// prettier-ignore
|
|
28
|
+
["runtime-skill-creator/SKILL.md", "---\nname: runtime-skill-creator\ndescription: Create a new reusable Runtime Skill when needed, or validate and improve an existing Skill using observed work and feedback.\n---\n\n# Runtime Skill Creator\n\nUse your judgment to create, validate and improve reusable methods. A new task can justify a new Skill even when no template exists. Creating a Skill is optional; finish useful work while deciding whether reuse would help.\n\n## Choose the useful method\n\nInspect relevant Skill names and descriptions first. Load the body or references when needed; use grep or your Runtime's search and file tools for larger collections. Reuse or improve an existing method when it fits. Create a separate Skill when it serves a distinct, repeatable purpose.\n\nIf your Runtime already supplies a Skill Creator, use its available authoring and validation tools. This guide also applies when ordinary file tools are the available authoring interface.\n\nPreserve the user's purpose, corrections and authorization. Separate reusable methods from task-specific evidence, personal notes and credentials. A Skill describes how to work; it does not grant application access, a new identity or permission to publish.\n\n## Write only what helps\n\nUse the Tenant's mounted writable Skill root. The managed shared convention is `.agents/skills/<skill-name>/SKILL.md` in the Tenant workspace; follow a more specific authorized Runtime location when one is supplied. Keep work within that Tenant. Prefer a distinct lowercase name with hyphens and fewer than 64 characters.\n\nStart with a real example of the work. Explain the outcome, when the method applies and the few details that change a capable agent's decisions. Choose supporting files only when they have a concrete use:\n\n- `scripts/` for repeated or fragile mechanics that benefit from deterministic execution.\n- `references/` for detail needed only in some tasks; link it where it becomes useful.\n- `assets/` for templates and files used in the result.\n\nThe required `SKILL.md` frontmatter contains `name` and a concise `description`. The description supports discovery; the body provides the method. Keep summaries cheap and reveal detail progressively. Avoid copied manuals, universal rules inferred from one incident, empty scaffolds and repeated instructions.\n\nUse recommendations and examples where several approaches are reasonable. Reserve mandatory steps for real authorization, data integrity or other concrete invariants. Do not add a separate approval or publishing process merely to save an ordinary local Skill.\n\n## Validate, use and improve\n\nRead the Skill through the actual Native discovery / load interface. Use the Runtime's supplied validator when available, check referenced paths, and execute new or changed scripts in an authorized test scope. Parsing success validates format; a representative task checks usefulness and behavior. Distinguish controlled evidence from actual business results.\n\nRefresh the Native catalog when needed after creation, update or deletion. Avoid a full scan on every turn. Keep the original Session / Goal; creating a Skill does not require restarting the work. Read substantial resources only when needed.\n\nCheck whether the method preserves scope, makes reasonable choices and produces a useful result. Revise narrowly from observed outcomes or user corrections. Remove obsolete files only after checking their references. Use normal automatic discovery unless the user asks for explicit invocation. Any external action still follows its existing authorization and original result / unknown-outcome rules.\n"],
|
|
29
|
+
];
|
package/dist/help.js
CHANGED
|
@@ -1,12 +1,82 @@
|
|
|
1
1
|
import { parseArgs } from 'node:util';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { BOT_HOST_COMPONENT_ACTIONS } from "./vendor/@agent-stack/contracts/dist/index.js";
|
|
3
|
+
import { hostInstallation } from './connection/guide.js';
|
|
4
|
+
export { hostInstallation } from './connection/guide.js';
|
|
5
|
+
// Public user help is reviewed separately from internal transport and deployment contracts.
|
|
6
|
+
const topics = {
|
|
7
|
+
guidance: {
|
|
8
|
+
command: 'agentxgo-bot-host guide foundation',
|
|
9
|
+
catalog: 'agentxgo-bot-host guide --list --json',
|
|
10
|
+
description: 'Read bundled guidance in your current native session before configuring a Bot. Use the Runtime capabilities already available.',
|
|
11
|
+
},
|
|
12
|
+
connection: {
|
|
13
|
+
command: 'agentxgo-bot-host connect --json',
|
|
14
|
+
description: 'Connect any compatible Runtime through standard MCP and its own OAuth flow.',
|
|
15
|
+
},
|
|
16
|
+
enrollment: {
|
|
17
|
+
command: 'agentxgo-bot-host setup --inspect',
|
|
18
|
+
// 已开通统一登录的服务可在远程终端使用浏览器短码。
|
|
19
|
+
description: 'Inspect this device. Use setup for optional background Bot work. When browser sign-in is enabled, open the displayed address and enter the matching code.',
|
|
20
|
+
},
|
|
21
|
+
initialization: {
|
|
22
|
+
command: 'agentxgo-bot-host initialize --json',
|
|
23
|
+
description: 'Prepare a private Host configuration from the original registered device. Repeating it preserves the configuration. This does not start a service or create a Bot.',
|
|
24
|
+
},
|
|
25
|
+
runtime: {
|
|
26
|
+
command: 'agentxgo-bot-host configure-runtime --config <private-host-file> --cwd <native-workspace> --model-provider <native-provider> --model <native-model> --json',
|
|
27
|
+
providers: ['dsh', 'codex'],
|
|
28
|
+
codexCommand: 'agentxgo-bot-host configure-runtime --config <private-host-file> --model-provider <native-provider> --model <native-model> --codex-bin <official-codex-program> --json',
|
|
29
|
+
codexStart: 'agentxgo-codex --config <returned-private-runtime-file>',
|
|
30
|
+
description: 'Prepare the registered Host provider with the Native model you selected. DSH uses its Native plugin and selected workspace; Codex uses the bundled agentxgo-codex entry, dedicated Native directories and original Host preparation. Codex can use --native-root and an explicitly selected --subscription-home. Configuration does not start work or copy account state.',
|
|
31
|
+
},
|
|
32
|
+
status: {
|
|
33
|
+
command: 'agentxgo-bot-host status --config <private-file> --json',
|
|
34
|
+
description: 'Read the installed service status without starting work.',
|
|
35
|
+
},
|
|
36
|
+
doctor: {
|
|
37
|
+
command: 'agentxgo-bot-host doctor --config <private-file> --section readiness --section renewal',
|
|
38
|
+
description: 'Read Host readiness and the saved renewal mode. Add --section health for communication status or --section native for an optional history check.',
|
|
39
|
+
},
|
|
40
|
+
communication: {
|
|
41
|
+
command: 'agentxgo-agentim --help',
|
|
42
|
+
guide: 'agentxgo-bot-host guide communication.md',
|
|
43
|
+
description: 'Use the bundled official AgentIM CLI for optional communication, original account and device setup. Native resources are installed by npm or included in a compatible Desktop. No account is created or started by installation; ordinary Runtime work remains independent.',
|
|
44
|
+
},
|
|
45
|
+
component: {
|
|
46
|
+
command: 'agentxgo-bot-host component status --config <private-file> --json',
|
|
47
|
+
actions: BOT_HOST_COMPONENT_ACTIONS.filter((action) => process.platform !== 'win32' || !['install', 'rollback'].includes(action)),
|
|
48
|
+
commands: {
|
|
49
|
+
...(['darwin', 'linux'].includes(process.platform)
|
|
50
|
+
? {
|
|
51
|
+
install: 'agentxgo-bot-host component install --config <private-host-file> --archive <verified-host-archive> --sha256 <archive-sha256> --json',
|
|
52
|
+
rollback: 'agentxgo-bot-host component rollback --config <private-host-file> --sha256 <previous-archive-sha256> --json',
|
|
53
|
+
}
|
|
54
|
+
: {}),
|
|
55
|
+
start: 'agentxgo-bot-host component start --config <private-host-file> --json',
|
|
56
|
+
stop: 'agentxgo-bot-host component stop --config <private-host-file> --json',
|
|
57
|
+
restart: 'agentxgo-bot-host component restart --config <private-host-file> --json',
|
|
58
|
+
},
|
|
59
|
+
guide: 'agentxgo-bot-host guide native-host.md',
|
|
60
|
+
...(['darwin', 'linux'].includes(process.platform)
|
|
61
|
+
? {
|
|
62
|
+
codex: {
|
|
63
|
+
select: '--runtime-config <private-codex-runtime-file>',
|
|
64
|
+
description: 'Use this option on each component action to manage the installed Codex Runtime job. Use the same approved Host archive for its install action. Start the Runtime and Host jobs, then check Native status after original work is prepared.',
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
: {}),
|
|
68
|
+
prerequisites: process.platform === 'darwin'
|
|
69
|
+
? ['registered-device', 'native-Host-Setup-resource-guard', 'user-service-session']
|
|
70
|
+
: process.platform === 'win32'
|
|
71
|
+
? ['registered-device', 'MSI-registered-service']
|
|
72
|
+
: ['registered-device', 'user-service-manager'],
|
|
73
|
+
description: 'Manage only the original device Host. Stop it before selecting an approved replacement with install or a retained release with rollback, then start it explicitly. Updating the npm CLI or Desktop does not select a managed Host release. User services depend on the OS account session. Check Native availability and formal task adoption separately.',
|
|
74
|
+
},
|
|
75
|
+
policy: {
|
|
76
|
+
host: { capability: 'host.component' },
|
|
77
|
+
runtime: { field: 'expectedCapabilityVersion' },
|
|
78
|
+
description: 'Current permissions still apply. Unknown results must be checked before repeating an action.',
|
|
79
|
+
},
|
|
10
80
|
};
|
|
11
81
|
/** 分主题机器帮助可在离线且未登记设备时运行。 */
|
|
12
82
|
export function hostHelp(args) {
|
|
@@ -17,5 +87,12 @@ export function hostHelp(args) {
|
|
|
17
87
|
});
|
|
18
88
|
if (positionals.length > 1)
|
|
19
89
|
throw new Error('BOT_HELP_TOPIC_INVALID');
|
|
20
|
-
|
|
90
|
+
const topic = positionals[0];
|
|
91
|
+
if (topic !== undefined && !Object.hasOwn(topics, topic))
|
|
92
|
+
throw new Error('BOT_HELP_TOPIC_INVALID');
|
|
93
|
+
process.stdout.write(JSON.stringify({
|
|
94
|
+
schemaVersion: 1,
|
|
95
|
+
topics: topic ? { [topic]: topics[topic] } : topics,
|
|
96
|
+
installation: hostInstallation,
|
|
97
|
+
}, null, values.json ? undefined : 2) + '\n');
|
|
21
98
|
}
|
package/dist/lifecycle/http.js
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
import { createServer } from 'node:http';
|
|
2
|
-
import { botChoice, botId, botInteger, botObject, } from
|
|
2
|
+
import { botChoice, botId, botInteger, botObject, } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
3
|
+
import { nativeInspectionStatus } from '../recovery/inspection-errors.js';
|
|
3
4
|
import { matchesHostSecret } from './status.js';
|
|
5
|
+
const shutdowns = new WeakMap();
|
|
6
|
+
async function withResponseSignal(res, work) {
|
|
7
|
+
const stop = new AbortController();
|
|
8
|
+
const cancel = () => {
|
|
9
|
+
if (!res.writableEnded)
|
|
10
|
+
stop.abort();
|
|
11
|
+
};
|
|
12
|
+
res.once('close', cancel);
|
|
13
|
+
if (res.destroyed)
|
|
14
|
+
stop.abort();
|
|
15
|
+
try {
|
|
16
|
+
await work(stop.signal);
|
|
17
|
+
}
|
|
18
|
+
finally {
|
|
19
|
+
res.off('close', cancel);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
/** 不等待残缺 HTTP 输入;已进入处理器的工作排空后才允许关闭账本。 */
|
|
23
|
+
export function closeHostServer(server) {
|
|
24
|
+
const close = shutdowns.get(server);
|
|
25
|
+
if (!close)
|
|
26
|
+
throw new Error('BOT_HOST_LISTENER_NOT_OWNED');
|
|
27
|
+
return close();
|
|
28
|
+
}
|
|
4
29
|
export function createHostServer(coordinator, token, offline, reportStatus, conversationStatus, agentim, communicationStatus, execution) {
|
|
5
30
|
const send = (res, status, body) => {
|
|
6
31
|
res.writeHead(status, { 'content-type': 'application/json', 'cache-control': 'no-store' });
|
|
@@ -70,7 +95,22 @@ export function createHostServer(coordinator, token, offline, reportStatus, conv
|
|
|
70
95
|
}
|
|
71
96
|
if (req.method === 'GET' && req.url === '/recovery/native') {
|
|
72
97
|
req.resume();
|
|
73
|
-
return
|
|
98
|
+
return withResponseSignal(res, async (signal) => {
|
|
99
|
+
try {
|
|
100
|
+
const inspection = await coordinator.inspectNativeRecovery(signal);
|
|
101
|
+
if (!signal.aborted)
|
|
102
|
+
send(res, 200, inspection);
|
|
103
|
+
}
|
|
104
|
+
catch (error) {
|
|
105
|
+
if (signal.aborted)
|
|
106
|
+
return;
|
|
107
|
+
const code = error instanceof Error ? error.message : '';
|
|
108
|
+
const status = nativeInspectionStatus(code);
|
|
109
|
+
send(res, status ?? 503, {
|
|
110
|
+
error: status ? code : 'BOT_NATIVE_INSPECTION_UNAVAILABLE',
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
});
|
|
74
114
|
}
|
|
75
115
|
if (traceRead) {
|
|
76
116
|
req.resume();
|
|
@@ -124,22 +164,13 @@ export function createHostServer(coordinator, token, offline, reportStatus, conv
|
|
|
124
164
|
return send(res, 200, offline.admit(parsed));
|
|
125
165
|
if (agentimRequest) {
|
|
126
166
|
// 客户端停止只取消这一原SDK请求;不停止收件来源,也不将断连当作未执行证明。
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
stop.abort();
|
|
135
|
-
try {
|
|
136
|
-
return send(res, 200, agentim
|
|
137
|
-
? await agentim(parsed, stop.signal)
|
|
138
|
-
: { state: 'UNAVAILABLE', code: 'AGENTIM_NOT_CONFIGURED' });
|
|
139
|
-
}
|
|
140
|
-
finally {
|
|
141
|
-
res.off('close', cancel);
|
|
142
|
-
}
|
|
167
|
+
return withResponseSignal(res, async (signal) => {
|
|
168
|
+
const result = agentim
|
|
169
|
+
? await agentim(parsed, signal)
|
|
170
|
+
: { state: 'UNAVAILABLE', code: 'AGENTIM_NOT_CONFIGURED' };
|
|
171
|
+
if (!signal.aborted)
|
|
172
|
+
send(res, 200, result);
|
|
173
|
+
});
|
|
143
174
|
}
|
|
144
175
|
if (settingsRequest)
|
|
145
176
|
return send(res, 200, await coordinator.runtimeSettings.handle(parsed));
|
|
@@ -166,8 +197,51 @@ export function createHostServer(coordinator, token, offline, reportStatus, conv
|
|
|
166
197
|
const result = await coordinator.control(operation, botId(v.requestId), v.deliveryId === undefined ? undefined : botId(v.deliveryId), v.expectedTurnId === undefined ? undefined : botId(v.expectedTurnId));
|
|
167
198
|
return send(res, 200, result);
|
|
168
199
|
};
|
|
200
|
+
let stopping = false;
|
|
201
|
+
let closing;
|
|
202
|
+
const sockets = new Set();
|
|
203
|
+
const requests = new Map();
|
|
204
|
+
const pending = new Set();
|
|
169
205
|
const server = createServer((req, res) => {
|
|
170
|
-
|
|
206
|
+
if (stopping) {
|
|
207
|
+
req.destroy();
|
|
208
|
+
res.destroy();
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
const messages = requests.get(req.socket) ?? new Set();
|
|
212
|
+
requests.set(req.socket, messages);
|
|
213
|
+
messages.add(req);
|
|
214
|
+
res.once('close', () => messages.delete(req));
|
|
215
|
+
const work = handle(req, res).catch(() => {
|
|
216
|
+
if (!res.destroyed && !res.writableEnded)
|
|
217
|
+
send(res, 409, { error: 'BOT_HOST_COMMAND_HELD' });
|
|
218
|
+
});
|
|
219
|
+
pending.add(work);
|
|
220
|
+
void work.finally(() => pending.delete(work)).catch(() => undefined);
|
|
221
|
+
});
|
|
222
|
+
server.on('connection', (socket) => {
|
|
223
|
+
sockets.add(socket);
|
|
224
|
+
socket.once('close', () => {
|
|
225
|
+
sockets.delete(socket);
|
|
226
|
+
requests.delete(socket);
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
shutdowns.set(server, () => {
|
|
230
|
+
if (closing)
|
|
231
|
+
return closing;
|
|
232
|
+
stopping = true;
|
|
233
|
+
const drained = new Promise((resolve) => server.close(() => resolve()));
|
|
234
|
+
server.closeIdleConnections();
|
|
235
|
+
for (const socket of sockets) {
|
|
236
|
+
const messages = requests.get(socket);
|
|
237
|
+
if (!messages?.size || [...messages].some((req) => !req.complete))
|
|
238
|
+
socket.destroy();
|
|
239
|
+
}
|
|
240
|
+
closing = (async () => {
|
|
241
|
+
await Promise.allSettled([...pending]);
|
|
242
|
+
await drained;
|
|
243
|
+
})();
|
|
244
|
+
return closing;
|
|
171
245
|
});
|
|
172
246
|
server.requestTimeout = 15000;
|
|
173
247
|
server.headersTimeout = 10000;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHash } from 'node:crypto';
|
|
2
|
-
import { botRuntimeRequest, canonicalBotJson, } from
|
|
2
|
+
import { botRuntimeRequest, canonicalBotJson, } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
3
3
|
const hash = (value) => createHash('sha256').update(canonicalBotJson(value)).digest('hex');
|
|
4
4
|
const codeOf = (error) => error instanceof Error && /^[A-Z][A-Z0-9_]+$/.test(error.message)
|
|
5
5
|
? error.message
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseArgs } from 'node:util';
|
|
2
|
-
import { BotServiceTransport } from
|
|
3
|
-
import { botInteger, botObject, botText, parseBotComponentStatus, } from
|
|
2
|
+
import { BotServiceTransport } from "../vendor/@agent-stack/bridge-client/dist/index.js";
|
|
3
|
+
import { botInteger, botObject, botText, parseBotComponentStatus, } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
4
4
|
import { doctorTargets } from '../doctor/config.js';
|
|
5
5
|
/** 一次性读取已有 listener;空项目、旧版本或未装配的 Runtime 仍返回各自观测。 */
|
|
6
6
|
export async function statusCommand(args) {
|
|
@@ -7,6 +7,10 @@ export class HostWakeHints {
|
|
|
7
7
|
stopped = false;
|
|
8
8
|
requested = false;
|
|
9
9
|
reading;
|
|
10
|
+
waiting;
|
|
11
|
+
binding;
|
|
12
|
+
waitMs = 0;
|
|
13
|
+
nextWaitMs;
|
|
10
14
|
timer;
|
|
11
15
|
resume;
|
|
12
16
|
// 只有退避 timer 已经安排时才公布重试时间;端口的长轮询没有确定返回时刻。
|
|
@@ -29,21 +33,53 @@ export class HostWakeHints {
|
|
|
29
33
|
this.reading?.abort();
|
|
30
34
|
this.resume?.();
|
|
31
35
|
};
|
|
32
|
-
|
|
36
|
+
/** 同一执行的消费者共用在途提示;消费者各自推进,不等其他消费者完成工作。 */
|
|
37
|
+
wait(active) {
|
|
33
38
|
if (this.stopped)
|
|
34
|
-
return;
|
|
35
|
-
const
|
|
39
|
+
return Promise.resolve(false);
|
|
40
|
+
const binding = JSON.stringify([
|
|
41
|
+
this.config.project,
|
|
42
|
+
this.config.executionId,
|
|
43
|
+
this.config.bridgeCredential,
|
|
44
|
+
]);
|
|
45
|
+
if (this.binding !== binding) {
|
|
46
|
+
this.cursor = null;
|
|
47
|
+
if (this.binding !== undefined)
|
|
48
|
+
this.requestRecheck();
|
|
49
|
+
this.binding = binding;
|
|
50
|
+
}
|
|
51
|
+
const requestedMs = Math.min(8000, active ? 1000 : this.config.pollIntervalMs);
|
|
52
|
+
this.nextWaitMs = Math.min(this.nextWaitMs ?? requestedMs, requestedMs);
|
|
53
|
+
if (this.waiting) {
|
|
54
|
+
if (requestedMs < this.waitMs)
|
|
55
|
+
this.requestRecheck();
|
|
56
|
+
return this.waiting;
|
|
57
|
+
}
|
|
58
|
+
this.waitMs = this.nextWaitMs;
|
|
59
|
+
this.nextWaitMs = undefined;
|
|
60
|
+
const waiting = this.poll(this.waitMs).finally(() => {
|
|
61
|
+
if (this.waiting === waiting)
|
|
62
|
+
this.waiting = undefined;
|
|
63
|
+
});
|
|
64
|
+
this.waiting = waiting;
|
|
65
|
+
return waiting;
|
|
66
|
+
}
|
|
67
|
+
async poll(ms) {
|
|
36
68
|
try {
|
|
37
69
|
if (this.requested)
|
|
38
|
-
return;
|
|
70
|
+
return true;
|
|
39
71
|
const reading = (this.reading = new AbortController());
|
|
72
|
+
const previous = this.cursor;
|
|
40
73
|
const token = await this.bridge.waitForWake(this.config.project, this.config.executionId, this.config.bridgeCredential, this.cursor, ms, reading.signal);
|
|
41
|
-
if (!reading.signal.aborted)
|
|
74
|
+
if (!reading.signal.aborted) {
|
|
42
75
|
this.cursor = token;
|
|
76
|
+
return previous !== token;
|
|
77
|
+
}
|
|
78
|
+
return !this.stopped && this.requested;
|
|
43
79
|
}
|
|
44
80
|
catch (error) {
|
|
45
81
|
if (this.stopped || this.requested)
|
|
46
|
-
return;
|
|
82
|
+
return !this.stopped && this.requested;
|
|
47
83
|
this.cursor = null;
|
|
48
84
|
this.lastFailure = { reasonCode: hostStartupFailureCode(error), atMs: Date.now() };
|
|
49
85
|
if (!this.stopped)
|
|
@@ -59,6 +95,7 @@ export class HostWakeHints {
|
|
|
59
95
|
this.timer = setTimeout(() => this.resume?.(), ms);
|
|
60
96
|
this.nextRetryAtMs = Date.now() + ms;
|
|
61
97
|
});
|
|
98
|
+
return !this.stopped && this.requested;
|
|
62
99
|
}
|
|
63
100
|
finally {
|
|
64
101
|
this.reading = undefined;
|
package/dist/main.js
CHANGED
|
@@ -5,7 +5,7 @@ import { loadProjectHostConfig } from './preparation/config.js';
|
|
|
5
5
|
import { startProjectHost } from './preparation/bootstrap.js';
|
|
6
6
|
import { loadHostConfig } from './config.js';
|
|
7
7
|
import { startBotHost } from './bootstrap.js';
|
|
8
|
-
import { BotBridgeClient, BotServiceTransport } from
|
|
8
|
+
import { BotBridgeClient, BotServiceTransport } from "./vendor/@agent-stack/bridge-client/dist/index.js";
|
|
9
9
|
import { privateDeploymentFile } from './deployment/system.js';
|
|
10
10
|
async function main() {
|
|
11
11
|
const path = process.env.BOT_HOST_CONFIG;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BotBridgeClient, BotServiceTransport } from
|
|
2
|
-
import { botObject, botOwnerState, isBotNativeVersion } from
|
|
1
|
+
import { BotBridgeClient, BotServiceTransport } from "../vendor/@agent-stack/bridge-client/dist/index.js";
|
|
2
|
+
import { botObject, botOwnerState, isBotNativeVersion } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
3
3
|
import { HttpBotRuntimeClient } from '../adapters/runtime-http/client.js';
|
|
4
4
|
import { runtimeEndpoint } from '../adapters/runtime-http/endpoint.js';
|
|
5
5
|
/** Read-only exact execution admission. A running listener is not a prepared backend. */
|
|
@@ -39,6 +39,9 @@ export async function checkPreparedBackend(config, executionId, credential) {
|
|
|
39
39
|
// 相同 AS 接口由下方 capabilities 核验,Native 发行资格不在 Host 再砍一层。
|
|
40
40
|
!isBotNativeVersion(identity.nativeVersion))
|
|
41
41
|
throw new Error('BOT_PREPARATION_BACKEND_BINDING_MISMATCH');
|
|
42
|
-
await new HttpBotRuntimeClient(config.backend.runtimeUrl, config.backend.runtimeToken, credential, config.provider).capabilities();
|
|
43
|
-
return
|
|
42
|
+
const capabilities = await new HttpBotRuntimeClient(config.backend.runtimeUrl, config.backend.runtimeToken, credential, config.provider).capabilities();
|
|
43
|
+
return {
|
|
44
|
+
executionId: current,
|
|
45
|
+
exclusiveRecovery: capabilities.serviceRecovery?.protocol === 'native-exclusive-v1',
|
|
46
|
+
};
|
|
44
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { botPreparationTarget } from
|
|
2
|
-
import { botObject } from
|
|
1
|
+
import { botPreparationTarget } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
2
|
+
import { botObject } from "../vendor/@agent-stack/contracts/dist/index.js";
|
|
3
3
|
/** 父凭据由正式新请求认证后接续,配置中的 requestId 本身不构成轮换证明。 */
|
|
4
4
|
export function seedProjectPreparation(config, journal, p) {
|
|
5
5
|
if (p.hostId !== config.hostId || p.provider !== config.provider)
|