@songsid/agend 2.3.5 → 2.4.0-alpha.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 +3 -1
- package/README.zh-TW.md +3 -1
- package/THIRD_PARTY_NOTICES.md +71 -0
- package/dist/accounts-profiles.d.ts +102 -0
- package/dist/accounts-profiles.js +194 -0
- package/dist/accounts-profiles.js.map +1 -0
- package/dist/accounts-signout.d.ts +59 -0
- package/dist/accounts-signout.js +181 -0
- package/dist/accounts-signout.js.map +1 -0
- package/dist/accounts-view.d.ts +189 -0
- package/dist/accounts-view.js +204 -0
- package/dist/accounts-view.js.map +1 -0
- package/dist/agent-endpoint.d.ts +5 -1
- package/dist/agent-endpoint.js +12 -2
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-export.d.ts +74 -0
- package/dist/agent-export.js +362 -0
- package/dist/agent-export.js.map +1 -0
- package/dist/agent-file-read.js +1 -1
- package/dist/agent-file-read.js.map +1 -1
- package/dist/agent-runtime-api.d.ts +4 -0
- package/dist/agent-runtime-api.js +59 -0
- package/dist/agent-runtime-api.js.map +1 -0
- package/dist/agent-runtime-change.d.ts +76 -0
- package/dist/agent-runtime-change.js +114 -0
- package/dist/agent-runtime-change.js.map +1 -0
- package/dist/agent-whats-new.js +12 -3
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/agent-workspace.d.ts +103 -0
- package/dist/agent-workspace.js +360 -0
- package/dist/agent-workspace.js.map +1 -0
- package/dist/apply-job.d.ts +5 -0
- package/dist/apply-job.js +10 -3
- package/dist/apply-job.js.map +1 -1
- package/dist/auth-api.d.ts +78 -0
- package/dist/auth-api.js +352 -16
- package/dist/auth-api.js.map +1 -1
- package/dist/authority/company-join.d.ts +16 -0
- package/dist/authority/company-join.js +37 -0
- package/dist/authority/company-join.js.map +1 -0
- package/dist/authority/hub-initialization.d.ts +13 -0
- package/dist/authority/hub-initialization.js +30 -0
- package/dist/authority/hub-initialization.js.map +1 -0
- package/dist/authority/settings-role.d.ts +56 -0
- package/dist/authority/settings-role.js +48 -0
- package/dist/authority/settings-role.js.map +1 -0
- package/dist/authority/web-authority.d.ts +25 -2
- package/dist/authority/web-authority.js +37 -4
- package/dist/authority/web-authority.js.map +1 -1
- package/dist/backend/claude-code.d.ts +19 -16
- package/dist/backend/claude-code.js +183 -144
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/claude-context.d.ts +17 -0
- package/dist/backend/claude-context.js +30 -0
- package/dist/backend/claude-context.js.map +1 -0
- package/dist/backend/codex-footer-hints.d.ts +3 -0
- package/dist/backend/codex-footer-hints.js +14 -0
- package/dist/backend/codex-footer-hints.js.map +1 -1
- package/dist/backend/codex-package.d.ts +5 -2
- package/dist/backend/codex-package.js +1 -5
- package/dist/backend/codex-package.js.map +1 -1
- package/dist/backend/codex-quota-history.js +4 -19
- package/dist/backend/codex-quota-history.js.map +1 -1
- package/dist/backend/codex.d.ts +149 -129
- package/dist/backend/codex.js +1323 -1233
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/credential-profile.d.ts +21 -0
- package/dist/backend/credential-profile.js +48 -1
- package/dist/backend/credential-profile.js.map +1 -1
- package/dist/backend/effort-metadata.d.ts +38 -2
- package/dist/backend/effort-metadata.js +145 -8
- package/dist/backend/effort-metadata.js.map +1 -1
- package/dist/backend/grok-mcp.d.ts +5 -0
- package/dist/backend/grok-mcp.js +221 -0
- package/dist/backend/grok-mcp.js.map +1 -0
- package/dist/backend/grok-model-cache.d.ts +7 -0
- package/dist/backend/grok-model-cache.js +65 -0
- package/dist/backend/grok-model-cache.js.map +1 -0
- package/dist/backend/grok.d.ts +7 -10
- package/dist/backend/grok.js +44 -88
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/kiro.js +1 -1
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/launch-effort.d.ts +1 -1
- package/dist/backend/launch-effort.js +7 -3
- package/dist/backend/launch-effort.js.map +1 -1
- package/dist/backend/native-pane.d.ts +11 -0
- package/dist/backend/native-pane.js +59 -0
- package/dist/backend/native-pane.js.map +1 -0
- package/dist/backend/types.d.ts +26 -1
- package/dist/backend/types.js.map +1 -1
- package/dist/backend-availability.d.ts +16 -1
- package/dist/backend-availability.js +65 -2
- package/dist/backend-availability.js.map +1 -1
- package/dist/backend-signin-pending.d.ts +8 -2
- package/dist/backend-signin-pending.js +6 -2
- package/dist/backend-signin-pending.js.map +1 -1
- package/dist/browser-backend-signins.d.ts +9 -2
- package/dist/browser-backend-signins.js +9 -5
- package/dist/browser-backend-signins.js.map +1 -1
- package/dist/build-provenance-cli.d.ts +3 -0
- package/dist/build-provenance-cli.js +11 -0
- package/dist/build-provenance-cli.js.map +1 -0
- package/dist/build-provenance.d.ts +20 -0
- package/dist/build-provenance.js +67 -0
- package/dist/build-provenance.js.map +1 -0
- package/dist/build-provenance.json +1 -0
- package/dist/bundled-tmux-guard.d.ts +0 -2
- package/dist/bundled-tmux-guard.js +10 -23
- package/dist/bundled-tmux-guard.js.map +1 -1
- package/dist/channel/ipc-bridge.d.ts +2 -0
- package/dist/channel/mcp-tools.js +4 -4
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/classic-bindings.d.ts +13 -0
- package/dist/classic-bindings.js +28 -2
- package/dist/classic-bindings.js.map +1 -1
- package/dist/claude-auth-status.d.ts +60 -0
- package/dist/claude-auth-status.js +165 -0
- package/dist/claude-auth-status.js.map +1 -0
- package/dist/cli-audited.d.ts +60 -0
- package/dist/cli-audited.js +84 -0
- package/dist/cli-audited.js.map +1 -0
- package/dist/cli-capability.d.ts +217 -0
- package/dist/cli-capability.js +55 -0
- package/dist/cli-capability.js.map +1 -0
- package/dist/cli-caps-module.d.ts +33 -0
- package/dist/cli-caps-module.js +45 -0
- package/dist/cli-caps-module.js.map +1 -0
- package/dist/cli-registry-check.d.ts +28 -0
- package/dist/cli-registry-check.js +237 -0
- package/dist/cli-registry-check.js.map +1 -0
- package/dist/cli-registry.d.ts +578 -0
- package/dist/cli-registry.js +83 -0
- package/dist/cli-registry.js.map +1 -0
- package/dist/cli-spec-antigravity.d.ts +71 -0
- package/dist/cli-spec-antigravity.js +47 -0
- package/dist/cli-spec-antigravity.js.map +1 -0
- package/dist/cli-spec-claude-code.d.ts +93 -0
- package/dist/cli-spec-claude-code.js +37 -0
- package/dist/cli-spec-claude-code.js.map +1 -0
- package/dist/cli-spec-codex.d.ts +87 -0
- package/dist/cli-spec-codex.js +40 -0
- package/dist/cli-spec-codex.js.map +1 -0
- package/dist/cli-spec-grok.d.ts +64 -0
- package/dist/cli-spec-grok.js +40 -0
- package/dist/cli-spec-grok.js.map +1 -0
- package/dist/cli-spec-kiro-cli.d.ts +79 -0
- package/dist/cli-spec-kiro-cli.js +40 -0
- package/dist/cli-spec-kiro-cli.js.map +1 -0
- package/dist/cli-spec-muse.d.ts +54 -0
- package/dist/cli-spec-muse.js +40 -0
- package/dist/cli-spec-muse.js.map +1 -0
- package/dist/cli-spec-opencode.d.ts +60 -0
- package/dist/cli-spec-opencode.js +42 -0
- package/dist/cli-spec-opencode.js.map +1 -0
- package/dist/cli.js +311 -54
- package/dist/cli.js.map +1 -1
- package/dist/codex-pane-ownership.d.ts +13 -0
- package/dist/codex-pane-ownership.js +192 -0
- package/dist/codex-pane-ownership.js.map +1 -0
- package/dist/config-validator.js +140 -9
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +16 -0
- package/dist/config.js.map +1 -1
- package/dist/create-host-account.d.ts +17 -0
- package/dist/create-host-account.js +47 -0
- package/dist/create-host-account.js.map +1 -0
- package/dist/daemon.d.ts +104 -7
- package/dist/daemon.js +1062 -282
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-consumed-watch.d.ts +15 -3
- package/dist/delivery-consumed-watch.js +23 -1
- package/dist/delivery-consumed-watch.js.map +1 -1
- package/dist/delivery-outbox.d.ts +9 -0
- package/dist/delivery-outbox.js +43 -4
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/delivery-reconciliation.d.ts +2 -42
- package/dist/delivery-reconciliation.js +2 -164
- package/dist/delivery-reconciliation.js.map +1 -1
- package/dist/dispatcher-liveness.d.ts +172 -0
- package/dist/dispatcher-liveness.js +238 -0
- package/dist/dispatcher-liveness.js.map +1 -0
- package/dist/doctor.js +19 -9
- package/dist/doctor.js.map +1 -1
- package/dist/e2e-isolation.js +5 -2
- package/dist/e2e-isolation.js.map +1 -1
- package/dist/fleet-context.d.ts +7 -3
- package/dist/fleet-control-audit.d.ts +1 -1
- package/dist/fleet-level-config.d.ts +1 -1
- package/dist/fleet-level-config.js +2 -0
- package/dist/fleet-level-config.js.map +1 -1
- package/dist/fleet-manager.d.ts +1112 -33
- package/dist/fleet-manager.js +5754 -528
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.d.ts +98 -0
- package/dist/fleet-windows-runtime.js +467 -0
- package/dist/fleet-windows-runtime.js.map +1 -0
- package/dist/general-binding.d.ts +85 -0
- package/dist/general-binding.js +298 -0
- package/dist/general-binding.js.map +1 -0
- package/dist/general-host-owner.d.ts +8 -0
- package/dist/general-host-owner.js +26 -0
- package/dist/general-host-owner.js.map +1 -0
- package/dist/general-instance.d.ts +7 -0
- package/dist/general-instance.js +20 -3
- package/dist/general-instance.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +75 -23
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +42 -9
- package/dist/general-knowledge/skills/fleet-config/SKILL.md +1 -1
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +2 -2
- package/dist/general-knowledge/skills/fleet-restart/SKILL.md +1 -1
- package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +1 -1
- package/dist/general-knowledge/skills/session-management/SKILL.md +1 -1
- package/dist/general-knowledge/skills/tui-effort/SKILL.md +10 -10
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +48 -26
- package/dist/general-knowledge/steering/core-rules.md +2 -2
- package/dist/general-role.d.ts +5 -0
- package/dist/general-role.js +27 -0
- package/dist/general-role.js.map +1 -0
- package/dist/hub/admission.d.ts +28 -0
- package/dist/hub/admission.js +62 -0
- package/dist/hub/admission.js.map +1 -0
- package/dist/hub/attachments/limits.d.ts +20 -0
- package/dist/hub/attachments/limits.js +48 -0
- package/dist/hub/attachments/limits.js.map +1 -0
- package/dist/hub/attachments/store.d.ts +116 -0
- package/dist/hub/attachments/store.js +246 -0
- package/dist/hub/attachments/store.js.map +1 -0
- package/dist/hub/audit/index.d.ts +62 -0
- package/dist/hub/audit/index.js +351 -0
- package/dist/hub/audit/index.js.map +1 -0
- package/dist/hub/browser-certificate.d.ts +38 -0
- package/dist/hub/browser-certificate.js +247 -0
- package/dist/hub/browser-certificate.js.map +1 -0
- package/dist/hub/buttons-model.d.ts +9 -0
- package/dist/hub/buttons-model.js +42 -0
- package/dist/hub/buttons-model.js.map +1 -0
- package/dist/hub/buttons.d.ts +54 -0
- package/dist/hub/buttons.js +348 -0
- package/dist/hub/buttons.js.map +1 -0
- package/dist/hub/catalog.d.ts +80 -0
- package/dist/hub/catalog.js +390 -0
- package/dist/hub/catalog.js.map +1 -0
- package/dist/hub/client.d.ts +71 -0
- package/dist/hub/client.js +335 -0
- package/dist/hub/client.js.map +1 -0
- package/dist/hub/compose/member.d.ts +147 -0
- package/dist/hub/compose/member.js +476 -0
- package/dist/hub/compose/member.js.map +1 -0
- package/dist/hub/compose/server.d.ts +170 -0
- package/dist/hub/compose/server.js +495 -0
- package/dist/hub/compose/server.js.map +1 -0
- package/dist/hub/compose/storage.d.ts +5 -0
- package/dist/hub/compose/storage.js +28 -0
- package/dist/hub/compose/storage.js.map +1 -0
- package/dist/hub/compose/views.d.ts +12 -0
- package/dist/hub/compose/views.js +4 -0
- package/dist/hub/compose/views.js.map +1 -0
- package/dist/hub/db.d.ts +58 -0
- package/dist/hub/db.js +215 -0
- package/dist/hub/db.js.map +1 -0
- package/dist/hub/directory/config.d.ts +39 -0
- package/dist/hub/directory/config.js +108 -0
- package/dist/hub/directory/config.js.map +1 -0
- package/dist/hub/directory/directory.d.ts +25 -0
- package/dist/hub/directory/directory.js +588 -0
- package/dist/hub/directory/directory.js.map +1 -0
- package/dist/hub/directory/groups.d.ts +55 -0
- package/dist/hub/directory/groups.js +30 -0
- package/dist/hub/directory/groups.js.map +1 -0
- package/dist/hub/directory/index.d.ts +8 -0
- package/dist/hub/directory/index.js +4 -0
- package/dist/hub/directory/index.js.map +1 -0
- package/dist/hub/directory/profiles.d.ts +41 -0
- package/dist/hub/directory/profiles.js +90 -0
- package/dist/hub/directory/profiles.js.map +1 -0
- package/dist/hub/directory/types.d.ts +84 -0
- package/dist/hub/directory/types.js +14 -0
- package/dist/hub/directory/types.js.map +1 -0
- package/dist/hub/directory-response-owner.d.ts +38 -0
- package/dist/hub/directory-response-owner.js +191 -0
- package/dist/hub/directory-response-owner.js.map +1 -0
- package/dist/hub/enrollment-budget.d.ts +6 -0
- package/dist/hub/enrollment-budget.js +24 -0
- package/dist/hub/enrollment-budget.js.map +1 -0
- package/dist/hub/enrolment-code.d.ts +126 -0
- package/dist/hub/enrolment-code.js +266 -0
- package/dist/hub/enrolment-code.js.map +1 -0
- package/dist/hub/execution/cli-provider.d.ts +23 -0
- package/dist/hub/execution/cli-provider.js +341 -0
- package/dist/hub/execution/cli-provider.js.map +1 -0
- package/dist/hub/execution/index.d.ts +13 -0
- package/dist/hub/execution/index.js +8 -0
- package/dist/hub/execution/index.js.map +1 -0
- package/dist/hub/execution/model-broker.d.ts +24 -0
- package/dist/hub/execution/model-broker.js +208 -0
- package/dist/hub/execution/model-broker.js.map +1 -0
- package/dist/hub/execution/provider-setup.d.ts +11 -0
- package/dist/hub/execution/provider-setup.js +21 -0
- package/dist/hub/execution/provider-setup.js.map +1 -0
- package/dist/hub/execution/sandbox-runner.d.ts +1 -0
- package/dist/hub/execution/sandbox-runner.js +221 -0
- package/dist/hub/execution/sandbox-runner.js.map +1 -0
- package/dist/hub/execution/service.d.ts +136 -0
- package/dist/hub/execution/service.js +459 -0
- package/dist/hub/execution/service.js.map +1 -0
- package/dist/hub/execution/store.d.ts +61 -0
- package/dist/hub/execution/store.js +182 -0
- package/dist/hub/execution/store.js.map +1 -0
- package/dist/hub/execution/views.d.ts +20 -0
- package/dist/hub/execution/views.js +48 -0
- package/dist/hub/execution/views.js.map +1 -0
- package/dist/hub/fleet-revocation.d.ts +3 -0
- package/dist/hub/fleet-revocation.js +7 -0
- package/dist/hub/fleet-revocation.js.map +1 -0
- package/dist/hub/group-policy/admin-api.d.ts +30 -0
- package/dist/hub/group-policy/admin-api.js +92 -0
- package/dist/hub/group-policy/admin-api.js.map +1 -0
- package/dist/hub/group-policy/admin-context.d.ts +23 -0
- package/dist/hub/group-policy/admin-context.js +52 -0
- package/dist/hub/group-policy/admin-context.js.map +1 -0
- package/dist/hub/group-policy/admin-control.d.ts +35 -0
- package/dist/hub/group-policy/admin-control.js +260 -0
- package/dist/hub/group-policy/admin-control.js.map +1 -0
- package/dist/hub/group-policy/admin-dto.d.ts +259 -0
- package/dist/hub/group-policy/admin-dto.js +57 -0
- package/dist/hub/group-policy/admin-dto.js.map +1 -0
- package/dist/hub/group-policy/admin-facts.d.ts +17 -0
- package/dist/hub/group-policy/admin-facts.js +33 -0
- package/dist/hub/group-policy/admin-facts.js.map +1 -0
- package/dist/hub/group-policy/admin-impact.d.ts +51 -0
- package/dist/hub/group-policy/admin-impact.js +90 -0
- package/dist/hub/group-policy/admin-impact.js.map +1 -0
- package/dist/hub/group-policy/admin-inventory.d.ts +24 -0
- package/dist/hub/group-policy/admin-inventory.js +72 -0
- package/dist/hub/group-policy/admin-inventory.js.map +1 -0
- package/dist/hub/group-policy/admin-read.d.ts +21 -0
- package/dist/hub/group-policy/admin-read.js +95 -0
- package/dist/hub/group-policy/admin-read.js.map +1 -0
- package/dist/hub/group-policy/admin-search.d.ts +14 -0
- package/dist/hub/group-policy/admin-search.js +72 -0
- package/dist/hub/group-policy/admin-search.js.map +1 -0
- package/dist/hub/group-policy/authorization.d.ts +79 -0
- package/dist/hub/group-policy/authorization.js +379 -0
- package/dist/hub/group-policy/authorization.js.map +1 -0
- package/dist/hub/group-policy/impact-inventory.d.ts +21 -0
- package/dist/hub/group-policy/impact-inventory.js +75 -0
- package/dist/hub/group-policy/impact-inventory.js.map +1 -0
- package/dist/hub/group-policy/model.d.ts +56 -0
- package/dist/hub/group-policy/model.js +46 -0
- package/dist/hub/group-policy/model.js.map +1 -0
- package/dist/hub/group-policy/resources.d.ts +111 -0
- package/dist/hub/group-policy/resources.js +298 -0
- package/dist/hub/group-policy/resources.js.map +1 -0
- package/dist/hub/group-policy/store.d.ts +75 -0
- package/dist/hub/group-policy/store.js +255 -0
- package/dist/hub/group-policy/store.js.map +1 -0
- package/dist/hub/group-policy/welcome.d.ts +36 -0
- package/dist/hub/group-policy/welcome.js +55 -0
- package/dist/hub/group-policy/welcome.js.map +1 -0
- package/dist/hub/http/compose.d.ts +24 -0
- package/dist/hub/http/compose.js +766 -0
- package/dist/hub/http/compose.js.map +1 -0
- package/dist/hub/http/core.d.ts +71 -0
- package/dist/hub/http/core.js +266 -0
- package/dist/hub/http/core.js.map +1 -0
- package/dist/hub/http/deps.d.ts +79 -0
- package/dist/hub/http/deps.js +2 -0
- package/dist/hub/http/deps.js.map +1 -0
- package/dist/hub/http/schema.d.ts +14 -0
- package/dist/hub/http/schema.js +84 -0
- package/dist/hub/http/schema.js.map +1 -0
- package/dist/hub/identity.d.ts +32 -0
- package/dist/hub/identity.js +80 -0
- package/dist/hub/identity.js.map +1 -0
- package/dist/hub/init/browser-certificate.d.ts +14 -0
- package/dist/hub/init/browser-certificate.js +99 -0
- package/dist/hub/init/browser-certificate.js.map +1 -0
- package/dist/hub/init/browser-tls.d.ts +18 -0
- package/dist/hub/init/browser-tls.js +62 -0
- package/dist/hub/init/browser-tls.js.map +1 -0
- package/dist/hub/init/cli.d.ts +3 -0
- package/dist/hub/init/cli.js +83 -0
- package/dist/hub/init/cli.js.map +1 -0
- package/dist/hub/init/directory-certificate.d.ts +24 -0
- package/dist/hub/init/directory-certificate.js +229 -0
- package/dist/hub/init/directory-certificate.js.map +1 -0
- package/dist/hub/init/existing-fleet.d.ts +6 -0
- package/dist/hub/init/existing-fleet.js +58 -0
- package/dist/hub/init/existing-fleet.js.map +1 -0
- package/dist/hub/init/handoff.d.ts +8 -0
- package/dist/hub/init/handoff.js +36 -0
- package/dist/hub/init/handoff.js.map +1 -0
- package/dist/hub/init/identity.d.ts +5 -0
- package/dist/hub/init/identity.js +24 -0
- package/dist/hub/init/identity.js.map +1 -0
- package/dist/hub/init/initializer.d.ts +34 -0
- package/dist/hub/init/initializer.js +504 -0
- package/dist/hub/init/initializer.js.map +1 -0
- package/dist/hub/init/inventory.d.ts +17 -0
- package/dist/hub/init/inventory.js +33 -0
- package/dist/hub/init/inventory.js.map +1 -0
- package/dist/hub/init/layout.d.ts +32 -0
- package/dist/hub/init/layout.js +53 -0
- package/dist/hub/init/layout.js.map +1 -0
- package/dist/hub/init/network.d.ts +20 -0
- package/dist/hub/init/network.js +108 -0
- package/dist/hub/init/network.js.map +1 -0
- package/dist/hub/init/plan-digest.d.ts +5 -0
- package/dist/hub/init/plan-digest.js +49 -0
- package/dist/hub/init/plan-digest.js.map +1 -0
- package/dist/hub/init/prompt.d.ts +26 -0
- package/dist/hub/init/prompt.js +111 -0
- package/dist/hub/init/prompt.js.map +1 -0
- package/dist/hub/init/secret-file.d.ts +1 -0
- package/dist/hub/init/secret-file.js +59 -0
- package/dist/hub/init/secret-file.js.map +1 -0
- package/dist/hub/init/text.d.ts +129 -0
- package/dist/hub/init/text.js +251 -0
- package/dist/hub/init/text.js.map +1 -0
- package/dist/hub/init/types.d.ts +142 -0
- package/dist/hub/init/types.js +9 -0
- package/dist/hub/init/types.js.map +1 -0
- package/dist/hub/init/web-audit-import.d.ts +12 -0
- package/dist/hub/init/web-audit-import.js +39 -0
- package/dist/hub/init/web-audit-import.js.map +1 -0
- package/dist/hub/init/web-audit.d.ts +30 -0
- package/dist/hub/init/web-audit.js +42 -0
- package/dist/hub/init/web-audit.js.map +1 -0
- package/dist/hub/init/web-error.d.ts +6 -0
- package/dist/hub/init/web-error.js +8 -0
- package/dist/hub/init/web-error.js.map +1 -0
- package/dist/hub/init/web-http.d.ts +9 -0
- package/dist/hub/init/web-http.js +103 -0
- package/dist/hub/init/web-http.js.map +1 -0
- package/dist/hub/init/web.d.ts +125 -0
- package/dist/hub/init/web.js +433 -0
- package/dist/hub/init/web.js.map +1 -0
- package/dist/hub/init/wizard.d.ts +34 -0
- package/dist/hub/init/wizard.js +580 -0
- package/dist/hub/init/wizard.js.map +1 -0
- package/dist/hub/initialization.d.ts +23 -0
- package/dist/hub/initialization.js +28 -0
- package/dist/hub/initialization.js.map +1 -0
- package/dist/hub/join/client.d.ts +52 -0
- package/dist/hub/join/client.js +136 -0
- package/dist/hub/join/client.js.map +1 -0
- package/dist/hub/join/descriptor.d.ts +52 -0
- package/dist/hub/join/descriptor.js +59 -0
- package/dist/hub/join/descriptor.js.map +1 -0
- package/dist/hub/join/display.d.ts +18 -0
- package/dist/hub/join/display.js +53 -0
- package/dist/hub/join/display.js.map +1 -0
- package/dist/hub/join/fleet-authority.d.ts +2 -0
- package/dist/hub/join/fleet-authority.js +3 -0
- package/dist/hub/join/fleet-authority.js.map +1 -0
- package/dist/hub/join/http.d.ts +8 -0
- package/dist/hub/join/http.js +122 -0
- package/dist/hub/join/http.js.map +1 -0
- package/dist/hub/join/invitation.d.ts +28 -0
- package/dist/hub/join/invitation.js +28 -0
- package/dist/hub/join/invitation.js.map +1 -0
- package/dist/hub/join/local-journal.d.ts +84 -0
- package/dist/hub/join/local-journal.js +65 -0
- package/dist/hub/join/local-journal.js.map +1 -0
- package/dist/hub/join/local.d.ts +255 -0
- package/dist/hub/join/local.js +678 -0
- package/dist/hub/join/local.js.map +1 -0
- package/dist/hub/join/private.d.ts +3 -0
- package/dist/hub/join/private.js +46 -0
- package/dist/hub/join/private.js.map +1 -0
- package/dist/hub/join/protocol.d.ts +69 -0
- package/dist/hub/join/protocol.js +96 -0
- package/dist/hub/join/protocol.js.map +1 -0
- package/dist/hub/join/receipt.d.ts +43 -0
- package/dist/hub/join/receipt.js +75 -0
- package/dist/hub/join/receipt.js.map +1 -0
- package/dist/hub/join/service.d.ts +280 -0
- package/dist/hub/join/service.js +802 -0
- package/dist/hub/join/service.js.map +1 -0
- package/dist/hub/join/store.d.ts +135 -0
- package/dist/hub/join/store.js +136 -0
- package/dist/hub/join/store.js.map +1 -0
- package/dist/hub/join/trust.d.ts +19 -0
- package/dist/hub/join/trust.js +94 -0
- package/dist/hub/join/trust.js.map +1 -0
- package/dist/hub/member/agent-mode.d.ts +6 -0
- package/dist/hub/member/agent-mode.js +23 -0
- package/dist/hub/member/agent-mode.js.map +1 -0
- package/dist/hub/member/attachments.d.ts +29 -0
- package/dist/hub/member/attachments.js +107 -0
- package/dist/hub/member/attachments.js.map +1 -0
- package/dist/hub/member/exposure-api.d.ts +91 -0
- package/dist/hub/member/exposure-api.js +67 -0
- package/dist/hub/member/exposure-api.js.map +1 -0
- package/dist/hub/member/exposures.d.ts +127 -0
- package/dist/hub/member/exposures.js +292 -0
- package/dist/hub/member/exposures.js.map +1 -0
- package/dist/hub/member/pairing-api.d.ts +101 -0
- package/dist/hub/member/pairing-api.js +429 -0
- package/dist/hub/member/pairing-api.js.map +1 -0
- package/dist/hub/member/pairing-notices.d.ts +18 -0
- package/dist/hub/member/pairing-notices.js +62 -0
- package/dist/hub/member/pairing-notices.js.map +1 -0
- package/dist/hub/member/quota.d.ts +20 -0
- package/dist/hub/member/quota.js +98 -0
- package/dist/hub/member/quota.js.map +1 -0
- package/dist/hub/member-journal.d.ts +104 -0
- package/dist/hub/member-journal.js +336 -0
- package/dist/hub/member-journal.js.map +1 -0
- package/dist/hub/member-reconciliation.d.ts +14 -0
- package/dist/hub/member-reconciliation.js +97 -0
- package/dist/hub/member-reconciliation.js.map +1 -0
- package/dist/hub/mount.d.ts +50 -0
- package/dist/hub/mount.js +157 -0
- package/dist/hub/mount.js.map +1 -0
- package/dist/hub/pairing-client.d.ts +17 -0
- package/dist/hub/pairing-client.js +108 -0
- package/dist/hub/pairing-client.js.map +1 -0
- package/dist/hub/pairing-notices.d.ts +50 -0
- package/dist/hub/pairing-notices.js +271 -0
- package/dist/hub/pairing-notices.js.map +1 -0
- package/dist/hub/pairing.d.ts +116 -0
- package/dist/hub/pairing.js +526 -0
- package/dist/hub/pairing.js.map +1 -0
- package/dist/hub/policy.d.ts +65 -0
- package/dist/hub/policy.js +154 -0
- package/dist/hub/policy.js.map +1 -0
- package/dist/hub/preview.d.ts +32 -0
- package/dist/hub/preview.js +64 -0
- package/dist/hub/preview.js.map +1 -0
- package/dist/hub/private-files.d.ts +5 -0
- package/dist/hub/private-files.js +44 -0
- package/dist/hub/private-files.js.map +1 -0
- package/dist/hub/profile.d.ts +59 -0
- package/dist/hub/profile.js +73 -0
- package/dist/hub/profile.js.map +1 -0
- package/dist/hub/protocol.d.ts +895 -0
- package/dist/hub/protocol.js +105 -0
- package/dist/hub/protocol.js.map +1 -0
- package/dist/hub/quota.d.ts +24 -0
- package/dist/hub/quota.js +112 -0
- package/dist/hub/quota.js.map +1 -0
- package/dist/hub/representative.d.ts +141 -0
- package/dist/hub/representative.js +528 -0
- package/dist/hub/representative.js.map +1 -0
- package/dist/hub/retention.d.ts +17 -0
- package/dist/hub/retention.js +45 -0
- package/dist/hub/retention.js.map +1 -0
- package/dist/hub/room-read-pacer.d.ts +14 -0
- package/dist/hub/room-read-pacer.js +51 -0
- package/dist/hub/room-read-pacer.js.map +1 -0
- package/dist/hub/rooms.d.ts +127 -0
- package/dist/hub/rooms.js +597 -0
- package/dist/hub/rooms.js.map +1 -0
- package/dist/hub/runtime.d.ts +163 -0
- package/dist/hub/runtime.js +708 -0
- package/dist/hub/runtime.js.map +1 -0
- package/dist/hub/server.d.ts +61 -0
- package/dist/hub/server.js +263 -0
- package/dist/hub/server.js.map +1 -0
- package/dist/hub/service-start.d.ts +17 -0
- package/dist/hub/service-start.js +109 -0
- package/dist/hub/service-start.js.map +1 -0
- package/dist/hub/session-directory-transition.d.ts +48 -0
- package/dist/hub/session-directory-transition.js +118 -0
- package/dist/hub/session-directory-transition.js.map +1 -0
- package/dist/hub/session-epoch.d.ts +16 -0
- package/dist/hub/session-epoch.js +50 -0
- package/dist/hub/session-epoch.js.map +1 -0
- package/dist/hub/sessions.d.ts +66 -0
- package/dist/hub/sessions.js +217 -0
- package/dist/hub/sessions.js.map +1 -0
- package/dist/hub/settings-api.d.ts +50 -0
- package/dist/hub/settings-api.js +92 -0
- package/dist/hub/settings-api.js.map +1 -0
- package/dist/hub/settings-commit.d.ts +108 -0
- package/dist/hub/settings-commit.js +537 -0
- package/dist/hub/settings-commit.js.map +1 -0
- package/dist/hub/settings-directory-ca.d.ts +31 -0
- package/dist/hub/settings-directory-ca.js +115 -0
- package/dist/hub/settings-directory-ca.js.map +1 -0
- package/dist/hub/settings-directory-control.d.ts +58 -0
- package/dist/hub/settings-directory-control.js +117 -0
- package/dist/hub/settings-directory-control.js.map +1 -0
- package/dist/hub/settings-directory-decision.d.ts +465 -0
- package/dist/hub/settings-directory-decision.js +322 -0
- package/dist/hub/settings-directory-decision.js.map +1 -0
- package/dist/hub/settings-directory-host-http.d.ts +9 -0
- package/dist/hub/settings-directory-host-http.js +75 -0
- package/dist/hub/settings-directory-host-http.js.map +1 -0
- package/dist/hub/settings-directory-host-notice-http.d.ts +9 -0
- package/dist/hub/settings-directory-host-notice-http.js +78 -0
- package/dist/hub/settings-directory-host-notice-http.js.map +1 -0
- package/dist/hub/settings-directory-host-notices.d.ts +11 -0
- package/dist/hub/settings-directory-host-notices.js +39 -0
- package/dist/hub/settings-directory-host-notices.js.map +1 -0
- package/dist/hub/settings-directory-http.d.ts +33 -0
- package/dist/hub/settings-directory-http.js +109 -0
- package/dist/hub/settings-directory-http.js.map +1 -0
- package/dist/hub/settings-directory-mount.d.ts +24 -0
- package/dist/hub/settings-directory-mount.js +77 -0
- package/dist/hub/settings-directory-mount.js.map +1 -0
- package/dist/hub/settings-directory-notices.d.ts +61 -0
- package/dist/hub/settings-directory-notices.js +132 -0
- package/dist/hub/settings-directory-notices.js.map +1 -0
- package/dist/hub/settings-directory-proof.d.ts +77 -0
- package/dist/hub/settings-directory-proof.js +313 -0
- package/dist/hub/settings-directory-proof.js.map +1 -0
- package/dist/hub/settings-directory-recovery-intent.d.ts +13 -0
- package/dist/hub/settings-directory-recovery-intent.js +29 -0
- package/dist/hub/settings-directory-recovery-intent.js.map +1 -0
- package/dist/hub/settings-directory-recovery.d.ts +45 -0
- package/dist/hub/settings-directory-recovery.js +178 -0
- package/dist/hub/settings-directory-recovery.js.map +1 -0
- package/dist/hub/settings-directory-runtime.d.ts +17 -0
- package/dist/hub/settings-directory-runtime.js +2 -0
- package/dist/hub/settings-directory-runtime.js.map +1 -0
- package/dist/hub/settings-directory-save.d.ts +37 -0
- package/dist/hub/settings-directory-save.js +175 -0
- package/dist/hub/settings-directory-save.js.map +1 -0
- package/dist/hub/settings-web-address-control.d.ts +49 -0
- package/dist/hub/settings-web-address-control.js +99 -0
- package/dist/hub/settings-web-address-control.js.map +1 -0
- package/dist/hub/settings-web-address-decision.d.ts +91 -0
- package/dist/hub/settings-web-address-decision.js +163 -0
- package/dist/hub/settings-web-address-decision.js.map +1 -0
- package/dist/hub/settings-web-address-http.d.ts +9 -0
- package/dist/hub/settings-web-address-http.js +74 -0
- package/dist/hub/settings-web-address-http.js.map +1 -0
- package/dist/hub/settings-web-address-network.d.ts +2 -0
- package/dist/hub/settings-web-address-network.js +25 -0
- package/dist/hub/settings-web-address-network.js.map +1 -0
- package/dist/hub/settings-web-address-policy.d.ts +27 -0
- package/dist/hub/settings-web-address-policy.js +47 -0
- package/dist/hub/settings-web-address-policy.js.map +1 -0
- package/dist/hub/settings-web-address.d.ts +64 -0
- package/dist/hub/settings-web-address.js +226 -0
- package/dist/hub/settings-web-address.js.map +1 -0
- package/dist/hub/socket.d.ts +24 -0
- package/dist/hub/socket.js +79 -0
- package/dist/hub/socket.js.map +1 -0
- package/dist/hub/store.d.ts +87 -0
- package/dist/hub/store.js +108 -0
- package/dist/hub/store.js.map +1 -0
- package/dist/hub/tls.d.ts +31 -0
- package/dist/hub/tls.js +135 -0
- package/dist/hub/tls.js.map +1 -0
- package/dist/hub/types.d.ts +429 -0
- package/dist/hub/types.js +2 -0
- package/dist/hub/types.js.map +1 -0
- package/dist/hub/validation.d.ts +33 -0
- package/dist/hub/validation.js +136 -0
- package/dist/hub/validation.js.map +1 -0
- package/dist/hub/version-floor.d.ts +10 -0
- package/dist/hub/version-floor.js +45 -0
- package/dist/hub/version-floor.js.map +1 -0
- package/dist/hub-browser-certificate-policy.d.ts +31 -0
- package/dist/hub-browser-certificate-policy.js +25 -0
- package/dist/hub-browser-certificate-policy.js.map +1 -0
- package/dist/hub-host-settings.d.ts +48 -0
- package/dist/hub-host-settings.js +85 -0
- package/dist/hub-host-settings.js.map +1 -0
- package/dist/hub-membership-settings.d.ts +6 -0
- package/dist/hub-membership-settings.js +21 -0
- package/dist/hub-membership-settings.js.map +1 -0
- package/dist/hub-mode.d.ts +15 -0
- package/dist/hub-mode.js +17 -0
- package/dist/hub-mode.js.map +1 -0
- package/dist/hub-pairing-summary.d.ts +50 -0
- package/dist/hub-pairing-summary.js +39 -0
- package/dist/hub-pairing-summary.js.map +1 -0
- package/dist/hub-report-target.d.ts +32 -0
- package/dist/hub-report-target.js +33 -0
- package/dist/hub-report-target.js.map +1 -0
- package/dist/hub-retention-policy.d.ts +14 -0
- package/dist/hub-retention-policy.js +15 -0
- package/dist/hub-retention-policy.js.map +1 -0
- package/dist/install-user-systemd.d.ts +20 -0
- package/dist/install-user-systemd.js +55 -0
- package/dist/install-user-systemd.js.map +1 -0
- package/dist/instance-config-impact.js +13 -0
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +42 -4
- package/dist/instance-lifecycle.js +464 -202
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instructions.d.ts +2 -0
- package/dist/instructions.js +6 -0
- package/dist/instructions.js.map +1 -1
- package/dist/launchd-service-domain.d.ts +5 -0
- package/dist/launchd-service-domain.js +21 -0
- package/dist/launchd-service-domain.js.map +1 -0
- package/dist/linux-launchers.d.ts +88 -0
- package/dist/linux-launchers.js +296 -0
- package/dist/linux-launchers.js.map +1 -0
- package/dist/local-pane-endpoint.d.ts +46 -0
- package/dist/local-pane-endpoint.js +189 -0
- package/dist/local-pane-endpoint.js.map +1 -0
- package/dist/local-pane-launcher.d.ts +2 -0
- package/dist/local-pane-launcher.js +38 -0
- package/dist/local-pane-launcher.js.map +1 -0
- package/dist/local-pane-stage.ps1 +101 -0
- package/dist/locale.js +406 -14
- package/dist/locale.js.map +1 -1
- package/dist/log-service.d.ts +62 -6
- package/dist/log-service.js +135 -28
- package/dist/log-service.js.map +1 -1
- package/dist/log-steps-agy-grok.d.ts +74 -0
- package/dist/log-steps-agy-grok.js +440 -0
- package/dist/log-steps-agy-grok.js.map +1 -0
- package/dist/log-steps.d.ts +62 -3
- package/dist/log-steps.js +188 -22
- package/dist/log-steps.js.map +1 -1
- package/dist/log-transcript-paths.d.ts +29 -0
- package/dist/log-transcript-paths.js +109 -0
- package/dist/log-transcript-paths.js.map +1 -0
- package/dist/login-controller.d.ts +31 -4
- package/dist/login-controller.js +88 -6
- package/dist/login-controller.js.map +1 -1
- package/dist/login-flows.d.ts +12 -8
- package/dist/login-flows.js +34 -16
- package/dist/login-flows.js.map +1 -1
- package/dist/login-manager.d.ts +2 -2
- package/dist/login-manager.js +3 -2
- package/dist/login-manager.js.map +1 -1
- package/dist/login-window-lock.d.ts +20 -7
- package/dist/login-window-lock.js +35 -16
- package/dist/login-window-lock.js.map +1 -1
- package/dist/ls-rows.d.ts +1 -1
- package/dist/ls-rows.js +3 -4
- package/dist/ls-rows.js.map +1 -1
- package/dist/machine-accounts.d.ts +110 -0
- package/dist/machine-accounts.js +229 -0
- package/dist/machine-accounts.js.map +1 -0
- package/dist/machine-signins.d.ts +89 -0
- package/dist/machine-signins.js +182 -0
- package/dist/machine-signins.js.map +1 -0
- package/dist/model-catalog-defaults.d.ts +14 -0
- package/dist/model-catalog-defaults.js +20 -0
- package/dist/model-catalog-defaults.js.map +1 -0
- package/dist/native-agent-admission.d.ts +7 -0
- package/dist/native-agent-admission.js +26 -0
- package/dist/native-agent-admission.js.map +1 -0
- package/dist/native-daemon-client.d.ts +13 -0
- package/dist/native-daemon-client.js +28 -0
- package/dist/native-daemon-client.js.map +1 -0
- package/dist/native-instance-api.d.ts +13 -0
- package/dist/native-instance-api.js +217 -0
- package/dist/native-instance-api.js.map +1 -0
- package/dist/native-instance-input.d.ts +87 -0
- package/dist/native-instance-input.js +59 -0
- package/dist/native-instance-input.js.map +1 -0
- package/dist/native-instance-registry.d.ts +38 -0
- package/dist/native-instance-registry.js +129 -0
- package/dist/native-instance-registry.js.map +1 -0
- package/dist/native-mcp.d.ts +43 -0
- package/dist/native-mcp.js +291 -0
- package/dist/native-mcp.js.map +1 -0
- package/dist/native-model-catalog.d.ts +25 -0
- package/dist/native-model-catalog.js +181 -0
- package/dist/native-model-catalog.js.map +1 -0
- package/dist/native-pane-crash-budget.d.ts +20 -0
- package/dist/native-pane-crash-budget.js +60 -0
- package/dist/native-pane-crash-budget.js.map +1 -0
- package/dist/native-pane-create.d.ts +26 -0
- package/dist/native-pane-create.js +53 -0
- package/dist/native-pane-create.js.map +1 -0
- package/dist/native-pane-lifecycle.d.ts +73 -0
- package/dist/native-pane-lifecycle.js +239 -0
- package/dist/native-pane-lifecycle.js.map +1 -0
- package/dist/native-pane-manager.d.ts +59 -0
- package/dist/native-pane-manager.js +592 -0
- package/dist/native-pane-manager.js.map +1 -0
- package/dist/native-pane-output-log.d.ts +15 -0
- package/dist/native-pane-output-log.js +108 -0
- package/dist/native-pane-output-log.js.map +1 -0
- package/dist/native-pane-reconciliation.d.ts +4 -0
- package/dist/native-pane-reconciliation.js +40 -0
- package/dist/native-pane-reconciliation.js.map +1 -0
- package/dist/native-pane-recovery.d.ts +12 -0
- package/dist/native-pane-recovery.js +10 -0
- package/dist/native-pane-recovery.js.map +1 -0
- package/dist/native-pane-tools.d.ts +2 -0
- package/dist/native-pane-tools.js +14 -0
- package/dist/native-pane-tools.js.map +1 -0
- package/dist/needs-you-hub.d.ts +8 -0
- package/dist/needs-you-hub.js +31 -5
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +80 -3
- package/dist/needs-you.js +46 -3
- package/dist/needs-you.js.map +1 -1
- package/dist/office-share-page.js +3 -3
- package/dist/office-share-page.js.map +1 -1
- package/dist/office-share.d.ts +28 -2
- package/dist/office-share.js +32 -3
- package/dist/office-share.js.map +1 -1
- package/dist/office-talk.d.ts +26 -0
- package/dist/office-talk.js +50 -0
- package/dist/office-talk.js.map +1 -0
- package/dist/outbound-handlers.d.ts +44 -2
- package/dist/outbound-handlers.js +169 -5
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +79 -1
- package/dist/outbound-schemas.js +37 -14
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/pane-port.d.ts +118 -0
- package/dist/pane-port.js +2 -0
- package/dist/pane-port.js.map +1 -0
- package/dist/pane-quota-history.d.ts +2 -0
- package/dist/pane-quota-history.js +20 -0
- package/dist/pane-quota-history.js.map +1 -1
- package/dist/pause-marker.d.ts +1 -1
- package/dist/pause-marker.js +1 -1
- package/dist/pause-marker.js.map +1 -1
- package/dist/profile-signins.d.ts +109 -0
- package/dist/profile-signins.js +249 -0
- package/dist/profile-signins.js.map +1 -0
- package/dist/public-web-gateway.js +17 -1
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/public-web-link.d.ts +16 -0
- package/dist/public-web-link.js +21 -0
- package/dist/public-web-link.js.map +1 -1
- package/dist/quickstart-api.js +9 -5
- package/dist/quickstart-api.js.map +1 -1
- package/dist/quickstart.d.ts +6 -0
- package/dist/quickstart.js +31 -4
- package/dist/quickstart.js.map +1 -1
- package/dist/quiet-run.d.ts +31 -0
- package/dist/quiet-run.js +50 -0
- package/dist/quiet-run.js.map +1 -0
- package/dist/runtime-api.d.ts +23 -0
- package/dist/runtime-api.js +413 -0
- package/dist/runtime-api.js.map +1 -0
- package/dist/runtime-assets/@xterm/addon-serialize/LICENSE +21 -0
- package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.js +2 -0
- package/dist/runtime-assets/@xterm/addon-serialize/lib/addon-serialize.mjs +19 -0
- package/dist/runtime-assets/@xterm/addon-serialize/package.json +29 -0
- package/dist/runtime-assets/@xterm/headless/LICENSE +21 -0
- package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.js +2 -0
- package/dist/runtime-assets/@xterm/headless/lib-headless/xterm-headless.mjs +46 -0
- package/dist/runtime-assets/@xterm/headless/package.json +29 -0
- package/dist/runtime-assets/node-pty/CONPTY-LICENSE +21 -0
- package/dist/runtime-assets/node-pty/CONPTY-NOTICE.md +503 -0
- package/dist/runtime-assets/node-pty/LICENSE +69 -0
- package/dist/runtime-assets/node-pty/lib/conpty_console_list_agent.js +16 -0
- package/dist/runtime-assets/node-pty/lib/eventEmitter2.js +47 -0
- package/dist/runtime-assets/node-pty/lib/index.js +52 -0
- package/dist/runtime-assets/node-pty/lib/interfaces.js +7 -0
- package/dist/runtime-assets/node-pty/lib/shared/conout.js +11 -0
- package/dist/runtime-assets/node-pty/lib/terminal.js +190 -0
- package/dist/runtime-assets/node-pty/lib/types.js +7 -0
- package/dist/runtime-assets/node-pty/lib/unixTerminal.js +346 -0
- package/dist/runtime-assets/node-pty/lib/utils.js +39 -0
- package/dist/runtime-assets/node-pty/lib/windowsConoutConnection.js +125 -0
- package/dist/runtime-assets/node-pty/lib/windowsPtyAgent.js +320 -0
- package/dist/runtime-assets/node-pty/lib/windowsTerminal.js +199 -0
- package/dist/runtime-assets/node-pty/lib/worker/conoutSocketWorker.js +22 -0
- package/dist/runtime-assets/node-pty/package.json +64 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/dist/runtime-assets/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/dist/runtime-autostart.d.ts +61 -0
- package/dist/runtime-autostart.js +161 -0
- package/dist/runtime-autostart.js.map +1 -0
- package/dist/runtime-background.d.ts +200 -0
- package/dist/runtime-background.js +480 -0
- package/dist/runtime-background.js.map +1 -0
- package/dist/runtime-build-info.d.ts +10 -0
- package/dist/runtime-build-info.js +64 -0
- package/dist/runtime-build-info.js.map +1 -0
- package/dist/runtime-bundle.d.ts +22 -0
- package/dist/runtime-bundle.js +158 -0
- package/dist/runtime-bundle.js.map +1 -0
- package/dist/runtime-cli-background.d.ts +92 -0
- package/dist/runtime-cli-background.js +336 -0
- package/dist/runtime-cli-background.js.map +1 -0
- package/dist/runtime-cli-install.d.ts +295 -0
- package/dist/runtime-cli-install.js +869 -0
- package/dist/runtime-cli-install.js.map +1 -0
- package/dist/runtime-cli.d.ts +21 -0
- package/dist/runtime-cli.js +578 -0
- package/dist/runtime-cli.js.map +1 -0
- package/dist/runtime-client-store.d.ts +86 -0
- package/dist/runtime-client-store.js +392 -0
- package/dist/runtime-client-store.js.map +1 -0
- package/dist/runtime-client.d.ts +258 -0
- package/dist/runtime-client.js +1353 -0
- package/dist/runtime-client.js.map +1 -0
- package/dist/runtime-connection.d.ts +22 -0
- package/dist/runtime-connection.js +93 -0
- package/dist/runtime-connection.js.map +1 -0
- package/dist/runtime-coordinator.d.ts +201 -0
- package/dist/runtime-coordinator.js +1514 -0
- package/dist/runtime-coordinator.js.map +1 -0
- package/dist/runtime-credential-profiles.d.ts +89 -0
- package/dist/runtime-credential-profiles.js +304 -0
- package/dist/runtime-credential-profiles.js.map +1 -0
- package/dist/runtime-enroll-notice.d.ts +4 -0
- package/dist/runtime-enroll-notice.js +21 -0
- package/dist/runtime-enroll-notice.js.map +1 -0
- package/dist/runtime-enrollment.d.ts +21 -0
- package/dist/runtime-enrollment.js +52 -0
- package/dist/runtime-enrollment.js.map +1 -0
- package/dist/runtime-general-protocol.d.ts +22 -0
- package/dist/runtime-general-protocol.js +57 -0
- package/dist/runtime-general-protocol.js.map +1 -0
- package/dist/runtime-general-workspace.d.ts +17 -0
- package/dist/runtime-general-workspace.js +213 -0
- package/dist/runtime-general-workspace.js.map +1 -0
- package/dist/runtime-install.d.ts +50 -0
- package/dist/runtime-install.js +189 -0
- package/dist/runtime-install.js.map +1 -0
- package/dist/runtime-pane-assets.d.ts +17 -0
- package/dist/runtime-pane-assets.js +23 -0
- package/dist/runtime-pane-assets.js.map +1 -0
- package/dist/runtime-pane-boot.d.ts +9 -0
- package/dist/runtime-pane-boot.js +47 -0
- package/dist/runtime-pane-boot.js.map +1 -0
- package/dist/runtime-pane-codex-index.d.ts +10 -0
- package/dist/runtime-pane-codex-index.js +151 -0
- package/dist/runtime-pane-codex-index.js.map +1 -0
- package/dist/runtime-pane-config.d.ts +16 -0
- package/dist/runtime-pane-config.js +54 -0
- package/dist/runtime-pane-config.js.map +1 -0
- package/dist/runtime-pane-host.d.ts +63 -0
- package/dist/runtime-pane-host.js +467 -0
- package/dist/runtime-pane-host.js.map +1 -0
- package/dist/runtime-pane-job-owner.d.ts +1 -0
- package/dist/runtime-pane-job-owner.js +29 -0
- package/dist/runtime-pane-job-owner.js.map +1 -0
- package/dist/runtime-pane-job.ps1 +116 -0
- package/dist/runtime-pane-link.d.ts +47 -0
- package/dist/runtime-pane-link.js +338 -0
- package/dist/runtime-pane-link.js.map +1 -0
- package/dist/runtime-pane-mcp-protocol.d.ts +32 -0
- package/dist/runtime-pane-mcp-protocol.js +39 -0
- package/dist/runtime-pane-mcp-protocol.js.map +1 -0
- package/dist/runtime-pane-mcp-relay.d.ts +18 -0
- package/dist/runtime-pane-mcp-relay.js +80 -0
- package/dist/runtime-pane-mcp-relay.js.map +1 -0
- package/dist/runtime-pane-mcp.d.ts +55 -0
- package/dist/runtime-pane-mcp.js +153 -0
- package/dist/runtime-pane-mcp.js.map +1 -0
- package/dist/runtime-pane-native.d.ts +75 -0
- package/dist/runtime-pane-native.js +114 -0
- package/dist/runtime-pane-native.js.map +1 -0
- package/dist/runtime-pane-output.d.ts +19 -0
- package/dist/runtime-pane-output.js +53 -0
- package/dist/runtime-pane-output.js.map +1 -0
- package/dist/runtime-pane-port.d.ts +144 -0
- package/dist/runtime-pane-port.js +574 -0
- package/dist/runtime-pane-port.js.map +1 -0
- package/dist/runtime-pane-private.d.ts +16 -0
- package/dist/runtime-pane-private.js +76 -0
- package/dist/runtime-pane-private.js.map +1 -0
- package/dist/runtime-pane-private.ps1 +81 -0
- package/dist/runtime-pane-process.d.ts +4 -0
- package/dist/runtime-pane-process.js +117 -0
- package/dist/runtime-pane-process.js.map +1 -0
- package/dist/runtime-pane-protocol.d.ts +182 -0
- package/dist/runtime-pane-protocol.js +217 -0
- package/dist/runtime-pane-protocol.js.map +1 -0
- package/dist/runtime-pane-quota-history.d.ts +6 -0
- package/dist/runtime-pane-quota-history.js +44 -0
- package/dist/runtime-pane-quota-history.js.map +1 -0
- package/dist/runtime-pane-screen.d.ts +19 -0
- package/dist/runtime-pane-screen.js +76 -0
- package/dist/runtime-pane-screen.js.map +1 -0
- package/dist/runtime-pane-service.d.ts +16 -0
- package/dist/runtime-pane-service.js +256 -0
- package/dist/runtime-pane-service.js.map +1 -0
- package/dist/runtime-pane-stdio-protocol.d.ts +54 -0
- package/dist/runtime-pane-stdio-protocol.js +94 -0
- package/dist/runtime-pane-stdio-protocol.js.map +1 -0
- package/dist/runtime-pane-stdio.d.ts +3 -0
- package/dist/runtime-pane-stdio.js +123 -0
- package/dist/runtime-pane-stdio.js.map +1 -0
- package/dist/runtime-pane-store.d.ts +43 -0
- package/dist/runtime-pane-store.js +176 -0
- package/dist/runtime-pane-store.js.map +1 -0
- package/dist/runtime-pane-transcript-protocol.d.ts +43 -0
- package/dist/runtime-pane-transcript-protocol.js +58 -0
- package/dist/runtime-pane-transcript-protocol.js.map +1 -0
- package/dist/runtime-pane-transcript.d.ts +50 -0
- package/dist/runtime-pane-transcript.js +666 -0
- package/dist/runtime-pane-transcript.js.map +1 -0
- package/dist/runtime-pane-worker.d.ts +1 -0
- package/dist/runtime-pane-worker.js +167 -0
- package/dist/runtime-pane-worker.js.map +1 -0
- package/dist/runtime-profile-ownership.d.ts +66 -0
- package/dist/runtime-profile-ownership.js +391 -0
- package/dist/runtime-profile-ownership.js.map +1 -0
- package/dist/runtime-protocol.d.ts +340 -0
- package/dist/runtime-protocol.js +179 -0
- package/dist/runtime-protocol.js.map +1 -0
- package/dist/runtime-remote-accounts.d.ts +209 -0
- package/dist/runtime-remote-accounts.js +714 -0
- package/dist/runtime-remote-accounts.js.map +1 -0
- package/dist/runtime-remote-setup.d.ts +108 -0
- package/dist/runtime-remote-setup.js +532 -0
- package/dist/runtime-remote-setup.js.map +1 -0
- package/dist/runtime-signin-transport.d.ts +39 -0
- package/dist/runtime-signin-transport.js +111 -0
- package/dist/runtime-signin-transport.js.map +1 -0
- package/dist/runtime-signin.d.ts +132 -0
- package/dist/runtime-signin.js +290 -0
- package/dist/runtime-signin.js.map +1 -0
- package/dist/runtime-switches.d.ts +79 -0
- package/dist/runtime-switches.js +90 -0
- package/dist/runtime-switches.js.map +1 -0
- package/dist/runtime-transcript-delta-reader.d.ts +23 -0
- package/dist/runtime-transcript-delta-reader.js +74 -0
- package/dist/runtime-transcript-delta-reader.js.map +1 -0
- package/dist/runtime-transcript-source.d.ts +36 -0
- package/dist/runtime-transcript-source.js +189 -0
- package/dist/runtime-transcript-source.js.map +1 -0
- package/dist/runtime-update-activity.d.ts +21 -0
- package/dist/runtime-update-activity.js +51 -0
- package/dist/runtime-update-activity.js.map +1 -0
- package/dist/runtime-update-artifact.d.ts +31 -0
- package/dist/runtime-update-artifact.js +252 -0
- package/dist/runtime-update-artifact.js.map +1 -0
- package/dist/runtime-update-attention.d.ts +4 -0
- package/dist/runtime-update-attention.js +11 -0
- package/dist/runtime-update-attention.js.map +1 -0
- package/dist/runtime-update-controller.d.ts +86 -0
- package/dist/runtime-update-controller.js +743 -0
- package/dist/runtime-update-controller.js.map +1 -0
- package/dist/runtime-update-install.d.ts +31 -0
- package/dist/runtime-update-install.js +205 -0
- package/dist/runtime-update-install.js.map +1 -0
- package/dist/runtime-update-ipc.d.ts +42 -0
- package/dist/runtime-update-ipc.js +144 -0
- package/dist/runtime-update-ipc.js.map +1 -0
- package/dist/runtime-update-journal.d.ts +49 -0
- package/dist/runtime-update-journal.js +128 -0
- package/dist/runtime-update-journal.js.map +1 -0
- package/dist/runtime-update-lock.d.ts +48 -0
- package/dist/runtime-update-lock.js +232 -0
- package/dist/runtime-update-lock.js.map +1 -0
- package/dist/runtime-update-owners.d.ts +29 -0
- package/dist/runtime-update-owners.js +240 -0
- package/dist/runtime-update-owners.js.map +1 -0
- package/dist/runtime-update-protocol.d.ts +15 -0
- package/dist/runtime-update-protocol.js +13 -0
- package/dist/runtime-update-protocol.js.map +1 -0
- package/dist/runtime-update-status.d.ts +30 -0
- package/dist/runtime-update-status.js +31 -0
- package/dist/runtime-update-status.js.map +1 -0
- package/dist/runtime-windows-bridge.d.ts +42 -0
- package/dist/runtime-windows-bridge.js +167 -0
- package/dist/runtime-windows-bridge.js.map +1 -0
- package/dist/scheduler/db.d.ts +3 -0
- package/dist/scheduler/db.js +4 -0
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/task-board-text.js +1 -1
- package/dist/scheduler/task-board-text.js.map +1 -1
- package/dist/scheduler/task-board.d.ts +4 -0
- package/dist/scheduler/task-board.js +9 -3
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/scheduler/task-liveness.d.ts +34 -0
- package/dist/scheduler/task-liveness.js +49 -0
- package/dist/scheduler/task-liveness.js.map +1 -0
- package/dist/selection-card.d.ts +4 -3
- package/dist/selection-card.js +2 -1
- package/dist/selection-card.js.map +1 -1
- package/dist/service-drain.d.ts +19 -0
- package/dist/service-drain.js +64 -0
- package/dist/service-drain.js.map +1 -0
- package/dist/service-installer.d.ts +7 -2
- package/dist/service-installer.js +24 -12
- package/dist/service-installer.js.map +1 -1
- package/dist/settings-api.d.ts +71 -2
- package/dist/settings-api.js +1048 -16
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.d.ts +7 -0
- package/dist/settings-baseline.js +3 -1
- package/dist/settings-baseline.js.map +1 -1
- package/dist/settings-change.d.ts +7 -3
- package/dist/settings-change.js +166 -31
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-confirmation.d.ts +67 -7
- package/dist/settings-confirmation.js +68 -15
- package/dist/settings-confirmation.js.map +1 -1
- package/dist/settings-effect.d.ts +26 -0
- package/dist/settings-effect.js +331 -5
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-http-confirmation.d.ts +37 -0
- package/dist/settings-http-confirmation.js +162 -15
- package/dist/settings-http-confirmation.js.map +1 -1
- package/dist/settings-request-capability.d.ts +14 -0
- package/dist/settings-request-capability.js +12 -1
- package/dist/settings-request-capability.js.map +1 -1
- package/dist/settings-route-lifetime.d.ts +14 -0
- package/dist/settings-route-lifetime.js +48 -0
- package/dist/settings-route-lifetime.js.map +1 -0
- package/dist/settings-summary.d.ts +24 -0
- package/dist/settings-summary.js +42 -0
- package/dist/settings-summary.js.map +1 -0
- package/dist/settings-transaction.d.ts +4 -0
- package/dist/settings-transaction.js +9 -0
- package/dist/settings-transaction.js.map +1 -1
- package/dist/setup-form.js +6 -3
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-host.js +1 -1
- package/dist/setup-host.js.map +1 -1
- package/dist/setup-i18n.js +3 -0
- package/dist/setup-i18n.js.map +1 -1
- package/dist/setup-wizard.js +4 -2
- package/dist/setup-wizard.js.map +1 -1
- package/dist/signin-keepalive.d.ts +206 -0
- package/dist/signin-keepalive.js +681 -0
- package/dist/signin-keepalive.js.map +1 -0
- package/dist/structured-signin-transport.d.ts +20 -2
- package/dist/structured-signin-transport.js +57 -2
- package/dist/structured-signin-transport.js.map +1 -1
- package/dist/structured-signin.d.ts +11 -2
- package/dist/structured-signin.js +5 -7
- package/dist/structured-signin.js.map +1 -1
- package/dist/task-board-tool.d.ts +2 -1
- package/dist/task-board-tool.js +76 -7
- package/dist/task-board-tool.js.map +1 -1
- package/dist/tmux-binary.d.ts +59 -0
- package/dist/tmux-binary.js +189 -0
- package/dist/tmux-binary.js.map +1 -0
- package/dist/tmux-control.d.ts +2 -1
- package/dist/tmux-control.js +4 -4
- package/dist/tmux-control.js.map +1 -1
- package/dist/tmux-exec-helper.js +32 -1
- package/dist/tmux-exec-helper.js.map +1 -1
- package/dist/tmux-legacy.d.ts +94 -0
- package/dist/tmux-legacy.js +309 -0
- package/dist/tmux-legacy.js.map +1 -0
- package/dist/tmux-manager.d.ts +11 -4
- package/dist/tmux-manager.js +61 -40
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tmux-pane-host.d.ts +26 -0
- package/dist/tmux-pane-host.js +25 -0
- package/dist/tmux-pane-host.js.map +1 -0
- package/dist/tmux-read.js +4 -3
- package/dist/tmux-read.js.map +1 -1
- package/dist/tmux-rollback.d.ts +42 -0
- package/dist/tmux-rollback.js +78 -0
- package/dist/tmux-rollback.js.map +1 -0
- package/dist/tmux-server.d.ts +102 -0
- package/dist/tmux-server.js +248 -0
- package/dist/tmux-server.js.map +1 -0
- package/dist/tool-permissions.js +2 -1
- package/dist/tool-permissions.js.map +1 -1
- package/dist/tool-progress.d.ts +7 -0
- package/dist/tool-progress.js +21 -9
- package/dist/tool-progress.js.map +1 -1
- package/dist/topic-commands.js +9 -5
- package/dist/topic-commands.js.map +1 -1
- package/dist/transcript-delta-reader.d.ts +10 -2
- package/dist/transcript-delta-reader.js +38 -9
- package/dist/transcript-delta-reader.js.map +1 -1
- package/dist/transcript-monitor.d.ts +3 -0
- package/dist/transcript-monitor.js +68 -54
- package/dist/transcript-monitor.js.map +1 -1
- package/dist/transcript-needles.d.ts +42 -0
- package/dist/transcript-needles.js +166 -0
- package/dist/transcript-needles.js.map +1 -0
- package/dist/transcript-records.d.ts +22 -0
- package/dist/transcript-records.js +144 -0
- package/dist/transcript-records.js.map +1 -0
- package/dist/transcript-sources.d.ts +5 -0
- package/dist/transcript-sources.js +11 -79
- package/dist/transcript-sources.js.map +1 -1
- package/dist/types.d.ts +52 -0
- package/dist/ui/account-identity.js +29 -0
- package/dist/ui/accounts-keepalive.js +111 -0
- package/dist/ui/accounts-manage.js +256 -0
- package/dist/ui/accounts-view.js +491 -0
- package/dist/ui/agent-details-settings.js +326 -0
- package/dist/ui/agent-export-dialog.js +170 -0
- package/dist/ui/agent-export-strings.js +81 -0
- package/dist/ui/agent-instructions-field.js +69 -0
- package/dist/ui/agent-page-strings.js +148 -0
- package/dist/ui/agent-proposals.js +90 -0
- package/dist/ui/agent-runtime-settings.js +70 -0
- package/dist/ui/agent-runtime.js +124 -0
- package/dist/ui/backend-signin.js +153 -48
- package/dist/ui/chat-activity-groups.js +225 -0
- package/dist/ui/chat-activity.js +355 -0
- package/dist/ui/chat-ambient.js +1 -1
- package/dist/ui/chat-md-strings.js +3 -9
- package/dist/ui/chat-popout-header.js +35 -0
- package/dist/ui/chat-popout-transport.js +80 -0
- package/dist/ui/chat-popout.js +63 -0
- package/dist/ui/chat-quote.js +22 -17
- package/dist/ui/chat-render.js +3 -682
- package/dist/ui/chat-store.js +84 -11
- package/dist/ui/chat-strings.js +3 -285
- package/dist/ui/chat-thread.js +3 -969
- package/dist/ui/chat-time.js +3 -80
- package/dist/ui/chat-tour.js +2 -2
- package/dist/ui/chat-workspace-gestures.js +177 -0
- package/dist/ui/chat-workspace-navigation.js +149 -0
- package/dist/ui/chat-workspace.js +319 -0
- package/dist/ui/cli-caps.js +15 -0
- package/dist/ui/cli-picker.js +42 -0
- package/dist/ui/credential-profile-select.js +54 -0
- package/dist/ui/effort-field-strings.js +18 -0
- package/dist/ui/fleet-office-dialogue.d.ts +30 -0
- package/dist/ui/fleet-office-dialogue.js +382 -0
- package/dist/ui/fleet-office-levels.js +17 -1
- package/dist/ui/fleet-office-pack.d.ts +19 -1
- package/dist/ui/fleet-office-pack.js +177 -24
- package/dist/ui/fleet-office-skin.js +23 -5
- package/dist/ui/fleet-office-store.js +13 -3
- package/dist/ui/fleet-office-zones.js +124 -9
- package/dist/ui/fleet-office.js +203 -19
- package/dist/ui/fleet-task-card.js +8 -4
- package/dist/ui/fleet-task-common.js +2 -2
- package/dist/ui/fleet-task-menu.js +188 -0
- package/dist/ui/fleet-task-stats.js +124 -0
- package/dist/ui/fleet-task-view.js +340 -0
- package/dist/ui/fleet-tasks.js +125 -39
- package/dist/ui/general-location.js +85 -0
- package/dist/ui/host-install.js +290 -0
- package/dist/ui/html-attachment.js +3 -40
- package/dist/ui/hub-agent-copy.js +23 -0
- package/dist/ui/hub-attachments.js +90 -0
- package/dist/ui/hub-button-actions.js +65 -0
- package/dist/ui/hub-chat-store.js +168 -0
- package/dist/ui/hub-chat-strings.js +79 -0
- package/dist/ui/hub-client.js +470 -0
- package/dist/ui/hub-company-join-strings.js +79 -0
- package/dist/ui/hub-company-join.js +178 -0
- package/dist/ui/hub-confirm-place.js +44 -0
- package/dist/ui/hub-directory-editor-strings.js +56 -0
- package/dist/ui/hub-directory-editor.js +163 -0
- package/dist/ui/hub-directory-notice-strings.js +28 -0
- package/dist/ui/hub-directory-notices.js +66 -0
- package/dist/ui/hub-enrolment-code-strings.js +44 -0
- package/dist/ui/hub-enrolment-code.js +159 -0
- package/dist/ui/hub-grant-strings.js +13 -0
- package/dist/ui/hub-group-policy.js +183 -0
- package/dist/ui/hub-group-search.js +82 -0
- package/dist/ui/hub-group-strings.js +110 -0
- package/dist/ui/hub-host-security-notices.js +28 -0
- package/dist/ui/hub-join-approval.js +31 -0
- package/dist/ui/hub-join-code-input.js +66 -0
- package/dist/ui/hub-join-one-strings.js +131 -0
- package/dist/ui/hub-join-queue.js +62 -0
- package/dist/ui/hub-join-steps.js +231 -0
- package/dist/ui/hub-joincode-flow-strings.js +22 -0
- package/dist/ui/hub-owner-strings.js +56 -0
- package/dist/ui/hub-pairing-progress-strings.js +15 -0
- package/dist/ui/hub-preview.js +101 -0
- package/dist/ui/hub-provider-guidance.js +31 -0
- package/dist/ui/hub-quick-pairing.js +213 -0
- package/dist/ui/hub-quick-strings.js +43 -0
- package/dist/ui/hub-quota.js +85 -0
- package/dist/ui/hub-read-strings.js +7 -0
- package/dist/ui/hub-share-refused.js +17 -0
- package/dist/ui/hub-strings.js +168 -0
- package/dist/ui/hub-switcher.js +27 -0
- package/dist/ui/hub-this-hub.js +113 -0
- package/dist/ui/hub-welcome.js +123 -0
- package/dist/ui/image-annotate.js +283 -0
- package/dist/ui/image-lightbox.js +36 -8
- package/dist/ui/log-row.js +327 -0
- package/dist/ui/machine-signin.js +56 -0
- package/dist/ui/model-picker.js +18 -14
- package/dist/ui/native-instance-settings.js +81 -0
- package/dist/ui/native-pane-recovery.js +45 -0
- package/dist/ui/office-share-page.js +4 -2
- package/dist/ui/panel-chat.js +391 -123
- package/dist/ui/panel-details.js +55 -18
- package/dist/ui/panel-fleet.js +113 -20
- package/dist/ui/panel-hub.js +1003 -0
- package/dist/ui/panel-log.js +16 -158
- package/dist/ui/panel-needs.js +175 -9
- package/dist/ui/panel-runtimes.js +645 -0
- package/dist/ui/panel-settings.js +366 -217
- package/dist/ui/panel-windows-agent.js +87 -0
- package/dist/ui/panel-windows-cli.js +189 -0
- package/dist/ui/preview-pages.js +3 -41
- package/dist/ui/preview-panel-actions.js +3 -161
- package/dist/ui/preview-panel.js +11 -550
- package/dist/ui/preview-versions.js +3 -155
- package/dist/ui/preview.js +3 -476
- package/dist/ui/provider-marks.js +83 -0
- package/dist/ui/runtime-catalog.js +55 -0
- package/dist/ui/runtime-cli-install.js +214 -0
- package/dist/ui/runtime-commands.d.ts +6 -0
- package/dist/ui/runtime-commands.js +92 -0
- package/dist/ui/runtime-update-commands.d.ts +2 -0
- package/dist/ui/runtime-update-commands.js +11 -0
- package/dist/ui/runtime-update-status.js +53 -0
- package/dist/ui/search-dialog.js +4 -0
- package/dist/ui/settings-access-overview.js +188 -0
- package/dist/ui/settings-access-strings.js +42 -0
- package/dist/ui/settings-agent-filters.js +94 -0
- package/dist/ui/settings-appearance.js +122 -23
- package/dist/ui/settings-apply.js +12 -5
- package/dist/ui/settings-build-version.js +35 -0
- package/dist/ui/settings-catalog.js +68 -16
- package/dist/ui/settings-confirm.js +112 -14
- package/dist/ui/settings-devices.js +283 -0
- package/dist/ui/settings-dialogs.js +360 -140
- package/dist/ui/settings-guests.js +25 -11
- package/dist/ui/settings-hub-browser-certificate.js +76 -0
- package/dist/ui/settings-hub-company-join.js +281 -0
- package/dist/ui/settings-hub-connection.js +175 -0
- package/dist/ui/settings-hub-directory.js +29 -0
- package/dist/ui/settings-hub-membership.js +93 -0
- package/dist/ui/settings-hub-preview.js +74 -0
- package/dist/ui/settings-hub-retention.js +54 -0
- package/dist/ui/settings-hub-run.js +61 -0
- package/dist/ui/settings-hub-section.js +67 -0
- package/dist/ui/settings-hub-setup-strings.js +70 -0
- package/dist/ui/settings-hub-setup.js +233 -0
- package/dist/ui/settings-hub.js +301 -0
- package/dist/ui/settings-layout.js +248 -0
- package/dist/ui/settings-level-titles.js +73 -0
- package/dist/ui/settings-model.js +26 -2
- package/dist/ui/settings-named-test.js +2 -2
- package/dist/ui/settings-outside.js +310 -0
- package/dist/ui/settings-public-session-strings.js +37 -0
- package/dist/ui/settings-quota-notice.js +3 -3
- package/dist/ui/settings-registry.js +30 -5
- package/dist/ui/settings-restart-strings.js +17 -0
- package/dist/ui/settings-revoke-strings.js +28 -0
- package/dist/ui/settings-shared-strings.js +161 -0
- package/dist/ui/settings-shared.js +354 -0
- package/dist/ui/settings-shortcuts.js +65 -0
- package/dist/ui/settings-strings.js +129 -48
- package/dist/ui/settings-web-authority.js +27 -14
- package/dist/ui/shared/access-overview.css +48 -0
- package/dist/ui/shared/accounts-keepalive.css +12 -0
- package/dist/ui/shared/accounts.css +88 -0
- package/dist/ui/shared/agend-auth.js +8 -1
- package/dist/ui/shared/app-ctx.js +22 -1
- package/dist/ui/shared/app-i18n.js +17 -16
- package/dist/ui/shared/app-nav.js +34 -11
- package/dist/ui/shared/app-route.js +12 -3
- package/dist/ui/shared/app-session.js +17 -12
- package/dist/ui/shared/app-shell.js +462 -57
- package/dist/ui/shared/app-store.js +3 -0
- package/dist/ui/shared/app-stream.js +3 -1
- package/dist/ui/shared/app.css +1780 -39
- package/dist/ui/shared/app.js +35 -3
- package/dist/ui/shared/chat-composer.js +74 -0
- package/dist/ui/shared/chat-md-strings.js +9 -0
- package/dist/ui/shared/chat-render.js +703 -0
- package/dist/ui/shared/chat-strings.js +333 -0
- package/dist/ui/shared/chat-thread.js +986 -0
- package/dist/ui/shared/chat-time.js +80 -0
- package/dist/ui/shared/chat-work-bar.css +12 -0
- package/dist/ui/shared/chat-workspace-memory.js +14 -0
- package/dist/ui/shared/chat-workspace-model.js +106 -0
- package/dist/ui/shared/device-roles.js +27 -0
- package/dist/ui/shared/header-tools.js +9 -9
- package/dist/ui/shared/host-install.css +10 -0
- package/dist/ui/shared/html-attachment.js +42 -0
- package/dist/ui/shared/hub-chat.css +98 -0
- package/dist/ui/shared/hub-groups.css +28 -0
- package/dist/ui/shared/hub-owner.css +65 -0
- package/dist/ui/shared/hub-quota.css +8 -0
- package/dist/ui/shared/hub-signin.css +24 -0
- package/dist/ui/shared/hub.css +78 -0
- package/dist/ui/shared/identity-color.js +9 -3
- package/dist/ui/shared/image-annotate.css +45 -0
- package/dist/ui/shared/instance-nav.js +94 -21
- package/dist/ui/shared/instance-switch.js +12 -4
- package/dist/ui/shared/machine-name.js +13 -0
- package/dist/ui/shared/model-picker.css +13 -1
- package/dist/ui/shared/page-head.js +8 -0
- package/dist/ui/shared/pane-geometry.js +29 -0
- package/dist/ui/shared/panel-view.js +39 -26
- package/dist/ui/shared/preview-pages.js +41 -0
- package/dist/ui/shared/preview-panel-actions.js +168 -0
- package/dist/ui/shared/preview-panel.js +576 -0
- package/dist/ui/shared/preview-versions.js +155 -0
- package/dist/ui/shared/preview.js +476 -0
- package/dist/ui/shared/qrcode.module.js +2237 -0
- package/dist/ui/shared/runtime-install.css +55 -0
- package/dist/ui/shared/settings-width.js +31 -0
- package/dist/ui/shared/side-rail.js +15 -0
- package/dist/ui/shared/signin.js +392 -34
- package/dist/ui/shared/task-board.css +95 -0
- package/dist/ui/shared/tokens.css +15 -0
- package/dist/ui/shared/ui-dialog.js +2 -2
- package/dist/ui/shared/ui-menu.js +54 -13
- package/dist/ui/shared/usage-dialog.js +3 -72
- package/dist/ui/shared/usage-meter.js +84 -0
- package/dist/ui/shared/vendor/qrcode-generator.LICENSE +27 -0
- package/dist/ui/shared/vendor/vendor.json +19 -2
- package/dist/ui/shared/view-roster-store.js +8 -0
- package/dist/ui/shared/view-strings.js +14 -4
- package/dist/ui/shared/web-authorize.js +53 -3
- package/dist/ui/shared/workspace-follow.css +19 -0
- package/dist/ui/shared/workspace.css +20 -0
- package/dist/ui/signin.html +41 -8
- package/dist/ui/structured-signin.js +74 -17
- package/dist/ui/windows-agents-nav.js +2 -0
- package/dist/ui/windows-cli-catalog.js +108 -0
- package/dist/ui/workspace-follow-strings.js +28 -0
- package/dist/ui/workspace-panel.js +378 -0
- package/dist/ui/workspace-strings.js +35 -0
- package/dist/unattended-install.js +2 -1
- package/dist/unattended-install.js.map +1 -1
- package/dist/update-dispatch.d.ts +62 -0
- package/dist/update-dispatch.js +69 -2
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-install.d.ts +7 -0
- package/dist/update-install.js +23 -0
- package/dist/update-install.js.map +1 -1
- package/dist/update-marker.d.ts +2 -0
- package/dist/update-marker.js.map +1 -1
- package/dist/usage/providers.d.ts +2 -0
- package/dist/usage/providers.js +20 -19
- package/dist/usage/providers.js.map +1 -1
- package/dist/usage/usage-api.d.ts +1 -1
- package/dist/usage/usage-api.js +3 -10
- package/dist/usage/usage-api.js.map +1 -1
- package/dist/view-api.js +5 -7
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.d.ts +168 -4
- package/dist/web-api.js +1611 -268
- package/dist/web-api.js.map +1 -1
- package/dist/web-backend-login.d.ts +50 -6
- package/dist/web-backend-login.js +32 -21
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-chat-history.d.ts +30 -2
- package/dist/web-chat-history.js +81 -4
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-commands.d.ts +10 -1
- package/dist/web-commands.js +1 -1
- package/dist/web-commands.js.map +1 -1
- package/dist/web-device-login.d.ts +153 -0
- package/dist/web-device-login.js +278 -0
- package/dist/web-device-login.js.map +1 -0
- package/dist/web-guest-access.js +2 -2
- package/dist/web-guest-access.js.map +1 -1
- package/dist/web-host-install.d.ts +127 -0
- package/dist/web-host-install.js +165 -0
- package/dist/web-host-install.js.map +1 -0
- package/dist/web-login.d.ts +35 -1
- package/dist/web-login.js +51 -5
- package/dist/web-login.js.map +1 -1
- package/dist/web-model-groups.d.ts +40 -0
- package/dist/web-model-groups.js +70 -0
- package/dist/web-model-groups.js.map +1 -0
- package/dist/web-notices.d.ts +9 -0
- package/dist/web-notices.js +19 -0
- package/dist/web-notices.js.map +1 -1
- package/dist/web-office-skins.d.ts +9 -0
- package/dist/web-office-skins.js +16 -1
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-office-store.d.ts +35 -2
- package/dist/web-office-store.js +64 -15
- package/dist/web-office-store.js.map +1 -1
- package/dist/web-only-fleet.d.ts +20 -0
- package/dist/web-only-fleet.js +21 -0
- package/dist/web-only-fleet.js.map +1 -1
- package/dist/web-remote-access.d.ts +341 -0
- package/dist/web-remote-access.js +801 -0
- package/dist/web-remote-access.js.map +1 -0
- package/dist/web-session.d.ts +94 -3
- package/dist/web-session.js +75 -5
- package/dist/web-session.js.map +1 -1
- package/dist/web-settings-patch.d.ts +10 -2
- package/dist/web-settings-patch.js +25 -10
- package/dist/web-settings-patch.js.map +1 -1
- package/dist/web-shell-routes.d.ts +10 -1
- package/dist/web-shell-routes.js +14 -2
- package/dist/web-shell-routes.js.map +1 -1
- package/dist/web-signin-device.d.ts +16 -0
- package/dist/web-signin-device.js +81 -0
- package/dist/web-signin-device.js.map +1 -0
- package/dist/web-signin-link.d.ts +42 -0
- package/dist/web-signin-link.js +110 -0
- package/dist/web-signin-link.js.map +1 -0
- package/dist/web-terminal.d.ts +11 -30
- package/dist/web-terminal.js +23 -8
- package/dist/web-terminal.js.map +1 -1
- package/dist/web-update.d.ts +1 -0
- package/dist/web-update.js +4 -2
- package/dist/web-update.js.map +1 -1
- package/dist/windows-agents.d.ts +127 -0
- package/dist/windows-agents.js +491 -0
- package/dist/windows-agents.js.map +1 -0
- package/dist/windows-cli-api.d.ts +48 -0
- package/dist/windows-cli-api.js +207 -0
- package/dist/windows-cli-api.js.map +1 -0
- package/dist/windows-cli-providers.d.ts +109 -0
- package/dist/windows-cli-providers.js +396 -0
- package/dist/windows-cli-providers.js.map +1 -0
- package/dist/windows-cli-worker.d.ts +99 -0
- package/dist/windows-cli-worker.js +729 -0
- package/dist/windows-cli-worker.js.map +1 -0
- package/dist/windows-cli.d.ts +130 -0
- package/dist/windows-cli.js +424 -0
- package/dist/windows-cli.js.map +1 -0
- package/dist/windows-native-mcp.d.ts +19 -0
- package/dist/windows-native-mcp.js +143 -0
- package/dist/windows-native-mcp.js.map +1 -0
- package/dist/windows-pane-mcp.d.ts +26 -0
- package/dist/windows-pane-mcp.js +187 -0
- package/dist/windows-pane-mcp.js.map +1 -0
- package/dist/windows-shortcuts.d.ts +29 -5
- package/dist/windows-shortcuts.js +52 -9
- package/dist/windows-shortcuts.js.map +1 -1
- package/dist/workspace-file-policy.d.ts +2 -0
- package/dist/workspace-file-policy.js +31 -0
- package/dist/workspace-file-policy.js.map +1 -0
- package/dist/workspace-follow-parse.d.ts +36 -0
- package/dist/workspace-follow-parse.js +208 -0
- package/dist/workspace-follow-parse.js.map +1 -0
- package/dist/workspace-follow-records.d.ts +17 -0
- package/dist/workspace-follow-records.js +88 -0
- package/dist/workspace-follow-records.js.map +1 -0
- package/dist/workspace-follow.d.ts +41 -0
- package/dist/workspace-follow.js +144 -0
- package/dist/workspace-follow.js.map +1 -0
- package/dist/wsl-detect.d.ts +1 -0
- package/dist/wsl-detect.js +20 -0
- package/dist/wsl-detect.js.map +1 -0
- package/dist/yaml-shared-nodes.js +8 -3
- package/dist/yaml-shared-nodes.js.map +1 -1
- package/launcher/agend-install.cjs +15 -2
- package/launcher/launchd-session-type.cjs +14 -0
- package/launcher/postinstall.cjs +27 -2
- package/launcher/tmux-bundle.cjs +263 -0
- package/package.json +16 -5
- package/templates/icons/agend-restart.ico +0 -0
- package/templates/icons/agend.ico +0 -0
- package/templates/launchd.plist.ejs +3 -1
- package/templates/runtime-assets/conpty-LICENSE +21 -0
- package/templates/runtime-assets/conpty-NOTICE.md +503 -0
- package/templates/runtime-assets/local-pane-stage.ps1 +101 -0
- package/templates/runtime-assets/runtime-pane-job.ps1 +116 -0
- package/templates/runtime-assets/runtime-pane-private.ps1 +81 -0
- package/templates/runtime-assets/xterm-LICENSE +21 -0
- package/templates/runtime-install/install.ps1 +618 -0
- package/templates/windows-shortcuts.ps1 +45 -12
package/dist/ui/panel-log.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
// #1218 phase 1: one instance's Log (紀錄) — its work step by step: what it was asked, what it answered
|
|
2
|
-
//
|
|
3
|
-
//
|
|
1
|
+
// #1218 phase 1: one instance's Log (紀錄) — its work step by step: what it was asked, what it answered, each tool call with its
|
|
2
|
+
// arguments and result, errors, where each turn ended, and fleet events (a crash, a restart, a prompt waiting). This page never asks
|
|
3
|
+
// for thinking (GET /ui/steps without `thinking`); the chat's activity timeline does, for an admin session on the local dashboard
|
|
4
|
+
// (AGEND-181, chat-activity.js) — the step row is the one they share (log-row.js), so the row can draw thinking, this page just never
|
|
5
|
+
// receives any. Between View and Details (/ui/log/<name>). Behind the session gate (/ui/js/); offered on
|
|
4
6
|
// the public link too (the user's decision), read-only, with the same masking.
|
|
5
7
|
//
|
|
6
8
|
// On demand only (the user's decision on load): off by default (web.log_tab) — the tab says so, and offers to turn it
|
|
@@ -15,21 +17,22 @@ import { html, useEffect, useLayoutEffect, useMemo, useRef, useState } from "/as
|
|
|
15
17
|
import { register, t } from "/assets/app-i18n.js";
|
|
16
18
|
import { appStore, useStore } from "/assets/app-store.js";
|
|
17
19
|
import { useLease } from "/assets/app-ctx.js";
|
|
20
|
+
import * as paneContext from "/assets/app-ctx.js";
|
|
18
21
|
import { PanelHeader, setTitle, statusClass, statusLabel, openDrawer } from "/assets/app-shell.js";
|
|
19
22
|
import { InstanceSwitch } from "/assets/instance-switch.js";
|
|
20
23
|
import { HeaderSlot, HeaderTools } from "/assets/header-tools.js";
|
|
21
24
|
import { Empty, ErrorState, Skeleton } from "/assets/ui-states.js";
|
|
22
|
-
import { Icon } from "/assets/ui-icons.js";
|
|
23
25
|
import { toast } from "/assets/ui-toast.js";
|
|
24
|
-
import "./chat-strings.js";
|
|
25
|
-
import { chatTime, chatTimeFull } from "./chat-time.js";
|
|
26
26
|
import { confirmedWrite } from "./settings-confirm.js";
|
|
27
|
+
import { LogRow, mergeSteps, timeline, collapse, tl } from "./log-row.js";
|
|
28
|
+
// The step helpers live with the row (log-row.js, shared with the chat's timeline); the Log's own tests read them here.
|
|
29
|
+
export { mergeSteps, timeline, collapse };
|
|
27
30
|
|
|
28
31
|
register("log", {
|
|
29
32
|
en: {
|
|
30
33
|
offTitle: "The Log is off",
|
|
31
34
|
offBody: "Turn it on to see each agent's work step by step: what it was asked, its replies, every tool call with its arguments and result, errors, and fleet events. It reads the agent's own transcript only while this tab is open, and masks secret values.",
|
|
32
|
-
enable: "Turn on the Log", enabling: "Waiting for a fleet admin to confirm it
|
|
35
|
+
enable: "Turn on the Log", enabling: "Waiting for a fleet admin to confirm it — the confirmation card says where…", enabled: "The Log is on.",
|
|
33
36
|
enableFailed: "The Log was not turned on: {0}", offPublic: "A fleet admin can turn it on in Settings → Web dashboard.",
|
|
34
37
|
unsupported: "{0} has no transcript AgEnD can read, so this Log shows fleet events only. View shows its screen.",
|
|
35
38
|
kiroWhy: "kiro's own steps are shown only when AgEnD can prove which conversation it is in now. {0} Fleet events are shown meanwhile.",
|
|
@@ -46,15 +49,6 @@ register("log", {
|
|
|
46
49
|
empty: "Nothing here yet.", olderLoad: "Load older steps", olderStart: "The start of what can be read.", loading: "Loading…",
|
|
47
50
|
olderTrimmed: "Older steps were let go to keep this page light. Open the Log again to read further back.",
|
|
48
51
|
all: "All", tools: "Tools", errors: "Errors", filter: "Show", live: "Live", reset: "A new conversation began: showing it from its latest steps.",
|
|
49
|
-
user: "Asked", assistant: "Replied", error: "Error", errorCode: "Error {0}", turnEnd: "Turn ended", turnEndIn: "Turn ended · {0}",
|
|
50
|
-
compacted: "Conversation compacted", turn: "Turn",
|
|
51
|
-
running: "running", done: "done", failed: "failed", interrupted: "interrupted", exit: "exit {0}",
|
|
52
|
-
showScreen: "Show what was on screen", hideScreen: "Hide what was on screen",
|
|
53
|
-
showOutput: "Show output", hideOutput: "Hide output", args: "Arguments", output: "Output", noOutput: "No output.",
|
|
54
|
-
showAll: "Show all", showLess: "Show less", cut: "… {0} more characters not shown.", tooLarge: "Output of {0}: only its start is shown.",
|
|
55
|
-
times: "×{0}", newer: "{0} new",
|
|
56
|
-
cat_read: "Read", cat_edit: "Edit", cat_search: "Search", cat_run: "Run", cat_web: "Web", cat_mcp: "MCP", cat_agent: "Sub-agent",
|
|
57
|
-
cat_plan: "Plan", cat_message: "Message", cat_other: "Tool", plan_items: "{0} items",
|
|
58
52
|
ev_crash_respawn: "Crashed and restarted", ev_crash_loop: "Keeps crashing", ev_hang_detected: "Looks stuck", ev_hang_action: "Stuck: acted on",
|
|
59
53
|
ev_instance_paused: "Paused", ev_instance_resumed: "Resumed", ev_interactive_prompt: "Waiting at a prompt", ev_interactive_prompt_assist: "Prompt: asked for help", ev_remote_card: "Asked a question (posted to chat)", ev_remote_card_answer: "Question answered from chat",
|
|
60
54
|
ev_dialog_parked: "A dialog waits", ev_model_failover: "Switched to another model", ev_model_recovered: "Model back",
|
|
@@ -68,7 +62,7 @@ register("log", {
|
|
|
68
62
|
"zh-TW": {
|
|
69
63
|
offTitle: "紀錄未開啟",
|
|
70
64
|
offBody: "開啟後可逐步看到每個 agent 的工作:收到的要求、回覆、每次工具呼叫的參數與結果、錯誤,以及 fleet 事件。只在這個分頁開著時讀取 agent 自己的對話紀錄,機密值會遮蔽。",
|
|
71
|
-
enable: "開啟紀錄", enabling: "等待 fleet admin
|
|
65
|
+
enable: "開啟紀錄", enabling: "等待 fleet admin 確認,確認卡片上有說明確認方式…", enabled: "紀錄已開啟。",
|
|
72
66
|
enableFailed: "紀錄沒有開啟:{0}", offPublic: "fleet admin 可以在「設定 → 網頁儀表板」開啟。",
|
|
73
67
|
unsupported: "{0} 沒有 AgEnD 讀得到的對話紀錄,所以這裡只顯示 fleet 事件。「檢視」可以看它的畫面。",
|
|
74
68
|
kiroWhy: "只有在 AgEnD 能證明 kiro 目前所在的對話時,才會顯示它自己的步驟。{0}目前先顯示 fleet 事件。",
|
|
@@ -85,15 +79,6 @@ register("log", {
|
|
|
85
79
|
empty: "目前還沒有內容。", olderLoad: "載入更早的步驟", olderStart: "已經是能讀到的最早內容。", loading: "載入中…",
|
|
86
80
|
olderTrimmed: "為了讓頁面保持輕快,較早的步驟已移出。重新開啟「紀錄」就能往前讀。",
|
|
87
81
|
all: "全部", tools: "工具", errors: "錯誤", filter: "顯示", live: "即時", reset: "開始了新的對話:從它最新的步驟顯示。",
|
|
88
|
-
user: "收到要求", assistant: "回覆", error: "錯誤", errorCode: "錯誤 {0}", turnEnd: "回合結束", turnEndIn: "回合結束 · {0}",
|
|
89
|
-
compacted: "對話已壓縮", turn: "回合",
|
|
90
|
-
running: "執行中", done: "完成", failed: "失敗", interrupted: "中斷", exit: "結束碼 {0}",
|
|
91
|
-
showScreen: "顯示當時的畫面", hideScreen: "隱藏當時的畫面",
|
|
92
|
-
showOutput: "顯示輸出", hideOutput: "隱藏輸出", args: "參數", output: "輸出", noOutput: "沒有輸出。",
|
|
93
|
-
showAll: "顯示全部", showLess: "收合", cut: "… 還有 {0} 個字元沒有顯示。", tooLarge: "輸出共 {0},只顯示開頭。",
|
|
94
|
-
times: "×{0}", newer: "{0} 則新的",
|
|
95
|
-
cat_read: "讀取", cat_edit: "編輯", cat_search: "搜尋", cat_run: "執行", cat_web: "網頁", cat_mcp: "MCP", cat_agent: "子 agent",
|
|
96
|
-
cat_plan: "計畫", cat_message: "訊息", cat_other: "工具", plan_items: "{0} 項",
|
|
97
82
|
ev_crash_respawn: "當機後重新啟動", ev_crash_loop: "反覆當機", ev_hang_detected: "看起來卡住了", ev_hang_action: "卡住:已處理",
|
|
98
83
|
ev_instance_paused: "已暫停", ev_instance_resumed: "已繼續", ev_interactive_prompt: "停在提示上等待", ev_interactive_prompt_assist: "提示:已請求協助", ev_remote_card: "提出問題(已貼到聊天)", ev_remote_card_answer: "問題已從聊天回答",
|
|
99
84
|
ev_dialog_parked: "有對話框在等待", ev_model_failover: "改用另一個模型", ev_model_recovered: "模型恢復",
|
|
@@ -105,7 +90,6 @@ register("log", {
|
|
|
105
90
|
ev_supervision_ended: "監督結束", ev_tmux_server_crash: "tmux 當掉", ev_malformed_tool_call: "格式錯誤的工具呼叫", ev_health_check_error: "健康檢查錯誤", ev_context_lost: "改用全新對話:context 遺失", ev_working_state: "工作狀態紀錄", ev_kiro_reconcile: "Kiro 對話接續處理",
|
|
106
91
|
},
|
|
107
92
|
});
|
|
108
|
-
const tl = (key, ...a) => t(`log.${key}`, ...a);
|
|
109
93
|
/** Why a kiro Log shows fleet events only (kiro-log-gate.ts): each is worded above. */
|
|
110
94
|
export const KIRO_REASONS = new Set(["kiro_not_running", "kiro_v3", "kiro_engine_unknown", "kiro_legacy", "kiro_fresh", "kiro_v2_root", "kiro_no_profile", "kiro_session_unobservable"]);
|
|
111
95
|
|
|
@@ -115,93 +99,15 @@ export const POLL_MS = 4000;
|
|
|
115
99
|
export const RENEW_MS = 30_000;
|
|
116
100
|
/** Steps kept in the page; older ones beyond it are dropped from the top (the server still has them). */
|
|
117
101
|
export const PAGE_MAX = 1000;
|
|
118
|
-
/** A text longer than this many lines is folded until opened. */
|
|
119
|
-
const FOLD_LINES = 8;
|
|
120
|
-
|
|
121
|
-
// The app's own SVG icons (never emoji: a device without an emoji font shows boxes).
|
|
122
|
-
const CAT_ICON = { read: "file", edit: "edit", search: "search", run: "code", web: "globe", mcp: "plug", agent: "team", plan: "tasks", message: "send", other: "sliders" };
|
|
123
|
-
const KIND_ICON = { user: "user", assistant: "bot", error: "alert", turn_end: "stop", state: "info", event: "bell" };
|
|
124
|
-
|
|
125
|
-
function size(bytes) {
|
|
126
|
-
if (bytes >= 1024 * 1024) return `${(bytes / 1024 / 1024).toFixed(1)} MB`;
|
|
127
|
-
if (bytes >= 1024) return `${Math.round(bytes / 1024)} KB`;
|
|
128
|
-
return `${bytes} B`;
|
|
129
|
-
}
|
|
130
|
-
function duration(ms) {
|
|
131
|
-
if (!(ms >= 0)) return "";
|
|
132
|
-
if (ms < 1000) return `${ms} ms`;
|
|
133
|
-
const s = ms / 1000;
|
|
134
|
-
if (s < 60) return `${s < 10 ? s.toFixed(1) : Math.round(s)} s`;
|
|
135
|
-
const m = Math.floor(s / 60);
|
|
136
|
-
return `${m} m ${Math.round(s - m * 60)} s`;
|
|
137
|
-
}
|
|
138
|
-
const eventLabel = (type) => { const k = `log.ev_${type}`; const v = t(k); return v === k ? String(type).replace(/_/g, " ") : v; };
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Merge `incoming` steps into `list` (array, in order): one with an id already there replaces it in place (a result
|
|
142
|
-
* completing its call); a new one is added — at the end, or before everything when `older`. Returns a new array.
|
|
143
|
-
*/
|
|
144
|
-
export function mergeSteps(list, incoming, older = false) {
|
|
145
|
-
const at = new Map(list.map((s, i) => [s.id, i]));
|
|
146
|
-
const fresh = new Map();
|
|
147
|
-
const next = list.slice();
|
|
148
|
-
const added = [];
|
|
149
|
-
for (const s of incoming) {
|
|
150
|
-
const i = at.get(s.id);
|
|
151
|
-
if (i !== undefined) {
|
|
152
|
-
// An older page never overwrites what a newer read already said about the same step — except to name a call the
|
|
153
|
-
// newer page knew only by its result (the call's record was older than that page): its tool, subject and input.
|
|
154
|
-
// A newer read that saw only a call's result (the call was before where it read) never unnames the call: its tool,
|
|
155
|
-
// category and start time stay; the outcome is the newer read's.
|
|
156
|
-
if (!older) next[i] = s.kind === "tool" && !s.tool && next[i].tool
|
|
157
|
-
? { ...next[i], ...s, tool: next[i].tool, cat: next[i].cat, ts: next[i].ts }
|
|
158
|
-
: { ...next[i], ...s };
|
|
159
|
-
else if (next[i].kind === "tool" && !next[i].tool && s.tool) {
|
|
160
|
-
const { tool, cat, subject, input, ts } = s;
|
|
161
|
-
next[i] = { ...next[i], tool, cat, ...(subject !== undefined ? { subject } : {}), ...(input !== undefined ? { input } : {}), ...(ts ? { ts } : {}) };
|
|
162
|
-
}
|
|
163
|
-
} else if (fresh.has(s.id)) {
|
|
164
|
-
// The same step twice in one answer (never from the server's parser, whose ids are unique): the later one wins.
|
|
165
|
-
added[fresh.get(s.id)] = { ...added[fresh.get(s.id)], ...s };
|
|
166
|
-
} else { fresh.set(s.id, added.length); added.push(s); }
|
|
167
|
-
}
|
|
168
|
-
return older ? [...added, ...next] : [...next, ...added];
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/** Steps and fleet events in one timeline: events placed by time among the steps (steps keep their file order). */
|
|
172
|
-
export function timeline(steps, events) {
|
|
173
|
-
const evs = events.slice().sort((a, b) => a.ts - b.ts || a.id - b.id);
|
|
174
|
-
const out = [];
|
|
175
|
-
let e = 0;
|
|
176
|
-
for (const s of steps) {
|
|
177
|
-
while (e < evs.length && s.ts > 0 && evs[e].ts <= s.ts) out.push({ kind: "event", ...evs[e++] });
|
|
178
|
-
out.push(s);
|
|
179
|
-
}
|
|
180
|
-
while (e < evs.length) out.push({ kind: "event", ...evs[e++] });
|
|
181
|
-
return out;
|
|
182
|
-
}
|
|
183
102
|
|
|
184
103
|
const isError = (x) => x.kind === "error" || (x.kind === "event" && x.type !== "working_state") || x.status === "failed" || x.status === "interrupted";
|
|
185
|
-
/** Consecutive identical finished tool steps (same tool, subject and status) as one row with a count: a loop shows. */
|
|
186
|
-
export function collapse(items) {
|
|
187
|
-
const out = [];
|
|
188
|
-
for (const x of items) {
|
|
189
|
-
const prev = out[out.length - 1];
|
|
190
|
-
if (prev && x.kind === "tool" && prev.kind === "tool" && x.status !== "running" && prev.status === x.status
|
|
191
|
-
&& prev.tool === x.tool && (prev.subject || "") === (x.subject || "") && prev.turn === x.turn) {
|
|
192
|
-
prev.repeat = (prev.repeat || 1) + 1;
|
|
193
|
-
continue;
|
|
194
|
-
}
|
|
195
|
-
out.push({ ...x });
|
|
196
|
-
}
|
|
197
|
-
return out;
|
|
198
|
-
}
|
|
199
104
|
|
|
200
105
|
export function LogPanel({ route, navKey }) {
|
|
106
|
+
const pane = paneContext.usePane?.();
|
|
201
107
|
const app = useStore(appStore);
|
|
202
108
|
const name = route.instance;
|
|
203
109
|
const inst = app.instances.find((i) => i.name === name) || null;
|
|
204
|
-
useEffect(() => { setTitle(`${name} · ${t("app.log")}`); }, [name, navKey]);
|
|
110
|
+
useEffect(() => { if (pane?.focused !== false) setTitle(`${name} · ${t("app.log")}`); }, [name, navKey, pane?.focused]);
|
|
205
111
|
if (!app.ready) return html`<div data-effect-panel="log" class="panel p-log"><${PanelHeader} title=${name} /><div data-trust="panel-content" class="panel-body"><${Skeleton} lines=${6} /></div></div>`;
|
|
206
112
|
if (!inst) {
|
|
207
113
|
return html`<div data-effect-panel="log" class="panel p-log"><${PanelHeader} title=${name} />
|
|
@@ -371,64 +277,16 @@ function LogView({ name, inst, navKey, exec, awaiting }) {
|
|
|
371
277
|
? html`<div class="log-older"><button type="button" class="btn btn-sm" disabled=${older.busy} onClick=${loadOlder}>${older.busy ? tl("loading") : tl("olderLoad")}</button></div>`
|
|
372
278
|
: cursor.current.trimmed ? html`<p class="note log-start">${tl("olderTrimmed")}</p>`
|
|
373
279
|
: steps.length ? html`<p class="note log-start">${tl("olderStart")}</p>` : null}
|
|
374
|
-
${items.length ? html`<ol class="log-list" role="log" aria-label=${t("app.log")}>${items.map((x, i) => html`<${
|
|
280
|
+
${items.length ? html`<ol class="log-list" role="log" aria-label=${t("app.log")}>${items.map((x, i) => html`<${LogRow} key=${`${x.kind}:${x.id}`} x=${x} prev=${items[i - 1]} />`)}</ol>`
|
|
375
281
|
: html`<p class="note log-empty">${tl("empty")}</p>`}`;
|
|
376
282
|
}
|
|
377
283
|
const tools = state.phase === "on" ? html`<div data-trust="panel-controls" class="log-bar" role="group" aria-label=${tl("filter")}>
|
|
378
284
|
${["all", "tools", "errors"].map((k) => html`<button key=${k} type="button" class=${`chip-btn${filter === k ? " on" : ""}`} aria-pressed=${filter === k ? "true" : "false"} onClick=${() => setFilter(k)}>${tl(k)}</button>`)}
|
|
379
285
|
<span class="grow"></span><span class="log-live" title=${tl("live")}><span class="dot running" aria-hidden="true"></span>${tl("live")}</span></div>` : null;
|
|
380
286
|
return html`<div data-effect-panel="log" class="panel p-log">
|
|
381
|
-
<${PanelHeader} title=${name} sub=${sub} nav=${html`<${InstanceSwitch} name=${name} current="log" />`}><${HeaderTools} navKey=${navKey} /><${HeaderSlot} /></${PanelHeader}>
|
|
287
|
+
<${PanelHeader} title=${name} sub=${sub} pageControls=${{ navKey }} nav=${html`<${InstanceSwitch} name=${name} current="log" />`}><${HeaderTools} navKey=${navKey} /><${HeaderSlot} /></${PanelHeader}>
|
|
382
288
|
${tools}
|
|
383
289
|
<div data-trust="panel-content" class="panel-body log-body" ref=${scroller} onScroll=${onScroll}><div class="col log-col">${content}</div></div>
|
|
384
290
|
</div>`;
|
|
385
291
|
}
|
|
386
|
-
|
|
387
|
-
/** One line of the Log. */
|
|
388
|
-
function Row({ x, prev }) {
|
|
389
|
-
const [open, setOpen] = useState(false);
|
|
390
|
-
const [full, setFull] = useState(false);
|
|
391
|
-
const time = x.ts ? chatTime(x.ts, { yesterday: (hm) => t("chat.yesterdayAt", hm) }) : "";
|
|
392
|
-
const title = x.ts ? chatTimeFull(x.ts) : "";
|
|
393
|
-
const newTurn = x.kind === "user" && prev && prev.turn !== x.turn;
|
|
394
|
-
const head = (icon, label, extra) => html`<div class="log-head"><span class="log-icon" aria-hidden="true"><${Icon} name=${icon} size=${14} /></span>
|
|
395
|
-
<span class="log-label">${label}</span>${extra || null}<span class="grow"></span><span class="log-time" title=${title}>${time}</span></div>`;
|
|
396
|
-
const text = (body, cut, bytes) => {
|
|
397
|
-
if (!body) return null;
|
|
398
|
-
const lines = body.split("\n").length;
|
|
399
|
-
const folded = !full && lines > FOLD_LINES;
|
|
400
|
-
return html`<div class=${`log-text${folded ? " folded" : ""}`}>${body}</div>
|
|
401
|
-
${lines > FOLD_LINES ? html`<button type="button" class="link-btn log-more" onClick=${() => setFull(!full)}>${full ? tl("showLess") : tl("showAll")}</button>` : null}
|
|
402
|
-
${cut ? html`<p class="note">${tl("cut", cut.toLocaleString())}</p>` : null}
|
|
403
|
-
${bytes ? html`<p class="note">${tl("tooLarge", size(bytes))}</p>` : null}`;
|
|
404
|
-
};
|
|
405
|
-
let row;
|
|
406
|
-
if (x.kind === "event") {
|
|
407
|
-
// M-2269: a dialog or prompt AgEnD saw (the CLI never writes it to its transcript): its text as it was on screen,
|
|
408
|
-
// folded until asked for. Text only (a text node), masked by the server.
|
|
409
|
-
row = html`${head(KIND_ICON.event, eventLabel(x.type))}${x.detail ? html`<div class="log-text muted">${x.detail}</div>` : null}
|
|
410
|
-
${x.screen ? html`<button type="button" class="link-btn log-toggle log-screen-toggle" aria-expanded=${open ? "true" : "false"} onClick=${() => setOpen(!open)}>${open ? tl("hideScreen") : tl("showScreen")}</button>` : null}
|
|
411
|
-
${x.screen && open ? html`<div class="log-detail"><div class="log-text mono log-screen">${x.screen}</div></div>` : null}`;
|
|
412
|
-
} else if (x.kind === "user" || x.kind === "assistant") {
|
|
413
|
-
row = html`${head(KIND_ICON[x.kind], tl(x.kind))}${text(x.body, x.bodyCut)}`;
|
|
414
|
-
} else if (x.kind === "error") {
|
|
415
|
-
row = html`${head(KIND_ICON.error, x.note ? tl("errorCode", x.note) : tl("error"))}${text(x.body, x.bodyCut)}`;
|
|
416
|
-
} else if (x.kind === "turn_end") {
|
|
417
|
-
row = head(KIND_ICON.turn_end, x.durationMs ? tl("turnEndIn", duration(x.durationMs)) : tl("turnEnd"),
|
|
418
|
-
x.status && x.status !== "done" ? html`<span class=${`log-status ${x.status}`}>${tl(x.status)}</span>` : null);
|
|
419
|
-
} else if (x.kind === "state") {
|
|
420
|
-
row = head(KIND_ICON.state, x.note === "compacted" ? tl("compacted") : x.note || "");
|
|
421
|
-
} else {
|
|
422
|
-
const cat = x.cat || "other";
|
|
423
|
-
const subject = cat === "plan" && x.subject ? tl("plan_items", x.subject) : x.subject || "";
|
|
424
|
-
const status = html`<span class=${`log-status ${x.status || "done"}`}>${x.status === "running" ? html`<span class="spinner" aria-hidden="true"></span>` : null}${tl(x.status || "done")}${typeof x.exitCode === "number" && x.exitCode !== 0 ? ` · ${tl("exit", x.exitCode)}` : ""}${x.durationMs ? ` · ${duration(x.durationMs)}` : ""}</span>`;
|
|
425
|
-
const label = html`<span class="log-cat">${tl(`cat_${cat}`)}</span>${subject ? html` <span class="log-subject mono">${subject}</span>` : null}${x.tool && !subject ? html` <span class="log-tool mono muted">${x.tool}</span>` : null}`;
|
|
426
|
-
const has = !!(x.body || x.input || x.bodyBytes);
|
|
427
|
-
row = html`${head(CAT_ICON[cat] || CAT_ICON.other, label, html`${x.repeat ? html`<span class="log-repeat">${tl("times", x.repeat)}</span>` : null}${status}`)}
|
|
428
|
-
${has ? html`<button type="button" class="link-btn log-toggle" aria-expanded=${open ? "true" : "false"} onClick=${() => setOpen(!open)}>${open ? tl("hideOutput") : tl("showOutput")}</button>` : null}
|
|
429
|
-
${open ? html`<div class="log-detail">
|
|
430
|
-
${x.input ? html`<div class="log-sec"><span class="log-sec-h">${tl("args")}</span><div class="log-text mono">${x.input}</div>${x.inputCut ? html`<p class="note">${tl("cut", x.inputCut.toLocaleString())}</p>` : null}</div>` : null}
|
|
431
|
-
<div class="log-sec"><span class="log-sec-h">${tl("output")}</span>${x.body ? text(x.body, x.bodyCut, x.bodyBytes) : html`<p class="note">${tl("noOutput")}</p>`}</div></div>` : null}`;
|
|
432
|
-
}
|
|
433
|
-
return html`<li class=${`log-item k-${x.kind}${x.status ? ` s-${x.status}` : ""}${newTurn ? " turn-start" : ""}`}>${row}</li>`;
|
|
434
|
-
}
|
|
292
|
+
LogPanel.workspaceVersion = 1;
|
package/dist/ui/panel-needs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #1408 step 4 = #1386 part (b): the "Needs you" panel (/ui/needs) — everything waiting on the person, from every
|
|
2
2
|
// world, in one list. Behind the session gate (/ui/js/), loaded the first time it is opened.
|
|
3
3
|
//
|
|
4
|
-
//
|
|
4
|
+
// The shared list is a renderer only (#1386 §4.2, the user's Discord-first rule): the list is the server's one derivation, the app
|
|
5
5
|
// store's `needs`, which arrives over the passive channels (SSE `needs`, the /ui/poll field). This panel reads
|
|
6
6
|
// nothing (#1374: no new GET, no timer that asks the server); its writes are a person's actions:
|
|
7
7
|
// - a prompt's own buttons, through the page's chat store (appStore.chatOwner — whichever chat import booted, a Retry's
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
// - Acknowledge on a delivery (POST /ui/needs/ack), which clears it everywhere;
|
|
10
10
|
// - Open: that instance's chat.
|
|
11
11
|
// Something resolved anywhere (Discord, Telegram, the web) leaves the list by itself.
|
|
12
|
+
// alpha.2 (M-2300): an agent's Windows request waiting for a web-only fleet's owner is the app store's `proposals`, read
|
|
13
|
+
// by agent-proposals.js (owner only, on the stream's `agent_proposals` ping) — Approve / Reject POST its decision. Only
|
|
14
|
+
// on a tab opened before an upgrade (app.js never installed it) does this panel install it, once.
|
|
12
15
|
import { html, useEffect, useState } from "/assets/app-html.js";
|
|
13
16
|
import { t, register } from "/assets/app-i18n.js";
|
|
14
17
|
import { appStore, createStore, useStore } from "/assets/app-store.js";
|
|
@@ -21,10 +24,20 @@ import { Icon } from "/assets/ui-icons.js";
|
|
|
21
24
|
import { toast } from "/assets/ui-toast.js";
|
|
22
25
|
import { notifyStore, notifySupport, configDetail, reasonText, refreshNotify, setNotify } from "/assets/app-needs.js";
|
|
23
26
|
import { openSignIn, signInOffered } from "./backend-signin.js";
|
|
27
|
+
import { decideProposal, installProposals } from "./agent-proposals.js";
|
|
28
|
+
import { GeneralLocation } from "./general-location.js";
|
|
29
|
+
import { runtimeUpdateText } from "./runtime-update-status.js";
|
|
30
|
+
import { HostDirectoryNotices, hostDirectoryNoticesOffered } from "./hub-host-security-notices.js";
|
|
31
|
+
|
|
32
|
+
// A pre-upgrade tab retains app-i18n.js. Register these reasons when the updated panel is loaded, too.
|
|
33
|
+
register("app", {
|
|
34
|
+
en: { needs_reason_hub_proposal: "Hub action proposed: review locally", needs_reason_hub_execution_hold: "Hub work held: review locally", needs_reason_hub_unavailable: "Hub not running", needs_reason_tmux_hold: "Held: an old tmux server or window" },
|
|
35
|
+
"zh-TW": { needs_reason_hub_proposal: "Hub 提議操作:請在本機檢視", needs_reason_hub_execution_hold: "Hub 工作已暫停:請在本機檢視", needs_reason_hub_unavailable: "Hub 未在執行", needs_reason_tmux_hold: "已暫停:舊的 tmux 伺服器或視窗" },
|
|
36
|
+
});
|
|
24
37
|
|
|
25
38
|
register("needs", {
|
|
26
39
|
en: {
|
|
27
|
-
title: "Needs you", empty: "Nothing needs you right now", emptyHint: "When an agent waits for you, it shows here — and in your chat app's General.", emptyHintWeb: "When an agent waits for you, it shows here.",
|
|
40
|
+
otherEmpty: "No other items are waiting for you.", title: "Needs you", empty: "Nothing needs you right now", emptyHint: "When an agent waits for you, it shows here — and in your chat app's General.", emptyHintWeb: "When an agent waits for you, it shows here.",
|
|
28
41
|
open: "Open chat", kiroOpen: "Open agent", kiroMigration: "Migration instructions", openCard: "Open the card", noAssignee: "Task board (nobody assigned)", fleetSignIns: "AI accounts", signIn: "Connect account",
|
|
29
42
|
gap: "not wrapped up: {0}", gapUnchecked: "{0} checklist item(s) unchecked", gapNoResult: "no result", gapJoin: ", ", acknowledge: "Acknowledge", acknowledging: "Acknowledging…", answering: "Answering…",
|
|
30
43
|
ageNow: "just now", ageMin: "{0} min", ageHour: "{0} h", ageDay: "{0} d",
|
|
@@ -35,9 +48,21 @@ register("needs", {
|
|
|
35
48
|
notifyInsecure: "Notifications need a secure address (localhost or the HTTPS public link), not a plain-HTTP LAN address.",
|
|
36
49
|
notifyUnsupported: "This browser cannot show notifications.", turnOn: "Turn on", turnOff: "Turn off",
|
|
37
50
|
typePrompt: "Fleet prompt", typeAwaiting: "At its terminal", typeInstance: "Instance", typeDelivery: "Delivery", typeMissed: "Missed while offline",
|
|
51
|
+
proposals: "Agent requests", proposalFrom: "Request from {0}", proposalHint: "Nothing is created or changed until you approve. When you do, AgEnD checks the request, the target machine and your sign-in again, then runs it once.",
|
|
52
|
+
approve: "Approve", reject: "Reject", deciding: "Working…", expiresIn: "expires in {0} min", expiresSoon: "expires in under a minute",
|
|
53
|
+
applying: "Being applied…", openAgent: "Open the new agent's chat", decided: "Decided here", failedReason: "Reason: {0}",
|
|
54
|
+
f_runtime: "Runs on", f_machine: "Machine", f_thisPc: "This PC (Windows)", f_topic_name: "Name", f_backend: "CLI", f_model: "Model", f_directory: "Folder",
|
|
55
|
+
f_sandbox: "Access", f_description: "Description", f_display_name: "Display name", f_tags: "Tags", sb_read_only: "read-only", sb_workspace_write: "can write in its folder",
|
|
56
|
+
createWindows: "Create a Windows agent", changeAgent: "Change {0}",
|
|
57
|
+
r_applied: "Approved: the change is applied.", r_rejected: "Rejected: nothing was changed.", r_withdrawn: "Withdrawn by the agent: nothing was changed.",
|
|
58
|
+
r_expired: "This request ran out before it was decided: nothing was changed.", r_fleet_stopped: "The fleet stopped before it was applied: nothing was changed.",
|
|
59
|
+
r_request_no_longer_current: "The request is no longer current (the fleet or the Windows switch changed): nothing was changed.",
|
|
60
|
+
r_settings_changed: "The settings changed since the request: nothing was changed.", r_apply_failed: "It could not be applied.",
|
|
61
|
+
e_owner_required: "Only this fleet's owner, signed in on the AgEnD computer itself, can decide an agent's request.",
|
|
62
|
+
e_confirmation_not_pending: "This request was already decided or ran out.", e_not_found: "This request is no longer here.",
|
|
38
63
|
},
|
|
39
64
|
"zh-TW": {
|
|
40
|
-
title: "等你處理", empty: "目前沒有需要你處理的事", emptyHint: "agent 在等你時,會出現在這裡——也會出現在聊天 app 的 General。", emptyHintWeb: "agent 在等你時,會出現在這裡。",
|
|
65
|
+
otherEmpty: "沒有其他待處理事項。", title: "等你處理", empty: "目前沒有需要你處理的事", emptyHint: "agent 在等你時,會出現在這裡——也會出現在聊天 app 的 General。", emptyHintWeb: "agent 在等你時,會出現在這裡。",
|
|
41
66
|
open: "開啟聊天", kiroOpen: "開啟 Agent", kiroMigration: "遷移說明", openCard: "打開卡片", noAssignee: "任務看板(沒有負責人)", fleetSignIns: "AI 帳號", signIn: "連接帳號",
|
|
42
67
|
gap: "還沒補齊:{0}", gapUnchecked: "還有 {0} 項沒勾", gapNoResult: "沒有產出總結", gapJoin: "、", acknowledge: "確認", acknowledging: "確認中…", answering: "回覆中…",
|
|
43
68
|
ageNow: "剛剛", ageMin: "{0} 分鐘", ageHour: "{0} 小時", ageDay: "{0} 天",
|
|
@@ -48,11 +73,24 @@ register("needs", {
|
|
|
48
73
|
notifyInsecure: "通知需要安全的網址(localhost 或 HTTPS 公開連結),區網的一般 HTTP 網址不行。",
|
|
49
74
|
notifyUnsupported: "這個瀏覽器無法顯示通知。", turnOn: "開啟", turnOff: "關閉",
|
|
50
75
|
typePrompt: "Fleet 提示", typeAwaiting: "在終端機上", typeInstance: "Agent", typeDelivery: "傳送", typeMissed: "離線時錯過",
|
|
76
|
+
proposals: "Agent 的請求", proposalFrom: "{0} 的請求", proposalHint: "在你核准之前,不會建立或修改任何東西。核准時,AgEnD 會再次檢查這個請求、目標電腦和你的登入,然後只執行一次。",
|
|
77
|
+
approve: "核准", reject: "拒絕", deciding: "處理中…", expiresIn: "{0} 分鐘後過期", expiresSoon: "不到一分鐘後過期",
|
|
78
|
+
applying: "正在套用…", openAgent: "開啟新 agent 的聊天", decided: "已在這裡決定", failedReason: "原因:{0}",
|
|
79
|
+
f_runtime: "執行於", f_machine: "電腦", f_thisPc: "這台電腦(Windows)", f_topic_name: "名稱", f_backend: "CLI", f_model: "模型", f_directory: "資料夾",
|
|
80
|
+
f_sandbox: "存取權限", f_description: "說明", f_display_name: "顯示名稱", f_tags: "標籤", sb_read_only: "唯讀", sb_workspace_write: "可寫入它的資料夾",
|
|
81
|
+
createWindows: "建立 Windows agent", changeAgent: "修改 {0}",
|
|
82
|
+
r_applied: "已核准:變更已套用。", r_rejected: "已拒絕:沒有任何變更。", r_withdrawn: "agent 已撤回:沒有任何變更。",
|
|
83
|
+
r_expired: "這個請求在決定前就過期了:沒有任何變更。", r_fleet_stopped: "套用前 fleet 已停止:沒有任何變更。",
|
|
84
|
+
r_request_no_longer_current: "這個請求已不再有效(fleet 或 Windows 開關已改變):沒有任何變更。",
|
|
85
|
+
r_settings_changed: "提出請求後設定已變更:沒有任何變更。", r_apply_failed: "無法套用。",
|
|
86
|
+
e_owner_required: "只有在 AgEnD 這台電腦上登入的 fleet 擁有者,才能決定 agent 的請求。",
|
|
87
|
+
e_confirmation_not_pending: "這個請求已經被決定或已過期。", e_not_found: "這個請求已不在這裡。",
|
|
51
88
|
},
|
|
52
89
|
});
|
|
53
90
|
const tn = (k, ...v) => t(`needs.${k}`, ...v);
|
|
54
91
|
/** Stale shells keep the old app-i18n.js; a missing key would otherwise show as app.needs_reason_*. */
|
|
55
92
|
function itemReason(item) {
|
|
93
|
+
if (item.runtimeUpdate) return runtimeUpdateText("attention");
|
|
56
94
|
const text = reasonText(item);
|
|
57
95
|
if (typeof text === "string" && text.startsWith("app.needs_reason_") && (item.type === "missed" || item.reason === "missed_offline")) {
|
|
58
96
|
return tn("typeMissed");
|
|
@@ -131,9 +169,21 @@ export function groupNeeds(items) {
|
|
|
131
169
|
return [...groups.values()];
|
|
132
170
|
}
|
|
133
171
|
|
|
172
|
+
/**
|
|
173
|
+
* alpha.2 (M-2300): what this page decided, kept for the life of the page — the request's id → "busy" while its POST is
|
|
174
|
+
* out, then the server's answer ({ view, agent, message }): it stays shown after the list drops the request.
|
|
175
|
+
*/
|
|
176
|
+
export const decisions = createStore({});
|
|
177
|
+
|
|
134
178
|
export function NeedsPanel({ navKey }) {
|
|
135
179
|
const lease = useLease(navKey);
|
|
136
|
-
const { ready, needsLoaded, needs, chatOwner: owner, instances, connections } = useStore(appStore);
|
|
180
|
+
const { ready, needsLoaded, needs, chatOwner: owner, instances, connections, proposals } = useStore(appStore);
|
|
181
|
+
// A tab opened before an upgrade has this panel but not the app.js that installs the list (it never set `proposals`):
|
|
182
|
+
// install it here then. On a current page app.js already did, and this panel reads nothing itself (#1374).
|
|
183
|
+
useEffect(() => { if (appStore.get().proposals === undefined) installProposals(); }, []);
|
|
184
|
+
const asks = Array.isArray(proposals) ? proposals : [];
|
|
185
|
+
const done = useStore(decisions);
|
|
186
|
+
const decidedHere = Object.entries(done).filter(([id, d]) => d && d !== "busy" && !asks.some((p) => p.id === id));
|
|
137
187
|
// #1854: a fleet with no chat connection (web only, or not known yet) has no General to point at.
|
|
138
188
|
const chatApp = connections > 0;
|
|
139
189
|
const names = useStore(namesStore);
|
|
@@ -146,16 +196,25 @@ export function NeedsPanel({ navKey }) {
|
|
|
146
196
|
useEffect(() => { lease.interval(() => tick((n) => n + 1), 30_000); }, [lease]);
|
|
147
197
|
// The chat store owns a prompt's busy/answered state; redraw when it changes (and when it arrives).
|
|
148
198
|
useEffect(() => { if (owner) return owner.subscribe(() => tick((n) => n + 1)); return undefined; }, [owner, lease]);
|
|
149
|
-
const
|
|
199
|
+
const updates = items.filter(item => item.runtimeUpdate);
|
|
200
|
+
const groups = groupNeeds(items.filter(item => !item.runtimeUpdate));
|
|
201
|
+
if (updates.length) groups.push({ instance: "", items: updates });
|
|
150
202
|
const nowMs = Date.now();
|
|
151
203
|
return html`<div data-effect-panel="needs" class="panel p-needs">
|
|
152
|
-
<${PanelHeader} title=${tn("title")} sub=${items.length ? t("app.needsCount", items.length) : null} />
|
|
204
|
+
<${PanelHeader} title=${tn("title")} sub=${items.length + asks.length ? t("app.needsCount", items.length + asks.length) : null} />
|
|
153
205
|
<div data-trust="panel-content" class="panel-body"><div class="col">
|
|
154
|
-
${
|
|
155
|
-
|
|
156
|
-
|
|
206
|
+
${asks.length || decidedHere.length ? html`<section class="n-group n-proposals" aria-label=${tn("proposals")}>
|
|
207
|
+
<h2 class="n-group-head">${tn("proposals")}</h2>
|
|
208
|
+
${asks.map((p) => html`<${ProposalItem} key=${p.id} proposal=${p} nowMs=${nowMs} />`)}
|
|
209
|
+
${decidedHere.map(([id, d]) => html`<${ProposalResult} key=${id} result=${d} />`)}
|
|
210
|
+
</section>` : null}
|
|
211
|
+
${(!ready || needsLoaded === false) && !items.length && !asks.length ? html`<${Skeleton} variant="rows" lines=${3} />`
|
|
212
|
+
: !items.length && !asks.length && !decidedHere.length ? hostDirectoryNoticesOffered() ? html`<p class="muted">${tn("otherEmpty")}</p>` : html`<${Empty} icon="check" title=${tn("empty")} hint=${tn(chatApp ? "emptyHint" : "emptyHintWeb")} />`
|
|
213
|
+
: groups.map((g) => html`<section key=${JSON.stringify([g.instance, g.items[0]?.type === "config", !!g.items[0]?.runtimeUpdate])} class="n-group" aria-label=${g.items[0]?.runtimeUpdate ? runtimeUpdateText("attention") : g.instance}>
|
|
214
|
+
<h2 class="n-group-head">${g.items[0]?.runtimeUpdate ? runtimeUpdateText("attention") : g.instance ? html`<a href=${chatPath(g.instance)} title=${g.instance}>${nameFor(g.instance)}</a>` : g.items[0]?.type === "config" ? t("app.settings") : tn(g.items.some(i => i.type === "backend") ? "fleetSignIns" : "noAssignee")}</h2>
|
|
157
215
|
${g.items.map((item) => html`<${NeedsItem} key=${item.id} item=${item} nowMs=${nowMs} owner=${owner} />`)}
|
|
158
216
|
</section>`)}
|
|
217
|
+
<${HostDirectoryNotices} />
|
|
159
218
|
<${NotifyToggle} />
|
|
160
219
|
</div></div>
|
|
161
220
|
</div>`;
|
|
@@ -205,6 +264,8 @@ function NeedsItem({ item, nowMs, owner }) {
|
|
|
205
264
|
<div class="n-body">
|
|
206
265
|
<div class="n-title"><strong>${itemReason(item)}</strong><span class="n-age">${age(item.since, nowMs)}</span></div>
|
|
207
266
|
${detailOf(item) ? html`<p class="n-detail">${detailOf(item)}</p>` : null}
|
|
267
|
+
${item.type === "hub" && item.hubProposal ? html`<p class="n-detail">${item.hubProposal.action}</p><pre>${item.hubProposal.arguments}</pre><p class="n-detail">${item.hubProposal.consequences}</p>` : null}
|
|
268
|
+
${item.generalLocation ? html`<${GeneralLocation} name=${item.instance} attentionOnly=${true} />` : null}
|
|
208
269
|
<div class="n-actions">
|
|
209
270
|
${item.type === "prompt" && Array.isArray(item.actions) ? item.actions.filter((a) => !a.input).map((a) => html`<button key=${a.id} type="button" class="btn btn-sm"
|
|
210
271
|
disabled=${promptBusy} onClick=${() => answer(a.id)}>${(p ? p.busy : fallback === "busy") ? tn("answering") : a.label}</button>`) : null}
|
|
@@ -212,6 +273,7 @@ function NeedsItem({ item, nowMs, owner }) {
|
|
|
212
273
|
<${Icon} name="check" size=${14} />${ack === "busy" ? tn("acknowledging") : tn("acknowledge")}</button>` : null}
|
|
213
274
|
${(item.reason === "auth_paused" || item.reason === "backend_signin") && item.signIn && signInOffered() ? html`<button type="button" class="btn btn-sm btn-primary" onClick=${() => openSignIn(item.signIn)}>${tn("signIn")}</button>` : null}
|
|
214
275
|
${item.type === "task" && item.card ? html`<a class="btn btn-sm" href=${`/ui/fleet?card=${encodeURIComponent(item.card.code)}`}>${tn("openCard")}</a>` : null}
|
|
276
|
+
${item.runtimeUpdate ? html`<a class="btn btn-sm" href="/settings/runtimes">${runtimeUpdateText("open")}</a>` : null}
|
|
215
277
|
${item.kiroChoice === true ? html`<a class="btn btn-sm" href="https://github.com/songsid/AgEnD/blob/main/src/general-knowledge/skills/kiro-engine-migration/SKILL.md" target="_blank" rel="noopener noreferrer">${tn("kiroMigration")}</a>` : null}
|
|
216
278
|
${item.instance ? html`<a class="btn btn-sm btn-ghost" href=${chatPath(item.instance)}>${tn(item.kiroChoice === true ? "kiroOpen" : "open")}</a>` : null}
|
|
217
279
|
</div>
|
|
@@ -219,6 +281,110 @@ function NeedsItem({ item, nowMs, owner }) {
|
|
|
219
281
|
</article>`;
|
|
220
282
|
}
|
|
221
283
|
|
|
284
|
+
/**
|
|
285
|
+
* alpha.2 (M-2300): the request's summary as the owner reads it (junsion's §6: the machine, the CLI, the model, the
|
|
286
|
+
* folder, the access). The server's lines are the settings diff, escaped for a chat's markdown ("new\_instance.directory:
|
|
287
|
+
* absent → C:\\work"): here, unescaped and named — a create's fields as "Folder: C:\work", "Machine: This PC" when it
|
|
288
|
+
* names none; a change's as "Model: a → b"; any other line as it is. Text only (rendered as text, never markup).
|
|
289
|
+
*/
|
|
290
|
+
export function proposalLines(summary) {
|
|
291
|
+
const unescape = (s) => String(s).replace(/\\([\\`*_~[\]()<>|])/g, "$1").replace(/\[at\]/g, "@");
|
|
292
|
+
const lines = (Array.isArray(summary) ? summary : []).map(unescape);
|
|
293
|
+
const create = lines.some((l) => /^POST \/ui\/instances$/.test(l));
|
|
294
|
+
const out = [], label = (k) => { const key = `f_${k}`, s = tn(key); return s === `needs.${key}` ? k : s; };
|
|
295
|
+
// The access field's values, in words (matched by value: the two the request's schema allows).
|
|
296
|
+
const ACCESS = { "read-only": "sb_read_only", "workspace-write": "sb_workspace_write" };
|
|
297
|
+
const value = (_k, v) => (Object.hasOwn(ACCESS, v) ? tn(ACCESS[v]) : v);
|
|
298
|
+
let machine = false;
|
|
299
|
+
for (const l of lines) {
|
|
300
|
+
if (/^POST \/ui\/instances$/.test(l)) continue;
|
|
301
|
+
const m = /^new_instance\.([A-Za-z_]+): absent → (.*)$/.exec(l);
|
|
302
|
+
if (m) { if (m[1] === "machineId") machine = true; out.push(`${label(m[1] === "machineId" ? "machine" : m[1])}: ${value(m[1], m[2])}`); continue; }
|
|
303
|
+
const ch = /^(\S+) ([A-Za-z_]+): (.*) → (.*)$/.exec(l);
|
|
304
|
+
if (ch) { out.push(`${tn("changeAgent", ch[1])} · ${label(ch[2])}: ${ch[3]} → ${ch[4]}`); continue; }
|
|
305
|
+
out.push(l);
|
|
306
|
+
}
|
|
307
|
+
if (create && !machine) out.splice(1, 0, `${label("machine")}: ${tn("f_thisPc")}`);
|
|
308
|
+
return create ? [tn("createWindows"), ...out] : out;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* alpha.2 polish: a decided request's outcome in the PAGE's language (the server says it in the fleet's — an English page
|
|
313
|
+
* read 「變更已套用。」): by its reason code, else its state; the server's words only for a code this page does not know.
|
|
314
|
+
*/
|
|
315
|
+
export function outcomeText(outcome) {
|
|
316
|
+
if (!outcome) return t("app.failed");
|
|
317
|
+
for (const code of [outcome.reason_code, outcome.state]) {
|
|
318
|
+
if (typeof code !== "string") continue;
|
|
319
|
+
const key = `r_${code}`, s = tn(key);
|
|
320
|
+
if (s !== `needs.${key}`) return s;
|
|
321
|
+
}
|
|
322
|
+
return outcome.message || t("app.failed");
|
|
323
|
+
}
|
|
324
|
+
/** Why a click decided nothing, in the page's language (by the server's error code; its words only as a fallback). */
|
|
325
|
+
export function decideErrorText(r) {
|
|
326
|
+
const key = r && r.error ? `e_${r.error}` : "";
|
|
327
|
+
const s = key ? tn(key) : "";
|
|
328
|
+
return key && s !== `needs.${key}` ? s : (r && r.message) || t("app.failed");
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* alpha.2 (M-2300): one agent's request waiting for this web-only fleet's owner — what it would do (the server's own
|
|
333
|
+
* summary: the machine, the CLI, the model, the folder, the access), when it runs out, and Approve / Reject. One click
|
|
334
|
+
* per request on this page (claimed before the POST); the answer is the server's: applied, rejected, run out, already
|
|
335
|
+
* decided elsewhere, or failed with its reason.
|
|
336
|
+
*/
|
|
337
|
+
function ProposalItem({ proposal: p, nowMs }) {
|
|
338
|
+
const d = useStore(decisions)[p.id];
|
|
339
|
+
const busy = d === "busy" || p.state === "applying";
|
|
340
|
+
const [failed, setFailed] = useState(null);
|
|
341
|
+
const decide = async (decision) => {
|
|
342
|
+
if (decisions.get()[p.id]) return; // one POST in flight per request on this page
|
|
343
|
+
setFailed(null);
|
|
344
|
+
decisions.set((s) => ({ ...s, [p.id]: "busy" }));
|
|
345
|
+
const r = await decideProposal(p.id, decision);
|
|
346
|
+
// #2997 review (Prism P2): nothing decided (the network failed, the owner was refused, a bad answer) and the request
|
|
347
|
+
// still waits — the claim is released and why is said here, so the next click is taken; a decided one is kept.
|
|
348
|
+
const decided = r.view && r.view.state !== "pending";
|
|
349
|
+
if (!decided) {
|
|
350
|
+
decisions.set((s) => { const next = { ...s }; delete next[p.id]; return next; });
|
|
351
|
+
setFailed(decideErrorText(r));
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
decisions.set((s) => ({ ...s, [p.id]: { ...r, decision } }));
|
|
355
|
+
toast(r.view.outcome ? outcomeText(r.view.outcome) : decideErrorText(r), r.view.state === "applied");
|
|
356
|
+
};
|
|
357
|
+
const minutes = Math.floor((p.remaining_ms || 0) / 60_000);
|
|
358
|
+
return html`<article data-trust="permission" class="n-item">
|
|
359
|
+
<span class="n-icon"><${Icon} name="alert" size=${18} /></span>
|
|
360
|
+
<div class="n-body">
|
|
361
|
+
<div class="n-title"><strong>${tn("proposalFrom", p.requested_by)}</strong><span class="n-age">${age(p.requested_at, nowMs)} · ${minutes >= 1 ? tn("expiresIn", minutes) : tn("expiresSoon")}</span></div>
|
|
362
|
+
<ul class="n-detail">${proposalLines(p.summary).map((line, i) => html`<li key=${i}>${line}</li>`)}</ul>
|
|
363
|
+
<p class="note">${tn("proposalHint")}</p>
|
|
364
|
+
${failed ? html`<p class="note n-proposal-error" role="alert">${failed}</p>` : null}
|
|
365
|
+
<div class="n-actions">
|
|
366
|
+
<button type="button" class="btn btn-sm btn-primary" disabled=${busy} onClick=${() => decide("confirm")}>${busy ? (p.state === "applying" ? tn("applying") : tn("deciding")) : tn("approve")}</button>
|
|
367
|
+
<button type="button" class="btn btn-sm" disabled=${busy} onClick=${() => decide("reject")}>${tn("reject")}</button>
|
|
368
|
+
</div>
|
|
369
|
+
</div>
|
|
370
|
+
</article>`;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/** A request decided on this page: the server's outcome (and its reason), and the new agent's chat when one was created. */
|
|
374
|
+
function ProposalResult({ result: r }) {
|
|
375
|
+
const v = r.view, outcome = v && v.outcome;
|
|
376
|
+
const ok = !!(v && v.state === "applied");
|
|
377
|
+
return html`<article data-trust="permission" class=${`n-item${ok || (v && v.state === "rejected") ? "" : " bad"}`}>
|
|
378
|
+
<span class="n-icon"><${Icon} name=${ok ? "check" : "alert"} size=${18} /></span>
|
|
379
|
+
<div class="n-body">
|
|
380
|
+
<div class="n-title"><strong>${outcome ? outcomeText(outcome) : decideErrorText(r)}</strong><span class="n-age">${tn("decided")}</span></div>
|
|
381
|
+
${v ? html`<ul class="n-detail">${proposalLines(v.summary).map((line, i) => html`<li key=${i}>${line}</li>`)}</ul>` : null}
|
|
382
|
+
${outcome && outcome.detail ? html`<p class="note">${tn("failedReason", outcome.detail)}</p>` : null}
|
|
383
|
+
${ok && r.agent ? html`<div class="n-actions"><a class="btn btn-sm btn-primary" href=${chatPath(r.agent)} title=${r.agent}>${tn("openAgent")}</a></div>` : null}
|
|
384
|
+
</div>
|
|
385
|
+
</article>`;
|
|
386
|
+
}
|
|
387
|
+
|
|
222
388
|
/** The device's choice, as the page knows it (app-needs.js notifyStore): every mounted toggle shows the same. */
|
|
223
389
|
function NotifyToggle() {
|
|
224
390
|
const support = notifySupport();
|