@songsid/agend 2.3.5-alpha.7 → 2.3.5-alpha.9
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/dist/accounts-profiles.d.ts +6 -0
- package/dist/accounts-profiles.js +16 -0
- package/dist/accounts-profiles.js.map +1 -1
- package/dist/accounts-view.d.ts +17 -0
- package/dist/accounts-view.js +33 -6
- package/dist/accounts-view.js.map +1 -1
- package/dist/agent-cli-instructions.md +1 -1
- package/dist/agent-cli.js +5 -2
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-whats-new.js +5 -0
- package/dist/agent-whats-new.js.map +1 -1
- 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 +1 -1
- package/dist/auth-api.js +4 -2
- 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/backend/claude-code.d.ts +1 -0
- package/dist/backend/claude-code.js +13 -0
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/types.d.ts +4 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/mcp-tools.js +2 -2
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/claude-model-minimum.d.ts +7 -0
- package/dist/claude-model-minimum.js +16 -0
- package/dist/claude-model-minimum.js.map +1 -0
- package/dist/config-validator.js +2 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/daemon.d.ts +43 -1
- package/dist/daemon.js +176 -27
- package/dist/daemon.js.map +1 -1
- package/dist/decision-list.d.ts +2 -0
- package/dist/decision-list.js +1 -1
- package/dist/decision-list.js.map +1 -1
- package/dist/fleet-manager.d.ts +75 -3
- package/dist/fleet-manager.js +462 -53
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +14 -3
- package/dist/general-knowledge/skills/delegation-playbook/SKILL.md +4 -1
- package/dist/general-knowledge/steering/core-rules.md +1 -1
- package/dist/hub/catalog.d.ts +1 -1
- package/dist/hub/catalog.js +151 -33
- package/dist/hub/catalog.js.map +1 -1
- package/dist/hub/client.js +4 -0
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +6 -0
- package/dist/hub/compose/member.js +9 -1
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +55 -1
- package/dist/hub/compose/server.js +76 -10
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/directory/directory.d.ts +2 -0
- package/dist/hub/directory/directory.js +49 -4
- package/dist/hub/directory/directory.js.map +1 -1
- package/dist/hub/directory/types.d.ts +2 -0
- package/dist/hub/directory/types.js.map +1 -1
- 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/group-policy/admin-api.d.ts +30 -0
- package/dist/hub/group-policy/admin-api.js +83 -0
- package/dist/hub/group-policy/admin-api.js.map +1 -0
- package/dist/hub/group-policy/admin-control.d.ts +34 -0
- package/dist/hub/group-policy/admin-control.js +258 -0
- package/dist/hub/group-policy/admin-control.js.map +1 -0
- package/dist/hub/group-policy/admin-dto.d.ts +9 -1
- package/dist/hub/group-policy/admin-dto.js.map +1 -1
- 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 +88 -0
- package/dist/hub/group-policy/admin-impact.js.map +1 -0
- package/dist/hub/group-policy/authorization.d.ts +22 -0
- package/dist/hub/group-policy/authorization.js +147 -2
- package/dist/hub/group-policy/authorization.js.map +1 -1
- 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/resources.d.ts +13 -1
- package/dist/hub/group-policy/resources.js +92 -23
- package/dist/hub/group-policy/resources.js.map +1 -1
- package/dist/hub/group-policy/store.d.ts +11 -0
- package/dist/hub/group-policy/store.js +57 -2
- package/dist/hub/group-policy/store.js.map +1 -1
- 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 +2 -0
- package/dist/hub/http/compose.js +184 -8
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/core.d.ts +2 -0
- package/dist/hub/http/core.js +10 -1
- package/dist/hub/http/core.js.map +1 -1
- package/dist/hub/http/deps.d.ts +10 -0
- package/dist/hub/http/schema.js +4 -0
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/init/browser-certificate.d.ts +6 -1
- package/dist/hub/init/browser-certificate.js +22 -1
- package/dist/hub/init/browser-certificate.js.map +1 -1
- package/dist/hub/init/initializer.d.ts +11 -1
- package/dist/hub/init/initializer.js +202 -83
- package/dist/hub/init/initializer.js.map +1 -1
- package/dist/hub/init/layout.js +1 -1
- package/dist/hub/init/layout.js.map +1 -1
- package/dist/hub/init/text.js +2 -2
- package/dist/hub/init/text.js.map +1 -1
- package/dist/hub/init/types.d.ts +32 -4
- package/dist/hub/init/types.js.map +1 -1
- 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 +118 -0
- package/dist/hub/init/web.js +428 -0
- package/dist/hub/init/web.js.map +1 -0
- package/dist/hub/init/wizard.js +1 -3
- package/dist/hub/init/wizard.js.map +1 -1
- package/dist/hub/join/client.d.ts +35 -0
- package/dist/hub/join/client.js +112 -0
- package/dist/hub/join/client.js.map +1 -0
- package/dist/hub/join/descriptor.d.ts +45 -0
- package/dist/hub/join/descriptor.js +52 -0
- package/dist/hub/join/descriptor.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 +112 -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 +116 -0
- package/dist/hub/join/local.js +419 -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 +42 -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 +177 -0
- package/dist/hub/join/service.js +564 -0
- package/dist/hub/join/service.js.map +1 -0
- package/dist/hub/join/store.d.ts +97 -0
- package/dist/hub/join/store.js +87 -0
- package/dist/hub/join/store.js.map +1 -0
- package/dist/hub/join/trust.d.ts +13 -0
- package/dist/hub/join/trust.js +68 -0
- package/dist/hub/join/trust.js.map +1 -0
- package/dist/hub/member/pairing-api.d.ts +2 -0
- package/dist/hub/member/pairing-api.js +7 -1
- package/dist/hub/member/pairing-api.js.map +1 -1
- package/dist/hub/member/pairing-notices.d.ts +18 -0
- package/dist/hub/member/pairing-notices.js +60 -0
- package/dist/hub/member/pairing-notices.js.map +1 -0
- package/dist/hub/pairing-notices.d.ts +47 -0
- package/dist/hub/pairing-notices.js +246 -0
- package/dist/hub/pairing-notices.js.map +1 -0
- package/dist/hub/pairing.d.ts +39 -1
- package/dist/hub/pairing.js +316 -16
- package/dist/hub/pairing.js.map +1 -1
- package/dist/hub/protocol.d.ts +61 -0
- package/dist/hub/protocol.js +8 -1
- package/dist/hub/protocol.js.map +1 -1
- 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 +7 -1
- package/dist/hub/rooms.js +25 -13
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/runtime.d.ts +8 -1
- package/dist/hub/runtime.js +13 -0
- package/dist/hub/runtime.js.map +1 -1
- package/dist/hub/server.d.ts +3 -0
- package/dist/hub/server.js +18 -0
- package/dist/hub/server.js.map +1 -1
- 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 +13 -0
- package/dist/hub/sessions.js +36 -16
- package/dist/hub/sessions.js.map +1 -1
- 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 +95 -0
- package/dist/hub/settings-commit.js +490 -0
- package/dist/hub/settings-commit.js.map +1 -0
- package/dist/hub/settings-directory-decision.d.ts +433 -0
- package/dist/hub/settings-directory-decision.js +236 -0
- package/dist/hub/settings-directory-decision.js.map +1 -0
- package/dist/hub/settings-directory-proof.d.ts +77 -0
- package/dist/hub/settings-directory-proof.js +303 -0
- package/dist/hub/settings-directory-proof.js.map +1 -0
- package/dist/hub/store.d.ts +12 -2
- package/dist/hub/store.js +9 -5
- package/dist/hub/store.js.map +1 -1
- package/dist/hub/types.d.ts +15 -2
- 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/instance-lifecycle.d.ts +3 -0
- package/dist/instance-lifecycle.js +4 -0
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/locale.js +54 -30
- package/dist/locale.js.map +1 -1
- package/dist/login-controller.d.ts +9 -1
- package/dist/login-controller.js +20 -1
- package/dist/login-controller.js.map +1 -1
- package/dist/login-flows.js +4 -2
- package/dist/login-flows.js.map +1 -1
- package/dist/office-share-page.js +1 -1
- package/dist/office-share-page.js.map +1 -1
- package/dist/outbound-handlers.js +1 -1
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +2 -0
- package/dist/outbound-schemas.js +4 -2
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/pane-port.d.ts +1 -1
- package/dist/profile-signins.d.ts +107 -0
- package/dist/profile-signins.js +249 -0
- package/dist/profile-signins.js.map +1 -0
- package/dist/quickstart-api.js +2 -2
- package/dist/quickstart-api.js.map +1 -1
- package/dist/reply-buttons-controller.d.ts +5 -1
- package/dist/reply-buttons-controller.js +8 -4
- package/dist/reply-buttons-controller.js.map +1 -1
- package/dist/reply-buttons.d.ts +6 -2
- package/dist/reply-buttons.js +7 -3
- package/dist/reply-buttons.js.map +1 -1
- package/dist/scheduler/db.d.ts +10 -0
- package/dist/scheduler/db.js +38 -11
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/types.d.ts +6 -1
- package/dist/settings-api.d.ts +9 -1
- package/dist/settings-api.js +200 -4
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-confirmation.d.ts +1 -1
- package/dist/settings-confirmation.js +1 -1
- package/dist/settings-confirmation.js.map +1 -1
- package/dist/settings-effect.js +58 -0
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-http-confirmation.d.ts +3 -0
- package/dist/settings-http-confirmation.js +8 -5
- package/dist/settings-http-confirmation.js.map +1 -1
- package/dist/settings-request-capability.d.ts +5 -0
- package/dist/settings-request-capability.js +6 -1
- package/dist/settings-request-capability.js.map +1 -1
- package/dist/signin-keepalive.d.ts +2 -0
- package/dist/signin-keepalive.js +30 -2
- package/dist/signin-keepalive.js.map +1 -1
- package/dist/structured-signin-transport.d.ts +20 -2
- package/dist/structured-signin-transport.js +57 -6
- package/dist/structured-signin-transport.js.map +1 -1
- package/dist/team-membership.d.ts +7 -0
- package/dist/team-membership.js +10 -0
- package/dist/team-membership.js.map +1 -0
- package/dist/tmux-manager.d.ts +1 -1
- package/dist/tmux-manager.js +4 -1
- package/dist/tmux-manager.js.map +1 -1
- package/dist/topic-commands.js +1 -1
- package/dist/topic-commands.js.map +1 -1
- package/dist/ui/accounts-keepalive.js +10 -5
- package/dist/ui/accounts-manage.js +29 -11
- package/dist/ui/accounts-view.js +75 -28
- package/dist/ui/backend-signin.js +61 -16
- package/dist/ui/hub-attachments.js +3 -3
- package/dist/ui/hub-chat-strings.js +2 -0
- package/dist/ui/hub-client.js +50 -4
- package/dist/ui/hub-company-join-strings.js +74 -0
- package/dist/ui/hub-company-join.js +119 -0
- package/dist/ui/hub-group-policy.js +175 -0
- package/dist/ui/hub-group-strings.js +97 -0
- package/dist/ui/hub-owner-strings.js +12 -12
- package/dist/ui/hub-pairing-progress-strings.js +15 -0
- package/dist/ui/hub-quick-pairing.js +209 -0
- package/dist/ui/hub-quick-strings.js +43 -0
- package/dist/ui/hub-read-strings.js +7 -0
- package/dist/ui/hub-this-hub.js +112 -0
- package/dist/ui/hub-welcome.js +102 -0
- package/dist/ui/panel-hub.js +217 -28
- package/dist/ui/panel-needs.js +1 -1
- package/dist/ui/panel-settings.js +7 -4
- package/dist/ui/settings-apply.js +12 -5
- package/dist/ui/settings-devices.js +2 -2
- package/dist/ui/settings-dialogs.js +3 -1
- package/dist/ui/settings-hub-company-join.js +90 -0
- package/dist/ui/settings-hub-membership.js +20 -5
- package/dist/ui/settings-hub-preview.js +74 -0
- package/dist/ui/settings-hub-run.js +60 -0
- package/dist/ui/settings-hub-section.js +30 -3
- package/dist/ui/settings-hub.js +52 -11
- package/dist/ui/settings-registry.js +2 -0
- package/dist/ui/settings-restart-strings.js +17 -0
- package/dist/ui/settings-strings.js +6 -4
- package/dist/ui/shared/accounts-keepalive.css +11 -6
- package/dist/ui/shared/accounts.css +68 -18
- package/dist/ui/shared/app-i18n.js +4 -1
- package/dist/ui/shared/app-shell.js +39 -25
- package/dist/ui/shared/app.css +9 -8
- package/dist/ui/shared/chat-strings.js +13 -13
- package/dist/ui/shared/hub-chat.css +12 -0
- package/dist/ui/shared/hub-groups.css +28 -0
- package/dist/ui/shared/hub-owner.css +19 -1
- package/dist/ui/shared/hub.css +8 -1
- package/dist/ui/shared/setup-host-text.js +4 -1
- package/dist/ui/shared/signin.js +3 -1
- package/dist/ui/shared/usage-dialog.js +3 -72
- package/dist/ui/shared/usage-meter.js +84 -0
- package/dist/ui/shared/web-authorize.js +4 -4
- package/dist/ui/structured-signin.js +24 -6
- package/dist/update-dispatch.d.ts +32 -4
- package/dist/update-dispatch.js +146 -16
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-launch.d.ts +1 -1
- package/dist/update-launch.js +2 -2
- package/dist/update-launch.js.map +1 -1
- package/dist/update-marker.d.ts +2 -0
- package/dist/update-marker.js.map +1 -1
- package/dist/view-api.d.ts +2 -8
- package/dist/view-api.js +3 -9
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.d.ts +7 -1
- package/dist/web-api.js +91 -14
- package/dist/web-api.js.map +1 -1
- package/dist/web-backend-login.d.ts +16 -2
- package/dist/web-backend-login.js +14 -0
- package/dist/web-backend-login.js.map +1 -1
- 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-terminal.d.ts +7 -0
- package/dist/web-terminal.js +14 -2
- package/dist/web-terminal.js.map +1 -1
- package/package.json +1 -1
package/dist/decision-list.d.ts
CHANGED
package/dist/decision-list.js
CHANGED
|
@@ -21,7 +21,7 @@ export function decisionListAnswer(all, opts = {}) {
|
|
|
21
21
|
if (opts.full === true)
|
|
22
22
|
return all;
|
|
23
23
|
const titles = all.map(d => ({
|
|
24
|
-
id: d.id, title: d.title, scope: d.scope, date: (d.updated_at || d.created_at || "").slice(0, 10),
|
|
24
|
+
id: d.id, title: d.title, scope: d.scope, ...(d.team ? { team: d.team } : {}), date: (d.updated_at || d.created_at || "").slice(0, 10),
|
|
25
25
|
...(d.tags?.length ? { tags: d.tags } : {}),
|
|
26
26
|
...(d.status && d.status !== "active" ? { status: d.status } : {}),
|
|
27
27
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decision-list.js","sourceRoot":"","sources":["../src/decision-list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"decision-list.js","sourceRoot":"","sources":["../src/decision-list.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,MAAM,oBAAoB,GAAG,6GAA6G,CAAC;AAElJ,sHAAsH;AACtH,SAAS,IAAI,CAAC,GAAwB,EAAE,EAAU;IAChD,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IACzC,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC;IACxB,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/B,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAClD,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,GAAwB,EAAE,IAAI,GAAqC,EAAE;IACtG,IAAI,OAAO,IAAI,CAAC,EAAE,KAAK,QAAQ,IAAI,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC;QAClD,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;QACpC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,oEAAoE,EAAE,CAAC;IAC7I,CAAC;IACD,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI;QAAE,OAAO,GAAG,CAAC;IACnC,MAAM,MAAM,GAAoB,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5C,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC;QACtI,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC3C,GAAG,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACnE,CAAC,CAAC,CAAC;IACJ,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;AAC3D,CAAC"}
|
package/dist/fleet-manager.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ import { type WebAccount } from "./web-profile.js";
|
|
|
93
93
|
import type { WebPerson as WebPersonView } from "./web-api.js";
|
|
94
94
|
import { ReplyButtonsController } from "./reply-buttons-controller.js";
|
|
95
95
|
import { WebFileLedger } from "./web-upload.js";
|
|
96
|
+
import type { ActiveDecisionRow } from "./daemon.js";
|
|
96
97
|
import { AppearanceTools } from "./web-appearance-tools.js";
|
|
97
98
|
import { ModStore } from "./web-mod-store.js";
|
|
98
99
|
import { type CachedImage } from "./web-images.js";
|
|
@@ -137,6 +138,7 @@ import { type AddResult, type RemoveResult } from "./accounts-profiles.js";
|
|
|
137
138
|
import { type SignOutResult } from "./accounts-signout.js";
|
|
138
139
|
import { MachineAccounts, type MachineActor, type MachineAccountResult } from "./machine-accounts.js";
|
|
139
140
|
import { MachineSignIns } from "./machine-signins.js";
|
|
141
|
+
import { ProfileSignIns } from "./profile-signins.js";
|
|
140
142
|
import { StormWindow } from "./storm-window.js";
|
|
141
143
|
import { SpawnGate } from "./spawn-gate.js";
|
|
142
144
|
import { BackendOutageTracker } from "./backend-outage.js";
|
|
@@ -318,6 +320,7 @@ export declare class RestartSupersededError extends Error {
|
|
|
318
320
|
}
|
|
319
321
|
export declare class FleetManager implements FleetContext, LifecycleContext, ArchiverContext, StatuslineWatcherContext, OutboundContext, AgentEndpointContext {
|
|
320
322
|
dataDir: string;
|
|
323
|
+
private decisionSnapshot;
|
|
321
324
|
private static signalTarget;
|
|
322
325
|
private static sighupHandlerInstalled;
|
|
323
326
|
/** Test seam: inject a spy to verify saveFleetConfig calls fsync. Default: fsyncSync. */
|
|
@@ -400,8 +403,21 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
400
403
|
private hubMemberExposureApi;
|
|
401
404
|
hubMemberExposures(): import("./hub/member/exposure-api.js").HubMemberExposureApi | null;
|
|
402
405
|
attachHubMemberExposures(api: import("./hub/member/exposure-api.js").HubMemberExposureApi | null): void;
|
|
403
|
-
/**
|
|
406
|
+
/** M-2687: local host-session setup; controller creation stays lazy while the Hub is off. */
|
|
407
|
+
private hubSetupController;
|
|
408
|
+
private hubSetupInit;
|
|
409
|
+
hubSetupSession(req: IncomingMessage): import("./hub/init/types.js").HubInitHostOwner | null;
|
|
410
|
+
hubSetup(): Promise<import("./hub/init/web.js").HubWebInitializer>;
|
|
411
|
+
/** The member's company sign-in controller; separate from host-owned Hub initialization. */
|
|
412
|
+
private companyJoinController;
|
|
413
|
+
private companyJoinInit;
|
|
414
|
+
private companyObservedMembership;
|
|
415
|
+
private companyMembershipWrite;
|
|
416
|
+
hubCompanySession(req: IncomingMessage): import("./hub/join/local-journal.js").JoinLocalSession | null;
|
|
417
|
+
hubCompanyJoin(): Promise<import("./hub/join/local.js").CompanyJoinController>;
|
|
418
|
+
invalidateHubCompanyJoin(): void;
|
|
404
419
|
private hubMemberPairingApi;
|
|
420
|
+
private hubPairingNotices;
|
|
405
421
|
hubMemberPairing(): ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null;
|
|
406
422
|
attachHubMemberPairing(api: ReturnType<typeof import("./hub/member/pairing-api.js").createHubMemberPairingApi> | null): void;
|
|
407
423
|
private readonly generalLocationFlights;
|
|
@@ -451,6 +467,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
451
467
|
private observeHubSwitches;
|
|
452
468
|
/** Reads the raw configuration at run time (the newest wins); off and never started: returns before any import. */
|
|
453
469
|
private applyHubSwitches;
|
|
470
|
+
/** M-2682: the one writer for sealed Hub settings, created with the Hub runtime. */
|
|
471
|
+
private hubSettingsWriter;
|
|
454
472
|
/** Single flight: one import, one runtime, assigned once; every caller (and Stop) gets that same runtime. */
|
|
455
473
|
private hubRuntimeCreated;
|
|
456
474
|
/**
|
|
@@ -526,6 +544,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
526
544
|
getHubHolds(): readonly import("./hub/runtime.js").HubHold[];
|
|
527
545
|
hubBrowserCertificate(): import("./hub/browser-certificate.js").HubBrowserCertificateControl | null;
|
|
528
546
|
hubRetention(): import("./hub/retention.js").HubRetentionControl | null;
|
|
547
|
+
/** M-2682: an unfinished sealed-settings commit; Hub setting saves wait until recover() has run. */
|
|
548
|
+
hubSettingsBusy(): boolean;
|
|
549
|
+
/** #3298 S-89: this fleet's own Hub offers group permissions (the page mark that shows Settings → Hub's Group permissions row). */
|
|
550
|
+
hubGroupPermissions(): boolean;
|
|
529
551
|
private observeRuntimeSwitches;
|
|
530
552
|
/**
|
|
531
553
|
* Turned off: what it allowed ends now — the paired computers' connections (their agents show as offline) or this PC's
|
|
@@ -1985,6 +2007,10 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
1985
2007
|
* Stopped/paused ClassicBot entries count too; their workspace is exactly
|
|
1986
2008
|
* the one startClassicInstance builds, not this FleetManager's dataDir.
|
|
1987
2009
|
*/
|
|
2010
|
+
/** Take the startup snapshot of every active decision (text cut to 200 characters); see activeDecisions. */
|
|
2011
|
+
snapshotActiveDecisions(): void;
|
|
2012
|
+
/** The startup snapshot of active decisions, for a daemon's Active Decisions (it selects and caps its own). */
|
|
2013
|
+
activeDecisions(): readonly ActiveDecisionRow[];
|
|
1988
2014
|
kiroPeerWorkingDirectories(name: string): string[];
|
|
1989
2015
|
/**
|
|
1990
2016
|
* Probe the same executable set exposed by the web backend catalog.
|
|
@@ -2429,6 +2455,17 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2429
2455
|
beginUpdateProgress(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): void;
|
|
2430
2456
|
/** Persist the public response, wait for idle, then start the canonical service restart. */
|
|
2431
2457
|
requestFullRestart(adapter: ChannelAdapter, chatId: string, threadId: string | undefined, messageId: string): Promise<boolean>;
|
|
2458
|
+
/**
|
|
2459
|
+
* S-92: the same tracked reload for a web-only fleet's Settings restart — no chat message to carry its progress: the
|
|
2460
|
+
* marker names the web (WEB_RESTART_TARGET), a refusal is a fleet Notice, and the next fleet says it is back as one.
|
|
2461
|
+
*/
|
|
2462
|
+
private requestWebFullRestart;
|
|
2463
|
+
/**
|
|
2464
|
+
* S-92: a fleet (with no chat connection) that comes up from a web-only Settings restart says it is back as a fleet
|
|
2465
|
+
* Notice — the restart was announced as one. Anything else (a chat restart, an update, a plain boot): nothing here.
|
|
2466
|
+
*/
|
|
2467
|
+
private announceWebRestartDone;
|
|
2468
|
+
private launchTrackedFullRestart;
|
|
2432
2469
|
private isOwnedFullRestartMarker;
|
|
2433
2470
|
/** Give current work the same bounded idle grace used by graceful reload. */
|
|
2434
2471
|
private waitForFullRestartIdleGrace;
|
|
@@ -2896,6 +2933,24 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
2896
2933
|
* create paths. An empty or absent value supersedes nothing and needs nothing; anything else must be an id.
|
|
2897
2934
|
*/
|
|
2898
2935
|
private decisionSupersedes;
|
|
2936
|
+
/**
|
|
2937
|
+
* The scope (and team) a new decision gets. Team membership is read from fleet.yaml now. Omitted scope: the poster's
|
|
2938
|
+
* team when they are in exactly one, project (this exact directory) when they are in none; in several, they choose.
|
|
2939
|
+
* A team decision goes only to a team the poster is in.
|
|
2940
|
+
*/
|
|
2941
|
+
decisionScopeFor(instance: string, scope: unknown, team: unknown): {
|
|
2942
|
+
scope: "project" | "team" | "fleet";
|
|
2943
|
+
team?: string;
|
|
2944
|
+
teams: string[];
|
|
2945
|
+
} | {
|
|
2946
|
+
error: string;
|
|
2947
|
+
};
|
|
2948
|
+
/**
|
|
2949
|
+
* #3421 review: a team decision is only for its team's current members — reading it back through an update (even an
|
|
2950
|
+
* empty one) or archiving it is refused to anyone else, exactly as list/get and supersede are. The refusal names it
|
|
2951
|
+
* "not found", as for an id that does not exist, and changes nothing. Project and fleet decisions: as before.
|
|
2952
|
+
*/
|
|
2953
|
+
decisionHiddenFrom(instance: string, id: unknown): string | null;
|
|
2899
2954
|
handleDecisionCrudHttp(instance: string, op: string, args: Record<string, unknown>): Promise<unknown>;
|
|
2900
2955
|
handleTaskCrudHttp(instance: string, args: Record<string, unknown>): Promise<unknown>;
|
|
2901
2956
|
handleSetDisplayNameHttp(instance: string, name: string): Promise<unknown>;
|
|
@@ -3429,6 +3484,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
3429
3484
|
* told as a Notice, and push it to the dashboard. False on any other fleet (its chat says it; nothing is kept).
|
|
3430
3485
|
*/
|
|
3431
3486
|
private recordWebNotice;
|
|
3487
|
+
/** #3373 review P2: recordWebNotice for a notice that must be on disk first — true only once it was written. */
|
|
3488
|
+
private recordWebNoticeDurable;
|
|
3432
3489
|
private static readonly FLEET_ERROR_THROTTLE_MS;
|
|
3433
3490
|
private fleetErrorNotices;
|
|
3434
3491
|
/**
|
|
@@ -4187,6 +4244,12 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4187
4244
|
private browserSignInOwnerCurrent;
|
|
4188
4245
|
/** #2599: default-account controls share the exact writer reservation with chat/profile/install. */
|
|
4189
4246
|
get browserBackendSignIns(): BrowserBackendSignIns;
|
|
4247
|
+
private profileSignInsInstance;
|
|
4248
|
+
/**
|
|
4249
|
+
* #3212: a NAMED account's sign-in on this host from Settings → Accounts — #2599's StructuredSignIn (press Sign in, open the page, paste the code), pointed at
|
|
4250
|
+
* that profile's own folder (`CLAUDE_CONFIG_DIR`), under the host's login window like every other credential writer. Not the default account's checklist.
|
|
4251
|
+
*/
|
|
4252
|
+
get profileSignIns(): ProfileSignIns;
|
|
4190
4253
|
private needsYouBackendSignIns;
|
|
4191
4254
|
/** #2233: sign-ins started from the web dashboard (local admin sessions), on the same controller as chat's. */
|
|
4192
4255
|
private webBackendLoginsInstance;
|
|
@@ -4225,6 +4288,11 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4225
4288
|
* usage is the usage panel's cached read (never forced), given at most `usageWaitMs` before the view is sent without it.
|
|
4226
4289
|
*/
|
|
4227
4290
|
accountsView(usageWaitMs?: number): Promise<AccountsView>;
|
|
4291
|
+
/**
|
|
4292
|
+
* A sign-in just finished for this account: look at its Keep sign-in alive setting once now (when it is on), so what the Accounts row says about
|
|
4293
|
+
* "the last check" is not the one from before the sign-in. Never awaited, and never allowed to fail the sign-in's own follow-up.
|
|
4294
|
+
*/
|
|
4295
|
+
private keepAliveAfterSignIn;
|
|
4228
4296
|
/** #3292: the keep-alive service (built on first use, so the Accounts view can read settings before startup finishes). */
|
|
4229
4297
|
private keepAliveService;
|
|
4230
4298
|
private startSignInKeepAlive;
|
|
@@ -4283,12 +4351,16 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
4283
4351
|
private accountUses;
|
|
4284
4352
|
/** #3212 PR 2: Settings → Accounts → + Add account (accounts-profiles.ts). `by`: the session's label, for the fleet log. */
|
|
4285
4353
|
addAccountProfile(backend: string, name: unknown, by: string, machine?: MachineActor): AddResult | Promise<MachineAccountResult>;
|
|
4354
|
+
/** The profile names the configuration refers to for this backend — an agent, a ClassicBot room, the fleet default — whether or not their folders exist yet. */
|
|
4355
|
+
private configuredProfileNames;
|
|
4286
4356
|
/**
|
|
4287
4357
|
* #3212 PR 2: Settings → Accounts → Remove. Refused while anything uses it or a sign-in for it runs (the login controller,
|
|
4288
4358
|
* or the login window held for this backend by a sign-in whose profile is not known yet); see accounts-profiles.ts.
|
|
4289
4359
|
* The fleet log records who removed which backend's profile — never what was in it.
|
|
4290
4360
|
*/
|
|
4291
|
-
removeAccountProfile(backend: string, name: unknown, confirm: unknown, by: string, machine?: MachineActor
|
|
4361
|
+
removeAccountProfile(backend: string, name: unknown, confirm: unknown, by: string, machine?: MachineActor, opts?: {
|
|
4362
|
+
cancelSignIn?: true;
|
|
4363
|
+
}): Promise<RemoveResult | MachineAccountResult>;
|
|
4292
4364
|
/**
|
|
4293
4365
|
* Remove's whole safety proof, read now (#3291 review): who uses the account — configured agents and live daemons, the
|
|
4294
4366
|
* fleet default, ClassicBot rooms read strictly — and whether a sign-in for it runs. `ownClaim`: the login window this
|
|
@@ -5033,7 +5105,7 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
5033
5105
|
* audit notice — and only once all of that holds is the attempt written to
|
|
5034
5106
|
* disk and fsynced, before anything spawns.
|
|
5035
5107
|
*/
|
|
5036
|
-
requestSettingsSelfRestart(
|
|
5108
|
+
requestSettingsSelfRestart(requestedJobId: string | null, key: string): Promise<SelfRestartResult>;
|
|
5037
5109
|
/** The audit notice, and the message the restart progress will edit. */
|
|
5038
5110
|
private postSelfRestartNotice;
|
|
5039
5111
|
/** Jobs outlive this process on purpose; see apply-job.ts. */
|