@waq666/pneuma 0.8.0 → 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 +97 -23
- package/bin/dsc.js +25 -2
- package/lib/adapter/transcript.d.ts +94 -1
- package/lib/adapter/transcript.js +410 -13
- 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 +114 -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 +77 -6
- package/lib/contract/settings.d.ts +143 -3
- package/lib/contract/snapshot.d.ts +27 -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 +57 -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/git-info.d.ts +127 -15
- package/lib/core/git-info.js +307 -32
- 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 +15 -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 +85 -9
- package/lib/core/llm.js +152 -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 +240 -18
- package/lib/core/session.js +511 -26
- 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 +60 -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/commands-completion.js +245 -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-core/permission-scope.js +109 -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 +384 -29
- 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 -288
- 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 -274
- 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 -89
- package/lib/core/commands-completion.js +0 -192
- package/lib/core/compact.d.ts +0 -110
- package/lib/core/compact.js +0 -210
- 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 -648
- 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 -54
- package/lib/core/permission-scope.js +0 -84
- package/lib/core/presets.d.ts +0 -91
- package/lib/core/presets.js +0 -384
- 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 -314
- 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 -504
- package/lib/plugins/compact.d.ts +0 -21
- package/lib/plugins/compact.js +0 -316
- 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 -126
- package/lib/plugins/goal.d.ts +0 -20
- package/lib/plugins/goal.js +0 -242
- 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 -305
- 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 -18
- package/lib/plugins/microcompact.js +0 -191
- 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 -1021
- package/lib/plugins/runtime-api.js +0 -99
- package/lib/plugins/runtime.js +0 -523
- 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 -300
- 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 -361
- package/lib/plugins/spill.js +0 -207
- package/lib/plugins/subagent.d.ts +0 -2
- package/lib/plugins/subagent.js +0 -1026
- 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-MhfBFsp-.js +0 -89
- 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-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-CA5f1pGf.js +0 -12
- 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-Cq7xGE-D.js +0 -10
- 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-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-CIJVQKkj.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 -2509
- 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 -1595
- 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 -1406
- 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 -2966
- 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 -116
- package/lib/ui/sdk/@dsc/ui-primitives/index.d.ts +0 -68
- 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-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/{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/{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
|
@@ -1,1406 +0,0 @@
|
|
|
1
|
-
(globalThis.__DSC_UI_FACTORIES__ ??= {})["status"] = function (require, module, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
const react = require("react");
|
|
6
|
-
const reactDom = require("react-dom");
|
|
7
|
-
const ui$1 = require("@dsc/ui");
|
|
8
|
-
const uiPrimitives = require("@dsc/ui-primitives");
|
|
9
|
-
const TODO_COMPACT_THRESHOLD = 6;
|
|
10
|
-
const TODO_FOCUS_SIZE = 3;
|
|
11
|
-
function isSettled(status) {
|
|
12
|
-
return status === "completed" || status === "cancelled";
|
|
13
|
-
}
|
|
14
|
-
function todoFocusWindow(items) {
|
|
15
|
-
if (items.length <= TODO_COMPACT_THRESHOLD) {
|
|
16
|
-
return { compact: false, preceding: [], focus: items, following: [] };
|
|
17
|
-
}
|
|
18
|
-
const runningIndex = items.findIndex((item) => item.status === "in_progress");
|
|
19
|
-
const pendingIndex = items.findIndex((item) => item.status === "pending");
|
|
20
|
-
const focusIndex = runningIndex >= 0 ? runningIndex : pendingIndex >= 0 ? pendingIndex : Math.max(0, items.length - TODO_FOCUS_SIZE);
|
|
21
|
-
const start = Math.max(0, Math.min(focusIndex, items.length - TODO_FOCUS_SIZE));
|
|
22
|
-
const end = Math.min(items.length, start + TODO_FOCUS_SIZE);
|
|
23
|
-
return {
|
|
24
|
-
compact: true,
|
|
25
|
-
preceding: items.slice(0, start),
|
|
26
|
-
focus: items.slice(start, end),
|
|
27
|
-
following: items.slice(end)
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function foldBucketKind(items, side) {
|
|
31
|
-
if (side === "preceding") {
|
|
32
|
-
return items.every((item) => isSettled(item.status)) ? "completed" : "earlier";
|
|
33
|
-
}
|
|
34
|
-
return items.every((item) => item.status === "pending") ? "waiting" : "later";
|
|
35
|
-
}
|
|
36
|
-
function capsuleSummary(input) {
|
|
37
|
-
if (input.runningTask !== null && input.runningTask !== "") {
|
|
38
|
-
return { kind: "workflow", text: input.runningTask };
|
|
39
|
-
}
|
|
40
|
-
const items = input.todos?.items ?? [];
|
|
41
|
-
const current = items.find((item) => item.status === "in_progress") ?? items.find((item) => item.status === "pending") ?? null;
|
|
42
|
-
if (current !== null) return { kind: "todo-current", text: current.content };
|
|
43
|
-
const goal = input.goal;
|
|
44
|
-
if (goal !== null && goal.phase !== "complete") {
|
|
45
|
-
return { kind: "goal", text: goal.objective, phase: goal.phase };
|
|
46
|
-
}
|
|
47
|
-
if (input.git !== null && input.git.files > 0) {
|
|
48
|
-
return { kind: "git", added: input.git.added, removed: input.git.removed, files: input.git.files };
|
|
49
|
-
}
|
|
50
|
-
if (goal !== null) return { kind: "goal-done", text: goal.objective };
|
|
51
|
-
const done = [...items].reverse().find((item) => item.status === "completed");
|
|
52
|
-
if (done !== void 0) return { kind: "todo-done", text: done.content };
|
|
53
|
-
if (input.todos !== null && input.todos.total > 0) {
|
|
54
|
-
return { kind: "progress", done: input.todos.done, total: input.todos.total };
|
|
55
|
-
}
|
|
56
|
-
const newestPlan = input.plans[0];
|
|
57
|
-
if (newestPlan !== void 0) return { kind: "plan", text: newestPlan.title };
|
|
58
|
-
if (input.runningMates > 0 || input.runningWorks.length > 0) {
|
|
59
|
-
return { kind: "running", mates: input.runningMates, works: input.runningWorks.length };
|
|
60
|
-
}
|
|
61
|
-
if (input.endedMates > 0) return { kind: "mates-ended", count: input.endedMates };
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
function formatDuration(ms) {
|
|
65
|
-
if (!Number.isFinite(ms) || ms < 0) return null;
|
|
66
|
-
const total = Math.max(1, Math.round(ms / 1e3));
|
|
67
|
-
const seconds = total % 60;
|
|
68
|
-
const minutes = Math.floor(total / 60) % 60;
|
|
69
|
-
const hours = Math.floor(total / 3600);
|
|
70
|
-
const pad = (value) => String(value).padStart(2, "0");
|
|
71
|
-
if (hours > 0) return `${String(hours)}小时${pad(minutes)}分`;
|
|
72
|
-
if (minutes > 0) return `${String(minutes)}分${String(seconds)}秒`;
|
|
73
|
-
return `${String(seconds)}秒`;
|
|
74
|
-
}
|
|
75
|
-
function formatCountdown(nextAt, now) {
|
|
76
|
-
if (nextAt === null || !Number.isFinite(nextAt)) return null;
|
|
77
|
-
const diff = nextAt - now;
|
|
78
|
-
if (diff <= 0) return "已到点";
|
|
79
|
-
const text = formatDuration(diff);
|
|
80
|
-
return text === null || diff < 1e3 ? "即将" : `${text}后`;
|
|
81
|
-
}
|
|
82
|
-
function formatAgo(at, now) {
|
|
83
|
-
if (!Number.isFinite(at) || at <= 0) return null;
|
|
84
|
-
const diff = now - at;
|
|
85
|
-
if (diff < 0) return null;
|
|
86
|
-
if (diff < 6e4) return "刚刚";
|
|
87
|
-
const text = formatDuration(diff);
|
|
88
|
-
return text === null ? null : `${text}前`;
|
|
89
|
-
}
|
|
90
|
-
function mateElapsedMs(mate, now) {
|
|
91
|
-
return Math.max(0, (mate.finishedAt ?? now) - mate.startedAt);
|
|
92
|
-
}
|
|
93
|
-
function longestElapsedMs(mates, now) {
|
|
94
|
-
return mates.reduce((longest, mate) => Math.max(longest, mateElapsedMs(mate, now)), 0);
|
|
95
|
-
}
|
|
96
|
-
function longestWorkElapsedMs(works, now) {
|
|
97
|
-
return works.reduce((longest, work) => Math.max(longest, Math.max(0, now - work.startedAt)), 0);
|
|
98
|
-
}
|
|
99
|
-
const POLL_MS = 5e3;
|
|
100
|
-
const WORK_POLL_MS = 1e3;
|
|
101
|
-
const FOLLOW_BOTTOM_PX = 8;
|
|
102
|
-
const GIT_NUDGE_FLOOR_MS = 800;
|
|
103
|
-
const GIT_POLL_DIRTY_MS = 12e3;
|
|
104
|
-
const GIT_POLL_CLEAN_MS = 3e4;
|
|
105
|
-
const GIT_POLL_IDLE_MS = 6e4;
|
|
106
|
-
const GIT_SLOW_MS = 2500;
|
|
107
|
-
const CLOCK_FAST_MS = 1e3;
|
|
108
|
-
const CLOCK_SLOW_MS = 1e4;
|
|
109
|
-
const AUTO_PANEL_MIN_WIDTH = 1280;
|
|
110
|
-
const THREAD_AREA_SELECTOR = "[data-thread-area]";
|
|
111
|
-
const MODE_KEY = "dsc.statusPanel.mode";
|
|
112
|
-
const PREVIEW_OPEN_MS = 120;
|
|
113
|
-
const PREVIEW_CLOSE_MS = 80;
|
|
114
|
-
const MODE_LABEL = {
|
|
115
|
-
auto: "自动展开",
|
|
116
|
-
panel: "始终展开",
|
|
117
|
-
mini: "始终收起"
|
|
118
|
-
};
|
|
119
|
-
const MODE_ORDER = ["auto", "panel", "mini"];
|
|
120
|
-
function readMode() {
|
|
121
|
-
try {
|
|
122
|
-
const raw = globalThis.localStorage?.getItem(MODE_KEY);
|
|
123
|
-
return raw === "panel" || raw === "mini" || raw === "auto" ? raw : "auto";
|
|
124
|
-
} catch {
|
|
125
|
-
return "auto";
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
function writeMode(mode) {
|
|
129
|
-
try {
|
|
130
|
-
globalThis.localStorage?.setItem(MODE_KEY, mode);
|
|
131
|
-
} catch {
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
const DEFAULT_SECTION_OPEN = {
|
|
135
|
-
git: true,
|
|
136
|
-
goal: true,
|
|
137
|
-
plan: false,
|
|
138
|
-
todo: true,
|
|
139
|
-
terminal: false,
|
|
140
|
-
workflow: false,
|
|
141
|
-
agent: false
|
|
142
|
-
};
|
|
143
|
-
const MATE_TONE = {
|
|
144
|
-
working: "working",
|
|
145
|
-
idle: "idle",
|
|
146
|
-
stopped: "stopped",
|
|
147
|
-
failed: "failed"
|
|
148
|
-
};
|
|
149
|
-
const FOLD_LABEL = {
|
|
150
|
-
completed: (count) => `已完成 ${String(count)} 项`,
|
|
151
|
-
waiting: (count) => `待处理 ${String(count)} 项`,
|
|
152
|
-
earlier: (count) => `前面 ${String(count)} 项`,
|
|
153
|
-
later: (count) => `后面 ${String(count)} 项`
|
|
154
|
-
};
|
|
155
|
-
const TEAMMATES_SERVICE = "teammates";
|
|
156
|
-
const TEAM_PANEL_SERVICE = "teamPanel";
|
|
157
|
-
const ui = ui$1.defineUiPlugin({
|
|
158
|
-
name: "状态面板",
|
|
159
|
-
apply(ui2) {
|
|
160
|
-
ui2.slots.register(ui$1.SLOT.main, { id: "status.panel", order: 5 }, () => /* @__PURE__ */ jsxRuntime.jsx(StatusPanel, { slots: ui2.slots }));
|
|
161
|
-
ui$1.registerDockTab({
|
|
162
|
-
kind: "work-output",
|
|
163
|
-
label: "输出",
|
|
164
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTerminal, { size: 13 }),
|
|
165
|
-
component: WorkOutputTab
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
function readTodos(snapshot) {
|
|
170
|
-
const surfaces = snapshot?.["surfaces"];
|
|
171
|
-
if (typeof surfaces !== "object" || surfaces === null) return null;
|
|
172
|
-
const todos = surfaces["todos"];
|
|
173
|
-
if (typeof todos !== "object" || todos === null) return null;
|
|
174
|
-
const record = todos;
|
|
175
|
-
if (!Array.isArray(record["items"]) || record["items"].length === 0) return null;
|
|
176
|
-
return todos;
|
|
177
|
-
}
|
|
178
|
-
function sameTodos(left, right) {
|
|
179
|
-
if (left === right) return true;
|
|
180
|
-
if (left === null || right === null) return false;
|
|
181
|
-
if (left.done !== right.done || left.total !== right.total || left.active !== right.active) return false;
|
|
182
|
-
if (left.items.length !== right.items.length) return false;
|
|
183
|
-
return left.items.every((item, index) => {
|
|
184
|
-
const other = right.items[index];
|
|
185
|
-
return other !== void 0 && item.id === other.id && item.status === other.status && item.content === other.content;
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
function readGoal(snapshot) {
|
|
189
|
-
const surfaces = snapshot?.["surfaces"];
|
|
190
|
-
if (typeof surfaces !== "object" || surfaces === null) return null;
|
|
191
|
-
const goal = surfaces["goal"];
|
|
192
|
-
return typeof goal === "object" && goal !== null ? goal : null;
|
|
193
|
-
}
|
|
194
|
-
function sameGoal(left, right) {
|
|
195
|
-
if (left === right) return true;
|
|
196
|
-
if (left === null || right === null) return false;
|
|
197
|
-
return left.objective === right.objective && left.phase === right.phase && left.rounds === right.rounds && left.maxRounds === right.maxRounds && left.armed === right.armed && left.blockedReason === right.blockedReason;
|
|
198
|
-
}
|
|
199
|
-
function sameMateList(left, right) {
|
|
200
|
-
if (left === right) return true;
|
|
201
|
-
if (left.length !== right.length) return false;
|
|
202
|
-
return left.every((mate, index) => {
|
|
203
|
-
const other = right[index];
|
|
204
|
-
return other !== void 0 && mate.file === other.file && mate.state === other.state && mate.task === other.task && mate.startedAt === other.startedAt && mate.finishedAt === other.finishedAt;
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
function readSessionPathKey(snapshot) {
|
|
208
|
-
const status = snapshot?.["status"];
|
|
209
|
-
if (typeof status !== "object" || status === null) return "";
|
|
210
|
-
const path = status["sessionPath"];
|
|
211
|
-
return typeof path === "string" ? path : "";
|
|
212
|
-
}
|
|
213
|
-
function readCwdKey(snapshot) {
|
|
214
|
-
const status = snapshot?.["status"];
|
|
215
|
-
if (typeof status !== "object" || status === null) return "";
|
|
216
|
-
const cwd = status["cwd"];
|
|
217
|
-
return typeof cwd === "string" ? cwd : "";
|
|
218
|
-
}
|
|
219
|
-
function readTurnStateKey(snapshot) {
|
|
220
|
-
const status = snapshot?.["status"];
|
|
221
|
-
if (typeof status !== "object" || status === null) return "idle";
|
|
222
|
-
const value = status["turnState"];
|
|
223
|
-
return typeof value === "string" ? value : "idle";
|
|
224
|
-
}
|
|
225
|
-
function sameGit(left, right) {
|
|
226
|
-
if (left === right) return true;
|
|
227
|
-
if (left === null || right === null) return false;
|
|
228
|
-
return left.branch === right.branch && left.added === right.added && left.removed === right.removed && left.files === right.files;
|
|
229
|
-
}
|
|
230
|
-
const NO_WORKS = [];
|
|
231
|
-
const NO_PLANS = [];
|
|
232
|
-
const NO_TASKS = [];
|
|
233
|
-
function readBackgroundWorks(snapshot) {
|
|
234
|
-
const surfaces = snapshot?.["surfaces"];
|
|
235
|
-
if (typeof surfaces !== "object" || surfaces === null) return NO_WORKS;
|
|
236
|
-
const works = surfaces["backgroundWorks"];
|
|
237
|
-
return Array.isArray(works) ? works : NO_WORKS;
|
|
238
|
-
}
|
|
239
|
-
function sameWorks(left, right) {
|
|
240
|
-
if (left === right) return true;
|
|
241
|
-
if (left.length !== right.length) return false;
|
|
242
|
-
return left.every((work, index) => {
|
|
243
|
-
const other = right[index];
|
|
244
|
-
return other !== void 0 && work.id === other.id && work.kind === other.kind && work.title === other.title && work.startedAt === other.startedAt;
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
function readPlanDirectory(snapshot) {
|
|
248
|
-
const surfaces = snapshot?.["surfaces"];
|
|
249
|
-
if (typeof surfaces !== "object" || surfaces === null) return NO_PLANS;
|
|
250
|
-
const plans = surfaces["planDirectory"];
|
|
251
|
-
return Array.isArray(plans) ? plans : NO_PLANS;
|
|
252
|
-
}
|
|
253
|
-
function samePlans(left, right) {
|
|
254
|
-
if (left === right) return true;
|
|
255
|
-
if (left.length !== right.length) return false;
|
|
256
|
-
return left.every((plan, index) => {
|
|
257
|
-
const other = right[index];
|
|
258
|
-
return other !== void 0 && plan.file === other.file && plan.title === other.title && plan.at === other.at;
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
function readScheduled(snapshot) {
|
|
262
|
-
const surfaces = snapshot?.["surfaces"];
|
|
263
|
-
if (typeof surfaces !== "object" || surfaces === null) return NO_TASKS;
|
|
264
|
-
const tasks = surfaces["scheduled"];
|
|
265
|
-
return Array.isArray(tasks) ? tasks : NO_TASKS;
|
|
266
|
-
}
|
|
267
|
-
function sameTasks(left, right) {
|
|
268
|
-
if (left === right) return true;
|
|
269
|
-
if (left.length !== right.length) return false;
|
|
270
|
-
return left.every((task, index) => {
|
|
271
|
-
const other = right[index];
|
|
272
|
-
return other !== void 0 && task.id === other.id && task.title === other.title && task.enabled === other.enabled && task.nextRunAt === other.nextRunAt && task.lastStatus === other.lastStatus && task.lastError === other.lastError;
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
function hasHoverInput() {
|
|
276
|
-
return typeof window.matchMedia === "function" ? !window.matchMedia("(hover: none)").matches : true;
|
|
277
|
-
}
|
|
278
|
-
function StatusPanel({ slots }) {
|
|
279
|
-
const channel = ui$1.useHostChannel();
|
|
280
|
-
const view = ui$1.useThreadView();
|
|
281
|
-
const todos = ui$1.useHostSelector(readTodos, sameTodos);
|
|
282
|
-
const goal = ui$1.useHostSelector(readGoal, sameGoal);
|
|
283
|
-
const sessionId = ui$1.useHostSelector(uiPrimitives.readSessionId);
|
|
284
|
-
const works = ui$1.useHostSelector(readBackgroundWorks, sameWorks);
|
|
285
|
-
const plans = ui$1.useHostSelector(readPlanDirectory, samePlans);
|
|
286
|
-
const scheduled = ui$1.useHostSelector(readScheduled, sameTasks);
|
|
287
|
-
const [git, setGit] = react.useState(null);
|
|
288
|
-
const sessionPathKey = ui$1.useHostSelector(readSessionPathKey);
|
|
289
|
-
const cwdKey = ui$1.useHostSelector(readCwdKey);
|
|
290
|
-
const turnState = ui$1.useHostSelector(readTurnStateKey);
|
|
291
|
-
const [gitNudge, setGitNudge] = react.useState(0);
|
|
292
|
-
const lastGitPollRef = react.useRef(0);
|
|
293
|
-
const nudgeGit = react.useCallback(() => {
|
|
294
|
-
if (Date.now() - lastGitPollRef.current < GIT_NUDGE_FLOOR_MS) return;
|
|
295
|
-
setGitNudge((value) => value + 1);
|
|
296
|
-
}, []);
|
|
297
|
-
const seat = ui$1.useService(TEAMMATES_SERVICE);
|
|
298
|
-
const teamPanel = ui$1.useService(TEAM_PANEL_SERVICE);
|
|
299
|
-
const instance = react.useMemo(
|
|
300
|
-
() => seat === void 0 ? void 0 : slots.seat(seat),
|
|
301
|
-
[slots, seat]
|
|
302
|
-
);
|
|
303
|
-
const shared = ui$1.useSeat(instance, (state) => state.list);
|
|
304
|
-
const [localMates, setLocalMates] = react.useState([]);
|
|
305
|
-
const usingShared = shared !== void 0;
|
|
306
|
-
const [mode, setMode] = react.useState(readMode);
|
|
307
|
-
const [menuOpen, setMenuOpen] = react.useState(false);
|
|
308
|
-
const [sectionOpen, setSectionOpen] = react.useState({ ...DEFAULT_SECTION_OPEN });
|
|
309
|
-
const [preview, setPreview] = react.useState(null);
|
|
310
|
-
const [now, setNow] = react.useState(() => Date.now());
|
|
311
|
-
const sentinel = react.useRef(null);
|
|
312
|
-
const box = react.useRef(null);
|
|
313
|
-
const [host, setHost] = react.useState(null);
|
|
314
|
-
const [avail, setAvail] = react.useState(() => {
|
|
315
|
-
const area = typeof document === "undefined" ? null : document.querySelector(THREAD_AREA_SELECTOR);
|
|
316
|
-
return area instanceof HTMLElement && area.clientWidth > 0 ? area.clientWidth : AUTO_PANEL_MIN_WIDTH;
|
|
317
|
-
});
|
|
318
|
-
react.useEffect(() => {
|
|
319
|
-
const node = sentinel.current;
|
|
320
|
-
const found = node?.closest(THREAD_AREA_SELECTOR);
|
|
321
|
-
setHost(found instanceof HTMLElement ? found : null);
|
|
322
|
-
}, [view]);
|
|
323
|
-
react.useEffect(() => {
|
|
324
|
-
if (host === null) return void 0;
|
|
325
|
-
const element = host;
|
|
326
|
-
const measure = () => setAvail(element.clientWidth);
|
|
327
|
-
measure();
|
|
328
|
-
if (typeof ResizeObserver === "undefined") {
|
|
329
|
-
window.addEventListener("resize", measure);
|
|
330
|
-
return () => window.removeEventListener("resize", measure);
|
|
331
|
-
}
|
|
332
|
-
const observer = new ResizeObserver(measure);
|
|
333
|
-
observer.observe(element);
|
|
334
|
-
return () => observer.disconnect();
|
|
335
|
-
}, [host]);
|
|
336
|
-
react.useEffect(() => {
|
|
337
|
-
if (usingShared) return void 0;
|
|
338
|
-
let alive = true;
|
|
339
|
-
const poll = () => {
|
|
340
|
-
if (document.visibilityState === "hidden") return;
|
|
341
|
-
void channel.invoke("listTeammates", []).then((list) => {
|
|
342
|
-
if (!alive) return;
|
|
343
|
-
const next = Array.isArray(list) ? list : [];
|
|
344
|
-
setLocalMates((current) => sameMateList(current, next) ? current : next);
|
|
345
|
-
}).catch(() => {
|
|
346
|
-
if (alive) setLocalMates((current) => current.length === 0 ? current : []);
|
|
347
|
-
});
|
|
348
|
-
};
|
|
349
|
-
poll();
|
|
350
|
-
const timer = window.setInterval(poll, POLL_MS);
|
|
351
|
-
const onVisible = () => {
|
|
352
|
-
if (document.visibilityState === "visible") poll();
|
|
353
|
-
};
|
|
354
|
-
document.addEventListener("visibilitychange", onVisible);
|
|
355
|
-
return () => {
|
|
356
|
-
alive = false;
|
|
357
|
-
window.clearInterval(timer);
|
|
358
|
-
document.removeEventListener("visibilitychange", onVisible);
|
|
359
|
-
};
|
|
360
|
-
}, [channel, usingShared]);
|
|
361
|
-
react.useEffect(() => {
|
|
362
|
-
let alive = true;
|
|
363
|
-
let timer = null;
|
|
364
|
-
function stopTimer() {
|
|
365
|
-
if (timer !== null) {
|
|
366
|
-
window.clearTimeout(timer);
|
|
367
|
-
timer = null;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
function schedule(ms) {
|
|
371
|
-
if (!alive) return;
|
|
372
|
-
timer = window.setTimeout(tick, ms);
|
|
373
|
-
}
|
|
374
|
-
function settle(base, startedAt) {
|
|
375
|
-
const took = Date.now() - startedAt;
|
|
376
|
-
schedule(took > GIT_SLOW_MS ? base * 3 : base);
|
|
377
|
-
}
|
|
378
|
-
function tick() {
|
|
379
|
-
stopTimer();
|
|
380
|
-
if (document.visibilityState === "hidden") {
|
|
381
|
-
schedule(GIT_POLL_DIRTY_MS);
|
|
382
|
-
return;
|
|
383
|
-
}
|
|
384
|
-
const startedAt = Date.now();
|
|
385
|
-
lastGitPollRef.current = startedAt;
|
|
386
|
-
void channel.invoke("dock", ["git-status", { stats: true }]).then((data) => {
|
|
387
|
-
if (!alive) return;
|
|
388
|
-
const added = typeof data?.["added"] === "number" ? data["added"] : 0;
|
|
389
|
-
const removed = typeof data?.["removed"] === "number" ? data["removed"] : 0;
|
|
390
|
-
const files = typeof data?.["dirtyFileCount"] === "number" ? data["dirtyFileCount"] : 0;
|
|
391
|
-
const branch = typeof data?.["branch"] === "string" ? data["branch"] : "";
|
|
392
|
-
const next = files > 0 || added + removed > 0 ? { branch, added, removed, files } : null;
|
|
393
|
-
setGit((current) => sameGit(current, next) ? current : next);
|
|
394
|
-
settle(next === null ? GIT_POLL_CLEAN_MS : GIT_POLL_DIRTY_MS, startedAt);
|
|
395
|
-
}).catch(() => {
|
|
396
|
-
if (!alive) return;
|
|
397
|
-
setGit((current) => current === null ? current : null);
|
|
398
|
-
settle(GIT_POLL_IDLE_MS, startedAt);
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
const onVisible = () => {
|
|
402
|
-
if (document.visibilityState === "visible") tick();
|
|
403
|
-
};
|
|
404
|
-
document.addEventListener("visibilitychange", onVisible);
|
|
405
|
-
tick();
|
|
406
|
-
return () => {
|
|
407
|
-
alive = false;
|
|
408
|
-
stopTimer();
|
|
409
|
-
document.removeEventListener("visibilitychange", onVisible);
|
|
410
|
-
};
|
|
411
|
-
}, [channel, gitNudge]);
|
|
412
|
-
react.useEffect(() => {
|
|
413
|
-
nudgeGit();
|
|
414
|
-
}, [sessionPathKey, cwdKey, nudgeGit]);
|
|
415
|
-
const previousTurnState = react.useRef(turnState);
|
|
416
|
-
react.useEffect(() => {
|
|
417
|
-
const was = previousTurnState.current;
|
|
418
|
-
previousTurnState.current = turnState;
|
|
419
|
-
if (was !== "idle" && turnState === "idle") nudgeGit();
|
|
420
|
-
}, [turnState, nudgeGit]);
|
|
421
|
-
const mates = shared ?? localMates;
|
|
422
|
-
const mine = react.useMemo(
|
|
423
|
-
() => sessionId === null ? [] : mates.filter((mate) => mate.sessionId === sessionId),
|
|
424
|
-
[mates, sessionId]
|
|
425
|
-
);
|
|
426
|
-
const running = react.useMemo(() => mine.filter((mate) => mate.state === "working"), [mine]);
|
|
427
|
-
const ended = react.useMemo(() => mine.filter((mate) => mate.state !== "working"), [mine]);
|
|
428
|
-
const expanded = mode === "panel" || mode === "auto" && avail >= AUTO_PANEL_MIN_WIDTH;
|
|
429
|
-
const fastClock = expanded && (running.length > 0 || works.length > 0);
|
|
430
|
-
const slowClock = expanded && (scheduled.length > 0 || plans.length > 0);
|
|
431
|
-
react.useEffect(() => {
|
|
432
|
-
if (!fastClock) return void 0;
|
|
433
|
-
const timer = window.setInterval(() => setNow(Date.now()), CLOCK_FAST_MS);
|
|
434
|
-
return () => window.clearInterval(timer);
|
|
435
|
-
}, [fastClock]);
|
|
436
|
-
react.useEffect(() => {
|
|
437
|
-
if (fastClock || !slowClock) return void 0;
|
|
438
|
-
const timer = window.setInterval(() => setNow(Date.now()), CLOCK_SLOW_MS);
|
|
439
|
-
return () => window.clearInterval(timer);
|
|
440
|
-
}, [fastClock, slowClock]);
|
|
441
|
-
const runningTask = react.useMemo(
|
|
442
|
-
() => scheduled.find((task) => task.lastStatus === "running")?.title ?? null,
|
|
443
|
-
[scheduled]
|
|
444
|
-
);
|
|
445
|
-
const summary = react.useMemo(
|
|
446
|
-
() => capsuleSummary({
|
|
447
|
-
todos,
|
|
448
|
-
goal,
|
|
449
|
-
runningMates: running.length,
|
|
450
|
-
git,
|
|
451
|
-
plans,
|
|
452
|
-
runningWorks: works,
|
|
453
|
-
runningTask,
|
|
454
|
-
endedMates: ended.length
|
|
455
|
-
}),
|
|
456
|
-
[todos, goal, running.length, git, plans, works, runningTask, ended.length]
|
|
457
|
-
);
|
|
458
|
-
const foldWindow = react.useMemo(() => todoFocusWindow(todos?.items ?? []), [todos]);
|
|
459
|
-
const todoSignature = react.useMemo(
|
|
460
|
-
() => todos === null ? "" : todos.items.map((item) => `${item.id}\0${item.content}\0${item.status}`).join(""),
|
|
461
|
-
[todos]
|
|
462
|
-
);
|
|
463
|
-
react.useEffect(() => {
|
|
464
|
-
setPreview(null);
|
|
465
|
-
}, [todoSignature]);
|
|
466
|
-
const openTimer = react.useRef(null);
|
|
467
|
-
const closeTimer = react.useRef(null);
|
|
468
|
-
const clearTimers = react.useCallback(() => {
|
|
469
|
-
if (openTimer.current !== null) window.clearTimeout(openTimer.current);
|
|
470
|
-
if (closeTimer.current !== null) window.clearTimeout(closeTimer.current);
|
|
471
|
-
openTimer.current = null;
|
|
472
|
-
closeTimer.current = null;
|
|
473
|
-
}, []);
|
|
474
|
-
const scheduleOpen = react.useCallback(
|
|
475
|
-
(group, element) => {
|
|
476
|
-
clearTimers();
|
|
477
|
-
const anchor = box.current;
|
|
478
|
-
const top = anchor === null ? 0 : element.getBoundingClientRect().top - anchor.getBoundingClientRect().top;
|
|
479
|
-
openTimer.current = window.setTimeout(() => {
|
|
480
|
-
openTimer.current = null;
|
|
481
|
-
setPreview({ group, top });
|
|
482
|
-
}, PREVIEW_OPEN_MS);
|
|
483
|
-
},
|
|
484
|
-
[clearTimers]
|
|
485
|
-
);
|
|
486
|
-
const scheduleClose = react.useCallback(() => {
|
|
487
|
-
clearTimers();
|
|
488
|
-
closeTimer.current = window.setTimeout(() => {
|
|
489
|
-
closeTimer.current = null;
|
|
490
|
-
setPreview(null);
|
|
491
|
-
}, PREVIEW_CLOSE_MS);
|
|
492
|
-
}, [clearTimers]);
|
|
493
|
-
const keepPreviewOpen = clearTimers;
|
|
494
|
-
const openPreviewNow = react.useCallback(
|
|
495
|
-
(group, element) => {
|
|
496
|
-
clearTimers();
|
|
497
|
-
const anchor = box.current;
|
|
498
|
-
const top = anchor === null ? 0 : element.getBoundingClientRect().top - anchor.getBoundingClientRect().top;
|
|
499
|
-
setPreview({ group, top });
|
|
500
|
-
},
|
|
501
|
-
[clearTimers]
|
|
502
|
-
);
|
|
503
|
-
react.useEffect(() => clearTimers, [clearTimers]);
|
|
504
|
-
react.useEffect(() => {
|
|
505
|
-
if (preview === null) return void 0;
|
|
506
|
-
const onKey = (event) => {
|
|
507
|
-
if (event.key === "Escape") setPreview(null);
|
|
508
|
-
};
|
|
509
|
-
window.addEventListener("keydown", onKey);
|
|
510
|
-
return () => window.removeEventListener("keydown", onKey);
|
|
511
|
-
}, [preview]);
|
|
512
|
-
const stopMate = (mate) => {
|
|
513
|
-
void channel.invoke("stopTeammate", [mate.name]).then(() => ui$1.toastOk(`已叫停 ${mate.name}`)).catch((reason) => ui$1.toastErr(`叫停失败:${reason instanceof Error ? reason.message : String(reason)}`));
|
|
514
|
-
};
|
|
515
|
-
const stopWork = (work) => {
|
|
516
|
-
void channel.invoke("stopBackground", [work.id]).then((text) => {
|
|
517
|
-
ui$1.toastOk(typeof text === "string" && text.trim() !== "" ? text : `已收掉 ${work.id}`);
|
|
518
|
-
}).catch((reason) => {
|
|
519
|
-
ui$1.toastErr(`收不掉:${reason instanceof Error ? reason.message : String(reason)}`);
|
|
520
|
-
});
|
|
521
|
-
};
|
|
522
|
-
const openWork = (work) => {
|
|
523
|
-
ui$1.setDockWorkOutput({ id: work.id, label: work.title });
|
|
524
|
-
};
|
|
525
|
-
const clearTodos = () => {
|
|
526
|
-
void channel.invoke("clearTodos", []).then(() => {
|
|
527
|
-
ui$1.toastOk("任务清单已清空");
|
|
528
|
-
}).catch((reason) => {
|
|
529
|
-
ui$1.toastErr(`清空失败:${reason instanceof Error ? reason.message : String(reason)}`);
|
|
530
|
-
});
|
|
531
|
-
};
|
|
532
|
-
const goalAction = (name, tip) => {
|
|
533
|
-
void channel.invoke("goalAction", [name]).then(() => ui$1.toastOk(tip)).catch((reason) => ui$1.toastErr(`目标操作失败:${reason instanceof Error ? reason.message : String(reason)}`));
|
|
534
|
-
};
|
|
535
|
-
const chooseMode = (next) => {
|
|
536
|
-
setMenuOpen(false);
|
|
537
|
-
setMode(next);
|
|
538
|
-
writeMode(next);
|
|
539
|
-
};
|
|
540
|
-
const toggleSection = (id) => {
|
|
541
|
-
setSectionOpen((current) => ({ ...current, [id]: !current[id] }));
|
|
542
|
-
};
|
|
543
|
-
const hasData = todos !== null || goal !== null || mine.length > 0 || git !== null || plans.length > 0 || works.length > 0 || scheduled.length > 0;
|
|
544
|
-
const showGit = git !== null;
|
|
545
|
-
const showGoal = goal !== null;
|
|
546
|
-
const showPlan = plans.length > 0;
|
|
547
|
-
const showTodo = todos !== null;
|
|
548
|
-
const showTerminal = works.length > 0;
|
|
549
|
-
const showWorkflow = scheduled.length > 0;
|
|
550
|
-
const sepGoal = showGit;
|
|
551
|
-
const sepPlan = showGit || showGoal;
|
|
552
|
-
const sepTodo = showGit || showGoal || showPlan;
|
|
553
|
-
const sepTerminal = sepTodo || showTodo;
|
|
554
|
-
const sepWorkflow = sepTerminal || showTerminal;
|
|
555
|
-
const sepAgent = sepWorkflow || showWorkflow;
|
|
556
|
-
const panel = hasData && view === "chat" ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
557
|
-
"div",
|
|
558
|
-
{
|
|
559
|
-
className: "sp-host",
|
|
560
|
-
ref: box,
|
|
561
|
-
style: { "--sp-avail": `${String(avail)}px` },
|
|
562
|
-
children: [
|
|
563
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
564
|
-
"aside",
|
|
565
|
-
{
|
|
566
|
-
className: "sp",
|
|
567
|
-
"data-display-mode": mode,
|
|
568
|
-
"data-expanded": expanded ? "1" : "0",
|
|
569
|
-
"aria-label": "状态",
|
|
570
|
-
children: [
|
|
571
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
572
|
-
"button",
|
|
573
|
-
{
|
|
574
|
-
type: "button",
|
|
575
|
-
className: "sp-mini",
|
|
576
|
-
"data-sp-mini": "1",
|
|
577
|
-
"aria-label": "展开状态面板",
|
|
578
|
-
"aria-hidden": expanded,
|
|
579
|
-
tabIndex: expanded ? -1 : 0,
|
|
580
|
-
inert: expanded,
|
|
581
|
-
"data-tip": "展开状态面板",
|
|
582
|
-
onClick: () => {
|
|
583
|
-
chooseMode("panel");
|
|
584
|
-
},
|
|
585
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(MiniSummary, { summary })
|
|
586
|
-
}
|
|
587
|
-
),
|
|
588
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sp-panel", "aria-hidden": !expanded, inert: !expanded, children: [
|
|
589
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sp-toolbar", children: [
|
|
590
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
591
|
-
"button",
|
|
592
|
-
{
|
|
593
|
-
type: "button",
|
|
594
|
-
className: "sp-icon-btn",
|
|
595
|
-
"aria-label": "展开策略",
|
|
596
|
-
"data-tip": `状态面板展开策略:${MODE_LABEL[mode]}`,
|
|
597
|
-
"aria-expanded": menuOpen,
|
|
598
|
-
onClick: () => {
|
|
599
|
-
setMenuOpen((open) => !open);
|
|
600
|
-
},
|
|
601
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconMore, { size: 13 })
|
|
602
|
-
}
|
|
603
|
-
),
|
|
604
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
605
|
-
"button",
|
|
606
|
-
{
|
|
607
|
-
type: "button",
|
|
608
|
-
className: "sp-icon-btn",
|
|
609
|
-
"aria-label": "收起为胶囊",
|
|
610
|
-
"data-tip": "收起为胶囊",
|
|
611
|
-
onClick: () => {
|
|
612
|
-
chooseMode("mini");
|
|
613
|
-
},
|
|
614
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconChevronDown, { size: 13 })
|
|
615
|
-
}
|
|
616
|
-
),
|
|
617
|
-
menuOpen ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
618
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
619
|
-
"div",
|
|
620
|
-
{
|
|
621
|
-
className: "sp-mask",
|
|
622
|
-
onClick: () => {
|
|
623
|
-
setMenuOpen(false);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
),
|
|
627
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sp-menu", role: "menu", "aria-label": "展开策略", children: MODE_ORDER.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
628
|
-
"button",
|
|
629
|
-
{
|
|
630
|
-
type: "button",
|
|
631
|
-
role: "menuitemradio",
|
|
632
|
-
"aria-checked": item === mode,
|
|
633
|
-
className: `sp-menu-item${item === mode ? " on" : ""}`,
|
|
634
|
-
onClick: () => {
|
|
635
|
-
chooseMode(item);
|
|
636
|
-
},
|
|
637
|
-
children: [
|
|
638
|
-
MODE_LABEL[item],
|
|
639
|
-
item === mode ? /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconCheck, { size: 12 }) : null
|
|
640
|
-
]
|
|
641
|
-
},
|
|
642
|
-
item
|
|
643
|
-
)) })
|
|
644
|
-
] }) : null
|
|
645
|
-
] }),
|
|
646
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sp-scroll", children: [
|
|
647
|
-
showGit && git !== null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
648
|
-
GitSection,
|
|
649
|
-
{
|
|
650
|
-
git,
|
|
651
|
-
open: sectionOpen.git,
|
|
652
|
-
separated: false,
|
|
653
|
-
onToggle: () => {
|
|
654
|
-
toggleSection("git");
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
) : null,
|
|
658
|
-
showGoal && goal !== null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
659
|
-
GoalSection,
|
|
660
|
-
{
|
|
661
|
-
goal,
|
|
662
|
-
open: sectionOpen.goal,
|
|
663
|
-
separated: sepGoal,
|
|
664
|
-
onToggle: () => {
|
|
665
|
-
toggleSection("goal");
|
|
666
|
-
},
|
|
667
|
-
onAction: goalAction
|
|
668
|
-
}
|
|
669
|
-
) : null,
|
|
670
|
-
showPlan ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
671
|
-
PlanSection,
|
|
672
|
-
{
|
|
673
|
-
plans,
|
|
674
|
-
now,
|
|
675
|
-
open: sectionOpen.plan,
|
|
676
|
-
separated: sepPlan,
|
|
677
|
-
onToggle: () => {
|
|
678
|
-
toggleSection("plan");
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
) : null,
|
|
682
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
683
|
-
TodoSection,
|
|
684
|
-
{
|
|
685
|
-
todos,
|
|
686
|
-
open: sectionOpen.todo,
|
|
687
|
-
separated: sepTodo,
|
|
688
|
-
onToggle: () => {
|
|
689
|
-
toggleSection("todo");
|
|
690
|
-
},
|
|
691
|
-
onClear: clearTodos,
|
|
692
|
-
previewOpen: preview === null ? null : preview.group,
|
|
693
|
-
onPreviewOpen: (group, element) => {
|
|
694
|
-
scheduleOpen(group, element);
|
|
695
|
-
},
|
|
696
|
-
onPreviewClose: scheduleClose,
|
|
697
|
-
onPreviewTouch: openPreviewNow,
|
|
698
|
-
onPreviewKeep: keepPreviewOpen
|
|
699
|
-
}
|
|
700
|
-
),
|
|
701
|
-
showTerminal ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
702
|
-
WorkSection,
|
|
703
|
-
{
|
|
704
|
-
works,
|
|
705
|
-
now,
|
|
706
|
-
open: sectionOpen.terminal,
|
|
707
|
-
separated: sepTerminal,
|
|
708
|
-
onToggle: () => {
|
|
709
|
-
toggleSection("terminal");
|
|
710
|
-
},
|
|
711
|
-
onOpen: openWork,
|
|
712
|
-
onStop: stopWork
|
|
713
|
-
}
|
|
714
|
-
) : null,
|
|
715
|
-
showWorkflow ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
716
|
-
WorkflowSection,
|
|
717
|
-
{
|
|
718
|
-
tasks: scheduled,
|
|
719
|
-
now,
|
|
720
|
-
open: sectionOpen.workflow,
|
|
721
|
-
separated: sepWorkflow,
|
|
722
|
-
onToggle: () => {
|
|
723
|
-
toggleSection("workflow");
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
) : null,
|
|
727
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
728
|
-
AgentSection,
|
|
729
|
-
{
|
|
730
|
-
running,
|
|
731
|
-
endedCount: ended.length,
|
|
732
|
-
now,
|
|
733
|
-
open: sectionOpen.agent,
|
|
734
|
-
separated: sepAgent,
|
|
735
|
-
onToggle: () => {
|
|
736
|
-
toggleSection("agent");
|
|
737
|
-
},
|
|
738
|
-
onStop: stopMate,
|
|
739
|
-
onOpen: (mate) => {
|
|
740
|
-
ui$1.setDockSubagent({ path: mate.file, label: mate.name });
|
|
741
|
-
},
|
|
742
|
-
onOpenDirectory: teamPanel === void 0 ? void 0 : () => {
|
|
743
|
-
teamPanel.open();
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
)
|
|
747
|
-
] })
|
|
748
|
-
] })
|
|
749
|
-
]
|
|
750
|
-
}
|
|
751
|
-
),
|
|
752
|
-
preview !== null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
753
|
-
FoldPreviewCard,
|
|
754
|
-
{
|
|
755
|
-
group: preview.group,
|
|
756
|
-
items: preview.group === "preceding" ? foldWindow.preceding : foldWindow.following,
|
|
757
|
-
top: preview.top,
|
|
758
|
-
onEnter: keepPreviewOpen,
|
|
759
|
-
onLeave: scheduleClose
|
|
760
|
-
}
|
|
761
|
-
) : null
|
|
762
|
-
]
|
|
763
|
-
}
|
|
764
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sp-host", hidden: true });
|
|
765
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
766
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { ref: sentinel, hidden: true }),
|
|
767
|
-
host === null ? null : reactDom.createPortal(panel, host)
|
|
768
|
-
] });
|
|
769
|
-
}
|
|
770
|
-
function MiniSummary({ summary }) {
|
|
771
|
-
if (summary === null) return null;
|
|
772
|
-
let icon;
|
|
773
|
-
let text;
|
|
774
|
-
let trail = null;
|
|
775
|
-
if (summary.kind === "workflow") {
|
|
776
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconCalendar, { size: 13, className: "sp-icon-run" });
|
|
777
|
-
text = summary.text;
|
|
778
|
-
} else if (summary.kind === "todo-current") {
|
|
779
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconArrowRight, { size: 13 });
|
|
780
|
-
text = summary.text;
|
|
781
|
-
} else if (summary.kind === "goal") {
|
|
782
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTarget, { size: 13 });
|
|
783
|
-
text = summary.text;
|
|
784
|
-
} else if (summary.kind === "git") {
|
|
785
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconDiff, { size: 13 });
|
|
786
|
-
text = "更改";
|
|
787
|
-
} else if (summary.kind === "goal-done") {
|
|
788
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTarget, { size: 13, className: "sp-icon-done" });
|
|
789
|
-
text = summary.text;
|
|
790
|
-
} else if (summary.kind === "todo-done") {
|
|
791
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconCheck, { size: 13, className: "sp-icon-done" });
|
|
792
|
-
text = summary.text;
|
|
793
|
-
} else if (summary.kind === "progress") {
|
|
794
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconFlatList, { size: 13 });
|
|
795
|
-
text = "进程";
|
|
796
|
-
trail = `${String(summary.done)}/${String(summary.total)}`;
|
|
797
|
-
} else if (summary.kind === "plan") {
|
|
798
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconFlatList, { size: 13 });
|
|
799
|
-
text = summary.text;
|
|
800
|
-
} else if (summary.kind === "running") {
|
|
801
|
-
if (summary.mates > 0 && summary.works > 0) {
|
|
802
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconActivity, { size: 13 });
|
|
803
|
-
text = `${String(summary.mates + summary.works)} 项在跑`;
|
|
804
|
-
} else if (summary.works > 0) {
|
|
805
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTerminal, { size: 13 });
|
|
806
|
-
text = `${String(summary.works)} 个后台任务`;
|
|
807
|
-
} else {
|
|
808
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTree, { size: 13 });
|
|
809
|
-
text = `${String(summary.mates)} 个智能体在跑`;
|
|
810
|
-
}
|
|
811
|
-
} else {
|
|
812
|
-
icon = /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTree, { size: 13 });
|
|
813
|
-
text = `已结束 ${String(summary.count)} 个智能体`;
|
|
814
|
-
}
|
|
815
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
816
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sp-mini-icon", children: [
|
|
817
|
-
icon,
|
|
818
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconExpand, { size: 13, className: "sp-mini-expand" })
|
|
819
|
-
] }),
|
|
820
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-mini-text", title: typeof text === "string" ? text : void 0, children: text }),
|
|
821
|
-
trail === null ? null : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-mini-trail", children: trail })
|
|
822
|
-
] });
|
|
823
|
-
}
|
|
824
|
-
function StatusSectionBlock({
|
|
825
|
-
id,
|
|
826
|
-
title,
|
|
827
|
-
trail,
|
|
828
|
-
open,
|
|
829
|
-
separated,
|
|
830
|
-
onToggle,
|
|
831
|
-
children
|
|
832
|
-
}) {
|
|
833
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
834
|
-
"section",
|
|
835
|
-
{
|
|
836
|
-
className: "sp-section",
|
|
837
|
-
"data-sp-section": id,
|
|
838
|
-
"data-sp-open": open ? "1" : "0",
|
|
839
|
-
"data-separated": separated ? "1" : void 0,
|
|
840
|
-
children: [
|
|
841
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
842
|
-
"button",
|
|
843
|
-
{
|
|
844
|
-
type: "button",
|
|
845
|
-
className: "sp-section-head",
|
|
846
|
-
"aria-expanded": open,
|
|
847
|
-
"data-sp-section-trigger": id,
|
|
848
|
-
onClick: onToggle,
|
|
849
|
-
children: [
|
|
850
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-section-title", children: title }),
|
|
851
|
-
open ? /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconChevronUp, { size: 12, className: "sp-section-caret" }) : /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconChevronDown, { size: 12, className: "sp-section-caret" }),
|
|
852
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-section-trail", children: trail })
|
|
853
|
-
]
|
|
854
|
-
}
|
|
855
|
-
),
|
|
856
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sp-section-body", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sp-section-scroll", "data-sp-section-scroll": id, children }) })
|
|
857
|
-
]
|
|
858
|
-
}
|
|
859
|
-
);
|
|
860
|
-
}
|
|
861
|
-
function GoalSection({
|
|
862
|
-
goal,
|
|
863
|
-
open,
|
|
864
|
-
separated,
|
|
865
|
-
onToggle,
|
|
866
|
-
onAction
|
|
867
|
-
}) {
|
|
868
|
-
const phaseText = goal.phase === "active" ? goal.armed ? "自动续跑中" : "已建立(未上膛)" : goal.phase === "paused" ? "已暂停" : goal.phase === "blocked" ? "已阻塞" : "已完成";
|
|
869
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
870
|
-
StatusSectionBlock,
|
|
871
|
-
{
|
|
872
|
-
id: "goal",
|
|
873
|
-
title: "目标",
|
|
874
|
-
open,
|
|
875
|
-
separated,
|
|
876
|
-
onToggle,
|
|
877
|
-
trail: `${String(goal.rounds)}/${String(goal.maxRounds)} 轮`,
|
|
878
|
-
children: [
|
|
879
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sp-goal", "data-goal-phase": goal.phase, children: [
|
|
880
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTarget, { size: 14, className: "sp-icon sp-icon-goal" }),
|
|
881
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "sp-goal-text", title: goal.blockedReason ?? goal.objective, children: goal.objective }),
|
|
882
|
-
goal.phase === "active" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
883
|
-
"button",
|
|
884
|
-
{
|
|
885
|
-
type: "button",
|
|
886
|
-
className: "sp-goal-btn",
|
|
887
|
-
"data-tip": "暂停自动续跑(不会打断当前这一轮)",
|
|
888
|
-
onClick: () => {
|
|
889
|
-
onAction("pause", "目标已暂停");
|
|
890
|
-
},
|
|
891
|
-
children: "暂停"
|
|
892
|
-
}
|
|
893
|
-
) : goal.phase !== "complete" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
894
|
-
"button",
|
|
895
|
-
{
|
|
896
|
-
type: "button",
|
|
897
|
-
className: "sp-goal-btn",
|
|
898
|
-
"data-tip": "继续自动续跑",
|
|
899
|
-
onClick: () => {
|
|
900
|
-
onAction("resume", "目标已继续");
|
|
901
|
-
},
|
|
902
|
-
children: "继续"
|
|
903
|
-
}
|
|
904
|
-
) : null
|
|
905
|
-
] }),
|
|
906
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "sp-goal-state", children: [
|
|
907
|
-
phaseText,
|
|
908
|
-
" · ",
|
|
909
|
-
String(goal.rounds),
|
|
910
|
-
"/",
|
|
911
|
-
String(goal.maxRounds),
|
|
912
|
-
" 轮"
|
|
913
|
-
] })
|
|
914
|
-
]
|
|
915
|
-
}
|
|
916
|
-
);
|
|
917
|
-
}
|
|
918
|
-
const TodoRow = react.memo(function TodoRow2({ item }) {
|
|
919
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sp-row", "data-status": item.status, children: [
|
|
920
|
-
/* @__PURE__ */ jsxRuntime.jsx(TodoStatusIcon, { status: item.status }),
|
|
921
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-text", title: item.content, children: item.content }),
|
|
922
|
-
item.parent === void 0 ? null : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-note", children: "子任务" })
|
|
923
|
-
] });
|
|
924
|
-
});
|
|
925
|
-
function TodoStatusIcon({ status }) {
|
|
926
|
-
if (status === "completed") return /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconCheck, { size: 13, className: "sp-icon sp-icon-done" });
|
|
927
|
-
if (status === "cancelled") return /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconClose, { size: 12, className: "sp-icon sp-icon-cancel" });
|
|
928
|
-
if (status === "in_progress") return /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconArrowRight, { size: 13, className: "sp-icon sp-icon-run" });
|
|
929
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconCircle, { size: 13, className: "sp-icon sp-icon-wait" });
|
|
930
|
-
}
|
|
931
|
-
function TodoSection({
|
|
932
|
-
todos,
|
|
933
|
-
open,
|
|
934
|
-
separated,
|
|
935
|
-
onToggle,
|
|
936
|
-
onClear,
|
|
937
|
-
previewOpen,
|
|
938
|
-
onPreviewOpen,
|
|
939
|
-
onPreviewClose,
|
|
940
|
-
onPreviewTouch,
|
|
941
|
-
onPreviewKeep
|
|
942
|
-
}) {
|
|
943
|
-
if (todos === null) return null;
|
|
944
|
-
const window2 = todoFocusWindow(todos.items);
|
|
945
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
946
|
-
StatusSectionBlock,
|
|
947
|
-
{
|
|
948
|
-
id: "todo",
|
|
949
|
-
title: "进程",
|
|
950
|
-
open,
|
|
951
|
-
separated,
|
|
952
|
-
onToggle,
|
|
953
|
-
trail: /* @__PURE__ */ jsxRuntime.jsx(
|
|
954
|
-
"span",
|
|
955
|
-
{
|
|
956
|
-
className: "sp-section-trail",
|
|
957
|
-
"data-sp-progress": `${String(todos.done)}/${String(todos.total)}`,
|
|
958
|
-
"data-sp-complete": todos.total > 0 && todos.done >= todos.total ? "1" : "0",
|
|
959
|
-
children: `${String(todos.done)}/${String(todos.total)}`
|
|
960
|
-
}
|
|
961
|
-
),
|
|
962
|
-
children: [
|
|
963
|
-
/* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "sp-list", children: [
|
|
964
|
-
window2.compact && window2.preceding.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
965
|
-
FoldRow,
|
|
966
|
-
{
|
|
967
|
-
group: "preceding",
|
|
968
|
-
items: window2.preceding,
|
|
969
|
-
open: previewOpen === "preceding",
|
|
970
|
-
onPreviewOpen,
|
|
971
|
-
onPreviewClose,
|
|
972
|
-
onPreviewTouch
|
|
973
|
-
}
|
|
974
|
-
) }) : null,
|
|
975
|
-
window2.focus.map((item) => /* @__PURE__ */ jsxRuntime.jsx(TodoRow, { item }, item.id)),
|
|
976
|
-
window2.compact && window2.following.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
977
|
-
FoldRow,
|
|
978
|
-
{
|
|
979
|
-
group: "following",
|
|
980
|
-
items: window2.following,
|
|
981
|
-
open: previewOpen === "following",
|
|
982
|
-
onPreviewOpen,
|
|
983
|
-
onPreviewClose,
|
|
984
|
-
onPreviewTouch
|
|
985
|
-
}
|
|
986
|
-
) }) : null
|
|
987
|
-
] }),
|
|
988
|
-
todos.total > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sp-row-foot", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
989
|
-
"button",
|
|
990
|
-
{
|
|
991
|
-
type: "button",
|
|
992
|
-
className: "sp-clear",
|
|
993
|
-
"data-sp-clear": "1",
|
|
994
|
-
"data-tip": "清空任务清单(模型下一次更新清单会重建它)",
|
|
995
|
-
onClick: onClear,
|
|
996
|
-
children: "清空清单"
|
|
997
|
-
}
|
|
998
|
-
) }) : null
|
|
999
|
-
]
|
|
1000
|
-
}
|
|
1001
|
-
);
|
|
1002
|
-
}
|
|
1003
|
-
function FoldRow({
|
|
1004
|
-
group,
|
|
1005
|
-
items,
|
|
1006
|
-
open,
|
|
1007
|
-
onPreviewOpen,
|
|
1008
|
-
onPreviewClose,
|
|
1009
|
-
onPreviewTouch
|
|
1010
|
-
}) {
|
|
1011
|
-
const label = FOLD_LABEL[foldBucketKind(items, group)](items.length);
|
|
1012
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1013
|
-
"button",
|
|
1014
|
-
{
|
|
1015
|
-
type: "button",
|
|
1016
|
-
className: "sp-fold",
|
|
1017
|
-
"data-sp-fold": group,
|
|
1018
|
-
"aria-expanded": open,
|
|
1019
|
-
title: label,
|
|
1020
|
-
onMouseEnter: (event) => {
|
|
1021
|
-
onPreviewOpen(group, event.currentTarget);
|
|
1022
|
-
},
|
|
1023
|
-
onMouseLeave: onPreviewClose,
|
|
1024
|
-
onFocus: (event) => {
|
|
1025
|
-
onPreviewOpen(group, event.currentTarget);
|
|
1026
|
-
},
|
|
1027
|
-
onBlur: onPreviewClose,
|
|
1028
|
-
onClick: (event) => {
|
|
1029
|
-
if (hasHoverInput()) return;
|
|
1030
|
-
if (open) onPreviewClose();
|
|
1031
|
-
else onPreviewTouch(group, event.currentTarget);
|
|
1032
|
-
},
|
|
1033
|
-
children: [
|
|
1034
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconChevronLeft, { size: 12 }),
|
|
1035
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-fold-text", children: label })
|
|
1036
|
-
]
|
|
1037
|
-
}
|
|
1038
|
-
);
|
|
1039
|
-
}
|
|
1040
|
-
function FoldPreviewCard({
|
|
1041
|
-
group,
|
|
1042
|
-
items,
|
|
1043
|
-
top,
|
|
1044
|
-
onEnter,
|
|
1045
|
-
onLeave
|
|
1046
|
-
}) {
|
|
1047
|
-
if (items.length === 0) return null;
|
|
1048
|
-
const label = FOLD_LABEL[foldBucketKind(items, group)](items.length);
|
|
1049
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1050
|
-
"div",
|
|
1051
|
-
{
|
|
1052
|
-
className: "sp-card",
|
|
1053
|
-
"data-sp-card": group,
|
|
1054
|
-
role: "tooltip",
|
|
1055
|
-
style: { top },
|
|
1056
|
-
onMouseEnter: onEnter,
|
|
1057
|
-
onMouseLeave: onLeave,
|
|
1058
|
-
children: [
|
|
1059
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "sp-card-head", children: label }),
|
|
1060
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sp-card-list", children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(TodoRow, { item }, item.id)) })
|
|
1061
|
-
]
|
|
1062
|
-
}
|
|
1063
|
-
);
|
|
1064
|
-
}
|
|
1065
|
-
function AgentSection({
|
|
1066
|
-
running,
|
|
1067
|
-
endedCount,
|
|
1068
|
-
now,
|
|
1069
|
-
open,
|
|
1070
|
-
separated,
|
|
1071
|
-
onToggle,
|
|
1072
|
-
onStop,
|
|
1073
|
-
onOpen,
|
|
1074
|
-
onOpenDirectory
|
|
1075
|
-
}) {
|
|
1076
|
-
if (running.length === 0 && endedCount === 0) return null;
|
|
1077
|
-
const ordered = [...running].sort((left, right) => left.startedAt - right.startedAt);
|
|
1078
|
-
const longest = formatDuration(longestElapsedMs(running, now));
|
|
1079
|
-
const trail = running.length === 0 ? "" : open ? `${String(running.length)} 运行` : `${longest ?? ""} · ${String(running.length)} 运行`;
|
|
1080
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(StatusSectionBlock, { id: "agent", title: "智能体", open, separated, onToggle, trail, children: [
|
|
1081
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sp-list", children: ordered.map((mate) => {
|
|
1082
|
-
const elapsed = formatDuration(mateElapsedMs(mate, now));
|
|
1083
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sp-row sp-row-agent", "data-state": MATE_TONE[mate.state], children: [
|
|
1084
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1085
|
-
"button",
|
|
1086
|
-
{
|
|
1087
|
-
type: "button",
|
|
1088
|
-
className: "sp-row-open",
|
|
1089
|
-
"aria-label": `打开 ${mate.name} 的运行记录`,
|
|
1090
|
-
"data-sp-agent": mate.name,
|
|
1091
|
-
"data-tip": `${mate.role} · ${mate.task}
|
|
1092
|
-
点开在右侧边栏看它的运行记录(只读)`,
|
|
1093
|
-
onClick: () => {
|
|
1094
|
-
onOpen(mate);
|
|
1095
|
-
},
|
|
1096
|
-
children: [
|
|
1097
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTree, { size: 13, className: "sp-icon sp-icon-run" }),
|
|
1098
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-text", title: mate.task, children: mate.name }),
|
|
1099
|
-
elapsed === null ? null : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-time", children: elapsed })
|
|
1100
|
-
]
|
|
1101
|
-
}
|
|
1102
|
-
),
|
|
1103
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1104
|
-
"button",
|
|
1105
|
-
{
|
|
1106
|
-
type: "button",
|
|
1107
|
-
className: "sp-row-stop",
|
|
1108
|
-
"aria-label": `停掉 ${mate.name}`,
|
|
1109
|
-
"data-tip": "停掉这个队友(尽力而为,已跑完的改不了结果)",
|
|
1110
|
-
onClick: (event) => {
|
|
1111
|
-
event.stopPropagation();
|
|
1112
|
-
onStop(mate);
|
|
1113
|
-
},
|
|
1114
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconStop, { size: 12 })
|
|
1115
|
-
}
|
|
1116
|
-
)
|
|
1117
|
-
] }, mate.file);
|
|
1118
|
-
}) }),
|
|
1119
|
-
endedCount > 0 && onOpenDirectory !== void 0 ? /* @__PURE__ */ jsxRuntime.jsxs("button", { type: "button", className: "sp-ended", "data-sp-ended": String(endedCount), onClick: onOpenDirectory, children: [
|
|
1120
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconCheck, { size: 13, className: "sp-icon" }),
|
|
1121
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "已结束" }),
|
|
1122
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-ended-count", children: endedCount }),
|
|
1123
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconChevronRight, { size: 12, className: "sp-ended-go" })
|
|
1124
|
-
] }) : null
|
|
1125
|
-
] });
|
|
1126
|
-
}
|
|
1127
|
-
function GitSection({
|
|
1128
|
-
git,
|
|
1129
|
-
open,
|
|
1130
|
-
separated,
|
|
1131
|
-
onToggle
|
|
1132
|
-
}) {
|
|
1133
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1134
|
-
StatusSectionBlock,
|
|
1135
|
-
{
|
|
1136
|
-
id: "git",
|
|
1137
|
-
title: "Git 工具",
|
|
1138
|
-
open,
|
|
1139
|
-
separated,
|
|
1140
|
-
onToggle,
|
|
1141
|
-
trail: null,
|
|
1142
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: "sp-list", children: [
|
|
1143
|
-
/* @__PURE__ */ jsxRuntime.jsx("li", { className: "sp-row", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1144
|
-
"button",
|
|
1145
|
-
{
|
|
1146
|
-
type: "button",
|
|
1147
|
-
className: "sp-row-open",
|
|
1148
|
-
"data-sp-git-changes": String(git.files),
|
|
1149
|
-
"aria-label": "打开 Git 页签",
|
|
1150
|
-
"data-tip": "在右侧边栏打开 Git",
|
|
1151
|
-
onClick: () => {
|
|
1152
|
-
ui$1.openDockTab("git");
|
|
1153
|
-
},
|
|
1154
|
-
children: [
|
|
1155
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconDiff, { size: 13, className: "sp-icon sp-icon-run" }),
|
|
1156
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-text", children: "更改" }),
|
|
1157
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-time", children: `${String(git.files)} 个文件` })
|
|
1158
|
-
]
|
|
1159
|
-
}
|
|
1160
|
-
) }),
|
|
1161
|
-
/* @__PURE__ */ jsxRuntime.jsx("li", { className: "sp-row", children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "sp-row-open sp-row-static", "data-sp-git-branch": git.branch, "data-tip": "当前分支", children: [
|
|
1162
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconBranch, { size: 13, className: "sp-icon" }),
|
|
1163
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-text", title: git.branch, children: git.branch })
|
|
1164
|
-
] }) })
|
|
1165
|
-
] })
|
|
1166
|
-
}
|
|
1167
|
-
);
|
|
1168
|
-
}
|
|
1169
|
-
function PlanSection({
|
|
1170
|
-
plans,
|
|
1171
|
-
now,
|
|
1172
|
-
open,
|
|
1173
|
-
separated,
|
|
1174
|
-
onToggle
|
|
1175
|
-
}) {
|
|
1176
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1177
|
-
StatusSectionBlock,
|
|
1178
|
-
{
|
|
1179
|
-
id: "plan",
|
|
1180
|
-
title: "计划",
|
|
1181
|
-
open,
|
|
1182
|
-
separated,
|
|
1183
|
-
onToggle,
|
|
1184
|
-
trail: `${String(plans.length)} 份`,
|
|
1185
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sp-list", children: plans.map((plan) => {
|
|
1186
|
-
const ago = formatAgo(plan.at, now);
|
|
1187
|
-
return /* @__PURE__ */ jsxRuntime.jsx("li", { className: "sp-row", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1188
|
-
"button",
|
|
1189
|
-
{
|
|
1190
|
-
type: "button",
|
|
1191
|
-
className: "sp-row-open",
|
|
1192
|
-
"data-sp-plan": plan.file,
|
|
1193
|
-
"aria-label": `打开计划:${plan.title}`,
|
|
1194
|
-
"data-tip": `${plan.title}
|
|
1195
|
-
${plan.file}`,
|
|
1196
|
-
onClick: () => {
|
|
1197
|
-
ui$1.setDockPreview({ path: plan.file });
|
|
1198
|
-
},
|
|
1199
|
-
children: [
|
|
1200
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconFlatList, { size: 13, className: "sp-icon" }),
|
|
1201
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-text", title: plan.title, children: plan.title }),
|
|
1202
|
-
ago === null ? null : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-time", children: ago })
|
|
1203
|
-
]
|
|
1204
|
-
}
|
|
1205
|
-
) }, plan.file);
|
|
1206
|
-
}) })
|
|
1207
|
-
}
|
|
1208
|
-
);
|
|
1209
|
-
}
|
|
1210
|
-
function WorkSection({
|
|
1211
|
-
works,
|
|
1212
|
-
now,
|
|
1213
|
-
open,
|
|
1214
|
-
separated,
|
|
1215
|
-
onToggle,
|
|
1216
|
-
onOpen,
|
|
1217
|
-
onStop
|
|
1218
|
-
}) {
|
|
1219
|
-
const longest = formatDuration(longestWorkElapsedMs(works, now));
|
|
1220
|
-
const trail = open ? `${String(works.length)} 个后台运行` : `${longest ?? ""} · ${String(works.length)} 后台`;
|
|
1221
|
-
return /* @__PURE__ */ jsxRuntime.jsx(StatusSectionBlock, { id: "terminal", title: "终端", open, separated, onToggle, trail, children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sp-list", children: works.map((work) => {
|
|
1222
|
-
const elapsed = formatDuration(Math.max(0, now - work.startedAt));
|
|
1223
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sp-row", "data-work-kind": work.kind, children: [
|
|
1224
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1225
|
-
"button",
|
|
1226
|
-
{
|
|
1227
|
-
type: "button",
|
|
1228
|
-
className: "sp-row-open",
|
|
1229
|
-
"aria-label": `查看 ${work.id} 的输出`,
|
|
1230
|
-
"data-sp-work": work.id,
|
|
1231
|
-
"data-tip": `${work.kind === "job" ? "后台作业" : "终端会话"} ${work.id}
|
|
1232
|
-
${work.title}
|
|
1233
|
-
点开在右侧边栏看输出(只读)`,
|
|
1234
|
-
onClick: () => {
|
|
1235
|
-
onOpen(work);
|
|
1236
|
-
},
|
|
1237
|
-
children: [
|
|
1238
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTerminal, { size: 13, className: "sp-icon sp-icon-run" }),
|
|
1239
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-text", title: work.title, children: work.title }),
|
|
1240
|
-
elapsed === null ? null : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-time", children: elapsed })
|
|
1241
|
-
]
|
|
1242
|
-
}
|
|
1243
|
-
),
|
|
1244
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1245
|
-
"button",
|
|
1246
|
-
{
|
|
1247
|
-
type: "button",
|
|
1248
|
-
className: "sp-row-stop",
|
|
1249
|
-
"aria-label": `停止 ${work.id}`,
|
|
1250
|
-
"data-tip": "停止任务",
|
|
1251
|
-
onClick: (event) => {
|
|
1252
|
-
event.stopPropagation();
|
|
1253
|
-
onStop(work);
|
|
1254
|
-
},
|
|
1255
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(ui$1.IconStop, { size: 12 })
|
|
1256
|
-
}
|
|
1257
|
-
)
|
|
1258
|
-
] }, work.id);
|
|
1259
|
-
}) }) });
|
|
1260
|
-
}
|
|
1261
|
-
function WorkOutputTab({ tab, active, expanded }) {
|
|
1262
|
-
const channel = ui$1.useHostChannel();
|
|
1263
|
-
const id = tab.path ?? "";
|
|
1264
|
-
const [view, setView] = react.useState(null);
|
|
1265
|
-
const [frozen, setFrozen] = react.useState(null);
|
|
1266
|
-
const [error, setError] = react.useState("");
|
|
1267
|
-
const scrollRef = react.useRef(null);
|
|
1268
|
-
const prevTop = react.useRef(0);
|
|
1269
|
-
react.useEffect(() => {
|
|
1270
|
-
setView(null);
|
|
1271
|
-
setFrozen(null);
|
|
1272
|
-
setError("");
|
|
1273
|
-
prevTop.current = 0;
|
|
1274
|
-
}, [id]);
|
|
1275
|
-
const visible = active && expanded;
|
|
1276
|
-
react.useEffect(() => {
|
|
1277
|
-
if (id === "" || !visible) return void 0;
|
|
1278
|
-
let alive = true;
|
|
1279
|
-
let timer = null;
|
|
1280
|
-
const poll = () => {
|
|
1281
|
-
void channel.invoke("readBackground", [id]).then((result) => {
|
|
1282
|
-
if (!alive) return;
|
|
1283
|
-
setView(result);
|
|
1284
|
-
setError("");
|
|
1285
|
-
if (result?.status === "running") timer = window.setTimeout(poll, WORK_POLL_MS);
|
|
1286
|
-
}).catch((reason) => {
|
|
1287
|
-
if (!alive) return;
|
|
1288
|
-
setError(reason instanceof Error ? reason.message : String(reason));
|
|
1289
|
-
});
|
|
1290
|
-
};
|
|
1291
|
-
poll();
|
|
1292
|
-
return () => {
|
|
1293
|
-
alive = false;
|
|
1294
|
-
if (timer !== null) window.clearTimeout(timer);
|
|
1295
|
-
};
|
|
1296
|
-
}, [channel, id, visible]);
|
|
1297
|
-
const display = frozen ?? view;
|
|
1298
|
-
const following = frozen === null;
|
|
1299
|
-
react.useEffect(() => {
|
|
1300
|
-
if (!visible || !following) return;
|
|
1301
|
-
const el = scrollRef.current;
|
|
1302
|
-
if (el !== null) el.scrollTop = el.scrollHeight;
|
|
1303
|
-
}, [visible, following, display?.text]);
|
|
1304
|
-
const onScroll = () => {
|
|
1305
|
-
const el = scrollRef.current;
|
|
1306
|
-
if (el === null) return;
|
|
1307
|
-
const atBottom = el.scrollHeight - el.scrollTop - el.clientHeight <= FOLLOW_BOTTOM_PX;
|
|
1308
|
-
if (following && el.scrollTop < prevTop.current && !atBottom) setFrozen(view);
|
|
1309
|
-
else if (!following && atBottom) setFrozen(null);
|
|
1310
|
-
prevTop.current = el.scrollTop;
|
|
1311
|
-
};
|
|
1312
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "work-out", "data-sp-output": id, "data-status": display?.status ?? "loading", "data-following": following ? "1" : "0", children: [
|
|
1313
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "work-out-head", children: [
|
|
1314
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconTerminal, { size: 13, className: "sp-icon" }),
|
|
1315
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "work-out-title", title: tab.label ?? id, children: tab.label ?? id }),
|
|
1316
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "work-out-status", "data-tone": display?.status === "running" ? "run" : "plain", children: outputStatusLabel(display?.status) })
|
|
1317
|
-
] }),
|
|
1318
|
-
error === "" ? null : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "work-out-note", children: `读不了输出:${error}` }),
|
|
1319
|
-
display !== null && display.droppedChars > 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "work-out-note", "data-sp-output-dropped": String(display.droppedChars), children: `头部已丢弃 ${String(display.droppedChars)} 字符(缓冲超上限,较早的输出不再保留)` }) : null,
|
|
1320
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "work-out-scroll", ref: scrollRef, onScroll, children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "work-out-text", "data-sp-output-text": true, children: display === null ? "正在读输出…" : display.text === "" ? "(还没有输出)" : display.text }) }),
|
|
1321
|
-
following ? null : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1322
|
-
"button",
|
|
1323
|
-
{
|
|
1324
|
-
type: "button",
|
|
1325
|
-
className: "work-out-resume",
|
|
1326
|
-
"data-sp-output-resume": "1",
|
|
1327
|
-
"data-tip": "恢复跟随(新输出自动滚到底)",
|
|
1328
|
-
onClick: () => {
|
|
1329
|
-
setFrozen(null);
|
|
1330
|
-
},
|
|
1331
|
-
children: [
|
|
1332
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui$1.IconChevronDown, { size: 13 }),
|
|
1333
|
-
"回到底部"
|
|
1334
|
-
]
|
|
1335
|
-
}
|
|
1336
|
-
)
|
|
1337
|
-
] });
|
|
1338
|
-
}
|
|
1339
|
-
function outputStatusLabel(status) {
|
|
1340
|
-
switch (status) {
|
|
1341
|
-
case "running":
|
|
1342
|
-
return "运行中";
|
|
1343
|
-
case "completed":
|
|
1344
|
-
return "已完成";
|
|
1345
|
-
case "failed":
|
|
1346
|
-
return "失败";
|
|
1347
|
-
case "killed":
|
|
1348
|
-
return "已终止";
|
|
1349
|
-
case "closed":
|
|
1350
|
-
return "已结束";
|
|
1351
|
-
default:
|
|
1352
|
-
return "读取中";
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
function taskState(task, now) {
|
|
1356
|
-
if (!task.enabled) return { text: task.nextRunAt === null ? "已停用" : "已暂停", tone: "muted" };
|
|
1357
|
-
if (task.lastStatus === "running") return { text: "运行中", tone: "run" };
|
|
1358
|
-
if (task.lastStatus === "failed") return { text: "上次失败", tone: "danger" };
|
|
1359
|
-
if (task.lastStatus === "blocked") return { text: "已阻塞", tone: "danger" };
|
|
1360
|
-
const countdown = formatCountdown(task.nextRunAt, now);
|
|
1361
|
-
return countdown === null ? { text: "未排期", tone: "muted" } : { text: countdown, tone: "plain" };
|
|
1362
|
-
}
|
|
1363
|
-
function WorkflowSection({
|
|
1364
|
-
tasks,
|
|
1365
|
-
now,
|
|
1366
|
-
open,
|
|
1367
|
-
separated,
|
|
1368
|
-
onToggle
|
|
1369
|
-
}) {
|
|
1370
|
-
const running = tasks.filter((task) => task.lastStatus === "running").length;
|
|
1371
|
-
const trail = running > 0 ? `${String(running)} 个运行中` : `${String(tasks.length)} 条`;
|
|
1372
|
-
return /* @__PURE__ */ jsxRuntime.jsx(StatusSectionBlock, { id: "workflow", title: "工作流", open, separated, onToggle, trail, children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sp-list", children: tasks.map((task) => {
|
|
1373
|
-
const state = taskState(task, now);
|
|
1374
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1375
|
-
"li",
|
|
1376
|
-
{
|
|
1377
|
-
className: "sp-row",
|
|
1378
|
-
"data-sched-state": task.lastStatus,
|
|
1379
|
-
"data-sched-enabled": task.enabled ? "1" : "0",
|
|
1380
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1381
|
-
"span",
|
|
1382
|
-
{
|
|
1383
|
-
className: "sp-row-open sp-row-static",
|
|
1384
|
-
"data-sp-task": task.id,
|
|
1385
|
-
"data-tip": task.lastError === null ? task.title : `${task.title}
|
|
1386
|
-
上次失败:${task.lastError}`,
|
|
1387
|
-
children: [
|
|
1388
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1389
|
-
ui$1.IconCalendar,
|
|
1390
|
-
{
|
|
1391
|
-
size: 13,
|
|
1392
|
-
className: task.lastStatus === "running" ? "sp-icon sp-icon-run" : "sp-icon"
|
|
1393
|
-
}
|
|
1394
|
-
),
|
|
1395
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-text", title: task.title, children: task.title }),
|
|
1396
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sp-row-time", "data-tone": state.tone, children: state.text })
|
|
1397
|
-
]
|
|
1398
|
-
}
|
|
1399
|
-
)
|
|
1400
|
-
},
|
|
1401
|
-
task.id
|
|
1402
|
-
);
|
|
1403
|
-
}) }) });
|
|
1404
|
-
}
|
|
1405
|
-
exports.default = ui;
|
|
1406
|
-
};
|