@songsid/agend 2.4.0-beta.1 → 2.4.0-beta.11
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 +40 -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 +55 -14
- 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-precaution.d.ts +7 -0
- package/dist/backend/codex-precaution.js +102 -0
- package/dist/backend/codex-precaution.js.map +1 -0
- package/dist/backend/codex.d.ts +7 -4
- package/dist/backend/codex.js +44 -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 +22 -7
- 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 +11 -1
- 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 +16 -15
- 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 +399 -33
- 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 +13 -1
- package/dist/event-log.js +41 -1
- package/dist/event-log.js.map +1 -1
- package/dist/fleet-manager.d.ts +239 -7
- package/dist/fleet-manager.js +1387 -103
- 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 +302 -29
- package/dist/general-knowledge/skills/model-discovery/SKILL.md +4 -0
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +127 -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/agent-catalog-model.d.ts +276 -0
- package/dist/hub/agent-catalog-model.js +49 -0
- package/dist/hub/agent-catalog-model.js.map +1 -0
- package/dist/hub/agent-catalog.d.ts +137 -0
- package/dist/hub/agent-catalog.js +118 -0
- package/dist/hub/agent-catalog.js.map +1 -0
- package/dist/hub/agent-intro.d.ts +31 -0
- package/dist/hub/agent-intro.js +51 -0
- package/dist/hub/agent-intro.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 +11 -6
- package/dist/hub/catalog.js +38 -13
- package/dist/hub/catalog.js.map +1 -1
- package/dist/hub/client.d.ts +15 -0
- package/dist/hub/client.js +106 -12
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +28 -0
- package/dist/hub/compose/member.js +300 -27
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +17 -0
- package/dist/hub/compose/server.js +108 -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 +2 -1
- package/dist/hub/execution/service.js +2 -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 +4 -0
- package/dist/hub/http/compose.js +477 -40
- 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 +30 -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 +177 -0
- package/dist/hub/mcp/tools.js.map +1 -0
- package/dist/hub/member/agent-catalog.d.ts +28 -0
- package/dist/hub/member/agent-catalog.js +80 -0
- package/dist/hub/member/agent-catalog.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 +9 -3
- package/dist/hub/member/exposure-api.js +16 -9
- package/dist/hub/member/exposure-api.js.map +1 -1
- package/dist/hub/member/exposures.d.ts +16 -4
- package/dist/hub/member/exposures.js +47 -13
- 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 +68 -5
- package/dist/hub/member/room-ask.js +273 -25
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-context-budget.d.ts +5 -0
- package/dist/hub/member/room-context-budget.js +34 -0
- package/dist/hub/member/room-context-budget.js.map +1 -0
- 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/sharing-journal.d.ts +252 -0
- package/dist/hub/member/sharing-journal.js +212 -0
- package/dist/hub/member/sharing-journal.js.map +1 -0
- package/dist/hub/member/sharing-link.d.ts +25 -0
- package/dist/hub/member/sharing-link.js +68 -0
- package/dist/hub/member/sharing-link.js.map +1 -0
- package/dist/hub/member/sharing-result.d.ts +6 -0
- package/dist/hub/member/sharing-result.js +46 -0
- package/dist/hub/member/sharing-result.js.map +1 -0
- package/dist/hub/member/sharing.d.ts +37 -0
- package/dist/hub/member/sharing.js +181 -0
- package/dist/hub/member/sharing.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 +146 -0
- package/dist/hub/personal/owner-host.js +289 -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 +927 -1
- package/dist/hub/protocol.js +106 -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 +45 -10
- package/dist/hub/rooms/agents.js +289 -31
- 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 +10 -2
- package/dist/hub/rooms/direct-view.js +4 -4
- 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 +195 -4
- package/dist/hub/rooms/service.js +812 -28
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +30 -3
- package/dist/hub/rooms.d.ts +13 -2
- package/dist/hub/rooms.js +97 -22
- 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 +115 -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-previous-access.d.ts +22 -0
- package/dist/hub/sharing-previous-access.js +93 -0
- package/dist/hub/sharing-previous-access.js.map +1 -0
- package/dist/hub/sharing-requests.d.ts +171 -0
- package/dist/hub/sharing-requests.js +311 -0
- package/dist/hub/sharing-requests.js.map +1 -0
- package/dist/hub/sharing-retention.d.ts +47 -0
- package/dist/hub/sharing-retention.js +83 -0
- package/dist/hub/sharing-retention.js.map +1 -0
- package/dist/hub/sharing-withdrawal.d.ts +14 -0
- package/dist/hub/sharing-withdrawal.js +28 -0
- package/dist/hub/sharing-withdrawal.js.map +1 -0
- 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 +163 -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-page-sharing-settings.d.ts +6 -0
- package/dist/hub-page-sharing-settings.js +19 -0
- package/dist/hub-page-sharing-settings.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-sharing-notice.d.ts +43 -0
- package/dist/hub-sharing-notice.js +34 -0
- package/dist/hub-sharing-notice.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 +195 -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/login-flows.js +1 -1
- package/dist/login-flows.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/needs-you.js +1 -0
- package/dist/needs-you.js.map +1 -1
- package/dist/office-share-page.js +2 -2
- 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 +155 -5
- 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/remote-card-answer.d.ts +1 -1
- package/dist/remote-card-answer.js +8 -1
- package/dist/remote-card-answer.js.map +1 -1
- package/dist/remote-card-prompt.js +1 -1
- package/dist/remote-card-prompt.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 +16 -0
- package/dist/settings-api.js +294 -86
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.d.ts +3 -0
- package/dist/settings-baseline.js +2 -2
- package/dist/settings-baseline.js.map +1 -1
- package/dist/settings-change.js +33 -5
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.d.ts +3 -0
- package/dist/settings-effect.js +29 -3
- 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-card.js +8 -4
- 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-pack.d.ts +1 -0
- package/dist/ui/fleet-office-pack.js +6 -2
- package/dist/ui/fleet-office-play.js +84 -0
- package/dist/ui/fleet-office-skin.js +1 -1
- package/dist/ui/fleet-office-store.js +37 -2
- package/dist/ui/fleet-office-zones.js +55 -10
- package/dist/ui/fleet-office.js +281 -32
- 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-agent-intro.js +26 -0
- 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 +9 -2
- package/dist/ui/hub-client.js +87 -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 +26 -46
- 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-my-agents-model.js +42 -0
- package/dist/ui/hub-my-agents-strings.js +18 -0
- package/dist/ui/hub-my-agents.js +141 -0
- package/dist/ui/hub-owner-strings.js +7 -7
- package/dist/ui/hub-personal-agent-strings.js +246 -0
- package/dist/ui/hub-personal-agent.js +118 -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 +45 -13
- package/dist/ui/hub-room-favorites.js +63 -5
- package/dist/ui/hub-room-list.js +5 -3
- package/dist/ui/hub-room-members-strings.js +2 -2
- package/dist/ui/hub-room-members.js +9 -5
- package/dist/ui/hub-room-new.js +1 -1
- 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 +49 -3
- package/dist/ui/hub-room-thread.js +269 -42
- package/dist/ui/hub-room-unread.js +2 -1
- package/dist/ui/hub-strings.js +13 -5
- 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-sharing.js +81 -0
- 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 +303 -103
- package/dist/ui/panel-log.js +4 -4
- package/dist/ui/panel-notices.js +4 -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 +6 -7
- package/dist/ui/settings-hub-membership.js +6 -7
- package/dist/ui/settings-hub-page-sharing.js +52 -0
- 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 +34 -6
- package/dist/ui/settings-layout.js +10 -12
- package/dist/ui/settings-registry.js +19 -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 +184 -23
- package/dist/ui/shared/app-store.js +7 -3
- 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 +61 -4
- package/dist/ui/shared/hub-groups.css +19 -15
- package/dist/ui/shared/hub-my-agents.css +35 -0
- 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 +13 -1
- package/dist/web-api.js +489 -189
- 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 +20 -0
- package/dist/web-notices.js +64 -8
- 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
|
@@ -14,7 +14,7 @@ import { textLinkSegments } from "/assets/app-route.js";
|
|
|
14
14
|
|
|
15
15
|
const R = () => globalThis.AgendChatRender;
|
|
16
16
|
/** #1589: the public link plays no media in the page (its page says so: <body data-public-link="1">); #2547: its text cards show. */
|
|
17
|
-
const PUBLIC_LINK = () => globalThis.document?.body?.dataset?.publicLink === "1";
|
|
17
|
+
const PUBLIC_LINK = () => globalThis.document?.body?.dataset?.publicLink === "1" && globalThis.document?.body?.dataset?.linkMedia !== "1"; // M-3278: an admin's link page plays them
|
|
18
18
|
/** #1589: how much of a text attachment is shown before "Show all". */
|
|
19
19
|
export const TEXT_PREVIEW_LINES = 200;
|
|
20
20
|
/** #1589: the most elements one formatted text card may build (table cells, highlight spans, Markdown elements), Show all
|
|
@@ -40,6 +40,10 @@ const P = () => globalThis.AgendPreview;
|
|
|
40
40
|
export const STATUS_FOLD_LINES = 2;
|
|
41
41
|
export const STATUS_LINE_CHARS = 100;
|
|
42
42
|
const REPLY = '<svg class="icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 14 4 9l5-5"/><path d="M4 9h10.5a5.5 5.5 0 0 1 0 11H11"/></svg>';
|
|
43
|
+
// M-3127 (Hub rooms): add a reaction — a smiley with a plus.
|
|
44
|
+
const REACT = '<svg class="icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 12a9 9 0 1 1-6.2-8.56"/><path d="M8 14s1.5 2 4 2 4-2 4-2"/><path d="M9 9h.01M15 9h.01"/><path d="M19 2v6M16 5h6"/></svg>';
|
|
45
|
+
/** M-3127: the quick reactions a person picks from (a room checks each one again). */
|
|
46
|
+
export const QUICK_REACTIONS = Object.freeze(["👍", "❤️", "😂", "🎉", "🙏", "👀", "✅", "🔥"]);
|
|
43
47
|
const COPY = '<svg class="icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>';
|
|
44
48
|
|
|
45
49
|
/** Escapes & " ' < >: safe for text and inside a quoted attribute. */
|
|
@@ -199,9 +203,60 @@ export function createThread(list, scroller, opts) {
|
|
|
199
203
|
const clicked = x.role === "user" && x.click && typeof x.click.label === "string";
|
|
200
204
|
// #2272: reply to it — a hover strip at its top right (phones: swipe left or long-press; R on a focused message).
|
|
201
205
|
const key = msgKey(x);
|
|
202
|
-
|
|
206
|
+
// M-3127: a Hub room (opts.react, a message of the room) also offers Add reaction in the same strip; the Fleet passes none.
|
|
207
|
+
const reactable = typeof opts.react === "function" && x.roomMessage && opts.canReact?.(x) !== false;
|
|
208
|
+
const addReact = reactable ? `<button type="button" class="chip-btn icon-only" data-act="reactPick" data-arg="${escAttr(key)}" aria-haspopup="true" aria-expanded="false" title="${escAttr(reactText("add"))}" aria-label="${escAttr(reactText("add"))}">${REACT}</button>` : "";
|
|
209
|
+
const act = opts.canReply?.() === false ? (addReact ? `<div data-trust="thread-control" class="msg-actions">${addReact}</div>` : "") : `<div data-trust="thread-control" class="msg-actions">${addReact}<button type="button" class="chip-btn icon-only" data-act="reply" data-arg="${escAttr(key)}" title="${escAttr(tr("chat.reply"))}" aria-label="${escAttr(tr("chat.reply"))}">${REPLY}</button></div>`;
|
|
210
|
+
// A Hub sender's stateless badge is mounted as DOM below. Its escaped descriptor participates in keyed updates;
|
|
211
|
+
// Fleet callers supply no senderBadge hook and retain their existing sender markup.
|
|
212
|
+
const badge = opts.senderBadge && x.sourceBadge ? ` data-source-badge="${escAttr(JSON.stringify(x.sourceBadge))}"` : "";
|
|
203
213
|
// M-3092 (Hub rooms): another person's message, a bubble on the left (`msg-person`); the fleet never sets x.person.
|
|
204
|
-
return `<div class="msg ${u ? "user" : "agent"}${x.person ? " msg-person" : ""}" data-key="${escAttr(key)}" tabindex="-1">${act}<div class="meta"><span class="sender">${escAttr(x.sender)}</span>${time}${ticks}</div>${quoteHtml(x.replyTo)}<div class="body">${clicked ? clickHtml(x.click) : `<div class="md">${renderedMarkdown(x.text, x.role === "agent", opts.emojis, opts.mentions, opts.mentionLabels?.())}</div>`}${R().attachmentsHtml(x.attachments, { htmlCards: x.role === "agent", goneTitle: tr("chat.attGone"), goneLabel: tr("chat.attUnavailable"), inlinePreviews: !PUBLIC_LINK(), textPreviews: true })}${buttons}</div>${R().reactionsHtml(x.reactions, tr("chat.reactedBy", x.instance || ""))}${tools}</div>`;
|
|
214
|
+
return `<div class="msg ${u ? "user" : "agent"}${x.person ? " msg-person" : ""}" data-key="${escAttr(key)}" tabindex="-1">${act}<div class="meta"><span class="sender"${badge}>${escAttr(x.sender)}</span>${time}${ticks}</div>${quoteHtml(x.replyTo)}<div class="body">${clicked ? clickHtml(x.click) : `<div class="md">${renderedMarkdown(x.text, x.role === "agent", opts.emojis, opts.mentions, opts.mentionLabels?.())}</div>`}${R().attachmentsHtml(x.attachments, { htmlCards: x.role === "agent", goneTitle: tr(x.archived ? "chat.attNotKeptTitle" : "chat.attGone"), goneLabel: tr(x.archived ? "chat.attNotKept" : "chat.attUnavailable"), inlinePreviews: !PUBLIC_LINK(), textPreviews: true })}${buttons}</div>${Array.isArray(x.reactionBar) ? reactBarHtml(x, key, reactable) : R().reactionsHtml(x.reactions, tr("chat.reactedBy", x.instance || ""))}${tools}</div>`;
|
|
215
|
+
}
|
|
216
|
+
/** M-3127: a room's words for its reaction controls (opts.reactText(key)), English when the page gives none. */
|
|
217
|
+
function reactText(k, ...a) {
|
|
218
|
+
const own = opts.reactText?.(k, ...a);
|
|
219
|
+
if (typeof own === "string" && own) return own;
|
|
220
|
+
return k === "add" ? "Add reaction" : k === "pick" ? "Reactions" : k === "chip" ? `${a[0]} ${a[1]}` : "";
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* M-3127: a room message's reactions as chips anyone in the room can press: `x.reactionBar` [{ emoji, count, mine, label }]
|
|
224
|
+
* (label: who reacted, in the page's words). Mine is pressed; pressing toggles mine. Read-only when the room is closed.
|
|
225
|
+
*/
|
|
226
|
+
function reactBarHtml(x, key, live) {
|
|
227
|
+
const items = x.reactionBar.filter((r) => r && typeof r.emoji === "string" && r.count > 0).map((r) => {
|
|
228
|
+
const label = escAttr(r.label || reactText("chip", r.emoji, r.count));
|
|
229
|
+
return live ? `<button type="button" data-trust="thread-control" class="reaction react-chip${r.mine ? " mine" : ""}" data-act="reactToggle" data-arg="${escAttr(key)}" data-emoji="${escAttr(r.emoji)}" aria-pressed="${r.mine ? "true" : "false"}" title="${label}" aria-label="${label}"><span class="e">${escAttr(r.emoji)}</span><span class="n">${Number(r.count)}</span></button>`
|
|
230
|
+
: `<span class="reaction react-chip${r.mine ? " mine" : ""}" role="img" title="${label}" aria-label="${label}"><span class="e">${escAttr(r.emoji)}</span><span class="n">${Number(r.count)}</span></span>`;
|
|
231
|
+
}).join("");
|
|
232
|
+
return items ? `<div class="msg-reactions react-bar" role="group" aria-label="${escAttr(reactText("pick"))}">${items}</div>` : "";
|
|
233
|
+
}
|
|
234
|
+
/** M-3127: a reaction control `el` (its message key and emoji) → the page's react(message, emoji, on). */
|
|
235
|
+
function reactFrom(el, on) {
|
|
236
|
+
const x = msgs.find(y => msgKey(y) === el.dataset.arg);
|
|
237
|
+
if (x && typeof el.dataset.emoji === "string") opts.react?.(x, el.dataset.emoji, on);
|
|
238
|
+
}
|
|
239
|
+
/** M-3127: the quick picker under a message's Add reaction (one open at a time; Escape or a pick closes it). */
|
|
240
|
+
let picker = null;
|
|
241
|
+
function closePicker(focusBack = false) {
|
|
242
|
+
if (!picker) return;
|
|
243
|
+
const { node, button } = picker; picker = null; node.remove(); button.setAttribute("aria-expanded", "false");
|
|
244
|
+
if (focusBack && button.isConnected) button.focus();
|
|
245
|
+
}
|
|
246
|
+
function openPicker(button) {
|
|
247
|
+
const was = picker && picker.button === button; closePicker();
|
|
248
|
+
if (was) return;
|
|
249
|
+
const doc = button.ownerDocument, node = doc.createElement("div");
|
|
250
|
+
node.className = "react-pick"; node.setAttribute("role", "group"); node.setAttribute("data-trust", "thread-control"); node.setAttribute("aria-label", reactText("pick"));
|
|
251
|
+
for (const e of QUICK_REACTIONS) {
|
|
252
|
+
const b = doc.createElement("button");
|
|
253
|
+
b.type = "button"; b.className = "chip-btn react-opt"; b.dataset.act = "reactAdd"; b.dataset.arg = button.dataset.arg; b.dataset.emoji = e;
|
|
254
|
+
b.setAttribute("aria-label", e); b.textContent = e; node.append(b);
|
|
255
|
+
}
|
|
256
|
+
node.addEventListener("keydown", (ev) => { if (ev.key === "Escape") { ev.stopPropagation(); closePicker(true); } });
|
|
257
|
+
button.closest(".msg")?.append(node); button.setAttribute("aria-expanded", "true");
|
|
258
|
+
picker = { node, button };
|
|
259
|
+
node.querySelector("button")?.focus();
|
|
205
260
|
}
|
|
206
261
|
/**
|
|
207
262
|
* A message this page is sending (chat-store.js): its own bubble at once, dimmed with "Sending…" until the server
|
|
@@ -292,7 +347,9 @@ export function createThread(list, scroller, opts) {
|
|
|
292
347
|
// M-3092: a Hub room's line may carry one action (「展開其餘 N 則」): a button the page answers through opts.statusAction.
|
|
293
348
|
const action = x.action && typeof x.action.label === "string" && typeof x.action.arg === "string"
|
|
294
349
|
? `<button type="button" data-trust="thread-control" class="chip-btn st-action" data-act="statusAction" data-arg="${escAttr(x.action.arg)}">${escAttr(x.action.label)}</button>` : "";
|
|
295
|
-
|
|
350
|
+
// A Hub mention-stop sentence must stay readable at phone width. Ordinary Fleet status rows still fold.
|
|
351
|
+
const folded = x.wrap === true ? "" : ` folded${overflows ? " overflows" : ""}`;
|
|
352
|
+
return `<div class="msg status-line${folded}"><div class="meta">${time}</div><div class="body"><div class="st-text">${body}</div>${x.wrap === true ? "" : more}${action}</div>${x.bare === true ? "" : tools}</div>`;
|
|
296
353
|
}
|
|
297
354
|
/**
|
|
298
355
|
* #1266: an agent reply's buttons. Labels are text (escaped, never Markdown); the click names the set and the index,
|
|
@@ -307,7 +364,8 @@ export function createThread(list, scroller, opts) {
|
|
|
307
364
|
const chosen = b.state === "chosen" && b.chosen === i;
|
|
308
365
|
return `<button type="button" class="btn btn-sm rb-btn${chosen ? " chosen" : ""}" data-act="replyButton" data-arg="${escAttr(`${b.id}:${i}`)}"${off ? " disabled" : ""}>${escAttr(chosen ? `✓ ${label}` : label)}</button>`;
|
|
309
366
|
}).join("");
|
|
310
|
-
|
|
367
|
+
// M-3127: a Hub room's buttons say whose they are (`b.note`, "Only Alex can answer"); the Fleet sets none.
|
|
368
|
+
const note = b.state === "chosen" ? trf("chat.rbChosen", b.by || "") : b.state === "expired" ? tr("chat.rbExpired") : typeof b.note === "string" ? b.note : "";
|
|
311
369
|
return `<div data-trust="reply" class="rb-row" role="group" aria-label="${escAttr(tr("chat.rbGroup"))}">${items}${note ? `<span class="rb-note">${escAttr(note)}</span>` : ""}</div>`;
|
|
312
370
|
}
|
|
313
371
|
/**
|
|
@@ -357,6 +415,17 @@ export function createThread(list, scroller, opts) {
|
|
|
357
415
|
pollLeft(node);
|
|
358
416
|
if (x) decorateHtmlCards(node, x, stoppedKeys || []);
|
|
359
417
|
if (x) decorateTextCards(node, x);
|
|
418
|
+
if (x?.sourceBadge) opts.senderBadge?.(node.querySelector(".meta .sender"), x);
|
|
419
|
+
if (x?.role === "agent" && typeof opts.previewFile === "function" && Array.isArray(x.previews)) {
|
|
420
|
+
const row = list.ownerDocument.createElement("div"); row.className = "rb-row reply-previews"; row.dataset.trust = "thread-control";
|
|
421
|
+
x.previews.slice(0, 10).forEach((spec, i) => {
|
|
422
|
+
if (!spec || typeof spec.path !== "string") return;
|
|
423
|
+
const button = list.ownerDocument.createElement("button"); button.type = "button"; button.className = "chip-btn"; button.dataset.replyPreview = String(i);
|
|
424
|
+
button.textContent = opts.previewFileLabel?.(spec) || spec.path;
|
|
425
|
+
button.addEventListener("click", () => opts.previewFile(spec, button, msgKey(x))); row.append(button);
|
|
426
|
+
});
|
|
427
|
+
node.querySelector(".body")?.append(row);
|
|
428
|
+
}
|
|
360
429
|
return node;
|
|
361
430
|
}
|
|
362
431
|
|
|
@@ -662,7 +731,8 @@ export function createThread(list, scroller, opts) {
|
|
|
662
731
|
// grew by less than 48 px (the working line, a command card, the composer shrinking after a send) used to leave the
|
|
663
732
|
// newest bubble clipped behind it, and the next growth past 48 px put the pill over it.
|
|
664
733
|
const atBottom = () => R().isNearBottom(scroller.scrollTop, scroller.clientHeight, scroller.scrollHeight, 1);
|
|
665
|
-
|
|
734
|
+
// M-3272: scrolled back past an unloaded newest end, the pill stays (the live chat is not below what is drawn).
|
|
735
|
+
function reportJump() { opts.onJump({ show: !nearBottom() || opts.detached?.() === true, unseen }); }
|
|
666
736
|
function toBottom() { snap(); scroller.scrollTop = scroller.scrollHeight; pinned = true; mark(); }
|
|
667
737
|
/**
|
|
668
738
|
* #2184: a thread's height is rarely a whole number of pixels, and a pinned view's offset is: so each time older messages
|
|
@@ -759,9 +829,22 @@ export function createThread(list, scroller, opts) {
|
|
|
759
829
|
draw({ older: true });
|
|
760
830
|
}
|
|
761
831
|
|
|
832
|
+
/**
|
|
833
|
+
* M-3272: the first message on screen and where it is, before a page of scroll-back changes what is held (a page
|
|
834
|
+
* appended below, the oldest unloaded above) — after it, the reader is put back where that message was on screen.
|
|
835
|
+
* Measured on screen (getBoundingClientRect), so a browser that anchored the scroll itself is not moved twice.
|
|
836
|
+
*/
|
|
837
|
+
function screenAnchor() {
|
|
838
|
+
const top = scroller.getBoundingClientRect?.().top ?? 0;
|
|
839
|
+
for (const v of nodes.values()) { const r = v.node.getBoundingClientRect?.(); if (r && r.bottom > top) return { node: v.node, at: r.top }; }
|
|
840
|
+
return null;
|
|
841
|
+
}
|
|
762
842
|
/** Draw `next` (this instance's messages). `restore`: the scroll position to return to (null = the bottom). */
|
|
763
843
|
function render(next, renderOpts = {}) {
|
|
764
|
-
|
|
844
|
+
// M-3272: `keep` — a page of scroll-back: never pulled to the bottom (a page appended below the reader is read, not
|
|
845
|
+
// skipped), the reader kept where they were.
|
|
846
|
+
const stick = !renderOpts.keep && (pinned || nearBottom());
|
|
847
|
+
const anchor = renderOpts.keep ? screenAnchor() : null;
|
|
765
848
|
msgs = next || [];
|
|
766
849
|
if (!msgs.length) {
|
|
767
850
|
for (const v of nodes.values()) { stopIn(v.node); v.handle?.unmount(); }
|
|
@@ -782,7 +865,10 @@ export function createThread(list, scroller, opts) {
|
|
|
782
865
|
if (renderOpts.restore == null) toBottom();
|
|
783
866
|
else { scroller.scrollTop = renderOpts.restore; pinned = nearBottom(); mark(); }
|
|
784
867
|
} else if (stick) toBottom();
|
|
785
|
-
else
|
|
868
|
+
else if (anchor) {
|
|
869
|
+
if (anchor.node.isConnected !== false) { const d = (anchor.node.getBoundingClientRect?.().top ?? anchor.at) - anchor.at; if (d) scroller.scrollTop += d; }
|
|
870
|
+
pinned = false; mark();
|
|
871
|
+
} else unseen += added;
|
|
786
872
|
reportJump();
|
|
787
873
|
}
|
|
788
874
|
/** Put the messages from startIndex() on in the list (nodes reused when unchanged). Returns how many are new. */
|
|
@@ -863,7 +949,11 @@ export function createThread(list, scroller, opts) {
|
|
|
863
949
|
mark();
|
|
864
950
|
if (bottom) unseen = 0;
|
|
865
951
|
reportJump();
|
|
866
|
-
|
|
952
|
+
// M-3272: older messages only at the very top, once everything held is drawn (no prefetch); the newest end, unloaded
|
|
953
|
+
// while scrolled back, again at the very bottom.
|
|
954
|
+
if (top <= 1 && startIndex() <= 0) opts.onTop?.();
|
|
955
|
+
if (atBottom() && opts.detached?.() === true) opts.onBottom?.();
|
|
956
|
+
return bottom && opts.detached?.() !== true ? null : scroller.scrollTop;
|
|
867
957
|
}
|
|
868
958
|
function jumpLatest() { toBottom(); unseen = 0; reportJump(); }
|
|
869
959
|
/** Show one message (the panel's "from …" link, #1481): scrolled into view and briefly marked. */
|
|
@@ -889,15 +979,15 @@ export function createThread(list, scroller, opts) {
|
|
|
889
979
|
setTimeout(() => { button.textContent = was; }, 1200);
|
|
890
980
|
}
|
|
891
981
|
/**
|
|
892
|
-
* A chat image: a plain left click (or Enter on it) shows it in the page — this
|
|
893
|
-
* clicked. With a modifier key the link does what the browser does (a new tab, a new window, a download); a middle
|
|
982
|
+
* A chat image: a plain left click (or Enter on it) shows it in the page — M-3210: every image in this chat's thread,
|
|
983
|
+
* in message order, from the one clicked (it was this message's alone). With a modifier key the link does what the browser does (a new tab, a new window, a download); a middle
|
|
894
984
|
* click is not a click event at all. True when it was an image (whether or not it opened).
|
|
895
985
|
*/
|
|
896
986
|
function onImageClick(e) {
|
|
897
987
|
const img = e.target && e.target.closest ? e.target.closest("a.att-img") : null;
|
|
898
988
|
if (!img || !list.contains(img)) return false;
|
|
899
989
|
if (opts.openImage && !e.defaultPrevented && (e.button ?? 0) === 0 && !e.ctrlKey && !e.metaKey && !e.shiftKey && !e.altKey) {
|
|
900
|
-
const links = [...
|
|
990
|
+
const links = [...list.querySelectorAll("a.att-img")];
|
|
901
991
|
if (opts.openImage(links.length ? links : [img], img)) e.preventDefault();
|
|
902
992
|
}
|
|
903
993
|
return true;
|
|
@@ -934,6 +1024,9 @@ export function createThread(list, scroller, opts) {
|
|
|
934
1024
|
if (m && opts.clickReplyButton) opts.clickReplyButton(m[1], Number(m[2]));
|
|
935
1025
|
} else if (act === "showButtons") { const x = msgs.find(y => y.buttons && y.buttons.id === el.dataset.arg); if (x) reveal(msgKey(x)); }
|
|
936
1026
|
else if (act === "reply") { const x = msgs.find(y => msgKey(y) === el.dataset.arg); if (x) opts.startReply?.(x); }
|
|
1027
|
+
else if (act === "reactPick") openPicker(el);
|
|
1028
|
+
else if (act === "reactAdd") { closePicker(true); reactFrom(el, true); } // a quick pick: mine added
|
|
1029
|
+
else if (act === "reactToggle") reactFrom(el, el.getAttribute("aria-pressed") !== "true"); // a chip: mine on or off
|
|
937
1030
|
else if (act === "jumpQuote") void jumpTo(el.dataset.arg);
|
|
938
1031
|
else if (act === "retryOut") opts.retryOutgoing?.(el.dataset.arg); // a failed send, again
|
|
939
1032
|
else if (act === "putBackOut") opts.putBackOutgoing?.(el.dataset.arg); // back in the composer, to change it
|
|
@@ -943,11 +1036,14 @@ export function createThread(list, scroller, opts) {
|
|
|
943
1036
|
* #2272: show the message a reply quotes, flashed — drawn now, or after the chat reads back the longest history the
|
|
944
1037
|
* server keeps; otherwise it says it is no longer there.
|
|
945
1038
|
*/
|
|
946
|
-
async function jumpTo(key) {
|
|
947
|
-
if (typeof key !== "string" || !key) return;
|
|
948
|
-
if (reveal(key)) return;
|
|
1039
|
+
async function jumpTo(key, { onGone } = {}) {
|
|
1040
|
+
if (typeof key !== "string" || !key) return false;
|
|
1041
|
+
if (reveal(key)) return true;
|
|
949
1042
|
const found = opts.findQuoted ? await opts.findQuoted(key) : false;
|
|
950
|
-
if (
|
|
1043
|
+
if (found && reveal(key)) return true;
|
|
1044
|
+
// M-3271: a pin's jump shows the copy it kept instead of the notice (onGone).
|
|
1045
|
+
if (typeof onGone === "function") onGone(); else opts.notice?.(tr("chat.replyGone"));
|
|
1046
|
+
return false;
|
|
951
1047
|
}
|
|
952
1048
|
/** #2272: a drawn message's row (for the message menu and gestures), or undefined. */
|
|
953
1049
|
function messageOf(key) { return msgs.find(y => msgKey(y) === key); }
|
|
@@ -982,6 +1078,7 @@ export function createThread(list, scroller, opts) {
|
|
|
982
1078
|
}
|
|
983
1079
|
/** `own`: only this thread's previews stop (a thread let go while another chat is in view); else every one, as leaving. */
|
|
984
1080
|
function dispose(own = false) {
|
|
1081
|
+
closePicker();
|
|
985
1082
|
disposed = true;
|
|
986
1083
|
if (!parked) watchReader(scroller, false);
|
|
987
1084
|
if (ro) ro.disconnect();
|
|
@@ -992,5 +1089,11 @@ export function createThread(list, scroller, opts) {
|
|
|
992
1089
|
armPolls();
|
|
993
1090
|
}
|
|
994
1091
|
|
|
995
|
-
|
|
1092
|
+
/** M-3127: open the quick reaction picker under message `key` (its Add reaction button) — the message menu's React; false when none. */
|
|
1093
|
+
function pickReaction(key) {
|
|
1094
|
+
const node = nodes.get(key)?.node, button = node && node.querySelector('[data-act="reactPick"]');
|
|
1095
|
+
if (!button) return false;
|
|
1096
|
+
openPicker(button); return true;
|
|
1097
|
+
}
|
|
1098
|
+
return { render, progress, onScroll, onClick, jumpLatest, reveal, jumpTo, messageOf, rove, refreshCards, park, attach, dispose, nodes, pickReaction, get unseen() { return unseen; } };
|
|
996
1099
|
}
|
|
@@ -10,3 +10,121 @@
|
|
|
10
10
|
.work-bar .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
11
11
|
.work-bar .elapsed, .work-bar .pulse { flex: none; }
|
|
12
12
|
@media (max-width: 899px), (pointer: coarse) { .work-bar { block-size: var(--tap, 44px); min-block-size: var(--tap, 44px); max-block-size: var(--tap, 44px); } }
|
|
13
|
+
/* M-3167: the context ring and the model picker beside the box are drawn wherever the composer has them — a phone (M-3115)
|
|
14
|
+
and a desk up to 1439 px (panel-chat.js COMPOSER_TOOLS_Q) — so they are always styled. Outside a media query: a window
|
|
15
|
+
resized across 899 px left them unstyled (a grey "56" box, the model on a grey block). */
|
|
16
|
+
/* M-3115 PR 2: one composer row — the box, then the context's ring (from 50%) and the model · effort picker, then Send
|
|
17
|
+
(Stop while the agent works with nothing typed). Each is a full tap target; the ring is drawn smaller inside. */
|
|
18
|
+
.composer-tools { display: inline-flex; align-items: center; flex: none; min-width: 0; }
|
|
19
|
+
.ctx-ring { --pct: 0; flex: none; display: grid; place-items: center; min-width: var(--tap); min-height: var(--tap); padding: 0; border: 0; background: none; color: var(--text-3); }
|
|
20
|
+
.ctx-dial { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-full); background: conic-gradient(currentColor calc(var(--pct) * 1%), var(--border) 0); }
|
|
21
|
+
.ctx-dial::before { content: ""; position: absolute; inset: 3px; border-radius: var(--r-full); background: var(--surface); }
|
|
22
|
+
.ctx-pct { position: relative; font-size: var(--fs-xs); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; transform: scale(0.8); }
|
|
23
|
+
.ctx-ring.warn { color: var(--warn); }
|
|
24
|
+
.ctx-ring.warn .ctx-pct { font-weight: var(--fw-semibold); }
|
|
25
|
+
.composer-pick { display: inline-flex; align-items: center; gap: var(--s-1); min-height: var(--tap); max-width: min(24vw, 12rem); padding: 0 var(--s-2); border: 0; border-radius: var(--r-full); background: none; color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; }
|
|
26
|
+
.composer-pick b { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text); font-weight: var(--fw-semibold); }
|
|
27
|
+
.composer-pick .pick-effort { flex: none; }
|
|
28
|
+
.composer-pick .chev { flex: none; color: var(--text-3); }
|
|
29
|
+
|
|
30
|
+
/* M-3115 (phone v2): in a phone's chat the working bar is one thin status line ("● 調度中… 0:01"), and Stop is Send's
|
|
31
|
+
while the box is empty (panel-chat.js). With something typed Send sends again, and Stop is this line's small 「停止」 —
|
|
32
|
+
a 44 px tap target drawn as text. */
|
|
33
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
34
|
+
.p-chat .work-bar { block-size: 22px; min-block-size: 22px; max-block-size: 22px; overflow: visible; }
|
|
35
|
+
/* …only when nothing is waiting to go: with a file attached Send is Send (the file can go), so Stop stays here (M-3198). */
|
|
36
|
+
.p-chat .dock:has(.composer-field textarea:placeholder-shown):not(:has(.pending-files)) .work-bar .btn-stop { display: none; }
|
|
37
|
+
.p-chat .work-bar .btn-stop { min-height: var(--tap); min-width: var(--tap); height: var(--tap); margin-block: calc((22px - var(--tap)) / 2); padding: 0 var(--s-2); border: 0; background: none; color: var(--accent); font-weight: var(--fw-semibold); }
|
|
38
|
+
.p-chat .work-bar .btn-stop .icon { display: none; }
|
|
39
|
+
/* M-3115 PR 3: past 70% the context hint is one thin line in the status line's place — the idle strip gives way to it,
|
|
40
|
+
and while the agent works the working line has the place (the ring by the box still says the %). 22 px either way;
|
|
41
|
+
its words are links, each a full tap target drawn as text. */
|
|
42
|
+
.p-chat .quick-actions.qa-line { height: 22px; margin: 0; padding: 0 var(--s-1); flex-wrap: nowrap; gap: var(--s-1); color: var(--warn); white-space: nowrap; overflow: visible; }
|
|
43
|
+
.p-chat .qa-line .qa-ctx { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
44
|
+
.p-chat .qa-line .btn { min-height: var(--tap); min-width: var(--tap); height: var(--tap); margin-block: calc((22px - var(--tap)) / 2); padding: 0 var(--s-1); border: 0; background: none; color: var(--accent); font-weight: var(--fw-semibold); }
|
|
45
|
+
.p-chat .qa-line .qa-dismiss { margin-left: auto; color: var(--text-3); }
|
|
46
|
+
.p-chat .dock:has(.qa-line) .work-bar.idle { display: none; }
|
|
47
|
+
.p-chat .dock:has(.work-bar:not(.idle)) .qa-line { display: none; }
|
|
48
|
+
/* (These live here, not in app.css: a tab on an older app.css links this file fresh, and the row must not crush the box.) */
|
|
49
|
+
/* Send is Stop while the box is empty and the agent works: one size in both, a full tap target (the box keeps one
|
|
50
|
+
width). Here, not in app.css: a tab on an older app.css links this file fresh. */
|
|
51
|
+
.p-chat .composer .btn-send { width: var(--tap); min-width: var(--tap); min-height: var(--tap); }
|
|
52
|
+
/* M-3222 (the user, iPhone): one line of text sat 3 px under the box's middle — the row aligns its items to the bottom, and
|
|
53
|
+
Send is a 44 px tap target while the one-line box was 38 px. The one-line box is as tall as Send now (more lines grow
|
|
54
|
+
it as before), its drawn placeholder on the same line, and 📎 a tap target of the same height. */
|
|
55
|
+
.p-chat .composer textarea { padding-block: calc((var(--tap) - var(--lh-md)) / 2); }
|
|
56
|
+
.p-chat .composer-ph { top: calc((var(--tap) - var(--lh-md)) / 2); }
|
|
57
|
+
.p-chat .composer > .icon-btn { width: var(--tap); height: var(--tap); }
|
|
58
|
+
.p-chat .work-bar .btn-stop .stop-label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
|
|
59
|
+
}
|
|
60
|
+
/* M-3167: between a phone and a wide desk the composer has the model (above), so the header's chips (backend, model,
|
|
61
|
+
effort) give way: they drew under the agent's tabs at about 920 px. Wider, they stay. On every desk the header's status
|
|
62
|
+
line may shrink and is cut instead of running under the tabs, and the name keeps a few characters. */
|
|
63
|
+
@media (min-width: 900px) and (pointer: fine) and (max-width: 1439px), (min-width: 900px) and (pointer: none) and (max-width: 1439px), (min-width: 900px) and (min-height: 501px) and (max-width: 1439px), (min-width: 1024px) and (max-width: 1439px) { .p-chat .panel-head .panel-sub .hd-chip { display: none; } }
|
|
64
|
+
@media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
|
|
65
|
+
.p-chat .panel-head .panel-sub { min-width: 0; overflow: hidden; }
|
|
66
|
+
.p-chat .panel-head .panel-title h1 { flex: 0 1000 auto; min-width: min(8ch, 40%); } /* the name gives way before the status */
|
|
67
|
+
}
|
|
68
|
+
/* M-3166 (Argon 0 and 1, the user's OK of round 2): a phone's meta line above the box — 26 px, the small type, hit targets of
|
|
69
|
+
at least 32 px — in place of the working bar and of the line under the box (its Not verified is the meta line's right end,
|
|
70
|
+
amber; ✓ Verified isn't drawn there). The box is 📎 · the text, the whole width · Send/Stop; files in a strip at the top;
|
|
71
|
+
at most five lines, then it scrolls. */
|
|
72
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
73
|
+
.chat-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); height: 26px; padding: 0 var(--s-1); font-size: var(--fs-xs); color: var(--text-2); }
|
|
74
|
+
.chat-meta-left { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 32px; margin: -3px 0; padding: 0 var(--s-2); border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; white-space: nowrap; overflow: hidden; }
|
|
75
|
+
.chat-meta-left > span:not(.chat-meta-dot):not(.chev) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
76
|
+
.chat-meta-model .chev { flex: none; color: var(--text-3); }
|
|
77
|
+
.chat-meta-dot { flex: none; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--ok); animation: pulse 1.6s ease-in-out infinite; }
|
|
78
|
+
.chat-meta.awaiting .chat-meta-dot, .chat-meta.stuck .chat-meta-dot { background: var(--warn); animation: none; }
|
|
79
|
+
.chat-meta-right { display: inline-flex; align-items: center; gap: var(--s-2); flex: none; }
|
|
80
|
+
.chat-meta-right .webauth-row[data-state="verified"] > :not(.webauth-notice) { display: none; }
|
|
81
|
+
.chat-meta-right .webauth-row, .chat-meta-right .webauth-row .note { color: var(--warn); font-weight: var(--fw-semibold); }
|
|
82
|
+
.chat-meta-right .webauth-row :is(button, a) { min-height: 32px; color: var(--warn); font-weight: var(--fw-semibold); }
|
|
83
|
+
.chat-meta-stop { min-height: 32px; padding: 0 var(--s-2); border: 0; background: none; color: var(--accent); font: inherit; font-weight: var(--fw-semibold); }
|
|
84
|
+
.p-chat .dock:has(.composer-field textarea:placeholder-shown):not(:has(.pending-files)) .chat-meta-stop { display: none; } /* M-3198: files-only, Stop stays */
|
|
85
|
+
.p-chat .dock:has(.chat-meta.busy) .qa-line { display: none; }
|
|
86
|
+
.p-chat .dock:has(.chat-meta) .composer-row { display: none; }
|
|
87
|
+
/* Five lines, then it scrolls: the box's padding is in its height (border-box), and since M-3222 one line with its padding is
|
|
88
|
+
a tap target tall — so the cap is four more lines on top of that (Fable, #4038). */
|
|
89
|
+
.p-chat .composer textarea { max-height: calc(4 * var(--lh-md) + var(--tap)); overflow-y: auto; }
|
|
90
|
+
.p-chat .composer-box .pending-files { flex-wrap: nowrap; overflow-x: auto; }
|
|
91
|
+
}
|
|
92
|
+
/* M-3166 (Argon 2–3, the user's OK of round 2): a phone's chat header is "← name ● ⋯" in 44 px — the status is its 6 px dot
|
|
93
|
+
(its title still says it), and the search, card, text size and usage buttons and the tab row are the ⋯ sheet's. */
|
|
94
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
95
|
+
.p-chat > .panel-head { min-height: 44px; padding-bottom: 0; }
|
|
96
|
+
.p-chat > .panel-head .panel-title { min-height: 44px; gap: var(--s-2); }
|
|
97
|
+
/* Only a header with the ⋯ sheet gives its controls up to it: a guest's has none, so it keeps its own (#4002 review). */
|
|
98
|
+
.p-chat > .panel-head:has(.chat-sheet-more) { flex-wrap: nowrap; }
|
|
99
|
+
.p-chat > .panel-head:has(.chat-sheet-more) .sb-search, .p-chat > .panel-head:has(.chat-sheet-more) .inst-switch,
|
|
100
|
+
.p-chat > .panel-head:has(.chat-sheet-more) .panel-actions > :not(.chat-sheet-more):not(.dlg) { display: none !important; }
|
|
101
|
+
.p-chat > .panel-head .panel-title h1 { flex: 0 1 auto; }
|
|
102
|
+
.p-chat > .panel-head .panel-sub > :not(.status) { display: none; }
|
|
103
|
+
.p-chat > .panel-head .panel-sub .status { font-size: 0; gap: 0; }
|
|
104
|
+
.p-chat > .panel-head .panel-sub .dot { width: 6px; height: 6px; }
|
|
105
|
+
/* M-3166 PR 5: View, Log and Details get the same "← name ● ⋯" header, no tab row — when it has the ⋯ sheet (a guest's or
|
|
106
|
+
an anonymous reader's View has none, and keeps its own header). */
|
|
107
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) { min-height: 44px; padding-bottom: 0; flex-wrap: nowrap; }
|
|
108
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) .panel-title { min-height: 44px; gap: var(--s-2); }
|
|
109
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) :is(.sb-search, .inst-switch),
|
|
110
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) .panel-actions > :not(.chat-sheet-more):not(.dlg) { display: none !important; }
|
|
111
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) .panel-title h1 { flex: 0 1 auto; }
|
|
112
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) .panel-sub > :not(.status) { display: none; }
|
|
113
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) .panel-sub .status { font-size: 0; gap: 0; }
|
|
114
|
+
:is(.p-view, .p-log, .p-details) > .panel-head:has(.chat-sheet-more) .panel-sub .dot { width: 6px; height: 6px; }
|
|
115
|
+
/* The ⋯ sheet (the dialog's own bottom sheet on a phone). */
|
|
116
|
+
/* The sheet's name stays its accessible name (the dialog's title), drawn as a handle instead, as approved. */
|
|
117
|
+
.chat-sheet .dlg-head { position: relative; justify-content: center; min-height: var(--s-6); padding-bottom: var(--s-1); }
|
|
118
|
+
.chat-sheet .dlg-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
119
|
+
.chat-sheet .dlg-head::before { content: ""; width: 36px; height: 5px; border-radius: var(--r-full); background: var(--border-strong); }
|
|
120
|
+
.chat-sheet .dlg-head .dlg-x { position: absolute; right: var(--s-2); top: 50%; transform: translateY(-50%); }
|
|
121
|
+
.chat-sheet-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-3); }
|
|
122
|
+
.chat-sheet-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-1); min-height: 64px; border: 0; border-radius: var(--r-md);
|
|
123
|
+
background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--fs-sm); cursor: pointer; }
|
|
124
|
+
.chat-sheet-row { width: 100%; min-height: var(--tap); font-size: var(--fs-md); }
|
|
125
|
+
.chat-sheet-row small { margin-left: auto; color: var(--text-2); font-size: var(--fs-sm); }
|
|
126
|
+
.chat-sheet-gap { width: 18px; flex: none; }
|
|
127
|
+
.chat-sheet-sub { padding-left: var(--s-3); border-left: 2px solid var(--border); margin: 0 0 var(--s-2) var(--s-3); }
|
|
128
|
+
.chat-sheet-head { margin-top: var(--s-2); }
|
|
129
|
+
.chat-sheet-foot { border-top: 1px solid var(--border); margin-top: var(--s-2); padding: var(--s-3) var(--s-3) 0; font-size: var(--fs-sm); color: var(--ok); font-weight: var(--fw-semibold); }
|
|
130
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { connectInstallInfo } from "../../connect/install.js";
|
|
2
|
+
export function connectorPrompt(info: ReturnType<typeof connectInstallInfo>, app: string, where: string, translate: (key: string) => string): string;
|
|
3
|
+
export function hubConnectorPrompt(address: string, app: string, translate: (key: string) => string): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Deterministic prompt rendering: command/args come from this computer, never a secret-bearing config dump. */
|
|
2
|
+
export function connectorPrompt(info, app, where, translate) {
|
|
3
|
+
const server = where === "windows" ? info.windows : info.local;
|
|
4
|
+
if (!server) return "";
|
|
5
|
+
const name = translate(app === "claude" ? "claude" : app === "codex" ? "codex" : "generic");
|
|
6
|
+
const config = app === "codex"
|
|
7
|
+
? `[mcp_servers.agend]\ncommand = ${JSON.stringify(server.command)}\nargs = ${JSON.stringify(server.args)}`
|
|
8
|
+
: JSON.stringify({ mcpServers: { agend: { command: server.command, args: server.args } } }, null, 2);
|
|
9
|
+
return `${translate("prompt").replace("{app}", name)}\n\n${translate("config")}:\n${config}`;
|
|
10
|
+
}
|
|
11
|
+
/** A remote app config contains only the canonical Hub URL, never a local command or token. */
|
|
12
|
+
export function hubConnectorPrompt(address, app, translate) {
|
|
13
|
+
let url; try { url = new URL(address); } catch { return ""; }
|
|
14
|
+
if (url.protocol !== "https:" || url.username || url.password || url.search || url.hash || url.pathname !== "/mcp") return "";
|
|
15
|
+
const name = translate(app === "claude" ? "claude" : app === "codex" ? "codex" : "generic");
|
|
16
|
+
const config = app === "codex" ? `[mcp_servers.agend_hub]\nurl = ${JSON.stringify(url.href)}`
|
|
17
|
+
: app === "claude" ? JSON.stringify({mcpServers:{agend_hub:{type:"http",url:url.href}}},null,2)
|
|
18
|
+
: JSON.stringify({url:url.href,transport:"streamable-http"},null,2);
|
|
19
|
+
return `${translate("prompt").replace("{app}", name)}\n\n${translate("config")}:\n${config}`;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.hub-ai-apps .hub-app-button { min-height: var(--tap); min-width: var(--tap); }
|
|
2
|
+
.hub-ai-apps .hub-subject-picker .btn { min-height: var(--tap); min-width: var(--tap); }
|
|
3
|
+
.hub-ai-apps :is(select, input[type="url"], input[type="search"]) { min-height: var(--tap); }
|
|
4
|
+
.hub-ai-apps .check { min-height: var(--tap); }
|
|
5
|
+
.hub-ai-apps .hub-app-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
|
|
6
|
+
.hub-ai-apps .hub-app-list { padding: 0; list-style: none; }
|
|
7
|
+
.hub-ai-apps .hub-app-row { display: grid; gap: var(--s-2); min-width: 0; overflow-wrap: anywhere; }
|
|
8
|
+
.hub-ai-apps textarea { width: 100%; resize: vertical; }
|
|
9
|
+
.hub-ai-apps summary { min-height: var(--tap); cursor: pointer; }
|
|
10
|
+
.hub-ai-apps .s-disclosure-body { padding: var(--s-3); }
|
|
11
|
+
.hub-ai-apps .hub-app-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
|
|
12
|
+
.hub-ai-apps .hub-app-disconnect { justify-self: end; }
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
.hub-room-text { min-width: 0; display: flex; flex-direction: column; }
|
|
20
20
|
.hub-room-text .t { font-weight: var(--fw-semibold, 600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
21
21
|
.hub-room-text .s { color: var(--text-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
22
|
-
.hub-room-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size:
|
|
22
|
+
.hub-room-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: var(--fs-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
|
|
23
23
|
.hub-room-side .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); animation: hub-pulse 1.4s ease-in-out infinite; }
|
|
24
24
|
@keyframes hub-pulse { 50% { opacity: .3; } }
|
|
25
25
|
@media (prefers-reduced-motion: reduce) { .hub-room-side .pulse { animation: none; } }
|
|
@@ -30,6 +30,15 @@
|
|
|
30
30
|
.hub-room-at { flex: none; color: var(--accent); font-weight: var(--fw-semibold); font-size: var(--fs-xs); }
|
|
31
31
|
.inst-line2 > .nav-count { flex: none; height: 18px; min-width: 18px; line-height: 18px; }
|
|
32
32
|
.hub-room-archived .inst-name { color: var(--text-3); }
|
|
33
|
+
/* M-3117: on a phone the Fleet chat's box has a hairline (model-picker.css, which the Hub does not load): the Hub's too. */
|
|
34
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
35
|
+
.hub-dock .composer-box { border: 1px solid var(--border); }
|
|
36
|
+
/* …and its Send is a full tap target (chat-work-bar.css, linked by the Fleet chat only). */
|
|
37
|
+
.hub-dock .composer .btn-send { width: var(--tap); min-width: var(--tap); min-height: var(--tap); }
|
|
38
|
+
}
|
|
39
|
+
/* Spec §4: the room's hint (messages without an @agent reach only people) stays under the box on a phone too, where the
|
|
40
|
+
Fleet chat's own keyboard hint (.hint) is hidden. */
|
|
41
|
+
.hub-room-page .composer-row .hub-room-hint { display: inline; white-space: normal; }
|
|
33
42
|
/* The room composer's fixed hint and @all bar wrap without leaving a lone word on the last line. */
|
|
34
43
|
.hub-room-hint, .hub-room-allbar { text-wrap: pretty; }
|
|
35
44
|
/* A question's folded answers: a left-aligned link under the last one shown (Lumen), not a centred line. */
|
|
@@ -43,7 +52,7 @@
|
|
|
43
52
|
|
|
44
53
|
/* a name's letter on a tone (the same tones in both themes) */
|
|
45
54
|
.hub-av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: #fff; flex: none; }
|
|
46
|
-
.hub-av.sm { width: 28px; height: 28px; font-size:
|
|
55
|
+
.hub-av.sm { width: 28px; height: 28px; font-size: var(--fs-xs); border-radius: 8px; }
|
|
47
56
|
.hub-av.lg { width: 56px; height: 56px; font-size: 22px; border-radius: 16px; }
|
|
48
57
|
.hub-av.t0 { background: #4f6bd8; } .hub-av.t1 { background: #2f8f83; } .hub-av.t2 { background: #b4643a; }
|
|
49
58
|
.hub-av.t3 { background: #7b5bc4; } .hub-av.t4 { background: #6b7280; } .hub-av.t5 { background: #b8447a; }
|
|
@@ -53,10 +62,43 @@
|
|
|
53
62
|
.hub-home { flex: 1; min-height: 0; display: flex; }
|
|
54
63
|
.hub-home-list { display: none; }
|
|
55
64
|
.hub-home-pick { flex: 1; display: flex; align-items: center; justify-content: center; padding: var(--s-6); }
|
|
56
|
-
|
|
65
|
+
/* M-3190 (Argon's chat-first review): the launcher — one centred column of agent rows. On a phone the list keeps the page,
|
|
66
|
+
except on 新對話 and with nothing to list (.is-launch). */
|
|
67
|
+
.hub-home-pick.hub-home-launch { align-items: flex-start; overflow-y: auto; padding: 0; }
|
|
68
|
+
.hub-launch { width: 100%; max-width: 600px; margin: 0 auto; padding: 48px 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; }
|
|
69
|
+
.hub-launch-title { font-size: var(--fs-xl); font-weight: var(--fw-semibold); margin: 0; }
|
|
70
|
+
.hub-launch-filter { margin: 0; }
|
|
71
|
+
.hub-launch-rows { display: flex; flex-direction: column; gap: 8px; }
|
|
72
|
+
.hub-launch-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; box-sizing: border-box; border: 1px solid var(--border); border-radius: 12px;
|
|
73
|
+
background: var(--bg); color: var(--text); text-decoration: none; }
|
|
74
|
+
.hub-launch-row:hover, .hub-launch-row:focus-visible { background: var(--surface); }
|
|
75
|
+
.hub-launch-av { position: relative; display: inline-flex; flex: none; }
|
|
76
|
+
.hub-launch-av .hub-av { width: 36px; height: 36px; }
|
|
77
|
+
.hub-launch-av .dot { position: absolute; right: -1px; bottom: -1px; width: 6px; height: 6px; box-shadow: 0 0 0 2px var(--bg); }
|
|
78
|
+
.hub-launch-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
79
|
+
.hub-launch-text strong { font-size: var(--fs-md); font-weight: var(--fw-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
80
|
+
.hub-launch-text small { color: var(--text-3); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
81
|
+
.hub-launch-go { flex: none; color: var(--text-3); font-size: var(--fs-sm); opacity: 0; }
|
|
82
|
+
.hub-launch-row:hover .hub-launch-go, .hub-launch-row:focus-visible .hub-launch-go { opacity: 1; }
|
|
83
|
+
.hub-launch-empty { max-width: 520px; box-sizing: border-box; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg);
|
|
84
|
+
display: flex; flex-direction: column; gap: 8px; }
|
|
85
|
+
.hub-launch-empty strong { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-lg); }
|
|
86
|
+
.hub-launch-empty p { margin: 0; color: var(--text-3); font-size: var(--fs-sm); }
|
|
87
|
+
.hub-launch-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
|
|
88
|
+
.hub-launch-pill { min-height: 36px; border-radius: 999px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
|
|
89
|
+
a.hub-launch-pill { border: 1px solid var(--border); background: transparent; color: var(--text); }
|
|
90
|
+
@media (hover: none) { .hub-launch-go { opacity: 1; } }
|
|
91
|
+
@media (max-width: 899px), (pointer: coarse) { .hub-launch-pill { min-height: var(--tap); } } /* a fingertip on a phone */
|
|
92
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
|
|
57
93
|
.hub-home-list { display: block; flex: 1; overflow-y: auto; padding-top: var(--s-2); }
|
|
58
94
|
.hub-home-pick { display: none; }
|
|
95
|
+
.hub-home.is-launch .hub-home-list { display: none; }
|
|
96
|
+
.hub-home.is-launch .hub-home-pick { display: flex; }
|
|
97
|
+
.hub-launch { padding: 24px 16px; }
|
|
59
98
|
}
|
|
99
|
+
/* The Hub sidebar's current page: a filled pill, semibold (Argon) — not a focus ring after a click. */
|
|
100
|
+
.side-nav .side-row.active { background: var(--surface-2); font-weight: var(--fw-semibold); }
|
|
101
|
+
.side-nav .side-row:focus:not(:focus-visible) { outline: none; }
|
|
60
102
|
|
|
61
103
|
/* ── a room ── */
|
|
62
104
|
.hub-chat { flex: 1; min-height: 0; display: flex; }
|
|
@@ -69,8 +111,13 @@
|
|
|
69
111
|
.hub-back { flex: none; }
|
|
70
112
|
/* S-150: the phone's back to the list is a full tap target, as the header's other buttons are. */
|
|
71
113
|
@media (max-width: 899px), (pointer: coarse) { .hub-chat-head .hub-back { min-width: var(--tap); min-height: var(--tap); } }
|
|
114
|
+
/* M-3128: the rooms headers' own controls (Aa text size, the Notify bell) are full tap targets too. */
|
|
115
|
+
.hub-head-tools { display: inline-flex; align-items: center; gap: var(--s-1); flex: none; }
|
|
116
|
+
@media (max-width: 899px), (pointer: coarse) {
|
|
117
|
+
.hub-head-tools .hd-text, .hub-head-tools .hub-notify { min-width: var(--tap); min-height: var(--tap); }
|
|
118
|
+
}
|
|
72
119
|
.hub-scroller { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; position: relative; }
|
|
73
|
-
|
|
120
|
+
/* M-3117: the thread is the Fleet chat's (.thread in app.css: its column, padding and a phone's tighter one) — no Hub copy. */
|
|
74
121
|
.hub-room-empty { padding: var(--s-6) var(--s-4); }
|
|
75
122
|
.hub-banner { margin: 0; padding: var(--s-2) var(--s-3); border-radius: var(--r-md); font-size: var(--fs-sm); background: var(--surface); color: var(--text-2); }
|
|
76
123
|
.hub-banner.danger { background: var(--danger-bg, var(--surface)); color: var(--danger); }
|
|
@@ -118,3 +165,13 @@
|
|
|
118
165
|
/* The foot is the sidebar's bottom: its session menu opens upward (as the dashboard's), never below the screen. */
|
|
119
166
|
.hub-session-row .hub-session-menu .menu-list { top: auto; bottom: calc(100% + 6px); left: auto; right: 0; max-width: calc(var(--sidebar-w, 260px) - 2 * var(--s-2)); }
|
|
120
167
|
|
|
168
|
+
|
|
169
|
+
/* The access limitation must remain readable on a phone. */
|
|
170
|
+
.hub-chat-title .hub-answer-only-note { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; padding-block: var(--s-1); }
|
|
171
|
+
|
|
172
|
+
.inst-alt.hub-answer-only-note, .cmd-desc.hub-answer-only-note { white-space: normal; overflow-wrap: anywhere; }
|
|
173
|
+
|
|
174
|
+
.hub-chat-head.hub-answer-only-head { padding-block: var(--s-2); }
|
|
175
|
+
|
|
176
|
+
/* Room context H1: a short public introduction stays readable on narrow screens. */
|
|
177
|
+
.hub-chat-title .hub-agent-intro-line{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
/* #3298 S-89: the Hub's signed-in welcome and Administration → Group permissions. Its own stylesheet (linked by
|
|
2
2
|
hub-group-strings.js) so a tab holding an older hub-chat.css or hub-owner.css still draws these pages. Built on the shared
|
|
3
3
|
card / s-row / field / btn / tag pieces; only the layout of the two entries and the group rows is here. */
|
|
4
|
-
.hub-home.has-welcome .hub-home-pick.hub-home-welcome { align-items: flex-start; justify-content: flex-start; overflow-y: auto; }
|
|
5
|
-
.hub-welcome-page { width: 100%; max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-3); }
|
|
6
|
-
.hub-welcome { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-3); }
|
|
7
|
-
.hub-welcome-card { display: flex; flex-direction: column; gap: var(--s-2); min-height: 180px; }
|
|
8
|
-
.hub-welcome-card h3 { font-size: var(--fs-lg, 1.15rem); margin: 0; }
|
|
9
|
-
.hub-welcome-actions { margin-top: auto; display: flex; gap: var(--s-2); }
|
|
10
4
|
.hub-groups-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
|
|
11
|
-
|
|
12
|
-
.hub-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
5
|
+
/* M-3190: the chat launcher's frame (hub-welcome.js ChatLauncherFrame) and 我分享的 Agent → 「我的 Fleet」. */
|
|
6
|
+
.hub-launch-banner { display: flex; align-items: center; gap: 10px; min-height: 40px; box-sizing: border-box; padding: 0 4px 0 14px; border: 1px solid var(--border);
|
|
7
|
+
border-radius: 10px; background: var(--surface); font-size: var(--fs-sm); }
|
|
8
|
+
.hub-launch-banner > span { flex: 1; min-width: 0; }
|
|
9
|
+
.hub-launch-foot { margin: 8px 0 0; color: var(--text-3); font-size: var(--fs-sm); }
|
|
10
|
+
.hub-launch-foot a { color: inherit; }
|
|
11
|
+
.hub-launch-ok { color: var(--ok); }
|
|
12
|
+
@media (max-width: 640px) { .hub-launch-foot { display: none; } } /* no Fleet or address text on a phone's 對話 */
|
|
13
|
+
.hub-my-fleets h3 small { font-weight: var(--fw-regular); }
|
|
14
|
+
.hub-my-fleets .hub-rows { display: flex; flex-direction: column; gap: 8px; }
|
|
15
|
+
.hub-my-fleets .hub-rows .s-row.hub-row { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
|
|
16
|
+
.hub-fleet-menu > .menu-list { min-width: 148px; padding: 4px; border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow-2); }
|
|
17
|
+
.hub-pair-more { align-self: flex-start; }
|
|
18
|
+
.hub-pair-steps { display: flex; flex-direction: column; gap: var(--s-2); }
|
|
19
|
+
.hub-pair-steps > .note { margin: 0; }
|
|
20
|
+
.hub-address-chip { display: inline-flex; align-items: center; gap: var(--s-2); align-self: flex-start; max-width: 100%; padding: 4px 4px 4px 12px; box-sizing: border-box;
|
|
21
|
+
border: 1px solid var(--border); border-radius: 999px; background: var(--bg); }
|
|
22
|
+
.hub-address-chip code { background: none; font-size: var(--fs-sm); overflow-wrap: anywhere; }
|
|
19
23
|
/* A group's DN takes its own full line; its permissions, fleets and Remove wrap under it (hub-owner.css rows don't wrap). */
|
|
20
24
|
.hub-rows .s-row.hub-row.hub-group-row { flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
|
|
21
25
|
.hub-rows .s-row.hub-row.hub-group-row > .hub-row-text { flex: 1 1 100%; }
|
|
@@ -25,4 +29,4 @@
|
|
|
25
29
|
.hub-group-fleets input { width: 4.5em; }
|
|
26
30
|
.hub-groups-impact ul { margin: var(--s-1) 0 var(--s-2); padding-left: var(--s-4); }
|
|
27
31
|
/* A phone's Remove is a full touch target whichever line it wraps onto (Fable #3424 N1: its size followed the font). */
|
|
28
|
-
@media (max-width: 899px) { .hub-rows .s-row.hub-row.hub-group-row > .btn { min-height: var(--tap); min-width: var(--tap); } }
|
|
32
|
+
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .hub-rows .s-row.hub-row.hub-group-row > .btn { min-height: var(--tap); min-width: var(--tap); } }
|