@waq666/pneuma 0.8.1 → 0.9.2
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 +87 -18
- package/bin/dsc.js +25 -2
- package/lib/adapter/transcript.d.ts +94 -1
- package/lib/adapter/transcript.js +398 -12
- package/lib/boot.js +6 -27
- package/lib/contract/approval.d.ts +41 -4
- package/lib/contract/fonts.d.ts +101 -0
- package/lib/contract/fonts.js +157 -0
- package/lib/contract/memory.d.ts +93 -0
- package/lib/contract/memory.js +12 -0
- package/lib/contract/plugin.d.ts +106 -5
- package/lib/contract/remote.d.ts +8 -0
- package/lib/contract/remote.js +8 -0
- package/lib/contract/runtime.d.ts +240 -11
- package/lib/contract/session.d.ts +69 -6
- package/lib/contract/settings.d.ts +143 -3
- package/lib/contract/snapshot.d.ts +22 -5
- package/lib/contract/task.d.ts +38 -2
- package/lib/contract/transcript.d.ts +209 -13
- package/lib/contract/transcript.js +47 -1
- package/lib/contract.d.ts +3 -1
- package/lib/contract.js +3 -1
- package/lib/core/bytes.d.ts +1 -1
- package/lib/core/bytes.js +2 -2
- package/lib/core/child-env.d.ts +31 -0
- package/lib/core/child-env.js +70 -0
- package/lib/core/command-intent.d.ts +121 -0
- package/lib/core/command-intent.js +380 -0
- package/lib/core/command-policy.js +10 -46
- package/lib/core/config-store.js +6 -1
- package/lib/core/config.d.ts +98 -0
- package/lib/core/config.js +286 -4
- package/lib/core/context-injection-report.d.ts +107 -0
- package/lib/core/context-injection-report.js +132 -0
- package/lib/core/dock-browser.d.ts +30 -1
- package/lib/core/dock-browser.js +2 -1
- package/lib/core/dock-ops.d.ts +4 -4
- package/lib/core/dock-ops.js +2 -2
- package/lib/core/dock-session.d.ts +1 -2
- package/lib/core/dsh-compat/resolve-hook.d.ts +29 -1
- package/lib/core/dsh-compat/resolve-hook.js +272 -15
- package/lib/core/dsh-compat/service-map.js +1 -1
- package/lib/core/events.d.ts +52 -4
- package/lib/core/executable.d.ts +38 -0
- package/lib/core/executable.js +115 -0
- package/lib/core/git-exec.d.ts +11 -2
- package/lib/core/git-exec.js +27 -3
- package/lib/core/guard-session.d.ts +50 -0
- package/lib/core/guard-session.js +58 -0
- package/lib/core/host-browser-link.d.ts +1 -2
- package/lib/core/host-methods.d.ts +1 -1
- package/lib/core/host-methods.js +14 -1
- package/lib/core/http-debug.d.ts +43 -0
- package/lib/core/http-debug.js +65 -0
- package/lib/core/i18n-text.d.ts +39 -0
- package/lib/core/i18n-text.js +50 -0
- package/lib/core/i18n.d.ts +28 -0
- package/lib/core/i18n.js +109 -0
- package/lib/core/image-diet.d.ts +77 -22
- package/lib/core/image-diet.js +233 -9
- package/lib/core/llm.d.ts +76 -9
- package/lib/core/llm.js +151 -22
- package/lib/core/lockfile.d.ts +4 -5
- package/lib/core/lockfile.js +78 -16
- package/lib/core/log-config.d.ts +35 -0
- package/lib/core/log-config.js +71 -0
- package/lib/core/mention.d.ts +25 -15
- package/lib/core/mention.js +153 -32
- package/lib/core/migrate.d.ts +18 -0
- package/lib/core/native-bridge.d.ts +1 -1
- package/lib/core/native-bridge.js +1 -1
- package/lib/core/os-lock.d.ts +30 -0
- package/lib/core/os-lock.js +232 -0
- package/lib/core/path-policy.d.ts +13 -2
- package/lib/core/path-policy.js +30 -2
- package/lib/core/plugin-bundle.d.ts +90 -8
- package/lib/core/plugin-bundle.js +184 -22
- package/lib/core/plugin-loader.d.ts +238 -8
- package/lib/core/plugin-loader.js +1288 -152
- package/lib/core/plugin-locale.d.ts +42 -0
- package/lib/core/plugin-locale.js +132 -0
- package/lib/core/plugin-npm.d.ts +44 -0
- package/lib/core/plugin-npm.js +459 -0
- package/lib/core/plugin-patch.d.ts +17 -0
- package/lib/core/plugin-patch.js +23 -1
- package/lib/core/plugin-registry.d.ts +72 -13
- package/lib/core/plugin-registry.js +275 -76
- package/lib/core/plugin-watch.d.ts +128 -0
- package/lib/core/plugin-watch.js +880 -0
- package/lib/core/prefs.d.ts +7 -1
- package/lib/core/prefs.js +125 -33
- package/lib/core/profile-bootstrap.d.ts +5 -0
- package/lib/core/profile-bootstrap.js +33 -0
- package/lib/core/profile-dir.js +7 -3
- package/lib/core/records.d.ts +1 -1
- package/lib/core/records.js +1 -1
- package/lib/core/redact.d.ts +20 -0
- package/lib/core/redact.js +52 -0
- package/lib/core/repeat-reminder.d.ts +152 -0
- package/lib/core/repeat-reminder.js +175 -0
- package/lib/core/request-invariant.js +1 -1
- package/lib/core/schedule/runner.d.ts +18 -2
- package/lib/core/schedule/runner.js +50 -15
- package/lib/core/session.d.ts +192 -11
- package/lib/core/session.js +250 -19
- package/lib/core/shell-quote.d.ts +2 -2
- package/lib/core/shell-quote.js +2 -2
- package/lib/core/skills.d.ts +14 -0
- package/lib/core/skills.js +31 -0
- package/lib/core/team-board.d.ts +94 -10
- package/lib/core/team-board.js +226 -7
- package/lib/core/terminal-env.d.ts +18 -4
- package/lib/core/terminal-env.js +151 -15
- package/lib/core/todo-reminder-cadence.d.ts +86 -0
- package/lib/core/todo-reminder-cadence.js +76 -0
- package/lib/core/token-estimate.d.ts +1 -1
- package/lib/core/token-estimate.js +1 -1
- package/lib/core/tool-guards.d.ts +42 -0
- package/lib/core/tool-guards.js +43 -1
- package/lib/core/tools/command-runner.d.ts +11 -0
- package/lib/core/tools/fs-tools.js +6 -0
- package/lib/core/tools.d.ts +21 -4
- package/lib/core/transcript-text.d.ts +1 -1
- package/lib/core/transcript-text.js +1 -1
- package/lib/core/ui-boot-source.d.ts +3 -1
- package/lib/core/ui-boot-source.js +1 -1
- package/lib/core/ui-bundles.d.ts +13 -4
- package/lib/core/ui-bundles.js +122 -29
- package/lib/core/ui-graph-frames.d.ts +47 -0
- package/lib/core/ui-graph-frames.js +54 -0
- package/lib/core/ui-hmr.d.ts +1 -1
- package/lib/core/ui-manifest.d.ts +224 -0
- package/lib/core/ui-manifest.js +185 -0
- package/lib/core/ui-methods.d.ts +1 -1
- package/lib/core/ui-methods.js +54 -2
- package/lib/core/ui-server.d.ts +3 -2
- package/lib/core/ui-server.js +18 -18
- package/lib/core/usage-log.d.ts +58 -1
- package/lib/core/usage-log.js +140 -1
- package/lib/headless.js +4 -24
- package/lib/host/kernel.d.ts +7 -15
- package/lib/host/kernel.js +65 -434
- package/lib/host/launch.d.ts +20 -0
- package/lib/host/launch.js +48 -0
- package/lib/host/startup.d.ts +8 -0
- package/lib/host/startup.js +74 -0
- package/lib/node_modules/@pneuma/agent/cache-probe.d.ts +1 -0
- package/lib/node_modules/@pneuma/agent/cache-probe.js +1 -0
- package/lib/node_modules/@pneuma/agent/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/agent/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/agent/index.js +1 -0
- package/lib/node_modules/@pneuma/agent/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/agent/package.json +38 -0
- package/lib/node_modules/@pneuma/approval/approval.d.ts +1 -0
- package/lib/node_modules/@pneuma/approval/approval.js +1 -0
- package/lib/node_modules/@pneuma/approval/call-meaning.d.ts +1 -0
- package/lib/node_modules/@pneuma/approval/call-meaning.js +1 -0
- package/lib/node_modules/@pneuma/approval/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/approval/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/approval/index.js +1 -0
- package/lib/node_modules/@pneuma/approval/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/approval/package.json +38 -0
- package/lib/node_modules/@pneuma/approval-floor/approval-floor.d.ts +1 -0
- package/lib/node_modules/@pneuma/approval-floor/approval-floor.js +1 -0
- package/lib/node_modules/@pneuma/approval-floor/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/approval-floor/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/approval-floor/index.js +1 -0
- package/lib/node_modules/@pneuma/approval-floor/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/approval-floor/locale/ui.en.json +28 -0
- package/lib/node_modules/@pneuma/approval-floor/locale/ui.zh.json +28 -0
- package/lib/node_modules/@pneuma/approval-floor/package.json +40 -0
- package/lib/node_modules/@pneuma/ask/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/ask/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ask/index.js +1 -0
- package/lib/node_modules/@pneuma/ask/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ask/package.json +38 -0
- package/lib/node_modules/@pneuma/base/cordis.patch.yml +176 -0
- package/lib/node_modules/@pneuma/base/package.json +12 -0
- package/lib/node_modules/@pneuma/browser/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/browser/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/browser/index.js +1 -0
- package/lib/node_modules/@pneuma/browser/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/browser/locale/ui.en.json +61 -0
- package/lib/node_modules/@pneuma/browser/locale/ui.zh.json +61 -0
- package/lib/node_modules/@pneuma/browser/package.json +40 -0
- package/lib/node_modules/@pneuma/cdp/actions.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/actions.js +1 -0
- package/lib/node_modules/@pneuma/cdp/cloud-metadata.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/cloud-metadata.js +1 -0
- package/lib/node_modules/@pneuma/cdp/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/index.js +1 -0
- package/lib/node_modules/@pneuma/cdp/launch.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/launch.js +1 -0
- package/lib/node_modules/@pneuma/cdp/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/cdp/package.json +40 -0
- package/lib/node_modules/@pneuma/cdp/report.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/report.js +1 -0
- package/lib/node_modules/@pneuma/cdp/ring-buffer.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/ring-buffer.js +1 -0
- package/lib/node_modules/@pneuma/cdp/snapshot.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/snapshot.js +1 -0
- package/lib/node_modules/@pneuma/cdp/transport.d.ts +1 -0
- package/lib/node_modules/@pneuma/cdp/transport.js +1 -0
- package/lib/node_modules/@pneuma/checkpoint/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/checkpoint/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/checkpoint/index.js +1 -0
- package/lib/node_modules/@pneuma/checkpoint/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/checkpoint/locale/ui.en.json +15 -0
- package/lib/node_modules/@pneuma/checkpoint/locale/ui.zh.json +15 -0
- package/lib/node_modules/@pneuma/checkpoint/package.json +38 -0
- package/lib/node_modules/@pneuma/checkpoint/shadow.d.ts +1 -0
- package/lib/node_modules/@pneuma/checkpoint/shadow.js +1 -0
- package/lib/node_modules/@pneuma/cli/config-cli.d.ts +1 -0
- package/lib/node_modules/@pneuma/cli/config-cli.js +1 -0
- package/lib/node_modules/@pneuma/cli/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/cli/index.js +1 -0
- package/lib/node_modules/@pneuma/cli/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/cli/package.json +35 -0
- package/lib/node_modules/@pneuma/cli/plugin-cli.d.ts +1 -0
- package/lib/node_modules/@pneuma/cli/plugin-cli.js +1 -0
- package/lib/node_modules/@pneuma/cli/pnpm-builds.d.ts +1 -0
- package/lib/node_modules/@pneuma/cli/pnpm-builds.js +1 -0
- package/lib/node_modules/@pneuma/commands/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/commands/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/commands/index.js +1 -0
- package/lib/node_modules/@pneuma/commands/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/commands/package.json +38 -0
- package/lib/node_modules/@pneuma/commands/session-export.d.ts +1 -0
- package/lib/node_modules/@pneuma/commands/session-export.js +1 -0
- package/lib/node_modules/@pneuma/commands-core/commands-completion.d.ts +1 -0
- package/lib/node_modules/@pneuma/commands-core/commands-completion.js +1 -0
- package/lib/node_modules/@pneuma/commands-core/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/commands-core/index.js +1 -0
- package/lib/node_modules/@pneuma/commands-core/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/commands-core/package.json +34 -0
- package/lib/node_modules/@pneuma/compact/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/compact/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/compact/index.js +1 -0
- package/lib/node_modules/@pneuma/compact/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/compact/locale/ui.en.json +24 -0
- package/lib/node_modules/@pneuma/compact/locale/ui.zh.json +24 -0
- package/lib/node_modules/@pneuma/compact/package.json +39 -0
- package/lib/node_modules/@pneuma/computer-use/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/computer-use/desktop-control.d.ts +1 -0
- package/lib/node_modules/@pneuma/computer-use/desktop-control.js +1 -0
- package/lib/node_modules/@pneuma/computer-use/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/computer-use/index.js +1 -0
- package/lib/node_modules/@pneuma/computer-use/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/computer-use/locale/ui.en.json +41 -0
- package/lib/node_modules/@pneuma/computer-use/locale/ui.zh.json +41 -0
- package/lib/node_modules/@pneuma/computer-use/package.json +40 -0
- package/lib/node_modules/@pneuma/config-core/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/config-core/index.js +1 -0
- package/lib/node_modules/@pneuma/config-core/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/config-core/market.d.ts +1 -0
- package/lib/node_modules/@pneuma/config-core/market.js +1 -0
- package/lib/node_modules/@pneuma/config-core/package.json +35 -0
- package/lib/node_modules/@pneuma/config-core/presets.d.ts +1 -0
- package/lib/node_modules/@pneuma/config-core/presets.js +1 -0
- package/lib/node_modules/@pneuma/desktop-dock/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/desktop-dock/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/desktop-dock/index.js +1 -0
- package/lib/node_modules/@pneuma/desktop-dock/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/desktop-dock/locale/ui.en.json +11 -0
- package/lib/node_modules/@pneuma/desktop-dock/locale/ui.zh.json +11 -0
- package/lib/node_modules/@pneuma/desktop-dock/package.json +38 -0
- package/lib/node_modules/@pneuma/dock-browser/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/dock-browser/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/dock-browser/index.js +1 -0
- package/lib/node_modules/@pneuma/dock-browser/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/dock-browser/locale/ui.en.json +10 -0
- package/lib/node_modules/@pneuma/dock-browser/locale/ui.zh.json +10 -0
- package/lib/node_modules/@pneuma/dock-browser/package.json +40 -0
- package/lib/node_modules/@pneuma/doctor/bundle.d.ts +1 -0
- package/lib/node_modules/@pneuma/doctor/bundle.js +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/data.d.ts +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/data.js +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/ecosystem.d.ts +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/ecosystem.js +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/environment.d.ts +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/environment.js +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/util.d.ts +1 -0
- package/lib/node_modules/@pneuma/doctor/checks/util.js +1 -0
- package/lib/node_modules/@pneuma/doctor/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/doctor/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/doctor/index.js +1 -0
- package/lib/node_modules/@pneuma/doctor/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/doctor/package.json +39 -0
- package/lib/node_modules/@pneuma/dsh-compat/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/dsh-compat/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/dsh-compat/index.js +1 -0
- package/lib/node_modules/@pneuma/dsh-compat/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/dsh-compat/package.json +40 -0
- package/lib/node_modules/@pneuma/git/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/git/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/git/index.js +1 -0
- package/lib/node_modules/@pneuma/git/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/git/package.json +38 -0
- package/lib/node_modules/@pneuma/goal/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/goal/goal.d.ts +1 -0
- package/lib/node_modules/@pneuma/goal/goal.js +1 -0
- package/lib/node_modules/@pneuma/goal/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/goal/index.js +1 -0
- package/lib/node_modules/@pneuma/goal/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/goal/locale/ui.en.json +10 -0
- package/lib/node_modules/@pneuma/goal/locale/ui.zh.json +10 -0
- package/lib/node_modules/@pneuma/goal/package.json +39 -0
- package/lib/node_modules/@pneuma/guards/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/guards/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/guards/index.js +1 -0
- package/lib/node_modules/@pneuma/guards/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/guards/package.json +38 -0
- package/lib/node_modules/@pneuma/hooks/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/hooks/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/hooks/index.js +1 -0
- package/lib/node_modules/@pneuma/hooks/lifecycle-hooks.d.ts +1 -0
- package/lib/node_modules/@pneuma/hooks/lifecycle-hooks.js +1 -0
- package/lib/node_modules/@pneuma/hooks/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/hooks/locale/ui.en.json +111 -0
- package/lib/node_modules/@pneuma/hooks/locale/ui.zh.json +111 -0
- package/lib/node_modules/@pneuma/hooks/package.json +39 -0
- package/lib/node_modules/@pneuma/host-stdio/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/host-stdio/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/host-stdio/index.js +1 -0
- package/lib/node_modules/@pneuma/host-stdio/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/host-stdio/package.json +38 -0
- package/lib/node_modules/@pneuma/image-diet/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/image-diet/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/image-diet/index.js +1 -0
- package/lib/node_modules/@pneuma/image-diet/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/image-diet/locale/ui.en.json +14 -0
- package/lib/node_modules/@pneuma/image-diet/locale/ui.zh.json +14 -0
- package/lib/node_modules/@pneuma/image-diet/package.json +39 -0
- package/lib/node_modules/@pneuma/llm/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/llm/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/llm/index.js +1 -0
- package/lib/node_modules/@pneuma/llm/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/llm/package.json +38 -0
- package/lib/node_modules/@pneuma/log/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/log/filter.d.ts +1 -0
- package/lib/node_modules/@pneuma/log/filter.js +1 -0
- package/lib/node_modules/@pneuma/log/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/log/index.js +1 -0
- package/lib/node_modules/@pneuma/log/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/log/locale/ui.en.json +30 -0
- package/lib/node_modules/@pneuma/log/locale/ui.zh.json +30 -0
- package/lib/node_modules/@pneuma/log/package.json +40 -0
- package/lib/node_modules/@pneuma/log/sink.d.ts +1 -0
- package/lib/node_modules/@pneuma/log/sink.js +1 -0
- package/lib/node_modules/@pneuma/lsp/client.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/client.js +1 -0
- package/lib/node_modules/@pneuma/lsp/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/lsp/framing.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/framing.js +1 -0
- package/lib/node_modules/@pneuma/lsp/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/index.js +1 -0
- package/lib/node_modules/@pneuma/lsp/line-shift.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/line-shift.js +1 -0
- package/lib/node_modules/@pneuma/lsp/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/lsp/locale/ui.en.json +17 -0
- package/lib/node_modules/@pneuma/lsp/locale/ui.zh.json +17 -0
- package/lib/node_modules/@pneuma/lsp/manager.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/manager.js +1 -0
- package/lib/node_modules/@pneuma/lsp/normalize.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/normalize.js +1 -0
- package/lib/node_modules/@pneuma/lsp/package.json +40 -0
- package/lib/node_modules/@pneuma/lsp/servers.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/servers.js +1 -0
- package/lib/node_modules/@pneuma/lsp/uri.d.ts +1 -0
- package/lib/node_modules/@pneuma/lsp/uri.js +1 -0
- package/lib/node_modules/@pneuma/mcp/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/mcp/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/mcp/index.js +1 -0
- package/lib/node_modules/@pneuma/mcp/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/mcp/locale/ui.en.json +28 -0
- package/lib/node_modules/@pneuma/mcp/locale/ui.zh.json +28 -0
- package/lib/node_modules/@pneuma/mcp/mcp.d.ts +1 -0
- package/lib/node_modules/@pneuma/mcp/mcp.js +1 -0
- package/lib/node_modules/@pneuma/mcp/package.json +40 -0
- package/lib/node_modules/@pneuma/memory/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/memory/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/memory/index.js +1 -0
- package/lib/node_modules/@pneuma/memory/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/memory/locale/ui.en.json +67 -0
- package/lib/node_modules/@pneuma/memory/locale/ui.zh.json +67 -0
- package/lib/node_modules/@pneuma/memory/memory-eval.d.ts +1 -0
- package/lib/node_modules/@pneuma/memory/memory-eval.js +1 -0
- package/lib/node_modules/@pneuma/memory/memory.d.ts +1 -0
- package/lib/node_modules/@pneuma/memory/memory.js +1 -0
- package/lib/node_modules/@pneuma/memory/package.json +39 -0
- package/lib/node_modules/@pneuma/microcompact/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/microcompact/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/microcompact/index.js +1 -0
- package/lib/node_modules/@pneuma/microcompact/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/microcompact/locale/ui.en.json +20 -0
- package/lib/node_modules/@pneuma/microcompact/locale/ui.zh.json +20 -0
- package/lib/node_modules/@pneuma/microcompact/microcompact.d.ts +1 -0
- package/lib/node_modules/@pneuma/microcompact/microcompact.js +1 -0
- package/lib/node_modules/@pneuma/microcompact/package.json +39 -0
- package/lib/node_modules/@pneuma/mode/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/mode/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/mode/index.js +1 -0
- package/lib/node_modules/@pneuma/mode/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/mode/package.json +38 -0
- package/lib/node_modules/@pneuma/ops/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ops/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ops/index.js +1 -0
- package/lib/node_modules/@pneuma/ops/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ops/locale/ui.en.json +21 -0
- package/lib/node_modules/@pneuma/ops/locale/ui.zh.json +21 -0
- package/lib/node_modules/@pneuma/ops/package.json +41 -0
- package/lib/node_modules/@pneuma/ops/render.d.ts +1 -0
- package/lib/node_modules/@pneuma/ops/render.js +1 -0
- package/lib/node_modules/@pneuma/ops/tools.d.ts +1 -0
- package/lib/node_modules/@pneuma/ops/tools.js +1 -0
- package/lib/node_modules/@pneuma/ops/worker.d.ts +1 -0
- package/lib/node_modules/@pneuma/ops/worker.js +1 -0
- package/lib/node_modules/@pneuma/permission-core/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/permission-core/index.js +1 -0
- package/lib/node_modules/@pneuma/permission-core/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/permission-core/package.json +35 -0
- package/lib/node_modules/@pneuma/permission-core/permission-presets.d.ts +1 -0
- package/lib/node_modules/@pneuma/permission-core/permission-presets.js +1 -0
- package/lib/node_modules/@pneuma/permission-core/permission-scope.d.ts +1 -0
- package/lib/node_modules/@pneuma/permission-core/permission-scope.js +1 -0
- package/lib/node_modules/@pneuma/permission-presets/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/permission-presets/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/permission-presets/index.js +1 -0
- package/lib/node_modules/@pneuma/permission-presets/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/permission-presets/locale/ui.en.json +10 -0
- package/lib/node_modules/@pneuma/permission-presets/locale/ui.zh.json +10 -0
- package/lib/node_modules/@pneuma/permission-presets/package.json +38 -0
- package/lib/node_modules/@pneuma/plan/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/plan/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/plan/index.js +1 -0
- package/lib/node_modules/@pneuma/plan/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/plan/package.json +38 -0
- package/lib/node_modules/@pneuma/plugin-manager/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/plugin-manager/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/plugin-manager/index.js +1 -0
- package/lib/node_modules/@pneuma/plugin-manager/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/plugin-manager/package.json +38 -0
- package/lib/node_modules/@pneuma/presets/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/presets/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/presets/index.js +1 -0
- package/lib/node_modules/@pneuma/presets/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/presets/locale/ui.en.json +10 -0
- package/lib/node_modules/@pneuma/presets/locale/ui.zh.json +10 -0
- package/lib/node_modules/@pneuma/presets/package.json +38 -0
- package/lib/node_modules/@pneuma/prompt/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/prompt/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/prompt/index.js +1 -0
- package/lib/node_modules/@pneuma/prompt/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/prompt/package.json +38 -0
- package/lib/node_modules/@pneuma/prompt/tool-result-prune.d.ts +1 -0
- package/lib/node_modules/@pneuma/prompt/tool-result-prune.js +1 -0
- package/lib/node_modules/@pneuma/ptc/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/ptc/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ptc/index.js +1 -0
- package/lib/node_modules/@pneuma/ptc/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ptc/package.json +38 -0
- package/lib/node_modules/@pneuma/remote/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/remote/http.d.ts +1 -0
- package/lib/node_modules/@pneuma/remote/http.js +1 -0
- package/lib/node_modules/@pneuma/remote/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/remote/index.js +1 -0
- package/lib/node_modules/@pneuma/remote/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/remote/locale/ui.en.json +76 -0
- package/lib/node_modules/@pneuma/remote/locale/ui.zh.json +76 -0
- package/lib/node_modules/@pneuma/remote/package.json +38 -0
- package/lib/node_modules/@pneuma/remote/routes.d.ts +1 -0
- package/lib/node_modules/@pneuma/remote/routes.js +1 -0
- package/lib/node_modules/@pneuma/remote/types.d.ts +1 -0
- package/lib/node_modules/@pneuma/remote/types.js +1 -0
- package/lib/node_modules/@pneuma/runtime/adapter/transcript.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/adapter/transcript.js +1 -0
- package/lib/node_modules/@pneuma/runtime/boot.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/boot.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/approval.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/approval.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/fonts.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/fonts.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/memory.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/memory.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/mode.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/mode.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/plugin.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/plugin.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/remote.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/remote.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/runtime.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/runtime.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/session.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/session.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/settings.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/settings.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/snapshot.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/snapshot.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/task.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/task.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/transcript.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/transcript.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/usage.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract/usage.js +1 -0
- package/lib/node_modules/@pneuma/runtime/contract.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/contract.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/attachments.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/attachments.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/audit.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/audit.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/boot-notices.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/boot-notices.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/bytes.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/bytes.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/child-env.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/child-env.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/clamp.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/clamp.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/clock.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/clock.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/command-intent.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/command-intent.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/command-policy.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/command-policy.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/compact-anchors.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/compact-anchors.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/config-store.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/config-store.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/config.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/config.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/context-injection-report.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/context-injection-report.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/diff-text.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/diff-text.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dock-browser.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dock-browser.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dock-ops.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dock-ops.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dock-session.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dock-session.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/llm-usage-event.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/llm-usage-event.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/presentation.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/presentation.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/resolve-hook.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/resolve-hook.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/service-map.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/service-map.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-bridge.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-bridge.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-events.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-events.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/credentials.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/credentials.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/home-paths.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/home-paths.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/tools-facade.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/dsh-compat/tools-facade.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/err-text.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/err-text.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/events.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/events.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/executable.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/executable.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/git-exec.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/git-exec.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/git-info.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/git-info.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/git-surface.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/git-surface.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/guard-session.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/guard-session.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/host-browser-link.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/host-browser-link.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/host-methods.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/host-methods.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/http-debug.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/http-debug.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/i18n-text.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/i18n-text.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/i18n.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/i18n.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/image-diet.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/image-diet.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/json-text.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/json-text.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/llm.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/llm.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/lockfile.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/lockfile.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/log-config.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/log-config.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/mention.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/mention.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/migrate.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/migrate.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/model-caps.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/model-caps.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/native-bridge.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/native-bridge.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/os-lock.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/os-lock.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/path-policy.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/path-policy.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-bundle.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-bundle.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-loader.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-loader.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-locale.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-locale.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-npm.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-npm.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-patch.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-patch.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-registry.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-registry.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-watch.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/plugin-watch.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/prefs.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/prefs.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/pricing.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/pricing.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/profile-bootstrap.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/profile-bootstrap.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/profile-dir.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/profile-dir.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ptc.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ptc.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/records.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/records.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/redact.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/redact.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/frames.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/frames.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/notify.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/notify.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/owner.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/owner.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/pairing.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/pairing.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/push.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/push.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/store.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/store.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/tickets.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/tickets.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/uploads.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/remote/uploads.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/repeat-reminder.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/repeat-reminder.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/request-attribution.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/request-attribution.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/request-invariant.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/request-invariant.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/schedule/rule.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/schedule/rule.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/schedule/runner.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/schedule/runner.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/schedule/store.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/schedule/store.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/secrets.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/secrets.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/session-meta.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/session-meta.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/session.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/session.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/shell-quote.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/shell-quote.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/side-ask.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/side-ask.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/skills.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/skills.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/snapshot-throttle.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/snapshot-throttle.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/spill.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/spill.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/strings.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/strings.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/team-board.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/team-board.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/terminal-env.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/terminal-env.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/text-format.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/text-format.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/throughput.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/throughput.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/todo-reminder-cadence.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/todo-reminder-cadence.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/todo-reminder.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/todo-reminder.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/token-estimate.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/token-estimate.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tool-guards.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tool-guards.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/command-runner.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/command-runner.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/fs-tools.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/fs-tools.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/path-args.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/path-args.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/sandbox-args.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools/sandbox-args.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/tools.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/transcript-text.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/transcript-text.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-boot-source.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-boot-source.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-bundles.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-bundles.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-combo.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-combo.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-events.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-events.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-graph-frames.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-graph-frames.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-hmr.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-hmr.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-manifest.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-manifest.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-methods.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-methods.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-route.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-route.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-server.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-server.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-trust.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/ui-trust.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/unified-diff.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/unified-diff.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/untrusted.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/untrusted.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/update-check.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/update-check.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/usage-log.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/usage-log.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/version.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/version.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/web-http.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/web-http.js +1 -0
- package/lib/node_modules/@pneuma/runtime/core/web-static.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/core/web-static.js +1 -0
- package/lib/node_modules/@pneuma/runtime/headless.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/headless.js +1 -0
- package/lib/node_modules/@pneuma/runtime/package.json +11 -0
- package/lib/node_modules/@pneuma/runtime/services/types.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime/services/types.js +1 -0
- package/lib/node_modules/@pneuma/runtime-adapter/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/runtime-adapter/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime-adapter/index.js +1 -0
- package/lib/node_modules/@pneuma/runtime-adapter/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/runtime-adapter/package.json +38 -0
- package/lib/node_modules/@pneuma/runtime-api/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/runtime-api/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime-api/index.js +1 -0
- package/lib/node_modules/@pneuma/runtime-api/inspect.d.ts +1 -0
- package/lib/node_modules/@pneuma/runtime-api/inspect.js +1 -0
- package/lib/node_modules/@pneuma/runtime-api/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/runtime-api/package.json +38 -0
- package/lib/node_modules/@pneuma/sandbox/backends.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/backends.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/sandbox/execpolicy.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/execpolicy.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/index.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/sandbox/locale/ui.en.json +78 -0
- package/lib/node_modules/@pneuma/sandbox/locale/ui.zh.json +78 -0
- package/lib/node_modules/@pneuma/sandbox/net-proxy.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/net-proxy.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/package.json +40 -0
- package/lib/node_modules/@pneuma/sandbox/policy.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/policy.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/review.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/review.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/abi.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/abi.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/account.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/account.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/acl.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/acl.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/backend.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/backend.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/doctor.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/doctor.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/ffi.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/ffi.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/interpreter.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/interpreter.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/net-abi.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/net-abi.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/runner-entry.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/runner-entry.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/setup.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/setup.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/sweep.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/sweep.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/token.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/token.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/utf16.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/utf16.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/wfp.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/wfp.js +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/workspace-sid.d.ts +1 -0
- package/lib/node_modules/@pneuma/sandbox/win/workspace-sid.js +1 -0
- package/lib/node_modules/@pneuma/schedule/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/schedule/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/schedule/index.js +1 -0
- package/lib/node_modules/@pneuma/schedule/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/schedule/locale/ui.en.json +29 -0
- package/lib/node_modules/@pneuma/schedule/locale/ui.zh.json +29 -0
- package/lib/node_modules/@pneuma/schedule/package.json +40 -0
- package/lib/node_modules/@pneuma/self-improve/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/self-improve/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/self-improve/index.js +1 -0
- package/lib/node_modules/@pneuma/self-improve/ledger.d.ts +1 -0
- package/lib/node_modules/@pneuma/self-improve/ledger.js +1 -0
- package/lib/node_modules/@pneuma/self-improve/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/self-improve/locale/ui.en.json +31 -0
- package/lib/node_modules/@pneuma/self-improve/locale/ui.zh.json +31 -0
- package/lib/node_modules/@pneuma/self-improve/package.json +41 -0
- package/lib/node_modules/@pneuma/self-improve/skill-write.d.ts +1 -0
- package/lib/node_modules/@pneuma/self-improve/skill-write.js +1 -0
- package/lib/node_modules/@pneuma/self-improve/store.d.ts +1 -0
- package/lib/node_modules/@pneuma/self-improve/store.js +1 -0
- package/lib/node_modules/@pneuma/session/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/session/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/session/index.js +1 -0
- package/lib/node_modules/@pneuma/session/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/session/package.json +38 -0
- package/lib/node_modules/@pneuma/session-core/compact.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-core/compact.js +1 -0
- package/lib/node_modules/@pneuma/session-core/hooks.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-core/hooks.js +1 -0
- package/lib/node_modules/@pneuma/session-core/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-core/index.js +1 -0
- package/lib/node_modules/@pneuma/session-core/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/session-core/loop.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-core/loop.js +1 -0
- package/lib/node_modules/@pneuma/session-core/modes.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-core/modes.js +1 -0
- package/lib/node_modules/@pneuma/session-core/package.json +38 -0
- package/lib/node_modules/@pneuma/session-core/prompt.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-core/prompt.js +1 -0
- package/lib/node_modules/@pneuma/session-search/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/session-search/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-search/index.js +1 -0
- package/lib/node_modules/@pneuma/session-search/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/session-search/locale/ui.en.json +29 -0
- package/lib/node_modules/@pneuma/session-search/locale/ui.zh.json +29 -0
- package/lib/node_modules/@pneuma/session-search/package.json +40 -0
- package/lib/node_modules/@pneuma/session-search/session-index.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-search/session-index.js +1 -0
- package/lib/node_modules/@pneuma/session-title/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/session-title/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/session-title/index.js +1 -0
- package/lib/node_modules/@pneuma/session-title/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/session-title/package.json +38 -0
- package/lib/node_modules/@pneuma/settings/connection-test.d.ts +1 -0
- package/lib/node_modules/@pneuma/settings/connection-test.js +1 -0
- package/lib/node_modules/@pneuma/settings/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/settings/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/settings/index.js +1 -0
- package/lib/node_modules/@pneuma/settings/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/settings/locale/ui.en.json +94 -0
- package/lib/node_modules/@pneuma/settings/locale/ui.zh.json +94 -0
- package/lib/node_modules/@pneuma/settings/model-discovery.d.ts +1 -0
- package/lib/node_modules/@pneuma/settings/model-discovery.js +1 -0
- package/lib/node_modules/@pneuma/settings/package.json +38 -0
- package/lib/node_modules/@pneuma/skills/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/skills/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/skills/index.js +1 -0
- package/lib/node_modules/@pneuma/skills/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/skills/package.json +38 -0
- package/lib/node_modules/@pneuma/spill/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/spill/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/spill/index.js +1 -0
- package/lib/node_modules/@pneuma/spill/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/spill/locale/ui.en.json +31 -0
- package/lib/node_modules/@pneuma/spill/locale/ui.zh.json +31 -0
- package/lib/node_modules/@pneuma/spill/package.json +40 -0
- package/lib/node_modules/@pneuma/subagent/agent-roles.d.ts +1 -0
- package/lib/node_modules/@pneuma/subagent/agent-roles.js +1 -0
- package/lib/node_modules/@pneuma/subagent/board-snapshot.d.ts +1 -0
- package/lib/node_modules/@pneuma/subagent/board-snapshot.js +1 -0
- package/lib/node_modules/@pneuma/subagent/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/subagent/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/subagent/index.js +1 -0
- package/lib/node_modules/@pneuma/subagent/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/subagent/locale/ui.en.json +51 -0
- package/lib/node_modules/@pneuma/subagent/locale/ui.zh.json +51 -0
- package/lib/node_modules/@pneuma/subagent/package.json +40 -0
- package/lib/node_modules/@pneuma/superagent/app/api.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/api.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/assessment.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/assessment.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/cache.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/cache.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/cards.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/cards.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/context.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/context.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/delivery.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/delivery.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/effects.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/effects.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/execution-environment.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/execution-environment.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/links.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/links.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/migration.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/migration.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/notices.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/notices.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/outbox.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/outbox.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/passes.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/passes.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/prompts.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/prompts.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/resources.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/resources.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/retry-health.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/retry-health.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/role-models.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/role-models.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/runtime.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/runtime.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/sessions.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/sessions.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/settings-history.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/settings-history.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/settings.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/settings.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/setup.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/setup.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/skill-files.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/skill-files.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/source-context.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/source-context.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/store-read.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/store-read.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/store.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/store.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/tools/executor.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/tools/executor.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/tools/main.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/tools/main.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/tools/tool.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/tools/tool.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/versions.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/versions.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/overview.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/overview.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/records.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/records.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/settings.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/settings.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/sources.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/sources.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/text.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/text.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/threads.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/threads.js +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/tickets.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/app/views/tickets.js +1 -0
- package/lib/node_modules/@pneuma/superagent/cordis.patch.yml +7 -0
- package/lib/node_modules/@pneuma/superagent/core/admission.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/admission.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/assignments.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/assignments.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/engine.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/engine.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/errors.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/errors.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/evals.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/evals.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/ids.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/ids.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/index.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/intake.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/intake.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/limits.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/limits.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/memory.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/memory.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/model.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/model.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/part.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/part.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/policy.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/policy.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/ports.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/ports.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/reasons.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/reasons.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/replies.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/replies.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/stage.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/stage.js +1 -0
- package/lib/node_modules/@pneuma/superagent/core/tickets.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/core/tickets.js +1 -0
- package/lib/node_modules/@pneuma/superagent/deployment.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/deployment.js +1 -0
- package/lib/node_modules/@pneuma/superagent/executor/background.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/executor/background.js +1 -0
- package/lib/node_modules/@pneuma/superagent/executor/dsh.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/executor/dsh.js +1 -0
- package/lib/node_modules/@pneuma/superagent/host/command.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/host/command.js +1 -0
- package/lib/node_modules/@pneuma/superagent/host/health.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/host/health.js +1 -0
- package/lib/node_modules/@pneuma/superagent/host/settings-section.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/host/settings-section.js +1 -0
- package/lib/node_modules/@pneuma/superagent/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/index.js +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/commands.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/commands.js +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/environment.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/environment.js +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/health.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/health.js +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/text.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/infra/text.js +1 -0
- package/lib/node_modules/@pneuma/superagent/kv.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/kv.js +1 -0
- package/lib/node_modules/@pneuma/superagent/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/superagent/locale/ui.en.json +26 -0
- package/lib/node_modules/@pneuma/superagent/locale/ui.zh.json +26 -0
- package/lib/node_modules/@pneuma/superagent/package.json +46 -0
- package/lib/node_modules/@pneuma/superagent/paths.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/paths.js +1 -0
- package/lib/node_modules/@pneuma/superagent/prompts/admission.md +68 -0
- package/lib/node_modules/@pneuma/superagent/prompts/cli.md +17 -0
- package/lib/node_modules/@pneuma/superagent/prompts/dispatch.md +59 -0
- package/lib/node_modules/@pneuma/superagent/prompts/handoff-orchestrator.md +4 -0
- package/lib/node_modules/@pneuma/superagent/prompts/handoff-worker.md +7 -0
- package/lib/node_modules/@pneuma/superagent/prompts/handoff.md +6 -0
- package/lib/node_modules/@pneuma/superagent/prompts/orchestrator.md +16 -0
- package/lib/node_modules/@pneuma/superagent/prompts/replies.md +35 -0
- package/lib/node_modules/@pneuma/superagent/prompts/shared.md +7 -0
- package/lib/node_modules/@pneuma/superagent/prompts/subscriptions.md +13 -0
- package/lib/node_modules/@pneuma/superagent/prompts/team/communication.md +97 -0
- package/lib/node_modules/@pneuma/superagent/prompts/team/delivery.md +28 -0
- package/lib/node_modules/@pneuma/superagent/prompts/team/scope.md +22 -0
- package/lib/node_modules/@pneuma/superagent/prompts/work.md +49 -0
- package/lib/node_modules/@pneuma/superagent/prompts/worker.md +10 -0
- package/lib/node_modules/@pneuma/superagent/setup.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/setup.js +1 -0
- package/lib/node_modules/@pneuma/superagent/skills/dsh-superagent-feishu/SKILL.md +12 -0
- package/lib/node_modules/@pneuma/superagent/skills/dsh-superagent-github/SKILL.md +14 -0
- package/lib/node_modules/@pneuma/superagent/sources/admission-context.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/admission-context.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-channel.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-channel.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-image.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-image.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-loops.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-loops.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-read.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-read.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-trigger.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu-trigger.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/feishu.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-channel.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-channel.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-pull.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-pull.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-read.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-read.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-trigger.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github-trigger.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/github.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/host.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/host.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/kind.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/kind.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/poll.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/poll.js +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/registry.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent/sources/registry.js +1 -0
- package/lib/node_modules/@pneuma/superagent-webhook/cordis.patch.yml +9 -0
- package/lib/node_modules/@pneuma/superagent-webhook/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent-webhook/index.js +1 -0
- package/lib/node_modules/@pneuma/superagent-webhook/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/superagent-webhook/package.json +39 -0
- package/lib/node_modules/@pneuma/superagent-webhook/tests/settings-contract.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent-webhook/tests/settings-contract.js +1 -0
- package/lib/node_modules/@pneuma/superagent-webhook/webhook.d.ts +1 -0
- package/lib/node_modules/@pneuma/superagent-webhook/webhook.js +1 -0
- package/lib/node_modules/@pneuma/surfaces/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/surfaces/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/surfaces/index.js +1 -0
- package/lib/node_modules/@pneuma/surfaces/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/surfaces/package.json +38 -0
- package/lib/node_modules/@pneuma/surfaces/surface-registry.d.ts +1 -0
- package/lib/node_modules/@pneuma/surfaces/surface-registry.js +1 -0
- package/lib/node_modules/@pneuma/todo/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/todo/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/todo/index.js +1 -0
- package/lib/node_modules/@pneuma/todo/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/todo/locale/ui.en.json +11 -0
- package/lib/node_modules/@pneuma/todo/locale/ui.zh.json +11 -0
- package/lib/node_modules/@pneuma/todo/package.json +39 -0
- package/lib/node_modules/@pneuma/todo/todo.d.ts +1 -0
- package/lib/node_modules/@pneuma/todo/todo.js +1 -0
- package/lib/node_modules/@pneuma/tool-search/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/tool-search/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/tool-search/index.js +1 -0
- package/lib/node_modules/@pneuma/tool-search/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/tool-search/locale/ui.en.json +36 -0
- package/lib/node_modules/@pneuma/tool-search/locale/ui.zh.json +36 -0
- package/lib/node_modules/@pneuma/tool-search/package.json +40 -0
- package/lib/node_modules/@pneuma/tool-search/tool-search.d.ts +1 -0
- package/lib/node_modules/@pneuma/tool-search/tool-search.js +1 -0
- package/lib/node_modules/@pneuma/tools/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/tools/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/tools/index.js +1 -0
- package/lib/node_modules/@pneuma/tools/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/tools/package.json +38 -0
- package/lib/node_modules/@pneuma/tools-default/bash.d.ts +1 -0
- package/lib/node_modules/@pneuma/tools-default/bash.js +1 -0
- package/lib/node_modules/@pneuma/tools-default/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/tools-default/image-tool.d.ts +1 -0
- package/lib/node_modules/@pneuma/tools-default/image-tool.js +1 -0
- package/lib/node_modules/@pneuma/tools-default/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/tools-default/index.js +1 -0
- package/lib/node_modules/@pneuma/tools-default/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/tools-default/locale/ui.en.json +27 -0
- package/lib/node_modules/@pneuma/tools-default/locale/ui.zh.json +27 -0
- package/lib/node_modules/@pneuma/tools-default/package.json +39 -0
- package/lib/node_modules/@pneuma/tools-default/persistent-shell.d.ts +1 -0
- package/lib/node_modules/@pneuma/tools-default/persistent-shell.js +1 -0
- package/lib/node_modules/@pneuma/tools-default/search-tools.d.ts +1 -0
- package/lib/node_modules/@pneuma/tools-default/search-tools.js +1 -0
- package/lib/node_modules/@pneuma/transcript/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/transcript/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/transcript/index.js +1 -0
- package/lib/node_modules/@pneuma/transcript/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/transcript/package.json +38 -0
- package/lib/node_modules/@pneuma/tui/app/AgentsOverlay.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/AgentsOverlay.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/App.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/App.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/ApprovalCard.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/ApprovalCard.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/AskCard.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/AskCard.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/ChatView.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/ChatView.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/Composer.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/Composer.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/DiffBlock.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/DiffBlock.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/MarkdownView.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/MarkdownView.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/ModelPicker.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/ModelPicker.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/PickerFrame.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/PickerFrame.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/PlanReviewCard.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/PlanReviewCard.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/PresetPicker.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/PresetPicker.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/PreviewOverlay.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/PreviewOverlay.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/SessionPicker.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/SessionPicker.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/SettingsOverlay.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/SettingsOverlay.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/SkillsPicker.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/SkillsPicker.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/StatusBar.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/StatusBar.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/TaskStrips.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/TaskStrips.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/TimelineRail.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/TimelineRail.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/ToolCard.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/ToolCard.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/TranscriptOverlay.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/TranscriptOverlay.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/TranscriptViewport.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/TranscriptViewport.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/Welcome.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/Welcome.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/attach.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/attach.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/click.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/click.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/clipboard-image.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/clipboard-image.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/cursor.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/cursor.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/display-width.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/display-width.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/history-store.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/history-store.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/image-blocks.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/image-blocks.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/keymap.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/keymap.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/markdown.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/markdown.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/mouse.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/mouse.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/pointer.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/pointer.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/scroll-model.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/scroll-model.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/settings-model.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/settings-model.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/snapshot-subscribe.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/snapshot-subscribe.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/theme.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/theme.js +1 -0
- package/lib/node_modules/@pneuma/tui/app/ticker.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/app/ticker.js +1 -0
- package/lib/node_modules/@pneuma/tui/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/tui/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/tui/index.js +1 -0
- package/lib/node_modules/@pneuma/tui/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/tui/package.json +38 -0
- package/lib/node_modules/@pneuma/ui-actions/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-actions/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-actions/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-actions/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-actions/locale/ui.en.json +3 -0
- package/lib/node_modules/@pneuma/ui-actions/locale/ui.zh.json +3 -0
- package/lib/node_modules/@pneuma/ui-actions/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-ask/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-ask/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-ask/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-ask/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-ask/locale/ui.en.json +28 -0
- package/lib/node_modules/@pneuma/ui-ask/locale/ui.zh.json +28 -0
- package/lib/node_modules/@pneuma/ui-ask/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-boot/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-boot/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-boot/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-boot/locale/ui.en.json +28 -0
- package/lib/node_modules/@pneuma/ui-boot/locale/ui.zh.json +28 -0
- package/lib/node_modules/@pneuma/ui-boot/package.json +38 -0
- package/lib/node_modules/@pneuma/ui-browser/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-browser/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-browser/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-browser/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-browser/locale/ui.en.json +17 -0
- package/lib/node_modules/@pneuma/ui-browser/locale/ui.zh.json +17 -0
- package/lib/node_modules/@pneuma/ui-browser/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-composer/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-composer/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-composer/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-composer/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-composer/locale/ui.en.json +161 -0
- package/lib/node_modules/@pneuma/ui-composer/locale/ui.zh.json +161 -0
- package/lib/node_modules/@pneuma/ui-composer/package.json +44 -0
- package/lib/node_modules/@pneuma/ui-core/arrival.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/arrival.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/frames.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/frames.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/i18n.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/i18n.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-core/package.json +37 -0
- package/lib/node_modules/@pneuma/ui-core/plugin.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/plugin.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/scoped-slots.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/scoped-slots.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/services-react.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/services-react.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/services.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/services.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/signal.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/signal.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/slots-ink.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/slots-ink.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/slots-react.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/slots-react.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/slots.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/slots.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/store.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/store.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/tui-plugin-api.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/tui-plugin-api.js +1 -0
- package/lib/node_modules/@pneuma/ui-core/tui-plugins.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-core/tui-plugins.js +1 -0
- package/lib/node_modules/@pneuma/ui-dockkit/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-dockkit/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-dockkit/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-dockkit/locale/ui.en.json +21 -0
- package/lib/node_modules/@pneuma/ui-dockkit/locale/ui.zh.json +21 -0
- package/lib/node_modules/@pneuma/ui-dockkit/package.json +33 -0
- package/lib/node_modules/@pneuma/ui-files/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-files/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-files/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-files/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-files/locale/ui.en.json +43 -0
- package/lib/node_modules/@pneuma/ui-files/locale/ui.zh.json +43 -0
- package/lib/node_modules/@pneuma/ui-files/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-layout/cordis.patch.yml +7 -0
- package/lib/node_modules/@pneuma/ui-layout/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-layout/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-layout/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-layout/locale/ui.en.json +112 -0
- package/lib/node_modules/@pneuma/ui-layout/locale/ui.zh.json +112 -0
- package/lib/node_modules/@pneuma/ui-layout/package.json +44 -0
- package/lib/node_modules/@pneuma/ui-palette/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-palette/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-palette/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-palette/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-palette/locale/ui.en.json +35 -0
- package/lib/node_modules/@pneuma/ui-palette/locale/ui.zh.json +35 -0
- package/lib/node_modules/@pneuma/ui-palette/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-plugins/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-plugins/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-plugins/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-plugins/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-plugins/locale/ui.en.json +134 -0
- package/lib/node_modules/@pneuma/ui-plugins/locale/ui.zh.json +134 -0
- package/lib/node_modules/@pneuma/ui-plugins/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-preview/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-preview/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-preview/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-preview/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-preview/locale/ui.en.json +29 -0
- package/lib/node_modules/@pneuma/ui-preview/locale/ui.zh.json +29 -0
- package/lib/node_modules/@pneuma/ui-preview/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-primitives/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-primitives/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-primitives/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-primitives/locale/ui.en.json +167 -0
- package/lib/node_modules/@pneuma/ui-primitives/locale/ui.zh.json +167 -0
- package/lib/node_modules/@pneuma/ui-primitives/package.json +33 -0
- package/lib/node_modules/@pneuma/ui-prompt/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-prompt/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-prompt/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-prompt/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-prompt/locale/ui.en.json +73 -0
- package/lib/node_modules/@pneuma/ui-prompt/locale/ui.zh.json +73 -0
- package/lib/node_modules/@pneuma/ui-prompt/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-renderer/cordis.patch.yml +7 -0
- package/lib/node_modules/@pneuma/ui-renderer/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-renderer/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-renderer/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-renderer/locale/ui.en.json +14 -0
- package/lib/node_modules/@pneuma/ui-renderer/locale/ui.zh.json +14 -0
- package/lib/node_modules/@pneuma/ui-renderer/package.json +45 -0
- package/lib/node_modules/@pneuma/ui-runtime/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-runtime/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-runtime/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-runtime/locale/ui.en.json +5 -0
- package/lib/node_modules/@pneuma/ui-runtime/locale/ui.zh.json +5 -0
- package/lib/node_modules/@pneuma/ui-runtime/package.json +33 -0
- package/lib/node_modules/@pneuma/ui-sessions/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-sessions/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-sessions/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-sessions/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-sessions/locale/ui.en.json +119 -0
- package/lib/node_modules/@pneuma/ui-sessions/locale/ui.zh.json +119 -0
- package/lib/node_modules/@pneuma/ui-sessions/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-settings/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-settings/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-settings/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-settings/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-settings/locale/ui.en.json +490 -0
- package/lib/node_modules/@pneuma/ui-settings/locale/ui.zh.json +490 -0
- package/lib/node_modules/@pneuma/ui-settings/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-skills/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-skills/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-skills/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-skills/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-skills/locale/ui.en.json +93 -0
- package/lib/node_modules/@pneuma/ui-skills/locale/ui.zh.json +93 -0
- package/lib/node_modules/@pneuma/ui-skills/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-slots/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-slots/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-slots/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-slots/locale/ui.en.json +4 -0
- package/lib/node_modules/@pneuma/ui-slots/locale/ui.zh.json +4 -0
- package/lib/node_modules/@pneuma/ui-slots/package.json +33 -0
- package/lib/node_modules/@pneuma/ui-status/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-status/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-status/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-status/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-status/locale/ui.en.json +134 -0
- package/lib/node_modules/@pneuma/ui-status/locale/ui.zh.json +134 -0
- package/lib/node_modules/@pneuma/ui-status/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-statusbar/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-statusbar/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-statusbar/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-statusbar/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-statusbar/locale/ui.en.json +33 -0
- package/lib/node_modules/@pneuma/ui-statusbar/locale/ui.zh.json +33 -0
- package/lib/node_modules/@pneuma/ui-statusbar/package.json +44 -0
- package/lib/node_modules/@pneuma/ui-superagent/cordis.patch.yml +10 -0
- package/lib/node_modules/@pneuma/ui-superagent/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-superagent/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-superagent/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-superagent/locale/ui.en.json +117 -0
- package/lib/node_modules/@pneuma/ui-superagent/locale/ui.zh.json +117 -0
- package/lib/node_modules/@pneuma/ui-superagent/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-tasks/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-tasks/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-tasks/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-tasks/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-tasks/locale/ui.en.json +22 -0
- package/lib/node_modules/@pneuma/ui-tasks/locale/ui.zh.json +22 -0
- package/lib/node_modules/@pneuma/ui-tasks/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-team/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-team/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-team/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-team/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-team/locale/ui.en.json +19 -0
- package/lib/node_modules/@pneuma/ui-team/locale/ui.zh.json +19 -0
- package/lib/node_modules/@pneuma/ui-team/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-terminal/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-terminal/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-terminal/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-terminal/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-terminal/locale/ui.en.json +9 -0
- package/lib/node_modules/@pneuma/ui-terminal/locale/ui.zh.json +9 -0
- package/lib/node_modules/@pneuma/ui-terminal/package.json +43 -0
- package/lib/node_modules/@pneuma/ui-trace/cordis.patch.yml +5 -0
- package/lib/node_modules/@pneuma/ui-trace/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-trace/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-trace/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-trace/locale/ui.en.json +118 -0
- package/lib/node_modules/@pneuma/ui-trace/locale/ui.zh.json +118 -0
- package/lib/node_modules/@pneuma/ui-trace/package.json +46 -0
- package/lib/node_modules/@pneuma/ui-transcript/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/ui-transcript/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/ui-transcript/index.js +1 -0
- package/lib/node_modules/@pneuma/ui-transcript/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/ui-transcript/locale/ui.en.json +281 -0
- package/lib/node_modules/@pneuma/ui-transcript/locale/ui.zh.json +281 -0
- package/lib/node_modules/@pneuma/ui-transcript/package.json +43 -0
- package/lib/node_modules/@pneuma/waiting/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/waiting/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/waiting/index.js +1 -0
- package/lib/node_modules/@pneuma/waiting/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/waiting/package.json +38 -0
- package/lib/node_modules/@pneuma/web-fetch/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/web-fetch/html.d.ts +1 -0
- package/lib/node_modules/@pneuma/web-fetch/html.js +1 -0
- package/lib/node_modules/@pneuma/web-fetch/http.d.ts +1 -0
- package/lib/node_modules/@pneuma/web-fetch/http.js +1 -0
- package/lib/node_modules/@pneuma/web-fetch/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/web-fetch/index.js +1 -0
- package/lib/node_modules/@pneuma/web-fetch/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/web-fetch/locale/ui.en.json +14 -0
- package/lib/node_modules/@pneuma/web-fetch/locale/ui.zh.json +14 -0
- package/lib/node_modules/@pneuma/web-fetch/package.json +40 -0
- package/lib/node_modules/@pneuma/web-search/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/web-search/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/web-search/index.js +1 -0
- package/lib/node_modules/@pneuma/web-search/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/web-search/locale/ui.en.json +30 -0
- package/lib/node_modules/@pneuma/web-search/locale/ui.zh.json +30 -0
- package/lib/node_modules/@pneuma/web-search/package.json +40 -0
- package/lib/node_modules/@pneuma/webserver/cordis.patch.yml +4 -0
- package/lib/node_modules/@pneuma/webserver/index.d.ts +1 -0
- package/lib/node_modules/@pneuma/webserver/index.js +1 -0
- package/lib/node_modules/@pneuma/webserver/locale/en.json +4 -0
- package/lib/node_modules/@pneuma/webserver/package.json +38 -0
- package/lib/packages/agent/cache-probe.d.ts +56 -0
- package/lib/packages/agent/cache-probe.js +169 -0
- package/lib/packages/agent/index.d.ts +21 -0
- package/lib/packages/agent/index.js +511 -0
- package/lib/packages/agent/locale/en.json +4 -0
- package/lib/packages/approval/approval.d.ts +11 -0
- package/lib/packages/approval/approval.js +11 -0
- package/lib/packages/approval/call-meaning.js +347 -0
- package/lib/packages/approval/index.d.ts +26 -0
- package/lib/packages/approval/index.js +1413 -0
- package/lib/packages/approval/locale/en.json +4 -0
- package/lib/packages/approval-floor/approval-floor.d.ts +192 -0
- package/lib/packages/approval-floor/approval-floor.js +851 -0
- package/lib/packages/approval-floor/index.js +236 -0
- package/lib/packages/approval-floor/locale/en.json +4 -0
- package/lib/packages/approval-floor/locale/ui.en.json +28 -0
- package/lib/packages/approval-floor/locale/ui.zh.json +28 -0
- package/lib/packages/ask/index.js +298 -0
- package/lib/packages/ask/locale/en.json +4 -0
- package/lib/packages/browser/index.d.ts +72 -0
- package/lib/packages/browser/index.js +1286 -0
- package/lib/packages/browser/locale/en.json +4 -0
- package/lib/packages/browser/locale/ui.en.json +61 -0
- package/lib/packages/browser/locale/ui.zh.json +61 -0
- package/lib/packages/cdp/actions.js +655 -0
- package/lib/packages/cdp/cloud-metadata.d.ts +9 -0
- package/lib/packages/cdp/cloud-metadata.js +16 -0
- package/lib/packages/cdp/index.d.ts +21 -0
- package/lib/packages/cdp/index.js +21 -0
- package/lib/packages/cdp/launch.js +491 -0
- package/lib/packages/cdp/locale/en.json +4 -0
- package/lib/packages/cdp/report.d.ts +42 -0
- package/lib/packages/cdp/report.js +76 -0
- package/lib/packages/cdp/ring-buffer.d.ts +25 -0
- package/lib/packages/cdp/ring-buffer.js +44 -0
- package/lib/packages/cdp/snapshot.d.ts +139 -0
- package/lib/packages/cdp/snapshot.js +312 -0
- package/lib/packages/cdp/transport.d.ts +147 -0
- package/lib/packages/cdp/transport.js +359 -0
- package/lib/packages/checkpoint/index.d.ts +21 -0
- package/lib/packages/checkpoint/index.js +360 -0
- package/lib/packages/checkpoint/locale/en.json +4 -0
- package/lib/packages/checkpoint/locale/ui.en.json +15 -0
- package/lib/packages/checkpoint/locale/ui.zh.json +15 -0
- package/lib/packages/checkpoint/shadow.d.ts +166 -0
- package/lib/packages/checkpoint/shadow.js +832 -0
- package/lib/packages/cli/config-cli.js +89 -0
- package/lib/packages/cli/index.d.ts +20 -0
- package/lib/packages/cli/index.js +18 -0
- package/lib/packages/cli/locale/en.json +4 -0
- package/lib/packages/cli/plugin-cli.js +626 -0
- package/lib/packages/cli/pnpm-builds.d.ts +26 -0
- package/lib/packages/cli/pnpm-builds.js +68 -0
- package/lib/packages/commands/index.d.ts +28 -0
- package/lib/packages/commands/index.js +620 -0
- package/lib/packages/commands/locale/en.json +4 -0
- package/lib/packages/commands/session-export.d.ts +18 -0
- package/lib/packages/commands/session-export.js +73 -0
- package/lib/packages/commands-core/commands-completion.d.ts +106 -0
- package/lib/packages/commands-core/index.d.ts +16 -0
- package/lib/packages/commands-core/index.js +16 -0
- package/lib/packages/commands-core/locale/en.json +4 -0
- package/lib/packages/compact/index.d.ts +21 -0
- package/lib/packages/compact/index.js +457 -0
- package/lib/packages/compact/locale/en.json +4 -0
- package/lib/packages/compact/locale/ui.en.json +24 -0
- package/lib/packages/compact/locale/ui.zh.json +24 -0
- package/lib/packages/computer-use/desktop-control.d.ts +298 -0
- package/lib/packages/computer-use/desktop-control.js +1309 -0
- package/lib/packages/computer-use/index.d.ts +47 -0
- package/lib/packages/computer-use/index.js +564 -0
- package/lib/packages/computer-use/locale/en.json +4 -0
- package/lib/packages/computer-use/locale/ui.en.json +41 -0
- package/lib/packages/computer-use/locale/ui.zh.json +41 -0
- package/lib/packages/config-core/index.d.ts +15 -0
- package/lib/packages/config-core/index.js +15 -0
- package/lib/packages/config-core/locale/en.json +4 -0
- package/lib/packages/config-core/market.d.ts +107 -0
- package/lib/packages/config-core/market.js +730 -0
- package/lib/packages/config-core/presets.d.ts +104 -0
- package/lib/packages/config-core/presets.js +423 -0
- package/lib/packages/desktop-dock/index.d.ts +13 -0
- package/lib/packages/desktop-dock/index.js +719 -0
- package/lib/packages/desktop-dock/locale/en.json +4 -0
- package/lib/packages/desktop-dock/locale/ui.en.json +11 -0
- package/lib/packages/desktop-dock/locale/ui.zh.json +11 -0
- package/lib/packages/dock-browser/index.d.ts +38 -0
- package/lib/packages/dock-browser/index.js +898 -0
- package/lib/packages/dock-browser/locale/en.json +4 -0
- package/lib/packages/dock-browser/locale/ui.en.json +10 -0
- package/lib/packages/dock-browser/locale/ui.zh.json +10 -0
- package/lib/packages/doctor/bundle.d.ts +93 -0
- package/lib/packages/doctor/bundle.js +159 -0
- package/lib/packages/doctor/checks/data.d.ts +19 -0
- package/lib/packages/doctor/checks/data.js +143 -0
- package/lib/packages/doctor/checks/ecosystem.d.ts +12 -0
- package/lib/packages/doctor/checks/ecosystem.js +125 -0
- package/lib/packages/doctor/checks/environment.d.ts +9 -0
- package/lib/packages/doctor/checks/environment.js +130 -0
- package/lib/packages/doctor/checks/util.d.ts +27 -0
- package/lib/packages/doctor/checks/util.js +100 -0
- package/lib/packages/doctor/index.d.ts +26 -0
- package/lib/packages/doctor/index.js +168 -0
- package/lib/packages/doctor/locale/en.json +4 -0
- package/lib/packages/dsh-compat/index.js +44 -0
- package/lib/packages/dsh-compat/locale/en.json +4 -0
- package/lib/packages/git/index.js +177 -0
- package/lib/packages/git/locale/en.json +4 -0
- package/lib/packages/goal/goal.d.ts +77 -0
- package/lib/packages/goal/index.d.ts +22 -0
- package/lib/packages/goal/index.js +333 -0
- package/lib/packages/goal/locale/en.json +4 -0
- package/lib/packages/goal/locale/ui.en.json +10 -0
- package/lib/packages/goal/locale/ui.zh.json +10 -0
- package/lib/packages/guards/index.js +22 -0
- package/lib/packages/guards/locale/en.json +4 -0
- package/lib/packages/hooks/index.d.ts +26 -0
- package/lib/packages/hooks/index.js +966 -0
- package/lib/packages/hooks/lifecycle-hooks.d.ts +217 -0
- package/lib/packages/hooks/lifecycle-hooks.js +608 -0
- package/lib/packages/hooks/locale/en.json +4 -0
- package/lib/packages/hooks/locale/ui.en.json +111 -0
- package/lib/packages/hooks/locale/ui.zh.json +111 -0
- package/lib/packages/host-stdio/index.d.ts +88 -0
- package/lib/packages/host-stdio/index.js +330 -0
- package/lib/packages/host-stdio/locale/en.json +4 -0
- package/lib/packages/image-diet/index.js +92 -0
- package/lib/packages/image-diet/locale/en.json +4 -0
- package/lib/packages/image-diet/locale/ui.en.json +14 -0
- package/lib/packages/image-diet/locale/ui.zh.json +14 -0
- package/lib/packages/llm/index.d.ts +13 -0
- package/lib/packages/llm/index.js +275 -0
- package/lib/packages/llm/locale/en.json +4 -0
- package/lib/packages/log/filter.d.ts +37 -0
- package/lib/packages/log/filter.js +43 -0
- package/lib/packages/log/index.d.ts +30 -0
- package/lib/packages/log/index.js +311 -0
- package/lib/packages/log/locale/en.json +4 -0
- package/lib/packages/log/locale/ui.en.json +30 -0
- package/lib/packages/log/locale/ui.zh.json +30 -0
- package/lib/packages/log/sink.d.ts +91 -0
- package/lib/packages/log/sink.js +286 -0
- package/lib/packages/lsp/client.js +703 -0
- package/lib/packages/lsp/index.d.ts +54 -0
- package/lib/packages/lsp/index.js +616 -0
- package/lib/packages/lsp/locale/en.json +4 -0
- package/lib/packages/lsp/locale/ui.en.json +17 -0
- package/lib/packages/lsp/locale/ui.zh.json +17 -0
- package/lib/packages/lsp/manager.js +418 -0
- package/lib/packages/lsp/normalize.js +134 -0
- package/lib/packages/lsp/servers.js +349 -0
- package/lib/packages/mcp/index.js +717 -0
- package/lib/packages/mcp/locale/en.json +4 -0
- package/lib/packages/mcp/locale/ui.en.json +28 -0
- package/lib/packages/mcp/locale/ui.zh.json +28 -0
- package/lib/packages/mcp/mcp.d.ts +207 -0
- package/lib/packages/mcp/mcp.js +807 -0
- package/lib/packages/memory/index.d.ts +36 -0
- package/lib/packages/memory/index.js +930 -0
- package/lib/packages/memory/locale/en.json +4 -0
- package/lib/packages/memory/locale/ui.en.json +67 -0
- package/lib/packages/memory/locale/ui.zh.json +67 -0
- package/lib/packages/memory/memory.d.ts +187 -0
- package/lib/packages/memory/memory.js +704 -0
- package/lib/packages/microcompact/index.d.ts +31 -0
- package/lib/packages/microcompact/index.js +261 -0
- package/lib/packages/microcompact/locale/en.json +4 -0
- package/lib/packages/microcompact/locale/ui.en.json +20 -0
- package/lib/packages/microcompact/locale/ui.zh.json +20 -0
- package/lib/packages/microcompact/microcompact.d.ts +142 -0
- package/lib/packages/microcompact/microcompact.js +268 -0
- package/lib/packages/mode/index.d.ts +18 -0
- package/lib/packages/mode/index.js +138 -0
- package/lib/packages/mode/locale/en.json +4 -0
- package/lib/packages/ops/index.d.ts +36 -0
- package/lib/packages/ops/index.js +187 -0
- package/lib/packages/ops/locale/en.json +4 -0
- package/lib/packages/ops/locale/ui.en.json +21 -0
- package/lib/packages/ops/locale/ui.zh.json +21 -0
- package/lib/packages/ops/render.d.ts +43 -0
- package/lib/packages/ops/render.js +324 -0
- package/lib/packages/ops/tools.d.ts +17 -0
- package/lib/packages/ops/tools.js +640 -0
- package/lib/packages/ops/worker.d.ts +63 -0
- package/lib/packages/ops/worker.js +294 -0
- package/lib/packages/permission-core/index.d.ts +15 -0
- package/lib/packages/permission-core/index.js +15 -0
- package/lib/packages/permission-core/locale/en.json +4 -0
- package/lib/packages/permission-core/permission-presets.d.ts +71 -0
- package/lib/packages/permission-core/permission-scope.d.ts +65 -0
- package/lib/packages/permission-presets/index.d.ts +19 -0
- package/lib/packages/permission-presets/index.js +176 -0
- package/lib/packages/permission-presets/locale/en.json +4 -0
- package/lib/packages/permission-presets/locale/ui.en.json +10 -0
- package/lib/packages/permission-presets/locale/ui.zh.json +10 -0
- package/lib/packages/plan/index.js +261 -0
- package/lib/packages/plan/locale/en.json +4 -0
- package/lib/packages/plugin-manager/index.js +217 -0
- package/lib/packages/plugin-manager/locale/en.json +4 -0
- package/lib/packages/presets/index.js +243 -0
- package/lib/packages/presets/locale/en.json +4 -0
- package/lib/packages/presets/locale/ui.en.json +10 -0
- package/lib/packages/presets/locale/ui.zh.json +10 -0
- package/lib/packages/prompt/index.d.ts +25 -0
- package/lib/packages/prompt/index.js +441 -0
- package/lib/packages/prompt/locale/en.json +4 -0
- package/lib/packages/prompt/tool-result-prune.d.ts +93 -0
- package/lib/packages/prompt/tool-result-prune.js +212 -0
- package/lib/packages/ptc/index.js +377 -0
- package/lib/packages/ptc/locale/en.json +4 -0
- package/lib/packages/remote/http.d.ts +11 -0
- package/lib/packages/remote/http.js +11 -0
- package/lib/packages/remote/index.d.ts +17 -0
- package/lib/packages/remote/index.js +1189 -0
- package/lib/packages/remote/locale/en.json +4 -0
- package/lib/packages/remote/locale/ui.en.json +76 -0
- package/lib/packages/remote/locale/ui.zh.json +76 -0
- package/lib/packages/remote/routes.js +384 -0
- package/lib/packages/remote/types.d.ts +135 -0
- package/lib/packages/remote/types.js +102 -0
- package/lib/packages/runtime/index.js +678 -0
- package/lib/packages/runtime/locale/en.json +4 -0
- package/lib/packages/runtime-api/index.js +126 -0
- package/lib/packages/runtime-api/inspect.d.ts +29 -0
- package/lib/packages/runtime-api/inspect.js +73 -0
- package/lib/packages/runtime-api/locale/en.json +4 -0
- package/lib/packages/sandbox/backends.d.ts +64 -0
- package/lib/packages/sandbox/execpolicy.d.ts +74 -0
- package/lib/packages/sandbox/execpolicy.js +244 -0
- package/lib/packages/sandbox/index.js +1132 -0
- package/lib/packages/sandbox/locale/en.json +4 -0
- package/lib/packages/sandbox/locale/ui.en.json +78 -0
- package/lib/packages/sandbox/locale/ui.zh.json +78 -0
- package/lib/packages/sandbox/net-proxy.js +202 -0
- package/lib/packages/sandbox/policy.d.ts +294 -0
- package/lib/packages/sandbox/policy.js +674 -0
- package/lib/packages/sandbox/review.d.ts +141 -0
- package/lib/packages/sandbox/review.js +348 -0
- package/lib/packages/sandbox/win/account.js +203 -0
- package/lib/packages/sandbox/win/backend.d.ts +107 -0
- package/lib/packages/sandbox/win/backend.js +425 -0
- package/lib/packages/sandbox/win/doctor.js +269 -0
- package/lib/packages/sandbox/win/ffi.d.ts +116 -0
- package/lib/packages/sandbox/win/ffi.js +185 -0
- package/lib/packages/sandbox/win/interpreter.d.ts +44 -0
- package/lib/packages/sandbox/win/interpreter.js +47 -0
- package/lib/packages/sandbox/win/runner-entry.d.ts +61 -0
- package/lib/packages/sandbox/win/runner-entry.js +898 -0
- package/lib/packages/sandbox/win/setup.d.ts +134 -0
- package/lib/packages/sandbox/win/setup.js +1384 -0
- package/lib/packages/sandbox/win/sweep.d.ts +36 -0
- package/lib/packages/sandbox/win/sweep.js +115 -0
- package/lib/packages/sandbox/win/wfp.js +197 -0
- package/lib/packages/schedule/index.d.ts +41 -0
- package/lib/packages/schedule/index.js +612 -0
- package/lib/packages/schedule/locale/en.json +4 -0
- package/lib/packages/schedule/locale/ui.en.json +29 -0
- package/lib/packages/schedule/locale/ui.zh.json +29 -0
- package/lib/packages/self-improve/index.d.ts +140 -0
- package/lib/packages/self-improve/index.js +1312 -0
- package/lib/packages/self-improve/ledger.d.ts +75 -0
- package/lib/packages/self-improve/ledger.js +364 -0
- package/lib/packages/self-improve/locale/en.json +4 -0
- package/lib/packages/self-improve/locale/ui.en.json +31 -0
- package/lib/packages/self-improve/locale/ui.zh.json +31 -0
- package/lib/packages/self-improve/skill-write.d.ts +257 -0
- package/lib/packages/self-improve/skill-write.js +890 -0
- package/lib/packages/self-improve/store.js +266 -0
- package/lib/packages/session/index.js +383 -0
- package/lib/packages/session/locale/en.json +4 -0
- package/lib/packages/session-core/compact.d.ts +140 -0
- package/lib/packages/session-core/compact.js +282 -0
- package/lib/packages/session-core/hooks.d.ts +289 -0
- package/lib/packages/session-core/hooks.js +862 -0
- package/lib/packages/session-core/index.d.ts +20 -0
- package/lib/packages/session-core/index.js +20 -0
- package/lib/packages/session-core/locale/en.json +4 -0
- package/lib/packages/session-core/loop.d.ts +215 -0
- package/lib/packages/session-core/loop.js +726 -0
- package/lib/packages/session-core/modes.d.ts +72 -0
- package/lib/packages/session-core/modes.js +152 -0
- package/lib/packages/session-core/prompt.d.ts +124 -0
- package/lib/packages/session-core/prompt.js +436 -0
- package/lib/packages/session-search/index.js +323 -0
- package/lib/packages/session-search/locale/en.json +4 -0
- package/lib/packages/session-search/locale/ui.en.json +29 -0
- package/lib/packages/session-search/locale/ui.zh.json +29 -0
- package/lib/packages/session-search/session-index.js +849 -0
- package/lib/packages/session-title/index.js +109 -0
- package/lib/packages/session-title/locale/en.json +4 -0
- package/lib/packages/settings/connection-test.d.ts +60 -0
- package/lib/packages/settings/connection-test.js +84 -0
- package/lib/packages/settings/index.d.ts +3 -0
- package/lib/packages/settings/index.js +689 -0
- package/lib/packages/settings/locale/en.json +4 -0
- package/lib/packages/settings/locale/ui.en.json +94 -0
- package/lib/packages/settings/locale/ui.zh.json +94 -0
- package/lib/packages/skills/index.d.ts +13 -0
- package/lib/packages/skills/index.js +499 -0
- package/lib/packages/skills/locale/en.json +4 -0
- package/lib/packages/spill/index.js +223 -0
- package/lib/packages/spill/locale/en.json +4 -0
- package/lib/packages/spill/locale/ui.en.json +31 -0
- package/lib/packages/spill/locale/ui.zh.json +31 -0
- package/lib/packages/subagent/agent-roles.d.ts +78 -0
- package/lib/packages/subagent/agent-roles.js +425 -0
- package/lib/packages/subagent/board-snapshot.d.ts +114 -0
- package/lib/packages/subagent/board-snapshot.js +194 -0
- package/lib/packages/subagent/index.d.ts +133 -0
- package/lib/packages/subagent/index.js +2414 -0
- package/lib/packages/subagent/locale/en.json +4 -0
- package/lib/packages/subagent/locale/ui.en.json +51 -0
- package/lib/packages/subagent/locale/ui.zh.json +51 -0
- package/lib/packages/superagent/app/api.d.ts +99 -0
- package/lib/packages/superagent/app/api.js +556 -0
- package/lib/packages/superagent/app/assessment.d.ts +573 -0
- package/lib/packages/superagent/app/assessment.js +303 -0
- package/lib/packages/superagent/app/cache.d.ts +22 -0
- package/lib/packages/superagent/app/cache.js +42 -0
- package/lib/packages/superagent/app/cards.d.ts +278 -0
- package/lib/packages/superagent/app/cards.js +103 -0
- package/lib/packages/superagent/app/context.d.ts +35 -0
- package/lib/packages/superagent/app/context.js +49 -0
- package/lib/packages/superagent/app/delivery.d.ts +118 -0
- package/lib/packages/superagent/app/delivery.js +189 -0
- package/lib/packages/superagent/app/effects.d.ts +97 -0
- package/lib/packages/superagent/app/effects.js +162 -0
- package/lib/packages/superagent/app/execution-environment.d.ts +42 -0
- package/lib/packages/superagent/app/execution-environment.js +47 -0
- package/lib/packages/superagent/app/links.d.ts +192 -0
- package/lib/packages/superagent/app/links.js +59 -0
- package/lib/packages/superagent/app/migration.d.ts +40 -0
- package/lib/packages/superagent/app/migration.js +674 -0
- package/lib/packages/superagent/app/notices.d.ts +60 -0
- package/lib/packages/superagent/app/notices.js +128 -0
- package/lib/packages/superagent/app/outbox.d.ts +39 -0
- package/lib/packages/superagent/app/outbox.js +50 -0
- package/lib/packages/superagent/app/passes.d.ts +44 -0
- package/lib/packages/superagent/app/passes.js +65 -0
- package/lib/packages/superagent/app/prompts.d.ts +220 -0
- package/lib/packages/superagent/app/prompts.js +259 -0
- package/lib/packages/superagent/app/resources.d.ts +41 -0
- package/lib/packages/superagent/app/resources.js +394 -0
- package/lib/packages/superagent/app/retry-health.d.ts +36 -0
- package/lib/packages/superagent/app/retry-health.js +112 -0
- package/lib/packages/superagent/app/role-models.d.ts +45 -0
- package/lib/packages/superagent/app/role-models.js +26 -0
- package/lib/packages/superagent/app/runtime.d.ts +94 -0
- package/lib/packages/superagent/app/runtime.js +331 -0
- package/lib/packages/superagent/app/sessions.d.ts +275 -0
- package/lib/packages/superagent/app/sessions.js +676 -0
- package/lib/packages/superagent/app/settings-history.d.ts +34 -0
- package/lib/packages/superagent/app/settings-history.js +105 -0
- package/lib/packages/superagent/app/settings.d.ts +198 -0
- package/lib/packages/superagent/app/settings.js +260 -0
- package/lib/packages/superagent/app/setup.d.ts +67 -0
- package/lib/packages/superagent/app/setup.js +98 -0
- package/lib/packages/superagent/app/skill-files.d.ts +19 -0
- package/lib/packages/superagent/app/skill-files.js +54 -0
- package/lib/packages/superagent/app/source-context.d.ts +46 -0
- package/lib/packages/superagent/app/source-context.js +48 -0
- package/lib/packages/superagent/app/store-read.d.ts +69 -0
- package/lib/packages/superagent/app/store-read.js +75 -0
- package/lib/packages/superagent/app/store.d.ts +179 -0
- package/lib/packages/superagent/app/store.js +384 -0
- package/lib/packages/superagent/app/tools/executor.d.ts +16 -0
- package/lib/packages/superagent/app/tools/executor.js +114 -0
- package/lib/packages/superagent/app/tools/main.d.ts +47 -0
- package/lib/packages/superagent/app/tools/main.js +286 -0
- package/lib/packages/superagent/app/tools/tool.d.ts +28 -0
- package/lib/packages/superagent/app/tools/tool.js +36 -0
- package/lib/packages/superagent/app/versions.d.ts +35 -0
- package/lib/packages/superagent/app/versions.js +36 -0
- package/lib/packages/superagent/app/views/overview.d.ts +327 -0
- package/lib/packages/superagent/app/views/overview.js +91 -0
- package/lib/packages/superagent/app/views/records.d.ts +478 -0
- package/lib/packages/superagent/app/views/records.js +203 -0
- package/lib/packages/superagent/app/views/settings.d.ts +111 -0
- package/lib/packages/superagent/app/views/settings.js +50 -0
- package/lib/packages/superagent/app/views/sources.d.ts +97 -0
- package/lib/packages/superagent/app/views/sources.js +70 -0
- package/lib/packages/superagent/app/views/text.d.ts +6 -0
- package/lib/packages/superagent/app/views/text.js +53 -0
- package/lib/packages/superagent/app/views/threads.d.ts +582 -0
- package/lib/packages/superagent/app/views/threads.js +117 -0
- package/lib/packages/superagent/app/views/tickets.d.ts +1852 -0
- package/lib/packages/superagent/app/views/tickets.js +96 -0
- package/lib/packages/superagent/core/admission.d.ts +17 -0
- package/lib/packages/superagent/core/admission.js +4 -0
- package/lib/packages/superagent/core/assignments.d.ts +53 -0
- package/lib/packages/superagent/core/assignments.js +160 -0
- package/lib/packages/superagent/core/engine.d.ts +191 -0
- package/lib/packages/superagent/core/engine.js +244 -0
- package/lib/packages/superagent/core/errors.d.ts +58 -0
- package/lib/packages/superagent/core/errors.js +63 -0
- package/lib/packages/superagent/core/evals.d.ts +99 -0
- package/lib/packages/superagent/core/evals.js +381 -0
- package/lib/packages/superagent/core/ids.d.ts +1 -0
- package/lib/packages/superagent/core/ids.js +5 -0
- package/lib/packages/superagent/core/index.d.ts +9 -0
- package/lib/packages/superagent/core/index.js +9 -0
- package/lib/packages/superagent/core/intake.d.ts +15 -0
- package/lib/packages/superagent/core/intake.js +68 -0
- package/lib/packages/superagent/core/limits.d.ts +26 -0
- package/lib/packages/superagent/core/limits.js +11 -0
- package/lib/packages/superagent/core/memory.d.ts +40 -0
- package/lib/packages/superagent/core/memory.js +51 -0
- package/lib/packages/superagent/core/model.d.ts +432 -0
- package/lib/packages/superagent/core/model.js +79 -0
- package/lib/packages/superagent/core/part.d.ts +49 -0
- package/lib/packages/superagent/core/part.js +71 -0
- package/lib/packages/superagent/core/policy.d.ts +187 -0
- package/lib/packages/superagent/core/policy.js +244 -0
- package/lib/packages/superagent/core/ports.d.ts +217 -0
- package/lib/packages/superagent/core/ports.js +1 -0
- package/lib/packages/superagent/core/reasons.d.ts +36 -0
- package/lib/packages/superagent/core/reasons.js +35 -0
- package/lib/packages/superagent/core/replies.d.ts +55 -0
- package/lib/packages/superagent/core/replies.js +94 -0
- package/lib/packages/superagent/core/stage.d.ts +18 -0
- package/lib/packages/superagent/core/stage.js +27 -0
- package/lib/packages/superagent/core/tickets.d.ts +151 -0
- package/lib/packages/superagent/core/tickets.js +487 -0
- package/lib/packages/superagent/deployment.d.ts +54 -0
- package/lib/packages/superagent/deployment.js +160 -0
- package/lib/packages/superagent/executor/background.d.ts +93 -0
- package/lib/packages/superagent/executor/background.js +192 -0
- package/lib/packages/superagent/executor/dsh.d.ts +304 -0
- package/lib/packages/superagent/executor/dsh.js +776 -0
- package/lib/packages/superagent/host/command.d.ts +89 -0
- package/lib/packages/superagent/host/command.js +198 -0
- package/lib/packages/superagent/host/health.d.ts +45 -0
- package/lib/packages/superagent/host/health.js +355 -0
- package/lib/packages/superagent/host/settings-section.d.ts +32 -0
- package/lib/packages/superagent/host/settings-section.js +528 -0
- package/lib/packages/superagent/index.d.ts +82 -0
- package/lib/packages/superagent/index.js +140 -0
- package/lib/packages/superagent/infra/commands.d.ts +55 -0
- package/lib/packages/superagent/infra/commands.js +144 -0
- package/lib/packages/superagent/infra/environment.d.ts +44 -0
- package/lib/packages/superagent/infra/environment.js +227 -0
- package/lib/packages/superagent/infra/health.d.ts +27 -0
- package/lib/packages/superagent/infra/health.js +29 -0
- package/lib/packages/superagent/infra/text.d.ts +10 -0
- package/lib/packages/superagent/infra/text.js +31 -0
- package/lib/packages/superagent/kv.d.ts +102 -0
- package/lib/packages/superagent/kv.js +44 -0
- package/lib/packages/superagent/locale/en.json +4 -0
- package/lib/packages/superagent/locale/ui.en.json +26 -0
- package/lib/packages/superagent/locale/ui.zh.json +26 -0
- package/lib/packages/superagent/paths.d.ts +21 -0
- package/lib/packages/superagent/paths.js +50 -0
- package/lib/packages/superagent/prompts/admission.md +68 -0
- package/lib/packages/superagent/prompts/cli.md +17 -0
- package/lib/packages/superagent/prompts/dispatch.md +59 -0
- package/lib/packages/superagent/prompts/handoff-orchestrator.md +4 -0
- package/lib/packages/superagent/prompts/handoff-worker.md +7 -0
- package/lib/packages/superagent/prompts/handoff.md +6 -0
- package/lib/packages/superagent/prompts/orchestrator.md +16 -0
- package/lib/packages/superagent/prompts/replies.md +35 -0
- package/lib/packages/superagent/prompts/shared.md +7 -0
- package/lib/packages/superagent/prompts/subscriptions.md +13 -0
- package/lib/packages/superagent/prompts/team/communication.md +97 -0
- package/lib/packages/superagent/prompts/team/delivery.md +28 -0
- package/lib/packages/superagent/prompts/team/scope.md +22 -0
- package/lib/packages/superagent/prompts/work.md +49 -0
- package/lib/packages/superagent/prompts/worker.md +10 -0
- package/lib/packages/superagent/setup.d.ts +37 -0
- package/lib/packages/superagent/setup.js +46 -0
- package/lib/packages/superagent/skills/dsh-superagent-feishu/SKILL.md +12 -0
- package/lib/packages/superagent/skills/dsh-superagent-github/SKILL.md +14 -0
- package/lib/packages/superagent/sources/admission-context.d.ts +43 -0
- package/lib/packages/superagent/sources/admission-context.js +42 -0
- package/lib/packages/superagent/sources/feishu-channel.d.ts +20 -0
- package/lib/packages/superagent/sources/feishu-channel.js +33 -0
- package/lib/packages/superagent/sources/feishu-image.d.ts +12 -0
- package/lib/packages/superagent/sources/feishu-image.js +81 -0
- package/lib/packages/superagent/sources/feishu-loops.d.ts +18 -0
- package/lib/packages/superagent/sources/feishu-loops.js +330 -0
- package/lib/packages/superagent/sources/feishu-read.d.ts +81 -0
- package/lib/packages/superagent/sources/feishu-read.js +183 -0
- package/lib/packages/superagent/sources/feishu-trigger.d.ts +95 -0
- package/lib/packages/superagent/sources/feishu-trigger.js +96 -0
- package/lib/packages/superagent/sources/feishu.d.ts +56 -0
- package/lib/packages/superagent/sources/feishu.js +164 -0
- package/lib/packages/superagent/sources/github-channel.d.ts +6 -0
- package/lib/packages/superagent/sources/github-channel.js +62 -0
- package/lib/packages/superagent/sources/github-pull.d.ts +82 -0
- package/lib/packages/superagent/sources/github-pull.js +112 -0
- package/lib/packages/superagent/sources/github-read.d.ts +54 -0
- package/lib/packages/superagent/sources/github-read.js +184 -0
- package/lib/packages/superagent/sources/github-trigger.d.ts +140 -0
- package/lib/packages/superagent/sources/github-trigger.js +107 -0
- package/lib/packages/superagent/sources/github.d.ts +52 -0
- package/lib/packages/superagent/sources/github.js +559 -0
- package/lib/packages/superagent/sources/host.d.ts +101 -0
- package/lib/packages/superagent/sources/host.js +13 -0
- package/lib/packages/superagent/sources/kind.d.ts +229 -0
- package/lib/packages/superagent/sources/kind.js +1 -0
- package/lib/packages/superagent/sources/poll.d.ts +21 -0
- package/lib/packages/superagent/sources/poll.js +53 -0
- package/lib/packages/superagent/sources/registry.d.ts +402 -0
- package/lib/packages/superagent/sources/registry.js +162 -0
- package/lib/packages/superagent-webhook/index.d.ts +47 -0
- package/lib/packages/superagent-webhook/index.js +83 -0
- package/lib/packages/superagent-webhook/locale/en.json +4 -0
- package/lib/packages/superagent-webhook/tests/settings-contract.d.ts +34 -0
- package/lib/packages/superagent-webhook/tests/settings-contract.js +66 -0
- package/lib/packages/superagent-webhook/webhook.d.ts +87 -0
- package/lib/packages/superagent-webhook/webhook.js +199 -0
- package/lib/packages/surfaces/index.d.ts +11 -0
- package/lib/packages/surfaces/index.js +20 -0
- package/lib/packages/surfaces/locale/en.json +4 -0
- package/lib/packages/todo/index.d.ts +21 -0
- package/lib/packages/todo/index.js +351 -0
- package/lib/packages/todo/locale/en.json +4 -0
- package/lib/packages/todo/locale/ui.en.json +11 -0
- package/lib/packages/todo/locale/ui.zh.json +11 -0
- package/lib/packages/todo/todo.d.ts +73 -0
- package/lib/packages/tool-search/index.js +474 -0
- package/lib/packages/tool-search/locale/en.json +4 -0
- package/lib/packages/tool-search/locale/ui.en.json +36 -0
- package/lib/packages/tool-search/locale/ui.zh.json +36 -0
- package/lib/packages/tool-search/tool-search.d.ts +153 -0
- package/lib/packages/tools/locale/en.json +4 -0
- package/lib/packages/tools-default/bash.d.ts +332 -0
- package/lib/packages/tools-default/bash.js +1139 -0
- package/lib/packages/tools-default/image-tool.d.ts +2 -0
- package/lib/packages/tools-default/image-tool.js +59 -0
- package/lib/packages/tools-default/index.js +407 -0
- package/lib/packages/tools-default/locale/en.json +4 -0
- package/lib/packages/tools-default/locale/ui.en.json +27 -0
- package/lib/packages/tools-default/locale/ui.zh.json +27 -0
- package/lib/packages/tools-default/persistent-shell.d.ts +79 -0
- package/lib/packages/tools-default/persistent-shell.js +247 -0
- package/lib/packages/tools-default/search-tools.d.ts +40 -0
- package/lib/packages/tools-default/search-tools.js +484 -0
- package/lib/packages/transcript/index.d.ts +48 -0
- package/lib/packages/transcript/index.js +436 -0
- package/lib/packages/transcript/locale/en.json +4 -0
- package/lib/packages/tui/app/AgentsOverlay.d.ts +18 -0
- package/lib/packages/tui/app/App.d.ts +21 -0
- package/lib/packages/tui/app/App.js +1788 -0
- package/lib/packages/tui/app/ApprovalCard.d.ts +12 -0
- package/lib/packages/tui/app/ApprovalCard.js +82 -0
- package/lib/packages/tui/app/AskCard.d.ts +20 -0
- package/lib/packages/tui/app/ChatView.d.ts +67 -0
- package/lib/packages/tui/app/ChatView.js +314 -0
- package/lib/packages/tui/app/Composer.d.ts +56 -0
- package/lib/packages/tui/app/Composer.js +306 -0
- package/lib/packages/tui/app/DiffBlock.d.ts +6 -0
- package/lib/packages/tui/app/DiffBlock.js +39 -0
- package/lib/packages/tui/app/ModelPicker.d.ts +7 -0
- package/lib/packages/tui/app/PlanReviewCard.d.ts +13 -0
- package/lib/packages/tui/app/PresetPicker.d.ts +11 -0
- package/lib/packages/tui/app/SessionPicker.d.ts +43 -0
- package/lib/packages/tui/app/SettingsOverlay.d.ts +36 -0
- package/lib/packages/tui/app/SettingsOverlay.js +265 -0
- package/lib/packages/tui/app/SkillsPicker.d.ts +7 -0
- package/lib/packages/tui/app/StatusBar.d.ts +22 -0
- package/lib/packages/tui/app/StatusBar.js +189 -0
- package/lib/packages/tui/app/TaskStrips.d.ts +13 -0
- package/lib/packages/tui/app/TaskStrips.js +37 -0
- package/lib/packages/tui/app/ToolCard.d.ts +11 -0
- package/lib/packages/tui/app/ToolCard.js +62 -0
- package/lib/packages/tui/app/TranscriptOverlay.d.ts +27 -0
- package/lib/packages/tui/app/TranscriptViewport.d.ts +85 -0
- package/lib/packages/tui/app/TranscriptViewport.js +233 -0
- package/lib/packages/tui/app/Welcome.js +68 -0
- package/lib/packages/tui/app/clipboard-image.js +66 -0
- package/lib/packages/tui/app/display-width.d.ts +16 -0
- package/lib/packages/tui/app/display-width.js +33 -0
- package/lib/packages/tui/app/history-store.js +41 -0
- package/lib/packages/tui/app/image-blocks.js +125 -0
- package/lib/packages/tui/app/scroll-model.d.ts +240 -0
- package/lib/packages/tui/app/settings-model.d.ts +128 -0
- package/lib/packages/tui/app/settings-model.js +215 -0
- package/lib/packages/tui/app/snapshot-subscribe.js +110 -0
- package/lib/packages/tui/index.js +102 -0
- package/lib/packages/tui/locale/en.json +4 -0
- package/lib/packages/ui-actions/index.d.ts +27 -0
- package/lib/packages/ui-actions/index.js +27 -0
- package/lib/packages/ui-actions/locale/en.json +4 -0
- package/lib/packages/ui-actions/locale/ui.en.json +3 -0
- package/lib/packages/ui-actions/locale/ui.zh.json +3 -0
- package/lib/packages/ui-ask/index.d.ts +29 -0
- package/lib/packages/ui-ask/index.js +29 -0
- package/lib/packages/ui-ask/locale/en.json +4 -0
- package/lib/packages/ui-ask/locale/ui.en.json +28 -0
- package/lib/packages/ui-ask/locale/ui.zh.json +28 -0
- package/lib/packages/ui-boot/index.d.ts +13 -0
- package/lib/packages/ui-boot/index.js +1 -0
- package/lib/packages/ui-boot/locale/en.json +4 -0
- package/lib/packages/ui-boot/locale/ui.en.json +28 -0
- package/lib/packages/ui-boot/locale/ui.zh.json +28 -0
- package/lib/packages/ui-browser/index.d.ts +29 -0
- package/lib/packages/ui-browser/index.js +29 -0
- package/lib/packages/ui-browser/locale/en.json +4 -0
- package/lib/packages/ui-browser/locale/ui.en.json +17 -0
- package/lib/packages/ui-browser/locale/ui.zh.json +17 -0
- package/lib/packages/ui-composer/index.d.ts +28 -0
- package/lib/packages/ui-composer/index.js +28 -0
- package/lib/packages/ui-composer/locale/en.json +4 -0
- package/lib/packages/ui-composer/locale/ui.en.json +161 -0
- package/lib/packages/ui-composer/locale/ui.zh.json +161 -0
- package/lib/packages/ui-core/frames.js +144 -0
- package/lib/packages/ui-core/i18n.d.ts +33 -0
- package/lib/packages/ui-core/i18n.js +42 -0
- package/lib/packages/ui-core/index.d.ts +102 -0
- package/lib/packages/ui-core/index.js +93 -0
- package/lib/packages/ui-core/locale/en.json +4 -0
- package/lib/packages/ui-core/plugin.d.ts +168 -0
- package/lib/packages/ui-core/scoped-slots.d.ts +20 -0
- package/lib/packages/ui-core/slots-ink.d.ts +26 -0
- package/lib/packages/ui-core/slots-ink.js +78 -0
- package/lib/packages/ui-core/slots.d.ts +490 -0
- package/lib/packages/ui-core/tui-plugin-api.d.ts +23 -0
- package/lib/packages/ui-core/tui-plugin-api.js +23 -0
- package/lib/packages/ui-core/tui-plugins.d.ts +47 -0
- package/lib/packages/ui-core/tui-plugins.js +293 -0
- package/lib/packages/ui-dockkit/index.d.ts +13 -0
- package/lib/packages/ui-dockkit/index.js +13 -0
- package/lib/packages/ui-dockkit/locale/en.json +4 -0
- package/lib/packages/ui-dockkit/locale/ui.en.json +21 -0
- package/lib/packages/ui-dockkit/locale/ui.zh.json +21 -0
- package/lib/packages/ui-files/index.d.ts +27 -0
- package/lib/packages/ui-files/index.js +27 -0
- package/lib/packages/ui-files/locale/en.json +4 -0
- package/lib/packages/ui-files/locale/ui.en.json +43 -0
- package/lib/packages/ui-files/locale/ui.zh.json +43 -0
- package/lib/packages/ui-layout/index.d.ts +30 -0
- package/lib/packages/ui-layout/index.js +30 -0
- package/lib/packages/ui-layout/locale/en.json +4 -0
- package/lib/packages/ui-layout/locale/ui.en.json +112 -0
- package/lib/packages/ui-layout/locale/ui.zh.json +112 -0
- package/lib/packages/ui-palette/index.d.ts +27 -0
- package/lib/packages/ui-palette/index.js +27 -0
- package/lib/packages/ui-palette/locale/en.json +4 -0
- package/lib/packages/ui-palette/locale/ui.en.json +35 -0
- package/lib/packages/ui-palette/locale/ui.zh.json +35 -0
- package/lib/packages/ui-plugins/index.d.ts +27 -0
- package/lib/packages/ui-plugins/index.js +27 -0
- package/lib/packages/ui-plugins/locale/en.json +4 -0
- package/lib/packages/ui-plugins/locale/ui.en.json +134 -0
- package/lib/packages/ui-plugins/locale/ui.zh.json +134 -0
- package/lib/packages/ui-preview/index.d.ts +27 -0
- package/lib/packages/ui-preview/index.js +27 -0
- package/lib/packages/ui-preview/locale/en.json +4 -0
- package/lib/packages/ui-preview/locale/ui.en.json +29 -0
- package/lib/packages/ui-preview/locale/ui.zh.json +29 -0
- package/lib/packages/ui-primitives/index.d.ts +13 -0
- package/lib/packages/ui-primitives/index.js +13 -0
- package/lib/packages/ui-primitives/locale/en.json +4 -0
- package/lib/packages/ui-primitives/locale/ui.en.json +167 -0
- package/lib/packages/ui-primitives/locale/ui.zh.json +167 -0
- package/lib/packages/ui-prompt/index.d.ts +29 -0
- package/lib/packages/ui-prompt/index.js +29 -0
- package/lib/packages/ui-prompt/locale/en.json +4 -0
- package/lib/packages/ui-prompt/locale/ui.en.json +73 -0
- package/lib/packages/ui-prompt/locale/ui.zh.json +73 -0
- package/lib/packages/ui-renderer/index.d.ts +26 -0
- package/lib/packages/ui-renderer/index.js +26 -0
- package/lib/packages/ui-renderer/locale/en.json +4 -0
- package/lib/packages/ui-renderer/locale/ui.en.json +14 -0
- package/lib/packages/ui-renderer/locale/ui.zh.json +14 -0
- package/lib/packages/ui-runtime/index.d.ts +17 -0
- package/lib/packages/ui-runtime/index.js +17 -0
- package/lib/packages/ui-runtime/locale/en.json +4 -0
- package/lib/packages/ui-runtime/locale/ui.en.json +5 -0
- package/lib/packages/ui-runtime/locale/ui.zh.json +5 -0
- package/lib/packages/ui-sessions/index.d.ts +27 -0
- package/lib/packages/ui-sessions/index.js +27 -0
- package/lib/packages/ui-sessions/locale/en.json +4 -0
- package/lib/packages/ui-sessions/locale/ui.en.json +119 -0
- package/lib/packages/ui-sessions/locale/ui.zh.json +119 -0
- package/lib/packages/ui-settings/index.d.ts +29 -0
- package/lib/packages/ui-settings/index.js +29 -0
- package/lib/packages/ui-settings/locale/en.json +4 -0
- package/lib/packages/ui-settings/locale/ui.en.json +490 -0
- package/lib/packages/ui-settings/locale/ui.zh.json +490 -0
- package/lib/packages/ui-skills/index.d.ts +29 -0
- package/lib/packages/ui-skills/index.js +29 -0
- package/lib/packages/ui-skills/locale/en.json +4 -0
- package/lib/packages/ui-skills/locale/ui.en.json +93 -0
- package/lib/packages/ui-skills/locale/ui.zh.json +93 -0
- package/lib/packages/ui-slots/index.d.ts +13 -0
- package/lib/packages/ui-slots/index.js +13 -0
- package/lib/packages/ui-slots/locale/en.json +4 -0
- package/lib/packages/ui-slots/locale/ui.en.json +4 -0
- package/lib/packages/ui-slots/locale/ui.zh.json +4 -0
- package/lib/packages/ui-status/index.d.ts +27 -0
- package/lib/packages/ui-status/index.js +27 -0
- package/lib/packages/ui-status/locale/en.json +4 -0
- package/lib/packages/ui-status/locale/ui.en.json +134 -0
- package/lib/packages/ui-status/locale/ui.zh.json +134 -0
- package/lib/packages/ui-statusbar/index.d.ts +28 -0
- package/lib/packages/ui-statusbar/index.js +28 -0
- package/lib/packages/ui-statusbar/locale/en.json +4 -0
- package/lib/packages/ui-statusbar/locale/ui.en.json +33 -0
- package/lib/packages/ui-statusbar/locale/ui.zh.json +33 -0
- package/lib/packages/ui-superagent/index.d.ts +31 -0
- package/lib/packages/ui-superagent/index.js +31 -0
- package/lib/packages/ui-superagent/locale/en.json +4 -0
- package/lib/packages/ui-superagent/locale/ui.en.json +117 -0
- package/lib/packages/ui-superagent/locale/ui.zh.json +117 -0
- package/lib/packages/ui-tasks/index.d.ts +27 -0
- package/lib/packages/ui-tasks/index.js +27 -0
- package/lib/packages/ui-tasks/locale/en.json +4 -0
- package/lib/packages/ui-tasks/locale/ui.en.json +22 -0
- package/lib/packages/ui-tasks/locale/ui.zh.json +22 -0
- package/lib/packages/ui-team/index.d.ts +29 -0
- package/lib/packages/ui-team/index.js +29 -0
- package/lib/packages/ui-team/locale/en.json +4 -0
- package/lib/packages/ui-team/locale/ui.en.json +19 -0
- package/lib/packages/ui-team/locale/ui.zh.json +19 -0
- package/lib/packages/ui-terminal/index.d.ts +27 -0
- package/lib/packages/ui-terminal/index.js +27 -0
- package/lib/packages/ui-terminal/locale/en.json +4 -0
- package/lib/packages/ui-terminal/locale/ui.en.json +9 -0
- package/lib/packages/ui-terminal/locale/ui.zh.json +9 -0
- package/lib/packages/ui-trace/index.d.ts +28 -0
- package/lib/packages/ui-trace/index.js +28 -0
- package/lib/packages/ui-trace/locale/en.json +4 -0
- package/lib/packages/ui-trace/locale/ui.en.json +118 -0
- package/lib/packages/ui-trace/locale/ui.zh.json +118 -0
- package/lib/packages/ui-transcript/index.d.ts +30 -0
- package/lib/packages/ui-transcript/index.js +30 -0
- package/lib/packages/ui-transcript/locale/en.json +4 -0
- package/lib/packages/ui-transcript/locale/ui.en.json +281 -0
- package/lib/packages/ui-transcript/locale/ui.zh.json +281 -0
- package/lib/packages/waiting/index.d.ts +17 -0
- package/lib/packages/waiting/index.js +53 -0
- package/lib/packages/waiting/locale/en.json +4 -0
- package/lib/packages/web-fetch/html.d.ts +26 -0
- package/lib/packages/web-fetch/html.js +249 -0
- package/lib/packages/web-fetch/http.d.ts +97 -0
- package/lib/packages/web-fetch/http.js +252 -0
- package/lib/packages/web-fetch/index.d.ts +17 -0
- package/lib/packages/web-fetch/index.js +165 -0
- package/lib/packages/web-fetch/locale/en.json +4 -0
- package/lib/packages/web-fetch/locale/ui.en.json +14 -0
- package/lib/packages/web-fetch/locale/ui.zh.json +14 -0
- package/lib/packages/web-search/index.d.ts +15 -0
- package/lib/packages/web-search/index.js +521 -0
- package/lib/packages/web-search/locale/en.json +4 -0
- package/lib/packages/web-search/locale/ui.en.json +30 -0
- package/lib/packages/web-search/locale/ui.zh.json +30 -0
- package/lib/packages/webserver/index.d.ts +51 -0
- package/lib/packages/webserver/index.js +316 -0
- package/lib/packages/webserver/locale/en.json +4 -0
- package/lib/services/types.d.ts +318 -21
- package/package.json +64 -8
- package/lib/adapter/core-runtime.d.ts +0 -11
- package/lib/adapter/core-runtime.js +0 -259
- package/lib/adapter/host.d.ts +0 -18
- package/lib/adapter/host.js +0 -14
- package/lib/adapter/runtime.d.ts +0 -15
- package/lib/adapter/runtime.js +0 -290
- package/lib/app/AgentsOverlay.d.ts +0 -18
- package/lib/app/App.d.ts +0 -15
- package/lib/app/App.js +0 -1650
- package/lib/app/App.js.nv-backup +0 -1650
- package/lib/app/ApprovalCard.d.ts +0 -12
- package/lib/app/ApprovalCard.js +0 -82
- package/lib/app/AskCard.d.ts +0 -20
- package/lib/app/ChatView.d.ts +0 -65
- package/lib/app/ChatView.js +0 -314
- package/lib/app/Composer.d.ts +0 -50
- package/lib/app/Composer.js +0 -300
- package/lib/app/DiffBlock.d.ts +0 -6
- package/lib/app/DiffBlock.js +0 -37
- package/lib/app/ModelPicker.d.ts +0 -7
- package/lib/app/PlanReviewCard.d.ts +0 -13
- package/lib/app/PresetPicker.d.ts +0 -11
- package/lib/app/SessionPicker.d.ts +0 -43
- package/lib/app/SettingsOverlay.d.ts +0 -32
- package/lib/app/SettingsOverlay.js +0 -157
- package/lib/app/SkillsPicker.d.ts +0 -7
- package/lib/app/StatusBar.d.ts +0 -22
- package/lib/app/StatusBar.js +0 -189
- package/lib/app/TaskStrips.d.ts +0 -13
- package/lib/app/TaskStrips.js +0 -37
- package/lib/app/TimelineRail.js.negbak +0 -98
- package/lib/app/TimelineRail.js.nv-backup +0 -160
- package/lib/app/ToolCard.d.ts +0 -11
- package/lib/app/ToolCard.js +0 -60
- package/lib/app/ToolCard.js.nv-backup +0 -64
- package/lib/app/TranscriptOverlay.d.ts +0 -27
- package/lib/app/TranscriptViewport.d.ts +0 -78
- package/lib/app/TranscriptViewport.js +0 -218
- package/lib/app/Welcome.js +0 -68
- package/lib/app/clipboard-image.js +0 -66
- package/lib/app/display-width.d.ts +0 -16
- package/lib/app/display-width.js +0 -33
- package/lib/app/hello.d.ts +0 -11
- package/lib/app/hello.js +0 -8
- package/lib/app/history-store.js +0 -41
- package/lib/app/image-blocks.js +0 -125
- package/lib/app/scroll-model.d.ts +0 -240
- package/lib/app/settings-model.d.ts +0 -69
- package/lib/app/settings-model.js +0 -114
- package/lib/app/snapshot-subscribe.js +0 -110
- package/lib/commands.d.ts +0 -49
- package/lib/commands.js +0 -115
- package/lib/core/agent-roles.d.ts +0 -52
- package/lib/core/agent-roles.js +0 -275
- package/lib/core/approval-floor.d.ts +0 -192
- package/lib/core/approval-floor.js +0 -806
- package/lib/core/approval.d.ts +0 -42
- package/lib/core/approval.js +0 -8
- package/lib/core/call-meaning.js +0 -347
- package/lib/core/cdp/actions.js +0 -655
- package/lib/core/cdp/launch.js +0 -491
- package/lib/core/cdp/report.d.ts +0 -27
- package/lib/core/cdp/report.js +0 -50
- package/lib/core/cdp/ring-buffer.d.ts +0 -25
- package/lib/core/cdp/ring-buffer.js +0 -44
- package/lib/core/cdp/snapshot.d.ts +0 -139
- package/lib/core/cdp/snapshot.js +0 -312
- package/lib/core/cdp/transport.d.ts +0 -160
- package/lib/core/cdp/transport.js +0 -359
- package/lib/core/commands-completion.d.ts +0 -106
- package/lib/core/compact.d.ts +0 -140
- package/lib/core/compact.js +0 -282
- package/lib/core/connection-test.d.ts +0 -60
- package/lib/core/connection-test.js +0 -84
- package/lib/core/desktop-control.d.ts +0 -298
- package/lib/core/desktop-control.js +0 -1309
- package/lib/core/dsh-compat/hook.d.ts +0 -18
- package/lib/core/dsh-compat/hook.js +0 -52
- package/lib/core/goal.d.ts +0 -89
- package/lib/core/hooks.d.ts +0 -289
- package/lib/core/hooks.js +0 -862
- package/lib/core/learnings/ledger.d.ts +0 -73
- package/lib/core/learnings/ledger.js +0 -273
- package/lib/core/learnings/skill-write.d.ts +0 -244
- package/lib/core/learnings/skill-write.js +0 -820
- package/lib/core/learnings/store.js +0 -266
- package/lib/core/lifecycle-hooks.d.ts +0 -197
- package/lib/core/lifecycle-hooks.js +0 -567
- package/lib/core/loop.d.ts +0 -195
- package/lib/core/loop.js +0 -654
- package/lib/core/lsp/client.js +0 -703
- package/lib/core/lsp/manager.js +0 -418
- package/lib/core/lsp/normalize.js +0 -134
- package/lib/core/lsp/servers.js +0 -349
- package/lib/core/market.d.ts +0 -51
- package/lib/core/market.js +0 -358
- package/lib/core/mcp.d.ts +0 -219
- package/lib/core/mcp.js +0 -880
- package/lib/core/memory.d.ts +0 -266
- package/lib/core/memory.js +0 -703
- package/lib/core/microcompact.d.ts +0 -93
- package/lib/core/microcompact.js +0 -207
- package/lib/core/modes.d.ts +0 -72
- package/lib/core/modes.js +0 -152
- package/lib/core/permission-presets.d.ts +0 -71
- package/lib/core/permission-scope.d.ts +0 -65
- package/lib/core/presets.d.ts +0 -91
- package/lib/core/presets.js +0 -412
- package/lib/core/prompt.d.ts +0 -92
- package/lib/core/prompt.js +0 -375
- package/lib/core/sandbox/backends.d.ts +0 -64
- package/lib/core/sandbox/execpolicy.d.ts +0 -93
- package/lib/core/sandbox/execpolicy.js +0 -476
- package/lib/core/sandbox/net-proxy.js +0 -162
- package/lib/core/sandbox/policy.d.ts +0 -211
- package/lib/core/sandbox/policy.js +0 -565
- package/lib/core/sandbox/win/account.js +0 -203
- package/lib/core/sandbox/win/backend.d.ts +0 -82
- package/lib/core/sandbox/win/backend.js +0 -299
- package/lib/core/sandbox/win/doctor.js +0 -269
- package/lib/core/sandbox/win/ffi.d.ts +0 -107
- package/lib/core/sandbox/win/ffi.js +0 -166
- package/lib/core/sandbox/win/runner-entry.d.ts +0 -35
- package/lib/core/sandbox/win/runner-entry.js +0 -386
- package/lib/core/sandbox/win/setup.d.ts +0 -60
- package/lib/core/sandbox/win/setup.js +0 -983
- package/lib/core/sandbox/win/wfp.js +0 -197
- package/lib/core/session-export.d.ts +0 -18
- package/lib/core/session-export.js +0 -73
- package/lib/core/session-index.js +0 -849
- package/lib/core/todo.d.ts +0 -81
- package/lib/core/tool-result-prune.d.ts +0 -42
- package/lib/core/tool-result-prune.js +0 -47
- package/lib/core/tool-search.d.ts +0 -153
- package/lib/core/tools/bash.d.ts +0 -313
- package/lib/core/tools/bash.js +0 -998
- package/lib/core/tools/image-tool.d.ts +0 -2
- package/lib/core/tools/image-tool.js +0 -59
- package/lib/core/tools/index.d.ts +0 -8
- package/lib/core/tools/index.js +0 -4
- package/lib/core/tools/search-tools.d.ts +0 -33
- package/lib/core/tools/search-tools.js +0 -440
- package/lib/index.d.ts +0 -41
- package/lib/index.js +0 -35
- package/lib/plugins/agent.d.ts +0 -2
- package/lib/plugins/agent.js +0 -355
- package/lib/plugins/approval-floor.js +0 -227
- package/lib/plugins/approval.d.ts +0 -16
- package/lib/plugins/approval.js +0 -846
- package/lib/plugins/ask.js +0 -297
- package/lib/plugins/browser.d.ts +0 -68
- package/lib/plugins/browser.js +0 -1289
- package/lib/plugins/commands.d.ts +0 -23
- package/lib/plugins/commands.js +0 -608
- package/lib/plugins/compact.d.ts +0 -21
- package/lib/plugins/compact.js +0 -444
- package/lib/plugins/computer-use.d.ts +0 -47
- package/lib/plugins/computer-use.js +0 -555
- package/lib/plugins/desktop-dock.d.ts +0 -2
- package/lib/plugins/desktop-dock.js +0 -626
- package/lib/plugins/dock-browser.d.ts +0 -34
- package/lib/plugins/dock-browser.js +0 -724
- package/lib/plugins/dsh-compat.js +0 -44
- package/lib/plugins/file-review.d.ts +0 -108
- package/lib/plugins/file-review.js +0 -437
- package/lib/plugins/git.js +0 -140
- package/lib/plugins/goal.d.ts +0 -20
- package/lib/plugins/goal.js +0 -246
- package/lib/plugins/guards.js +0 -18
- package/lib/plugins/hooks.d.ts +0 -19
- package/lib/plugins/hooks.js +0 -585
- package/lib/plugins/host-stdio.d.ts +0 -88
- package/lib/plugins/host-stdio.js +0 -315
- package/lib/plugins/image-diet.js +0 -85
- package/lib/plugins/lifecycle-hooks.d.ts +0 -27
- package/lib/plugins/lifecycle-hooks.js +0 -340
- package/lib/plugins/llm.d.ts +0 -13
- package/lib/plugins/llm.js +0 -256
- package/lib/plugins/lsp.d.ts +0 -54
- package/lib/plugins/lsp.js +0 -603
- package/lib/plugins/mcp.js +0 -672
- package/lib/plugins/memory.d.ts +0 -17
- package/lib/plugins/memory.js +0 -837
- package/lib/plugins/microcompact.d.ts +0 -21
- package/lib/plugins/microcompact.js +0 -217
- package/lib/plugins/mode.d.ts +0 -18
- package/lib/plugins/mode.js +0 -134
- package/lib/plugins/permission-presets.d.ts +0 -19
- package/lib/plugins/permission-presets.js +0 -155
- package/lib/plugins/plan.js +0 -192
- package/lib/plugins/plugin-manager.js +0 -163
- package/lib/plugins/presets.js +0 -211
- package/lib/plugins/prompt.d.ts +0 -2
- package/lib/plugins/prompt.js +0 -307
- package/lib/plugins/ptc.js +0 -369
- package/lib/plugins/remote/http.d.ts +0 -11
- package/lib/plugins/remote/http.js +0 -11
- package/lib/plugins/remote/routes.js +0 -384
- package/lib/plugins/remote/types.d.ts +0 -135
- package/lib/plugins/remote/types.js +0 -98
- package/lib/plugins/remote.d.ts +0 -17
- package/lib/plugins/remote.js +0 -1027
- package/lib/plugins/runtime-api.js +0 -99
- package/lib/plugins/runtime.js +0 -528
- package/lib/plugins/sandbox.js +0 -882
- package/lib/plugins/schedule.d.ts +0 -26
- package/lib/plugins/schedule.js +0 -539
- package/lib/plugins/self-improve.d.ts +0 -61
- package/lib/plugins/self-improve.js +0 -963
- package/lib/plugins/session-search.js +0 -313
- package/lib/plugins/session-title.js +0 -109
- package/lib/plugins/session.js +0 -374
- package/lib/plugins/settings.d.ts +0 -3
- package/lib/plugins/settings.js +0 -681
- package/lib/plugins/skills.d.ts +0 -2
- package/lib/plugins/skills.js +0 -377
- package/lib/plugins/spill.js +0 -207
- package/lib/plugins/subagent.d.ts +0 -2
- package/lib/plugins/subagent.js +0 -1062
- package/lib/plugins/surfaces.d.ts +0 -11
- package/lib/plugins/surfaces.js +0 -20
- package/lib/plugins/team.d.ts +0 -16
- package/lib/plugins/team.js +0 -155
- package/lib/plugins/todo.d.ts +0 -19
- package/lib/plugins/todo.js +0 -194
- package/lib/plugins/tool-search.js +0 -453
- package/lib/plugins/tool-search.js.nv-backup +0 -434
- package/lib/plugins/tools-default.js +0 -359
- package/lib/plugins/transcript.d.ts +0 -15
- package/lib/plugins/transcript.js +0 -418
- package/lib/plugins/tui.js +0 -98
- package/lib/plugins/waiting.d.ts +0 -12
- package/lib/plugins/waiting.js +0 -34
- package/lib/plugins/web-search.d.ts +0 -14
- package/lib/plugins/web-search.js +0 -272
- package/lib/plugins/webserver.d.ts +0 -48
- package/lib/plugins/webserver.js +0 -261
- package/lib/remote/assets/app-B3Id1EBq.js +0 -14
- package/lib/remote/assets/icon-192.png +0 -0
- package/lib/remote/assets/icon-512.png +0 -0
- package/lib/remote/assets/index.html +0 -34
- package/lib/remote/assets/manifest.json +0 -27
- package/lib/remote/assets/style-NtlpbKOI.css +0 -1
- package/lib/remote/assets/sw.js +0 -66
- package/lib/tools/config-cli.js +0 -89
- package/lib/tools/plugin-cli.js +0 -209
- package/lib/ui/assets/app-B-Jx5dnh.js +0 -90
- package/lib/ui/assets/chunk-2UxHyX5q.js +0 -1
- package/lib/ui/assets/chunk-B1dDrJ26.js +0 -1
- package/lib/ui/assets/chunk-B6aJPvgy.js +0 -1
- package/lib/ui/assets/chunk-BEwlwnbL.js +0 -1
- package/lib/ui/assets/chunk-BIGW1oBm.js +0 -1
- package/lib/ui/assets/chunk-BPQ3VLAy.js +0 -1
- package/lib/ui/assets/chunk-BRH0KZbk.js +0 -141
- package/lib/ui/assets/chunk-BX6H_ySx.js +0 -1
- package/lib/ui/assets/chunk-B_P3UbPa.js +0 -1
- package/lib/ui/assets/chunk-B_TYUkTI.js +0 -1
- package/lib/ui/assets/chunk-B_vNuMnf.js +0 -1
- package/lib/ui/assets/chunk-BdnUsdx6.js +0 -1
- package/lib/ui/assets/chunk-Bfdlo8Me.js +0 -10
- package/lib/ui/assets/chunk-Buea-lGh.js +0 -1
- package/lib/ui/assets/chunk-C0PvZCCE.js +0 -1
- package/lib/ui/assets/chunk-C0m74zRD.js +0 -1
- package/lib/ui/assets/chunk-C27-OAKa.js +0 -1
- package/lib/ui/assets/chunk-C2oV4EkX.js +0 -1
- package/lib/ui/assets/chunk-C7zT0LnQ.js +0 -1
- package/lib/ui/assets/chunk-C9GSunVT.js +0 -1
- package/lib/ui/assets/chunk-C9tS-k6U.js +0 -1
- package/lib/ui/assets/chunk-CHLpvVh8.js +0 -1
- package/lib/ui/assets/chunk-CLxacb5B.js +0 -1
- package/lib/ui/assets/chunk-COt5Ahok.js +0 -1
- package/lib/ui/assets/chunk-CPTIWCL2.js +0 -1
- package/lib/ui/assets/chunk-CQLl-L-p.js +0 -1
- package/lib/ui/assets/chunk-CUWRgxuq.js +0 -55
- package/lib/ui/assets/chunk-CWanVSXC.js +0 -1
- package/lib/ui/assets/chunk-Cf5RLm7j.js +0 -1
- package/lib/ui/assets/chunk-CickPsom.js +0 -1
- package/lib/ui/assets/chunk-Cj5Yp3dK.js +0 -1
- package/lib/ui/assets/chunk-Cmh6b_Ma.js +0 -1
- package/lib/ui/assets/chunk-Cp-IABpG.js +0 -1
- package/lib/ui/assets/chunk-CqE71os6.js +0 -1
- package/lib/ui/assets/chunk-CtKP3W-j.js +0 -1
- package/lib/ui/assets/chunk-Cvjx9yec.js +0 -1
- package/lib/ui/assets/chunk-CxGP3dtY.js +0 -1
- package/lib/ui/assets/chunk-CylS5w8V.js +0 -1
- package/lib/ui/assets/chunk-D38fbIBN.js +0 -1
- package/lib/ui/assets/chunk-D97Zzqfu.js +0 -1
- package/lib/ui/assets/chunk-DAi9KRSo.js +0 -1
- package/lib/ui/assets/chunk-DGX-i4eb.js +0 -12
- package/lib/ui/assets/chunk-DHK4yRfg.js +0 -1
- package/lib/ui/assets/chunk-DJeabLx-.js +0 -1
- package/lib/ui/assets/chunk-DNRxmY5a.js +0 -1
- package/lib/ui/assets/chunk-DNSN1z5r.js +0 -1
- package/lib/ui/assets/chunk-DNasK_ZG.js +0 -1
- package/lib/ui/assets/chunk-DPvrY3IQ.js +0 -1
- package/lib/ui/assets/chunk-DXmwc3jG.js +0 -1
- package/lib/ui/assets/chunk-Dd0kTxKP.js +0 -1
- package/lib/ui/assets/chunk-De0Btta0.js +0 -1
- package/lib/ui/assets/chunk-Des-eS-w.js +0 -1
- package/lib/ui/assets/chunk-Df6bDoY_.js +0 -1
- package/lib/ui/assets/chunk-DijEV5ha.js +0 -1
- package/lib/ui/assets/chunk-DkvoVjww.js +0 -1
- package/lib/ui/assets/chunk-DlC-OlHO.js +0 -1
- package/lib/ui/assets/chunk-DnzrXTVv.js +0 -1
- package/lib/ui/assets/chunk-Dualf0xi.js +0 -1
- package/lib/ui/assets/chunk-EXT84bkm.js +0 -1
- package/lib/ui/assets/chunk-GwR3hkPK.js +0 -1
- package/lib/ui/assets/chunk-P80f7IUj.js +0 -1
- package/lib/ui/assets/chunk-VOosw3JB.js +0 -1
- package/lib/ui/assets/chunk-YQ4lDkt_.js +0 -140
- package/lib/ui/assets/chunk-Yzrsuije.js +0 -1
- package/lib/ui/assets/chunk-Z72CF80r.js +0 -1
- package/lib/ui/assets/chunk-g9-lgVsj.js +0 -1
- package/lib/ui/assets/chunk-vGWfd6FD.js +0 -1
- package/lib/ui/assets/chunk-wDzz0qaB.js +0 -1
- package/lib/ui/assets/chunk-ySF7HWmS.js +0 -1
- package/lib/ui/assets/icon.png +0 -0
- package/lib/ui/assets/index.html +0 -62
- package/lib/ui/assets/pdf.worker.min-CjEcRF4W.mjs +0 -28
- package/lib/ui/assets/style-WzxwEPaE.css +0 -1
- package/lib/ui/frames.js +0 -144
- package/lib/ui/index.d.ts +0 -88
- package/lib/ui/index.js +0 -79
- package/lib/ui/manifest.d.ts +0 -190
- package/lib/ui/manifest.js +0 -159
- package/lib/ui/plugin.d.ts +0 -161
- package/lib/ui/plugins/actions/bundle.json +0 -8
- package/lib/ui/plugins/actions/client.js +0 -43
- package/lib/ui/plugins/ask/bundle.json +0 -8
- package/lib/ui/plugins/ask/client.js +0 -415
- package/lib/ui/plugins/browser/bundle.json +0 -8
- package/lib/ui/plugins/browser/client.js +0 -290
- package/lib/ui/plugins/browser/icon.png +0 -0
- package/lib/ui/plugins/composer/bundle.json +0 -9
- package/lib/ui/plugins/composer/client.js +0 -2562
- package/lib/ui/plugins/composer/icon.png +0 -0
- package/lib/ui/plugins/files/bundle.json +0 -8
- package/lib/ui/plugins/files/client.js +0 -561
- package/lib/ui/plugins/files/icon.png +0 -0
- package/lib/ui/plugins/manifest.json +0 -4
- package/lib/ui/plugins/palette/bundle.json +0 -8
- package/lib/ui/plugins/palette/client.js +0 -360
- package/lib/ui/plugins/plugins/bundle.json +0 -8
- package/lib/ui/plugins/plugins/client.js +0 -760
- package/lib/ui/plugins/plugins/icon.png +0 -0
- package/lib/ui/plugins/preview/bundle.json +0 -8
- package/lib/ui/plugins/preview/client.js +0 -187
- package/lib/ui/plugins/preview/icon.png +0 -0
- package/lib/ui/plugins/prompt/bundle.json +0 -8
- package/lib/ui/plugins/prompt/client.js +0 -687
- package/lib/ui/plugins/prompt/icon.png +0 -0
- package/lib/ui/plugins/sessions/bundle.json +0 -8
- package/lib/ui/plugins/sessions/client.js +0 -1623
- package/lib/ui/plugins/sessions/icon.png +0 -0
- package/lib/ui/plugins/settings/bundle.json +0 -8
- package/lib/ui/plugins/settings/client.js +0 -5484
- package/lib/ui/plugins/settings/icon.png +0 -0
- package/lib/ui/plugins/skills/bundle.json +0 -8
- package/lib/ui/plugins/skills/client.js +0 -567
- package/lib/ui/plugins/skills/icon.png +0 -0
- package/lib/ui/plugins/status/bundle.json +0 -8
- package/lib/ui/plugins/status/client.js +0 -1559
- package/lib/ui/plugins/status/icon.png +0 -0
- package/lib/ui/plugins/statusbar/bundle.json +0 -9
- package/lib/ui/plugins/statusbar/client.js +0 -460
- package/lib/ui/plugins/statusbar/icon.png +0 -0
- package/lib/ui/plugins/tasks/bundle.json +0 -8
- package/lib/ui/plugins/tasks/client.js +0 -52
- package/lib/ui/plugins/tasks/icon.png +0 -0
- package/lib/ui/plugins/team/bundle.json +0 -8
- package/lib/ui/plugins/team/client.js +0 -529
- package/lib/ui/plugins/team/icon.png +0 -0
- package/lib/ui/plugins/terminal/bundle.json +0 -8
- package/lib/ui/plugins/terminal/client.js +0 -226
- package/lib/ui/plugins/terminal/icon.png +0 -0
- package/lib/ui/plugins/trace/bundle.json +0 -11
- package/lib/ui/plugins/trace/client.js +0 -1283
- package/lib/ui/plugins/trace/icon.png +0 -0
- package/lib/ui/plugins/transcript/bundle.json +0 -8
- package/lib/ui/plugins/transcript/client.js +0 -3026
- package/lib/ui/plugins/transcript/icon.png +0 -0
- package/lib/ui/scoped-slots.d.ts +0 -20
- package/lib/ui/sdk/@dsc/ui/index.d.ts +0 -280
- package/lib/ui/sdk/@dsc/ui/package.json +0 -16
- package/lib/ui/sdk/@dsc/ui-core/contract.d.ts +0 -25
- package/lib/ui/sdk/@dsc/ui-core/core/attachments.d.ts +0 -185
- package/lib/ui/sdk/@dsc/ui-core/core/bytes.d.ts +0 -14
- package/lib/ui/sdk/@dsc/ui-core/core/diff-text.d.ts +0 -74
- package/lib/ui/sdk/@dsc/ui-core/core/dock-browser.d.ts +0 -137
- package/lib/ui/sdk/@dsc/ui-core/core/dock-ops.d.ts +0 -59
- package/lib/ui/sdk/@dsc/ui-core/core/err-text.d.ts +0 -18
- package/lib/ui/sdk/@dsc/ui-core/core/git-surface.d.ts +0 -17
- package/lib/ui/sdk/@dsc/ui-core/core/json-text.d.ts +0 -11
- package/lib/ui/sdk/@dsc/ui-core/core/model-caps.d.ts +0 -83
- package/lib/ui/sdk/@dsc/ui-core/core/native-bridge.d.ts +0 -135
- package/lib/ui/sdk/@dsc/ui-core/core/path-policy.d.ts +0 -44
- package/lib/ui/sdk/@dsc/ui-core/core/records.d.ts +0 -16
- package/lib/ui/sdk/@dsc/ui-core/core/throughput.d.ts +0 -46
- package/lib/ui/sdk/@dsc/ui-core/core/token-estimate.d.ts +0 -71
- package/lib/ui/sdk/@dsc/ui-core/core/unified-diff.d.ts +0 -35
- package/lib/ui/sdk/@dsc/ui-core/package.json +0 -16
- package/lib/ui/sdk/@dsc/ui-core/ui/arrival.d.ts +0 -72
- package/lib/ui/sdk/@dsc/ui-core/ui/frames.d.ts +0 -67
- package/lib/ui/sdk/@dsc/ui-core/ui/index.d.ts +0 -88
- package/lib/ui/sdk/@dsc/ui-core/ui/manifest.d.ts +0 -190
- package/lib/ui/sdk/@dsc/ui-core/ui/plugin.d.ts +0 -161
- package/lib/ui/sdk/@dsc/ui-core/ui/scoped-slots.d.ts +0 -20
- package/lib/ui/sdk/@dsc/ui-core/ui/slots.d.ts +0 -481
- package/lib/ui/sdk/@dsc/ui-dockkit/dock-model.d.ts +0 -252
- package/lib/ui/sdk/@dsc/ui-dockkit/dock-state.d.ts +0 -163
- package/lib/ui/sdk/@dsc/ui-dockkit/dock.d.ts +0 -24
- package/lib/ui/sdk/@dsc/ui-dockkit/index.d.ts +0 -15
- package/lib/ui/sdk/@dsc/ui-dockkit/package.json +0 -16
- package/lib/ui/sdk/@dsc/ui-layout/app.d.ts +0 -78
- package/lib/ui/sdk/@dsc/ui-layout/appearance.d.ts +0 -75
- package/lib/ui/sdk/@dsc/ui-layout/host-channel.d.ts +0 -133
- package/lib/ui/sdk/@dsc/ui-layout/index.d.ts +0 -35
- package/lib/ui/sdk/@dsc/ui-layout/package.json +0 -16
- package/lib/ui/sdk/@dsc/ui-layout/page-state.d.ts +0 -14
- package/lib/ui/sdk/@dsc/ui-layout/review-pane.d.ts +0 -21
- package/lib/ui/sdk/@dsc/ui-layout/runtime-context.d.ts +0 -53
- package/lib/ui/sdk/@dsc/ui-layout/thread-view.d.ts +0 -28
- package/lib/ui/sdk/@dsc/ui-layout/update-button.d.ts +0 -21
- package/lib/ui/sdk/@dsc/ui-layout/usage-today.d.ts +0 -11
- package/lib/ui/sdk/@dsc/ui-primitives/code-file-icon-artwork.d.ts +0 -53
- package/lib/ui/sdk/@dsc/ui-primitives/code-view.d.ts +0 -15
- package/lib/ui/sdk/@dsc/ui-primitives/compat.d.ts +0 -27
- package/lib/ui/sdk/@dsc/ui-primitives/completion-sound.d.ts +0 -24
- package/lib/ui/sdk/@dsc/ui-primitives/confirm.d.ts +0 -33
- package/lib/ui/sdk/@dsc/ui-primitives/css.d.ts +0 -47
- package/lib/ui/sdk/@dsc/ui-primitives/dialog-focus.d.ts +0 -30
- package/lib/ui/sdk/@dsc/ui-primitives/diff-rows.d.ts +0 -20
- package/lib/ui/sdk/@dsc/ui-primitives/error-text.d.ts +0 -12
- package/lib/ui/sdk/@dsc/ui-primitives/file-icons.d.ts +0 -38
- package/lib/ui/sdk/@dsc/ui-primitives/file-type-classify.d.ts +0 -66
- package/lib/ui/sdk/@dsc/ui-primitives/file-type-icon.d.ts +0 -57
- package/lib/ui/sdk/@dsc/ui-primitives/git-surface.d.ts +0 -9
- package/lib/ui/sdk/@dsc/ui-primitives/highlight.d.ts +0 -47
- package/lib/ui/sdk/@dsc/ui-primitives/hover-delay.d.ts +0 -17
- package/lib/ui/sdk/@dsc/ui-primitives/humanize-error.d.ts +0 -35
- package/lib/ui/sdk/@dsc/ui-primitives/icons-workspace.d.ts +0 -33
- package/lib/ui/sdk/@dsc/ui-primitives/icons.d.ts +0 -127
- package/lib/ui/sdk/@dsc/ui-primitives/image-lightbox.d.ts +0 -21
- package/lib/ui/sdk/@dsc/ui-primitives/index.d.ts +0 -71
- package/lib/ui/sdk/@dsc/ui-primitives/lang-table.d.ts +0 -10
- package/lib/ui/sdk/@dsc/ui-primitives/markdown.d.ts +0 -16
- package/lib/ui/sdk/@dsc/ui-primitives/native.d.ts +0 -41
- package/lib/ui/sdk/@dsc/ui-primitives/package.json +0 -16
- package/lib/ui/sdk/@dsc/ui-primitives/panels.d.ts +0 -109
- package/lib/ui/sdk/@dsc/ui-primitives/paths.d.ts +0 -13
- package/lib/ui/sdk/@dsc/ui-primitives/pdf-view.d.ts +0 -13
- package/lib/ui/sdk/@dsc/ui-primitives/plugin-text.d.ts +0 -15
- package/lib/ui/sdk/@dsc/ui-primitives/review-findings-card.d.ts +0 -25
- package/lib/ui/sdk/@dsc/ui-primitives/review-findings.d.ts +0 -64
- package/lib/ui/sdk/@dsc/ui-primitives/review-notice-card.d.ts +0 -27
- package/lib/ui/sdk/@dsc/ui-primitives/review-notice.d.ts +0 -80
- package/lib/ui/sdk/@dsc/ui-primitives/select.d.ts +0 -35
- package/lib/ui/sdk/@dsc/ui-primitives/signal.d.ts +0 -9
- package/lib/ui/sdk/@dsc/ui-primitives/sizes.d.ts +0 -15
- package/lib/ui/sdk/@dsc/ui-primitives/skeleton.d.ts +0 -39
- package/lib/ui/sdk/@dsc/ui-primitives/snapshot.d.ts +0 -46
- package/lib/ui/sdk/@dsc/ui-primitives/table-view.d.ts +0 -23
- package/lib/ui/sdk/@dsc/ui-primitives/thread-resizer.d.ts +0 -22
- package/lib/ui/sdk/@dsc/ui-primitives/throughput.d.ts +0 -13
- package/lib/ui/sdk/@dsc/ui-primitives/time.d.ts +0 -33
- package/lib/ui/sdk/@dsc/ui-primitives/toast.d.ts +0 -16
- package/lib/ui/sdk/@dsc/ui-primitives/tokens.d.ts +0 -23
- package/lib/ui/sdk/@dsc/ui-primitives/tool-args.d.ts +0 -49
- package/lib/ui/sdk/@dsc/ui-primitives/tool-summary.d.ts +0 -88
- package/lib/ui/sdk/@dsc/ui-primitives/unified-diff.d.ts +0 -10
- package/lib/ui/sdk/@dsc/ui-renderer/boot.d.ts +0 -130
- package/lib/ui/sdk/@dsc/ui-renderer/cordis-host.d.ts +0 -113
- package/lib/ui/sdk/@dsc/ui-renderer/hmr.d.ts +0 -43
- package/lib/ui/sdk/@dsc/ui-renderer/index.d.ts +0 -20
- package/lib/ui/sdk/@dsc/ui-renderer/package.json +0 -16
- package/lib/ui/sdk/@dsc/ui-slots/index.d.ts +0 -19
- package/lib/ui/sdk/@dsc/ui-slots/package.json +0 -16
- package/lib/ui/sdk/@dsc/ui-slots/slots-react.d.ts +0 -48
- package/lib/ui/sdk/@dsc/ui-slots/slots.d.ts +0 -102
- package/lib/ui/services-react.d.ts +0 -27
- package/lib/ui/services.d.ts +0 -74
- package/lib/ui/signal.d.ts +0 -49
- package/lib/ui/slots-ink.d.ts +0 -26
- package/lib/ui/slots-ink.js +0 -78
- package/lib/ui/slots-react.d.ts +0 -28
- package/lib/ui/slots.d.ts +0 -481
- package/lib/ui/store.d.ts +0 -89
- package/lib/ui/tui-plugin-api.d.ts +0 -23
- package/lib/ui/tui-plugin-api.js +0 -23
- package/lib/ui/tui-plugins.d.ts +0 -47
- package/lib/ui/tui-plugins.js +0 -240
- /package/lib/{core → packages/approval}/call-meaning.d.ts +0 -0
- /package/lib/{plugins/approval-floor.d.ts → packages/approval-floor/index.d.ts} +0 -0
- /package/lib/{plugins/ask.d.ts → packages/ask/index.d.ts} +0 -0
- /package/lib/{core → packages}/cdp/actions.d.ts +0 -0
- /package/lib/{core → packages}/cdp/launch.d.ts +0 -0
- /package/lib/{tools → packages/cli}/config-cli.d.ts +0 -0
- /package/lib/{tools → packages/cli}/plugin-cli.d.ts +0 -0
- /package/lib/{core → packages/commands-core}/commands-completion.js +0 -0
- /package/lib/{plugins/dsh-compat.d.ts → packages/dsh-compat/index.d.ts} +0 -0
- /package/lib/{plugins/git.d.ts → packages/git/index.d.ts} +0 -0
- /package/lib/{core → packages/goal}/goal.js +0 -0
- /package/lib/{plugins/guards.d.ts → packages/guards/index.d.ts} +0 -0
- /package/lib/{plugins/image-diet.d.ts → packages/image-diet/index.d.ts} +0 -0
- /package/lib/{core → packages}/lsp/client.d.ts +0 -0
- /package/lib/{core → packages}/lsp/framing.d.ts +0 -0
- /package/lib/{core → packages}/lsp/framing.js +0 -0
- /package/lib/{core → packages}/lsp/line-shift.d.ts +0 -0
- /package/lib/{core → packages}/lsp/line-shift.js +0 -0
- /package/lib/{core → packages}/lsp/manager.d.ts +0 -0
- /package/lib/{core → packages}/lsp/normalize.d.ts +0 -0
- /package/lib/{core → packages}/lsp/servers.d.ts +0 -0
- /package/lib/{core → packages}/lsp/uri.d.ts +0 -0
- /package/lib/{core → packages}/lsp/uri.js +0 -0
- /package/lib/{plugins/mcp.d.ts → packages/mcp/index.d.ts} +0 -0
- /package/lib/{core → packages/memory}/memory-eval.d.ts +0 -0
- /package/lib/{core → packages/memory}/memory-eval.js +0 -0
- /package/lib/{core → packages/permission-core}/permission-presets.js +0 -0
- /package/lib/{core → packages/permission-core}/permission-scope.js +0 -0
- /package/lib/{plugins/plan.d.ts → packages/plan/index.d.ts} +0 -0
- /package/lib/{plugins/plugin-manager.d.ts → packages/plugin-manager/index.d.ts} +0 -0
- /package/lib/{plugins/presets.d.ts → packages/presets/index.d.ts} +0 -0
- /package/lib/{plugins/ptc.d.ts → packages/ptc/index.d.ts} +0 -0
- /package/lib/{plugins → packages}/remote/routes.d.ts +0 -0
- /package/lib/{plugins/runtime.d.ts → packages/runtime/index.d.ts} +0 -0
- /package/lib/{plugins/runtime-api.d.ts → packages/runtime-api/index.d.ts} +0 -0
- /package/lib/{core → packages}/sandbox/backends.js +0 -0
- /package/lib/{plugins/sandbox.d.ts → packages/sandbox/index.d.ts} +0 -0
- /package/lib/{core → packages}/sandbox/net-proxy.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/abi.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/abi.js +0 -0
- /package/lib/{core → packages}/sandbox/win/account.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/acl.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/acl.js +0 -0
- /package/lib/{core → packages}/sandbox/win/doctor.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/net-abi.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/net-abi.js +0 -0
- /package/lib/{core → packages}/sandbox/win/token.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/token.js +0 -0
- /package/lib/{core → packages}/sandbox/win/utf16.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/utf16.js +0 -0
- /package/lib/{core → packages}/sandbox/win/wfp.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/workspace-sid.d.ts +0 -0
- /package/lib/{core → packages}/sandbox/win/workspace-sid.js +0 -0
- /package/lib/{core/learnings → packages/self-improve}/store.d.ts +0 -0
- /package/lib/{plugins/session.d.ts → packages/session/index.d.ts} +0 -0
- /package/lib/{plugins/session-search.d.ts → packages/session-search/index.d.ts} +0 -0
- /package/lib/{core → packages/session-search}/session-index.d.ts +0 -0
- /package/lib/{plugins/session-title.d.ts → packages/session-title/index.d.ts} +0 -0
- /package/lib/{core → packages/settings}/model-discovery.d.ts +0 -0
- /package/lib/{core → packages/settings}/model-discovery.js +0 -0
- /package/lib/{plugins/spill.d.ts → packages/spill/index.d.ts} +0 -0
- /package/lib/{core → packages/surfaces}/surface-registry.d.ts +0 -0
- /package/lib/{core → packages/surfaces}/surface-registry.js +0 -0
- /package/lib/{core → packages/todo}/todo.js +0 -0
- /package/lib/{plugins/tool-search.d.ts → packages/tool-search/index.d.ts} +0 -0
- /package/lib/{core → packages/tool-search}/tool-search.js +0 -0
- /package/lib/{plugins/tools.d.ts → packages/tools/index.d.ts} +0 -0
- /package/lib/{plugins/tools.js → packages/tools/index.js} +0 -0
- /package/lib/{plugins/tools-default.d.ts → packages/tools-default/index.d.ts} +0 -0
- /package/lib/{app → packages/tui/app}/AgentsOverlay.js +0 -0
- /package/lib/{app → packages/tui/app}/AskCard.js +0 -0
- /package/lib/{app → packages/tui/app}/MarkdownView.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/MarkdownView.js +0 -0
- /package/lib/{app → packages/tui/app}/ModelPicker.js +0 -0
- /package/lib/{app → packages/tui/app}/PickerFrame.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/PickerFrame.js +0 -0
- /package/lib/{app → packages/tui/app}/PlanReviewCard.js +0 -0
- /package/lib/{app → packages/tui/app}/PresetPicker.js +0 -0
- /package/lib/{app → packages/tui/app}/PreviewOverlay.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/PreviewOverlay.js +0 -0
- /package/lib/{app → packages/tui/app}/SessionPicker.js +0 -0
- /package/lib/{app → packages/tui/app}/SkillsPicker.js +0 -0
- /package/lib/{app → packages/tui/app}/TimelineRail.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/TimelineRail.js +0 -0
- /package/lib/{app → packages/tui/app}/TranscriptOverlay.js +0 -0
- /package/lib/{app → packages/tui/app}/Welcome.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/attach.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/attach.js +0 -0
- /package/lib/{app → packages/tui/app}/click.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/click.js +0 -0
- /package/lib/{app → packages/tui/app}/clipboard-image.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/cursor.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/cursor.js +0 -0
- /package/lib/{app → packages/tui/app}/history-store.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/image-blocks.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/keymap.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/keymap.js +0 -0
- /package/lib/{app → packages/tui/app}/markdown.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/markdown.js +0 -0
- /package/lib/{app → packages/tui/app}/mouse.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/mouse.js +0 -0
- /package/lib/{app → packages/tui/app}/pointer.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/pointer.js +0 -0
- /package/lib/{app → packages/tui/app}/scroll-model.js +0 -0
- /package/lib/{app → packages/tui/app}/snapshot-subscribe.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/theme.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/theme.js +0 -0
- /package/lib/{app → packages/tui/app}/ticker.d.ts +0 -0
- /package/lib/{app → packages/tui/app}/ticker.js +0 -0
- /package/lib/{plugins/tui.d.ts → packages/tui/index.d.ts} +0 -0
- /package/lib/{ui → packages/ui-core}/arrival.d.ts +0 -0
- /package/lib/{ui → packages/ui-core}/arrival.js +0 -0
- /package/lib/{ui → packages/ui-core}/frames.d.ts +0 -0
- /package/lib/{ui → packages/ui-core}/plugin.js +0 -0
- /package/lib/{ui → packages/ui-core}/scoped-slots.js +0 -0
- /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/services-react.d.ts +0 -0
- /package/lib/{ui → packages/ui-core}/services-react.js +0 -0
- /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/services.d.ts +0 -0
- /package/lib/{ui → packages/ui-core}/services.js +0 -0
- /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/signal.d.ts +0 -0
- /package/lib/{ui → packages/ui-core}/signal.js +0 -0
- /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/slots-react.d.ts +0 -0
- /package/lib/{ui → packages/ui-core}/slots-react.js +0 -0
- /package/lib/{ui → packages/ui-core}/slots.js +0 -0
- /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/store.d.ts +0 -0
- /package/lib/{ui → packages/ui-core}/store.js +0 -0
package/lib/plugins/sandbox.js
DELETED
|
@@ -1,882 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* sandbox 插件:给动手类工具套一层沙箱。**默认开**。
|
|
3
|
-
*
|
|
4
|
-
* 形制照 codex 的 `sandbox_mode` + 执行策略面,而不是 dsh 的 fail-closed:
|
|
5
|
-
* - 三档:read-only / workspace-write(默认)/ danger-full-access;
|
|
6
|
-
* - 策略面:可写根白名单(工作区 + 沙箱私有临时目录 + 附加根)、
|
|
7
|
-
* 可写根内的只读子路径、受保护元数据名(`.git`、`.ssh`、`.env*`、凭据文件、
|
|
8
|
-
* `~/.dsc` 自己的控制文件)、网络开关(默认关);
|
|
9
|
-
* - 命令前缀策略(codex 的 execpolicy):逐段判 allow / prompt / forbidden;
|
|
10
|
-
* - 一次性升权:模型带成对的 `sandbox_permissions` + `justification` 请求放宽,
|
|
11
|
-
* 只对这一次生效,且照常弹审批卡(见 `src/core/tools/sandbox-args.ts`);
|
|
12
|
-
* - **降级照 codex,不照 dsh**:强制后端不可用时不 fail-closed,改为
|
|
13
|
-
* 「照常执行 + 审批卡兜底」,并把 `enforcement: partial` 如实报给模型与用户。
|
|
14
|
-
*
|
|
15
|
-
* 职责边界(写在这里免得后来人搞混):**沙箱管「能不能」,审批管「要不要问」**。
|
|
16
|
-
* 所以本插件只 deny 两件事:越界写、以及「网络被关时还要联网」。
|
|
17
|
-
* read-only 档也**不**拒掉整个 exec(那是权限模式与审批卡的事),
|
|
18
|
-
* 只在命令里出现写目标时拒——两处都拒等于同一件事报两次错,模型会拿着两条理由不知道该改哪条。
|
|
19
|
-
*
|
|
20
|
-
* 挂载点:
|
|
21
|
-
* - 守卫链 order 8(早于协作模式 10):越界 deny,范围内 defer 让别人照常判;
|
|
22
|
-
* - 命令执行器缝(`src/core/tools/command-runner.ts`):只有「容器后端」用它;
|
|
23
|
-
* - `ctx.provide('sandbox', …)` 对外给查询与路径判定;
|
|
24
|
-
* - `ctx.prompt.register` 把当前档位与强制执行等级写进系统提示(降级必须可见);
|
|
25
|
-
* - 设置分区 id 'sandbox' 与 `/sandbox` 命令。
|
|
26
|
-
*
|
|
27
|
-
* 支撑模块(本插件独占,别的插件不碰):`src/core/sandbox/{policy,execpolicy,backends}.ts`
|
|
28
|
-
*
|
|
29
|
-
* @module dsc/plugins/sandbox
|
|
30
|
-
*/
|
|
31
|
-
import { mkdirSync } from 'node:fs';
|
|
32
|
-
import { resolve } from 'node:path';
|
|
33
|
-
import { clockText } from '../core/clock.js';
|
|
34
|
-
import { errText } from '../core/err-text.js';
|
|
35
|
-
import { DSC_HOME } from '../core/path-policy.js';
|
|
36
|
-
import { bootNoticeOnce } from '../core/boot-notices.js';
|
|
37
|
-
import { resolvePluginConfig, writePluginConfig } from '../core/plugin-registry.js';
|
|
38
|
-
import { registerCommandRunner } from '../core/tools/command-runner.js';
|
|
39
|
-
import { readSandboxRequest } from '../core/tools/sandbox-args.js';
|
|
40
|
-
import { permissionOf, writePermissions } from '../core/permission-scope.js';
|
|
41
|
-
import { createDockerRunner, probeDocker } from '../core/sandbox/backends.js';
|
|
42
|
-
import { createWindowsTokenRunner, probeWindowsToken } from '../core/sandbox/win/backend.js';
|
|
43
|
-
import { readSetupState } from '../core/sandbox/win/account.js';
|
|
44
|
-
import { runSetupElevated } from '../core/sandbox/win/setup.js';
|
|
45
|
-
import { doctorWindowsNetwork } from '../core/sandbox/win/doctor.js';
|
|
46
|
-
import { evaluateCommand } from '../core/sandbox/execpolicy.js';
|
|
47
|
-
import { checkWrite, createPolicy, describePolicy, formatPathList, legalWay, parseAllowlistText, parsePathListText, resolveSandboxConfig, sandboxTmpDir, SANDBOX_CONFIG_KEY, SANDBOX_MODES, DEFAULT_SANDBOX_IMAGE, } from '../core/sandbox/policy.js';
|
|
48
|
-
/** 守卫刻度:灾难地板 5 < 沙箱 8 < 协作模式 10 < 安全钩子 20 < 审批 30。 */
|
|
49
|
-
const GUARD_ORDER = 8;
|
|
50
|
-
/** 系统提示段位置:模式条款(30)之后、插件默认(60)之前。 */
|
|
51
|
-
const PROMPT_ORDER = 40;
|
|
52
|
-
/** 设置分区位置:审批地板 33 之前,跟权限/模式相关的放前面。 */
|
|
53
|
-
const SECTION_ORDER = 31;
|
|
54
|
-
/** 内存里留最近几次拒绝给 `/sandbox` 看。 */
|
|
55
|
-
const DENY_BUFFER = 3;
|
|
56
|
-
const PASS = { allowed: true, rule: 'allowed', why: '', how: '' };
|
|
57
|
-
/**
|
|
58
|
-
* 越界之后**可以问用户一次**的规则(参考实现只读档的形态:沙箱拦下 → 审批卡问
|
|
59
|
-
* 「这一次要不要破例」)。其余规则保持硬拒:
|
|
60
|
-
* read-only-subpath 用户亲手标的只读子树,点一次允许就等于把那个开关作废;
|
|
61
|
-
* protected-metadata .git/.ssh/.env 与 dsc 自己的配置,改它等于换掉安全边界;
|
|
62
|
-
* network-off 显式关掉的网络开关,不该被一张卡绕过去;
|
|
63
|
-
* nt-namespace / ads-stream / short-name / unresolvable 是形状或解析失败,没有「这一次」可言。
|
|
64
|
-
*/
|
|
65
|
-
const ASKABLE_RULES = new Set(['outside-writable-roots', 'mode-read-only']);
|
|
66
|
-
/** 规则名(可能带 `write-target:` 前缀)能不能交审批卡问一次。 */
|
|
67
|
-
function askableRule(rule) {
|
|
68
|
-
return ASKABLE_RULES.has(rule.replace(/^write-target:/, ''));
|
|
69
|
-
}
|
|
70
|
-
export const sandboxPlugin = {
|
|
71
|
-
name: 'sandbox',
|
|
72
|
-
inject: ['guards', 'transcript', 'settings', 'prompt', 'commands', 'session'],
|
|
73
|
-
apply(ctx, passed) {
|
|
74
|
-
const readConfig = () => resolveSandboxConfig(resolvePluginConfig(SANDBOX_CONFIG_KEY, passed));
|
|
75
|
-
/** 最近几次拒绝(新的在后)。 */
|
|
76
|
-
const denials = [];
|
|
77
|
-
/** 强制执行等级与后端现状:探测/降级都会改它,系统提示与设置页都读它。 */
|
|
78
|
-
let enforcement = 'partial';
|
|
79
|
-
let backendDetail = '进程内策略围栏(默认后端,不依赖外部进程)';
|
|
80
|
-
/**
|
|
81
|
-
* 用户要的是外部隔离(docker / windows-token),但它没建起来、而配置又选了 fail-closed
|
|
82
|
-
* ——这时写与执行类一律拒(读照常)。`policy` 后端的 partial 是预期状态,不置这一位。
|
|
83
|
-
*/
|
|
84
|
-
let degradedFailClosed = false;
|
|
85
|
-
/** 容器执行器的退订函数(换后端/停插件时要收回)。 */
|
|
86
|
-
let offRunner = null;
|
|
87
|
-
/** 受限令牌后端的收尾(回收私有临时目录的能力 ACE)。 */
|
|
88
|
-
let offWinDispose = null;
|
|
89
|
-
/** 网络第二级体检结论(doctor):布防完整 full / 任一项缺 partial。 */
|
|
90
|
-
let networkTier = 'partial';
|
|
91
|
-
/** 体检的逐项明细(√/× 每项一句话)。 */
|
|
92
|
-
let networkTierDetail = '尚未体检';
|
|
93
|
-
/** 探测代次:异步探测回来时后端已经又换过一次,那就作废这次结果。 */
|
|
94
|
-
let generation = 0;
|
|
95
|
-
let disposed = false;
|
|
96
|
-
const currentCwd = () => ctx.session.current().meta.cwd;
|
|
97
|
-
const currentSessionId = () => ctx.session.current().meta.id;
|
|
98
|
-
const currentSessionPath = () => ctx.session.current().filePath;
|
|
99
|
-
/**
|
|
100
|
-
* 沙箱档位**按会话**读(2026-10-28):会话里有就用会话的,没有就把默认值钉进去。
|
|
101
|
-
* 默认值来自 plugins.json 的沙箱配置——它只对「还没钉过的会话」与新会话生效。
|
|
102
|
-
*/
|
|
103
|
-
const defaultMode = () => readConfig().config.mode;
|
|
104
|
-
/** 这次判定属于哪个会话:优先按会话 id 找常驻实例,其次按路径,最后看当前查看的。 */
|
|
105
|
-
const sessionOf = (sessionId, sessionPath) => {
|
|
106
|
-
const agent = ctx.get('agent');
|
|
107
|
-
const byId = sessionId !== undefined && sessionId !== '' ? agent?.sessionById(sessionId) : undefined;
|
|
108
|
-
if (byId !== undefined)
|
|
109
|
-
return byId;
|
|
110
|
-
if (sessionPath !== undefined && sessionPath !== '') {
|
|
111
|
-
const byPath = agent?.sessionFor(sessionPath);
|
|
112
|
-
if (byPath !== undefined)
|
|
113
|
-
return byPath;
|
|
114
|
-
}
|
|
115
|
-
return ctx.session.current();
|
|
116
|
-
};
|
|
117
|
-
/** 某个会话现在生效的沙箱档位。 */
|
|
118
|
-
const modeOf = (session) => permissionOf(session, 'sandbox', defaultMode());
|
|
119
|
-
/**
|
|
120
|
-
* 组一份当前策略快照:设置与会话状态都现读,所以设置页改完立刻生效,不用重启宿主。
|
|
121
|
-
* 沙箱私有临时目录顺手建出来(建不出来也不抛:策略会把它当普通路径判)。
|
|
122
|
-
*
|
|
123
|
-
* @param cwdOverride - 显式指定工作目录(守卫拿到的是 `input.cwd`,服务是 `canWrite` 的
|
|
124
|
-
* 第二参)。为什么不直接用会话 cwd:可写根随「这次调用」走,同进程里可能同时有
|
|
125
|
-
* 多个工作目录在跑;调用方给哪个目录,就按哪个目录算根。
|
|
126
|
-
*/
|
|
127
|
-
/**
|
|
128
|
-
* 本会话被用户逐次点头放宽出来的可写根:会话 jsonl 路径 → 绝对路径数组。
|
|
129
|
-
*
|
|
130
|
-
* 只有**审批卡上点「本会话允许」**这一条路能往里写(`grantSession`),
|
|
131
|
-
* 而卡上给不给这个选项由审批层判(写类工具才有,命令类没有——命令的写目标静态界定不出来)。
|
|
132
|
-
* 键是会话路径:一个会话放宽了,别的会话照旧被拦。
|
|
133
|
-
*/
|
|
134
|
-
const sessionRoots = new Map();
|
|
135
|
-
const snapshot = (cwdOverride, sessionPath, modeOverride) => {
|
|
136
|
-
const { config, problems } = readConfig();
|
|
137
|
-
const cwd = cwdOverride ?? currentCwd();
|
|
138
|
-
const mode = modeOverride ?? modeOf(ctx.session.current());
|
|
139
|
-
const granted = sessionPath === undefined ? [] : (sessionRoots.get(sessionPath) ?? []);
|
|
140
|
-
const tmpDir = sandboxTmpDir(DSC_HOME, cwd, currentSessionId());
|
|
141
|
-
try {
|
|
142
|
-
mkdirSync(tmpDir, { recursive: true });
|
|
143
|
-
}
|
|
144
|
-
catch {
|
|
145
|
-
// 目录建不出来时写它就是失败的,不必在这里报错(工具自己会拿到真实错误)
|
|
146
|
-
}
|
|
147
|
-
const policy = createPolicy({
|
|
148
|
-
mode,
|
|
149
|
-
cwd,
|
|
150
|
-
tmpDir,
|
|
151
|
-
extraWritableRoots: [...config.extraWritableRoots, ...granted],
|
|
152
|
-
readOnlySubpaths: config.readOnlySubpaths,
|
|
153
|
-
dscHome: DSC_HOME,
|
|
154
|
-
networkAccess: config.networkAccess,
|
|
155
|
-
});
|
|
156
|
-
return { config, policy, problems: [...problems, ...policy.problems] };
|
|
157
|
-
};
|
|
158
|
-
/** 规则名 → 「怎么合法地做」。 */
|
|
159
|
-
const howTo = (rule) => {
|
|
160
|
-
if (rule.startsWith('write-target:'))
|
|
161
|
-
return legalWay(rule.slice('write-target:'.length));
|
|
162
|
-
if (rule === 'network-off')
|
|
163
|
-
return '在「插件中心 → 文件与命令围栏」打开网络开关,或换成不需要联网的做法';
|
|
164
|
-
if (rule === 'malformed-request')
|
|
165
|
-
return '两个升权参数要么都给(sandbox_permissions + justification),要么都不给';
|
|
166
|
-
return '换一个不需要改机器配置的做法;确需执行这条命令请让用户手工跑';
|
|
167
|
-
};
|
|
168
|
-
/** 记一次拒绝 + 拼给模型看的那句话(带档位、可写根、命中规则、下一步怎么走)。 */
|
|
169
|
-
const refuse = (config, policy, mode, tool, verdict) => {
|
|
170
|
-
denials.push({ at: Date.now(), tool, rule: verdict.rule, why: verdict.why });
|
|
171
|
-
if (denials.length > DENY_BUFFER)
|
|
172
|
-
denials.shift();
|
|
173
|
-
const roots = policy.roots.length === 0 ? '(无)' : policy.roots.join('、');
|
|
174
|
-
const reason = `沙箱拒绝这次 ${tool}:${verdict.why}。` +
|
|
175
|
-
`当前档位 ${mode}(可写根:${roots};网络:${config.networkAccess ? '开' : '关'}),` +
|
|
176
|
-
`命中规则「${verdict.rule}」。${verdict.how}`;
|
|
177
|
-
return { action: 'deny', reason };
|
|
178
|
-
};
|
|
179
|
-
/** 写类调用:没有可认的写目标就不判(那是审批卡的活,别在这里瞎猜)。 */
|
|
180
|
-
const writeVerdict = (policy, target) => {
|
|
181
|
-
if (target === undefined || target.trim() === '')
|
|
182
|
-
return PASS;
|
|
183
|
-
const check = checkWrite(policy, target);
|
|
184
|
-
if (check.allowed)
|
|
185
|
-
return PASS;
|
|
186
|
-
return { allowed: false, rule: check.rule, why: check.reason, how: legalWay(check.rule) };
|
|
187
|
-
};
|
|
188
|
-
/** 命令类调用:只有 forbidden 才拒;prompt/allow 都 defer(要不要问由审批层定)。 */
|
|
189
|
-
const execVerdict = (config, policy, command) => {
|
|
190
|
-
if (command === undefined || command.trim() === '')
|
|
191
|
-
return PASS;
|
|
192
|
-
const verdict = evaluateCommand(command, {
|
|
193
|
-
networkAccess: config.networkAccess,
|
|
194
|
-
checkWrite: (raw) => checkWrite(policy, raw),
|
|
195
|
-
});
|
|
196
|
-
if (verdict.decision !== 'forbidden')
|
|
197
|
-
return PASS;
|
|
198
|
-
return { allowed: false, rule: verdict.rule, why: verdict.reason, how: howTo(verdict.rule) };
|
|
199
|
-
};
|
|
200
|
-
// ── 守卫(order 8)────────────────────────────────────────────────────────
|
|
201
|
-
const guard = {
|
|
202
|
-
id: 'sandbox',
|
|
203
|
-
order: GUARD_ORDER,
|
|
204
|
-
decide(input) {
|
|
205
|
-
// 按这次调用的工作目录算可写根:input.cwd 就是循环传进来的会话目录,
|
|
206
|
-
// 显式优先于会话状态,同进程多工作目录时才不会拿错根。
|
|
207
|
-
const mode = modeOf(sessionOf(input.sessionId, input.sessionPath));
|
|
208
|
-
const { config, policy } = snapshot(input.cwd, input.sessionPath, mode);
|
|
209
|
-
// 不设围栏的档位:整档交出去(审批与权限模式照常管)
|
|
210
|
-
if (mode === 'danger-full-access')
|
|
211
|
-
return { action: 'defer' };
|
|
212
|
-
// 读限制不在本插件职责内:内核 path-policy 已经管凭据读取,这里再拒一次只会给两条理由
|
|
213
|
-
if (input.risk === 'read')
|
|
214
|
-
return { action: 'defer' };
|
|
215
|
-
// 要的外部隔离没建起来 + 配置选了 fail-closed:写与执行类直接拒(读在上面已经放行)。
|
|
216
|
-
// 这一条排在升权解析之前——升权是「放宽沙箱」,而此刻**沙箱本身不在**,
|
|
217
|
-
// 放宽一个不存在的围栏没有意义,只会让人以为有隔离。(dsh 对 partial 的保守姿态。)
|
|
218
|
-
if (degradedFailClosed) {
|
|
219
|
-
const verdict = {
|
|
220
|
-
allowed: false,
|
|
221
|
-
rule: 'backend-unavailable',
|
|
222
|
-
why: '你要的隔离后端(docker / Windows 受限令牌)没建起来,配置又选了「建不起来就拒」',
|
|
223
|
-
how: '两条路:在「插件中心 → 文件与命令围栏」把后端换成策略围栏(进程内那个,接受 partial),或把「后端建不起来时」改回 degrade;也可以先修好后端(docker 起得来 / 提权 setup 成功)',
|
|
224
|
-
};
|
|
225
|
-
return refuse(config, policy, mode, input.toolName, verdict);
|
|
226
|
-
}
|
|
227
|
-
const request = readSandboxRequest(input.args);
|
|
228
|
-
// 半截的升权请求一律拒:单独一个 sandbox_permissions(想偷偷放宽)
|
|
229
|
-
// 或单独一个 justification,都不该放过去。
|
|
230
|
-
if (request.kind === 'malformed') {
|
|
231
|
-
const verdict = {
|
|
232
|
-
allowed: false,
|
|
233
|
-
rule: 'malformed-request',
|
|
234
|
-
why: `升权参数不完整:${request.reason}`,
|
|
235
|
-
how: howTo('malformed-request'),
|
|
236
|
-
};
|
|
237
|
-
return refuse(config, policy, mode, input.toolName, verdict);
|
|
238
|
-
}
|
|
239
|
-
const verdict = input.risk === 'write'
|
|
240
|
-
? writeVerdict(policy, input.target)
|
|
241
|
-
: input.risk === 'exec'
|
|
242
|
-
? execVerdict(config, policy, input.command)
|
|
243
|
-
: PASS;
|
|
244
|
-
if (verdict.allowed)
|
|
245
|
-
return { action: 'defer' };
|
|
246
|
-
// 请求完整(成对)→ 按**它要的那一档**办(两档在这里才真正分家):
|
|
247
|
-
// danger-full-access 这一次跳过沙箱判定(defer 出去,卡上还会让用户点);
|
|
248
|
-
// workspace-write 留在沙箱里,只把这一次的目标并进可写根**重判一遍**——
|
|
249
|
-
// 网络开关、只读子路径、受保护路径照旧生效,所以它仍然可能被拒。
|
|
250
|
-
// 少了这一步,「留在沙箱内」与「整个出沙箱」就是同一件事(以前就是这样,两档是死的)。
|
|
251
|
-
if (request.kind === 'ok') {
|
|
252
|
-
if (request.permission === 'danger-full-access')
|
|
253
|
-
return { action: 'defer' };
|
|
254
|
-
const widened = input.risk === 'write' && input.target !== undefined
|
|
255
|
-
? checkWrite({ ...policy, roots: [...policy.roots, resolve(input.target)] }, input.target)
|
|
256
|
-
: null;
|
|
257
|
-
// 写目标认不出来(命令类)时没法「按更宽的边界重判」:只能整条 defer 出去,
|
|
258
|
-
// 由审批卡兜底——这一条在卡片说明里写明了。
|
|
259
|
-
if (widened === null)
|
|
260
|
-
return { action: 'defer' };
|
|
261
|
-
if (widened.allowed)
|
|
262
|
-
return { action: 'defer' };
|
|
263
|
-
return refuse(config, policy, mode, input.toolName, {
|
|
264
|
-
allowed: false,
|
|
265
|
-
rule: widened.rule,
|
|
266
|
-
why: `${widened.reason}(模型请求的是「留在沙箱内放宽写边界」,可写根放宽到这一次的目标后**仍然**不合法)`,
|
|
267
|
-
how: legalWay(widened.rule),
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
// 越界但这件事可以问用户一次(参考实现只读档的语义):沙箱只 defer,
|
|
271
|
-
// 审批卡是最后一道。审批插件不在场时不能 defer——那等于无人把关地放行。
|
|
272
|
-
if (askableRule(verdict.rule) && ctx.get('approval') !== undefined)
|
|
273
|
-
return { action: 'defer' };
|
|
274
|
-
return refuse(config, policy, mode, input.toolName, verdict);
|
|
275
|
-
},
|
|
276
|
-
};
|
|
277
|
-
const offGuard = ctx.guards.register(guard);
|
|
278
|
-
// ── 系统提示段(降级必须可见)─────────────────────────────────────────────
|
|
279
|
-
/**
|
|
280
|
-
* 强制等级 → 一句人话。
|
|
281
|
-
*
|
|
282
|
-
* 等级从参数进来,不读全局 `enforcement`:全局值记的是「进程级后端建到哪一步」,
|
|
283
|
-
* 与会话实际生效的等级可能不是一回事(见 {@link effectiveEnforcement})。
|
|
284
|
-
* 读全局会让提示词出现「partial(none:当前档位不设围栏)」这种自相矛盾的话。
|
|
285
|
-
*/
|
|
286
|
-
const enforcementText = (level) => {
|
|
287
|
-
switch (level) {
|
|
288
|
-
case 'full':
|
|
289
|
-
return '命令的执行体被换成了容器(网络与文件系统由容器隔离)';
|
|
290
|
-
case 'partial':
|
|
291
|
-
return '进程内策略围栏(拦得住自己发起的工具调用,拦不住命令内部的任意写)';
|
|
292
|
-
default:
|
|
293
|
-
return '当前档位不设围栏';
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
/**
|
|
297
|
-
* 某个会话实际生效的强制等级。
|
|
298
|
-
*
|
|
299
|
-
* 全局 `enforcement` 记的是「进程级后端建到哪一步」:默认档是 danger-full-access 时
|
|
300
|
-
* refreshBackend 会提前返回,全局值停在 none;但另一个会话切到 workspace-write 时,
|
|
301
|
-
* 守卫仍按进程内策略围栏拦越界写——所以对非 danger 会话,实际等级至少是 partial。
|
|
302
|
-
* 直接把全局值写进设置页/系统提示就会谎报「none:不设围栏」。
|
|
303
|
-
*/
|
|
304
|
-
const effectiveEnforcement = (mode) => mode === 'danger-full-access' ? 'none' : enforcement === 'none' ? 'partial' : enforcement;
|
|
305
|
-
/** 「等级 + 一句解释」连在一起写,两半永远取同一档。 */
|
|
306
|
-
const enforcementNote = (mode) => {
|
|
307
|
-
const level = effectiveEnforcement(mode);
|
|
308
|
-
return `${level} —— ${enforcementText(level)}`;
|
|
309
|
-
};
|
|
310
|
-
const promptText = (scope) => {
|
|
311
|
-
// 这个 agent 自己的档位(后台会话不该拿「你此刻点开的会话」的沙箱说明)。
|
|
312
|
-
const mode = modeOf(sessionOf(scope?.sessionId));
|
|
313
|
-
const { config, policy, problems } = snapshot(scope?.cwd, undefined, mode);
|
|
314
|
-
if (mode === 'danger-full-access') {
|
|
315
|
-
return '【沙箱】档位 danger-full-access:沙箱不设围栏,写盘与命令只受权限模式与审批卡约束。';
|
|
316
|
-
}
|
|
317
|
-
const lines = [];
|
|
318
|
-
lines.push(`【沙箱】档位 ${mode}|强制执行 ${enforcementNote(mode)}`);
|
|
319
|
-
lines.push(`可写根:${policy.roots.length === 0 ? '(无,只读档不许写盘)' : policy.roots.join('、')};` +
|
|
320
|
-
`只读子路径:${policy.readOnlySubpaths.length === 0 ? '(无)' : policy.readOnlySubpaths.join('、')};` +
|
|
321
|
-
`网络:${config.networkAccess ? '开' : '关(要联网的命令会被直接拒)'}`);
|
|
322
|
-
if (config.backend === 'windows-token') {
|
|
323
|
-
lines.push(`当前后端是 Windows 受限令牌:命令内部的越界写(脚本里的 fs.writeFile 这类)会被系统层直接拒绝;读不受限;网络第二级体检 ${networkTier}(明细见 /sandbox)。`);
|
|
324
|
-
}
|
|
325
|
-
else {
|
|
326
|
-
lines.push('策略围栏拦得住 dsc 自己发起的工具调用,拦不住命令内部的任意写(脚本里的 fs.writeFile 这类);要真隔离,请在「插件中心 → 文件与命令围栏」把后端换成 Windows 受限令牌(本机即可,无需 docker)或容器。');
|
|
327
|
-
}
|
|
328
|
-
lines.push('要写到可写根之外(例如另一个盘的项目目录),只能在这一次调用里同时给 sandbox_permissions 与 justification,且照常会弹审批卡让用户点。');
|
|
329
|
-
if (degradedFailClosed) {
|
|
330
|
-
lines.push('⚠ 你要的隔离后端没建起来,且配置选了「后端建不起来就拒」:写与执行类工具现在会被沙箱直接拒(读照常)。修法见「插件中心 → 文件与命令围栏」。');
|
|
331
|
-
}
|
|
332
|
-
if (problems.length > 0)
|
|
333
|
-
lines.push(`⚠ 沙箱配置有问题(已按默认值兜底):${problems.join(';')}`);
|
|
334
|
-
return lines.join('\n');
|
|
335
|
-
};
|
|
336
|
-
// 沙箱说明挂在**请求末尾的环境快照**里,不进系统提示词(2026-10-30 报障):
|
|
337
|
-
// 档位一改系统提示词就变,服务端前缀缓存从那一行起全失效(实测切一次权限,
|
|
338
|
-
// 下一次请求 59K 未命中、只命中 4K)。挪到快照之后前缀稳定,模型每轮照样看到最新档位。
|
|
339
|
-
// 子代理不受影响:它本来就不拿系统提示词里的这段(见 subagent 插件自己的提示词)。
|
|
340
|
-
const offPrompt = ctx.prompt.registerEnvFacts('sandbox', (session) => promptText({ sessionId: session?.meta.id, cwd: session?.meta.cwd }));
|
|
341
|
-
// ── 后端探测与降级 ────────────────────────────────────────────────────────
|
|
342
|
-
/**
|
|
343
|
-
* 按当前设置重新决定后端与强制执行等级。
|
|
344
|
-
*
|
|
345
|
-
* 三档结果:不设围栏(none)/ 策略围栏(partial)/ 容器(full)。
|
|
346
|
-
* 容器探测失败**不拒执行**,只是把「真隔离」降级成「审批卡兜底」并如实上报——
|
|
347
|
-
* 这是与 dsh 的 fail-closed 最大的分歧点,理由写在 backends.ts 文件头。
|
|
348
|
-
*/
|
|
349
|
-
const refreshBackend = async () => {
|
|
350
|
-
generation += 1;
|
|
351
|
-
const mine = generation;
|
|
352
|
-
offRunner?.();
|
|
353
|
-
offRunner = null;
|
|
354
|
-
offWinDispose?.();
|
|
355
|
-
offWinDispose = null;
|
|
356
|
-
degradedFailClosed = false;
|
|
357
|
-
const { config } = readConfig();
|
|
358
|
-
if (config.mode === 'danger-full-access') {
|
|
359
|
-
enforcement = 'none';
|
|
360
|
-
// 这一档不设围栏,后端与「建不起来就拒」都不参与判定。说清楚,
|
|
361
|
-
// 免得用户以为选了 fail-closed 就一定拒——那和「完全访问」的语义相抵。
|
|
362
|
-
backendDetail =
|
|
363
|
-
config.backend !== 'policy' && config.onUnavailable === 'fail-closed'
|
|
364
|
-
? '档位 danger-full-access:不设围栏;后端与「建不起来就拒」在这一档不生效'
|
|
365
|
-
: '档位 danger-full-access:不设围栏';
|
|
366
|
-
ctx.emit('dsc/changed');
|
|
367
|
-
return backendDetail;
|
|
368
|
-
}
|
|
369
|
-
if (config.backend === 'policy') {
|
|
370
|
-
enforcement = 'partial';
|
|
371
|
-
backendDetail = '进程内策略围栏(默认后端,不需要外部进程)';
|
|
372
|
-
ctx.emit('dsc/changed');
|
|
373
|
-
return backendDetail;
|
|
374
|
-
}
|
|
375
|
-
if (config.backend === 'windows-token') {
|
|
376
|
-
const probe = probeWindowsToken();
|
|
377
|
-
if (!probe.available) {
|
|
378
|
-
enforcement = 'partial';
|
|
379
|
-
degradedFailClosed = config.onUnavailable === 'fail-closed';
|
|
380
|
-
backendDetail = degradedFailClosed
|
|
381
|
-
? `Windows 受限令牌后端不可用,且配置选了「后端建不起来就拒」:写与执行类工具一律拒(读照常)。${probe.detail}`
|
|
382
|
-
: `Windows 受限令牌后端不可用,已降级为策略围栏:${probe.detail}`;
|
|
383
|
-
ctx.transcript.system(`沙箱:${backendDetail}`);
|
|
384
|
-
ctx.emit('dsc/changed');
|
|
385
|
-
return backendDetail;
|
|
386
|
-
}
|
|
387
|
-
// 账本在 = 提权 setup 成功过:走账号分支(runner 以专用账号跑命令,网络过白名单代理)
|
|
388
|
-
const setupState = readSetupState(DSC_HOME);
|
|
389
|
-
const account = setupState !== null && setupState.ok
|
|
390
|
-
? { name: setupState.state.account, sid: setupState.state.sid, dscHome: DSC_HOME, proxyPort: setupState.state.proxyPort }
|
|
391
|
-
: undefined;
|
|
392
|
-
const handle = createWindowsTokenRunner({
|
|
393
|
-
mode: config.mode === 'read-only' ? 'read-only' : 'workspace-write',
|
|
394
|
-
// 这里只是「挂载时所在会话」的起点;之后每次调用按 run.cwd 现算可写根(常驻多会话)
|
|
395
|
-
cwd: currentCwd(),
|
|
396
|
-
extraRoots: config.extraWritableRoots,
|
|
397
|
-
networkAccess: () => readConfig().config.networkAccess,
|
|
398
|
-
networkAllowlist: () => readConfig().config.networkAllowlist,
|
|
399
|
-
...(account === undefined ? {} : { account }),
|
|
400
|
-
onDetail: (message) => {
|
|
401
|
-
if (!disposed)
|
|
402
|
-
ctx.transcript.system(`沙箱:${message}`);
|
|
403
|
-
},
|
|
404
|
-
});
|
|
405
|
-
offRunner = registerCommandRunner(handle.runner);
|
|
406
|
-
offWinDispose = handle.dispose;
|
|
407
|
-
// 如实上报:账号分支在位 = FS 与网络双层锁死(full);只有受限令牌时
|
|
408
|
-
// 硬链接别名/读不受限是结构性缺口,网络只有软墙(partial),缺口在 detail 说透
|
|
409
|
-
enforcement = handle.networkEnforced ? 'full' : 'partial';
|
|
410
|
-
backendDetail = account === undefined
|
|
411
|
-
? `Windows 受限令牌:命令内部越界写被系统层拦截(${handle.describe()})`
|
|
412
|
-
: `Windows 受限令牌 + 专用账号(${account.name}):越界写与越界出网都被系统层拦截(${handle.describe()})`;
|
|
413
|
-
ctx.emit('dsc/changed');
|
|
414
|
-
return backendDetail;
|
|
415
|
-
}
|
|
416
|
-
const probe = await probeDocker({});
|
|
417
|
-
if (disposed || mine !== generation)
|
|
418
|
-
return '后端被再次切换,这次探测结果作废';
|
|
419
|
-
if (!probe.available) {
|
|
420
|
-
enforcement = 'partial';
|
|
421
|
-
degradedFailClosed = config.onUnavailable === 'fail-closed';
|
|
422
|
-
backendDetail = degradedFailClosed
|
|
423
|
-
? `容器后端不可用,且配置选了「后端建不起来就拒」:写与执行类工具一律拒(读照常)——${probe.detail}`
|
|
424
|
-
: `容器后端不可用,已降级为策略围栏:${probe.detail}`;
|
|
425
|
-
ctx.transcript.system(degradedFailClosed
|
|
426
|
-
? `沙箱:选的容器后端用不了,按配置 fail-closed 处理,写与执行类工具一律拒——${probe.detail}`
|
|
427
|
-
: `沙箱:选的容器后端用不了,已降级为策略围栏(强制执行 partial,照常执行 + 审批卡兜底)——${probe.detail}`);
|
|
428
|
-
ctx.emit('dsc/changed');
|
|
429
|
-
return backendDetail;
|
|
430
|
-
}
|
|
431
|
-
const runner = createDockerRunner({
|
|
432
|
-
image: config.image,
|
|
433
|
-
networkAccess: () => readConfig().config.networkAccess,
|
|
434
|
-
readOnly: () => readConfig().config.mode === 'read-only',
|
|
435
|
-
});
|
|
436
|
-
offRunner = registerCommandRunner(runner);
|
|
437
|
-
enforcement = 'full';
|
|
438
|
-
backendDetail = `容器后端可用(${probe.detail}),命令在 ${config.image} 里跑`;
|
|
439
|
-
ctx.emit('dsc/changed');
|
|
440
|
-
return backendDetail;
|
|
441
|
-
};
|
|
442
|
-
/** 挂载时那条可见说明:只讲档位、强制等级与网络,明细(后端、可写根)在 /sandbox 与设置里。 */
|
|
443
|
-
const mountLine = () => {
|
|
444
|
-
const { config, problems } = snapshot();
|
|
445
|
-
const effective = effectiveEnforcement(modeOf(ctx.session.current()));
|
|
446
|
-
const head = `沙箱已就绪:档位 ${modeOf(ctx.session.current())}|强制执行 ${effective}|网络 ${config.networkAccess ? '开' : '关'}`;
|
|
447
|
-
const tail = effective === 'partial'
|
|
448
|
-
? (config.backend === 'windows-token'
|
|
449
|
-
? '。越界写已被系统层拦截;明细见 /sandbox。'
|
|
450
|
-
: '。策略围栏拦得住工具调用,拦不住命令内部的任意写,要真隔离请在「插件中心 → 文件与命令围栏」换后端。')
|
|
451
|
-
: '。';
|
|
452
|
-
const warn = problems.length === 0 ? '' : ` ⚠ 配置有问题(已按默认值兜底):${problems.join(';')}`;
|
|
453
|
-
return `${head}${tail}${warn}`;
|
|
454
|
-
};
|
|
455
|
-
/** 跑一次网络第二级体检(不抛:任何异常都变成明细里的一条)。 */
|
|
456
|
-
const refreshNetworkTier = async () => {
|
|
457
|
-
if (process.platform !== 'win32') {
|
|
458
|
-
networkTier = 'partial';
|
|
459
|
-
networkTierDetail = '非 Windows 平台:网络第二级不适用';
|
|
460
|
-
ctx.emit('dsc/changed');
|
|
461
|
-
return;
|
|
462
|
-
}
|
|
463
|
-
try {
|
|
464
|
-
const result = await doctorWindowsNetwork(DSC_HOME);
|
|
465
|
-
networkTier = result.tier;
|
|
466
|
-
networkTierDetail = result.details.join(';');
|
|
467
|
-
}
|
|
468
|
-
catch (error) {
|
|
469
|
-
networkTierDetail = `体检失败:${error instanceof Error ? error.message : String(error)}`;
|
|
470
|
-
}
|
|
471
|
-
ctx.emit('dsc/changed');
|
|
472
|
-
};
|
|
473
|
-
// ── 设置分区 ─────────────────────────────────────────────────────────────
|
|
474
|
-
/** `/sandbox` 与设置页共用的一份现状文本。 */
|
|
475
|
-
const report = () => {
|
|
476
|
-
const { config, policy, problems } = snapshot();
|
|
477
|
-
const lines = [];
|
|
478
|
-
lines.push(`沙箱现状:当前会话档位 ${modeOf(ctx.session.current())}|新会话默认 ${config.mode}|强制执行 ${effectiveEnforcement(modeOf(ctx.session.current()))}`);
|
|
479
|
-
lines.push(`后端:${config.backend} —— ${backendDetail}`);
|
|
480
|
-
lines.push(`可写根(${String(policy.roots.length)}):`);
|
|
481
|
-
if (policy.roots.length === 0)
|
|
482
|
-
lines.push(' (无:只读档不许写盘)');
|
|
483
|
-
for (const root of policy.roots)
|
|
484
|
-
lines.push(` ${root}`);
|
|
485
|
-
lines.push(`只读子路径(${String(policy.readOnlySubpaths.length)}):${policy.readOnlySubpaths.length === 0 ? '无' : ''}`);
|
|
486
|
-
for (const sub of policy.readOnlySubpaths)
|
|
487
|
-
lines.push(` ${sub}`);
|
|
488
|
-
lines.push(`网络:${config.networkAccess ? '开' : '关'}|出网白名单 ${String(config.networkAllowlist.length)} 项|沙箱私有临时目录:${policy.tmpDir}`);
|
|
489
|
-
lines.push(`后端建不起来时:${config.onUnavailable}${degradedFailClosed ? '(当前正处在这个状态:写与执行类一律拒)' : ''}`);
|
|
490
|
-
// 本会话被「本会话允许」放宽出来的可写根:不列出来用户会以为自己的批次没生效(或以为放宽丢了)。
|
|
491
|
-
const granted = sessionRoots.get(currentSessionPath()) ?? [];
|
|
492
|
-
if (granted.length > 0) {
|
|
493
|
-
lines.push(`本会话放宽出来的可写根(${String(granted.length)}):`);
|
|
494
|
-
for (const root of granted)
|
|
495
|
-
lines.push(` ${root}`);
|
|
496
|
-
}
|
|
497
|
-
if (process.platform === 'win32')
|
|
498
|
-
lines.push(`网络第二级:${networkTier} —— ${networkTierDetail}`);
|
|
499
|
-
lines.push('最近 3 次拒绝:');
|
|
500
|
-
if (denials.length === 0)
|
|
501
|
-
lines.push(' (还没有)');
|
|
502
|
-
for (const one of denials)
|
|
503
|
-
lines.push(` [${clockText(one.at)}] ${one.tool} · ${one.rule} —— ${one.why}`);
|
|
504
|
-
if (problems.length > 0)
|
|
505
|
-
lines.push(`⚠ 配置有问题(已按默认值兜底):${problems.join(';')}`);
|
|
506
|
-
return lines.join('\n');
|
|
507
|
-
};
|
|
508
|
-
const section = {
|
|
509
|
-
id: SANDBOX_CONFIG_KEY,
|
|
510
|
-
title: '文件与命令围栏',
|
|
511
|
-
subtitle: '限定能写哪里:可写目录、受保护路径、联网开关与强制执行后端',
|
|
512
|
-
order: SECTION_ORDER,
|
|
513
|
-
fields() {
|
|
514
|
-
const { config, policy, problems } = snapshot();
|
|
515
|
-
const list = [
|
|
516
|
-
{
|
|
517
|
-
type: 'select',
|
|
518
|
-
key: 'mode',
|
|
519
|
-
label: '这个会话允许写哪里',
|
|
520
|
-
options: [
|
|
521
|
-
{ value: 'read-only', label: '只读(任何写盘都拒)' },
|
|
522
|
-
{ value: 'workspace-write', label: '工作区可写(默认)' },
|
|
523
|
-
{ value: 'danger-full-access', label: '不设围栏(等同关掉这层保护)' },
|
|
524
|
-
],
|
|
525
|
-
help: '只改当前打开的会话,换会话各用各的档位。平时保持这一档就行:正常的工作区读写与命令不会被拦,只有越界写、改受保护文件、关网时联网会被拒。',
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
type: 'select',
|
|
529
|
-
key: 'defaultMode',
|
|
530
|
-
label: '以后新开的会话默认写哪里',
|
|
531
|
-
options: [
|
|
532
|
-
{ value: 'read-only', label: '只读(任何写盘都拒)' },
|
|
533
|
-
{ value: 'workspace-write', label: '工作区可写(默认)' },
|
|
534
|
-
{ value: 'danger-full-access', label: '不设围栏(等同关掉这层保护)' },
|
|
535
|
-
],
|
|
536
|
-
help: '只影响之后新建的会话;已经打开的会话保留自己的档位。',
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
type: 'select',
|
|
540
|
-
key: 'onUnavailable',
|
|
541
|
-
label: '后端建不起来时',
|
|
542
|
-
options: [
|
|
543
|
-
{ value: 'degrade', label: '降级为策略围栏(照常干,审批卡兜底)' },
|
|
544
|
-
{ value: 'fail-closed', label: '拒绝:写与执行类一律拒(读照常)' },
|
|
545
|
-
],
|
|
546
|
-
help: '只对 docker 与 Windows 受限令牌这两个真隔离后端生效:它们建不起来时,是降级为进程内策略围栏照常干,还是拒绝写与执行。进程内策略围栏的 partial 是预期状态,不受这一项影响。',
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
type: 'switch',
|
|
550
|
-
key: 'networkAccess',
|
|
551
|
-
label: '网络访问',
|
|
552
|
-
help: '关时命中网络命令一律拒(curl / wget / npm install / git pull 这类)。开关只拦「写在命令里的」网络动作,脚本内部的请求拦不住。',
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
type: 'text',
|
|
556
|
-
key: 'networkAllowlist',
|
|
557
|
-
label: '出网白名单(分号分隔域名)',
|
|
558
|
-
mono: true,
|
|
559
|
-
placeholder: 'registry.npmjs.org; *.example.com',
|
|
560
|
-
help: 'windows-token 后端第二级(提权 setup 后)的代理按这份清单放行;*.example.com 匹配子域,精确域不含子域。清单为空 = 开着网也没放任何域名。',
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
type: 'text',
|
|
564
|
-
key: 'extraWritableRoots',
|
|
565
|
-
label: '附加可写根(分号分隔)',
|
|
566
|
-
mono: true,
|
|
567
|
-
placeholder: 'D:\\shared; /srv/cache',
|
|
568
|
-
help: '在工作区与私有临时目录之外再放行几个目录。相对路径按会话工作目录展开。',
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
type: 'text',
|
|
572
|
-
key: 'readOnlySubpaths',
|
|
573
|
-
label: '只读子路径(分号分隔)',
|
|
574
|
-
mono: true,
|
|
575
|
-
placeholder: 'D:\\proj\\generated',
|
|
576
|
-
help: '可写根内部的例外:这些子树即使落在可写根里也不许写。',
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
type: 'select',
|
|
580
|
-
key: 'backend',
|
|
581
|
-
label: '强制后端',
|
|
582
|
-
options: [
|
|
583
|
-
{ value: 'policy', label: '进程内策略围栏(默认,强制执行 partial)' },
|
|
584
|
-
{ value: 'windows-token', label: 'Windows 受限令牌(仅 Windows,越界写系统层拦截)' },
|
|
585
|
-
{ value: 'docker', label: '容器(需要本机 docker,强制执行 full)' },
|
|
586
|
-
],
|
|
587
|
-
help: '受限令牌后端把命令换进「受限令牌 + 工作区 ACL」的 runner 子进程里跑(无需 docker,命令内部的越界写会被系统直接拒绝;' +
|
|
588
|
-
'已知缺口:硬链接别名、读不受限、网络真管控需一次性提权 setup)。' +
|
|
589
|
-
'容器后端把命令换进 docker 里跑(只挂工作区,网络按上面的开关),适合跨平台构建命令。' +
|
|
590
|
-
'认不出 shell 形态的命令不会被换执行体,那一句仍会在宿主上跑。',
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
type: 'text',
|
|
594
|
-
key: 'image',
|
|
595
|
-
label: '容器镜像',
|
|
596
|
-
mono: true,
|
|
597
|
-
placeholder: DEFAULT_SANDBOX_IMAGE,
|
|
598
|
-
help: `容器后端用的镜像,默认 ${DEFAULT_SANDBOX_IMAGE}。镜像里得有你那条命令要用的工具(例如 node:20-alpine)。`,
|
|
599
|
-
},
|
|
600
|
-
{ type: 'info', label: '当前会话强制执行等级', text: enforcementNote(modeOf(ctx.session.current())) },
|
|
601
|
-
{ type: 'info', label: '后端现状', text: backendDetail },
|
|
602
|
-
{ type: 'info', label: '沙箱私有临时目录', mono: true, copyable: true, text: policy.tmpDir },
|
|
603
|
-
{ type: 'info', label: '当前生效', text: describePolicy(policy) },
|
|
604
|
-
{
|
|
605
|
-
type: 'info',
|
|
606
|
-
label: '最近 3 次拒绝',
|
|
607
|
-
text: denials.length === 0 ? '(还没有)' : denials.map((one) => `[${clockText(one.at)}] ${one.tool} · ${one.rule} —— ${one.why}`).join('\n'),
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
type: 'button',
|
|
611
|
-
action: 'probe',
|
|
612
|
-
label: '立即探测后端',
|
|
613
|
-
style: 'ghost',
|
|
614
|
-
help: '按上面的后端选项现探一次:容器可不可用、降级到哪一档,结果就在按钮下面那句提示里。',
|
|
615
|
-
},
|
|
616
|
-
];
|
|
617
|
-
if (process.platform === 'win32') {
|
|
618
|
-
list.push({ type: 'info', label: '网络第二级(提权布防)', text: `${networkTier} —— ${networkTierDetail}` }, {
|
|
619
|
-
type: 'button',
|
|
620
|
-
action: 'setup',
|
|
621
|
-
label: '提权安装网络管控(UAC 一次)',
|
|
622
|
-
style: 'ghost',
|
|
623
|
-
help: '创建专用离线账号、按账号 SID 出网阻断(防火墙 5 规则 + WFP 12 条持久 filter)、密码 DPAPI 落盘;账号先禁用、布防全部成功才解禁。需要你在 UAC 弹窗点一次允许。',
|
|
624
|
-
}, {
|
|
625
|
-
type: 'button',
|
|
626
|
-
action: 'doctor',
|
|
627
|
-
label: '体检网络第二级',
|
|
628
|
-
style: 'ghost',
|
|
629
|
-
help: '逐项核对:FFI、状态文件、账号、密码可解、防火墙规则、WFP 子层;全绿即 full。',
|
|
630
|
-
});
|
|
631
|
-
}
|
|
632
|
-
if (problems.length > 0) {
|
|
633
|
-
list.push({
|
|
634
|
-
type: 'info',
|
|
635
|
-
label: '配置有问题(已按默认值兜底)',
|
|
636
|
-
text: problems.join(';'),
|
|
637
|
-
help: '沙箱的坏配置不会把工作区写全禁掉——它只是少了一层围栏,所以这里回落默认值并如实列出来。',
|
|
638
|
-
});
|
|
639
|
-
}
|
|
640
|
-
return list;
|
|
641
|
-
},
|
|
642
|
-
values() {
|
|
643
|
-
const { config } = readConfig();
|
|
644
|
-
return {
|
|
645
|
-
mode: modeOf(ctx.session.current()),
|
|
646
|
-
defaultMode: config.mode,
|
|
647
|
-
networkAccess: config.networkAccess,
|
|
648
|
-
networkAllowlist: formatPathList(config.networkAllowlist),
|
|
649
|
-
extraWritableRoots: formatPathList(config.extraWritableRoots),
|
|
650
|
-
readOnlySubpaths: formatPathList(config.readOnlySubpaths),
|
|
651
|
-
backend: config.backend,
|
|
652
|
-
image: config.image,
|
|
653
|
-
onUnavailable: config.onUnavailable,
|
|
654
|
-
};
|
|
655
|
-
},
|
|
656
|
-
async save(key, value) {
|
|
657
|
-
switch (key) {
|
|
658
|
-
case 'mode': {
|
|
659
|
-
const mode = String(value);
|
|
660
|
-
if (!SANDBOX_MODES.includes(mode))
|
|
661
|
-
return `档位只能是 ${SANDBOX_MODES.join(' / ')}`;
|
|
662
|
-
writePermissions(ctx.session.current(), { sandbox: mode });
|
|
663
|
-
break;
|
|
664
|
-
}
|
|
665
|
-
case 'defaultMode': {
|
|
666
|
-
const mode = String(value);
|
|
667
|
-
if (!SANDBOX_MODES.includes(mode))
|
|
668
|
-
return `档位只能是 ${SANDBOX_MODES.join(' / ')}`;
|
|
669
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { mode });
|
|
670
|
-
break;
|
|
671
|
-
}
|
|
672
|
-
case 'networkAccess':
|
|
673
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { networkAccess: value === true });
|
|
674
|
-
break;
|
|
675
|
-
case 'networkAllowlist': {
|
|
676
|
-
const { domains, bad } = parseAllowlistText(typeof value === 'string' ? value : String(value));
|
|
677
|
-
if (bad.length > 0)
|
|
678
|
-
return `白名单里有不像域名的项:${bad.join(';')}`;
|
|
679
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { networkAllowlist: domains });
|
|
680
|
-
break;
|
|
681
|
-
}
|
|
682
|
-
case 'onUnavailable': {
|
|
683
|
-
const mode = String(value);
|
|
684
|
-
if (mode !== 'degrade' && mode !== 'fail-closed')
|
|
685
|
-
return '「后端建不起来时」只能是 degrade(降级继续)或 fail-closed(写与执行一律拒)';
|
|
686
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { onUnavailable: mode });
|
|
687
|
-
break;
|
|
688
|
-
}
|
|
689
|
-
case 'extraWritableRoots':
|
|
690
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { extraWritableRoots: parsePathListText(typeof value === 'string' ? value : String(value)) });
|
|
691
|
-
break;
|
|
692
|
-
case 'readOnlySubpaths':
|
|
693
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { readOnlySubpaths: parsePathListText(typeof value === 'string' ? value : String(value)) });
|
|
694
|
-
break;
|
|
695
|
-
case 'backend': {
|
|
696
|
-
const backend = String(value);
|
|
697
|
-
if (backend !== 'policy' && backend !== 'docker' && backend !== 'windows-token') {
|
|
698
|
-
return '后端只能是 policy(策略围栏)/ docker(容器)/ windows-token(Windows 受限令牌)';
|
|
699
|
-
}
|
|
700
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { backend });
|
|
701
|
-
break;
|
|
702
|
-
}
|
|
703
|
-
case 'image': {
|
|
704
|
-
const image = String(value).trim();
|
|
705
|
-
if (image === '')
|
|
706
|
-
return '镜像名不能空着(要恢复默认就填 ' + DEFAULT_SANDBOX_IMAGE + ')';
|
|
707
|
-
if (/\s/.test(image))
|
|
708
|
-
return '镜像名不能带空格';
|
|
709
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { image });
|
|
710
|
-
break;
|
|
711
|
-
}
|
|
712
|
-
default:
|
|
713
|
-
return `这个分区没有这项:${key}`;
|
|
714
|
-
}
|
|
715
|
-
// 档位/后端/网络都可能改变强制等级,改完立刻重算一次
|
|
716
|
-
await refreshBackend();
|
|
717
|
-
ctx.emit('dsc/changed');
|
|
718
|
-
},
|
|
719
|
-
async action(name) {
|
|
720
|
-
if (name === 'probe')
|
|
721
|
-
return await refreshBackend();
|
|
722
|
-
if (name === 'doctor') {
|
|
723
|
-
await refreshNetworkTier();
|
|
724
|
-
return `网络第二级:${networkTier} —— ${networkTierDetail}`;
|
|
725
|
-
}
|
|
726
|
-
if (name === 'setup') {
|
|
727
|
-
if (process.platform !== 'win32')
|
|
728
|
-
return '网络第二级只适用于 Windows';
|
|
729
|
-
const result = await runSetupElevated(DSC_HOME);
|
|
730
|
-
await refreshNetworkTier();
|
|
731
|
-
const verdict = result.ok ? '提权 setup 完成' : '提权 setup 未完成';
|
|
732
|
-
return `${verdict}:${result.detail}|体检:${networkTier} —— ${networkTierDetail}`;
|
|
733
|
-
}
|
|
734
|
-
return `这个分区没有这个按钮:${name}`;
|
|
735
|
-
},
|
|
736
|
-
};
|
|
737
|
-
const offSection = ctx.settings.registerSection(section);
|
|
738
|
-
// ── /sandbox 命令 ─────────────────────────────────────────────────────────
|
|
739
|
-
const offCommand = ctx.commands.register({ name: 'sandbox', args: '', description: '看沙箱档位、强制执行等级、可写根、网络开关与最近 3 次拒绝' }, ({ ui }) => {
|
|
740
|
-
ui.notice(report());
|
|
741
|
-
});
|
|
742
|
-
// ── 对外服务 ─────────────────────────────────────────────────────────────
|
|
743
|
-
const service = {
|
|
744
|
-
get mode() {
|
|
745
|
-
return modeOf(ctx.session.current());
|
|
746
|
-
},
|
|
747
|
-
get enforcement() {
|
|
748
|
-
return effectiveEnforcement(modeOf(ctx.session.current()));
|
|
749
|
-
},
|
|
750
|
-
get writableRoots() {
|
|
751
|
-
return snapshot().policy.roots;
|
|
752
|
-
},
|
|
753
|
-
get networkAccess() {
|
|
754
|
-
return readConfig().config.networkAccess;
|
|
755
|
-
},
|
|
756
|
-
get tmpDir() {
|
|
757
|
-
return snapshot().policy.tmpDir;
|
|
758
|
-
},
|
|
759
|
-
canWrite(path, cwd, sessionPath) {
|
|
760
|
-
// cwd 省略时退回会话工作目录(接口约定见 src/services/types.ts 的 SandboxService)。
|
|
761
|
-
const { policy } = snapshot(cwd, sessionPath, modeOf(sessionOf(undefined, sessionPath)));
|
|
762
|
-
const check = checkWrite(policy, path);
|
|
763
|
-
const out = { allowed: check.allowed, reason: check.reason };
|
|
764
|
-
if (check.root !== undefined)
|
|
765
|
-
out.root = check.root;
|
|
766
|
-
return out;
|
|
767
|
-
},
|
|
768
|
-
/**
|
|
769
|
-
* 审批用:这次调用越界了没有、越界之后能不能问用户。
|
|
770
|
-
* 守卫里同一条判定已经做过一遍(order 8),这里再做一遍是刻意的——审批是
|
|
771
|
-
* 自动放行的最后一道,它不能假设「沙箱一定已经判过」。
|
|
772
|
-
*/
|
|
773
|
-
check(target, command, cwd, sessionPath) {
|
|
774
|
-
const mode = modeOf(sessionOf(undefined, sessionPath));
|
|
775
|
-
const { config, policy } = snapshot(cwd, sessionPath, mode);
|
|
776
|
-
if (mode === 'danger-full-access')
|
|
777
|
-
return { allowed: true, requestable: false };
|
|
778
|
-
const verdict = target !== undefined && target.trim() !== ''
|
|
779
|
-
? writeVerdict(policy, target)
|
|
780
|
-
: command !== undefined && command.trim() !== ''
|
|
781
|
-
? execVerdict(config, policy, command)
|
|
782
|
-
: PASS;
|
|
783
|
-
if (verdict.allowed)
|
|
784
|
-
return { allowed: true, requestable: false };
|
|
785
|
-
const rule = verdict.rule.replace(/^write-target:/, '');
|
|
786
|
-
return {
|
|
787
|
-
allowed: false,
|
|
788
|
-
requestable: askableRule(verdict.rule),
|
|
789
|
-
reason: verdict.why,
|
|
790
|
-
rule,
|
|
791
|
-
};
|
|
792
|
-
},
|
|
793
|
-
describe() {
|
|
794
|
-
const { policy } = snapshot();
|
|
795
|
-
const mode = modeOf(ctx.session.current());
|
|
796
|
-
return `沙箱 ${mode}(强制执行 ${effectiveEnforcement(mode)}):${describePolicy(policy)}`;
|
|
797
|
-
},
|
|
798
|
-
/**
|
|
799
|
-
* 记一条**本会话**的放宽:把几个绝对路径并进这个会话的可写根。
|
|
800
|
-
* 只有审批卡上「本会话允许」那一按会调它(调用方是 approval 插件)。
|
|
801
|
-
*/
|
|
802
|
-
grantSession(sessionPath, roots) {
|
|
803
|
-
if (sessionPath === '' || roots.length === 0)
|
|
804
|
-
return;
|
|
805
|
-
const current = sessionRoots.get(sessionPath) ?? [];
|
|
806
|
-
const merged = [...current];
|
|
807
|
-
for (const root of roots)
|
|
808
|
-
if (root !== '' && !merged.includes(root))
|
|
809
|
-
merged.push(root);
|
|
810
|
-
sessionRoots.set(sessionPath, merged);
|
|
811
|
-
},
|
|
812
|
-
/** 读一个会话已经放宽出来的可写根(诊断与 `/sandbox` 用)。 */
|
|
813
|
-
sessionGrants(sessionPath) {
|
|
814
|
-
return sessionRoots.get(sessionPath) ?? [];
|
|
815
|
-
},
|
|
816
|
-
/**
|
|
817
|
-
* 切**当前会话**的档位(打包权限预设与设置页走同一条写口)。
|
|
818
|
-
* 只写会话状态,不动 plugins.json——那一份是「新会话默认」,换它要走 setDefaultMode。
|
|
819
|
-
* @param next - 三档之一;写错当场抛错(预设表是常量,正常到不了这里)。
|
|
820
|
-
*/
|
|
821
|
-
setMode(next) {
|
|
822
|
-
if (!SANDBOX_MODES.includes(next)) {
|
|
823
|
-
throw new Error(`沙箱档位只能是 ${SANDBOX_MODES.join(' / ')},收到「${next}」`);
|
|
824
|
-
}
|
|
825
|
-
writePermissions(ctx.session.current(), { sandbox: next });
|
|
826
|
-
ctx.emit('dsc/changed');
|
|
827
|
-
},
|
|
828
|
-
/**
|
|
829
|
-
* 设「新会话默认档位」:写 plugins.json 并重算进程级后端。
|
|
830
|
-
* 只影响之后新建的会话;已有会话的档位不受影响。
|
|
831
|
-
*/
|
|
832
|
-
setDefaultMode(next) {
|
|
833
|
-
if (!SANDBOX_MODES.includes(next)) {
|
|
834
|
-
throw new Error(`沙箱档位只能是 ${SANDBOX_MODES.join(' / ')},收到「${next}」`);
|
|
835
|
-
}
|
|
836
|
-
writePluginConfig(SANDBOX_CONFIG_KEY, { mode: next });
|
|
837
|
-
ctx.emit('dsc/changed');
|
|
838
|
-
void refreshBackend().catch(() => {
|
|
839
|
-
// 重算失败维持现状:下一次工具调用会在 plan() 里自己降级并如实上报
|
|
840
|
-
});
|
|
841
|
-
},
|
|
842
|
-
};
|
|
843
|
-
const offService = ctx.provide('sandbox', service);
|
|
844
|
-
// 换会话 = 换工作目录:受限令牌后端的可写根必须跟着重建(授权按路径缓存,重复授权幂等)。
|
|
845
|
-
const offSession = ctx.on('dsc/session-open', () => {
|
|
846
|
-
void refreshBackend().catch(() => {
|
|
847
|
-
// 重建失败维持现状:下一次 plan() 会在授权失败时自己降级并如实上报
|
|
848
|
-
});
|
|
849
|
-
ctx.emit('dsc/changed');
|
|
850
|
-
});
|
|
851
|
-
// 挂载后立刻探一次后端,并把现状写进会话流:降级(partial)必须看得见。
|
|
852
|
-
// 启动提示只展示一次(0.6.64):档位/强制等级/网络没变就不重复说。
|
|
853
|
-
void refreshBackend()
|
|
854
|
-
.then(() => {
|
|
855
|
-
if (disposed)
|
|
856
|
-
return;
|
|
857
|
-
const line = mountLine();
|
|
858
|
-
if (bootNoticeOnce('sandbox.ready', line))
|
|
859
|
-
ctx.transcript.system(line);
|
|
860
|
-
})
|
|
861
|
-
.catch((error) => {
|
|
862
|
-
if (!disposed)
|
|
863
|
-
ctx.transcript.system(`沙箱后端探测失败(照常执行 + 审批卡兜底):${errText(error)}`);
|
|
864
|
-
});
|
|
865
|
-
// 网络第二级体检(异步,结论进设置页与 /sandbox;不写会话流,避免挂载信息过载)
|
|
866
|
-
void refreshNetworkTier();
|
|
867
|
-
return () => {
|
|
868
|
-
disposed = true;
|
|
869
|
-
generation += 1;
|
|
870
|
-
offRunner?.();
|
|
871
|
-
offRunner = null;
|
|
872
|
-
offWinDispose?.();
|
|
873
|
-
offWinDispose = null;
|
|
874
|
-
offSession();
|
|
875
|
-
offService();
|
|
876
|
-
offCommand();
|
|
877
|
-
offSection();
|
|
878
|
-
offPrompt();
|
|
879
|
-
offGuard();
|
|
880
|
-
};
|
|
881
|
-
},
|
|
882
|
-
};
|