@songsid/agend 2.4.0-beta.1 → 2.4.0-beta.10
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/agent-cli-instructions.md +4 -1
- package/dist/agent-cli.js +14 -2
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-endpoint.d.ts +3 -1
- package/dist/agent-endpoint.js +15 -3
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-token-header.d.ts +1 -1
- package/dist/agent-token-header.js +1 -1
- package/dist/app-message-origin.d.ts +2 -0
- package/dist/app-message-origin.js +3 -0
- package/dist/app-message-origin.js.map +1 -0
- package/dist/auth-api.d.ts +8 -0
- package/dist/auth-api.js +39 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/authority/authority-state.d.ts +7 -0
- package/dist/authority/authority-state.js +17 -2
- package/dist/authority/authority-state.js.map +1 -1
- package/dist/authority/web-authority.d.ts +11 -1
- package/dist/authority/web-authority.js +11 -1
- package/dist/authority/web-authority.js.map +1 -1
- package/dist/backend/agy-model-switch.d.ts +22 -0
- package/dist/backend/agy-model-switch.js +62 -0
- package/dist/backend/agy-model-switch.js.map +1 -0
- package/dist/backend/antigravity.d.ts +9 -2
- package/dist/backend/antigravity.js +84 -9
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/claude-code.js +20 -5
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/cli-env-probe.js +1 -1
- package/dist/backend/cli-env-probe.js.map +1 -1
- package/dist/backend/cli-runtime-switch.d.ts +90 -0
- package/dist/backend/cli-runtime-switch.js +273 -0
- package/dist/backend/cli-runtime-switch.js.map +1 -0
- package/dist/backend/codex-footer-hints.d.ts +1 -0
- package/dist/backend/codex-footer-hints.js +15 -0
- package/dist/backend/codex-footer-hints.js.map +1 -1
- package/dist/backend/codex-model-switch.d.ts +41 -0
- package/dist/backend/codex-model-switch.js +170 -0
- package/dist/backend/codex-model-switch.js.map +1 -0
- package/dist/backend/codex.d.ts +6 -4
- package/dist/backend/codex.js +26 -9
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/credential-profile.js +1 -1
- package/dist/backend/credential-profile.js.map +1 -1
- package/dist/backend/grok-model-switch.d.ts +16 -0
- package/dist/backend/grok-model-switch.js +45 -0
- package/dist/backend/grok-model-switch.js.map +1 -0
- package/dist/backend/grok.js +1 -1
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/kiro.js +4 -4
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/muse.d.ts +2 -0
- package/dist/backend/muse.js +7 -3
- package/dist/backend/muse.js.map +1 -1
- package/dist/backend/native-pane.js +1 -1
- package/dist/backend/native-pane.js.map +1 -1
- package/dist/backend/types.d.ts +2 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/backend-availability.d.ts +22 -0
- package/dist/backend-availability.js +71 -2
- package/dist/backend-availability.js.map +1 -1
- package/dist/backend-signin-guide.js +1 -1
- package/dist/backend-signin-guide.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/adapters/discord.d.ts +10 -0
- package/dist/channel/adapters/discord.js +35 -0
- package/dist/channel/adapters/discord.js.map +1 -1
- package/dist/channel/adapters/telegram.d.ts +2 -0
- package/dist/channel/adapters/telegram.js +3 -0
- package/dist/channel/adapters/telegram.js.map +1 -1
- package/dist/channel/mcp-server.js +10 -1
- package/dist/channel/mcp-server.js.map +1 -1
- package/dist/channel/mcp-tools.js +9 -1
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/channel/tool-router.js +9 -2
- package/dist/channel/tool-router.js.map +1 -1
- package/dist/channel/types.d.ts +10 -0
- package/dist/classic-channel-manager.d.ts +1 -1
- package/dist/classic-channel-manager.js +1 -1
- package/dist/cli-audited.js +14 -13
- package/dist/cli-audited.js.map +1 -1
- package/dist/cli-capability.d.ts +3 -0
- package/dist/cli-capability.js.map +1 -1
- package/dist/cli-registry-check.js +1 -1
- package/dist/cli-registry-check.js.map +1 -1
- package/dist/cli-registry.d.ts +1 -0
- package/dist/cli-spec-antigravity.d.ts +1 -0
- package/dist/cli-spec-antigravity.js +3 -1
- package/dist/cli-spec-antigravity.js.map +1 -1
- package/dist/cli.js +8 -0
- package/dist/cli.js.map +1 -1
- package/dist/config-validator.js +18 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/connect/control.d.ts +20 -0
- package/dist/connect/control.js +236 -0
- package/dist/connect/control.js.map +1 -0
- package/dist/connect/install.d.ts +13 -0
- package/dist/connect/install.js +12 -0
- package/dist/connect/install.js.map +1 -0
- package/dist/connect/mcp.d.ts +9 -0
- package/dist/connect/mcp.js +10 -0
- package/dist/connect/mcp.js.map +1 -0
- package/dist/connect/protocol.d.ts +38 -0
- package/dist/connect/protocol.js +36 -0
- package/dist/connect/protocol.js.map +1 -0
- package/dist/connect/service.d.ts +19 -0
- package/dist/connect/service.js +79 -0
- package/dist/connect/service.js.map +1 -0
- package/dist/connect/stdio-entry.d.ts +1 -0
- package/dist/connect/stdio-entry.js +6 -0
- package/dist/connect/stdio-entry.js.map +1 -0
- package/dist/connect/stdio.d.ts +5 -0
- package/dist/connect/stdio.js +33 -0
- package/dist/connect/stdio.js.map +1 -0
- package/dist/daemon.d.ts +64 -2
- package/dist/daemon.js +397 -31
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-consumed-watch.d.ts +2 -0
- package/dist/delivery-consumed-watch.js +4 -1
- package/dist/delivery-consumed-watch.js.map +1 -1
- package/dist/dispatcher-liveness.d.ts +51 -1
- package/dist/dispatcher-liveness.js +92 -2
- package/dist/dispatcher-liveness.js.map +1 -1
- package/dist/event-log.d.ts +1 -1
- package/dist/event-log.js +1 -1
- package/dist/fleet-manager.d.ts +222 -6
- package/dist/fleet-manager.js +1271 -100
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-windows-runtime.js +4 -2
- package/dist/fleet-windows-runtime.js.map +1 -1
- package/dist/general-knowledge/skills/credential-profiles/SKILL.md +11 -1
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +10 -0
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +18 -0
- package/dist/general-knowledge/skills/hub/SKILL.md +290 -24
- package/dist/general-knowledge/skills/model-discovery/SKILL.md +4 -0
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +118 -26
- package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +2 -0
- package/dist/hub/admin-dashboard.d.ts +85 -0
- package/dist/hub/admin-dashboard.js +177 -0
- package/dist/hub/admin-dashboard.js.map +1 -0
- package/dist/hub/attachments/store.d.ts +2 -0
- package/dist/hub/attachments/store.js +6 -0
- package/dist/hub/attachments/store.js.map +1 -1
- package/dist/hub/audit/index.d.ts +2 -0
- package/dist/hub/audit/index.js +8 -0
- package/dist/hub/audit/index.js.map +1 -1
- package/dist/hub/buttons.js +3 -1
- package/dist/hub/buttons.js.map +1 -1
- package/dist/hub/catalog.d.ts +7 -4
- package/dist/hub/catalog.js +19 -10
- package/dist/hub/catalog.js.map +1 -1
- package/dist/hub/client.d.ts +13 -0
- package/dist/hub/client.js +85 -11
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +22 -0
- package/dist/hub/compose/member.js +233 -18
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +13 -0
- package/dist/hub/compose/server.js +107 -14
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/display-name.d.ts +10 -0
- package/dist/hub/display-name.js +35 -0
- package/dist/hub/display-name.js.map +1 -0
- package/dist/hub/execution/service.d.ts +1 -0
- package/dist/hub/execution/service.js +1 -1
- package/dist/hub/execution/service.js.map +1 -1
- package/dist/hub/fleet-info.d.ts +12 -0
- package/dist/hub/fleet-info.js +14 -0
- package/dist/hub/fleet-info.js.map +1 -0
- package/dist/hub/fleet-update-model.d.ts +100 -0
- package/dist/hub/fleet-update-model.js +15 -0
- package/dist/hub/fleet-update-model.js.map +1 -0
- package/dist/hub/fleet-updates.d.ts +46 -0
- package/dist/hub/fleet-updates.js +282 -0
- package/dist/hub/fleet-updates.js.map +1 -0
- package/dist/hub/fleet-versions.d.ts +28 -0
- package/dist/hub/fleet-versions.js +80 -0
- package/dist/hub/fleet-versions.js.map +1 -0
- package/dist/hub/group-policy/admin-api.d.ts +1 -0
- package/dist/hub/group-policy/admin-api.js +10 -1
- package/dist/hub/group-policy/admin-api.js.map +1 -1
- package/dist/hub/group-policy/admin-control.d.ts +1 -0
- package/dist/hub/group-policy/admin-control.js +13 -4
- package/dist/hub/group-policy/admin-control.js.map +1 -1
- package/dist/hub/group-policy/admin-dto.d.ts +39 -1
- package/dist/hub/group-policy/admin-dto.js.map +1 -1
- package/dist/hub/group-policy/admin-facts.d.ts +4 -2
- package/dist/hub/group-policy/admin-facts.js +17 -2
- package/dist/hub/group-policy/admin-facts.js.map +1 -1
- package/dist/hub/group-policy/admin-impact.d.ts +36 -6
- package/dist/hub/group-policy/admin-impact.js +21 -7
- package/dist/hub/group-policy/admin-impact.js.map +1 -1
- package/dist/hub/group-policy/admin-inventory.d.ts +2 -0
- package/dist/hub/group-policy/admin-inventory.js +13 -4
- package/dist/hub/group-policy/admin-inventory.js.map +1 -1
- package/dist/hub/group-policy/admin-search.d.ts +2 -1
- package/dist/hub/group-policy/admin-search.js +56 -7
- package/dist/hub/group-policy/admin-search.js.map +1 -1
- package/dist/hub/group-policy/authorization.d.ts +2 -0
- package/dist/hub/group-policy/authorization.js +7 -2
- package/dist/hub/group-policy/authorization.js.map +1 -1
- package/dist/hub/group-policy/impact-inventory.d.ts +4 -1
- package/dist/hub/group-policy/impact-inventory.js +23 -2
- package/dist/hub/group-policy/impact-inventory.js.map +1 -1
- package/dist/hub/group-policy/model.d.ts +52 -1
- package/dist/hub/group-policy/model.js +20 -7
- package/dist/hub/group-policy/model.js.map +1 -1
- package/dist/hub/group-policy/resources.d.ts +2 -0
- package/dist/hub/group-policy/resources.js +12 -1
- package/dist/hub/group-policy/resources.js.map +1 -1
- package/dist/hub/group-policy/store.js +22 -3
- package/dist/hub/group-policy/store.js.map +1 -1
- package/dist/hub/group-policy/team-subjects.d.ts +16 -0
- package/dist/hub/group-policy/team-subjects.js +32 -0
- package/dist/hub/group-policy/team-subjects.js.map +1 -0
- package/dist/hub/http/compose.d.ts +2 -0
- package/dist/hub/http/compose.js +385 -32
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/core.js +27 -0
- package/dist/hub/http/core.js.map +1 -1
- package/dist/hub/http/deps.d.ts +13 -0
- package/dist/hub/http/schema.js +21 -1
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/join/client.js +75 -42
- package/dist/hub/join/client.js.map +1 -1
- package/dist/hub/join/service.d.ts +1 -1
- package/dist/hub/join/service.js.map +1 -1
- package/dist/hub/mcp/auth-schema.d.ts +7 -0
- package/dist/hub/mcp/auth-schema.js +31 -0
- package/dist/hub/mcp/auth-schema.js.map +1 -0
- package/dist/hub/mcp/auth.d.ts +89 -0
- package/dist/hub/mcp/auth.js +374 -0
- package/dist/hub/mcp/auth.js.map +1 -0
- package/dist/hub/mcp/catalog.d.ts +44 -0
- package/dist/hub/mcp/catalog.js +31 -0
- package/dist/hub/mcp/catalog.js.map +1 -0
- package/dist/hub/mcp/door-schema.d.ts +7 -0
- package/dist/hub/mcp/door-schema.js +20 -0
- package/dist/hub/mcp/door-schema.js.map +1 -0
- package/dist/hub/mcp/http.d.ts +25 -0
- package/dist/hub/mcp/http.js +259 -0
- package/dist/hub/mcp/http.js.map +1 -0
- package/dist/hub/mcp/policy.d.ts +65 -0
- package/dist/hub/mcp/policy.js +153 -0
- package/dist/hub/mcp/policy.js.map +1 -0
- package/dist/hub/mcp/server.d.ts +3 -0
- package/dist/hub/mcp/server.js +32 -0
- package/dist/hub/mcp/server.js.map +1 -0
- package/dist/hub/mcp/tools.d.ts +31 -0
- package/dist/hub/mcp/tools.js +176 -0
- package/dist/hub/mcp/tools.js.map +1 -0
- package/dist/hub/member/display-name.d.ts +9 -0
- package/dist/hub/member/display-name.js +71 -0
- package/dist/hub/member/display-name.js.map +1 -0
- package/dist/hub/member/exposure-api.d.ts +6 -0
- package/dist/hub/member/exposure-api.js +13 -6
- package/dist/hub/member/exposure-api.js.map +1 -1
- package/dist/hub/member/exposures.d.ts +4 -0
- package/dist/hub/member/exposures.js +20 -0
- package/dist/hub/member/exposures.js.map +1 -1
- package/dist/hub/member/pairing-api.js +3 -2
- package/dist/hub/member/pairing-api.js.map +1 -1
- package/dist/hub/member/recommendations.d.ts +37 -0
- package/dist/hub/member/recommendations.js +129 -0
- package/dist/hub/member/recommendations.js.map +1 -0
- package/dist/hub/member/room-ask.d.ts +65 -5
- package/dist/hub/member/room-ask.js +269 -24
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-mention-feedback.d.ts +44 -0
- package/dist/hub/member/room-mention-feedback.js +121 -0
- package/dist/hub/member/room-mention-feedback.js.map +1 -0
- package/dist/hub/member/room-notification.d.ts +9 -0
- package/dist/hub/member/room-notification.js +2 -0
- package/dist/hub/member/room-notification.js.map +1 -0
- package/dist/hub/member/room-post-answers.d.ts +46 -0
- package/dist/hub/member/room-post-answers.js +152 -0
- package/dist/hub/member/room-post-answers.js.map +1 -0
- package/dist/hub/member/room-post-receipt.d.ts +21 -0
- package/dist/hub/member/room-post-receipt.js +49 -0
- package/dist/hub/member/room-post-receipt.js.map +1 -0
- package/dist/hub/member/room-post.d.ts +103 -0
- package/dist/hub/member/room-post.js +231 -0
- package/dist/hub/member/room-post.js.map +1 -0
- package/dist/hub/member/updates.d.ts +92 -0
- package/dist/hub/member/updates.js +316 -0
- package/dist/hub/member/updates.js.map +1 -0
- package/dist/hub/pairing.d.ts +15 -1
- package/dist/hub/pairing.js +33 -2
- package/dist/hub/pairing.js.map +1 -1
- package/dist/hub/person-prefs.d.ts +22 -0
- package/dist/hub/person-prefs.js +34 -0
- package/dist/hub/person-prefs.js.map +1 -0
- package/dist/hub/personal/owner-host.d.ts +140 -0
- package/dist/hub/personal/owner-host.js +287 -0
- package/dist/hub/personal/owner-host.js.map +1 -0
- package/dist/hub/personal/refusals.d.ts +11 -0
- package/dist/hub/personal/refusals.js +33 -0
- package/dist/hub/personal/refusals.js.map +1 -0
- package/dist/hub/personal/runtime-host.d.ts +26 -0
- package/dist/hub/personal/runtime-host.js +51 -0
- package/dist/hub/personal/runtime-host.js.map +1 -0
- package/dist/hub/personal/schema.d.ts +4 -0
- package/dist/hub/personal/schema.js +54 -0
- package/dist/hub/personal/schema.js.map +1 -0
- package/dist/hub/personal/turns.d.ts +39 -0
- package/dist/hub/personal/turns.js +221 -0
- package/dist/hub/personal/turns.js.map +1 -0
- package/dist/hub/personal/types.d.ts +42 -0
- package/dist/hub/personal/types.js +2 -0
- package/dist/hub/personal/types.js.map +1 -0
- package/dist/hub/policy.d.ts +1 -1
- package/dist/hub/policy.js +2 -0
- package/dist/hub/policy.js.map +1 -1
- package/dist/hub/protocol.d.ts +701 -1
- package/dist/hub/protocol.js +103 -14
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/published-version.d.ts +3 -0
- package/dist/hub/published-version.js +35 -0
- package/dist/hub/published-version.js.map +1 -0
- package/dist/hub/quota.js +3 -1
- package/dist/hub/quota.js.map +1 -1
- package/dist/hub/recommendation-model.d.ts +36 -0
- package/dist/hub/recommendation-model.js +9 -0
- package/dist/hub/recommendation-model.js.map +1 -0
- package/dist/hub/recommendations.d.ts +58 -0
- package/dist/hub/recommendations.js +211 -0
- package/dist/hub/recommendations.js.map +1 -0
- package/dist/hub/representative.d.ts +5 -0
- package/dist/hub/representative.js +6 -1
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/roles/admin-control.d.ts +29 -0
- package/dist/hub/roles/admin-control.js +187 -0
- package/dist/hub/roles/admin-control.js.map +1 -0
- package/dist/hub/roles/admin-types.d.ts +72 -0
- package/dist/hub/roles/admin-types.js +2 -0
- package/dist/hub/roles/admin-types.js.map +1 -0
- package/dist/hub/roles/allowed-list-control.d.ts +34 -0
- package/dist/hub/roles/allowed-list-control.js +179 -0
- package/dist/hub/roles/allowed-list-control.js.map +1 -0
- package/dist/hub/roles/allowed-list.d.ts +8 -0
- package/dist/hub/roles/allowed-list.js +49 -0
- package/dist/hub/roles/allowed-list.js.map +1 -0
- package/dist/hub/roles/audit-details.d.ts +144 -0
- package/dist/hub/roles/audit-details.js +26 -0
- package/dist/hub/roles/audit-details.js.map +1 -0
- package/dist/hub/roles/authority.d.ts +12 -0
- package/dist/hub/roles/authority.js +39 -3
- package/dist/hub/roles/authority.js.map +1 -1
- package/dist/hub/roles/change.d.ts +3 -1
- package/dist/hub/roles/change.js +7 -2
- package/dist/hub/roles/change.js.map +1 -1
- package/dist/hub/roles/clock.d.ts +3 -0
- package/dist/hub/roles/clock.js +1 -1
- package/dist/hub/roles/clock.js.map +1 -1
- package/dist/hub/roles/convert.js +1 -1
- package/dist/hub/roles/convert.js.map +1 -1
- package/dist/hub/roles/cutover-inventory.d.ts +2 -0
- package/dist/hub/roles/cutover-inventory.js +8 -1
- package/dist/hub/roles/cutover-inventory.js.map +1 -1
- package/dist/hub/roles/cutover.d.ts +2 -2
- package/dist/hub/roles/cutover.js +3 -4
- package/dist/hub/roles/cutover.js.map +1 -1
- package/dist/hub/roles/delegation.d.ts +4 -1
- package/dist/hub/roles/delegation.js +7 -2
- package/dist/hub/roles/delegation.js.map +1 -1
- package/dist/hub/roles/evaluate.d.ts +2 -1
- package/dist/hub/roles/evaluate.js +14 -0
- package/dist/hub/roles/evaluate.js.map +1 -1
- package/dist/hub/roles/expiry-effects.d.ts +8 -0
- package/dist/hub/roles/expiry-effects.js +50 -0
- package/dist/hub/roles/expiry-effects.js.map +1 -0
- package/dist/hub/roles/migrations.d.ts +7 -0
- package/dist/hub/roles/migrations.js +44 -0
- package/dist/hub/roles/migrations.js.map +1 -0
- package/dist/hub/roles/model.d.ts +25 -0
- package/dist/hub/roles/model.js +9 -3
- package/dist/hub/roles/model.js.map +1 -1
- package/dist/hub/roles/overview.d.ts +8 -0
- package/dist/hub/roles/overview.js +15 -0
- package/dist/hub/roles/overview.js.map +1 -0
- package/dist/hub/roles/resource-effects.d.ts +17 -0
- package/dist/hub/roles/resource-effects.js +62 -0
- package/dist/hub/roles/resource-effects.js.map +1 -0
- package/dist/hub/roles/review.d.ts +16 -0
- package/dist/hub/roles/review.js +42 -0
- package/dist/hub/roles/review.js.map +1 -0
- package/dist/hub/roles/writer.d.ts +14 -3
- package/dist/hub/roles/writer.js +64 -16
- package/dist/hub/roles/writer.js.map +1 -1
- package/dist/hub/room-context-model.d.ts +43 -0
- package/dist/hub/room-context-model.js +12 -0
- package/dist/hub/room-context-model.js.map +1 -0
- package/dist/hub/room-mention-feedback-model.d.ts +12 -0
- package/dist/hub/room-mention-feedback-model.js +12 -0
- package/dist/hub/room-mention-feedback-model.js.map +1 -0
- package/dist/hub/rooms/agents.d.ts +44 -10
- package/dist/hub/rooms/agents.js +277 -30
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/assistant.d.ts +1 -6
- package/dist/hub/rooms/assistant.js +7 -2
- package/dist/hub/rooms/assistant.js.map +1 -1
- package/dist/hub/rooms/automation.d.ts +24 -0
- package/dist/hub/rooms/automation.js +66 -0
- package/dist/hub/rooms/automation.js.map +1 -0
- package/dist/hub/rooms/buttons.d.ts +85 -0
- package/dist/hub/rooms/buttons.js +62 -0
- package/dist/hub/rooms/buttons.js.map +1 -0
- package/dist/hub/rooms/context-cursor.d.ts +18 -0
- package/dist/hub/rooms/context-cursor.js +61 -0
- package/dist/hub/rooms/context-cursor.js.map +1 -0
- package/dist/hub/rooms/context.d.ts +1 -1
- package/dist/hub/rooms/context.js +4 -4
- package/dist/hub/rooms/context.js.map +1 -1
- package/dist/hub/rooms/direct-view.d.ts +6 -2
- package/dist/hub/rooms/direct-view.js +3 -3
- package/dist/hub/rooms/direct-view.js.map +1 -1
- package/dist/hub/rooms/mentions.d.ts +15 -0
- package/dist/hub/rooms/mentions.js +43 -0
- package/dist/hub/rooms/mentions.js.map +1 -0
- package/dist/hub/rooms/post-replies.d.ts +23 -0
- package/dist/hub/rooms/post-replies.js +114 -0
- package/dist/hub/rooms/post-replies.js.map +1 -0
- package/dist/hub/rooms/schema.d.ts +9 -0
- package/dist/hub/rooms/schema.js +43 -0
- package/dist/hub/rooms/schema.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +163 -4
- package/dist/hub/rooms/service.js +795 -25
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +29 -3
- package/dist/hub/rooms.d.ts +12 -2
- package/dist/hub/rooms.js +88 -18
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/runtime.d.ts +1 -1
- package/dist/hub/runtime.js +17 -4
- package/dist/hub/runtime.js.map +1 -1
- package/dist/hub/server.d.ts +8 -1
- package/dist/hub/server.js +93 -7
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/session-directory-transition.d.ts +2 -1
- package/dist/hub/session-directory-transition.js +10 -3
- package/dist/hub/session-directory-transition.js.map +1 -1
- package/dist/hub/sessions.d.ts +1 -1
- package/dist/hub/sessions.js +26 -4
- package/dist/hub/sessions.js.map +1 -1
- package/dist/hub/settings-commit.d.ts +32 -1
- package/dist/hub/settings-commit.js +11 -4
- package/dist/hub/settings-commit.js.map +1 -1
- package/dist/hub/settings-directory-ca.js +1 -1
- package/dist/hub/settings-directory-ca.js.map +1 -1
- package/dist/hub/settings-directory-control.js +7 -7
- package/dist/hub/settings-directory-control.js.map +1 -1
- package/dist/hub/settings-directory-http.d.ts +2 -0
- package/dist/hub/settings-directory-http.js +21 -6
- package/dist/hub/settings-directory-http.js.map +1 -1
- package/dist/hub/settings-directory-proof.d.ts +5 -1
- package/dist/hub/settings-directory-proof.js +49 -10
- package/dist/hub/settings-directory-proof.js.map +1 -1
- package/dist/hub/settings-directory-recovery.js +2 -1
- package/dist/hub/settings-directory-recovery.js.map +1 -1
- package/dist/hub/settings-directory-save.d.ts +2 -0
- package/dist/hub/settings-directory-save.js +9 -6
- package/dist/hub/settings-directory-save.js.map +1 -1
- package/dist/hub/sharing.js +2 -2
- package/dist/hub/sharing.js.map +1 -1
- package/dist/hub/socket.d.ts +1 -0
- package/dist/hub/socket.js +39 -2
- package/dist/hub/socket.js.map +1 -1
- package/dist/hub/teams/index.d.ts +8 -3
- package/dist/hub/teams/index.js +106 -31
- package/dist/hub/teams/index.js.map +1 -1
- package/dist/hub/teams/store.d.ts +5 -1
- package/dist/hub/teams/store.js +25 -2
- package/dist/hub/teams/store.js.map +1 -1
- package/dist/hub/teams/types.d.ts +19 -2
- package/dist/hub/types.d.ts +159 -5
- package/dist/hub-classic-private.d.ts +19 -0
- package/dist/hub-classic-private.js +64 -0
- package/dist/hub-classic-private.js.map +1 -0
- package/dist/hub-contact-windows.d.ts +11 -0
- package/dist/hub-contact-windows.js +56 -0
- package/dist/hub-contact-windows.js.map +1 -0
- package/dist/hub-pairing-summary.d.ts +1 -1
- package/dist/hub-room-conversation.d.ts +14 -0
- package/dist/hub-room-conversation.js +60 -0
- package/dist/hub-room-conversation.js.map +1 -0
- package/dist/hub-update-notice.d.ts +12 -0
- package/dist/hub-update-notice.js +35 -0
- package/dist/hub-update-notice.js.map +1 -0
- package/dist/human-delivery-receipts.js +8 -0
- package/dist/human-delivery-receipts.js.map +1 -1
- package/dist/instance-config-impact.js +3 -0
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instructions.js +3 -0
- package/dist/instructions.js.map +1 -1
- package/dist/locale.js +137 -24
- package/dist/locale.js.map +1 -1
- package/dist/login-controller.d.ts +19 -2
- package/dist/login-controller.js +26 -8
- package/dist/login-controller.js.map +1 -1
- package/dist/native-mcp.js +7 -5
- package/dist/native-mcp.js.map +1 -1
- package/dist/native-model-catalog.d.ts +15 -0
- package/dist/native-model-catalog.js +43 -3
- package/dist/native-model-catalog.js.map +1 -1
- package/dist/native-pane-lifecycle.js +3 -2
- package/dist/native-pane-lifecycle.js.map +1 -1
- package/dist/native-pane-tools.js +3 -0
- package/dist/native-pane-tools.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.d.ts +14 -4
- package/dist/outbound-handlers.js +54 -1
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +17 -0
- package/dist/outbound-schemas.js +14 -0
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/pane-port.d.ts +2 -0
- package/dist/public-web-gateway.js +152 -4
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/queued-handoffs.d.ts +16 -4
- package/dist/queued-handoffs.js +18 -1
- package/dist/queued-handoffs.js.map +1 -1
- package/dist/quickstart-api.d.ts +0 -1
- package/dist/quickstart-api.js +8 -1
- package/dist/quickstart-api.js.map +1 -1
- package/dist/reply-dedup.js +3 -1
- package/dist/reply-dedup.js.map +1 -1
- package/dist/reply-preview-files.d.ts +38 -0
- package/dist/reply-preview-files.js +142 -0
- package/dist/reply-preview-files.js.map +1 -0
- package/dist/reply-preview-spec.d.ts +18 -0
- package/dist/reply-preview-spec.js +27 -0
- package/dist/reply-preview-spec.js.map +1 -0
- package/dist/runtime-api.js +10 -2
- package/dist/runtime-api.js.map +1 -1
- package/dist/runtime-build-info.js +1 -0
- package/dist/runtime-build-info.js.map +1 -1
- package/dist/runtime-cli-install.js +13 -10
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/runtime-cli.js +31 -5
- package/dist/runtime-cli.js.map +1 -1
- package/dist/runtime-client-store.d.ts +5 -0
- package/dist/runtime-client-store.js +28 -0
- package/dist/runtime-client-store.js.map +1 -1
- package/dist/runtime-client.d.ts +4 -0
- package/dist/runtime-client.js +33 -10
- package/dist/runtime-client.js.map +1 -1
- package/dist/runtime-coordinator.d.ts +4 -2
- package/dist/runtime-coordinator.js +33 -6
- package/dist/runtime-coordinator.js.map +1 -1
- package/dist/runtime-install.d.ts +6 -1
- package/dist/runtime-install.js +12 -4
- package/dist/runtime-install.js.map +1 -1
- package/dist/runtime-pane-native.js +3 -1
- package/dist/runtime-pane-native.js.map +1 -1
- package/dist/runtime-personal-answer-only-probe.d.ts +3 -0
- package/dist/runtime-personal-answer-only-probe.js +134 -0
- package/dist/runtime-personal-answer-only-probe.js.map +1 -0
- package/dist/runtime-personal-answer-only.d.ts +16 -0
- package/dist/runtime-personal-answer-only.js +54 -0
- package/dist/runtime-personal-answer-only.js.map +1 -0
- package/dist/runtime-personal-answer.d.ts +30 -0
- package/dist/runtime-personal-answer.js +124 -0
- package/dist/runtime-personal-answer.js.map +1 -0
- package/dist/runtime-personal-preflight.d.ts +8 -0
- package/dist/runtime-personal-preflight.js +103 -0
- package/dist/runtime-personal-preflight.js.map +1 -0
- package/dist/runtime-personal-profile.d.ts +40 -0
- package/dist/runtime-personal-profile.js +81 -0
- package/dist/runtime-personal-profile.js.map +1 -0
- package/dist/runtime-personal-protocol.d.ts +10 -0
- package/dist/runtime-personal-protocol.js +15 -0
- package/dist/runtime-personal-protocol.js.map +1 -0
- package/dist/runtime-personal-stage.d.ts +37 -0
- package/dist/runtime-personal-stage.js +167 -0
- package/dist/runtime-personal-stage.js.map +1 -0
- package/dist/runtime-protocol.d.ts +2 -0
- package/dist/settings-api.d.ts +15 -0
- package/dist/settings-api.js +210 -76
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.js +32 -5
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.js +13 -2
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-http-confirmation.js +18 -44
- package/dist/settings-http-confirmation.js.map +1 -1
- package/dist/setup-form.js +10 -0
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-i18n.js +2 -2
- package/dist/setup-i18n.js.map +1 -1
- package/dist/subagent-records.js +53 -11
- package/dist/subagent-records.js.map +1 -1
- package/dist/subagent-service.js +3 -1
- package/dist/subagent-service.js.map +1 -1
- package/dist/tmux-manager.d.ts +2 -0
- package/dist/tmux-manager.js +2 -0
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tool-permissions.js +3 -0
- package/dist/tool-permissions.js.map +1 -1
- package/dist/tool-progress.d.ts +9 -0
- package/dist/tool-progress.js +141 -32
- package/dist/tool-progress.js.map +1 -1
- package/dist/transcript-needles.d.ts +4 -2
- package/dist/transcript-needles.js +35 -4
- package/dist/transcript-needles.js.map +1 -1
- package/dist/tunnel/lease.d.ts +14 -0
- package/dist/tunnel/lease.js +23 -0
- package/dist/tunnel/lease.js.map +1 -1
- package/dist/turn-reply-guard.d.ts +2 -2
- package/dist/turn-reply-guard.js +3 -3
- package/dist/turn-reply-guard.js.map +1 -1
- package/dist/types.d.ts +12 -2
- package/dist/ui/backend-signin.js +91 -22
- package/dist/ui/chat-activity-groups.js +41 -8
- package/dist/ui/chat-activity.js +5 -3
- package/dist/ui/chat-mentions.js +13 -0
- package/dist/ui/chat-msg-actions.js +3 -222
- package/dist/ui/chat-pins.js +106 -0
- package/dist/ui/chat-popout-header.js +2 -2
- package/dist/ui/chat-store.js +143 -7
- package/dist/ui/chat-tour.js +1 -1
- package/dist/ui/chat-workspace.js +3 -3
- package/dist/ui/fleet-canvas.js +14 -5
- package/dist/ui/fleet-office-carousel.d.ts +14 -0
- package/dist/ui/fleet-office-carousel.js +95 -0
- package/dist/ui/fleet-office-editor.js +6 -1
- package/dist/ui/fleet-office-model.js +2 -1
- package/dist/ui/fleet-office-skin.js +1 -1
- package/dist/ui/fleet-office-store.js +14 -2
- package/dist/ui/fleet-office-zones.js +50 -9
- package/dist/ui/fleet-office.js +203 -24
- package/dist/ui/fleet-tasks.js +1 -1
- package/dist/ui/host-install.js +5 -2
- package/dist/ui/hub-admin-overview.js +189 -0
- package/dist/ui/hub-admin-rooms.js +1 -1
- package/dist/ui/hub-agent-copy.js +6 -2
- package/dist/ui/hub-ai-apps-strings.js +6 -0
- package/dist/ui/hub-ai-apps.js +83 -0
- package/dist/ui/hub-chat-strings.js +7 -0
- package/dist/ui/hub-client.js +76 -5
- package/dist/ui/hub-directory-editor-strings.js +2 -2
- package/dist/ui/hub-directory-editor.js +1 -0
- package/dist/ui/hub-fleet-versions.js +393 -0
- package/dist/ui/hub-grant-picker.js +3 -37
- package/dist/ui/hub-group-policy.js +26 -13
- package/dist/ui/hub-group-strings.js +26 -17
- package/dist/ui/hub-join-steps.js +27 -15
- package/dist/ui/hub-owner-strings.js +2 -2
- package/dist/ui/hub-personal-agent-strings.js +246 -0
- package/dist/ui/hub-personal-agent.js +117 -0
- package/dist/ui/hub-policy-subjects.js +35 -0
- package/dist/ui/hub-quick-pairing.js +7 -2
- package/dist/ui/hub-role-audit.js +39 -0
- package/dist/ui/hub-role-forms.js +99 -0
- package/dist/ui/hub-role-notices.js +11 -0
- package/dist/ui/hub-role-view.js +86 -0
- package/dist/ui/hub-roles-strings.js +439 -0
- package/dist/ui/hub-roles.js +83 -0
- package/dist/ui/hub-room-agent-strings.js +28 -0
- package/dist/ui/hub-room-composer.js +19 -10
- package/dist/ui/hub-room-favorites.js +63 -5
- package/dist/ui/hub-room-list.js +4 -3
- package/dist/ui/hub-room-members-strings.js +2 -2
- package/dist/ui/hub-room-members.js +7 -4
- package/dist/ui/hub-room-notify.js +161 -0
- package/dist/ui/hub-room-search.js +126 -0
- package/dist/ui/hub-room-settings.js +6 -0
- package/dist/ui/hub-room-source-strings.js +17 -0
- package/dist/ui/hub-room-source.js +34 -0
- package/dist/ui/hub-room-strings.js +47 -1
- package/dist/ui/hub-room-thread.js +266 -41
- package/dist/ui/hub-room-unread.js +2 -1
- package/dist/ui/hub-strings.js +8 -0
- package/dist/ui/hub-subject-picker.js +58 -0
- package/dist/ui/hub-switcher.js +2 -2
- package/dist/ui/hub-teams-strings.js +10 -6
- package/dist/ui/hub-teams.js +56 -28
- package/dist/ui/hub-this-hub.js +2 -2
- package/dist/ui/hub-welcome.js +122 -75
- package/dist/ui/image-annotate.js +2 -283
- package/dist/ui/image-lightbox.js +2 -176
- package/dist/ui/image-zoom.js +2 -242
- package/dist/ui/model-picker.js +4 -1
- package/dist/ui/notice-hub-update.js +94 -0
- package/dist/ui/office-share-dialog.js +2 -2
- package/dist/ui/panel-chat.js +327 -28
- package/dist/ui/panel-details.js +3 -1
- package/dist/ui/panel-fleet.js +28 -7
- package/dist/ui/panel-hub.js +294 -99
- package/dist/ui/panel-log.js +4 -4
- package/dist/ui/panel-notices.js +3 -1
- package/dist/ui/panel-settings.js +45 -34
- package/dist/ui/preview-panel.js +3 -1
- package/dist/ui/reply-file-preview.js +64 -0
- package/dist/ui/runtime-commands.d.ts +2 -2
- package/dist/ui/runtime-commands.js +7 -4
- package/dist/ui/settings-access-overview.js +3 -3
- package/dist/ui/settings-appearance.js +7 -10
- package/dist/ui/settings-archive-files.js +109 -0
- package/dist/ui/settings-build-version.js +2 -2
- package/dist/ui/settings-catalog.js +22 -0
- package/dist/ui/settings-connector-strings.js +23 -0
- package/dist/ui/settings-connector.js +39 -0
- package/dist/ui/settings-guests-entries.js +16 -0
- package/dist/ui/settings-guests.js +57 -15
- package/dist/ui/settings-hub-connection.js +4 -5
- package/dist/ui/settings-hub-membership.js +6 -7
- package/dist/ui/settings-hub-section.js +2 -4
- package/dist/ui/settings-hub-setup.js +2 -1
- package/dist/ui/settings-hub-updates.js +67 -0
- package/dist/ui/settings-hub.js +30 -4
- package/dist/ui/settings-layout.js +10 -12
- package/dist/ui/settings-registry.js +18 -3
- package/dist/ui/settings-shared-strings.js +2 -0
- package/dist/ui/settings-strings.js +13 -2
- package/dist/ui/settings-update.js +11 -5
- package/dist/ui/settings-web-authority.js +7 -5
- package/dist/ui/shared/access-overview.css +1 -1
- package/dist/ui/shared/accounts-keepalive.css +1 -1
- package/dist/ui/shared/accounts.css +1 -1
- package/dist/ui/shared/agent-sheet.js +116 -0
- package/dist/ui/shared/agent-widget.js +1 -2
- package/dist/ui/shared/app-i18n.js +4 -0
- package/dist/ui/shared/app-nav.js +9 -5
- package/dist/ui/shared/app-prefs.js +9 -3
- package/dist/ui/shared/app-route.js +4 -2
- package/dist/ui/shared/app-shell.js +176 -21
- package/dist/ui/shared/app-store.js +1 -1
- package/dist/ui/shared/app-stream.js +6 -2
- package/dist/ui/shared/app-swipe.js +3 -1
- package/dist/ui/shared/app-themes.js +3 -5
- package/dist/ui/shared/app-update.js +90 -8
- package/dist/ui/shared/app.css +469 -203
- package/dist/ui/shared/app.js +1 -1
- package/dist/ui/shared/chat-composer.js +29 -5
- package/dist/ui/shared/chat-msg-actions.js +231 -0
- package/dist/ui/shared/chat-strings.js +19 -4
- package/dist/ui/shared/chat-thread.js +120 -17
- package/dist/ui/shared/chat-work-bar.css +118 -0
- package/dist/ui/shared/connector-prompt.d.ts +3 -0
- package/dist/ui/shared/connector-prompt.js +20 -0
- package/dist/ui/shared/hub-ai-apps.css +12 -0
- package/dist/ui/shared/hub-chat.css +58 -4
- package/dist/ui/shared/hub-groups.css +19 -15
- package/dist/ui/shared/hub-owner.css +118 -3
- package/dist/ui/shared/hub-roles.css +99 -0
- package/dist/ui/shared/hub-rooms-u2.css +34 -0
- package/dist/ui/shared/hub.css +23 -5
- package/dist/ui/shared/image-annotate.css +22 -3
- package/dist/ui/shared/image-annotate.js +415 -0
- package/dist/ui/shared/image-lightbox.js +218 -0
- package/dist/ui/shared/image-zoom.js +316 -0
- package/dist/ui/shared/instance-nav.js +120 -15
- package/dist/ui/shared/loading.css +1 -1
- package/dist/ui/shared/model-picker.css +32 -4
- package/dist/ui/shared/owner-css.js +1 -1
- package/dist/ui/shared/panel-view.js +7 -1
- package/dist/ui/shared/preview-panel-actions.js +1 -1
- package/dist/ui/shared/preview-panel.js +6 -2
- package/dist/ui/shared/reply-previews.css +4 -0
- package/dist/ui/shared/runtime-install.css +5 -0
- package/dist/ui/shared/settings-connector.css +7 -0
- package/dist/ui/shared/signin.js +27 -12
- package/dist/ui/shared/task-board.css +2 -2
- package/dist/ui/shared/theme.js +52 -0
- package/dist/ui/shared/tokens.css +27 -10
- package/dist/ui/shared/ui-icons.js +2 -0
- package/dist/ui/shared/ui-toast.js +4 -4
- package/dist/ui/shared/usage-dialog.js +113 -17
- package/dist/ui/shared/view-strings.js +26 -4
- package/dist/ui/shared/web-authorize.js +3 -3
- package/dist/ui/signin.html +4 -2
- package/dist/ui/structured-signin.js +64 -12
- package/dist/ui/web-terminal/terminal.css +1 -1
- package/dist/ui/workspace-panel.js +4 -3
- package/dist/update-dispatch.d.ts +8 -1
- package/dist/update-dispatch.js +16 -1
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-idle.d.ts +65 -0
- package/dist/update-idle.js +190 -0
- package/dist/update-idle.js.map +1 -0
- package/dist/update-launch.d.ts +1 -1
- package/dist/update-launch.js +9 -2
- package/dist/update-launch.js.map +1 -1
- package/dist/usage/i18n-keys.d.ts +1 -1
- package/dist/usage/i18n-keys.js +1 -1
- package/dist/usage/i18n-keys.js.map +1 -1
- package/dist/usage/profile-timeline.d.ts +2 -0
- package/dist/usage/profile-timeline.js +4 -0
- package/dist/usage/profile-timeline.js.map +1 -1
- package/dist/usage/providers.js +6 -6
- package/dist/usage/providers.js.map +1 -1
- package/dist/usage/quota-history.d.ts +1 -1
- package/dist/view-api.js +1 -1
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.d.ts +9 -0
- package/dist/web-api.js +434 -188
- package/dist/web-api.js.map +1 -1
- package/dist/web-backend-login.d.ts +5 -1
- package/dist/web-backend-login.js +8 -2
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-chat-archive.d.ts +147 -0
- package/dist/web-chat-archive.js +530 -0
- package/dist/web-chat-archive.js.map +1 -0
- package/dist/web-chat-history.d.ts +76 -0
- package/dist/web-chat-history.js +145 -1
- package/dist/web-chat-history.js.map +1 -1
- package/dist/web-commands.d.ts +4 -3
- package/dist/web-commands.js +3 -2
- package/dist/web-commands.js.map +1 -1
- package/dist/web-guest-access.d.ts +3 -0
- package/dist/web-guest-access.js +6 -2
- package/dist/web-guest-access.js.map +1 -1
- package/dist/web-icons.js +3 -3
- package/dist/web-icons.js.map +1 -1
- package/dist/web-login.d.ts +7 -0
- package/dist/web-login.js +8 -1
- package/dist/web-login.js.map +1 -1
- package/dist/web-mentions.d.ts +2 -0
- package/dist/web-mentions.js +20 -0
- package/dist/web-mentions.js.map +1 -1
- package/dist/web-notices.d.ts +3 -0
- package/dist/web-notices.js +17 -2
- package/dist/web-notices.js.map +1 -1
- package/dist/web-office-store.d.ts +2 -0
- package/dist/web-office-store.js +15 -3
- package/dist/web-office-store.js.map +1 -1
- package/dist/web-pin-store.d.ts +58 -0
- package/dist/web-pin-store.js +170 -0
- package/dist/web-pin-store.js.map +1 -0
- package/dist/web-prefs.js +5 -1
- package/dist/web-prefs.js.map +1 -1
- package/dist/web-session-authorization.d.ts +24 -0
- package/dist/web-session-authorization.js +32 -0
- package/dist/web-session-authorization.js.map +1 -1
- package/dist/web-session.d.ts +6 -4
- package/dist/web-session.js +5 -3
- package/dist/web-session.js.map +1 -1
- package/dist/web-settings-patch.d.ts +24 -3
- package/dist/web-settings-patch.js +57 -1
- package/dist/web-settings-patch.js.map +1 -1
- package/dist/web-shell-routes.d.ts +1 -1
- package/dist/web-shell-routes.js +1 -1
- package/dist/web-shell-routes.js.map +1 -1
- package/dist/web-theme.js +2 -2
- package/dist/web-update.d.ts +15 -1
- package/dist/web-upload.d.ts +36 -0
- package/dist/web-upload.js +105 -5
- package/dist/web-upload.js.map +1 -1
- package/dist/windows-cli-api.d.ts +10 -7
- package/dist/windows-cli-api.js +13 -12
- package/dist/windows-cli-api.js.map +1 -1
- package/dist/windows-cli-worker.d.ts +10 -0
- package/dist/windows-cli-worker.js +109 -14
- package/dist/windows-cli-worker.js.map +1 -1
- package/dist/windows-cli.d.ts +10 -1
- package/dist/windows-cli.js +47 -13
- package/dist/windows-cli.js.map +1 -1
- package/package.json +1 -1
- package/templates/runtime-install/install.ps1 +24 -4
|
@@ -10,34 +10,34 @@ register("hubGroups", {
|
|
|
10
10
|
entryOpen: "Open group permissions", entryOpenHub: "Open on the Hub", settingsRowHint: "Set on the Hub's Administration page, signed in as its administrator.",
|
|
11
11
|
experimental: "Preview",
|
|
12
12
|
// Editor
|
|
13
|
-
title: "Group permissions", lead: "
|
|
13
|
+
allowedListTitle:"Allowed list",title: "Group permissions", lead: "People get the union of their AD groups, teams and own row. A person exclusion wins. Sign-in stays with AD; chatting with an agent still needs its owner's grant.",
|
|
14
14
|
back: "Administration", unsupported: "This Hub's directory can't be used for group permissions. Group permissions need Active Directory over LDAPS (port 636).",
|
|
15
15
|
repair: "The directory settings changed since group permissions were saved. Group permissions are paused until the Hub is repaired.",
|
|
16
16
|
stateNever: "Off", stateEnabled: "On", stateSuspended: "Switched off — resources paused",
|
|
17
17
|
stateNeverHint: "Nothing changes for anyone until you turn this on.", stateEnabledHint: "Only the actions below are allowed.",
|
|
18
18
|
stateSuspendedHint: "What group permissions allowed is paused. Resume each one below, or turn group permissions on again.",
|
|
19
|
-
groupsTitle: "
|
|
19
|
+
groupsTitle: "Allowed list", noGroups: "No group, team or person yet.",
|
|
20
20
|
addLabel: "Group (distinguished name)", addPlaceholder: "CN=Hub-Members,OU=Groups,DC=example,DC=test", add: "Add group",
|
|
21
|
-
resolving: "Looking up the group…", capAsk: "Chat with agents", capPublish: "Share agents", capPair: "Connect a
|
|
21
|
+
resolving: "Looking up the group…", capAsk: "Chat with agents", capPublish: "Share agents", capPair: "Connect a Fleet",
|
|
22
22
|
fleets: "Fleets", fleetsHint: "How many fleets each member may connect (0–8).", remove: "Remove",
|
|
23
23
|
notFound: "No such group in the directory.", notSecurity: "That is not a security group.", invalidDn: "That is not a distinguished name.",
|
|
24
|
-
unknownGroup: "The directory didn't answer. Try again.", duplicate: "That group is already listed.",
|
|
24
|
+
unknownGroup: "The directory didn't answer. Try again.", duplicate: "That group, team or person is already listed.",
|
|
25
25
|
// M-2724: which step of the directory lookup failed, and what to try (never a host command).
|
|
26
26
|
failUnreachable: "The Hub couldn't reach the directory server, or it didn't answer in time. Check that the server is running and reachable from the Hub's computer, then try again.",
|
|
27
27
|
failCertificate: "The Hub didn't trust the directory server's certificate, so it didn't connect. If the server's certificate was renewed or replaced, the Hub's directory settings need the new one: ask whoever set up this Hub.",
|
|
28
28
|
failServiceSignIn: "The directory refused the Hub's service account. Its password may have changed, or the account may be locked or disabled: ask whoever set up this Hub to check it.",
|
|
29
29
|
failLookup: "The directory answered, but the group lookup didn't finish. Try again; if it keeps failing, check the group's distinguished name.",
|
|
30
|
-
noGroupsOn: "With
|
|
31
|
-
noGroupsAsk: "Save
|
|
32
|
-
deniesTitle: "People excluded", deniesHint: "
|
|
30
|
+
noGroupsOn: "With the allowed list on and empty, nobody gets access through it. Add a group, team or person unless that is what you want.",
|
|
31
|
+
noGroupsAsk: "Save an empty allowed list?", noGroupsGo: "Save anyway",
|
|
32
|
+
deniesTitle: "People excluded", deniesHint: "A person exclusion wins over every group, team or person allowance.",
|
|
33
33
|
previewTitle: "What this change does", previewing: "Checking who is affected…", noImpact: "No one loses anything they can do now.",
|
|
34
34
|
losingActions: "Lose actions they can do now", losingPublication: "After saving, can't share new or revised agents (already shared ones stay)",
|
|
35
35
|
grandfathered: "Shared agents kept as they are", suspended: "Paused by this change",
|
|
36
|
-
held: "Held, unchanged: {0} people", heldHint: "AD did not report group membership for these people. Nothing changes for them now: they gain nothing and nothing of theirs is paused. They are checked again at their next action.", adminLosesChat: "After saving, you won't be able to chat with agents:
|
|
36
|
+
held: "Held, unchanged: {0} people", heldHint: "AD did not report group membership for these people. Nothing changes for them now: they gain nothing and nothing of theirs is paused. They are checked again at their next action.", adminLosesChat: "After saving, you won't be able to chat with agents: no allowed row applies to you.",
|
|
37
37
|
previewStale: "Something changed since this was checked. Check again.", previewExpired: "This check expired. Check again.",
|
|
38
38
|
save: "Save", saveOn: "Turn on and save", turnOff: "Turn off", turnOn: "Turn on", undo: "Undo", notSaved: "Not saved", pendingOn: "Turns on when you save.", pendingOff: "Turns off when you save; what depends on it is paused.", check: "Check what changes",
|
|
39
39
|
saved: "Saved.", conflict: "Someone else changed group permissions. Reload to see their version.", failed: "Couldn't save. Try again.",
|
|
40
|
-
pausedTitle: "Paused", pausedHint: "Allowed by
|
|
40
|
+
pausedTitle: "Paused", pausedHint: "Allowed by the list before, paused now. Resume one after checking it is still wanted.", resume: "Resume", resumed: "Resumed.",
|
|
41
41
|
kindFleet: "Fleet", kindExposure: "Shared agent", kindAsker: "Chat access",
|
|
42
42
|
enableLater: "Turning group permissions on becomes available once the Hub's enforcement is installed.",
|
|
43
43
|
// Welcome
|
|
@@ -51,38 +51,43 @@ register("hubGroups", {
|
|
|
51
51
|
unknown: "The directory didn't answer, so this can't be checked right now.", retry: "Retry", ineligible: "Your directory account can't use this right now.",
|
|
52
52
|
deniedPerson: "Your Hub administrator has excluded your account from this.", suspended: "Paused by your Hub administrator.",
|
|
53
53
|
publishNot: "Sharing agents is not included in your access.",
|
|
54
|
+
// M-3190: the chat launcher's frame and 我分享的 Agent → My fleets
|
|
55
|
+
readyBanner: "Your Hub is ready: create a pairing code to invite colleagues, or set up the room assistant →", readyGo: "Open Administration", readyDismiss: "Dismiss",
|
|
56
|
+
footFleets: "{0} fleets connected ({1})", listSep: ", ", footManage: "Manage in My shared agents →", footNone: "Want to share agents from your own AgEnD?", footConnect: "Connect a fleet in My shared agents →",
|
|
57
|
+
fleetsTitle: "My fleets", connectCount: "{0} of {1}", fleetMenu: "Fleet {0}", connectAnother: "+ Connect another fleet",
|
|
58
|
+
copy: "Copy", copied: "Copied", copyFailed: "Copy failed. Select the address and copy it.",
|
|
54
59
|
},
|
|
55
60
|
"zh-TW": {
|
|
56
61
|
entryTitle: "群組權限", entryHint: "讓指定目錄群組的成員與 Agent 對話、分享 Agent 或連接自己的 Fleet,不必逐一核准每個人。",
|
|
57
62
|
entryOpen: "開啟群組權限", entryOpenHub: "在 Hub 上開啟", settingsRowHint: "在 Hub 的「管理」頁設定,需以 Hub 管理員身分登入。",
|
|
58
63
|
experimental: "預覽版",
|
|
59
|
-
title: "群組權限", lead: "
|
|
64
|
+
allowedListTitle:"允許清單",title: "群組權限", lead: "權限取自所屬 AD 群組、團隊與個人列的聯集,個人排除優先。登入仍由 AD 決定;與 Agent 對話仍需要擁有者授權。",
|
|
60
65
|
back: "管理", unsupported: "這個 Hub 的目錄無法用於群組權限。群組權限需要透過 LDAPS(連接埠 636)的 Active Directory。",
|
|
61
66
|
repair: "目錄設定在群組權限儲存後改變了。在修復 Hub 之前,群組權限暫停。",
|
|
62
67
|
stateNever: "關閉", stateEnabled: "開啟", stateSuspended: "已關閉——資源已暫停",
|
|
63
68
|
stateNeverHint: "開啟前,任何人都不受影響。", stateEnabledHint: "只允許下列動作。",
|
|
64
69
|
stateSuspendedHint: "群組權限先前允許的項目已暫停。可在下方逐一恢復,或再次開啟群組權限。",
|
|
65
|
-
groupsTitle: "
|
|
70
|
+
groupsTitle: "允許清單", noGroups: "還沒有群組、團隊或人員。",
|
|
66
71
|
addLabel: "群組(辨別名稱)", addPlaceholder: "CN=Hub-Members,OU=Groups,DC=example,DC=test", add: "新增群組",
|
|
67
72
|
resolving: "正在查詢群組…", capAsk: "與 Agent 對話", capPublish: "分享 Agent", capPair: "連接 Fleet",
|
|
68
73
|
fleets: "Fleet 數", fleetsHint: "每位成員可連接的 Fleet 數(0–8)。", remove: "移除",
|
|
69
74
|
notFound: "目錄中沒有這個群組。", notSecurity: "這不是安全性群組。", invalidDn: "這不是辨別名稱。",
|
|
70
|
-
unknownGroup: "目錄沒有回應,請再試一次。", duplicate: "
|
|
75
|
+
unknownGroup: "目錄沒有回應,請再試一次。", duplicate: "這個群組、團隊或人員已經在清單中。",
|
|
71
76
|
failUnreachable: "Hub 連不到目錄伺服器,或伺服器沒有及時回應。請確認伺服器正在執行,而且 Hub 所在的電腦連得到它,然後再試一次。",
|
|
72
77
|
failCertificate: "Hub 不信任目錄伺服器的憑證,所以沒有連接。如果伺服器的憑證已更新或更換,Hub 的目錄設定需要新的憑證:請找設定這個 Hub 的人。",
|
|
73
78
|
failServiceSignIn: "目錄拒絕了 Hub 的服務帳號。可能是密碼已變更,或帳號被鎖定或停用:請找設定這個 Hub 的人檢查。",
|
|
74
79
|
failLookup: "目錄有回應,但群組查詢沒有完成。請再試一次;如果一直失敗,請檢查群組的辨別名稱。",
|
|
75
|
-
noGroupsOn: "
|
|
76
|
-
noGroupsAsk: "
|
|
77
|
-
deniesTitle: "排除的人", deniesHint: "
|
|
80
|
+
noGroupsOn: "允許清單開啟但清單為空時,沒有人能透過它取得權限。除非這正是你要的,請新增群組、團隊或人員。",
|
|
81
|
+
noGroupsAsk: "要儲存空白的允許清單嗎?", noGroupsGo: "仍要儲存",
|
|
82
|
+
deniesTitle: "排除的人", deniesHint: "個人排除優先於所有群組、團隊與個人允許。",
|
|
78
83
|
previewTitle: "這次變更的影響", previewing: "正在檢查受影響的人…", noImpact: "沒有人會失去目前能做的事。",
|
|
79
84
|
losingActions: "會失去目前能做的動作", losingPublication: "儲存後,無法分享新的或修改過的 Agent(已分享的保留)",
|
|
80
85
|
grandfathered: "保留原狀的已分享 Agent", suspended: "這次變更會暫停",
|
|
81
|
-
held: "暫緩、維持不變:{0} 人", heldHint: "AD 沒有回報這些人的群組成員資格。現在他們不受影響:不會得到新的權限,也不會暫停他們的任何東西。下次他們操作時會再檢查一次。", adminLosesChat: "儲存後,你將無法與 Agent
|
|
86
|
+
held: "暫緩、維持不變:{0} 人", heldHint: "AD 沒有回報這些人的群組成員資格。現在他們不受影響:不會得到新的權限,也不會暫停他們的任何東西。下次他們操作時會再檢查一次。", adminLosesChat: "儲存後,你將無法與 Agent 對話:沒有適用於你的允許列。",
|
|
82
87
|
previewStale: "檢查後有東西變了,請再檢查一次。", previewExpired: "這次檢查已過期,請再檢查一次。",
|
|
83
88
|
save: "儲存", saveOn: "開啟並儲存", turnOff: "關閉", turnOn: "開啟", undo: "復原", notSaved: "尚未儲存", pendingOn: "儲存後才會開啟。", pendingOff: "儲存後才會關閉;依賴它的項目會暫停。", check: "檢查會改變什麼",
|
|
84
89
|
saved: "已儲存。", conflict: "有人改了群組權限。請重新載入查看他們的版本。", failed: "無法儲存,請再試一次。",
|
|
85
|
-
pausedTitle: "已暫停", pausedHint: "
|
|
90
|
+
pausedTitle: "已暫停", pausedHint: "先前由允許清單允許、目前暫停。確認仍然需要後再逐一恢復。", resume: "恢復", resumed: "已恢復。",
|
|
86
91
|
kindFleet: "Fleet", kindExposure: "已分享的 Agent", kindAsker: "對話權限",
|
|
87
92
|
enableLater: "安裝 Hub 的權限執行功能後,才能開啟群組權限。",
|
|
88
93
|
welcomeTitle: "歡迎,{0}", welcomeLead: "你想做什麼?",
|
|
@@ -95,6 +100,10 @@ register("hubGroups", {
|
|
|
95
100
|
unknown: "目錄沒有回應,現在無法確認。", retry: "重試", ineligible: "你的目錄帳號目前無法使用這個功能。",
|
|
96
101
|
deniedPerson: "Hub 管理員已將你的帳號排除在外。", suspended: "已被 Hub 管理員暫停。",
|
|
97
102
|
publishNot: "你的存取權不包含分享 Agent。",
|
|
103
|
+
readyBanner: "Hub 已就緒:產生配對碼邀請同事加入,或設定房間助理 →", readyGo: "前往「管理」", readyDismiss: "關閉",
|
|
104
|
+
footFleets: "已連接 {0} 個 Fleet({1})", listSep: "、", footManage: "前往「我分享的 Agent」管理 →", footNone: "要用自己的 AgEnD 分享 Agent?", footConnect: "前往「我分享的 Agent」連接 Fleet →",
|
|
105
|
+
fleetsTitle: "我的 Fleet", connectCount: "{0} / {1}", fleetMenu: "Fleet {0}", connectAnother: "+ 連接另一個 Fleet",
|
|
106
|
+
copy: "複製", copied: "已複製", copyFailed: "複製失敗。請選取位址再複製。",
|
|
98
107
|
},
|
|
99
108
|
});
|
|
100
109
|
export const hg = (key, ...values) => t(`hubGroups.${key}`, ...values);
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
* card reads its steps again. Revoking stays the component's own (it lists retained codes even with creation off).
|
|
12
12
|
*/
|
|
13
13
|
import { html, useEffect, useRef, useState } from "/assets/app-html.js";
|
|
14
|
-
import {
|
|
14
|
+
import { policyRows, draftPolicySubjects, pickedPolicyRow, subjectKind, subjectId, subjectKey, useAllowedTeams, PolicySubjectLabel } from "./hub-policy-subjects.js";
|
|
15
|
+
import { SubjectPicker, subjectText } from "./hub-subject-picker.js";
|
|
16
|
+
|
|
15
17
|
import { register, t } from "/assets/app-i18n.js";
|
|
16
18
|
import { hubClient } from "./hub-client.js";
|
|
17
19
|
import { navigate } from "/assets/app-nav.js";
|
|
@@ -19,14 +21,16 @@ export const joinStepsV1 = true;
|
|
|
19
21
|
register("hubJoinSteps", {
|
|
20
22
|
en: {
|
|
21
23
|
step3: "Tell colleagues how to join", sentence: "In AgEnD, open Settings → Hub, enter {0}, then sign in with the company account.",
|
|
24
|
+
// M-3190: 我分享的 Agent → My fleets — the same step, its address in a copyable chip under this line.
|
|
25
|
+
pasteLead: "In AgEnD, open Settings → Hub, paste this address, then sign in with the company account:",
|
|
22
26
|
copy: "Copy these instructions", copied: "Copied", copyFailed: "Copy failed. Select the sentence and copy it.",
|
|
23
27
|
step3Off: "Finish steps 1 and 2 first.", reading: "Checking the saved Hub settings…", readFailed: "Could not refresh the Hub settings. Try again.", retry: "Try again",
|
|
24
28
|
title: "Let colleagues join", lead: "Three steps. Each one is checked against what the Hub has saved.", done: "Done",
|
|
25
29
|
step1: "Let colleagues connect Fleets with their company account", step1Switch: "Allow company-account Fleet connections",
|
|
26
|
-
step2: "Who can join", step2Hint: "Add
|
|
30
|
+
step2: "Who can join", step2Hint: "Add an AD group, team or person who may connect a Fleet, then save.",
|
|
27
31
|
step2Code: "A live join code counts too.", byDn: "Add by distinguished name", dnLabel: "Distinguished name", dnAdd: "Add",
|
|
28
32
|
perPerson: "Each person up to", fleetsUnit: "Fleets", capAsk: "Chat with agents", capPublish: "Share agents", remove: "Remove",
|
|
29
|
-
noGroups: "No group yet.", previewing: "Checking what this changes…", noImpact: "Nobody loses anything.",
|
|
33
|
+
noGroups: "No group, team or person yet.", previewing: "Checking what this changes…", noImpact: "Nobody loses anything.",
|
|
30
34
|
losing: "These people lose an action", suspended: "These are paused when you save", adminLosesChat: "You would no longer be able to chat with agents.",
|
|
31
35
|
save: "Save", saving: "Saving…", saved: "Saved.", conflict: "Someone else changed this. The page now shows the saved version.",
|
|
32
36
|
stale: "The check is out of date. It has been run again; look at it and save again.", failed: "Could not save. Try again.",
|
|
@@ -37,14 +41,15 @@ register("hubJoinSteps", {
|
|
|
37
41
|
},
|
|
38
42
|
"zh-TW": {
|
|
39
43
|
step3: "告訴同仁怎麼加入", sentence: "在 AgEnD 的「設定 → Hub」輸入 {0},再用公司帳號登入。",
|
|
44
|
+
pasteLead: "在 AgEnD 的「設定 → Hub」貼上這個位址,再用公司帳號登入:",
|
|
40
45
|
copy: "複製這段說明", copied: "已複製", copyFailed: "複製失敗。請選取這段說明再複製。",
|
|
41
46
|
step3Off: "請先完成步驟 1 和 2。", reading: "正在確認 Hub 已儲存的設定…", readFailed: "目前無法更新 Hub 設定,請再試一次。", retry: "再試一次",
|
|
42
47
|
title: "讓同仁加入", lead: "三個步驟,每一步都依 Hub 已儲存的設定判斷是否完成。", done: "已完成",
|
|
43
48
|
step1: "允許同仁用公司帳號連接 Fleet", step1Switch: "允許以公司帳號連接 Fleet",
|
|
44
|
-
step2: "誰可以加入", step2Hint: "加入可以連接 Fleet 的 AD
|
|
49
|
+
step2: "誰可以加入", step2Hint: "加入可以連接 Fleet 的 AD 群組、團隊或人員,然後儲存。",
|
|
45
50
|
step2Code: "有效的加入碼也算完成。", byDn: "用辨別名稱新增", dnLabel: "辨別名稱", dnAdd: "新增",
|
|
46
51
|
perPerson: "每人最多", fleetsUnit: "台", capAsk: "和 Agent 對話", capPublish: "分享 Agent", remove: "移除",
|
|
47
|
-
noGroups: "
|
|
52
|
+
noGroups: "還沒有群組、團隊或人員。", previewing: "正在檢查這次變更的影響…", noImpact: "沒有人會失去任何權限。",
|
|
48
53
|
losing: "這些人會失去權限", suspended: "儲存後會暫停這些項目", adminLosesChat: "你將無法再和 Agent 對話。",
|
|
49
54
|
save: "儲存", saving: "儲存中…", saved: "已儲存。", conflict: "有人剛改過這裡。頁面已顯示目前儲存的版本。",
|
|
50
55
|
stale: "檢查結果已過期,已重新檢查。請看過後再儲存一次。", failed: "無法儲存,請再試一次。",
|
|
@@ -62,6 +67,7 @@ export function displayHost(webOrigin) {
|
|
|
62
67
|
/** The one sentence colleagues need (step 3's), for this Hub. */
|
|
63
68
|
export const joinSentence = (webOrigin) => { const host = displayHost(webOrigin); return host ? sw("sentence", host) : ""; };
|
|
64
69
|
export const otherWaysLabel = () => sw("otherWays");
|
|
70
|
+
export const pasteLeadLabel = () => sw("pasteLead");
|
|
65
71
|
/** B2's join-code component in its slot, or nothing (see the contract above). */
|
|
66
72
|
// B2 ships the module; until then (and on a Hub that does not serve it) the import fails and the slot stays empty.
|
|
67
73
|
const CODE_MODULE = "./hub-enrolment-code.js";
|
|
@@ -95,16 +101,16 @@ const same = (a, b) => JSON.stringify(a) === JSON.stringify(b);
|
|
|
95
101
|
export const groupLetsJoin = (g) => !!g && Array.isArray(g.allow) && g.allow.includes("pair_fleet") && g.maxFleets >= 1;
|
|
96
102
|
/** Step 2 is done from saved state: the policy is on and a group lets members join — or a join code is live (B2). */
|
|
97
103
|
export function step2Done(policy, codes) {
|
|
98
|
-
return !!policy && policy.state === "enabled" && policy.
|
|
104
|
+
return !!policy && policy.state === "enabled" && policyRows(policy).some(groupLetsJoin) || Array.isArray(codes) && codes.some((c) => c && c.state === "live");
|
|
99
105
|
}
|
|
100
106
|
/** The proposed policy: saved fields, these groups, switched on once it has a group (one 儲存, spec 1.2). */
|
|
101
107
|
export function proposedPolicy(saved, groups) {
|
|
102
|
-
return
|
|
103
|
-
groups: groups.map((g) => ({ group: { realm: g.group.realm, objectId: g.group.objectId }, dn: g.dn, allow: CAP_ORDER.filter((c) => g.allow.includes(c)), maxFleets: g.maxFleets })) };
|
|
108
|
+
return draftPolicySubjects(saved, groups.length ? "enabled" : saved.state, groups);
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
/** Step 2: who can join — search, chips, each person's Fleet limit and the two other permissions; the server's check; one 儲存. */
|
|
107
112
|
export function JoinStep2({ client = hubClient(), onSaved } = {}) {
|
|
113
|
+
const teamSummaries = useAllowedTeams(client);
|
|
108
114
|
const [view, setView] = useState(null), [groups, setGroups] = useState([]), [preview, setPreview] = useState(null);
|
|
109
115
|
const [msg, setMsg] = useState(null), [saving, setSaving] = useState(false), [dn, setDn] = useState(""), [dnOpen, setDnOpen] = useState(false), [again, setAgain] = useState(0);
|
|
110
116
|
const live = useRef(true), seq = useRef(0);
|
|
@@ -114,11 +120,11 @@ export function JoinStep2({ client = hubClient(), onSaved } = {}) {
|
|
|
114
120
|
let r; try { r = await client.groupPolicy(); } catch { r = { ok: false }; }
|
|
115
121
|
if (!live.current) return;
|
|
116
122
|
if (!r.ok) { setView(old => ({ ...old, failed: true })); return; }
|
|
117
|
-
setView(r); setGroups(r.policy ? r.policy
|
|
123
|
+
setView(r); setGroups(r.policy ? policyRows(r.policy) : []); setPreview(null);
|
|
118
124
|
};
|
|
119
125
|
useEffect(() => { void load(); }, []);
|
|
120
126
|
const policy = view && view.policy, editable = !!policy && view.supported === true && view.binding === "ready";
|
|
121
|
-
const draft = policy ? proposedPolicy(policy, groups) : null, changed = !!draft && !same(draft, proposedPolicy(policy, policy
|
|
127
|
+
const draft = policy ? proposedPolicy(policy, groups) : null, changed = !!draft && !same(draft, proposedPolicy(policy, policyRows(policy))) || !!policy && !!groups.length && policy.state !== "enabled";
|
|
122
128
|
useEffect(() => {
|
|
123
129
|
if (!editable || !changed) { setPreview(null); return undefined; }
|
|
124
130
|
const mine = ++seq.current; setPreview({ loading: true });
|
|
@@ -133,11 +139,17 @@ export function JoinStep2({ client = hubClient(), onSaved } = {}) {
|
|
|
133
139
|
const r = await client.resolveGroup(text);
|
|
134
140
|
if (!live.current) return false;
|
|
135
141
|
if (!r.ok || r.reason) { setMsg({ err: true, text: sw(r.ok ? RESOLVE[r.reason] || "unknownGroup" : r.code === "unsupported" ? "unsupported" : "unknownGroup") }); return false; }
|
|
136
|
-
if (groups.some((g) => g
|
|
142
|
+
if (groups.some((g) => subjectKind(g) === "group" && subjectId(g) === r.objectId)) { setMsg({ err: true, text: sw("duplicate") }); return false; }
|
|
137
143
|
// In this card a group is added to let its members join: chat and connect, one Fleet each (the admin can change both).
|
|
138
144
|
setGroups((gs) => [...gs, { group: { realm: r.realm, objectId: r.objectId }, dn: r.dn, allow: ["ask_agents", "pair_fleet"], maxFleets: 1 }]);
|
|
139
145
|
return true;
|
|
140
146
|
};
|
|
147
|
+
const addPicked = async (kind, value) => {
|
|
148
|
+
if (kind === "group") return addResolved(value.dn);
|
|
149
|
+
const row = pickedPolicyRow(kind, value, ["ask_agents", "pair_fleet"]);
|
|
150
|
+
if (groups.some(old => subjectKey(old) === subjectKey(row))) { setMsg({ err: true, text: sw("duplicate") }); return; }
|
|
151
|
+
setMsg(null); setGroups(old => [...old, row]);
|
|
152
|
+
};
|
|
141
153
|
const setCap = (i, cap, on) => setGroups(groups.map((g, j) => j !== i ? g : { ...g, allow: on ? [...new Set([...g.allow, cap])] : g.allow.filter((x) => x !== cap) }));
|
|
142
154
|
const setFleets = (i, n) => setGroups(groups.map((g, j) => { if (j !== i) return g; const m = Math.max(0, Math.min(8, Math.floor(Number(n)) || 0));
|
|
143
155
|
return { ...g, maxFleets: m, allow: m > 0 ? [...new Set([...g.allow, "pair_fleet"])] : g.allow.filter((x) => x !== "pair_fleet") }; }));
|
|
@@ -157,9 +169,9 @@ export function JoinStep2({ client = hubClient(), onSaved } = {}) {
|
|
|
157
169
|
return html`<div class="hub-join-step2">
|
|
158
170
|
${view.supported !== true ? html`<p class="note" role="status">${sw("unsupported")}</p>` : null}
|
|
159
171
|
${view.binding === "repair-required" ? html`<p class="err" role="alert">${sw("repair")}</p>` : null}
|
|
160
|
-
${editable ? html`<${
|
|
161
|
-
${groups.length ? html`<ul class="hub-join-groups" role="list">${groups.map((g, i) => html`<li key=${g
|
|
162
|
-
<span class="hub-row-text"
|
|
172
|
+
${editable ? html`<${SubjectPicker} client=${client} groupId="hubGroupSearch" disabled=${saving} exclude=${groups.filter(g => subjectKind(g) === "group").map(subjectId)} onPick=${addPicked} onUnsupported=${() => setDnOpen(true)} />` : null}
|
|
173
|
+
${groups.length ? html`<ul class="hub-join-groups" role="list">${groups.map((g, i) => html`<li key=${subjectKey(g)} class="s-row hub-row" data-group=${subjectKind(g) === "group" ? subjectId(g) : undefined} data-subject=${subjectKey(g)}>
|
|
174
|
+
<span class="hub-row-text"><${PolicySubjectLabel} row=${g} teams=${teamSummaries} /></span>
|
|
163
175
|
<label class="field hub-join-fleets"><span>${sw("perPerson")}</span><input type="number" min="0" max="8" value=${String(g.maxFleets)} disabled=${!editable} onInput=${(e) => setFleets(i, e.target.value)} /><span>${sw("fleetsUnit")}</span></label>
|
|
164
176
|
<label class="check"><input type="checkbox" checked=${g.allow.includes("ask_agents")} disabled=${!editable} onChange=${(e) => setCap(i, "ask_agents", e.target.checked)} /> ${sw("capAsk")}</label>
|
|
165
177
|
<label class="check"><input type="checkbox" checked=${g.allow.includes("publish_agents")} disabled=${!editable} onChange=${(e) => setCap(i, "publish_agents", e.target.checked)} /> ${sw("capPublish")}</label>
|
|
@@ -172,7 +184,7 @@ export function JoinStep2({ client = hubClient(), onSaved } = {}) {
|
|
|
172
184
|
${msg ? html`<p class=${msg.err ? "err" : "note"} role=${msg.err ? "alert" : "status"}>${msg.text}</p>` : null}
|
|
173
185
|
${changed && editable ? html`<div class="hub-join-preview" aria-live="polite">${!preview || preview.loading ? html`<p class="note" aria-busy="true">${sw("previewing")}</p>`
|
|
174
186
|
: !preview.ok ? html`<p class="note" role="status">${sw(preview.code === "conflict" ? "conflict" : "failed")}</p>`
|
|
175
|
-
: html`${pv.adminLosesChat ? html`<p class="err" role="alert">${sw("adminLosesChat")}</p>` : null}
|
|
187
|
+
: html`${pv.teamMembers !== undefined ? html`<p class="note">${subjectText("teamChecked", pv.teamMembers)}</p>` : null}${pv.adminLosesChat ? html`<p class="err" role="alert">${sw("adminLosesChat")}</p>` : null}
|
|
176
188
|
${(pv.losingActions || []).length ? html`<p class="note"><b>${sw("losing")}</b>: ${pv.losingActions.map((r) => r.name || r.login || r.personId).join(", ")}</p>` : null}
|
|
177
189
|
${(pv.suspendedOnSave || []).length ? html`<p class="note"><b>${sw("suspended")}</b>: ${pv.suspendedOnSave.map((r) => r.label || r.id).join(", ")}</p>` : null}
|
|
178
190
|
${!(pv.losingActions || []).length && !(pv.suspendedOnSave || []).length && !pv.adminLosesChat ? html`<p class="note">${sw("noImpact")}</p>` : null}
|
|
@@ -20,7 +20,7 @@ register("hubOwner", {
|
|
|
20
20
|
pendingPairings: "Pairings waiting for you", recent: "Recent questions",
|
|
21
21
|
recentLead: "Who asked and when, and whether it was answered. What they asked stays in your fleet's chat.", recentNone: "No one has asked yet.",
|
|
22
22
|
refresh: "Refresh", revokeItem: "Revoke…", revokedTag: "Revoked", rowMenu: "More for {0}", scopeHub: "This Hub", scopeYou: "Yours",
|
|
23
|
-
sharedCount: "Shared · {0}", stageAnswered: "Answered", stageNot: "Not answered", stageWaiting: "Waiting", statePaused: "Sharing stopped on the Hub",
|
|
23
|
+
yourAgentsCount: "My agents · {0}", sharedCount: "Shared · {0}", stageAnswered: "Answered", stageNot: "Not answered", stageWaiting: "Waiting", statePaused: "Sharing stopped on the Hub",
|
|
24
24
|
stateShared: "Shared", stateWithdrawn: "Withdrawn", stepApprove: "You approve", stepApproveHint: "Check the same fingerprint, then approve.",
|
|
25
25
|
stepCode: "Make a pairing code", stepCodeHint: "For the fleet's owner: they type it in their fleet within 10 minutes; it works once.",
|
|
26
26
|
stepOwner: "The owner checks the fingerprint", stepOwnerHint: "In their fleet, then on this Hub under My shared agents.",
|
|
@@ -36,7 +36,7 @@ register("hubOwner", {
|
|
|
36
36
|
ownerChecked: "擁有者已確認", ownerLogin: "擁有者的登入名稱", pairSteps: "配對一個 Fleet", pairedFleets: "已連接的 Fleet · {0}", pauseGo: "停止分享…",
|
|
37
37
|
pauseLead: "之後沒有人能再向它提問。要再分享,必須回到它的 Fleet 重新分享,而且每個人都要重新允許提問。已經問過的內容仍然看得到。", pauseTitle: "停止分享", pendingLead: "確認這個指紋和你 Fleet 上顯示的一致,再按確認。", pendingPairings: "等你核對的配對",
|
|
38
38
|
recent: "最近的提問", recentLead: "誰問的、什麼時候,有沒有回答。問了什麼留在你 Fleet 的聊天裡。", recentNone: "還沒有人問過。", refresh: "重新整理", revokeItem: "撤銷…", revokedTag: "已撤銷",
|
|
39
|
-
rowMenu: "{0} 的更多動作", scopeHub: "這個 Hub", scopeYou: "你的", sharedCount: "分享中 · {0}", stageAnswered: "已回答", stageNot: "未回答", stageWaiting: "等待中",
|
|
39
|
+
rowMenu: "{0} 的更多動作", scopeHub: "這個 Hub", scopeYou: "你的", yourAgentsCount: "我的 Agent · {0}", sharedCount: "分享中 · {0}", stageAnswered: "已回答", stageNot: "未回答", stageWaiting: "等待中",
|
|
40
40
|
statePaused: "已在 Hub 停止分享", stateShared: "分享中", stateWithdrawn: "已停止分享", stepApprove: "你核准", stepApproveHint: "核對同一個指紋後核准。", stepCode: "產生配對碼",
|
|
41
41
|
stepCodeHint: "給 Fleet 的擁有者:10 分鐘內在他的 Fleet 輸入,只能用一次。", stepOwner: "擁有者核對指紋", stepOwnerHint: "在他的 Fleet 上,然後在這個 Hub 的「我分享的 Agent」確認。",
|
|
42
42
|
untilLeft: "到 {0}({1})", waitingOwner: "等待擁有者", whoMayAsk: "可以提問的人",
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import {register,t} from "/assets/app-i18n.js";
|
|
2
|
+
register("hubPersonal",{
|
|
3
|
+
"en": {
|
|
4
|
+
"personalQuestion": "It runs on {0}'s computer and answers when that computer is connected. An answer can take a few minutes. Each question is answered on its own: it doesn't remember earlier ones, so include what it needs.",
|
|
5
|
+
"ownerFallback": "the owner",
|
|
6
|
+
"answerOnly": "Answer only",
|
|
7
|
+
"answerOnlyOption": "Use Codex to answer only",
|
|
8
|
+
"answerOnlyExplain": "Codex can't be kept inside one folder on this computer. In this mode it has no access to the computer at all: it answers from the question and what it already knows.",
|
|
9
|
+
"answerOnlyDisclosure": "It cannot read your files, run anything or go online. It also cannot look anything up for the asker.",
|
|
10
|
+
"answerOnlyPays": "Your own AI account pays for answers.",
|
|
11
|
+
"answerOnlyTick": "Turn on Answer only",
|
|
12
|
+
"answerOnlyFailed": "Codex can't be used here: this computer can't keep it inside one folder, and Answer only mode isn't available either. Claude can be used.",
|
|
13
|
+
"answerOnlyAsker": "Answers from general knowledge only. It can't look at any files.",
|
|
14
|
+
"title": "Personal agent",
|
|
15
|
+
"lead": "Your own Codex or Claude answers colleagues, from your Windows computer. No Fleet needed.",
|
|
16
|
+
"guard": "Read-only, and only one folder: the Hub agent folder on your computer. People allowed to ask may receive anything in that folder. Your own AI account pays for answers.",
|
|
17
|
+
"add": "Add a personal agent",
|
|
18
|
+
"replace": "Use a different computer",
|
|
19
|
+
"refresh": "Refresh",
|
|
20
|
+
"off": "Personal agents are not enabled on this Hub.",
|
|
21
|
+
"denied": "Ask the Hub administrator to let you add a personal agent.",
|
|
22
|
+
"install": "Run this command on your Windows computer",
|
|
23
|
+
"installHint": "The command expires after 15 minutes; keep it private.",
|
|
24
|
+
"folderHint": "The installer creates an empty Hub agent folder in your user profile. Put only material you want to share there.",
|
|
25
|
+
"copy": "Copy command",
|
|
26
|
+
"copied": "Copied",
|
|
27
|
+
"expired": "This command has expired.",
|
|
28
|
+
"ready": "Ready",
|
|
29
|
+
"working": "Working",
|
|
30
|
+
"later": "Answers when connected",
|
|
31
|
+
"unchecked": "Checking this computer…",
|
|
32
|
+
"unavailable": "Unavailable",
|
|
33
|
+
"codexSandbox": "Codex can't be used here: this version of Windows can't keep it inside one folder. Claude can be used.",
|
|
34
|
+
"signIn": "Sign in on that computer, then refresh.",
|
|
35
|
+
"missing": "Install it on that computer, then refresh.",
|
|
36
|
+
"profile": "The isolated check has not passed. Check the app on that computer, then refresh.",
|
|
37
|
+
"name": "Agent name",
|
|
38
|
+
"description": "One-line description",
|
|
39
|
+
"cli": "Answer with",
|
|
40
|
+
"model": "Model",
|
|
41
|
+
"defaultModel": "Default model",
|
|
42
|
+
"save": "Save personal agent",
|
|
43
|
+
"saved": "Saved.",
|
|
44
|
+
"sharing": "Choose who may ask",
|
|
45
|
+
"changeSharing": "Change who may ask",
|
|
46
|
+
"chooseTeam": "Choose a team",
|
|
47
|
+
"disconnect": "Disconnect computer",
|
|
48
|
+
"disconnectAsk": "Disconnect this computer? The agent stops answering. Nothing on the computer is deleted or uninstalled.",
|
|
49
|
+
"cancel": "Cancel",
|
|
50
|
+
"loadFailed": "Couldn't read personal-agent settings. Try again.",
|
|
51
|
+
"saveFailed": "Couldn't save. Refresh and try again.",
|
|
52
|
+
"adminTitle": "Personal agents",
|
|
53
|
+
"adminLead": "Choose who may add an agent on their own computer. Questions use that person's AI account.",
|
|
54
|
+
"enabled": "Allow personal agents",
|
|
55
|
+
"allowed": "People and teams allowed to add one",
|
|
56
|
+
"adminAlways": "The Hub administrator is included while this is on.",
|
|
57
|
+
"person": "Person",
|
|
58
|
+
"team": "Team",
|
|
59
|
+
"search": "Search everyone by name",
|
|
60
|
+
"find": "Search",
|
|
61
|
+
"choose": "Add",
|
|
62
|
+
"remove": "Remove",
|
|
63
|
+
"saveSettings": "Save",
|
|
64
|
+
"unsaved": "Unsaved changes",
|
|
65
|
+
"savedSettings": "Saved",
|
|
66
|
+
"unknownPerson": "Previously selected person",
|
|
67
|
+
"unknownTeam": "Previously selected team",
|
|
68
|
+
"newCommand": "New command",
|
|
69
|
+
"canUse": "Can be used",
|
|
70
|
+
"notShared": "Saved. Nobody can ask this agent yet.",
|
|
71
|
+
"disconnectConfirm": "Disconnect",
|
|
72
|
+
"commandFails": "If the command fails",
|
|
73
|
+
"certificateFailure": "An error about a certificate or trust means this computer doesn't trust this Hub yet. Ask your Hub administrator. Don't change security settings to get past it.",
|
|
74
|
+
"nodeFailure": "\"Node.js is required\": install Node.js, then get a new command.",
|
|
75
|
+
"expiredHelp": "The command is only valid for 15 minutes. Get a new one and run it again.",
|
|
76
|
+
"onlyAdmin": "Only the Hub administrator can add one.",
|
|
77
|
+
"offAdmin": "Personal agents are turned off on this Hub.",
|
|
78
|
+
"offMember": "Personal agents are turned off on this Hub. Ask your Hub administrator.",
|
|
79
|
+
"openAdmin": "Open the setting",
|
|
80
|
+
"prepare": "Prepare your computer",
|
|
81
|
+
"requirementsBefore": "On your Windows computer, install ",
|
|
82
|
+
"requirementsNode": "Node.js 22.14 or newer",
|
|
83
|
+
"requirementsAfter": ". Then install Codex or Claude Code and sign in. One of the two is enough.",
|
|
84
|
+
"codexSetupNote": "On some computers Codex can only be used in Answer only mode: it answers from what it knows and can't read files or go online.",
|
|
85
|
+
"getCommand": "Get install command",
|
|
86
|
+
"commandStep": "Get the install command",
|
|
87
|
+
"runStep": "Install on that computer",
|
|
88
|
+
"runHint": "Paste it into Windows PowerShell. Or give it to your own Codex or Claude Code and ask it to run the command.",
|
|
89
|
+
"finishStep": "Set up your agent and share it",
|
|
90
|
+
"finishHint": "When the computer appears on this card, choose Codex or Claude Code, name your agent and save. Then choose who may ask. Nobody can ask it until you do.",
|
|
91
|
+
"waitingHint": "If the computer doesn't appear after a minute, press Refresh.",
|
|
92
|
+
"configureNext": "Choose Codex or Claude Code below, name your agent, then save.",
|
|
93
|
+
"workingNext": "Answering a question. Keep this computer on.",
|
|
94
|
+
"sharedReady": "The people you chose can @mention it in a room or ask it one-to-one.",
|
|
95
|
+
"offlineNext": "This computer isn't connected. Turn it on and sign in to Windows; it connects by itself. If you turned automatic start off, double-click connect-agend.bat in the folder the installer showed you, then press Refresh.",
|
|
96
|
+
"configureStep": "Choose Codex or Claude and name it",
|
|
97
|
+
"requirementsShort": "You need a Windows computer with Node.js 22.14 or newer, and Codex or Claude Code signed in.",
|
|
98
|
+
"details": "Details",
|
|
99
|
+
"pasteHint": "Copy the command and paste it into Windows PowerShell on that computer. It works for 15 minutes; keep it private.",
|
|
100
|
+
"giveToAgent": "Have my Codex or Claude run it",
|
|
101
|
+
"agentCommandHint": "Give the copied command to your own Codex or Claude Code and ask it to run it.",
|
|
102
|
+
"checkConnection": "Check connection",
|
|
103
|
+
"cliDetails": "Which app can I use?",
|
|
104
|
+
"moreSettings": "More options",
|
|
105
|
+
"computerSettings": "Computer settings",
|
|
106
|
+
"editAgent": "Edit",
|
|
107
|
+
"sharedLabel": "Shared",
|
|
108
|
+
"publicationSaved": "Saved",
|
|
109
|
+
"notSharedLabel": "Not shared yet",
|
|
110
|
+
"offlineShort": "This computer isn't connected. Turn it on and sign in to Windows; it connects by itself.",
|
|
111
|
+
"reconnect": "Reconnect",
|
|
112
|
+
"about": "About this",
|
|
113
|
+
"oneApp": "One of the two is enough.",
|
|
114
|
+
"notConnectedYet": "Not connected yet. It can take a minute after the command finishes.",
|
|
115
|
+
"showCommand": "Show the command",
|
|
116
|
+
"needHelp": "Need help?",
|
|
117
|
+
"folderDisclosure": "It can read only the Hub agent folder on that computer. People you let ask can get anything in it. Your own AI account pays for answers.",
|
|
118
|
+
"sharingDisclosure": "Whoever you choose can get anything in the Hub agent folder.",
|
|
119
|
+
"offlineRecovery": "If you turned automatic start off, double-click connect-agend.bat in the folder the installer showed you, then press Refresh."
|
|
120
|
+
},
|
|
121
|
+
"zh-TW": {
|
|
122
|
+
"personalQuestion": "它在 {0} 的電腦上執行,那台電腦連接時才會回答,可能需要幾分鐘。每個問題都是分開回答的,它不會記得之前的內容,請把需要的資訊一次寫清楚。",
|
|
123
|
+
"ownerFallback": "擁有者",
|
|
124
|
+
"answerOnly": "只回答",
|
|
125
|
+
"answerOnlyOption": "只讓 Codex 回答",
|
|
126
|
+
"answerOnlyExplain": "這台電腦無法把 Codex 限制在單一資料夾內。這個模式下,它完全不能存取這台電腦,只會根據提問和它已經知道的內容回答。",
|
|
127
|
+
"answerOnlyDisclosure": "它不能讀取你的檔案、執行任何東西或上網,也無法替提問的人查資料。",
|
|
128
|
+
"answerOnlyPays": "回答使用你自己的 AI 帳號額度。",
|
|
129
|
+
"answerOnlyTick": "開啟「只回答」",
|
|
130
|
+
"answerOnlyFailed": "這裡不能使用 Codex:這台電腦無法把它限制在單一資料夾內,也無法使用「只回答」模式。可以使用 Claude。",
|
|
131
|
+
"answerOnlyAsker": "只根據一般知識回答,無法查看任何檔案。",
|
|
132
|
+
"title": "個人 Agent",
|
|
133
|
+
"lead": "由你自己的 Codex 或 Claude,在你的 Windows 電腦上回答同仁。不需要 Fleet。",
|
|
134
|
+
"guard": "只能讀取,而且只讀你電腦上的「Hub agent」資料夾。可以提問的人可能取得資料夾內的任何內容;回答使用你自己的 AI 帳號額度。",
|
|
135
|
+
"add": "新增個人 Agent",
|
|
136
|
+
"replace": "改用另一台電腦",
|
|
137
|
+
"refresh": "重新整理",
|
|
138
|
+
"off": "這個 Hub 尚未啟用個人 Agent。",
|
|
139
|
+
"denied": "請 Hub 管理員允許你新增個人 Agent。",
|
|
140
|
+
"install": "在你的 Windows 電腦執行這個指令",
|
|
141
|
+
"installHint": "指令在 15 分鐘後失效,請勿分享。",
|
|
142
|
+
"folderHint": "安裝程式會在你的使用者資料夾建立空白的 Hub agent 資料夾,只放入你願意分享的資料。",
|
|
143
|
+
"copy": "複製指令",
|
|
144
|
+
"copied": "已複製",
|
|
145
|
+
"expired": "這個指令已經失效。",
|
|
146
|
+
"ready": "待命",
|
|
147
|
+
"working": "處理中",
|
|
148
|
+
"later": "上線時回答",
|
|
149
|
+
"unchecked": "正在檢查這部電腦…",
|
|
150
|
+
"unavailable": "無法使用",
|
|
151
|
+
"codexSandbox": "這裡不能使用 Codex:這個版本的 Windows 無法把它限制在單一資料夾內。可以使用 Claude。",
|
|
152
|
+
"signIn": "請在那台電腦登入,再重新整理。",
|
|
153
|
+
"missing": "請在那台電腦安裝,再重新整理。",
|
|
154
|
+
"profile": "隔離檢查尚未通過,請在那台電腦確認程式後重新整理。",
|
|
155
|
+
"name": "Agent 名稱",
|
|
156
|
+
"description": "一句話說明",
|
|
157
|
+
"cli": "用哪一個回答",
|
|
158
|
+
"model": "模型",
|
|
159
|
+
"defaultModel": "預設模型",
|
|
160
|
+
"save": "儲存個人 Agent",
|
|
161
|
+
"saved": "已儲存。",
|
|
162
|
+
"sharing": "選擇誰可以問",
|
|
163
|
+
"changeSharing": "變更誰可以問",
|
|
164
|
+
"chooseTeam": "選擇團隊",
|
|
165
|
+
"disconnect": "中斷連接",
|
|
166
|
+
"disconnectAsk": "要中斷這台電腦的連接嗎?這個 Agent 會停止回答。電腦上的檔案和程式都不會被刪除或移除。",
|
|
167
|
+
"cancel": "取消",
|
|
168
|
+
"loadFailed": "目前無法讀取個人 Agent 設定,請再試一次。",
|
|
169
|
+
"saveFailed": "目前無法儲存,請重新整理後再試。",
|
|
170
|
+
"adminTitle": "個人 Agent",
|
|
171
|
+
"adminLead": "選擇誰能在自己的電腦新增 Agent,回答使用那個人的 AI 帳號額度。",
|
|
172
|
+
"enabled": "允許個人 Agent",
|
|
173
|
+
"allowed": "可新增的同仁與團隊",
|
|
174
|
+
"adminAlways": "開啟後,一律包含 Hub 管理員。",
|
|
175
|
+
"person": "同仁",
|
|
176
|
+
"team": "團隊",
|
|
177
|
+
"search": "輸入姓名搜尋所有人",
|
|
178
|
+
"find": "搜尋",
|
|
179
|
+
"choose": "新增",
|
|
180
|
+
"remove": "移除",
|
|
181
|
+
"saveSettings": "儲存",
|
|
182
|
+
"unsaved": "尚未儲存",
|
|
183
|
+
"savedSettings": "已儲存",
|
|
184
|
+
"unknownPerson": "先前選擇的同仁",
|
|
185
|
+
"unknownTeam": "先前選擇的團隊",
|
|
186
|
+
"newCommand": "重新產生指令",
|
|
187
|
+
"canUse": "可以使用",
|
|
188
|
+
"notShared": "已儲存。目前還沒有人可以問這個 Agent。",
|
|
189
|
+
"disconnectConfirm": "中斷連接",
|
|
190
|
+
"commandFails": "如果指令執行失敗",
|
|
191
|
+
"certificateFailure": "出現憑證或信任相關的錯誤,表示這台電腦還不信任這個 Hub。請洽 Hub 管理員,不要為了通過而更改安全性設定。",
|
|
192
|
+
"nodeFailure": "顯示需要 Node.js:請先安裝 Node.js,再重新產生指令。",
|
|
193
|
+
"expiredHelp": "指令只在 15 分鐘內有效。請重新產生後再執行一次。",
|
|
194
|
+
"onlyAdmin": "目前只有 Hub 管理員可以新增。",
|
|
195
|
+
"offAdmin": "這個 Hub 還沒有開啟個人 Agent。",
|
|
196
|
+
"offMember": "這個 Hub 還沒有開啟個人 Agent,請洽 Hub 管理員。",
|
|
197
|
+
"openAdmin": "前往設定",
|
|
198
|
+
"prepare": "準備你的電腦",
|
|
199
|
+
"requirementsBefore": "在你的 Windows 電腦安裝 ",
|
|
200
|
+
"requirementsNode": "Node.js 22.14 或更新版本",
|
|
201
|
+
"requirementsAfter": ",再安裝 Codex 或 Claude Code 並登入。兩個裝其中一個就可以。",
|
|
202
|
+
"codexSetupNote": "在有些電腦上,Codex 只能以「只回答」模式使用:它根據已知的內容回答,不能讀取檔案或上網。",
|
|
203
|
+
"getCommand": "取得安裝指令",
|
|
204
|
+
"commandStep": "取得安裝指令",
|
|
205
|
+
"runStep": "在那台電腦安裝",
|
|
206
|
+
"runHint": "貼到 Windows PowerShell 執行;也可以交給你自己的 Codex 或 Claude Code,請它執行這個指令。",
|
|
207
|
+
"finishStep": "設定並分享你的 Agent",
|
|
208
|
+
"finishHint": "電腦出現在這張卡片後,選擇 Codex 或 Claude Code、填寫名稱並儲存,再選擇誰可以問。在你選擇之前,沒有人可以問它。",
|
|
209
|
+
"waitingHint": "如果一分鐘後電腦還沒有出現,請按「重新整理」。",
|
|
210
|
+
"configureNext": "在下方選擇 Codex 或 Claude Code、填寫名稱,然後儲存。",
|
|
211
|
+
"workingNext": "正在回答提問,請讓這台電腦保持開機。",
|
|
212
|
+
"sharedReady": "你選擇的同仁可以在房間 @ 它,或一對一提問。",
|
|
213
|
+
"offlineNext": "這台電腦目前沒有連接。請開機並登入 Windows,它會自動連接。如果你關閉了自動啟動,請在安裝程式顯示的資料夾裡,按兩下 connect-agend.bat,再按「重新整理」。",
|
|
214
|
+
"configureStep": "選擇 Codex 或 Claude 並命名",
|
|
215
|
+
"requirementsShort": "需要一台 Windows 電腦,已安裝 Node.js 22.14 或更新版本,並已登入 Codex 或 Claude Code。",
|
|
216
|
+
"details": "詳細",
|
|
217
|
+
"pasteHint": "複製指令,貼到那台電腦的 Windows PowerShell 執行。指令 15 分鐘內有效,請勿分享。",
|
|
218
|
+
"giveToAgent": "交給我的 Codex 或 Claude 執行",
|
|
219
|
+
"agentCommandHint": "把複製的指令交給你自己的 Codex 或 Claude Code,請它執行。",
|
|
220
|
+
"checkConnection": "檢查連接",
|
|
221
|
+
"cliDetails": "可以用哪個程式?",
|
|
222
|
+
"moreSettings": "更多選項",
|
|
223
|
+
"computerSettings": "電腦設定",
|
|
224
|
+
"editAgent": "編輯",
|
|
225
|
+
"sharedLabel": "分享中",
|
|
226
|
+
"publicationSaved": "已儲存",
|
|
227
|
+
"notSharedLabel": "還沒有分享",
|
|
228
|
+
"offlineShort": "這台電腦目前沒有連接。請開機並登入 Windows,它會自動連接。",
|
|
229
|
+
"reconnect": "重新連接",
|
|
230
|
+
"about": "了解更多",
|
|
231
|
+
"oneApp": "兩個裝其中一個就可以。",
|
|
232
|
+
"notConnectedYet": "還沒有連接。指令執行完成後,可能需要一分鐘。",
|
|
233
|
+
"showCommand": "顯示指令",
|
|
234
|
+
"needHelp": "需要協助?",
|
|
235
|
+
"folderDisclosure": "它只能讀取那台電腦上的「Hub agent」資料夾。你允許提問的人,可能取得資料夾內的任何內容。回答使用你自己的 AI 帳號額度。",
|
|
236
|
+
"sharingDisclosure": "你選擇的人可以取得「Hub agent」資料夾內的任何內容。",
|
|
237
|
+
"offlineRecovery": "如果你關閉了自動啟動,請在安裝程式顯示的資料夾裡,按兩下 connect-agend.bat,再按「重新整理」。"
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
export const hp=(key,...args)=>t(`hubPersonal.${key}`,...args);
|
|
241
|
+
|
|
242
|
+
/** Personal questions are independent runs in both profiles; never describe a shared Fleet conversation. */
|
|
243
|
+
export function personalAgentQuestionHint(room){
|
|
244
|
+
if((room?.agent?.agentKind??room?.agentKind)!=="personal")return null;
|
|
245
|
+
return hp("personalQuestion",room?.agent?.owner?.name||room?.ownerName||hp("ownerFallback"));
|
|
246
|
+
}
|