@songsid/agend 2.1.12 → 2.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/README.zh-TW.md +2 -2
- package/dist/auth/one-time-code.d.ts +19 -0
- package/dist/auth/one-time-code.js +49 -0
- package/dist/auth/one-time-code.js.map +1 -0
- package/dist/auth-api.d.ts +52 -0
- package/dist/auth-api.js +346 -0
- package/dist/auth-api.js.map +1 -0
- package/dist/backend/claude-code.d.ts +4 -0
- package/dist/backend/claude-code.js +97 -0
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/codex.js +59 -30
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/kiro-agent.d.ts +66 -0
- package/dist/backend/kiro-agent.js +302 -0
- package/dist/backend/kiro-agent.js.map +1 -0
- package/dist/backend/kiro-identity.d.ts +80 -0
- package/dist/backend/kiro-identity.js +537 -0
- package/dist/backend/kiro-identity.js.map +1 -0
- package/dist/backend/kiro-v2-store-worker.d.ts +1 -0
- package/dist/backend/kiro-v2-store-worker.js +87 -0
- package/dist/backend/kiro-v2-store-worker.js.map +1 -0
- package/dist/backend/kiro-v2-store.d.ts +54 -0
- package/dist/backend/kiro-v2-store.js +131 -0
- package/dist/backend/kiro-v2-store.js.map +1 -0
- package/dist/backend/kiro-v3-identity.d.ts +5 -0
- package/dist/backend/kiro-v3-identity.js +22 -0
- package/dist/backend/kiro-v3-identity.js.map +1 -1
- package/dist/backend/kiro.d.ts +83 -7
- package/dist/backend/kiro.js +418 -91
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/types.d.ts +45 -3
- package/dist/backend/types.js.map +1 -1
- package/dist/channel/adapters/discord.d.ts +1 -0
- package/dist/channel/adapters/discord.js +29 -10
- package/dist/channel/adapters/discord.js.map +1 -1
- package/dist/channel/adapters/telegram.d.ts +1 -0
- package/dist/channel/adapters/telegram.js +13 -1
- package/dist/channel/adapters/telegram.js.map +1 -1
- package/dist/channel/types.d.ts +9 -1
- package/dist/classic-channel-manager.d.ts +18 -10
- package/dist/classic-channel-manager.js +45 -18
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/cli.js +225 -127
- package/dist/cli.js.map +1 -1
- package/dist/command-table.d.ts +5 -3
- package/dist/command-table.js +29 -27
- package/dist/command-table.js.map +1 -1
- package/dist/config-validator.js +46 -0
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +12 -0
- package/dist/config.js.map +1 -1
- package/dist/connection-secrets.d.ts +6 -0
- package/dist/connection-secrets.js +4 -0
- package/dist/connection-secrets.js.map +1 -1
- package/dist/daemon.d.ts +89 -4
- package/dist/daemon.js +661 -77
- package/dist/daemon.js.map +1 -1
- package/dist/darwin-memory.d.ts +6 -1
- package/dist/darwin-memory.js +17 -6
- package/dist/darwin-memory.js.map +1 -1
- package/dist/delivery-consumed-watch.d.ts +85 -0
- package/dist/delivery-consumed-watch.js +244 -0
- package/dist/delivery-consumed-watch.js.map +1 -0
- package/dist/delivery-outbox.d.ts +61 -0
- package/dist/delivery-outbox.js +120 -2
- package/dist/delivery-outbox.js.map +1 -1
- package/dist/delivery-reconciliation.d.ts +14 -5
- package/dist/delivery-reconciliation.js +27 -4
- package/dist/delivery-reconciliation.js.map +1 -1
- package/dist/delivery-reconciliation.test.js +35 -1
- package/dist/delivery-reconciliation.test.js.map +1 -1
- package/dist/event-loop-watch.d.ts +28 -0
- package/dist/event-loop-watch.js +75 -3
- package/dist/event-loop-watch.js.map +1 -1
- package/dist/fleet-context.d.ts +22 -2
- package/dist/fleet-level-config.d.ts +2 -2
- package/dist/fleet-level-config.js +6 -1
- package/dist/fleet-level-config.js.map +1 -1
- package/dist/fleet-manager.d.ts +293 -12
- package/dist/fleet-manager.js +2364 -449
- package/dist/fleet-manager.js.map +1 -1
- package/dist/host-memory.d.ts +4 -0
- package/dist/host-memory.js.map +1 -1
- package/dist/instance-config-impact.js +5 -0
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +10 -5
- package/dist/instance-lifecycle.js +162 -53
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/locale.js +150 -16
- package/dist/locale.js.map +1 -1
- package/dist/login-controller.d.ts +2 -0
- package/dist/login-controller.js +17 -5
- package/dist/login-controller.js.map +1 -1
- package/dist/memory-pressure.d.ts +7 -8
- package/dist/memory-pressure.js +76 -15
- package/dist/memory-pressure.js.map +1 -1
- package/dist/monotonic-budget.d.ts +2 -0
- package/dist/monotonic-budget.js +28 -0
- package/dist/monotonic-budget.js.map +1 -0
- package/dist/needs-you-hub.d.ts +114 -0
- package/dist/needs-you-hub.js +370 -0
- package/dist/needs-you-hub.js.map +1 -0
- package/dist/needs-you-live.d.ts +116 -0
- package/dist/needs-you-live.js +228 -0
- package/dist/needs-you-live.js.map +1 -0
- package/dist/needs-you.d.ts +132 -0
- package/dist/needs-you.js +164 -0
- package/dist/needs-you.js.map +1 -0
- package/dist/node-version-guard.d.ts +30 -0
- package/dist/node-version-guard.js +50 -0
- package/dist/node-version-guard.js.map +1 -0
- package/dist/operator-control-paths.d.ts +4 -0
- package/dist/operator-control-paths.js +24 -0
- package/dist/operator-control-paths.js.map +1 -0
- package/dist/outbound-handlers.d.ts +2 -0
- package/dist/outbound-handlers.js +9 -2
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +5 -5
- package/dist/profile-control.js +4 -20
- package/dist/profile-control.js.map +1 -1
- package/dist/public-web-gateway.d.ts +18 -0
- package/dist/public-web-gateway.js +141 -0
- package/dist/public-web-gateway.js.map +1 -0
- package/dist/public-web-link.d.ts +53 -0
- package/dist/public-web-link.js +175 -0
- package/dist/public-web-link.js.map +1 -0
- package/dist/quickstart-api.d.ts +8 -1
- package/dist/quickstart-api.js +86 -48
- package/dist/quickstart-api.js.map +1 -1
- package/dist/quickstart.d.ts +1 -0
- package/dist/quickstart.js +6 -2
- package/dist/quickstart.js.map +1 -1
- package/dist/scheduler/db.d.ts +7 -1
- package/dist/scheduler/db.js +38 -0
- package/dist/scheduler/db.js.map +1 -1
- package/dist/scheduler/index.d.ts +1 -1
- package/dist/scheduler/retry-label.d.ts +11 -0
- package/dist/scheduler/retry-label.js +24 -0
- package/dist/scheduler/retry-label.js.map +1 -0
- package/dist/scheduler/scheduler.d.ts +55 -2
- package/dist/scheduler/scheduler.js +220 -8
- package/dist/scheduler/scheduler.js.map +1 -1
- package/dist/scheduler/types.d.ts +22 -0
- package/dist/scheduler/types.js.map +1 -1
- package/dist/secret-store.d.ts +5 -0
- package/dist/secret-store.js +20 -0
- package/dist/secret-store.js.map +1 -1
- package/dist/service-activation.d.ts +110 -0
- package/dist/service-activation.js +302 -0
- package/dist/service-activation.js.map +1 -0
- package/dist/service-installer.d.ts +7 -0
- package/dist/service-installer.js +7 -4
- package/dist/service-installer.js.map +1 -1
- package/dist/service-restart-selection.d.ts +6 -5
- package/dist/service-restart-selection.js +6 -5
- package/dist/service-restart-selection.js.map +1 -1
- package/dist/settings-api.d.ts +10 -2
- package/dist/settings-api.js +175 -72
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-baseline.d.ts +20 -0
- package/dist/settings-baseline.js +104 -0
- package/dist/settings-baseline.js.map +1 -0
- package/dist/settings-change.d.ts +21 -0
- package/dist/settings-change.js +133 -0
- package/dist/settings-change.js.map +1 -0
- package/dist/settings-confirmation.d.ts +105 -0
- package/dist/settings-confirmation.js +232 -0
- package/dist/settings-confirmation.js.map +1 -0
- package/dist/settings-control.d.ts +41 -0
- package/dist/settings-control.js +294 -0
- package/dist/settings-control.js.map +1 -0
- package/dist/settings-effect.d.ts +24 -0
- package/dist/settings-effect.js +169 -0
- package/dist/settings-effect.js.map +1 -0
- package/dist/settings-http-confirmation.d.ts +29 -0
- package/dist/settings-http-confirmation.js +123 -0
- package/dist/settings-http-confirmation.js.map +1 -0
- package/dist/settings-instance-patch.d.ts +4 -0
- package/dist/settings-instance-patch.js +26 -0
- package/dist/settings-instance-patch.js.map +1 -0
- package/dist/settings-request-capability.d.ts +16 -0
- package/dist/settings-request-capability.js +32 -0
- package/dist/settings-request-capability.js.map +1 -0
- package/dist/settings-transaction.d.ts +65 -0
- package/dist/settings-transaction.js +223 -0
- package/dist/settings-transaction.js.map +1 -0
- package/dist/setup-auth.d.ts +10 -18
- package/dist/setup-auth.js +14 -38
- package/dist/setup-auth.js.map +1 -1
- package/dist/setup-form.d.ts +1 -1
- package/dist/setup-form.js +75 -18
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-guide.d.ts +13 -0
- package/dist/setup-guide.js +25 -0
- package/dist/setup-guide.js.map +1 -0
- package/dist/setup-host.d.ts +16 -0
- package/dist/setup-host.js +197 -32
- package/dist/setup-host.js.map +1 -1
- package/dist/setup-wizard.js +3 -0
- package/dist/setup-wizard.js.map +1 -1
- package/dist/slash-authz.d.ts +17 -3
- package/dist/slash-authz.js +5 -0
- package/dist/slash-authz.js.map +1 -1
- package/dist/spawn-gate.js +3 -3
- package/dist/spawn-gate.js.map +1 -1
- package/dist/statusline-watcher.d.ts +5 -0
- package/dist/statusline-watcher.js +2 -0
- package/dist/statusline-watcher.js.map +1 -1
- package/dist/steer-capability.d.ts +6 -0
- package/dist/steer-capability.js +8 -0
- package/dist/steer-capability.js.map +1 -1
- package/dist/sync-work-attribution.d.ts +14 -0
- package/dist/sync-work-attribution.js +43 -8
- package/dist/sync-work-attribution.js.map +1 -1
- package/dist/tips.js +10 -5
- package/dist/tips.js.map +1 -1
- package/dist/tmux-control.d.ts +35 -5
- package/dist/tmux-control.js +291 -57
- package/dist/tmux-control.js.map +1 -1
- package/dist/tmux-manager.d.ts +20 -6
- package/dist/tmux-manager.js +90 -47
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tmux-read.d.ts +59 -0
- package/dist/tmux-read.js +213 -0
- package/dist/tmux-read.js.map +1 -0
- package/dist/topic-commands.d.ts +21 -10
- package/dist/topic-commands.js +191 -58
- package/dist/topic-commands.js.map +1 -1
- package/dist/transcript-delta-reader.js +2 -1
- package/dist/transcript-delta-reader.js.map +1 -1
- package/dist/tunnel/cloudflared-install.d.ts +2 -0
- package/dist/tunnel/cloudflared-install.js +1 -1
- package/dist/tunnel/cloudflared-install.js.map +1 -1
- package/dist/tunnel/purpose-lane.d.ts +14 -0
- package/dist/tunnel/purpose-lane.js +43 -0
- package/dist/tunnel/purpose-lane.js.map +1 -0
- package/dist/turn-reply-guard.d.ts +2 -0
- package/dist/turn-reply-guard.js +10 -1
- package/dist/turn-reply-guard.js.map +1 -1
- package/dist/types.d.ts +33 -0
- package/dist/ui/app.html +18 -0
- package/dist/ui/chat-render.js +478 -0
- package/dist/ui/chat-store.js +289 -0
- package/dist/ui/chat-strings.js +69 -0
- package/dist/ui/chat-thread.js +209 -0
- package/dist/ui/chat-tour.js +116 -0
- package/dist/ui/fleet-org.js +142 -0
- package/dist/ui/panel-chat.js +418 -0
- package/dist/ui/panel-fleet.js +413 -0
- package/dist/ui/panel-needs.js +202 -0
- package/dist/ui/panel-settings.js +750 -0
- package/dist/ui/preview.js +266 -0
- package/dist/ui/settings-apply.js +239 -0
- package/dist/ui/settings-confirm.js +186 -0
- package/dist/ui/settings-dialogs.js +546 -0
- package/dist/ui/settings-model.js +277 -0
- package/dist/ui/settings-strings.js +652 -0
- package/dist/ui/settings-wizard.js +140 -0
- package/dist/ui/shared/agend-auth.js +93 -0
- package/dist/ui/shared/app-ctx.js +80 -0
- package/dist/ui/shared/app-html.js +9 -0
- package/dist/ui/shared/app-i18n.js +95 -0
- package/dist/ui/shared/app-nav.js +73 -0
- package/dist/ui/shared/app-needs.js +114 -0
- package/dist/ui/shared/app-route.js +73 -0
- package/dist/ui/shared/app-session.js +66 -0
- package/dist/ui/shared/app-shell.js +344 -0
- package/dist/ui/shared/app-store.js +51 -0
- package/dist/ui/shared/app-stream.js +201 -0
- package/dist/ui/shared/app.css +676 -0
- package/dist/ui/shared/app.js +88 -0
- package/dist/ui/shared/fonts/OFL.txt +92 -0
- package/dist/ui/shared/fonts/README.md +21 -0
- package/dist/ui/shared/fonts/inter.woff2 +0 -0
- package/dist/ui/shared/htm.module.js +1 -0
- package/dist/ui/shared/panel-view.js +655 -0
- package/dist/ui/shared/preact-hooks.module.js +2 -0
- package/dist/ui/shared/preact.module.js +2 -0
- package/dist/ui/shared/signin.js +130 -0
- package/dist/ui/shared/theme.js +29 -0
- package/dist/ui/shared/tokens.css +153 -0
- package/dist/ui/shared/ui-confirm.js +43 -0
- package/dist/ui/shared/ui-dialog.js +45 -0
- package/dist/ui/shared/ui-icons.js +61 -0
- package/dist/ui/shared/ui-menu.js +39 -0
- package/dist/ui/shared/ui-states.js +20 -0
- package/dist/ui/shared/ui-toast.js +18 -0
- package/dist/ui/shared/vendor/htm.LICENSE +202 -0
- package/dist/ui/shared/vendor/preact.LICENSE +21 -0
- package/dist/ui/shared/vendor/vendor.json +39 -0
- package/dist/ui/shared/view-strings.js +309 -0
- package/dist/ui/signin.html +51 -0
- package/dist/update-check.d.ts +6 -2
- package/dist/update-check.js +12 -3
- package/dist/update-check.js.map +1 -1
- package/dist/update-install.d.ts +71 -0
- package/dist/update-install.js +162 -0
- package/dist/update-install.js.map +1 -0
- package/dist/upgrade-notices.d.ts +17 -0
- package/dist/upgrade-notices.js +93 -0
- package/dist/upgrade-notices.js.map +1 -0
- package/dist/usage/statusline-usage.d.ts +2 -0
- package/dist/usage/statusline-usage.js +14 -10
- package/dist/usage/statusline-usage.js.map +1 -1
- package/dist/view-api.d.ts +6 -1
- package/dist/view-api.js +62 -51
- package/dist/view-api.js.map +1 -1
- package/dist/web-api.d.ts +71 -14
- package/dist/web-api.js +492 -77
- package/dist/web-api.js.map +1 -1
- package/dist/web-auth.d.ts +71 -27
- package/dist/web-auth.js +169 -69
- package/dist/web-auth.js.map +1 -1
- package/dist/web-body.d.ts +3 -0
- package/dist/web-body.js +55 -0
- package/dist/web-body.js.map +1 -0
- package/dist/web-channel-echo.d.ts +9 -0
- package/dist/web-channel-echo.js +55 -0
- package/dist/web-channel-echo.js.map +1 -0
- package/dist/web-chat-history.d.ts +125 -0
- package/dist/web-chat-history.js +184 -0
- package/dist/web-chat-history.js.map +1 -0
- package/dist/web-continuation.d.ts +7 -0
- package/dist/web-continuation.js +22 -0
- package/dist/web-continuation.js.map +1 -0
- package/dist/web-host-guard.d.ts +34 -0
- package/dist/web-host-guard.js +57 -1
- package/dist/web-host-guard.js.map +1 -1
- package/dist/web-login.d.ts +72 -0
- package/dist/web-login.js +132 -0
- package/dist/web-login.js.map +1 -0
- package/dist/web-org.d.ts +55 -0
- package/dist/web-org.js +67 -0
- package/dist/web-org.js.map +1 -0
- package/dist/web-preview.d.ts +77 -0
- package/dist/web-preview.js +240 -0
- package/dist/web-preview.js.map +1 -0
- package/dist/web-request-context.d.ts +10 -0
- package/dist/web-request-context.js +13 -0
- package/dist/web-request-context.js.map +1 -0
- package/dist/web-session.d.ts +167 -0
- package/dist/web-session.js +389 -0
- package/dist/web-session.js.map +1 -0
- package/dist/web-shell-routes.d.ts +59 -0
- package/dist/web-shell-routes.js +96 -0
- package/dist/web-shell-routes.js.map +1 -0
- package/dist/web-upload.d.ts +183 -0
- package/dist/web-upload.js +468 -0
- package/dist/web-upload.js.map +1 -0
- package/dist/website-tips-renderer.d.ts +2 -2
- package/dist/website-tips-renderer.js +3 -3
- package/dist/website-tips-renderer.js.map +1 -1
- package/package.json +8 -5
- package/scripts/preinstall-guard.cjs +36 -0
- package/dist/ui/dashboard.html +0 -774
- package/dist/ui/settings.html +0 -2165
- package/dist/ui/view.html +0 -1139
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2018 Google Inc.
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015-present Jason Miller
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"note": "Vendored for #1408 (Preact + htm, no build). Every file below is byte-checked by tests/web-vendor-1408.test.ts.",
|
|
3
|
+
"packages": {
|
|
4
|
+
"preact": {
|
|
5
|
+
"version": "10.29.8",
|
|
6
|
+
"tarball": "https://registry.npmjs.org/preact/-/preact-10.29.8.tgz",
|
|
7
|
+
"integrity": "sha512-ej2aVZ+vZ8WO7tvlQWRM9N63A0KzF9q4mWJfDUHgYaIofWY9hu74QdnQrjoPMmZi2/nZ5gN0bJCQF49xQqx09Q==",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"licenseFile": "vendor/preact.LICENSE",
|
|
10
|
+
"files": {
|
|
11
|
+
"preact.module.js": {
|
|
12
|
+
"upstream": "package/dist/preact.module.js",
|
|
13
|
+
"sha256": "c30e721ebfdc6e2ad4c18c14d2dfb82667829c8aec27de1207774e3fc16858a8",
|
|
14
|
+
"upstreamSha256": "c30e721ebfdc6e2ad4c18c14d2dfb82667829c8aec27de1207774e3fc16858a8"
|
|
15
|
+
},
|
|
16
|
+
"preact-hooks.module.js": {
|
|
17
|
+
"upstream": "package/hooks/dist/hooks.module.js",
|
|
18
|
+
"sha256": "f3555e7a8dba84175c94f17148ba6670e4b3716888fe06b3330a485637296a38",
|
|
19
|
+
"upstreamSha256": "a6ee626f2d01570592dd569a792e3f050154aa02890eead8c223fa3ed5aa3d5a",
|
|
20
|
+
"rewrite": { "from": "from\"preact\"", "to": "from\"./preact.module.js\"" }
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"htm": {
|
|
25
|
+
"version": "3.1.1",
|
|
26
|
+
"tarball": "https://registry.npmjs.org/htm/-/htm-3.1.1.tgz",
|
|
27
|
+
"integrity": "sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==",
|
|
28
|
+
"license": "Apache-2.0",
|
|
29
|
+
"licenseFile": "vendor/htm.LICENSE",
|
|
30
|
+
"files": {
|
|
31
|
+
"htm.module.js": {
|
|
32
|
+
"upstream": "package/dist/htm.module.js",
|
|
33
|
+
"sha256": "ab33dd3f38059b9be4d5f5350128eefb2356639c4e0bbe9d9e8b3ba75847e9e4",
|
|
34
|
+
"upstreamSha256": "ab33dd3f38059b9be4d5f5350128eefb2356639c4e0bbe9d9e8b3ba75847e9e4"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
// The View panel's words (the view.* namespace of the app's one dictionary, #1408 §4), in English and zh-TW. Public
|
|
2
|
+
// (/assets/): an anonymous reader of /view sees them too. Mostly the old view.html dictionary, including the AI usage
|
|
3
|
+
// keys the server's usage API refers to by name (usage.*).
|
|
4
|
+
import { register } from "./app-i18n.js";
|
|
5
|
+
|
|
6
|
+
register("view", {
|
|
7
|
+
"en": {
|
|
8
|
+
"editProfile": "Edit profile",
|
|
9
|
+
"save": "Save",
|
|
10
|
+
"cancel": "Cancel",
|
|
11
|
+
"filterPh": "Filter: name, model, backend",
|
|
12
|
+
"filterClear": "Clear filter",
|
|
13
|
+
"filterNone": "No instance matches",
|
|
14
|
+
"filterShown": "shown",
|
|
15
|
+
"displayName": "Display name",
|
|
16
|
+
"role": "Role",
|
|
17
|
+
"description": "Description",
|
|
18
|
+
"saveHint": "Saving needs a signed-in session. Send /dashboard to your AgEnD bot for a sign-in code.",
|
|
19
|
+
"helpTitle": "📖 Help",
|
|
20
|
+
"help1": "Pick an instance in the list: its live terminal shows here.",
|
|
21
|
+
"help2": "Click a group's name to fold it or open it again.",
|
|
22
|
+
"help3": "Edit profile changes the display name, role, description and avatar.",
|
|
23
|
+
"help5": "Text size cycles Fit → Comfortable → Compact.",
|
|
24
|
+
"densityFit": "Fit",
|
|
25
|
+
"densityComfortable": "Comfortable",
|
|
26
|
+
"densityCompact": "Compact",
|
|
27
|
+
"densityLabel": "Font density",
|
|
28
|
+
"usageTitle": "📊 AI Usage",
|
|
29
|
+
"usageEmpty": "No AI CLI logins found on this machine.",
|
|
30
|
+
"usageUpdated": "updated",
|
|
31
|
+
"usageRefresh": "Refresh",
|
|
32
|
+
"usageHigh": "high",
|
|
33
|
+
"usageNear": "near limit",
|
|
34
|
+
"usageMoveUp": "Move up",
|
|
35
|
+
"usageMoveDown": "Move down",
|
|
36
|
+
"tooltipBackend": "Backend: {value}",
|
|
37
|
+
"tooltipStatus": "Status: {value}",
|
|
38
|
+
"tooltipContext": "Context: {value}",
|
|
39
|
+
"tooltipModel": "Model: {value}",
|
|
40
|
+
"tooltipEffort": "Effort: {value}",
|
|
41
|
+
"tooltipUnavailable": "Unavailable",
|
|
42
|
+
"statusRunning": "Running",
|
|
43
|
+
"statusPaused": "Paused",
|
|
44
|
+
"statusStopped": "Stopped",
|
|
45
|
+
"statusCrashed": "Crashed",
|
|
46
|
+
"statusUnknown": "Unknown",
|
|
47
|
+
"usageResets": "resets in {t}",
|
|
48
|
+
"usageSoon": "resets soon",
|
|
49
|
+
"usageFail": "Could not load usage data.",
|
|
50
|
+
"usage.title": "AI Subscription Usage",
|
|
51
|
+
"usage.title_plain": "AI subscription usage",
|
|
52
|
+
"usage.empty_active": "No active backends with usage tracking",
|
|
53
|
+
"usage.not_logged_in": "not logged in",
|
|
54
|
+
"usage.error_fallback": "error",
|
|
55
|
+
"usage.no_data": "no data",
|
|
56
|
+
"usage.reset.in": "resets in {0}",
|
|
57
|
+
"usage.reset.soon": "resets soon",
|
|
58
|
+
"usage.ticket_expiry": "🎫 Nearest expiry: {0} (in {1})",
|
|
59
|
+
"usage.duration.days_hours": "{0}d {1}h",
|
|
60
|
+
"usage.duration.hours_minutes": "{0}h {1}m",
|
|
61
|
+
"usage.duration.minutes": "{0}m",
|
|
62
|
+
"usage.metric.session": "Session",
|
|
63
|
+
"usage.metric.weekly": "Weekly",
|
|
64
|
+
"usage.metric.monthly": "Monthly",
|
|
65
|
+
"usage.metric.days_window": "{0}-day window",
|
|
66
|
+
"usage.metric.named": "{0}",
|
|
67
|
+
"usage.metric.named_session": "{0} (session)",
|
|
68
|
+
"usage.metric.named_weekly": "{0} (weekly)",
|
|
69
|
+
"usage.metric.named_monthly": "{0} (monthly)",
|
|
70
|
+
"usage.metric.named_days": "{0} ({1}d)",
|
|
71
|
+
"usage.metric.extra_usage": "Extra usage",
|
|
72
|
+
"usage.metric.rate_limit_resets": "Rate limit resets",
|
|
73
|
+
"usage.metric.credits": "Credits",
|
|
74
|
+
"usage.metric.weekly_limit": "Weekly limit",
|
|
75
|
+
"usage.metric.pay_as_you_go": "Pay as you go",
|
|
76
|
+
"usage.metric.bonus_credits": "Bonus credits",
|
|
77
|
+
"usage.metric.overage_charges": "Overage charges",
|
|
78
|
+
"usage.metric.pay_per_use": "Pay-per-use",
|
|
79
|
+
"usage.metric.usage_monthly": "Usage (monthly)",
|
|
80
|
+
"usage.unit.available": "available",
|
|
81
|
+
"usage.unit.credits": "credits",
|
|
82
|
+
"usage.value.disabled": "Disabled",
|
|
83
|
+
"usage.value.cap": "{0} cap",
|
|
84
|
+
"usage.value.unlimited": "♾️ Unlimited",
|
|
85
|
+
"usage.note.binding": "binding",
|
|
86
|
+
"usage.note.binding_severity": "binding · {0}",
|
|
87
|
+
"usage.note.busiest_model": "busiest of {0} model",
|
|
88
|
+
"usage.note.busiest_models": "busiest of {0} models",
|
|
89
|
+
"usage.note.used_limit_unit": "{0} / {1} {2}",
|
|
90
|
+
"usage.note.bonus_codes": "{0} / {1} {2} · {3} codes",
|
|
91
|
+
"usage.metric.agy_claude_others": "Claude & others",
|
|
92
|
+
"usage.metric.agy_claude_others_session": "Claude & others (session)",
|
|
93
|
+
"usage.metric.agy_claude_others_weekly": "Claude & others (weekly)",
|
|
94
|
+
"usage.hint.statusline_now": "from {0}'s statusline, just now — no API call; plan and per-model limits need a CLI login",
|
|
95
|
+
"usage.hint.statusline_minutes": "from {0}'s statusline, {1}m ago — no API call; plan and per-model limits need a CLI login",
|
|
96
|
+
"usage.hint.claude_api_key": "API-key login has no subscription usage. Use `claude /login` or set CLAUDE_CODE_OAUTH_TOKEN (from `claude setup-token`).",
|
|
97
|
+
"usage.hint.login_claude": "Log in with the Claude Code CLI (`claude`).",
|
|
98
|
+
"usage.hint.login_agy": "Log in with the Antigravity CLI (`agy`).",
|
|
99
|
+
"usage.hint.no_quota": "No quota information reported for this account.",
|
|
100
|
+
"usage.hint.login_codex": "Log in with the Codex CLI (`codex`).",
|
|
101
|
+
"usage.hint.codex_no_oauth": "auth.json has no OAuth login (API-key-only auth cannot read usage).",
|
|
102
|
+
"usage.hint.login_grok": "Log in with the Grok CLI (`grok login`).",
|
|
103
|
+
"usage.hint.grok_no_login": "auth.json has no usable login. Run `grok login`.",
|
|
104
|
+
"usage.hint.login_kiro": "Log in with the Kiro CLI (`kiro-cli`).",
|
|
105
|
+
"usage.hint.kiro_signed_out": "Signed out — run `kiro-cli` to log in.",
|
|
106
|
+
"usage.hint.token_refreshing": "Token refreshing — try again in a moment.",
|
|
107
|
+
"usage.hint.subscription_no_credit": "Subscription — no credit usage to report.",
|
|
108
|
+
"usage.hint.no_quota_account": "No quota information available for this account type.",
|
|
109
|
+
"usage.error.unreachable": "Could not reach {0}.",
|
|
110
|
+
"usage.error.token_rejected": "Token rejected. Run `{0}` once to refresh the login.",
|
|
111
|
+
"usage.error.rate_limited": "Rate limited by {0} — try again later.",
|
|
112
|
+
"usage.error.http": "Usage request failed (HTTP {0}).",
|
|
113
|
+
"usage.error.billing_http": "Billing request failed (HTTP {0}).",
|
|
114
|
+
"usage.error.invalid_response": "Invalid response from usage endpoint.",
|
|
115
|
+
"usage.error.invalid_billing_response": "Invalid response from billing endpoint.",
|
|
116
|
+
"usage.error.invalid_kiro_response": "Invalid response from GetUsageLimits.",
|
|
117
|
+
"usage.error.claude_token_expired": "Access token expired — it refreshes the next time any Claude instance runs.",
|
|
118
|
+
"usage.error.codex_token_expired": "Access token expired. Run `codex` once to refresh it.",
|
|
119
|
+
"usage.error.grok_expired": "Grok session expired. Run `grok login` again.",
|
|
120
|
+
"usage.error.grok_response_changed": "Grok billing response changed.",
|
|
121
|
+
"usage.error.agy_cap": "Individual cap reached — CLI is rate limited (resets in ~{0}). The per-model pool quotas are separate and may still read 0% used.",
|
|
122
|
+
"usage.error.agy_no_refresh": "Access token expired and no refresh token is stored. Run `agy` once.",
|
|
123
|
+
"usage.error.agy_token_expired": "Access token expired. Run `agy` once to refresh it (or set AGY_OAUTH_CLIENT_ID/SECRET to refresh automatically).",
|
|
124
|
+
"usage.error.agy_login_expired": "Google sign-in expired. Run `agy` once to log in again.",
|
|
125
|
+
"usage.error.agy_refresh_empty": "Google token refresh returned no token.",
|
|
126
|
+
"usage.error.grok_auth_readonly": "Token expired and auth.json is read-only. Run `grok` once to refresh it.",
|
|
127
|
+
"usage.error.grok_no_refresh": "Token expired and no refresh token was found. Run `grok login`.",
|
|
128
|
+
"usage.error.grok_refresh_unreachable": "Could not reach auth.x.ai to refresh the token.",
|
|
129
|
+
"usage.error.grok_invalid_refresh": "Invalid refresh response from auth.x.ai.",
|
|
130
|
+
"usage.error.grok_persist": "Refreshed but could not write auth.json. Run `grok` once instead.",
|
|
131
|
+
"usageButton": "Usage",
|
|
132
|
+
"helpButton": "Help",
|
|
133
|
+
"close": "Close",
|
|
134
|
+
"expandProfile": "Show the profile",
|
|
135
|
+
"rosterFailed": "Failed to load roster: {error}\n(Is the fleet running?)",
|
|
136
|
+
"paneFailed": "⚠ Could not load pane for {name} (HTTP {status}).",
|
|
137
|
+
"signInToSave": "Sign in to save — your session may have ended.",
|
|
138
|
+
"avatarFailed": "Avatar upload failed: {error}",
|
|
139
|
+
"saved": "Saved",
|
|
140
|
+
"saveFailed": "Save failed: {error}",
|
|
141
|
+
"signInToEdit": "Sign in to edit",
|
|
142
|
+
"help4": "Drag groups or instances to reorder them in this browser.",
|
|
143
|
+
"help6": "Press / to filter the list.",
|
|
144
|
+
"title": "View",
|
|
145
|
+
"notFound": "No instance called “{name}”",
|
|
146
|
+
"notFoundHint": "It may have been deleted or renamed.",
|
|
147
|
+
"noInstances": "No instances yet",
|
|
148
|
+
"paneUnavailable": "This instance's terminal is not available (is it stopped?)",
|
|
149
|
+
"rosterFailedShort": "The instance list could not be loaded.",
|
|
150
|
+
"collapseGroup": "Fold {group}",
|
|
151
|
+
"expandGroup": "Open {group}",
|
|
152
|
+
"textSize": "Text size: {size}",
|
|
153
|
+
"profileTitle": "Edit {name}'s profile",
|
|
154
|
+
"avatar": "Avatar",
|
|
155
|
+
"collapseProfile": "Hide the profile",
|
|
156
|
+
"instancesLabel": "Instances"
|
|
157
|
+
},
|
|
158
|
+
"zh-TW": {
|
|
159
|
+
"editProfile": "編輯個人資料",
|
|
160
|
+
"save": "儲存",
|
|
161
|
+
"cancel": "取消",
|
|
162
|
+
"filterPh": "篩選:名稱、模型、後端",
|
|
163
|
+
"filterClear": "清除篩選",
|
|
164
|
+
"filterNone": "沒有符合的 instance",
|
|
165
|
+
"filterShown": "顯示中",
|
|
166
|
+
"displayName": "顯示名稱",
|
|
167
|
+
"role": "角色",
|
|
168
|
+
"description": "描述",
|
|
169
|
+
"saveHint": "儲存需要已登入的 session。請在 AgEnD bot 傳 /dashboard 取得登入碼。",
|
|
170
|
+
"helpTitle": "📖 使用說明",
|
|
171
|
+
"help1": "在清單裡選一個 instance:它的即時終端畫面會顯示在這裡。",
|
|
172
|
+
"help2": "點群組名稱可以收合或展開。",
|
|
173
|
+
"help3": "「編輯個人資料」可修改顯示名稱、角色、描述和頭像。",
|
|
174
|
+
"help5": "「字級」會在剛好填滿 → 舒適 → 精簡之間切換。",
|
|
175
|
+
"densityFit": "剛好填滿",
|
|
176
|
+
"densityComfortable": "舒適",
|
|
177
|
+
"densityCompact": "精簡",
|
|
178
|
+
"densityLabel": "字級密度",
|
|
179
|
+
"usageTitle": "📊 AI 訂閱用量",
|
|
180
|
+
"usageEmpty": "本機沒有偵測到已登入的 AI CLI。",
|
|
181
|
+
"usageUpdated": "更新於",
|
|
182
|
+
"usageRefresh": "重新整理",
|
|
183
|
+
"usageHigh": "偏高",
|
|
184
|
+
"usageNear": "接近上限",
|
|
185
|
+
"usageMoveUp": "上移",
|
|
186
|
+
"usageMoveDown": "下移",
|
|
187
|
+
"tooltipBackend": "後端:{value}",
|
|
188
|
+
"tooltipStatus": "狀態:{value}",
|
|
189
|
+
"tooltipContext": "上下文:{value}",
|
|
190
|
+
"tooltipModel": "模型:{value}",
|
|
191
|
+
"tooltipEffort": "推理強度:{value}",
|
|
192
|
+
"tooltipUnavailable": "無資料",
|
|
193
|
+
"statusRunning": "運行中",
|
|
194
|
+
"statusPaused": "已暫停",
|
|
195
|
+
"statusStopped": "已停止",
|
|
196
|
+
"statusCrashed": "已崩潰",
|
|
197
|
+
"statusUnknown": "未知",
|
|
198
|
+
"usageResets": "{t}後重置",
|
|
199
|
+
"usageSoon": "即將重置",
|
|
200
|
+
"usageFail": "無法載入用量資料。",
|
|
201
|
+
"usage.title": "AI 訂閱用量",
|
|
202
|
+
"usage.title_plain": "AI 訂閱用量",
|
|
203
|
+
"usage.empty_active": "沒有使用中且支援用量追蹤的 Backend",
|
|
204
|
+
"usage.not_logged_in": "未登入",
|
|
205
|
+
"usage.error_fallback": "錯誤",
|
|
206
|
+
"usage.no_data": "無資料",
|
|
207
|
+
"usage.reset.in": "{0} 後重置",
|
|
208
|
+
"usage.reset.soon": "即將重置",
|
|
209
|
+
"usage.ticket_expiry": "🎫 最近過期:{0}({1} 後)",
|
|
210
|
+
"usage.duration.days_hours": "{0}d{1}h",
|
|
211
|
+
"usage.duration.hours_minutes": "{0}h{1}m",
|
|
212
|
+
"usage.duration.minutes": "{0}m",
|
|
213
|
+
"usage.metric.session": "Session",
|
|
214
|
+
"usage.metric.weekly": "每週",
|
|
215
|
+
"usage.metric.monthly": "每月",
|
|
216
|
+
"usage.metric.days_window": "{0} 天視窗",
|
|
217
|
+
"usage.metric.named": "{0}",
|
|
218
|
+
"usage.metric.named_session": "{0}(Session)",
|
|
219
|
+
"usage.metric.named_weekly": "{0}(週)",
|
|
220
|
+
"usage.metric.named_monthly": "{0}(每月)",
|
|
221
|
+
"usage.metric.named_days": "{0}({1} 天)",
|
|
222
|
+
"usage.metric.extra_usage": "額外用量",
|
|
223
|
+
"usage.metric.rate_limit_resets": "額度重置券",
|
|
224
|
+
"usage.metric.credits": "額度",
|
|
225
|
+
"usage.metric.weekly_limit": "每週上限",
|
|
226
|
+
"usage.metric.pay_as_you_go": "隨用隨付",
|
|
227
|
+
"usage.metric.bonus_credits": "贈送額度",
|
|
228
|
+
"usage.metric.overage_charges": "超額費用",
|
|
229
|
+
"usage.metric.pay_per_use": "隨用隨付",
|
|
230
|
+
"usage.metric.usage_monthly": "用量(每月)",
|
|
231
|
+
"usage.unit.available": "可用",
|
|
232
|
+
"usage.unit.credits": "額度",
|
|
233
|
+
"usage.value.disabled": "已停用",
|
|
234
|
+
"usage.value.cap": "上限 {0}",
|
|
235
|
+
"usage.value.unlimited": "♾️ 無限",
|
|
236
|
+
"usage.note.binding": "生效",
|
|
237
|
+
"usage.note.binding_severity": "生效 · {0}",
|
|
238
|
+
"usage.note.busiest_model": "{0} 個模型中用量最高者",
|
|
239
|
+
"usage.note.busiest_models": "{0} 個模型中用量最高者",
|
|
240
|
+
"usage.note.used_limit_unit": "{0} / {1} {2}",
|
|
241
|
+
"usage.note.bonus_codes": "{0} / {1} {2} · {3} 組代碼",
|
|
242
|
+
"usage.metric.agy_claude_others": "Claude 與其他模型",
|
|
243
|
+
"usage.metric.agy_claude_others_session": "Claude 與其他模型(Session)",
|
|
244
|
+
"usage.metric.agy_claude_others_weekly": "Claude 與其他模型(每週)",
|
|
245
|
+
"usage.hint.statusline_now": "來自 {0} 的 statusline(剛剛);未呼叫 API,方案與各模型上限需要 CLI 登入資料",
|
|
246
|
+
"usage.hint.statusline_minutes": "來自 {0} 的 statusline({1} 分鐘前);未呼叫 API,方案與各模型上限需要 CLI 登入資料",
|
|
247
|
+
"usage.hint.claude_api_key": "API key 登入沒有訂閱用量資料。請使用 `claude /login`,或設定 CLAUDE_CODE_OAUTH_TOKEN(由 `claude setup-token` 取得)。",
|
|
248
|
+
"usage.hint.login_claude": "請使用 Claude Code CLI(`claude`)登入。",
|
|
249
|
+
"usage.hint.login_agy": "請使用 Antigravity CLI(`agy`)登入。",
|
|
250
|
+
"usage.hint.no_quota": "此帳號未回報額度資訊。",
|
|
251
|
+
"usage.hint.login_codex": "請使用 Codex CLI(`codex`)登入。",
|
|
252
|
+
"usage.hint.codex_no_oauth": "auth.json 沒有 OAuth 登入資料;只有 API key 時無法讀取用量。",
|
|
253
|
+
"usage.hint.login_grok": "請使用 Grok CLI(`grok login`)登入。",
|
|
254
|
+
"usage.hint.grok_no_login": "auth.json 沒有可用的登入資料。請執行 `grok login`。",
|
|
255
|
+
"usage.hint.login_kiro": "請使用 Kiro CLI(`kiro-cli`)登入。",
|
|
256
|
+
"usage.hint.kiro_signed_out": "目前已登出;請執行 `kiro-cli` 登入。",
|
|
257
|
+
"usage.hint.token_refreshing": "Token 更新中 — 請稍候再試。",
|
|
258
|
+
"usage.hint.subscription_no_credit": "訂閱方案沒有可回報的額度用量。",
|
|
259
|
+
"usage.hint.no_quota_account": "此帳號類型沒有可用的額度資訊。",
|
|
260
|
+
"usage.error.unreachable": "無法連線至 {0}。",
|
|
261
|
+
"usage.error.token_rejected": "Token 已被拒絕。請執行一次 `{0}` 以更新登入。",
|
|
262
|
+
"usage.error.rate_limited": "{0} 暫時限制請求速率,請稍後再試。",
|
|
263
|
+
"usage.error.http": "用量請求失敗(HTTP {0})。",
|
|
264
|
+
"usage.error.billing_http": "計費請求失敗(HTTP {0})。",
|
|
265
|
+
"usage.error.invalid_response": "用量端點回傳了無效資料。",
|
|
266
|
+
"usage.error.invalid_billing_response": "計費端點回傳了無效資料。",
|
|
267
|
+
"usage.error.invalid_kiro_response": "GetUsageLimits 回傳了無效資料。",
|
|
268
|
+
"usage.error.claude_token_expired": "Access token 已過期;下次啟動任一 Claude instance 時會重新整理。",
|
|
269
|
+
"usage.error.codex_token_expired": "Access token 已過期。請執行一次 `codex` 以重新整理。",
|
|
270
|
+
"usage.error.grok_expired": "Grok session 已過期。請再次執行 `grok login`。",
|
|
271
|
+
"usage.error.grok_response_changed": "Grok 計費回應格式已變更。",
|
|
272
|
+
"usage.error.agy_cap": "個人上限已用完,CLI 正受到速率限制(約 {0} 後重置)。各模型的額度池是另一組計數,因此仍可能顯示 0% 已使用。",
|
|
273
|
+
"usage.error.agy_no_refresh": "Access token 已過期,且未儲存 refresh token。請執行一次 `agy`。",
|
|
274
|
+
"usage.error.agy_token_expired": "Access token 已過期。請執行一次 `agy` 重新整理,或設定 AGY_OAUTH_CLIENT_ID/SECRET 以自動更新。",
|
|
275
|
+
"usage.error.agy_login_expired": "Google 登入已過期。請執行一次 `agy` 重新登入。",
|
|
276
|
+
"usage.error.agy_refresh_empty": "Google token 更新回應沒有 access token。",
|
|
277
|
+
"usage.error.grok_auth_readonly": "Token 已過期且 auth.json 為唯讀。請執行一次 `grok` 重新整理。",
|
|
278
|
+
"usage.error.grok_no_refresh": "Token 已過期且找不到 refresh token。請執行 `grok login`。",
|
|
279
|
+
"usage.error.grok_refresh_unreachable": "無法連線至 auth.x.ai 以更新 token。",
|
|
280
|
+
"usage.error.grok_invalid_refresh": "auth.x.ai 回傳了無效的 token 更新資料。",
|
|
281
|
+
"usage.error.grok_persist": "Token 已更新但無法寫入 auth.json。請改為執行一次 `grok`。",
|
|
282
|
+
"usageButton": "用量",
|
|
283
|
+
"helpButton": "說明",
|
|
284
|
+
"close": "關閉",
|
|
285
|
+
"expandProfile": "顯示個人資料",
|
|
286
|
+
"rosterFailed": "載入 instance 清單失敗:{error}\n(Fleet 是否正在執行?)",
|
|
287
|
+
"paneFailed": "⚠ 無法載入 {name} 的 pane(HTTP {status})。",
|
|
288
|
+
"signInToSave": "請先登入才能儲存:你的 session 可能已結束。",
|
|
289
|
+
"avatarFailed": "上傳頭像失敗:{error}",
|
|
290
|
+
"saved": "已儲存",
|
|
291
|
+
"saveFailed": "儲存失敗:{error}",
|
|
292
|
+
"signInToEdit": "登入後才能編輯",
|
|
293
|
+
"help4": "拖曳群組或 instance 可調整這個瀏覽器的顯示順序。",
|
|
294
|
+
"help6": "按 / 可以篩選清單。",
|
|
295
|
+
"title": "檢視",
|
|
296
|
+
"notFound": "沒有叫「{name}」的 instance",
|
|
297
|
+
"notFoundHint": "它可能已被刪除或改名。",
|
|
298
|
+
"noInstances": "還沒有 instance",
|
|
299
|
+
"paneUnavailable": "無法取得這個 instance 的終端畫面(它是否已停止?)",
|
|
300
|
+
"rosterFailedShort": "無法載入 instance 清單。",
|
|
301
|
+
"collapseGroup": "收合 {group}",
|
|
302
|
+
"expandGroup": "展開 {group}",
|
|
303
|
+
"textSize": "字級:{size}",
|
|
304
|
+
"profileTitle": "編輯 {name} 的個人資料",
|
|
305
|
+
"avatar": "頭像",
|
|
306
|
+
"collapseProfile": "隱藏個人資料",
|
|
307
|
+
"instancesLabel": "Instances"
|
|
308
|
+
}
|
|
309
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="referrer" content="no-referrer">
|
|
7
|
+
<meta name="robots" content="noindex">
|
|
8
|
+
<title>AgEnD — Sign in</title>
|
|
9
|
+
<script src="/assets/theme.js"></script>
|
|
10
|
+
<link rel="stylesheet" href="/assets/tokens.css">
|
|
11
|
+
<style>
|
|
12
|
+
/* #1408 step 5: the app's tokens (tokens.css), light and dark like every page (theme.js before paint). */
|
|
13
|
+
* { box-sizing: border-box; }
|
|
14
|
+
body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px;
|
|
15
|
+
background: var(--bg); color: var(--text); font: var(--fw-regular) var(--fs-md)/var(--lh-md) var(--font-ui); -webkit-font-smoothing: antialiased; }
|
|
16
|
+
main { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; }
|
|
17
|
+
.brand { margin: 0 0 18px; font-size: var(--fs-lg); font-weight: var(--fw-bold); }
|
|
18
|
+
h1 { margin: 0 0 6px; font-size: var(--fs-xl); font-weight: var(--fw-semibold); }
|
|
19
|
+
p { margin: 0 0 18px; color: var(--text-2); }
|
|
20
|
+
label { display: block; margin-bottom: 6px; font-size: var(--fs-sm); color: var(--text-2); font-weight: var(--fw-medium); }
|
|
21
|
+
input { width: 100%; padding: 12px; font: 600 22px/1 var(--font-mono); letter-spacing: .18em; text-align: center;
|
|
22
|
+
text-transform: uppercase; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--r-sm); }
|
|
23
|
+
input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--accent-dim); }
|
|
24
|
+
button { width: 100%; margin-top: 14px; padding: 12px; font: var(--fw-semibold) var(--fs-md) var(--font-ui); color: var(--on-accent); background: var(--accent-fill);
|
|
25
|
+
border: 0; border-radius: var(--r-full); cursor: pointer; }
|
|
26
|
+
button:hover:not(:disabled) { opacity: .88; }
|
|
27
|
+
button:disabled { opacity: .6; cursor: default; }
|
|
28
|
+
#msg { min-height: 1.5em; margin-top: 14px; font-size: var(--fs-sm); color: var(--danger); }
|
|
29
|
+
.hint { margin-top: 18px; font-size: var(--fs-xs); color: var(--text-3); }
|
|
30
|
+
[hidden] { display: none !important; }
|
|
31
|
+
</style>
|
|
32
|
+
</head>
|
|
33
|
+
<body>
|
|
34
|
+
<main>
|
|
35
|
+
<div class="brand">AgEnD</div>
|
|
36
|
+
<div id="checking" data-i18n="checking">Checking your session…</div>
|
|
37
|
+
<form id="form" hidden autocomplete="off">
|
|
38
|
+
<h1 data-i18n="title">Sign in to AgEnD</h1>
|
|
39
|
+
<p data-i18n="lead">Enter the one-time code from your chat channel.</p>
|
|
40
|
+
<label for="code" data-i18n="label">One-time code</label>
|
|
41
|
+
<input id="code" name="code" inputmode="text" autocomplete="one-time-code" autocapitalize="characters"
|
|
42
|
+
autocorrect="off" spellcheck="false" maxlength="12" placeholder="XXXX-XXXX" required>
|
|
43
|
+
<button id="go" type="submit" data-i18n="submit">Sign in</button>
|
|
44
|
+
<div id="msg" role="alert" aria-live="polite"></div>
|
|
45
|
+
<div class="hint" data-i18n="hint">Send /dashboard to your AgEnD bot, or run “agend web --code” on the host. A code works once and expires in 5 minutes.</div>
|
|
46
|
+
</form>
|
|
47
|
+
<noscript>This page needs JavaScript to sign you in.</noscript>
|
|
48
|
+
</main>
|
|
49
|
+
<script src="/assets/signin.js"></script>
|
|
50
|
+
</body>
|
|
51
|
+
</html>
|
package/dist/update-check.d.ts
CHANGED
|
@@ -86,6 +86,10 @@ interface UpdateOutput {
|
|
|
86
86
|
log(message: string): void;
|
|
87
87
|
error(message: string): void;
|
|
88
88
|
}
|
|
89
|
-
/**
|
|
90
|
-
|
|
89
|
+
/**
|
|
90
|
+
* Report what `agend restart` came to (#1446 item 4): "restarted"; "pending" when systemd is still running the
|
|
91
|
+
* restart job after our wait (exit SYSTEMD_RESTART_INDETERMINATE_EXIT_CODE) — not a success, not a failure: the
|
|
92
|
+
* replacement fleet settles the update; or "failed", which the CLI turns into exit code 1.
|
|
93
|
+
*/
|
|
94
|
+
export declare function reportUpdateRestart(status: number | null, output?: UpdateOutput): "restarted" | "pending" | "failed";
|
|
91
95
|
export {};
|