@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/app/App.js
DELETED
|
@@ -1,1650 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* 顶层界面:快照订阅(useSyncExternalStore)+ 键盘路由 + 鼠标层 + 恒定帧布局。
|
|
4
|
-
*
|
|
5
|
-
* 布局(0.6.56):根盒高度恒为「终端行数 − 1」并 overflow hidden——ink 的帧写带尾随
|
|
6
|
-
* 换行,帧高一旦随内容变化终端就会滚动(「↑↓ 跳回底部」的根源);固定帧之后任何
|
|
7
|
-
* 状态下重绘都从屏顶原位擦写、零滚动。聊天区是 flexGrow 的滚动视口:底对齐、老的
|
|
8
|
-
* 条目从顶上裁掉(只丢历史不丢最新),滚轮 / PgUp·PgDn 以条为单位回看,滚动时在
|
|
9
|
-
* 输入框上方挂一条可点击的「回到底部」提示;选择器与模型浮层独占整屏、列表行与
|
|
10
|
-
* 屏幕行一一对应,点击即命中。
|
|
11
|
-
*
|
|
12
|
-
* 键盘优先级:Ctrl+C(打断/退出)→ 审批卡(四档)→ 提问卡(模态作答)→ 计划反馈
|
|
13
|
-
* 输入 → 计划评审卡(批准/拒绝/带反馈)→ 图片预览浮层 → 子代理浮层 → 回看浮层
|
|
14
|
-
* (Ctrl+O)→ 会话选择器 → 模型/模式/技能浮层 → Esc(打断 / 双击撤回上一轮)→ PgUp/PgDn
|
|
15
|
-
* 滚动 → Ctrl+O/Ctrl+T → 其余交给 Composer(↑↓ 在输入框里仍是历史回忆,对齐
|
|
16
|
-
* dsh-TUI)。
|
|
17
|
-
*
|
|
18
|
-
* 鼠标(0.6.56):进程存活期间开启 SGR 跟踪(DECSET 1000+1006),卸载时关闭。
|
|
19
|
-
* ink 的按键解析不认识 SGR 序列,剥掉 ESC 头后以 `'[<b;x;yM|m'` 原样进 useInput——
|
|
20
|
-
* 在最顶层拦截:滚轮按状态路由(浮层/聊天/两个选择器);左键点击派发给命中区注册表
|
|
21
|
-
* (卡片页脚按钮、提问选项、回底提示条、附件芯片、后台芯片、图片行——组件用 yoga
|
|
22
|
-
* 绝对行自报几何,见 click.ts),列表则用构造行号直接映射。跟踪开着时终端原生选区
|
|
23
|
-
* 要走 Shift+拖拽,全终端 TUI 通例。
|
|
24
|
-
*
|
|
25
|
-
* 光标停靠(0.6.57):App 包一层 stdout.write,帧(含 `\x1b[2K`)写完追加一条
|
|
26
|
-
* CUP 把物理光标送回 Composer 声明的 caret(cursor.ts)——Windows Terminal 的
|
|
27
|
-
* IME 拼音预览因此画在输入框里;无声明时隐藏光标。
|
|
28
|
-
*
|
|
29
|
-
* @module dsc-tui/app/App
|
|
30
|
-
*/
|
|
31
|
-
import { spawn } from 'node:child_process';
|
|
32
|
-
import { useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react';
|
|
33
|
-
import { Box, Text, useInput, useStdout } from 'ink';
|
|
34
|
-
import { DEFAULT_STATUS_BAR_PREFS, normalizeStatusBarPrefs } from '../contract.js';
|
|
35
|
-
import { runCommand } from '../plugins/commands.js';
|
|
36
|
-
import { AgentsOverlay, buildAgentRows } from './AgentsOverlay.js';
|
|
37
|
-
import { absoluteTop, measuredHeight, useClickRegion } from './click.js';
|
|
38
|
-
import { ApprovalCard } from './ApprovalCard.js';
|
|
39
|
-
import { AskCard, SKIPPED_ANSWER } from './AskCard.js';
|
|
40
|
-
import { readClipboardImage } from './clipboard-image.js';
|
|
41
|
-
import { ChatView } from './ChatView.js';
|
|
42
|
-
import { Composer } from './Composer.js';
|
|
43
|
-
import { renderImageBlock } from './image-blocks.js';
|
|
44
|
-
import { HINT } from './keymap.js';
|
|
45
|
-
import { ModelPicker } from './ModelPicker.js';
|
|
46
|
-
import { parseMouse } from './mouse.js';
|
|
47
|
-
import { PlanReviewCard } from './PlanReviewCard.js';
|
|
48
|
-
import { clearPointer, publishPointer } from './pointer.js';
|
|
49
|
-
import { PresetPicker } from './PresetPicker.js';
|
|
50
|
-
import { PreviewOverlay } from './PreviewOverlay.js';
|
|
51
|
-
import { SessionPicker } from './SessionPicker.js';
|
|
52
|
-
import { SETTINGS_CHROME, SETTINGS_LIST_TOP, SettingsOverlay } from './SettingsOverlay.js';
|
|
53
|
-
import { SkillsPicker } from './SkillsPicker.js';
|
|
54
|
-
import { TRANSCRIPT_CHROME, TranscriptOverlay } from './TranscriptOverlay.js';
|
|
55
|
-
import { WHEEL_LINES } from './TranscriptViewport.js';
|
|
56
|
-
import { useCoalescedSnapshot } from './snapshot-subscribe.js';
|
|
57
|
-
import { buildSettingsRows, focusableRows, isFocusableRow, settingsWindowStart, } from './settings-model.js';
|
|
58
|
-
import { shortId, StatusBar } from './StatusBar.js';
|
|
59
|
-
import { RAIL_WIDTH } from './scroll-model.js';
|
|
60
|
-
import { TaskStrips } from './TaskStrips.js';
|
|
61
|
-
import { Welcome } from './Welcome.js';
|
|
62
|
-
import { extractImages, readImageAsDataUrl } from './attach.js';
|
|
63
|
-
import { BORDER, GAP, PAD, PALETTE, STATUS_COLOR, TEXT } from './theme.js';
|
|
64
|
-
/** 双击 Ctrl+C 的判定窗口。 */
|
|
65
|
-
const EXIT_WINDOW_MS = 2000;
|
|
66
|
-
/** 双击 Esc 撤回上一轮的判定窗口(对齐 dsh 的 3 秒)。 */
|
|
67
|
-
const REWIND_WINDOW_MS = 3000;
|
|
68
|
-
/** 子代理转录跟活的节流:队友在写的时候最多每 400ms 重放一次它的运行记录。 */
|
|
69
|
-
const PEEK_REFRESH_MS = 400;
|
|
70
|
-
/** 子代理只读转录的提示行(比主回看多一句「只读」)。 */
|
|
71
|
-
const PEEK_HINT = HINT.peek;
|
|
72
|
-
/** 欢迎页只挂在短会话顶上(resume 长会话再画只是把历史往下顶,dsh skipIntro 同款)。 */
|
|
73
|
-
const WELCOME_MAX_ENTRIES = 30;
|
|
74
|
-
/** 选择器框的固定行数:上下边框 2 + 标题 1 + 筛选行 1 + 提示行 1(改名行与提示行 1:1 互换)。 */
|
|
75
|
-
const PICKER_CHROME = 5;
|
|
76
|
-
/** 工作区显示名:最后一段路径(dsh 会话总管的 rail 同款;盘根/空目录给兜底文案)。 */
|
|
77
|
-
const workspaceLabel = (cwd) => {
|
|
78
|
-
if (cwd === '')
|
|
79
|
-
return '(无目录)';
|
|
80
|
-
const base = cwd.replace(/[\\/]+$/, '').split(/[\\/]/).pop() ?? cwd;
|
|
81
|
-
return base === '' ? cwd : base;
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* 「已离开最新」提示条(0.6.59 对齐 dsh 的 pill):蓝底深字,整枚可点回底。
|
|
85
|
-
*
|
|
86
|
-
* **浮在转录区最后一行上、不占净高度**(`marginTop={-1}` 把它从页脚里"借"的那一行还回去):
|
|
87
|
-
* 占一行会让聊天区高度随它出现/消失变化——刻度栏每滚一下就上下挪一行、滚回底部还差一行
|
|
88
|
-
* 到不了(两处都是用户报障)。负 margin 让页脚总高与没有胶囊时**完全相同**,而胶囊照旧
|
|
89
|
-
* 画在输入框上方那一行(ink 6.8 的 Box 没有 `bottom`/`top`,absolute 定位放不到底部)。
|
|
90
|
-
*
|
|
91
|
-
* **靠右**(本批改的):原先贴左,它盖住的正是每一行的**行首**——回看时最要紧的那一列。
|
|
92
|
-
* 右缘留出 `RAIL_WIDTH` 列,正好把刻度列让开(胶囊出现时人正在回看,刻度列正是要看的东西)。
|
|
93
|
-
*/
|
|
94
|
-
function TailIndicator({ hidden, onJump, registerClick, }) {
|
|
95
|
-
const ref = useRef(null);
|
|
96
|
-
useClickRegion(ref, registerClick, (col, row, top, height) => {
|
|
97
|
-
if (row < top || row >= top + height)
|
|
98
|
-
return false;
|
|
99
|
-
onJump();
|
|
100
|
-
return true;
|
|
101
|
-
});
|
|
102
|
-
return (_jsx(Box, { ref: ref, marginTop: -1, paddingRight: RAIL_WIDTH, justifyContent: "flex-end", children: _jsxs(Text, { backgroundColor: PALETTE.pillBg, color: PALETTE.pillText, bold: true, children: [HINT.backToBottom, hidden > 99 ? ` · ${hidden} 条新` : '', ' '] }) }));
|
|
103
|
-
}
|
|
104
|
-
export function App({ runtime, clipboardReader, imageRenderer, tuiNoticeExtras, snapshotMs, }) {
|
|
105
|
-
// 快照通知合并(见 snapshot-subscribe 的头注):上游是同步的「每个 delta 一次」,
|
|
106
|
-
// 直接喂给 useSyncExternalStore 就是每个 delta 一次全树 reconcile——开队友就卡在那。
|
|
107
|
-
const store = useCoalescedSnapshot(runtime, snapshotMs);
|
|
108
|
-
const snapshot = useSyncExternalStore(store.subscribe, store.getSnapshot);
|
|
109
|
-
const approval = snapshot.surfaces.pendingApproval;
|
|
110
|
-
const question = snapshot.surfaces.pendingQuestion;
|
|
111
|
-
const plan = snapshot.surfaces.pendingPlan;
|
|
112
|
-
const { stdout } = useStdout();
|
|
113
|
-
const [picker, setPicker] = useState(false);
|
|
114
|
-
const [pickerIndex, setPickerIndex] = useState(0);
|
|
115
|
-
const [expandThinking, setExpandThinking] = useState(false);
|
|
116
|
-
/**
|
|
117
|
-
* 已展开的工具卡(点一行工具卡切换)。持有在 App 而不是卡片自己:卡片滚出窗口切片会
|
|
118
|
-
* 卸载重挂,状态在 App 里才「展开过的还是展开着」;聊天区与回看浮层也共用同一份。
|
|
119
|
-
*/
|
|
120
|
-
const [expandedTools, setExpandedTools] = useState(new Set());
|
|
121
|
-
const toggleTool = useCallback((id) => {
|
|
122
|
-
setExpandedTools((previous) => {
|
|
123
|
-
const next = new Set(previous);
|
|
124
|
-
if (next.has(id))
|
|
125
|
-
next.delete(id);
|
|
126
|
-
else
|
|
127
|
-
next.add(id);
|
|
128
|
-
return next;
|
|
129
|
-
});
|
|
130
|
-
}, []);
|
|
131
|
-
// 换会话:条目 id 的作用域跟着换(新会话从头编号、id 会撞),展开集合清掉。
|
|
132
|
-
// 空集合时原样返回同一个引用,挂载那一次不触发多余渲染。
|
|
133
|
-
const sessionKey = snapshot.status.sessionId;
|
|
134
|
-
useEffect(() => {
|
|
135
|
-
setExpandedTools((previous) => (previous.size === 0 ? previous : new Set()));
|
|
136
|
-
}, [sessionKey]);
|
|
137
|
-
const [notice, setNotice] = useState(null);
|
|
138
|
-
/** 审批卡内嵌 diff 的展开态(v 切换;换卡即复位)。 */
|
|
139
|
-
const [approvalExpanded, setApprovalExpanded] = useState(false);
|
|
140
|
-
/** 计划全文的展开态。 */
|
|
141
|
-
const [planExpanded, setPlanExpanded] = useState(false);
|
|
142
|
-
/** 计划卡的「带反馈退回」输入模式:Composer 临时改成反馈输入框。 */
|
|
143
|
-
const [planFeedback, setPlanFeedback] = useState(false);
|
|
144
|
-
/** 提问卡的作答进度(一批多题逐题作答;换卡即复位)。 */
|
|
145
|
-
const [askIndex, setAskIndex] = useState(0);
|
|
146
|
-
const [askChecked, setAskChecked] = useState([]);
|
|
147
|
-
const [askHighlight, setAskHighlight] = useState(0);
|
|
148
|
-
const [askText, setAskText] = useState('');
|
|
149
|
-
/** 回看浮层(Ctrl+O)与子代理转录:滚动状态在 TranscriptViewport 里(按行),这里只持有手柄。 */
|
|
150
|
-
const [transcriptOpen, setTranscriptOpen] = useState(false);
|
|
151
|
-
const overlayRef = useRef(null);
|
|
152
|
-
const peekRef = useRef(null);
|
|
153
|
-
/** 上一次 peek 的时刻(跟活节流用)。 */
|
|
154
|
-
const lastPeek = useRef(0);
|
|
155
|
-
/** 聊天视口手柄(滚动状态在 TranscriptViewport 里,按行)。 */
|
|
156
|
-
const chatRef = useRef(null);
|
|
157
|
-
/** 滚离最新时记下当时的条数(回到底部那颗胶囊的「N 条新」);null = 贴着最新。 */
|
|
158
|
-
const [chatAwayFrom, setChatAwayFrom] = useState(null);
|
|
159
|
-
/** Composer 补全面板开合(Esc 打断与「关面板」的分流依据)。 */
|
|
160
|
-
const [panelOpen, setPanelOpen] = useState(false);
|
|
161
|
-
/** ---- 0.6.57:双击 Esc 撤回 / 剪贴板贴图 / 子代理浮层 / 图片预览 ---- */
|
|
162
|
-
/** 上一次 Esc 的时刻(撤回的 prime 判定;任何非 Esc 按键清零)。 */
|
|
163
|
-
const lastEsc = useRef(0);
|
|
164
|
-
/** Composer 草稿镜像(撤回要判断输入框是否为空;不进状态避免多余重渲染)。 */
|
|
165
|
-
const draftRef = useRef('');
|
|
166
|
-
/** 外部灌入 Composer 的草稿(token 变化即生效)。 */
|
|
167
|
-
const [composerPreset, setComposerPreset] = useState({ text: '', token: 0 });
|
|
168
|
-
/** 剪贴板贴图暂存的附件芯片。 */
|
|
169
|
-
const [attachments, setAttachments] = useState([]);
|
|
170
|
-
const attachmentSeq = useRef(0);
|
|
171
|
-
/** 子代理浮层:名单 / 某个代理的只读转录(null = 关闭)。 */
|
|
172
|
-
const [agentView, setAgentView] = useState(null);
|
|
173
|
-
const [agentEntries, setAgentEntries] = useState(null);
|
|
174
|
-
const [agentIndex, setAgentIndex] = useState(0);
|
|
175
|
-
/** 图片预览浮层(半块真彩;block 由 effect 现算)。 */
|
|
176
|
-
const [preview, setPreview] = useState(null);
|
|
177
|
-
const [previewBlock, setPreviewBlock] = useState(null);
|
|
178
|
-
const [previewLoading, setPreviewLoading] = useState(false);
|
|
179
|
-
const [previewError, setPreviewError] = useState(null);
|
|
180
|
-
// ---- 会话选择器:页 / 筛选 / 改名 / 删除确认 ----
|
|
181
|
-
const [pickerPage, setPickerPage] = useState('active');
|
|
182
|
-
const [archivedList, setArchivedList] = useState([]);
|
|
183
|
-
const [pickerQuery, setPickerQuery] = useState('');
|
|
184
|
-
const [pickerBuffer, setPickerBuffer] = useState(null);
|
|
185
|
-
const [pickerArmed, setPickerArmed] = useState(false);
|
|
186
|
-
/**
|
|
187
|
-
* 两级导航(0.6.63 对齐 dsh 的会话总管):已钻取的工作区 cwd;null = 工作区层。
|
|
188
|
-
* 工作区只有一个时派生为「直落会话层」(pickerWorkspace 保持 null,Esc 直接关)。
|
|
189
|
-
*/
|
|
190
|
-
const [pickerWorkspace, setPickerWorkspace] = useState(null);
|
|
191
|
-
/** 模型选择浮层(/model 无参数打开;输入即筛选)。 */
|
|
192
|
-
const [modelPicker, setModelPicker] = useState(false);
|
|
193
|
-
const [modelIndex, setModelIndex] = useState(0);
|
|
194
|
-
const [modelQuery, setModelQuery] = useState('');
|
|
195
|
-
/** 模式选择浮层(/preset 无参数打开,对齐 dsh 裸命令开 picker)。 */
|
|
196
|
-
const [presetPicker, setPresetPicker] = useState(false);
|
|
197
|
-
const [presetIndex, setPresetIndex] = useState(0);
|
|
198
|
-
const [presetQuery, setPresetQuery] = useState('');
|
|
199
|
-
/** 技能选择浮层(/skills 无参数打开;Enter 回填 /技能名 到输入行)。 */
|
|
200
|
-
const [skillsPicker, setSkillsPicker] = useState(false);
|
|
201
|
-
const [skillsIndex, setSkillsIndex] = useState(0);
|
|
202
|
-
const [skillsQuery, setSkillsQuery] = useState('');
|
|
203
|
-
/** ---- 0.6.61:设置页(/settings)---- 焦点/草稿/回执/滚动全在这组状态里。 */
|
|
204
|
-
const [settingsOpen, setSettingsOpen] = useState(false);
|
|
205
|
-
const [settingsSections, setSettingsSections] = useState([]);
|
|
206
|
-
const [settingsValues, setSettingsValues] = useState({});
|
|
207
|
-
/** 焦点在 focusables(可聚焦行号表)里的位置。 */
|
|
208
|
-
const [settingsIndex, setSettingsIndex] = useState(0);
|
|
209
|
-
const [settingsEdit, setSettingsEdit] = useState(null);
|
|
210
|
-
const [settingsNotice, setSettingsNotice] = useState(null);
|
|
211
|
-
/** 当前展开的设置子页(null = 根页;dsh 式一层分组,Esc 先退子页再关页)。 */
|
|
212
|
-
const [settingsGroup, setSettingsGroup] = useState(null);
|
|
213
|
-
/** 当前展开的分区页(0.6.64 两级导航:null = 根页只列分区名;组子页在分区页之下)。 */
|
|
214
|
-
const [settingsSection, setSettingsSection] = useState(null);
|
|
215
|
-
/** 状态栏段显隐(0.6.62):启动读一次 prefs,设置页改动后就地更新。 */
|
|
216
|
-
const [statusBarPrefs, setStatusBarPrefs] = useState(DEFAULT_STATUS_BAR_PREFS);
|
|
217
|
-
const lastCtrlC = useRef(0);
|
|
218
|
-
/** 可切换模型列表:进程内静态,取一次即可。 */
|
|
219
|
-
const models = useMemo(() => runtime.listModels(), [runtime]);
|
|
220
|
-
/** @ 提及补全的文件清单来源(dock 的 fs-list;不可用时补全退化为空)。 */
|
|
221
|
-
const dockLister = useCallback((dir) => runtime.dock('fs-list', { dir: dir === '' ? '.' : dir }), [runtime]);
|
|
222
|
-
/** 卡片/提示条的点击命中注册表(组件登记判定函数,几何在点击时现量,见 click.ts)。 */
|
|
223
|
-
const clickRegions = useRef(new Set());
|
|
224
|
-
const registerClick = useCallback((region) => {
|
|
225
|
-
clickRegions.current.add(region);
|
|
226
|
-
return () => {
|
|
227
|
-
clickRegions.current.delete(region);
|
|
228
|
-
};
|
|
229
|
-
}, []);
|
|
230
|
-
/** 拖动会话开在哪个区上(按下时命中、且它认拖动);没在拖 = null(见 `dispatchMouseDrag`)。 */
|
|
231
|
-
const dragTarget = useRef(null);
|
|
232
|
-
const askQuestions = question?.questions ?? (question !== null ? [question] : []);
|
|
233
|
-
const currentQuestion = askQuestions[askIndex];
|
|
234
|
-
/** 模型浮层的筛选结果(value/description 子串匹配)。 */
|
|
235
|
-
const modelList = useMemo(() => {
|
|
236
|
-
const q = modelQuery.trim().toLowerCase();
|
|
237
|
-
if (q === '')
|
|
238
|
-
return models;
|
|
239
|
-
return models.filter((choice) => choice.value.toLowerCase().includes(q) || choice.description.toLowerCase().includes(q));
|
|
240
|
-
}, [models, modelQuery]);
|
|
241
|
-
/** 模式投影(浮层开着才算:listPresets 是同步读盘)。 */
|
|
242
|
-
const presetSurface = useMemo(() => (presetPicker ? runtime.listPresets() : null), [runtime, presetPicker]);
|
|
243
|
-
/** 模式浮层的筛选结果(显示名/名字/说明子串匹配)。 */
|
|
244
|
-
const presetList = useMemo(() => {
|
|
245
|
-
if (presetSurface === null)
|
|
246
|
-
return [];
|
|
247
|
-
const q = presetQuery.trim().toLowerCase();
|
|
248
|
-
if (q === '')
|
|
249
|
-
return presetSurface.options;
|
|
250
|
-
return presetSurface.options.filter((preset) => preset.label.toLowerCase().includes(q) ||
|
|
251
|
-
preset.name.toLowerCase().includes(q) ||
|
|
252
|
-
preset.description.toLowerCase().includes(q));
|
|
253
|
-
}, [presetSurface, presetQuery]);
|
|
254
|
-
/** 技能投影(浮层开着才算)。 */
|
|
255
|
-
const skillsSurface = useMemo(() => (skillsPicker ? runtime.listSkills() : []), [runtime, skillsPicker]);
|
|
256
|
-
/** 技能浮层的筛选结果(名字/描述/来源子串匹配)。 */
|
|
257
|
-
const skillsList = useMemo(() => {
|
|
258
|
-
const q = skillsQuery.trim().toLowerCase();
|
|
259
|
-
if (q === '')
|
|
260
|
-
return skillsSurface;
|
|
261
|
-
return skillsSurface.filter((skill) => skill.name.toLowerCase().includes(q) ||
|
|
262
|
-
skill.description.toLowerCase().includes(q) ||
|
|
263
|
-
skill.source.toLowerCase().includes(q));
|
|
264
|
-
}, [skillsSurface, skillsQuery]);
|
|
265
|
-
/** 回合跑动 → 空闲时响一声 BEL:长任务跑完人不在终端前也能听见。 */
|
|
266
|
-
const previousTurn = useRef(snapshot.status.turnState);
|
|
267
|
-
useEffect(() => {
|
|
268
|
-
const current = snapshot.status.turnState;
|
|
269
|
-
const wasActive = previousTurn.current !== 'idle';
|
|
270
|
-
previousTurn.current = current;
|
|
271
|
-
if (wasActive && current === 'idle') {
|
|
272
|
-
try {
|
|
273
|
-
stdout?.write('\x07');
|
|
274
|
-
}
|
|
275
|
-
catch {
|
|
276
|
-
// 管道里写不进去就算了,提示音是锦上添花
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}, [snapshot.status.turnState, stdout]);
|
|
280
|
-
// 设置里的「思考块默认展开」是初值(0.6.61):启动读一次,Ctrl+T 仍是会话内
|
|
281
|
-
// 的临时开关。旧测试的 runtime mock 没有这个方法——缺了就静默跳过。
|
|
282
|
-
useEffect(() => {
|
|
283
|
-
if (typeof runtime.getUiPrefs !== 'function')
|
|
284
|
-
return;
|
|
285
|
-
const prefs = runtime.getUiPrefs();
|
|
286
|
-
if (prefs.reasoningDefaultOpen === true)
|
|
287
|
-
setExpandThinking(true);
|
|
288
|
-
// 状态栏段显隐(0.6.62):缺键归一(老 mock / 老宿主)后装填。
|
|
289
|
-
setStatusBarPrefs(normalizeStatusBarPrefs(prefs.statusBar));
|
|
290
|
-
}, [runtime]);
|
|
291
|
-
// 鼠标跟踪全时开启:1000 点击/滚轮、1002 按住拖动、1003 纯移动(悬停)。
|
|
292
|
-
//
|
|
293
|
-
// 1002/1003 是本批为「刻度列悬停读数 + 拖动 scrub」新开的(对齐 dsh)。**代价写清楚**:
|
|
294
|
-
// 应用一开鼠标上报,终端就不再自己处理拖拽选区(Windows Terminal 等本来就要按 Shift
|
|
295
|
-
// 才选——1000 已经如此,这里只是把运动事件也接过来)。偏移量没有别的用处:指针位置只
|
|
296
|
-
// 喂给 `pointer` 那个小 store,且只在指针位于右侧刻度列时才通知(见 pointer.ts)。
|
|
297
|
-
useEffect(() => {
|
|
298
|
-
stdout?.write('\x1b[?1000;1002;1003;1006h');
|
|
299
|
-
return () => {
|
|
300
|
-
try {
|
|
301
|
-
stdout?.write('\x1b[?1000;1002;1003;1006l');
|
|
302
|
-
clearPointer();
|
|
303
|
-
}
|
|
304
|
-
catch {
|
|
305
|
-
// 卸载收尾时写不进就放弃,别让退出路径再抛错
|
|
306
|
-
}
|
|
307
|
-
};
|
|
308
|
-
}, [stdout]);
|
|
309
|
-
/** Composer 草稿镜像(双击 Esc 撤回判断输入框是否为空)。 */
|
|
310
|
-
const handleDraftChange = useCallback((text) => {
|
|
311
|
-
draftRef.current = text;
|
|
312
|
-
}, []);
|
|
313
|
-
// notice 8 秒自动过期:提示盒常驻会挡住后续操作语义(用户反馈:命令提示
|
|
314
|
-
// 一直展示);有新 notice 就重置计时。不做「打字即清」——双击 Esc 撤回会把
|
|
315
|
-
// 文本灌回输入框(非空草稿事件),当场抹掉刚设置的撤回提示(电池实锤)。
|
|
316
|
-
useEffect(() => {
|
|
317
|
-
if (notice === null)
|
|
318
|
-
return;
|
|
319
|
-
const timer = setTimeout(() => setNotice(null), 8_000);
|
|
320
|
-
return () => clearTimeout(timer);
|
|
321
|
-
}, [notice]);
|
|
322
|
-
// 图片预览的字符画现算:preview(含 index)一变就重渲染当前那张。
|
|
323
|
-
useEffect(() => {
|
|
324
|
-
if (preview === null) {
|
|
325
|
-
setPreviewBlock(null);
|
|
326
|
-
setPreviewError(null);
|
|
327
|
-
setPreviewLoading(false);
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
const source = preview.sources[preview.index];
|
|
331
|
-
if (source === undefined)
|
|
332
|
-
return;
|
|
333
|
-
let cancelled = false;
|
|
334
|
-
setPreviewLoading(true);
|
|
335
|
-
setPreviewError(null);
|
|
336
|
-
const render = imageRenderer ?? renderImageBlock;
|
|
337
|
-
render(source, Math.max(10, (stdout?.columns ?? 80) - 4), Math.max(4, (stdout?.rows ?? 24) - 10))
|
|
338
|
-
.then((block) => {
|
|
339
|
-
if (cancelled)
|
|
340
|
-
return;
|
|
341
|
-
setPreviewBlock(block);
|
|
342
|
-
setPreviewLoading(false);
|
|
343
|
-
})
|
|
344
|
-
.catch((cause) => {
|
|
345
|
-
if (cancelled)
|
|
346
|
-
return;
|
|
347
|
-
setPreviewBlock(null);
|
|
348
|
-
setPreviewLoading(false);
|
|
349
|
-
setPreviewError(cause instanceof Error ? cause.message : String(cause));
|
|
350
|
-
});
|
|
351
|
-
return () => {
|
|
352
|
-
cancelled = true;
|
|
353
|
-
};
|
|
354
|
-
}, [preview, imageRenderer, stdout]);
|
|
355
|
-
// 卡片换人(或消失)时复位对应的本地状态。
|
|
356
|
-
useEffect(() => setApprovalExpanded(false), [approval?.id]);
|
|
357
|
-
useEffect(() => {
|
|
358
|
-
setPlanExpanded(false);
|
|
359
|
-
setPlanFeedback(false);
|
|
360
|
-
}, [plan?.file, plan?.title]);
|
|
361
|
-
useEffect(() => {
|
|
362
|
-
setAskIndex(0);
|
|
363
|
-
setAskChecked([]);
|
|
364
|
-
setAskHighlight(0);
|
|
365
|
-
setAskText('');
|
|
366
|
-
}, [question?.id]);
|
|
367
|
-
/** 提问卡推进到下一题(最后一题交出后服务收卡,本地进度直接归零)。 */
|
|
368
|
-
const advanceAsk = () => {
|
|
369
|
-
setAskChecked([]);
|
|
370
|
-
setAskHighlight(0);
|
|
371
|
-
setAskText('');
|
|
372
|
-
setAskIndex((current) => (current + 1 < askQuestions.length ? current + 1 : 0));
|
|
373
|
-
};
|
|
374
|
-
/** 交出当前题的答案:有自由文本用文本,否则按勾选(多选)或高亮(单选)。 */
|
|
375
|
-
const submitAsk = (raw) => {
|
|
376
|
-
if (question === null || currentQuestion === undefined)
|
|
377
|
-
return;
|
|
378
|
-
let answer = raw.trim();
|
|
379
|
-
if (answer === '') {
|
|
380
|
-
if (currentQuestion.multiSelect) {
|
|
381
|
-
const labels = askChecked
|
|
382
|
-
.map((position) => currentQuestion.options[position]?.label)
|
|
383
|
-
.filter((label) => label !== undefined);
|
|
384
|
-
if (labels.length === 0)
|
|
385
|
-
return;
|
|
386
|
-
answer = labels.join('、');
|
|
387
|
-
}
|
|
388
|
-
else {
|
|
389
|
-
const option = currentQuestion.options[askHighlight];
|
|
390
|
-
if (option === undefined)
|
|
391
|
-
return;
|
|
392
|
-
answer = option.label;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
runtime.answerQuestion(answer);
|
|
396
|
-
advanceAsk();
|
|
397
|
-
};
|
|
398
|
-
// ---- 会话选择器的数据整形:置顶优先、最近更新在前,输入即筛选 ----
|
|
399
|
-
const pickerSource = useMemo(() => {
|
|
400
|
-
const source = pickerPage === 'active'
|
|
401
|
-
? [...snapshot.sessions]
|
|
402
|
-
: archivedList.map((item) => ({
|
|
403
|
-
id: item.path,
|
|
404
|
-
cwd: item.cwd,
|
|
405
|
-
createdAt: item.createdAt,
|
|
406
|
-
updatedAt: item.updatedAt,
|
|
407
|
-
...(item.title !== undefined ? { title: item.title } : {}),
|
|
408
|
-
}));
|
|
409
|
-
source.sort((a, b) => (b.pinnedAt ?? 0) - (a.pinnedAt ?? 0) || b.updatedAt - a.updatedAt);
|
|
410
|
-
return source;
|
|
411
|
-
}, [pickerPage, snapshot.sessions, archivedList]);
|
|
412
|
-
/** 工作区分桶(当前页数据源按 cwd 归堆):当前会话所在工作区置顶,其余按最新会话时间降序。 */
|
|
413
|
-
const workspaceEntries = useMemo(() => {
|
|
414
|
-
const buckets = new Map();
|
|
415
|
-
for (const session of pickerSource) {
|
|
416
|
-
const bucket = buckets.get(session.cwd);
|
|
417
|
-
if (bucket === undefined) {
|
|
418
|
-
buckets.set(session.cwd, { cwd: session.cwd, count: 1, latest: session.updatedAt });
|
|
419
|
-
}
|
|
420
|
-
else {
|
|
421
|
-
bucket.count += 1;
|
|
422
|
-
bucket.latest = Math.max(bucket.latest, session.updatedAt);
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
const currentCwd = snapshot.status.cwd ?? null;
|
|
426
|
-
return [...buckets.values()].sort((a, b) => (a.cwd === currentCwd ? 0 : 1) - (b.cwd === currentCwd ? 0 : 1) || b.latest - a.latest);
|
|
427
|
-
}, [pickerSource, snapshot.status.cwd]);
|
|
428
|
-
/** 工作区层 = 未钻取且工作区不止一个(单工作区直落会话层,省一次回车)。 */
|
|
429
|
-
const activeWorkspace = pickerWorkspace ?? (workspaceEntries.length === 1 ? (workspaceEntries[0]?.cwd ?? null) : null);
|
|
430
|
-
const isWorkspaceLevel = activeWorkspace === null;
|
|
431
|
-
/** 工作区层的筛选(名称/路径子串)。 */
|
|
432
|
-
const workspaceList = useMemo(() => {
|
|
433
|
-
const q = pickerQuery.trim().toLowerCase();
|
|
434
|
-
if (q === '')
|
|
435
|
-
return workspaceEntries;
|
|
436
|
-
return workspaceEntries.filter((entry) => workspaceLabel(entry.cwd).toLowerCase().includes(q) || entry.cwd.toLowerCase().includes(q));
|
|
437
|
-
}, [workspaceEntries, pickerQuery]);
|
|
438
|
-
/** 会话层 = 已选工作区(或单工作区直落)的会话,再过筛选词。 */
|
|
439
|
-
const pickerList = useMemo(() => {
|
|
440
|
-
const scoped = activeWorkspace === null
|
|
441
|
-
? pickerSource
|
|
442
|
-
: pickerSource.filter((session) => session.cwd === activeWorkspace);
|
|
443
|
-
const q = pickerQuery.trim().toLowerCase();
|
|
444
|
-
if (q === '')
|
|
445
|
-
return scoped;
|
|
446
|
-
return scoped.filter((session) => (session.title ?? '').toLowerCase().includes(q) ||
|
|
447
|
-
session.cwd.toLowerCase().includes(q) ||
|
|
448
|
-
session.id.toLowerCase().includes(q));
|
|
449
|
-
}, [pickerSource, activeWorkspace, pickerQuery]);
|
|
450
|
-
// ---- 恒定帧与各视口的窗口切片 ----
|
|
451
|
-
const termRows = stdout?.rows ?? 24;
|
|
452
|
-
/** 帧内容行数:终端行数 − 1(ink 帧自带尾随换行,末行留给光标落点)。 */
|
|
453
|
-
const frameRows = Math.max(1, termRows - 1);
|
|
454
|
-
/** 终端列数(浮层宽度、刻度栏门槛、标题截断都按它算)。 */
|
|
455
|
-
const columns = stdout?.columns ?? 100;
|
|
456
|
-
/** 状态栏行数(去掉 context 进度条后固定一行):正文、浮层视口、刻度居中高度都按它算。 */
|
|
457
|
-
const statusbarLines = 1;
|
|
458
|
-
/** 回看 / 子代理转录浮层的视口行数(帧内扣掉状态栏与浮层框架)。翻页步长问视口要。 */
|
|
459
|
-
const overlayViewportLines = Math.max(1, frameRows - statusbarLines - TRANSCRIPT_CHROME);
|
|
460
|
-
/** 当前层的行数(工作区层 = 工作区数,会话层 = 会话数);窗口切片与点击映射都按它算。 */
|
|
461
|
-
const pickerRowCount = isWorkspaceLevel ? workspaceList.length : pickerList.length;
|
|
462
|
-
/** 选择器列表窗口:框内除固定框架外全部让给列表(点击行号映射按它 1:1 对齐)。 */
|
|
463
|
-
const pickerListRows = Math.min(Math.max(pickerRowCount, 0), Math.max(1, frameRows - statusbarLines - PICKER_CHROME));
|
|
464
|
-
/** 窗口起点:选中项尽量居中(fzf 式),两端夹住;列表放得下时等于 0。 */
|
|
465
|
-
const pickerStart = Math.min(Math.max(0, pickerIndex - Math.floor((pickerListRows - 1) / 2)), Math.max(0, pickerRowCount - pickerListRows));
|
|
466
|
-
const visibleSessions = pickerList.slice(pickerStart, pickerStart + pickerListRows);
|
|
467
|
-
const visibleWorkspaces = workspaceList
|
|
468
|
-
.slice(pickerStart, pickerStart + pickerListRows)
|
|
469
|
-
.map((entry) => ({
|
|
470
|
-
cwd: entry.cwd,
|
|
471
|
-
name: workspaceLabel(entry.cwd),
|
|
472
|
-
count: entry.count,
|
|
473
|
-
latest: entry.latest,
|
|
474
|
-
current: entry.cwd !== '' && entry.cwd === snapshot.status.cwd,
|
|
475
|
-
}));
|
|
476
|
-
// ---- 设置页(/settings)的行模型与窗口切片(几何与 SettingsOverlay 共表)----
|
|
477
|
-
const settingsRows = useMemo(() => buildSettingsRows(settingsSections, settingsSection, settingsGroup), [settingsSections, settingsSection, settingsGroup]);
|
|
478
|
-
const settingsFocusables = useMemo(() => focusableRows(settingsRows, settingsSections), [settingsRows, settingsSections]);
|
|
479
|
-
/** 焦点行 = focusables 里的第 index 个;列表变短时夹住(分区装载前后都安全)。 */
|
|
480
|
-
const settingsFocusRow = settingsFocusables[Math.min(settingsIndex, Math.max(0, settingsFocusables.length - 1))] ?? 0;
|
|
481
|
-
/** 设置页视口:帧内扣除固定框架(上下边框 2 + 标题 1 + notice 1 + 提示条 1)。 */
|
|
482
|
-
const settingsViewport = Math.max(1, frameRows - statusbarLines - SETTINGS_CHROME);
|
|
483
|
-
const settingsWindow = settingsWindowStart(settingsFocusRow, settingsViewport, settingsRows.length);
|
|
484
|
-
/** 条数的实时镜像(「离开最新」回调里要用当次的条数,回调引用要稳定)。 */
|
|
485
|
-
const entriesLenRef = useRef(0);
|
|
486
|
-
entriesLenRef.current = snapshot.entries.length;
|
|
487
|
-
/** 聊天区贴着最新 / 离开最新的切换(回到底部胶囊的数据源)。 */
|
|
488
|
-
const handleChatAtTail = useCallback((atTail) => {
|
|
489
|
-
setChatAwayFrom(atTail ? null : entriesLenRef.current);
|
|
490
|
-
}, []);
|
|
491
|
-
/** 归档页的数据加载(Tab 切页时拉一次;动作之后刷新也走这里)。 */
|
|
492
|
-
const reloadArchived = useCallback(() => {
|
|
493
|
-
void runtime
|
|
494
|
-
.listArchivedSessions()
|
|
495
|
-
.then((page) => setArchivedList(page.items))
|
|
496
|
-
.catch(() => setArchivedList([]));
|
|
497
|
-
}, [runtime]);
|
|
498
|
-
const togglePickerPage = () => {
|
|
499
|
-
setPickerArmed(false);
|
|
500
|
-
setPickerBuffer(null);
|
|
501
|
-
setPickerIndex(0);
|
|
502
|
-
setPickerQuery('');
|
|
503
|
-
// 两页的工作区集合不同:切页回工作区层重新选(dsh 总管同语义)。
|
|
504
|
-
setPickerWorkspace(null);
|
|
505
|
-
if (pickerPage === 'active') {
|
|
506
|
-
setPickerPage('archived');
|
|
507
|
-
reloadArchived();
|
|
508
|
-
}
|
|
509
|
-
else {
|
|
510
|
-
setPickerPage('active');
|
|
511
|
-
void runtime.refreshSessions();
|
|
512
|
-
}
|
|
513
|
-
};
|
|
514
|
-
/** 选择器里的会话动作(改名/置顶/归档/恢复/删除/分叉)统一收口:跑完刷新 + 错误上屏。 */
|
|
515
|
-
const pickerAction = (work) => {
|
|
516
|
-
void work()
|
|
517
|
-
.then((result) => {
|
|
518
|
-
if (result !== undefined && result.ok === false)
|
|
519
|
-
setNotice(result.error ?? '操作失败');
|
|
520
|
-
if (pickerPage === 'active')
|
|
521
|
-
void runtime.refreshSessions();
|
|
522
|
-
else
|
|
523
|
-
reloadArchived();
|
|
524
|
-
})
|
|
525
|
-
.catch((cause) => setNotice(cause instanceof Error ? cause.message : String(cause)));
|
|
526
|
-
};
|
|
527
|
-
/** 打开当前选中会话(Enter 与「点击已选中行」共用):归档页先恢复回活动区再打开。 */
|
|
528
|
-
const openSelectedSession = () => {
|
|
529
|
-
const selected = pickerList[pickerIndex];
|
|
530
|
-
if (selected === undefined)
|
|
531
|
-
return;
|
|
532
|
-
setPicker(false);
|
|
533
|
-
chatRef.current?.toTail();
|
|
534
|
-
if (pickerPage === 'archived') {
|
|
535
|
-
pickerAction(() => runtime.restoreSessions([selected.id]));
|
|
536
|
-
void runtime.openSession(selected.id);
|
|
537
|
-
}
|
|
538
|
-
else {
|
|
539
|
-
void runtime.openSession(selected.id);
|
|
540
|
-
}
|
|
541
|
-
};
|
|
542
|
-
/** 应用当前选中的模型(Enter 与「点击已选中项」共用)。 */
|
|
543
|
-
const applyModel = () => {
|
|
544
|
-
const choice = modelList[modelIndex];
|
|
545
|
-
if (choice === undefined)
|
|
546
|
-
return;
|
|
547
|
-
setModelPicker(false);
|
|
548
|
-
void runtime.setModel(choice.value);
|
|
549
|
-
};
|
|
550
|
-
/** 应用当前选中的模式(Enter 与「点击已选中项」共用):回执走 notice。 */
|
|
551
|
-
const applyPreset = () => {
|
|
552
|
-
const preset = presetList[presetIndex];
|
|
553
|
-
if (preset === undefined)
|
|
554
|
-
return;
|
|
555
|
-
setPresetPicker(false);
|
|
556
|
-
const mutation = runtime.usePreset(preset.name);
|
|
557
|
-
setNotice(mutation.ok ? mutation.notice ?? `已切换到模式「${preset.label}」` : mutation.error);
|
|
558
|
-
};
|
|
559
|
-
/** 应用当前选中的技能(Enter 与「点击已选中项」共用):把 /技能名 灌回输入行。 */
|
|
560
|
-
const applySkill = () => {
|
|
561
|
-
const skill = skillsList[skillsIndex];
|
|
562
|
-
if (skill === undefined)
|
|
563
|
-
return;
|
|
564
|
-
if (!skill.userInvocable) {
|
|
565
|
-
setNotice(`技能 ${skill.name} 没注册成命令(不进模型目录),不能这样调用`);
|
|
566
|
-
return;
|
|
567
|
-
}
|
|
568
|
-
setSkillsPicker(false);
|
|
569
|
-
setNotice(null);
|
|
570
|
-
setComposerPreset({ text: `/${skill.name} `, token: Date.now() });
|
|
571
|
-
};
|
|
572
|
-
// ---- 0.6.61:设置页的动作(Enter 与鼠标点击共用的唯一真源)----
|
|
573
|
-
/** 写一个设置项:回执进设置页底部 notice 行;成功后就地刷新值表(改动即保存)。 */
|
|
574
|
-
const applySetting = (sectionId, key, value) => {
|
|
575
|
-
void runtime
|
|
576
|
-
.setSettingValue(sectionId, key, value)
|
|
577
|
-
.then((mutation) => {
|
|
578
|
-
if (!mutation.ok) {
|
|
579
|
-
setSettingsNotice({ ok: false, text: mutation.error });
|
|
580
|
-
return;
|
|
581
|
-
}
|
|
582
|
-
setSettingsValues((current) => ({
|
|
583
|
-
...current,
|
|
584
|
-
[sectionId]: { ...current[sectionId], [key]: value },
|
|
585
|
-
}));
|
|
586
|
-
setSettingsNotice({ ok: true, text: mutation.notice ?? '已保存' });
|
|
587
|
-
// 思考块默认展开除了新会话语义,当前会话也当场跟着切
|
|
588
|
-
if (sectionId === 'tui' && key === 'reasoningDefaultOpen')
|
|
589
|
-
setExpandThinking(value === true);
|
|
590
|
-
// 状态栏段开关(0.6.62):就地改 state,关页即见(静默保存,无回执)
|
|
591
|
-
if (sectionId === 'tui' && key.startsWith('statusBar.')) {
|
|
592
|
-
setStatusBarPrefs((current) => ({ ...current, [key.slice('statusBar.'.length)]: value === true }));
|
|
593
|
-
}
|
|
594
|
-
})
|
|
595
|
-
.catch((cause) => setSettingsNotice({ ok: false, text: cause instanceof Error ? cause.message : String(cause) }));
|
|
596
|
-
};
|
|
597
|
-
/** 执行分区动作(button 字段):回执可能带结构化载荷(发布页链接等),TUI 只显示文案。 */
|
|
598
|
-
const runSettingsAction = (sectionId, action) => {
|
|
599
|
-
void runtime
|
|
600
|
-
.runSettingAction(sectionId, action)
|
|
601
|
-
.then((mutation) => {
|
|
602
|
-
if (!mutation.ok) {
|
|
603
|
-
setSettingsNotice({ ok: false, text: mutation.error });
|
|
604
|
-
return;
|
|
605
|
-
}
|
|
606
|
-
const fallback = mutation.data?.kind === 'url' ? mutation.data.url : '已完成';
|
|
607
|
-
setSettingsNotice({ ok: true, text: mutation.notice ?? fallback });
|
|
608
|
-
})
|
|
609
|
-
.catch((cause) => setSettingsNotice({ ok: false, text: cause instanceof Error ? cause.message : String(cause) }));
|
|
610
|
-
};
|
|
611
|
-
/** info.copyable 行的复制:/copy 同款(win32 clip / darwin pbcopy / linux wl-copy)。 */
|
|
612
|
-
const copyInfoText = (text) => {
|
|
613
|
-
const command = process.platform === 'darwin' ? 'pbcopy' : process.platform === 'win32' ? 'clip' : 'wl-copy';
|
|
614
|
-
try {
|
|
615
|
-
const child = spawn(command, [], { stdio: ['pipe', 'ignore', 'ignore'] });
|
|
616
|
-
child.on('error', () => setSettingsNotice({ ok: false, text: `复制失败:找不到 ${command} 命令` }));
|
|
617
|
-
child.stdin?.end(text);
|
|
618
|
-
setSettingsNotice({ ok: true, text: `已复制:${text}` });
|
|
619
|
-
}
|
|
620
|
-
catch (error) {
|
|
621
|
-
setSettingsNotice({
|
|
622
|
-
ok: false,
|
|
623
|
-
text: `复制失败:${error instanceof Error ? error.message : String(error)}`,
|
|
624
|
-
});
|
|
625
|
-
}
|
|
626
|
-
};
|
|
627
|
-
/** 行 → 字段解析(结构行或下标越界返回 null)。 */
|
|
628
|
-
const settingsFieldAt = (row) => {
|
|
629
|
-
if (row === undefined || row.kind !== 'field')
|
|
630
|
-
return null;
|
|
631
|
-
const section = settingsSections.find((entry) => entry.id === row.sectionId);
|
|
632
|
-
const field = section?.fields[row.fieldIndex];
|
|
633
|
-
return field !== undefined ? { sectionId: row.sectionId, field } : null;
|
|
634
|
-
};
|
|
635
|
-
/** 行的主动作(Enter 与「点击该行」共用):switch/select 改值即存,text/number 进编辑。 */
|
|
636
|
-
const activateSettingsRow = (row, direction) => {
|
|
637
|
-
if (row?.kind === 'section') {
|
|
638
|
-
// 进分区页(0.6.64 两级导航):焦点与草稿归零;Esc 由键盘分支逐级退栈
|
|
639
|
-
setSettingsSection(row.sectionId);
|
|
640
|
-
setSettingsIndex(0);
|
|
641
|
-
setSettingsEdit(null);
|
|
642
|
-
return;
|
|
643
|
-
}
|
|
644
|
-
if (row?.kind === 'group') {
|
|
645
|
-
// 进组子页(dsh 同款):焦点与草稿归零;Esc 由键盘分支先退子页再关页
|
|
646
|
-
setSettingsGroup({ sectionId: row.sectionId, groupId: row.groupId });
|
|
647
|
-
setSettingsIndex(0);
|
|
648
|
-
setSettingsEdit(null);
|
|
649
|
-
return;
|
|
650
|
-
}
|
|
651
|
-
if (row?.kind === 'hint') {
|
|
652
|
-
if (row.jump === 'model-picker') {
|
|
653
|
-
setSettingsOpen(false);
|
|
654
|
-
setModelPicker(true);
|
|
655
|
-
setModelIndex(0);
|
|
656
|
-
setModelQuery('');
|
|
657
|
-
}
|
|
658
|
-
else if (row.jump === 'usage') {
|
|
659
|
-
setSettingsOpen(false);
|
|
660
|
-
runCommand('/usage', runtime, {
|
|
661
|
-
openPicker: openSessionPicker,
|
|
662
|
-
openModels: () => { },
|
|
663
|
-
openAgents,
|
|
664
|
-
notice: setNotice,
|
|
665
|
-
});
|
|
666
|
-
}
|
|
667
|
-
return;
|
|
668
|
-
}
|
|
669
|
-
const hit = settingsFieldAt(row);
|
|
670
|
-
if (hit === null)
|
|
671
|
-
return;
|
|
672
|
-
const { sectionId, field } = hit;
|
|
673
|
-
if (field.type === 'switch') {
|
|
674
|
-
applySetting(sectionId, field.key, settingsValues[sectionId]?.[field.key] === true ? false : true);
|
|
675
|
-
return;
|
|
676
|
-
}
|
|
677
|
-
if (field.type === 'select') {
|
|
678
|
-
const options = field.options;
|
|
679
|
-
if (options.length === 0)
|
|
680
|
-
return;
|
|
681
|
-
const current = String(settingsValues[sectionId]?.[field.key] ?? '');
|
|
682
|
-
const at = options.findIndex((option) => option.value === current);
|
|
683
|
-
const next = options[(((at + direction) % options.length) + options.length) % options.length] ?? options[0];
|
|
684
|
-
if (next !== undefined)
|
|
685
|
-
applySetting(sectionId, field.key, next.value);
|
|
686
|
-
return;
|
|
687
|
-
}
|
|
688
|
-
if (field.type === 'text' || field.type === 'number') {
|
|
689
|
-
const current = settingsValues[sectionId]?.[field.key];
|
|
690
|
-
setSettingsEdit({ sectionId, key: field.key, draft: current === undefined ? '' : String(current) });
|
|
691
|
-
return;
|
|
692
|
-
}
|
|
693
|
-
if (field.type === 'button') {
|
|
694
|
-
runSettingsAction(sectionId, field.action);
|
|
695
|
-
return;
|
|
696
|
-
}
|
|
697
|
-
if (field.type === 'info' && field.copyable === true)
|
|
698
|
-
copyInfoText(field.text);
|
|
699
|
-
};
|
|
700
|
-
/** 编辑态 Enter:number 先校验(非法留编辑态弹红,对齐 dsh),text 直接入库。 */
|
|
701
|
-
const commitSettingsEdit = () => {
|
|
702
|
-
if (settingsEdit === null)
|
|
703
|
-
return;
|
|
704
|
-
const hit = settingsFieldAt(settingsRows[settingsFocusRow]);
|
|
705
|
-
if (hit === null || !('key' in hit.field) || hit.field.key !== settingsEdit.key) {
|
|
706
|
-
setSettingsEdit(null);
|
|
707
|
-
return;
|
|
708
|
-
}
|
|
709
|
-
if (hit.field.type === 'number') {
|
|
710
|
-
const parsed = Number(settingsEdit.draft);
|
|
711
|
-
const invalid = settingsEdit.draft.trim() === '' ||
|
|
712
|
-
Number.isNaN(parsed) ||
|
|
713
|
-
(hit.field.min !== undefined && parsed < hit.field.min) ||
|
|
714
|
-
(hit.field.max !== undefined && parsed > hit.field.max);
|
|
715
|
-
if (invalid) {
|
|
716
|
-
const range = `${hit.field.min ?? '-∞'}–${hit.field.max ?? '∞'}`;
|
|
717
|
-
setSettingsNotice({ ok: false, text: `无效输入:需要 ${range} 之间的数字` });
|
|
718
|
-
return;
|
|
719
|
-
}
|
|
720
|
-
setSettingsEdit(null);
|
|
721
|
-
applySetting(hit.sectionId, hit.field.key, parsed);
|
|
722
|
-
return;
|
|
723
|
-
}
|
|
724
|
-
setSettingsEdit(null);
|
|
725
|
-
if (hit.field.type === 'text')
|
|
726
|
-
applySetting(hit.sectionId, hit.field.key, settingsEdit.draft);
|
|
727
|
-
};
|
|
728
|
-
// ---- 0.6.57:双击 Esc 撤回上一轮 ----
|
|
729
|
-
/**
|
|
730
|
-
* 撤回上一轮(对齐 codex 的 backtrack 语义、dsh 的 fork 实现):fork 出
|
|
731
|
-
* 「最后一条用户消息之前」的新会话并切换过去,原话放回输入框改完重发;
|
|
732
|
-
* 原会话原样保留(不删任何条目,/resume 里随时找回)。
|
|
733
|
-
*/
|
|
734
|
-
const rewindLastTurn = () => {
|
|
735
|
-
const path = snapshot.status.sessionId;
|
|
736
|
-
if (path === null || path === '') {
|
|
737
|
-
setNotice('还没有对话可撤回');
|
|
738
|
-
return;
|
|
739
|
-
}
|
|
740
|
-
void runtime
|
|
741
|
-
.listUserMessages(path)
|
|
742
|
-
.then(async (messages) => {
|
|
743
|
-
const last = messages[messages.length - 1];
|
|
744
|
-
if (last === undefined)
|
|
745
|
-
return '这个会话还没有用户消息,没得撤';
|
|
746
|
-
const fork = await runtime.forkSession(path, messages.length - 1);
|
|
747
|
-
if (!fork.ok)
|
|
748
|
-
return fork.error === '' ? '撤回失败' : fork.error;
|
|
749
|
-
await runtime.openSession(fork.path);
|
|
750
|
-
setComposerPreset((current) => ({ text: last, token: current.token + 1 }));
|
|
751
|
-
chatRef.current?.toTail();
|
|
752
|
-
setAttachments([]);
|
|
753
|
-
return '已撤回上一轮,原话已放回输入框(原会话保留在 /resume)';
|
|
754
|
-
})
|
|
755
|
-
.then((message) => {
|
|
756
|
-
if (typeof message === 'string')
|
|
757
|
-
setNotice(message);
|
|
758
|
-
})
|
|
759
|
-
.catch((cause) => setNotice(cause instanceof Error ? cause.message : String(cause)));
|
|
760
|
-
};
|
|
761
|
-
// ---- 0.6.57:剪贴板贴图与附件芯片 ----
|
|
762
|
-
/** Ctrl+V:剪贴板里是图就挂芯片(提交时读成 data URL),是文本就并入草稿。 */
|
|
763
|
-
const handlePaste = () => {
|
|
764
|
-
const read = clipboardReader ?? readClipboardImage;
|
|
765
|
-
void read()
|
|
766
|
-
.then((result) => {
|
|
767
|
-
if (result.kind === 'image') {
|
|
768
|
-
attachmentSeq.current += 1;
|
|
769
|
-
const id = attachmentSeq.current;
|
|
770
|
-
setAttachments((current) => [
|
|
771
|
-
...current,
|
|
772
|
-
{
|
|
773
|
-
id,
|
|
774
|
-
path: result.path,
|
|
775
|
-
name: result.path.split(/[\\/]/).pop() ?? result.path,
|
|
776
|
-
},
|
|
777
|
-
]);
|
|
778
|
-
setNotice(`已附加图片 #${id}(点击芯片预览,Enter 随消息发送)`);
|
|
779
|
-
return;
|
|
780
|
-
}
|
|
781
|
-
if (result.kind === 'text' && result.text.trim() !== '') {
|
|
782
|
-
setComposerPreset((current) => ({
|
|
783
|
-
text: draftRef.current + result.text,
|
|
784
|
-
token: current.token + 1,
|
|
785
|
-
}));
|
|
786
|
-
return;
|
|
787
|
-
}
|
|
788
|
-
setNotice('剪贴板里没有图片(文字粘贴交给终端,Ctrl+V 只接图)');
|
|
789
|
-
})
|
|
790
|
-
.catch(() => setNotice('剪贴板读取失败'));
|
|
791
|
-
};
|
|
792
|
-
/** 摘下一枚附件芯片。 */
|
|
793
|
-
const removeAttachment = (id) => {
|
|
794
|
-
setAttachments((current) => current.filter((att) => att.id !== id));
|
|
795
|
-
};
|
|
796
|
-
/** 点附件芯片:开这张图的预览。 */
|
|
797
|
-
const previewAttachment = (id) => {
|
|
798
|
-
const att = attachments.find((item) => item.id === id);
|
|
799
|
-
if (att === undefined)
|
|
800
|
-
return;
|
|
801
|
-
setPreview({ title: att.name, sources: [{ path: att.path }], index: 0 });
|
|
802
|
-
};
|
|
803
|
-
/** 点会话流里的图片行:预览历史消息带的图(data URL 现场落临时文件解码)。 */
|
|
804
|
-
const handlePreviewImages = useCallback((images) => {
|
|
805
|
-
setPreview({
|
|
806
|
-
title: `图片(${images.length} 张)`,
|
|
807
|
-
sources: images.map((dataUrl) => ({ dataUrl })),
|
|
808
|
-
index: 0,
|
|
809
|
-
});
|
|
810
|
-
}, []);
|
|
811
|
-
// ---- 0.6.57:子代理查看 ----
|
|
812
|
-
/** 打开某个代理/后台会话的只读转录(peek 不改文件)。 */
|
|
813
|
-
const openAgentTranscript = useCallback((file, title) => {
|
|
814
|
-
setAgentView({ mode: 'transcript', file, title });
|
|
815
|
-
setAgentEntries(null);
|
|
816
|
-
lastPeek.current = Date.now();
|
|
817
|
-
void runtime
|
|
818
|
-
.peekTranscript(file)
|
|
819
|
-
.then((entries) => setAgentEntries(entries))
|
|
820
|
-
.catch(() => setAgentEntries([]));
|
|
821
|
-
}, [runtime]);
|
|
822
|
-
/**
|
|
823
|
-
* 子代理转录「跟活」(旧账修正):原先只在打开那一刻 peek 一次,之后永远冻着——队友
|
|
824
|
-
* 干到哪都看不见(用户报的「点进子代看不到工作过程」)。现在打开期间跟着父转录的每次
|
|
825
|
-
* 快照更新重新取一次,节流到 ≥400ms(每次都是一次 `Session.load` + 全量重放,文件大
|
|
826
|
-
* 时是重活);关闭即停,过期回包按 cancelled 丢掉。
|
|
827
|
-
*/
|
|
828
|
-
useEffect(() => {
|
|
829
|
-
if (agentView === null || agentView.mode !== 'transcript')
|
|
830
|
-
return;
|
|
831
|
-
const file = agentView.file;
|
|
832
|
-
let cancelled = false;
|
|
833
|
-
const wait = Math.max(0, PEEK_REFRESH_MS - (Date.now() - lastPeek.current));
|
|
834
|
-
const timer = setTimeout(() => {
|
|
835
|
-
if (cancelled)
|
|
836
|
-
return;
|
|
837
|
-
lastPeek.current = Date.now();
|
|
838
|
-
void runtime
|
|
839
|
-
.peekTranscript(file)
|
|
840
|
-
.then((entries) => {
|
|
841
|
-
if (!cancelled)
|
|
842
|
-
setAgentEntries(entries);
|
|
843
|
-
})
|
|
844
|
-
.catch(() => {
|
|
845
|
-
if (!cancelled)
|
|
846
|
-
setAgentEntries([]);
|
|
847
|
-
});
|
|
848
|
-
}, wait);
|
|
849
|
-
return () => {
|
|
850
|
-
cancelled = true;
|
|
851
|
-
clearTimeout(timer);
|
|
852
|
-
};
|
|
853
|
-
}, [agentView, snapshot, runtime]);
|
|
854
|
-
/** 子代理卡点击:打开它的只读转录。引用要稳定——`Entry` 是 memo 的,内联箭头会让它每帧重渲染。 */
|
|
855
|
-
const handleOpenAgent = useCallback((file) => openAgentTranscript(file, shortId(file)), [openAgentTranscript]);
|
|
856
|
-
/** /agents 打开名单浮层(命令 ui 回调)。 */
|
|
857
|
-
const openAgents = useCallback(() => {
|
|
858
|
-
setAgentView({ mode: 'list' });
|
|
859
|
-
setAgentIndex(0);
|
|
860
|
-
}, []);
|
|
861
|
-
/** 打开设置页(/settings 命令入口):同步拿分区表,值表逐分区异步装填。 */
|
|
862
|
-
const openSettings = useCallback(() => {
|
|
863
|
-
const sections = runtime.getSettingsSections();
|
|
864
|
-
setSettingsSections(sections);
|
|
865
|
-
setSettingsValues({});
|
|
866
|
-
setSettingsIndex(0);
|
|
867
|
-
setSettingsEdit(null);
|
|
868
|
-
setSettingsNotice(null);
|
|
869
|
-
setSettingsGroup(null);
|
|
870
|
-
setSettingsSection(null);
|
|
871
|
-
setSettingsOpen(true);
|
|
872
|
-
for (const section of sections) {
|
|
873
|
-
void runtime
|
|
874
|
-
.getSectionValues(section.id)
|
|
875
|
-
.then((sectionValues) => {
|
|
876
|
-
setSettingsValues((current) => ({ ...current, [section.id]: sectionValues }));
|
|
877
|
-
})
|
|
878
|
-
.catch(() => {
|
|
879
|
-
// 单个分区取值失败不拖垮整页:空表 = 控件显示占位,保存时由后端报错
|
|
880
|
-
setSettingsValues((current) => ({ ...current, [section.id]: {} }));
|
|
881
|
-
});
|
|
882
|
-
}
|
|
883
|
-
}, [runtime]);
|
|
884
|
-
/** 打开会话选择器(/resume 命令、输入框 ⌸ 按钮、点击入口共用一条通道)。 */
|
|
885
|
-
const openSessionPicker = useCallback(() => {
|
|
886
|
-
setPicker(true);
|
|
887
|
-
setPickerIndex(0);
|
|
888
|
-
setPickerQuery('');
|
|
889
|
-
setPickerPage('active');
|
|
890
|
-
setPickerWorkspace(null);
|
|
891
|
-
void runtime.refreshSessions();
|
|
892
|
-
}, [runtime]);
|
|
893
|
-
/** 工作区层的 Enter/再点:钻进该工作区的会话列表(清筛选,焦点回顶)。 */
|
|
894
|
-
const enterWorkspace = (index) => {
|
|
895
|
-
const entry = workspaceList[index];
|
|
896
|
-
if (entry === undefined)
|
|
897
|
-
return;
|
|
898
|
-
setPickerWorkspace(entry.cwd);
|
|
899
|
-
setPickerIndex(0);
|
|
900
|
-
setPickerQuery('');
|
|
901
|
-
setPickerArmed(false);
|
|
902
|
-
};
|
|
903
|
-
/** 名单浮层的行(队友在前、后台会话在后;与渲染同一条装配规则)。 */
|
|
904
|
-
const agentRows = agentView !== null && agentView.mode === 'list'
|
|
905
|
-
? buildAgentRows(runtime.listTeammates(), snapshot.sessionStates)
|
|
906
|
-
: [];
|
|
907
|
-
// ---- 卡片鼠标动作(与按键一一等价;键盘路由仍是唯一真源,这里只是映射)----
|
|
908
|
-
const handleApprovalAction = (action) => {
|
|
909
|
-
if (approval === null)
|
|
910
|
-
return;
|
|
911
|
-
if (action === 'allow-once')
|
|
912
|
-
runtime.answerApproval('allow-once');
|
|
913
|
-
else if (action === 'allow-session') {
|
|
914
|
-
if (approval.scopes.includes('session'))
|
|
915
|
-
runtime.answerApproval('allow-session');
|
|
916
|
-
}
|
|
917
|
-
else if (action === 'allow-always') {
|
|
918
|
-
if (approval.scopes.includes('always'))
|
|
919
|
-
runtime.answerApproval('allow-always');
|
|
920
|
-
}
|
|
921
|
-
else if (action === 'reject')
|
|
922
|
-
runtime.answerApproval('reject');
|
|
923
|
-
else if (action === 'toggle-diff')
|
|
924
|
-
setApprovalExpanded((current) => !current);
|
|
925
|
-
};
|
|
926
|
-
const handlePlanAction = (action) => {
|
|
927
|
-
if (action === 'approve')
|
|
928
|
-
runtime.answerPlan('approved');
|
|
929
|
-
else if (action === 'reject')
|
|
930
|
-
runtime.answerPlan('rejected');
|
|
931
|
-
else if (action === 'feedback')
|
|
932
|
-
setPlanFeedback(true);
|
|
933
|
-
else if (action === 'toggle')
|
|
934
|
-
setPlanExpanded((current) => !current);
|
|
935
|
-
};
|
|
936
|
-
const handleAskOption = (option) => {
|
|
937
|
-
if (question === null || currentQuestion === undefined)
|
|
938
|
-
return;
|
|
939
|
-
if (currentQuestion.multiSelect) {
|
|
940
|
-
setAskChecked((current) => current.includes(option)
|
|
941
|
-
? current.filter((position) => position !== option)
|
|
942
|
-
: [...current, option]);
|
|
943
|
-
return;
|
|
944
|
-
}
|
|
945
|
-
const chosen = currentQuestion.options[option];
|
|
946
|
-
if (chosen === undefined)
|
|
947
|
-
return;
|
|
948
|
-
runtime.answerQuestion(chosen.label);
|
|
949
|
-
advanceAsk();
|
|
950
|
-
};
|
|
951
|
-
/**
|
|
952
|
-
* 把一次「左键按下」派发给命中区:选择器/浮层优先,其余交给登记过的命中区(卡片页脚按钮、
|
|
953
|
-
* 提问选项、回底提示条、附件与后台芯片、图片行、刻度列…)。
|
|
954
|
-
*
|
|
955
|
-
* 几何**点击时才现量**(`absoluteTop` / `measuredHeight` 读的是上一帧的 yoga 结果):
|
|
956
|
-
* 注册时量到的是更早的尺寸,而点击离上一次绘制总有一段人手时差——现量才跟得上节流渲染。
|
|
957
|
-
*
|
|
958
|
-
* 返回**这次按下的去向**:认拖动的区(刻度列)被按下时要把拖动会话开在它
|
|
959
|
-
* 身上(见 `dragTarget`)——按住划 = 一连串跳到那一行,且只有从那个区上按下去的才认。
|
|
960
|
-
*/
|
|
961
|
-
function dispatchMouseClick(col, row) {
|
|
962
|
-
if (picker) {
|
|
963
|
-
if (pickerBuffer !== null)
|
|
964
|
-
return null; // 改名输入态不响应鼠标
|
|
965
|
-
// 列表行从「顶边框+标题+筛选行」之后起排(改名行再往下顺延一行)。
|
|
966
|
-
const listTop = 3 + (pickerBuffer !== null ? 1 : 0);
|
|
967
|
-
const row0 = row - 1 - listTop;
|
|
968
|
-
if (row0 < 0 || row0 >= pickerListRows)
|
|
969
|
-
return null;
|
|
970
|
-
const hit = pickerStart + row0;
|
|
971
|
-
// 两级行结构相同(listTop/切片一致):工作区层再点 = 钻入,会话层再点 = 打开。
|
|
972
|
-
if (hit !== pickerIndex) {
|
|
973
|
-
setPickerIndex(hit);
|
|
974
|
-
return null;
|
|
975
|
-
}
|
|
976
|
-
if (isWorkspaceLevel)
|
|
977
|
-
enterWorkspace(hit);
|
|
978
|
-
else
|
|
979
|
-
openSelectedSession();
|
|
980
|
-
return null;
|
|
981
|
-
}
|
|
982
|
-
if (modelPicker) {
|
|
983
|
-
const row0 = row - 1 - 3;
|
|
984
|
-
if (row0 < 0 || row0 >= modelList.length)
|
|
985
|
-
return null;
|
|
986
|
-
if (row0 === modelIndex)
|
|
987
|
-
applyModel();
|
|
988
|
-
else
|
|
989
|
-
setModelIndex(row0);
|
|
990
|
-
return null;
|
|
991
|
-
}
|
|
992
|
-
if (presetPicker) {
|
|
993
|
-
const row0 = row - 1 - 3;
|
|
994
|
-
if (row0 < 0 || row0 >= presetList.length)
|
|
995
|
-
return null;
|
|
996
|
-
if (row0 === presetIndex)
|
|
997
|
-
applyPreset();
|
|
998
|
-
else
|
|
999
|
-
setPresetIndex(row0);
|
|
1000
|
-
return null;
|
|
1001
|
-
}
|
|
1002
|
-
if (skillsPicker) {
|
|
1003
|
-
const row0 = row - 1 - 3;
|
|
1004
|
-
if (row0 < 0 || row0 >= skillsList.length)
|
|
1005
|
-
return null;
|
|
1006
|
-
if (row0 === skillsIndex)
|
|
1007
|
-
applySkill();
|
|
1008
|
-
else
|
|
1009
|
-
setSkillsIndex(row0);
|
|
1010
|
-
return null;
|
|
1011
|
-
}
|
|
1012
|
-
if (settingsOpen) {
|
|
1013
|
-
if (settingsEdit !== null)
|
|
1014
|
-
return null; // 草稿由键盘独占(对齐 dsh 的编辑态)
|
|
1015
|
-
// 列表行从「外框顶边 + 标题行」之后起排,滚动窗口与组件共用同一份行模型
|
|
1016
|
-
const slice = row - 1 - SETTINGS_LIST_TOP;
|
|
1017
|
-
if (slice < 0 || slice >= settingsViewport)
|
|
1018
|
-
return null;
|
|
1019
|
-
const target = settingsRows[settingsWindow + slice];
|
|
1020
|
-
if (target === undefined || (target.kind !== 'field' && target.kind !== 'hint' && target.kind !== 'group' && target.kind !== 'section'))
|
|
1021
|
-
return null;
|
|
1022
|
-
const fields = settingsSections.find((section) => section.id === target.sectionId)?.fields ?? [];
|
|
1023
|
-
if (!isFocusableRow(target, fields))
|
|
1024
|
-
return null;
|
|
1025
|
-
activateSettingsRow(target, 1);
|
|
1026
|
-
return null;
|
|
1027
|
-
}
|
|
1028
|
-
// 卡片页脚按钮 / 提问选项 / 回底提示条 / 附件与后台芯片 / 图片行:点击时现量
|
|
1029
|
-
// 几何(避免节流渲染导致的滞后),再询问判定函数;谁命中谁消费。
|
|
1030
|
-
for (const entry of clickRegions.current) {
|
|
1031
|
-
const top = absoluteTop(entry.node.current);
|
|
1032
|
-
const height = measuredHeight(entry.node.current);
|
|
1033
|
-
if (top === null || height === null)
|
|
1034
|
-
continue;
|
|
1035
|
-
if (entry.hit(col - 1, row - 1, top, height))
|
|
1036
|
-
return entry;
|
|
1037
|
-
}
|
|
1038
|
-
return null;
|
|
1039
|
-
}
|
|
1040
|
-
/**
|
|
1041
|
-
* 把一次「按住划」(SGR 1002 的 32 号事件)派发给**按下时开在这上面的那个拖动区**
|
|
1042
|
-
* (刻度列)。
|
|
1043
|
-
*
|
|
1044
|
-
* 为什么要有会话:没有它,终端报的每一个「按住移动」都要拿去问所有认拖动的区——
|
|
1045
|
-
* 只要行落在刻度块那一段、列碰巧对上,正文里按住划一下就把视图跳走(用户报障:
|
|
1046
|
-
* 「左键点任意位置都被当成点滚动条」)。会话只从**按下**开(`dispatchMouseClick` 的
|
|
1047
|
-
* 返回值),松手即关;命中判定里的列判定也照旧生效——手划出刻度列就停,划回来接着跟手。
|
|
1048
|
-
*/
|
|
1049
|
-
function dispatchMouseDrag(col, row) {
|
|
1050
|
-
const entry = dragTarget.current;
|
|
1051
|
-
if (entry === null)
|
|
1052
|
-
return;
|
|
1053
|
-
// 区已注销(换会话/开浮层把聊天区卸了):会话作废
|
|
1054
|
-
if (!clickRegions.current.has(entry)) {
|
|
1055
|
-
dragTarget.current = null;
|
|
1056
|
-
return;
|
|
1057
|
-
}
|
|
1058
|
-
const top = absoluteTop(entry.node.current);
|
|
1059
|
-
const height = measuredHeight(entry.node.current);
|
|
1060
|
-
if (top === null || height === null)
|
|
1061
|
-
return;
|
|
1062
|
-
entry.hit(col - 1, row - 1, top, height);
|
|
1063
|
-
}
|
|
1064
|
-
useInput((input, key) => {
|
|
1065
|
-
// SGR 鼠标事件最顶层拦截:滚轮按状态路由,左键点击派发给命中区,纯移动喂刻度列的悬停。
|
|
1066
|
-
// `parseMouse` 收**一包多条**(终端会把连着发生的事件攒一包发;旧锚定正则碰上就整包掉进
|
|
1067
|
-
// 键盘路径,最坏被读成 Esc)。
|
|
1068
|
-
const mouse = parseMouse(input);
|
|
1069
|
-
if (mouse !== null) {
|
|
1070
|
-
for (const event of mouse) {
|
|
1071
|
-
const col = event.col;
|
|
1072
|
-
const row = event.row;
|
|
1073
|
-
// 按钮号拆位:低两位 0 左 / 1 中 / 2 右 / 3 无按钮;32 位 = 移动;64 位 = 滚轮。
|
|
1074
|
-
const kind = event.button & 3;
|
|
1075
|
-
const moving = (event.button & 32) !== 0;
|
|
1076
|
-
if ((event.button & 64) !== 0) {
|
|
1077
|
-
// 滚轮:64 上 / 65 下,一步一条(浮层/聊天同款颗粒度)。
|
|
1078
|
-
const step = kind === 0 ? -1 : 1;
|
|
1079
|
-
if (picker) {
|
|
1080
|
-
setPickerIndex((current) => Math.max(0, Math.min(current + step, pickerRowCount - 1)));
|
|
1081
|
-
}
|
|
1082
|
-
else if (modelPicker) {
|
|
1083
|
-
setModelIndex((current) => Math.max(0, Math.min(current + step, modelList.length - 1)));
|
|
1084
|
-
}
|
|
1085
|
-
else if (presetPicker) {
|
|
1086
|
-
setPresetIndex((current) => Math.max(0, Math.min(current + step, presetList.length - 1)));
|
|
1087
|
-
}
|
|
1088
|
-
else if (skillsPicker) {
|
|
1089
|
-
setSkillsIndex((current) => Math.max(0, Math.min(current + step, skillsList.length - 1)));
|
|
1090
|
-
}
|
|
1091
|
-
else if (agentView !== null) {
|
|
1092
|
-
if (agentView.mode === 'list') {
|
|
1093
|
-
setAgentIndex((current) => Math.max(0, Math.min(current + step, agentRows.length - 1)));
|
|
1094
|
-
}
|
|
1095
|
-
else {
|
|
1096
|
-
peekRef.current?.scrollLines(-step * WHEEL_LINES);
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
else if (transcriptOpen) {
|
|
1100
|
-
overlayRef.current?.scrollLines(-step * WHEEL_LINES);
|
|
1101
|
-
}
|
|
1102
|
-
else if (settingsOpen) {
|
|
1103
|
-
// 设置页滚轮 = 移动焦点(dsh 同语义),窗口随焦点跟随
|
|
1104
|
-
setSettingsIndex((current) => Math.max(0, Math.min(current + step, Math.max(0, settingsFocusables.length - 1))));
|
|
1105
|
-
}
|
|
1106
|
-
else {
|
|
1107
|
-
chatRef.current?.scrollLines(-step * WHEEL_LINES);
|
|
1108
|
-
}
|
|
1109
|
-
continue;
|
|
1110
|
-
}
|
|
1111
|
-
if (moving && kind === 3) {
|
|
1112
|
-
// 纯移动(1003):只发布给刻度列的悬停用;指针在别处时 store 连通知都不发。
|
|
1113
|
-
// 「没有按键的移动」顺带说明没人按着——陈旧的拖动会话到此为止。
|
|
1114
|
-
dragTarget.current = null;
|
|
1115
|
-
publishPointer(col, row, columns);
|
|
1116
|
-
continue;
|
|
1117
|
-
}
|
|
1118
|
-
// 按住左键划过(1002):只喂「按下时开在刻度列上的那个会话」,正文里划过
|
|
1119
|
-
// 不再误触任何滚动(用户报障:左键点/拖任意位置都像在点滚动条)。指针位置照发,
|
|
1120
|
-
// 读数条因此跟着手走(dsh 同观感)。
|
|
1121
|
-
const dragging = moving && kind === 0;
|
|
1122
|
-
if (kind !== 0)
|
|
1123
|
-
continue;
|
|
1124
|
-
if (dragging) {
|
|
1125
|
-
publishPointer(col, row, columns);
|
|
1126
|
-
dispatchMouseDrag(col, row);
|
|
1127
|
-
continue;
|
|
1128
|
-
}
|
|
1129
|
-
if (!event.press) {
|
|
1130
|
-
// 松手(0;x;ym):拖动会话结束
|
|
1131
|
-
dragTarget.current = null;
|
|
1132
|
-
continue;
|
|
1133
|
-
}
|
|
1134
|
-
clearPointer();
|
|
1135
|
-
// 按下:派发点击,并「就手」把拖动会话开给认拖动的区(按住划 = 一连串跳到那一行)
|
|
1136
|
-
const consumed = dispatchMouseClick(col, row);
|
|
1137
|
-
dragTarget.current = consumed !== null && consumed.drag === true ? consumed : null;
|
|
1138
|
-
}
|
|
1139
|
-
return;
|
|
1140
|
-
}
|
|
1141
|
-
// 任何非 Esc 按键都取消「再按一次 Esc」的 prime 态(对齐 codex 的 backtrack)。
|
|
1142
|
-
if (!key.escape)
|
|
1143
|
-
lastEsc.current = 0;
|
|
1144
|
-
// Ctrl+V 贴图:终端把粘贴限定成文本,纯图片剪贴板不发任何字节——按键层自己接。
|
|
1145
|
-
if (key.ctrl && input === 'v' && !modal) {
|
|
1146
|
-
handlePaste();
|
|
1147
|
-
return;
|
|
1148
|
-
}
|
|
1149
|
-
if (key.ctrl && input === 'c') {
|
|
1150
|
-
const now = Date.now();
|
|
1151
|
-
if (now - lastCtrlC.current < EXIT_WINDOW_MS) {
|
|
1152
|
-
runtime.exit();
|
|
1153
|
-
return;
|
|
1154
|
-
}
|
|
1155
|
-
lastCtrlC.current = now;
|
|
1156
|
-
if (snapshot.status.turnState !== 'idle')
|
|
1157
|
-
runtime.interrupt();
|
|
1158
|
-
else
|
|
1159
|
-
setNotice('再按一次 Ctrl+C 退出');
|
|
1160
|
-
return;
|
|
1161
|
-
}
|
|
1162
|
-
if (approval !== null) {
|
|
1163
|
-
if (input === 'y' || input === 'Y')
|
|
1164
|
-
runtime.answerApproval('allow-once');
|
|
1165
|
-
else if (input === 'a' || input === 'A') {
|
|
1166
|
-
if (approval.scopes.includes('session'))
|
|
1167
|
-
runtime.answerApproval('allow-session');
|
|
1168
|
-
}
|
|
1169
|
-
else if (input === 'p' || input === 'P') {
|
|
1170
|
-
if (approval.scopes.includes('always'))
|
|
1171
|
-
runtime.answerApproval('allow-always');
|
|
1172
|
-
}
|
|
1173
|
-
else if (input === 'n' || input === 'N' || key.escape)
|
|
1174
|
-
runtime.answerApproval('reject');
|
|
1175
|
-
else if ((input === 'v' || input === 'V') && approval.diff !== undefined)
|
|
1176
|
-
setApprovalExpanded((current) => !current);
|
|
1177
|
-
return;
|
|
1178
|
-
}
|
|
1179
|
-
if (question !== null) {
|
|
1180
|
-
const optionCount = currentQuestion?.options.length ?? 0;
|
|
1181
|
-
if (key.upArrow) {
|
|
1182
|
-
setAskHighlight((current) => Math.max(0, current - 1));
|
|
1183
|
-
}
|
|
1184
|
-
else if (key.downArrow) {
|
|
1185
|
-
setAskHighlight((current) => Math.min(optionCount - 1, current + 1));
|
|
1186
|
-
}
|
|
1187
|
-
else if (key.escape) {
|
|
1188
|
-
runtime.answerQuestion(SKIPPED_ANSWER);
|
|
1189
|
-
advanceAsk();
|
|
1190
|
-
}
|
|
1191
|
-
else if (key.return) {
|
|
1192
|
-
submitAsk(askText);
|
|
1193
|
-
}
|
|
1194
|
-
else if (key.backspace || key.delete) {
|
|
1195
|
-
setAskText((current) => current.slice(0, -1));
|
|
1196
|
-
}
|
|
1197
|
-
else if (input === ' ' && optionCount > 0 && currentQuestion !== undefined) {
|
|
1198
|
-
// 空格在选择题里是「选定/勾选」;有自由文本需求时打字即可(数字不占用)。
|
|
1199
|
-
if (currentQuestion.multiSelect) {
|
|
1200
|
-
setAskChecked((current) => current.includes(askHighlight)
|
|
1201
|
-
? current.filter((position) => position !== askHighlight)
|
|
1202
|
-
: [...current, askHighlight]);
|
|
1203
|
-
}
|
|
1204
|
-
else {
|
|
1205
|
-
const option = currentQuestion.options[askHighlight];
|
|
1206
|
-
if (option !== undefined) {
|
|
1207
|
-
runtime.answerQuestion(option.label);
|
|
1208
|
-
advanceAsk();
|
|
1209
|
-
}
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
else if (!key.ctrl && !key.meta && !key.tab) {
|
|
1213
|
-
const printable = input.replace(/[\r\n]+/g, '');
|
|
1214
|
-
if (printable !== '')
|
|
1215
|
-
setAskText((current) => current + printable);
|
|
1216
|
-
}
|
|
1217
|
-
return;
|
|
1218
|
-
}
|
|
1219
|
-
if (planFeedback) {
|
|
1220
|
-
// 反馈文本由 Composer 承接(Enter 走 handleSubmit),这里只管 Esc 收摊。
|
|
1221
|
-
if (key.escape)
|
|
1222
|
-
setPlanFeedback(false);
|
|
1223
|
-
return;
|
|
1224
|
-
}
|
|
1225
|
-
if (plan !== null) {
|
|
1226
|
-
if (input === 'y' || input === 'Y')
|
|
1227
|
-
runtime.answerPlan('approved');
|
|
1228
|
-
else if (input === 'n' || input === 'N' || key.escape)
|
|
1229
|
-
runtime.answerPlan('rejected');
|
|
1230
|
-
else if (input === 'e' || input === 'E')
|
|
1231
|
-
setPlanFeedback(true);
|
|
1232
|
-
else if (input === 'v' || input === 'V')
|
|
1233
|
-
setPlanExpanded((current) => !current);
|
|
1234
|
-
return;
|
|
1235
|
-
}
|
|
1236
|
-
// 图片预览浮层:Esc / 点击关闭,←→ 在同一批图里切换。
|
|
1237
|
-
if (preview !== null) {
|
|
1238
|
-
if (key.escape)
|
|
1239
|
-
setPreview(null);
|
|
1240
|
-
else if (key.leftArrow)
|
|
1241
|
-
setPreview((current) => current === null ? current : { ...current, index: Math.max(0, current.index - 1) });
|
|
1242
|
-
else if (key.rightArrow)
|
|
1243
|
-
setPreview((current) => current === null
|
|
1244
|
-
? current
|
|
1245
|
-
: { ...current, index: Math.min(current.sources.length - 1, current.index + 1) });
|
|
1246
|
-
return;
|
|
1247
|
-
}
|
|
1248
|
-
// 子代理浮层:名单(Enter/点击看转录)与转录(回看浮层同款滚动)两种形态。
|
|
1249
|
-
if (agentView !== null) {
|
|
1250
|
-
if (agentView.mode === 'list') {
|
|
1251
|
-
if (key.escape)
|
|
1252
|
-
setAgentView(null);
|
|
1253
|
-
else if (key.return) {
|
|
1254
|
-
const row = agentRows[agentIndex];
|
|
1255
|
-
if (row !== undefined)
|
|
1256
|
-
openAgentTranscript(row.file, row.title);
|
|
1257
|
-
}
|
|
1258
|
-
else if (key.upArrow)
|
|
1259
|
-
setAgentIndex((current) => Math.max(0, current - 1));
|
|
1260
|
-
else if (key.downArrow)
|
|
1261
|
-
setAgentIndex((current) => Math.min(agentRows.length - 1, current + 1));
|
|
1262
|
-
return;
|
|
1263
|
-
}
|
|
1264
|
-
if (key.escape || input === 'q' || (key.ctrl && input === 'o'))
|
|
1265
|
-
setAgentView(null);
|
|
1266
|
-
else if (key.upArrow || input === 'k')
|
|
1267
|
-
peekRef.current?.scrollLines(1);
|
|
1268
|
-
else if (key.downArrow || input === 'j')
|
|
1269
|
-
peekRef.current?.scrollLines(-1);
|
|
1270
|
-
else if (key.pageUp)
|
|
1271
|
-
peekRef.current?.scrollLines(peekRef.current.page());
|
|
1272
|
-
else if (key.pageDown)
|
|
1273
|
-
peekRef.current?.scrollLines(-peekRef.current.page());
|
|
1274
|
-
else if (input === '[')
|
|
1275
|
-
peekRef.current?.jumpTurn('up');
|
|
1276
|
-
else if (input === ']')
|
|
1277
|
-
peekRef.current?.jumpTurn('down');
|
|
1278
|
-
return;
|
|
1279
|
-
}
|
|
1280
|
-
if (transcriptOpen) {
|
|
1281
|
-
if (key.escape || input === 'q' || (key.ctrl && input === 'o'))
|
|
1282
|
-
setTranscriptOpen(false);
|
|
1283
|
-
else if (key.upArrow || input === 'k')
|
|
1284
|
-
overlayRef.current?.scrollLines(1);
|
|
1285
|
-
else if (key.downArrow || input === 'j')
|
|
1286
|
-
overlayRef.current?.scrollLines(-1);
|
|
1287
|
-
else if (key.pageUp)
|
|
1288
|
-
overlayRef.current?.scrollLines(overlayRef.current.page());
|
|
1289
|
-
else if (key.pageDown)
|
|
1290
|
-
overlayRef.current?.scrollLines(-overlayRef.current.page());
|
|
1291
|
-
else if (input === '[')
|
|
1292
|
-
overlayRef.current?.jumpTurn('up');
|
|
1293
|
-
else if (input === ']')
|
|
1294
|
-
overlayRef.current?.jumpTurn('down');
|
|
1295
|
-
return;
|
|
1296
|
-
}
|
|
1297
|
-
if (picker) {
|
|
1298
|
-
const selected = pickerList[pickerIndex];
|
|
1299
|
-
// 改名态:输入行归改名缓冲
|
|
1300
|
-
if (pickerBuffer !== null) {
|
|
1301
|
-
if (key.escape)
|
|
1302
|
-
setPickerBuffer(null);
|
|
1303
|
-
else if (key.return) {
|
|
1304
|
-
if (selected !== undefined && pickerBuffer.trim() !== '') {
|
|
1305
|
-
const title = pickerBuffer.trim();
|
|
1306
|
-
pickerAction(() => runtime.renameSession(selected.id, title));
|
|
1307
|
-
}
|
|
1308
|
-
setPickerBuffer(null);
|
|
1309
|
-
}
|
|
1310
|
-
else if (key.backspace || key.delete)
|
|
1311
|
-
setPickerBuffer((current) => (current ?? '').slice(0, -1));
|
|
1312
|
-
else if (!key.ctrl && !key.meta) {
|
|
1313
|
-
const printable = input.replace(/[\r\n]+/g, '');
|
|
1314
|
-
if (printable !== '')
|
|
1315
|
-
setPickerBuffer((current) => (current ?? '') + printable);
|
|
1316
|
-
}
|
|
1317
|
-
return;
|
|
1318
|
-
}
|
|
1319
|
-
if (key.escape) {
|
|
1320
|
-
if (pickerArmed)
|
|
1321
|
-
setPickerArmed(false);
|
|
1322
|
-
else if (pickerWorkspace !== null) {
|
|
1323
|
-
// 会话层 Esc 先回工作区层(dsh 子页惯例);单工作区直落时没有上层,直接关。
|
|
1324
|
-
setPickerWorkspace(null);
|
|
1325
|
-
setPickerIndex(0);
|
|
1326
|
-
}
|
|
1327
|
-
else
|
|
1328
|
-
setPicker(false);
|
|
1329
|
-
return;
|
|
1330
|
-
}
|
|
1331
|
-
if (key.tab) {
|
|
1332
|
-
togglePickerPage();
|
|
1333
|
-
return;
|
|
1334
|
-
}
|
|
1335
|
-
if (key.return) {
|
|
1336
|
-
if (isWorkspaceLevel)
|
|
1337
|
-
enterWorkspace(pickerIndex);
|
|
1338
|
-
else
|
|
1339
|
-
openSelectedSession();
|
|
1340
|
-
return;
|
|
1341
|
-
}
|
|
1342
|
-
if (key.upArrow) {
|
|
1343
|
-
setPickerIndex((current) => Math.max(0, current - 1));
|
|
1344
|
-
return;
|
|
1345
|
-
}
|
|
1346
|
-
if (key.downArrow) {
|
|
1347
|
-
setPickerIndex((current) => Math.min(pickerRowCount - 1, current + 1));
|
|
1348
|
-
return;
|
|
1349
|
-
}
|
|
1350
|
-
if (key.ctrl) {
|
|
1351
|
-
// 动作键全走 Ctrl 组合——普通字符留给筛选输入;工作区层没有会话动作。
|
|
1352
|
-
if (isWorkspaceLevel)
|
|
1353
|
-
return;
|
|
1354
|
-
if (input === 'r' && selected !== undefined) {
|
|
1355
|
-
setPickerBuffer(selected.title ?? '');
|
|
1356
|
-
}
|
|
1357
|
-
else if (input === 'p' && selected !== undefined) {
|
|
1358
|
-
const pinned = selected.pinnedAt !== undefined;
|
|
1359
|
-
pickerAction(() => runtime.setSessionPinned(selected.id, !pinned));
|
|
1360
|
-
}
|
|
1361
|
-
else if (input === 'a' && pickerPage === 'active' && selected !== undefined) {
|
|
1362
|
-
pickerAction(() => runtime.archiveSessions([selected.id]));
|
|
1363
|
-
}
|
|
1364
|
-
else if (input === 'u' && pickerPage === 'archived' && selected !== undefined) {
|
|
1365
|
-
pickerAction(() => runtime.restoreSessions([selected.id]));
|
|
1366
|
-
}
|
|
1367
|
-
else if (input === 'x' && selected !== undefined) {
|
|
1368
|
-
if (pickerArmed) {
|
|
1369
|
-
setPickerArmed(false);
|
|
1370
|
-
pickerAction(() => runtime.purgeSessions([selected.id]));
|
|
1371
|
-
}
|
|
1372
|
-
else {
|
|
1373
|
-
setPickerArmed(true);
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
else if (input === 'f' && selected !== undefined) {
|
|
1377
|
-
pickerAction(() => runtime
|
|
1378
|
-
.listUserMessages(selected.id)
|
|
1379
|
-
.then((messages) => runtime.forkSession(selected.id, messages.length))
|
|
1380
|
-
.then((result) => {
|
|
1381
|
-
if (result.ok) {
|
|
1382
|
-
setPicker(false);
|
|
1383
|
-
void runtime.openSession(result.path);
|
|
1384
|
-
}
|
|
1385
|
-
return result.ok ? { ok: true } : { ok: false, error: '分叉失败' };
|
|
1386
|
-
}));
|
|
1387
|
-
}
|
|
1388
|
-
return;
|
|
1389
|
-
}
|
|
1390
|
-
// 普通字符:筛选输入
|
|
1391
|
-
if (key.backspace || key.delete) {
|
|
1392
|
-
setPickerQuery((current) => current.slice(0, -1));
|
|
1393
|
-
setPickerIndex(0);
|
|
1394
|
-
return;
|
|
1395
|
-
}
|
|
1396
|
-
if (!key.meta) {
|
|
1397
|
-
const printable = input.replace(/[\r\n\t]+/g, '');
|
|
1398
|
-
if (printable !== '') {
|
|
1399
|
-
setPickerQuery((current) => current + printable);
|
|
1400
|
-
setPickerIndex(0);
|
|
1401
|
-
setPickerArmed(false);
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
return;
|
|
1405
|
-
}
|
|
1406
|
-
if (modelPicker) {
|
|
1407
|
-
if (key.escape)
|
|
1408
|
-
setModelPicker(false);
|
|
1409
|
-
else if (key.return) {
|
|
1410
|
-
applyModel();
|
|
1411
|
-
}
|
|
1412
|
-
else if (key.upArrow)
|
|
1413
|
-
setModelIndex((current) => Math.max(0, current - 1));
|
|
1414
|
-
else if (key.downArrow)
|
|
1415
|
-
setModelIndex((current) => Math.min(modelList.length - 1, current + 1));
|
|
1416
|
-
else if (key.backspace || key.delete) {
|
|
1417
|
-
setModelQuery((current) => current.slice(0, -1));
|
|
1418
|
-
setModelIndex(0);
|
|
1419
|
-
}
|
|
1420
|
-
else if (!key.ctrl && !key.meta) {
|
|
1421
|
-
const printable = input.replace(/[\r\n\t]+/g, '');
|
|
1422
|
-
if (printable !== '') {
|
|
1423
|
-
setModelQuery((current) => current + printable);
|
|
1424
|
-
setModelIndex(0);
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
return;
|
|
1428
|
-
}
|
|
1429
|
-
// 模式浮层:与模型浮层同款(输入即筛选、Enter 切换、Esc 关)。
|
|
1430
|
-
if (presetPicker) {
|
|
1431
|
-
if (key.escape)
|
|
1432
|
-
setPresetPicker(false);
|
|
1433
|
-
else if (key.return)
|
|
1434
|
-
applyPreset();
|
|
1435
|
-
else if (key.upArrow)
|
|
1436
|
-
setPresetIndex((current) => Math.max(0, current - 1));
|
|
1437
|
-
else if (key.downArrow)
|
|
1438
|
-
setPresetIndex((current) => Math.min(presetList.length - 1, current + 1));
|
|
1439
|
-
else if (key.backspace || key.delete) {
|
|
1440
|
-
setPresetQuery((current) => current.slice(0, -1));
|
|
1441
|
-
setPresetIndex(0);
|
|
1442
|
-
}
|
|
1443
|
-
else if (!key.ctrl && !key.meta) {
|
|
1444
|
-
const printable = input.replace(/[\r\n\t]+/g, '');
|
|
1445
|
-
if (printable !== '') {
|
|
1446
|
-
setPresetQuery((current) => current + printable);
|
|
1447
|
-
setPresetIndex(0);
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
return;
|
|
1451
|
-
}
|
|
1452
|
-
// 技能浮层:同款;Enter 对不可回填的技能只提示不关页。
|
|
1453
|
-
if (skillsPicker) {
|
|
1454
|
-
if (key.escape)
|
|
1455
|
-
setSkillsPicker(false);
|
|
1456
|
-
else if (key.return)
|
|
1457
|
-
applySkill();
|
|
1458
|
-
else if (key.upArrow)
|
|
1459
|
-
setSkillsIndex((current) => Math.max(0, current - 1));
|
|
1460
|
-
else if (key.downArrow)
|
|
1461
|
-
setSkillsIndex((current) => Math.min(skillsList.length - 1, current + 1));
|
|
1462
|
-
else if (key.backspace || key.delete) {
|
|
1463
|
-
setSkillsQuery((current) => current.slice(0, -1));
|
|
1464
|
-
setSkillsIndex(0);
|
|
1465
|
-
}
|
|
1466
|
-
else if (!key.ctrl && !key.meta) {
|
|
1467
|
-
const printable = input.replace(/[\r\n\t]+/g, '');
|
|
1468
|
-
if (printable !== '') {
|
|
1469
|
-
setSkillsQuery((current) => current + printable);
|
|
1470
|
-
setSkillsIndex(0);
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
return;
|
|
1474
|
-
}
|
|
1475
|
-
// 设置页:编辑态独占键盘(对齐 dsh,草稿之外的一切都不响应);其余 ↑↓ 焦点、
|
|
1476
|
-
// ←→ 循环 select、Enter 主动作(切换/编辑/执行/复制/跳转)、Esc 关页。
|
|
1477
|
-
if (settingsOpen) {
|
|
1478
|
-
const at = Math.min(settingsIndex, Math.max(0, settingsFocusables.length - 1));
|
|
1479
|
-
const focusRow = settingsFocusables[at] ?? 0;
|
|
1480
|
-
if (settingsEdit !== null) {
|
|
1481
|
-
if (key.escape) {
|
|
1482
|
-
setSettingsEdit(null);
|
|
1483
|
-
}
|
|
1484
|
-
else if (key.return) {
|
|
1485
|
-
commitSettingsEdit();
|
|
1486
|
-
}
|
|
1487
|
-
else if (key.backspace || key.delete) {
|
|
1488
|
-
setSettingsEdit({ ...settingsEdit, draft: settingsEdit.draft.slice(0, -1) });
|
|
1489
|
-
}
|
|
1490
|
-
else if (!key.ctrl && !key.meta) {
|
|
1491
|
-
const printable = input.replace(/[\r\n\t]+/g, '');
|
|
1492
|
-
if (printable !== '') {
|
|
1493
|
-
setSettingsEdit({ ...settingsEdit, draft: settingsEdit.draft + printable });
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1496
|
-
return;
|
|
1497
|
-
}
|
|
1498
|
-
if (key.escape) {
|
|
1499
|
-
// 逐级退栈(dsh 同款:子页里 Esc 是「返回上级」):组子页 → 分区页 → 根页 → 关页
|
|
1500
|
-
if (settingsGroup !== null) {
|
|
1501
|
-
setSettingsGroup(null);
|
|
1502
|
-
setSettingsIndex(0);
|
|
1503
|
-
}
|
|
1504
|
-
else if (settingsSection !== null) {
|
|
1505
|
-
setSettingsSection(null);
|
|
1506
|
-
setSettingsIndex(0);
|
|
1507
|
-
}
|
|
1508
|
-
else {
|
|
1509
|
-
setSettingsOpen(false);
|
|
1510
|
-
}
|
|
1511
|
-
return;
|
|
1512
|
-
}
|
|
1513
|
-
if (key.upArrow) {
|
|
1514
|
-
setSettingsIndex(Math.max(0, at - 1));
|
|
1515
|
-
return;
|
|
1516
|
-
}
|
|
1517
|
-
if (key.downArrow) {
|
|
1518
|
-
setSettingsIndex(Math.min(settingsFocusables.length - 1, at + 1));
|
|
1519
|
-
return;
|
|
1520
|
-
}
|
|
1521
|
-
if (key.return || key.rightArrow)
|
|
1522
|
-
activateSettingsRow(settingsRows[focusRow], 1);
|
|
1523
|
-
else if (key.leftArrow)
|
|
1524
|
-
activateSettingsRow(settingsRows[focusRow], -1);
|
|
1525
|
-
return;
|
|
1526
|
-
}
|
|
1527
|
-
// 回到底部 pill 可见且输入为空时:Enter/End 跳回最新(codex/dsh 同语义;
|
|
1528
|
-
// 输入非空时 End 仍归 Composer 的光标移动)。
|
|
1529
|
-
if (chatAwayFrom !== null && !modal && !panelOpen && draftRef.current === '') {
|
|
1530
|
-
if (key.end || key.return) {
|
|
1531
|
-
chatRef.current?.toTail();
|
|
1532
|
-
return;
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
// Esc(对齐 codex):回合跑着 = 打断;空闲且输入框为空 = prime 撤回——双击
|
|
1536
|
-
// Esc 把上一轮撤掉、原话放回输入框(dsh 同款 3 秒窗口)。补全面板开着时
|
|
1537
|
-
// Esc 只关面板。
|
|
1538
|
-
if (key.escape && !panelOpen) {
|
|
1539
|
-
if (snapshot.status.turnState !== 'idle') {
|
|
1540
|
-
runtime.interrupt();
|
|
1541
|
-
return;
|
|
1542
|
-
}
|
|
1543
|
-
if (draftRef.current === '') {
|
|
1544
|
-
const now = Date.now();
|
|
1545
|
-
if (now - lastEsc.current < REWIND_WINDOW_MS) {
|
|
1546
|
-
lastEsc.current = 0;
|
|
1547
|
-
rewindLastTurn();
|
|
1548
|
-
}
|
|
1549
|
-
else {
|
|
1550
|
-
lastEsc.current = now;
|
|
1551
|
-
setNotice('再按一次 Esc:撤回上一轮对话');
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
return;
|
|
1555
|
-
}
|
|
1556
|
-
// 聊天回看(对齐 codex 的 PgUp/PgDn;滚轮同义,↑↓ 留给输入框历史)。
|
|
1557
|
-
if (key.pageUp) {
|
|
1558
|
-
chatRef.current?.scrollLines(chatRef.current.page());
|
|
1559
|
-
return;
|
|
1560
|
-
}
|
|
1561
|
-
if (key.pageDown) {
|
|
1562
|
-
chatRef.current?.scrollLines(-chatRef.current.page());
|
|
1563
|
-
return;
|
|
1564
|
-
}
|
|
1565
|
-
if (key.ctrl && input === 't') {
|
|
1566
|
-
setExpandThinking((current) => !current);
|
|
1567
|
-
return;
|
|
1568
|
-
}
|
|
1569
|
-
if (key.ctrl && input === 'o') {
|
|
1570
|
-
setTranscriptOpen(true);
|
|
1571
|
-
return;
|
|
1572
|
-
}
|
|
1573
|
-
});
|
|
1574
|
-
const handleSubmit = (text) => {
|
|
1575
|
-
setNotice(null);
|
|
1576
|
-
chatRef.current?.toTail();
|
|
1577
|
-
if (planFeedback) {
|
|
1578
|
-
setPlanFeedback(false);
|
|
1579
|
-
if (text !== '')
|
|
1580
|
-
runtime.answerPlan('rejected', text);
|
|
1581
|
-
return;
|
|
1582
|
-
}
|
|
1583
|
-
if (text.startsWith('/')) {
|
|
1584
|
-
runCommand(text, runtime, {
|
|
1585
|
-
openPicker: openSessionPicker,
|
|
1586
|
-
openModels: () => {
|
|
1587
|
-
setModelPicker(true);
|
|
1588
|
-
setModelIndex(0);
|
|
1589
|
-
setModelQuery('');
|
|
1590
|
-
},
|
|
1591
|
-
openPresets: () => {
|
|
1592
|
-
setPresetPicker(true);
|
|
1593
|
-
setPresetIndex(0);
|
|
1594
|
-
setPresetQuery('');
|
|
1595
|
-
},
|
|
1596
|
-
openSkills: () => {
|
|
1597
|
-
setSkillsPicker(true);
|
|
1598
|
-
setSkillsIndex(0);
|
|
1599
|
-
setSkillsQuery('');
|
|
1600
|
-
},
|
|
1601
|
-
toggleThinking: (visible) => {
|
|
1602
|
-
const next = visible ?? !expandThinking;
|
|
1603
|
-
setExpandThinking(next);
|
|
1604
|
-
setNotice(next ? '思考块已展开(Ctrl+T 随时切换)' : '思考块已折叠(Ctrl+T 随时切换)');
|
|
1605
|
-
},
|
|
1606
|
-
openAgents,
|
|
1607
|
-
openSettings,
|
|
1608
|
-
notice: setNotice,
|
|
1609
|
-
});
|
|
1610
|
-
return;
|
|
1611
|
-
}
|
|
1612
|
-
// 图片合流:附件芯片(剪贴板贴图)先读成 data URL,正文里的图片路径交给
|
|
1613
|
-
// extractImages;两类失败一起提示。发完即清空芯片。
|
|
1614
|
-
const fromChips = [];
|
|
1615
|
-
const failedChips = [];
|
|
1616
|
-
for (const att of attachments) {
|
|
1617
|
-
try {
|
|
1618
|
-
fromChips.push(readImageAsDataUrl(att.path));
|
|
1619
|
-
}
|
|
1620
|
-
catch {
|
|
1621
|
-
failedChips.push(att.name);
|
|
1622
|
-
}
|
|
1623
|
-
}
|
|
1624
|
-
setAttachments([]);
|
|
1625
|
-
const attached = extractImages(text);
|
|
1626
|
-
const failed = [...failedChips, ...attached.failed];
|
|
1627
|
-
if (failed.length > 0) {
|
|
1628
|
-
setNotice(`图片读取失败(太大或 IO 错误):${failed.join('、')}`);
|
|
1629
|
-
}
|
|
1630
|
-
const images = [...fromChips, ...attached.images];
|
|
1631
|
-
runtime.submit(attached.text, images.length > 0 ? images : undefined);
|
|
1632
|
-
};
|
|
1633
|
-
const modal = approval !== null ||
|
|
1634
|
-
question !== null ||
|
|
1635
|
-
picker ||
|
|
1636
|
-
transcriptOpen ||
|
|
1637
|
-
modelPicker ||
|
|
1638
|
-
presetPicker ||
|
|
1639
|
-
skillsPicker ||
|
|
1640
|
-
settingsOpen ||
|
|
1641
|
-
preview !== null ||
|
|
1642
|
-
agentView !== null ||
|
|
1643
|
-
(plan !== null && !planFeedback);
|
|
1644
|
-
/** 子代理转录的条数(标题用;切片与滚动都在 TranscriptViewport 里按行算)。 */
|
|
1645
|
-
const agentTotal = agentEntries?.length ?? 0;
|
|
1646
|
-
return (_jsxs(Box, { height: frameRows, width: "100%", flexDirection: "column", overflow: "hidden", paddingX: PAD.page, children: [preview !== null ? (_jsx(PreviewOverlay, { title: preview.title, index: preview.index, total: preview.sources.length, block: previewBlock, loading: previewLoading, error: previewError, registerClick: registerClick, onClose: () => setPreview(null) })) : agentView !== null && agentView.mode === 'list' ? (_jsx(AgentsOverlay, { rows: agentRows, index: agentIndex })) : agentView !== null && agentView.mode === 'transcript' ? (_jsx(TranscriptOverlay, { ref: peekRef, entries: agentEntries ?? [], total: agentTotal, title: agentView.title, columns: columns, viewportLines: overlayViewportLines, hint: PEEK_HINT, registerClick: registerClick, expandedTools: expandedTools, onToggleTool: toggleTool })) : picker ? (_jsx(SessionPicker, { level: isWorkspaceLevel ? 'workspaces' : 'sessions', workspaces: visibleWorkspaces, workspaceTitle: pickerWorkspace === null ? null : workspaceLabel(pickerWorkspace), sessions: visibleSessions, total: isWorkspaceLevel ? workspaceList.length : pickerList.length, start: pickerStart, index: pickerIndex, page: pickerPage, query: pickerQuery, buffer: pickerBuffer, armed: pickerArmed, loading: snapshot.sessionsLoading, sessionStates: snapshot.sessionStates })) : transcriptOpen ? (_jsx(TranscriptOverlay, { ref: overlayRef, entries: snapshot.entries, total: snapshot.entries.length, columns: columns, viewportLines: overlayViewportLines, registerClick: registerClick, expandedTools: expandedTools, onToggleTool: toggleTool })) : modelPicker ? (_jsx(ModelPicker, { models: modelList, index: modelIndex, query: modelQuery })) : presetPicker && presetSurface !== null ? (_jsx(PresetPicker, { presets: presetList, current: presetSurface.current, defaultName: presetSurface.defaultName, index: presetIndex, query: presetQuery })) : skillsPicker ? (_jsx(SkillsPicker, { skills: skillsList, index: skillsIndex, query: skillsQuery })) : settingsOpen ? (_jsx(SettingsOverlay, { sections: settingsSections, rows: settingsRows, values: settingsValues, focusRow: settingsFocusRow, windowStart: settingsWindow, viewport: settingsViewport, editing: settingsEdit, notice: settingsNotice, section: settingsSection, group: settingsGroup })) : (_jsxs(_Fragment, { children: [_jsx(Box, { flexDirection: "column", flexGrow: 1, minHeight: 0, children: _jsx(ChatView, { entries: snapshot.entries, turnState: snapshot.status.turnState, compactingSince: snapshot.status.compactingSince, expandThinking: expandThinking, empty: snapshot.entries.length === 0, welcome: snapshot.entries.length < WELCOME_MAX_ENTRIES ? (_jsx(Welcome, { model: snapshot.status.model, effort: snapshot.status.effort ?? '-', cwd: snapshot.status.cwd })) : undefined, maxWidth: Math.max(20, columns - PAD.page * 2), columns: columns,
|
|
1647
|
-
// 刻度栏居中按「帧高 − 状态栏」(只在终端改尺寸时才变):聊天区可用高度会随
|
|
1648
|
-
// 「回到底部」胶囊、草稿行数变化,按它居中会让整块刻度每滚一下上下挪一行
|
|
1649
|
-
railCenterLines: Math.max(1, frameRows - statusbarLines), viewportRef: chatRef, onAtTailChange: handleChatAtTail, expandedTools: expandedTools, onToggleTool: toggleTool, onPreviewImages: handlePreviewImages, onOpenAgent: handleOpenAgent, onPickTurn: (turn) => chatRef.current?.jumpToTurn(turn), registerClick: registerClick }) }), _jsxs(Box, { flexShrink: 0, flexDirection: "column", children: [_jsx(TaskStrips, { goal: snapshot.surfaces.goal, todos: snapshot.surfaces.todos }), approval !== null ? (_jsx(ApprovalCard, { request: approval, expanded: approvalExpanded, onAction: handleApprovalAction, registerClick: registerClick })) : null, approval === null && question !== null ? (_jsx(AskCard, { ask: question, index: askIndex, checked: askChecked, highlight: askHighlight, text: askText, onOptionClick: handleAskOption, registerClick: registerClick })) : null, approval === null && question === null && plan !== null ? (_jsx(PlanReviewCard, { plan: plan, expanded: planExpanded, feedbacking: planFeedback, onAction: handlePlanAction, registerClick: registerClick })) : null, notice !== null ? (_jsx(Box, { borderStyle: "single", borderColor: BORDER.frame, paddingX: PAD.inline, marginTop: GAP.tight, children: _jsx(Text, { ...TEXT.label, color: STATUS_COLOR.waiting, children: notice }) })) : null, tuiNoticeExtras, chatAwayFrom !== null ? (_jsx(TailIndicator, { hidden: Math.max(0, snapshot.entries.length - chatAwayFrom), onJump: () => chatRef.current?.toTail(), registerClick: registerClick })) : null, _jsx(Composer, { disabled: modal, models: models, placeholder: planFeedback ? '反馈原话(Enter 退回计划,Esc 取消)' : undefined, completionsEnabled: !planFeedback, lister: dockLister, onPanelOpenChange: setPanelOpen, onDraftChange: handleDraftChange, preset: composerPreset, attachments: attachments, onRemoveAttachment: removeAttachment, onPreviewAttachment: previewAttachment, onOpenSessions: openSessionPicker, working: snapshot.status.turnState !== 'idle', registerClick: registerClick, onSubmit: handleSubmit })] })] })), _jsx(Box, { flexShrink: 0, children: _jsx(StatusBar, { status: snapshot.status, surfaces: snapshot.surfaces, subagents: snapshot.subagents ?? [], queued: (snapshot.queued ?? []).length + (snapshot.notices ?? []).length, config: statusBarPrefs, onOpenAgent: handleOpenAgent, registerClick: registerClick }) })] }));
|
|
1650
|
-
}
|