hostlet 0.0.0-stage → 0.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +233 -2
- package/bin/hostlet.js +61 -0
- package/console/app/api.js +1223 -0
- package/console/app/boot.js +165 -0
- package/console/app/cards.js +222 -0
- package/console/app/compose-quote.js +127 -0
- package/console/app/config-form.js +727 -0
- package/console/app/document-drafts.js +62 -0
- package/console/app/document-tools.mjs +67 -0
- package/console/app/documents.js +106 -0
- package/console/app/pages.js +6483 -0
- package/console/app/plugins.js +509 -0
- package/console/app/preview-tools.js +172 -0
- package/console/app/reference-labels.js +118 -0
- package/console/app/selection.js +372 -0
- package/console/app/store.js +57 -0
- package/console/app/text-anchor.js +26 -0
- package/console/app/topic-local.js +322 -0
- package/console/app/topic-nav.js +414 -0
- package/console/app/topic-status.js +109 -0
- package/console/app/views.js +43 -0
- package/console/apple-touch-icon.png +0 -0
- package/console/avatars/agy.svg +34 -0
- package/console/avatars/alhena.svg +36 -0
- package/console/avatars/castor.svg +38 -0
- package/console/avatars/claude.svg +34 -0
- package/console/avatars/codex.svg +34 -0
- package/console/avatars/devin.svg +34 -0
- package/console/avatars/echo.svg +34 -0
- package/console/avatars/kimi.svg +33 -0
- package/console/avatars/opencode.svg +33 -0
- package/console/avatars/pinion.svg +34 -0
- package/console/avatars/sprocket.svg +34 -0
- package/console/avatars/vela.svg +44 -0
- package/console/avatars/wasat.svg +38 -0
- package/console/clients/agy.svg +1 -0
- package/console/clients/claude.svg +1 -0
- package/console/clients/codex.svg +1 -0
- package/console/clients/devin.svg +1 -0
- package/console/clients/kimi.svg +1 -0
- package/console/clients/opencode.svg +1 -0
- package/console/favicon.ico +0 -0
- package/console/favicon.svg +16 -0
- package/console/index.html +99 -0
- package/console/pdl/engine/README.md +13 -0
- package/console/pdl/engine/anchor.js +195 -0
- package/console/pdl/engine/core.js +1340 -0
- package/console/pdl/engine/frame.js +1252 -0
- package/console/pdl/engine/i18n.js +67 -0
- package/console/pdl/engine/pdl-check.js +102 -0
- package/console/pdl/engine/pdl-doc.js +353 -0
- package/console/pdl/engine/pdl-view.js +280 -0
- package/console/pdl/engine/pdl.js +1064 -0
- package/console/pdl/engine/platform.js +18 -0
- package/console/pdl/engine/proj.js +279 -0
- package/console/pdl/engine/theme.js +176 -0
- package/console/pdl/engine/tree.js +171 -0
- package/console/pdl/engine/units.js +546 -0
- package/console/pdl/library/README.md +28 -0
- package/console/pdl/library/blocks.js +1512 -0
- package/console/pdl/library/buttons.js +86 -0
- package/console/pdl/library/capsules.js +130 -0
- package/console/pdl/library/charts.js +287 -0
- package/console/pdl/library/code.js +98 -0
- package/console/pdl/library/css/base.css +12 -0
- package/console/pdl/library/css/blocks.css +98 -0
- package/console/pdl/library/css/capsules.css +42 -0
- package/console/pdl/library/css/catalog-page.css +24 -0
- package/console/pdl/library/css/chat.css +100 -0
- package/console/pdl/library/css/composer-top.css +145 -0
- package/console/pdl/library/css/controls.css +195 -0
- package/console/pdl/library/css/drag.css +29 -0
- package/console/pdl/library/css/edit-layout.css +93 -0
- package/console/pdl/library/css/floating-window.css +30 -0
- package/console/pdl/library/css/hover.css +50 -0
- package/console/pdl/library/css/label-search.css +37 -0
- package/console/pdl/library/css/layers.css +43 -0
- package/console/pdl/library/css/library-parts.css +33 -0
- package/console/pdl/library/css/library.css +117 -0
- package/console/pdl/library/css/member-select.css +34 -0
- package/console/pdl/library/css/message.css +72 -0
- package/console/pdl/library/css/page.css +104 -0
- package/console/pdl/library/css/parts.css +338 -0
- package/console/pdl/library/css/responsive.css +40 -0
- package/console/pdl/library/css/roles.css +28 -0
- package/console/pdl/library/css/rows.css +231 -0
- package/console/pdl/library/css/settings-rows.css +37 -0
- package/console/pdl/library/css/shell.css +59 -0
- package/console/pdl/library/css/stream.css +296 -0
- package/console/pdl/library/css/theme-calculator.css +18 -0
- package/console/pdl/library/css/thumb-choice.css +69 -0
- package/console/pdl/library/css/tweaks.css +16 -0
- package/console/pdl/library/css/widgets.css +211 -0
- package/console/pdl/library/css/workbench.css +59 -0
- package/console/pdl/library/feedback.js +83 -0
- package/console/pdl/library/floating-window.mjs +100 -0
- package/console/pdl/library/fold.js +238 -0
- package/console/pdl/library/format.js +53 -0
- package/console/pdl/library/frames.js +123 -0
- package/console/pdl/library/icons.js +165 -0
- package/console/pdl/library/identity.js +149 -0
- package/console/pdl/library/inputs.js +801 -0
- package/console/pdl/library/label-search.js +214 -0
- package/console/pdl/library/markdown-text.js +115 -0
- package/console/pdl/library/markdown.js +150 -0
- package/console/pdl/library/media-viewer.js +293 -0
- package/console/pdl/library/member-select.mjs +32 -0
- package/console/pdl/library/message.js +105 -0
- package/console/pdl/library/motion.js +56 -0
- package/console/pdl/library/overlays.js +165 -0
- package/console/pdl/library/page.js +142 -0
- package/console/pdl/library/plugin-form.js +154 -0
- package/console/pdl/library/registry.js +198 -0
- package/console/pdl/library/rows.js +523 -0
- package/console/pdl/library/shell.js +151 -0
- package/console/pdl/library/stream.js +58 -0
- package/console/pdl/library/tabs.js +259 -0
- package/console/pdl/library/theme-calculator.js +300 -0
- package/console/pdl/library/widgets.js +114 -0
- package/console/pdl/load-order.json +74 -0
- package/console/pdl/platform/README.md +3 -0
- package/console/pdl/platform/rich-markdown.mjs +17 -0
- package/console/pdl/platform/web-links.js +26 -0
- package/console/pdl/platform/web.js +80 -0
- package/console/sdk-browser/mentions.d.mts +16 -0
- package/console/sdk-browser/mentions.mjs +84 -0
- package/console/theme/assets.js +21 -0
- package/console/theme/theme.json +9417 -0
- package/console/theme/tokens.json +444 -0
- package/dist/core/a2a.d.ts +288 -0
- package/dist/core/a2a.js +2197 -0
- package/dist/core/address.d.ts +34 -0
- package/dist/core/address.js +33 -0
- package/dist/core/approval-inputs.d.ts +17 -0
- package/dist/core/approval-inputs.js +70 -0
- package/dist/core/archive.d.ts +19 -0
- package/dist/core/archive.js +135 -0
- package/dist/core/attachments.d.ts +17 -0
- package/dist/core/attachments.js +143 -0
- package/dist/core/blocked-handoffs.d.ts +132 -0
- package/dist/core/blocked-handoffs.js +349 -0
- package/dist/core/config-schema.d.ts +124 -0
- package/dist/core/config-schema.js +192 -0
- package/dist/core/config.d.ts +117 -0
- package/dist/core/config.js +638 -0
- package/dist/core/disk-usage.d.ts +26 -0
- package/dist/core/disk-usage.js +83 -0
- package/dist/core/documents.d.ts +9 -0
- package/dist/core/documents.js +48 -0
- package/dist/core/entry.d.ts +316 -0
- package/dist/core/entry.js +711 -0
- package/dist/core/home.d.ts +76 -0
- package/dist/core/home.js +449 -0
- package/dist/core/i18n.d.ts +36 -0
- package/dist/core/i18n.js +458 -0
- package/dist/core/instances.d.ts +224 -0
- package/dist/core/instances.js +1272 -0
- package/dist/core/members.d.ts +190 -0
- package/dist/core/members.js +358 -0
- package/dist/core/mentions.d.ts +12 -0
- package/dist/core/mentions.js +49 -0
- package/dist/core/messages.d.ts +876 -0
- package/dist/core/messages.js +916 -0
- package/dist/core/notices.d.ts +88 -0
- package/dist/core/notices.js +54 -0
- package/dist/core/ops.d.ts +117 -0
- package/dist/core/ops.js +146 -0
- package/dist/core/package.d.ts +2 -0
- package/dist/core/package.js +14 -0
- package/dist/core/parts.d.ts +25 -0
- package/dist/core/parts.js +119 -0
- package/dist/core/plugins/catalog.d.ts +14 -0
- package/dist/core/plugins/catalog.js +54 -0
- package/dist/core/plugins/external.d.ts +7 -0
- package/dist/core/plugins/external.js +921 -0
- package/dist/core/plugins/index.d.ts +5 -0
- package/dist/core/plugins/index.js +51 -0
- package/dist/core/plugins/npm.d.ts +12 -0
- package/dist/core/plugins/npm.js +99 -0
- package/dist/core/plugins/plugin-manifest.d.ts +12 -0
- package/dist/core/plugins/plugin-manifest.js +231 -0
- package/dist/core/push.d.ts +22 -0
- package/dist/core/push.js +63 -0
- package/dist/core/resource.d.ts +77 -0
- package/dist/core/resource.js +48 -0
- package/dist/core/spawn.d.ts +12 -0
- package/dist/core/spawn.js +30 -0
- package/dist/core/storage-inventory.d.ts +118 -0
- package/dist/core/storage-inventory.js +279 -0
- package/dist/core/storage.d.ts +45 -0
- package/dist/core/storage.js +602 -0
- package/dist/core/store.d.ts +15 -0
- package/dist/core/store.js +33 -0
- package/dist/core/topic-index.d.ts +19 -0
- package/dist/core/topic-index.js +70 -0
- package/dist/core/topic-ops.d.ts +139 -0
- package/dist/core/topic-ops.js +507 -0
- package/dist/core/topic-status.d.ts +32 -0
- package/dist/core/topic-status.js +105 -0
- package/dist/core/topics.d.ts +327 -0
- package/dist/core/topics.js +786 -0
- package/dist/core/turn-clients.d.ts +1 -0
- package/dist/core/turn-clients.js +5 -0
- package/dist/core/types.d.ts +2866 -0
- package/dist/core/types.js +166 -0
- package/dist/core/util.d.ts +10 -0
- package/dist/core/util.js +47 -0
- package/dist/main.d.ts +12 -0
- package/dist/main.js +82 -0
- package/dist/plugins/adapter-acp/index.d.ts +3 -0
- package/dist/plugins/adapter-acp/index.js +57 -0
- package/dist/plugins/adapter-acp/plugin.yaml +100 -0
- package/dist/plugins/adapter-agy/command.d.ts +9 -0
- package/dist/plugins/adapter-agy/command.js +34 -0
- package/dist/plugins/adapter-agy/index.d.ts +5 -0
- package/dist/plugins/adapter-agy/index.js +65 -0
- package/dist/plugins/adapter-agy/quota.d.ts +2 -0
- package/dist/plugins/adapter-agy/quota.js +155 -0
- package/dist/plugins/adapter-agy/terminal.d.ts +6 -0
- package/dist/plugins/adapter-agy/terminal.js +132 -0
- package/dist/plugins/adapter-agy/version.d.ts +9 -0
- package/dist/plugins/adapter-agy/version.js +17 -0
- package/dist/plugins/adapter-claude/index.d.ts +43 -0
- package/dist/plugins/adapter-claude/index.js +412 -0
- package/dist/plugins/adapter-claude/quota.d.ts +14 -0
- package/dist/plugins/adapter-claude/quota.js +103 -0
- package/dist/plugins/adapter-codex/index.d.ts +4 -0
- package/dist/plugins/adapter-codex/index.js +688 -0
- package/dist/plugins/adapter-codex/responses-model.d.ts +9 -0
- package/dist/plugins/adapter-codex/responses-model.js +82 -0
- package/dist/plugins/adapter-kimi/index.d.ts +4 -0
- package/dist/plugins/adapter-kimi/index.js +51 -0
- package/dist/plugins/adapter-kimi/quota.d.ts +3 -0
- package/dist/plugins/adapter-kimi/quota.js +171 -0
- package/dist/plugins/adapter-opencode/index.d.ts +12 -0
- package/dist/plugins/adapter-opencode/index.js +64 -0
- package/dist/plugins/annotations/console/cards.css +189 -0
- package/dist/plugins/annotations/console/cards.mjs +439 -0
- package/dist/plugins/annotations/console/pdl.json +52 -0
- package/dist/plugins/annotations/console/view.mjs +241 -0
- package/dist/plugins/annotations/console/window.mjs +219 -0
- package/dist/plugins/annotations/followups.d.ts +51 -0
- package/dist/plugins/annotations/followups.js +112 -0
- package/dist/plugins/annotations/index.d.ts +3 -0
- package/dist/plugins/annotations/index.js +298 -0
- package/dist/plugins/annotations/plugin.yaml +3 -0
- package/dist/plugins/ask-choice/index.d.ts +9 -0
- package/dist/plugins/ask-choice/index.js +24 -0
- package/dist/plugins/ask-choice/plugin.yaml +2 -0
- package/dist/plugins/background/index.d.ts +2 -0
- package/dist/plugins/background/index.js +398 -0
- package/dist/plugins/background/plugin.yaml +7 -0
- package/dist/plugins/builtin.json +37 -0
- package/dist/plugins/cards/console/pdl.json +516 -0
- package/dist/plugins/cards/console/view.mjs +67 -0
- package/dist/plugins/cards/index.d.ts +8 -0
- package/dist/plugins/cards/index.js +627 -0
- package/dist/plugins/cards/plugin.yaml +3 -0
- package/dist/plugins/console/browser.d.ts +2 -0
- package/dist/plugins/console/browser.js +115 -0
- package/dist/plugins/console/console/pdl.json +38 -0
- package/dist/plugins/console/console/view.mjs +26 -0
- package/dist/plugins/console/index.d.ts +4 -0
- package/dist/plugins/console/index.js +94 -0
- package/dist/plugins/console/picker.d.ts +2 -0
- package/dist/plugins/console/picker.js +48 -0
- package/dist/plugins/console/plugin.yaml +3 -0
- package/dist/plugins/console/topic-view.d.ts +3 -0
- package/dist/plugins/console/topic-view.js +388 -0
- package/dist/plugins/handoff/index.d.ts +2 -0
- package/dist/plugins/handoff/index.js +147 -0
- package/dist/plugins/handoff/plugin.yaml +8 -0
- package/dist/plugins/host-api/index.d.ts +7 -0
- package/dist/plugins/host-api/index.js +310 -0
- package/dist/plugins/host-api/plugin.yaml +2 -0
- package/dist/plugins/host-api/signing.d.ts +63 -0
- package/dist/plugins/host-api/signing.js +427 -0
- package/dist/plugins/host-api/skills/host-ops/SKILL.md +28 -0
- package/dist/plugins/host-api/skills/hostlet-plugin-dev/SKILL.md +38 -0
- package/dist/plugins/inbox/index.d.ts +15 -0
- package/dist/plugins/inbox/index.js +161 -0
- package/dist/plugins/inbox/plugin.yaml +2 -0
- package/dist/plugins/keys/account-directories.d.ts +18 -0
- package/dist/plugins/keys/account-directories.js +86 -0
- package/dist/plugins/keys/account-storage.d.ts +18 -0
- package/dist/plugins/keys/account-storage.js +112 -0
- package/dist/plugins/keys/console/pdl.json +710 -0
- package/dist/plugins/keys/console/view.mjs +619 -0
- package/dist/plugins/keys/index.d.ts +7 -0
- package/dist/plugins/keys/index.js +842 -0
- package/dist/plugins/keys/login-link.d.ts +2 -0
- package/dist/plugins/keys/login-link.js +15 -0
- package/dist/plugins/keys/plugin.yaml +3 -0
- package/dist/plugins/keys/quota-history.d.ts +91 -0
- package/dist/plugins/keys/quota-history.js +420 -0
- package/dist/plugins/mcp/console/pdl.json +412 -0
- package/dist/plugins/mcp/console/view.mjs +207 -0
- package/dist/plugins/mcp/index.d.ts +7 -0
- package/dist/plugins/mcp/index.js +494 -0
- package/dist/plugins/mcp/plugin.yaml +3 -0
- package/dist/plugins/member-health/index.d.ts +2 -0
- package/dist/plugins/member-health/index.js +478 -0
- package/dist/plugins/member-health/plugin.yaml +2 -0
- package/dist/plugins/memory/capabilities.d.ts +10 -0
- package/dist/plugins/memory/capabilities.js +70 -0
- package/dist/plugins/memory/console/pdl.json +459 -0
- package/dist/plugins/memory/console/view.mjs +254 -0
- package/dist/plugins/memory/corpus.d.ts +60 -0
- package/dist/plugins/memory/corpus.js +521 -0
- package/dist/plugins/memory/engines/fts-tree-diversity.d.ts +8 -0
- package/dist/plugins/memory/engines/fts-tree-diversity.js +49 -0
- package/dist/plugins/memory/engines/fts-tree-text.d.ts +12 -0
- package/dist/plugins/memory/engines/fts-tree-text.js +93 -0
- package/dist/plugins/memory/engines/fts-tree.d.ts +4 -0
- package/dist/plugins/memory/engines/fts-tree.js +387 -0
- package/dist/plugins/memory/engines/search.d.ts +9 -0
- package/dist/plugins/memory/engines/search.js +35 -0
- package/dist/plugins/memory/index.d.ts +3 -0
- package/dist/plugins/memory/index.js +465 -0
- package/dist/plugins/memory/notes.d.ts +22 -0
- package/dist/plugins/memory/notes.js +140 -0
- package/dist/plugins/memory/plugin.yaml +23 -0
- package/dist/plugins/model-profiles/index.d.ts +2 -0
- package/dist/plugins/model-profiles/index.js +919 -0
- package/dist/plugins/model-profiles/plugin.yaml +13 -0
- package/dist/plugins/model-profiles/review-source.d.ts +11 -0
- package/dist/plugins/model-profiles/review-source.js +640 -0
- package/dist/plugins/model-profiles/rules.d.ts +132 -0
- package/dist/plugins/model-profiles/rules.js +767 -0
- package/dist/plugins/model-profiles/skills/model-profile/SKILL.md +60 -0
- package/dist/plugins/model-profiles/sources.d.ts +61 -0
- package/dist/plugins/model-profiles/sources.js +375 -0
- package/dist/plugins/model-profiles/storage.d.ts +104 -0
- package/dist/plugins/model-profiles/storage.js +352 -0
- package/dist/plugins/model-profiles/types.d.ts +187 -0
- package/dist/plugins/model-profiles/types.js +12 -0
- package/dist/plugins/model-profiles/wakeup.d.ts +29 -0
- package/dist/plugins/model-profiles/wakeup.js +390 -0
- package/dist/plugins/models/index.d.ts +2 -0
- package/dist/plugins/models/index.js +63 -0
- package/dist/plugins/models/plugin.yaml +8 -0
- package/dist/plugins/ops/collector.d.ts +22 -0
- package/dist/plugins/ops/collector.js +48 -0
- package/dist/plugins/ops/config.d.ts +11 -0
- package/dist/plugins/ops/config.js +13 -0
- package/dist/plugins/ops/console/pdl.json +676 -0
- package/dist/plugins/ops/console/view.mjs +700 -0
- package/dist/plugins/ops/index.d.ts +3 -0
- package/dist/plugins/ops/index.js +20 -0
- package/dist/plugins/ops/journal.d.ts +7 -0
- package/dist/plugins/ops/journal.js +109 -0
- package/dist/plugins/ops/metrics.d.ts +3 -0
- package/dist/plugins/ops/metrics.js +81 -0
- package/dist/plugins/ops/plugin.yaml +63 -0
- package/dist/plugins/ops/samples.d.ts +54 -0
- package/dist/plugins/ops/samples.js +100 -0
- package/dist/plugins/ops/trace.d.ts +3 -0
- package/dist/plugins/ops/trace.js +104 -0
- package/dist/plugins/ops/usage.d.ts +2 -0
- package/dist/plugins/ops/usage.js +152 -0
- package/dist/plugins/plans/acceptance.d.ts +284 -0
- package/dist/plugins/plans/acceptance.js +247 -0
- package/dist/plugins/plans/blocked.d.ts +25 -0
- package/dist/plugins/plans/blocked.js +66 -0
- package/dist/plugins/plans/console/pdl.json +639 -0
- package/dist/plugins/plans/console/view.d.mts +2 -0
- package/dist/plugins/plans/console/view.mjs +855 -0
- package/dist/plugins/plans/dependencies.d.ts +5 -0
- package/dist/plugins/plans/dependencies.js +21 -0
- package/dist/plugins/plans/index.d.ts +72 -0
- package/dist/plugins/plans/index.js +2057 -0
- package/dist/plugins/plans/plugin.yaml +44 -0
- package/dist/plugins/plans/progress.d.ts +82 -0
- package/dist/plugins/plans/progress.js +516 -0
- package/dist/plugins/prompt/index.d.ts +8 -0
- package/dist/plugins/prompt/index.js +361 -0
- package/dist/plugins/prompt/plugin.yaml +2 -0
- package/dist/plugins/recovery/console/pdl.json +50 -0
- package/dist/plugins/recovery/console/view.mjs +46 -0
- package/dist/plugins/recovery/index.d.ts +9 -0
- package/dist/plugins/recovery/index.js +454 -0
- package/dist/plugins/recovery/plugin.yaml +9 -0
- package/dist/plugins/recovery/probe.d.ts +11 -0
- package/dist/plugins/recovery/probe.js +128 -0
- package/dist/plugins/restart/console/pdl.json +112 -0
- package/dist/plugins/restart/console/view.mjs +85 -0
- package/dist/plugins/restart/index.d.ts +10 -0
- package/dist/plugins/restart/index.js +669 -0
- package/dist/plugins/restart/plugin.yaml +9 -0
- package/dist/plugins/restart/scope.d.ts +6 -0
- package/dist/plugins/restart/scope.js +44 -0
- package/dist/plugins/schedule/console/pdl.json +696 -0
- package/dist/plugins/schedule/console/view.mjs +398 -0
- package/dist/plugins/schedule/events.d.ts +76 -0
- package/dist/plugins/schedule/events.js +158 -0
- package/dist/plugins/schedule/index.d.ts +32 -0
- package/dist/plugins/schedule/index.js +1199 -0
- package/dist/plugins/schedule/plugin.yaml +26 -0
- package/dist/plugins/schedule/when.d.ts +14 -0
- package/dist/plugins/schedule/when.js +83 -0
- package/dist/plugins/sessions/console/pdl.json +259 -0
- package/dist/plugins/sessions/console/view.mjs +355 -0
- package/dist/plugins/sessions/index.d.ts +3 -0
- package/dist/plugins/sessions/index.js +126 -0
- package/dist/plugins/sessions/participants.d.ts +28 -0
- package/dist/plugins/sessions/participants.js +83 -0
- package/dist/plugins/sessions/plugin.yaml +3 -0
- package/dist/plugins/signals/console/pdl.json +802 -0
- package/dist/plugins/signals/console/view.mjs +284 -0
- package/dist/plugins/signals/content.d.ts +31 -0
- package/dist/plugins/signals/content.js +151 -0
- package/dist/plugins/signals/index.d.ts +2 -0
- package/dist/plugins/signals/index.js +601 -0
- package/dist/plugins/signals/plugin.yaml +32 -0
- package/dist/plugins/signals/skills/signal-sources/SKILL.md +27 -0
- package/dist/plugins/skills/console/pdl.json +254 -0
- package/dist/plugins/skills/console/view.mjs +204 -0
- package/dist/plugins/skills/index.d.ts +11 -0
- package/dist/plugins/skills/index.js +567 -0
- package/dist/plugins/skills/install.d.ts +69 -0
- package/dist/plugins/skills/install.js +265 -0
- package/dist/plugins/skills/plugin.yaml +24 -0
- package/dist/plugins/skills/safety-scan.d.ts +17 -0
- package/dist/plugins/skills/safety-scan.js +78 -0
- package/dist/plugins/skills/skills/skill-ops/SKILL.md +29 -0
- package/dist/plugins/terminal/console/pdl.json +115 -0
- package/dist/plugins/terminal/console/view.mjs +178 -0
- package/dist/plugins/terminal/index.d.ts +3 -0
- package/dist/plugins/terminal/index.js +204 -0
- package/dist/plugins/terminal/plugin.yaml +2 -0
- package/dist/plugins/tools/index.d.ts +3 -0
- package/dist/plugins/tools/index.js +458 -0
- package/dist/plugins/tools/plugin.yaml +2 -0
- package/dist/plugins/tools/token.d.ts +61 -0
- package/dist/plugins/tools/token.js +179 -0
- package/dist/plugins/topic-tools/index.d.ts +9 -0
- package/dist/plugins/topic-tools/index.js +29 -0
- package/dist/plugins/topic-tools/plugin.yaml +2 -0
- package/dist/plugins/topic-tools/skills/topic-tidy/SKILL.md +108 -0
- package/dist/plugins/works/console/pdl.json +120 -0
- package/dist/plugins/works/console/view.mjs +91 -0
- package/dist/plugins/works/document-words.d.ts +50 -0
- package/dist/plugins/works/document-words.js +27 -0
- package/dist/plugins/works/editors.d.ts +3 -0
- package/dist/plugins/works/editors.js +162 -0
- package/dist/plugins/works/events.d.ts +58 -0
- package/dist/plugins/works/events.js +82 -0
- package/dist/plugins/works/files.d.ts +23 -0
- package/dist/plugins/works/files.js +53 -0
- package/dist/plugins/works/index.d.ts +9 -0
- package/dist/plugins/works/index.js +1088 -0
- package/dist/plugins/works/plugin.yaml +9 -0
- package/dist/plugins/works/preview.d.ts +10 -0
- package/dist/plugins/works/preview.js +30 -0
- package/dist/plugins/works/project.d.ts +3 -0
- package/dist/plugins/works/project.js +245 -0
- package/dist/plugins/works/resource.d.ts +28 -0
- package/dist/plugins/works/resource.js +71 -0
- package/dist/plugins/works/retention.d.ts +36 -0
- package/dist/plugins/works/retention.js +295 -0
- package/dist/plugins/works/skills/works-ops/SKILL.md +14 -0
- package/dist/plugins/works/viewers.d.ts +13 -0
- package/dist/plugins/works/viewers.js +87 -0
- package/dist/plugins/works/web/anchors.js +94 -0
- package/dist/plugins/works/web/document-edit.js +245 -0
- package/dist/plugins/works/web/preview-bridge.js +142 -0
- package/dist/plugins/works/web/reading-position.js +74 -0
- package/dist/plugins/works/web/view.html +1118 -0
- package/dist/runtime/runtime.d.ts +210 -0
- package/dist/runtime/runtime.js +338 -0
- package/dist/sdk/adapter-kit.d.ts +1 -0
- package/dist/sdk/adapter-kit.js +1 -0
- package/dist/sdk/client.d.ts +163 -0
- package/dist/sdk/client.js +43 -0
- package/dist/sdk/contracts.d.ts +1263 -0
- package/dist/sdk/contracts.js +1 -0
- package/dist/sdk/index.d.ts +57 -0
- package/dist/sdk/index.js +27 -0
- package/dist/sdk/source-choice.d.ts +40 -0
- package/dist/sdk/source-choice.js +217 -0
- package/dist/sdk/topic-text.d.ts +5 -0
- package/dist/sdk/topic-text.js +26 -0
- package/dist/sdk/transport.d.ts +12 -0
- package/dist/sdk/transport.js +34 -0
- package/node_modules/@hostlet/adapter-kit/dist/acp.d.ts +88 -0
- package/node_modules/@hostlet/adapter-kit/dist/acp.js +674 -0
- package/node_modules/@hostlet/adapter-kit/dist/command.d.ts +18 -0
- package/node_modules/@hostlet/adapter-kit/dist/command.js +39 -0
- package/node_modules/@hostlet/adapter-kit/dist/index.d.ts +8 -0
- package/node_modules/@hostlet/adapter-kit/dist/index.js +6 -0
- package/node_modules/@hostlet/adapter-kit/dist/models.d.ts +29 -0
- package/node_modules/@hostlet/adapter-kit/dist/models.js +108 -0
- package/node_modules/@hostlet/adapter-kit/dist/quota.d.ts +3 -0
- package/node_modules/@hostlet/adapter-kit/dist/quota.js +4 -0
- package/node_modules/@hostlet/adapter-kit/dist/rpc.d.ts +29 -0
- package/node_modules/@hostlet/adapter-kit/dist/rpc.js +84 -0
- package/node_modules/@hostlet/adapter-kit/dist/upstream-failure.d.ts +5 -0
- package/node_modules/@hostlet/adapter-kit/dist/upstream-failure.js +37 -0
- package/node_modules/@hostlet/adapter-kit/package.json +16 -0
- package/node_modules/@hostlet/platform/dist/desktop.d.ts +16 -0
- package/node_modules/@hostlet/platform/dist/desktop.js +276 -0
- package/node_modules/@hostlet/platform/dist/files.d.ts +24 -0
- package/node_modules/@hostlet/platform/dist/files.js +113 -0
- package/node_modules/@hostlet/platform/dist/index.d.ts +6 -0
- package/node_modules/@hostlet/platform/dist/index.js +4 -0
- package/node_modules/@hostlet/platform/dist/paths.d.ts +4 -0
- package/node_modules/@hostlet/platform/dist/paths.js +9 -0
- package/node_modules/@hostlet/platform/dist/process.d.ts +45 -0
- package/node_modules/@hostlet/platform/dist/process.js +297 -0
- package/node_modules/@hostlet/platform/package.json +14 -0
- package/package.json +60 -4
|
@@ -0,0 +1,710 @@
|
|
|
1
|
+
{
|
|
2
|
+
"provides": ["memberCredentials"],
|
|
3
|
+
"views": {
|
|
4
|
+
"page.keys": {
|
|
5
|
+
"vm": "plugin:keys/page",
|
|
6
|
+
"page": true,
|
|
7
|
+
"blocks": [
|
|
8
|
+
{
|
|
9
|
+
"type": "head",
|
|
10
|
+
"title": "t:keys.title",
|
|
11
|
+
"help": "t:keys.help"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "view",
|
|
15
|
+
"id": "keys.credentials",
|
|
16
|
+
"data": "@"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"route": "keys",
|
|
20
|
+
"space": "settings"
|
|
21
|
+
},
|
|
22
|
+
"keys.credentials": {
|
|
23
|
+
"blocks": [
|
|
24
|
+
{
|
|
25
|
+
"type": "section",
|
|
26
|
+
"title": "t:keys.accounts",
|
|
27
|
+
"actions": [
|
|
28
|
+
{
|
|
29
|
+
"type": "button",
|
|
30
|
+
"primary": true,
|
|
31
|
+
"icon": "plus",
|
|
32
|
+
"label": "t:keys.addAccount",
|
|
33
|
+
"act": "plugin:keys/hlAccountAdd",
|
|
34
|
+
"when": "$.canAddAccount"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"blocks": [
|
|
38
|
+
{
|
|
39
|
+
"type": "list",
|
|
40
|
+
"id": "$.accountListId",
|
|
41
|
+
"from": "$.accounts",
|
|
42
|
+
"empty": "t:keys.emptyAccounts",
|
|
43
|
+
"row": {
|
|
44
|
+
"layout": "two",
|
|
45
|
+
"key": "@key",
|
|
46
|
+
"lead": [
|
|
47
|
+
{
|
|
48
|
+
"who": "@identity",
|
|
49
|
+
"form": "avatar"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"title": "@title",
|
|
53
|
+
"inline": [
|
|
54
|
+
{
|
|
55
|
+
"icon": "right",
|
|
56
|
+
"size": "s",
|
|
57
|
+
"variant": "twisty"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"sub": "@sub",
|
|
61
|
+
"cols": [
|
|
62
|
+
{
|
|
63
|
+
"v": [
|
|
64
|
+
{
|
|
65
|
+
"use": "hlMemberQuotas",
|
|
66
|
+
"props": "@quota",
|
|
67
|
+
"when": "@quota"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"text": "@quotaNote",
|
|
71
|
+
"variant": "meta",
|
|
72
|
+
"when": "@quotaNote"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"w": "auto"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"acts": [
|
|
79
|
+
{
|
|
80
|
+
"label": "t:keys.setTier",
|
|
81
|
+
"icon": "tag",
|
|
82
|
+
"act": "plugin:keys/hlAccountTier",
|
|
83
|
+
"args": {
|
|
84
|
+
"key": "@key",
|
|
85
|
+
"title": "@title"
|
|
86
|
+
},
|
|
87
|
+
"when": "@canEditTier"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"label": "t:keys.refreshQuota",
|
|
91
|
+
"icon": "refresh",
|
|
92
|
+
"act": "plugin:keys/hlKeyQuotaRefresh",
|
|
93
|
+
"args": {
|
|
94
|
+
"key": "@key"
|
|
95
|
+
},
|
|
96
|
+
"busy": "@quotaRefreshing",
|
|
97
|
+
"when": "@supportsQuota"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"label": "t:keys.login",
|
|
101
|
+
"icon": "terminal",
|
|
102
|
+
"act": "plugin:keys/hlAccountLogin",
|
|
103
|
+
"args": {
|
|
104
|
+
"id": "@id"
|
|
105
|
+
},
|
|
106
|
+
"when": "@login"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"label": "t:keys.tokenSet",
|
|
110
|
+
"icon": "edit",
|
|
111
|
+
"act": "plugin:keys/hlAccountToken",
|
|
112
|
+
"args": {
|
|
113
|
+
"id": "@id"
|
|
114
|
+
},
|
|
115
|
+
"when": "@setToken"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"label": "t:keys.tokenUpdate",
|
|
119
|
+
"icon": "edit",
|
|
120
|
+
"act": "plugin:keys/hlAccountToken",
|
|
121
|
+
"args": {
|
|
122
|
+
"id": "@id"
|
|
123
|
+
},
|
|
124
|
+
"when": "@updateToken"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"label": "t:keys.logout",
|
|
128
|
+
"icon": "power",
|
|
129
|
+
"act": "plugin:keys/hlAccountLogout",
|
|
130
|
+
"args": {
|
|
131
|
+
"id": "@id"
|
|
132
|
+
},
|
|
133
|
+
"when": "@logout"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"label": "t:keys.tokenClear",
|
|
137
|
+
"icon": "power",
|
|
138
|
+
"act": "plugin:keys/hlAccountLogout",
|
|
139
|
+
"args": {
|
|
140
|
+
"id": "@id"
|
|
141
|
+
},
|
|
142
|
+
"when": "@clearToken"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"label": "t:hl.common.delete",
|
|
146
|
+
"icon": "delete",
|
|
147
|
+
"act": "plugin:keys/hlKeyRemove",
|
|
148
|
+
"args": {
|
|
149
|
+
"id": "@id"
|
|
150
|
+
},
|
|
151
|
+
"when": "@remove"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"expand": [
|
|
155
|
+
{
|
|
156
|
+
"type": "kv",
|
|
157
|
+
"from": "@kv"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "component",
|
|
161
|
+
"use": "hlQuotas",
|
|
162
|
+
"props": "@quotas",
|
|
163
|
+
"when": "@supportsQuota"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "section",
|
|
172
|
+
"title": "t:keys.apiTitle",
|
|
173
|
+
"when": "$.showKeys",
|
|
174
|
+
"actions": [
|
|
175
|
+
{
|
|
176
|
+
"type": "button",
|
|
177
|
+
"primary": true,
|
|
178
|
+
"icon": "plus",
|
|
179
|
+
"label": "t:hl.pdl.s160",
|
|
180
|
+
"act": "plugin:keys/hlKeyEdit",
|
|
181
|
+
"when": "$.manageKeys"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"blocks": [
|
|
185
|
+
{
|
|
186
|
+
"type": "list",
|
|
187
|
+
"id": "$.keyListId",
|
|
188
|
+
"from": "$.keys",
|
|
189
|
+
"empty": "t:hl.pdl.s207",
|
|
190
|
+
"row": {
|
|
191
|
+
"layout": "two",
|
|
192
|
+
"key": "@id",
|
|
193
|
+
"title": "@name",
|
|
194
|
+
"sub": "@sub",
|
|
195
|
+
"cols": [
|
|
196
|
+
{
|
|
197
|
+
"v": {
|
|
198
|
+
"use": "hlMemberQuotas",
|
|
199
|
+
"props": "@quota"
|
|
200
|
+
},
|
|
201
|
+
"w": "auto",
|
|
202
|
+
"when": "@quota"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"acts": [
|
|
206
|
+
{
|
|
207
|
+
"label": "t:keys.refreshQuota",
|
|
208
|
+
"icon": "refresh",
|
|
209
|
+
"act": "plugin:keys/hlKeyQuotaRefresh",
|
|
210
|
+
"args": {
|
|
211
|
+
"key": "@id"
|
|
212
|
+
},
|
|
213
|
+
"busy": "@quotaRefreshing",
|
|
214
|
+
"when": "@quota"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"label": "t:hl.pdl.s197",
|
|
218
|
+
"icon": "bolt",
|
|
219
|
+
"act": "plugin:keys/hlKeyTry",
|
|
220
|
+
"args": {
|
|
221
|
+
"id": "@id"
|
|
222
|
+
},
|
|
223
|
+
"when": "$.manageKeys"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"label": "t:hl.pdl.s186",
|
|
227
|
+
"icon": "edit",
|
|
228
|
+
"act": "plugin:keys/hlKeyEdit",
|
|
229
|
+
"args": {
|
|
230
|
+
"id": "@id"
|
|
231
|
+
},
|
|
232
|
+
"when": "$.manageKeys"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"label": "t:hl.pdl.s037",
|
|
236
|
+
"icon": "delete",
|
|
237
|
+
"act": "plugin:keys/hlKeyRemove",
|
|
238
|
+
"args": {
|
|
239
|
+
"id": "@id"
|
|
240
|
+
},
|
|
241
|
+
"when": "$.manageKeys"
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"ops.quotas": {
|
|
251
|
+
"vm": "plugin:keys/quotas",
|
|
252
|
+
"blocks": [
|
|
253
|
+
{
|
|
254
|
+
"type": "empty",
|
|
255
|
+
"text": "t:keys.loading",
|
|
256
|
+
"when": "$.keysLoading"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "notice",
|
|
260
|
+
"tone": "warn",
|
|
261
|
+
"text": "$.keysError",
|
|
262
|
+
"when": "$.keysError",
|
|
263
|
+
"action": {
|
|
264
|
+
"type": "button",
|
|
265
|
+
"label": "t:keys.reload",
|
|
266
|
+
"act": "plugin:keys/readQuotaAccounts"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "view",
|
|
271
|
+
"id": "keys.credentials",
|
|
272
|
+
"data": "@",
|
|
273
|
+
"when": ["!$.keysLoading", "!$.keysError"]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "section",
|
|
277
|
+
"title": "t:keys.tableLabel",
|
|
278
|
+
"blocks": [
|
|
279
|
+
{
|
|
280
|
+
"type": "toolbar",
|
|
281
|
+
"items": [
|
|
282
|
+
{
|
|
283
|
+
"type": "button",
|
|
284
|
+
"icon": "refresh",
|
|
285
|
+
"label": "t:keys.sampleNow",
|
|
286
|
+
"act": "plugin:keys/sampleNow",
|
|
287
|
+
"busy": "$.sampling"
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "empty",
|
|
293
|
+
"text": "t:keys.loadingSamples",
|
|
294
|
+
"when": "$.burnLoading"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"type": "text",
|
|
298
|
+
"variant": "meta",
|
|
299
|
+
"text": "$.meta",
|
|
300
|
+
"when": "$.meta"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "text",
|
|
304
|
+
"variant": "meta",
|
|
305
|
+
"text": "$.sampleMessage",
|
|
306
|
+
"when": "$.sampleMessage"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "notice",
|
|
310
|
+
"tone": "warn",
|
|
311
|
+
"text": "$.burnError",
|
|
312
|
+
"when": "$.burnError",
|
|
313
|
+
"action": {
|
|
314
|
+
"type": "button",
|
|
315
|
+
"label": "t:keys.reload",
|
|
316
|
+
"act": "plugin:keys/readQuotas"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "empty",
|
|
321
|
+
"text": "t:keys.emptySamples",
|
|
322
|
+
"when": "$.empty"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"type": "component",
|
|
326
|
+
"use": "dataTable",
|
|
327
|
+
"props": "$.rateTable",
|
|
328
|
+
"when": "$.rateTable"
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
"ops.quotaHistory": {
|
|
335
|
+
"vm": "plugin:keys/history",
|
|
336
|
+
"blocks": [
|
|
337
|
+
{
|
|
338
|
+
"type": "section",
|
|
339
|
+
"title": "t:keys.historyTitle",
|
|
340
|
+
"blocks": [
|
|
341
|
+
{
|
|
342
|
+
"type": "toolbar",
|
|
343
|
+
"items": [
|
|
344
|
+
{
|
|
345
|
+
"type": "select",
|
|
346
|
+
"id": "quota-history-account",
|
|
347
|
+
"label": "t:keys.historyAccount",
|
|
348
|
+
"prefix": { "t": "keys.historyFilterPrefix", "args": ["t:keys.historyAccount"] },
|
|
349
|
+
"options": "$.accountOptions",
|
|
350
|
+
"value": "$.account",
|
|
351
|
+
"change": "plugin:keys/historyAccount",
|
|
352
|
+
"disabled": "$.noAccount"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"type": "select",
|
|
356
|
+
"id": "quota-history-window",
|
|
357
|
+
"label": "t:keys.historyWindow",
|
|
358
|
+
"prefix": { "t": "keys.historyFilterPrefix", "args": ["t:keys.historyWindow"] },
|
|
359
|
+
"options": "$.windowOptions",
|
|
360
|
+
"value": "$.window",
|
|
361
|
+
"change": "plugin:keys/historyWindow",
|
|
362
|
+
"disabled": "$.noAccount"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "select",
|
|
366
|
+
"id": "quota-range",
|
|
367
|
+
"label": "t:keys.range",
|
|
368
|
+
"prefix": { "t": "keys.historyFilterPrefix", "args": ["t:keys.range"] },
|
|
369
|
+
"options": "$.rangeOptions",
|
|
370
|
+
"value": "$.range",
|
|
371
|
+
"change": "plugin:keys/range"
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"type": "text",
|
|
377
|
+
"variant": "meta",
|
|
378
|
+
"text": "$.source",
|
|
379
|
+
"when": "$.source"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"type": "empty",
|
|
383
|
+
"text": "t:keys.loadingSamples",
|
|
384
|
+
"when": "$.burnLoading"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"type": "notice",
|
|
388
|
+
"tone": "warn",
|
|
389
|
+
"text": "$.burnError",
|
|
390
|
+
"when": "$.burnError",
|
|
391
|
+
"action": {
|
|
392
|
+
"type": "button",
|
|
393
|
+
"label": "t:keys.reload",
|
|
394
|
+
"act": "plugin:keys/readHistory"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"type": "empty",
|
|
399
|
+
"text": "t:keys.chartEmpty",
|
|
400
|
+
"when": "$.empty"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"type": "component",
|
|
404
|
+
"use": "lineChart",
|
|
405
|
+
"props": "$.chart",
|
|
406
|
+
"when": "$.chart"
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"inserts": [
|
|
414
|
+
{
|
|
415
|
+
"id": "settings",
|
|
416
|
+
"anchor": "members",
|
|
417
|
+
"at": "after",
|
|
418
|
+
"node": {
|
|
419
|
+
"title": "t:keys.title",
|
|
420
|
+
"icon": "key",
|
|
421
|
+
"open": {
|
|
422
|
+
"page": "keys"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"id": "quota-panel",
|
|
428
|
+
"anchor": "ops.panels.quota",
|
|
429
|
+
"at": "inside",
|
|
430
|
+
"priority": 20,
|
|
431
|
+
"node": {
|
|
432
|
+
"type": "box",
|
|
433
|
+
"blocks": [
|
|
434
|
+
{
|
|
435
|
+
"type": "view",
|
|
436
|
+
"id": "ops.quotas"
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"id": "quota-history",
|
|
443
|
+
"anchor": "ops.panels.usage",
|
|
444
|
+
"at": "inside",
|
|
445
|
+
"priority": 20,
|
|
446
|
+
"node": {
|
|
447
|
+
"type": "box",
|
|
448
|
+
"blocks": [
|
|
449
|
+
{
|
|
450
|
+
"type": "view",
|
|
451
|
+
"id": "ops.quotaHistory"
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"ns": "keys",
|
|
458
|
+
"i18n": {
|
|
459
|
+
"zh": {
|
|
460
|
+
"accounts": "客户端账号",
|
|
461
|
+
"addAccount": "新增账号",
|
|
462
|
+
"authMode": "认证方式",
|
|
463
|
+
"authLogin": "终端登录",
|
|
464
|
+
"authToken": "长效订阅 Token",
|
|
465
|
+
"tokenLabel": "订阅 Token",
|
|
466
|
+
"tokenConfigured": "已配置 Token",
|
|
467
|
+
"tokenMissing": "未配置 Token",
|
|
468
|
+
"tokenSet": "配置 Token",
|
|
469
|
+
"tokenUpdate": "更新 Token",
|
|
470
|
+
"tokenClear": "清除 Token",
|
|
471
|
+
"tokenTitle": "配置「{0}」的订阅 Token",
|
|
472
|
+
"tokenSaved": "已保存「{0}」的订阅 Token",
|
|
473
|
+
"tokenClearTitle": "清除「{0}」的订阅 Token?",
|
|
474
|
+
"tokenClearText": "使用这个账号的实例将停止。成员会保留账号选择,可以在这里重新配置 Token。",
|
|
475
|
+
"login": "登录",
|
|
476
|
+
"logout": "注销",
|
|
477
|
+
"loginTitle": "登录「{0}」",
|
|
478
|
+
"logoutTitle": "注销「{0}」?",
|
|
479
|
+
"logoutText": "使用这个账号的实例将停止。成员会保留账号选择,可以在这里重新登录。",
|
|
480
|
+
"signedIn": "已保存登录",
|
|
481
|
+
"signedOut": "未登录",
|
|
482
|
+
"clientUnavailable": "无法读取登录状态",
|
|
483
|
+
"emptyAccounts": "还没有客户端账号。",
|
|
484
|
+
"loginSaved": "已登录「{0}」",
|
|
485
|
+
"accountDir": "账号目录",
|
|
486
|
+
"loginDir": "账号目录 {0}",
|
|
487
|
+
"accountDirHelp": "选择这个账号独占的新目录或空目录。删除账号时也会删除整个目录。",
|
|
488
|
+
"chooseDir": "选择目录",
|
|
489
|
+
"delAccount": "将删除整个目录「{0}」、这个账号的登录凭据和全部本地数据,随后移除账号登记。",
|
|
490
|
+
"protoOpenai": "OpenAI chat(chat/completions,多数兼容网关是这个)",
|
|
491
|
+
"protoResponses": "OpenAI responses(responses 接口,Codex 只认这个)",
|
|
492
|
+
"defaultEndpoint": "这个协议通常的地址",
|
|
493
|
+
"usedBy": "{0} 在用",
|
|
494
|
+
"notUsed": "还没有成员用它",
|
|
495
|
+
"editTitle": "编辑 {0}",
|
|
496
|
+
"addTitle": "添加密钥",
|
|
497
|
+
"formText": "宿主只存这三样:协议、地址、key。怎么交给客户端、能用哪些模型,由各适配器自己处理;哪个成员用它,在成员的「编辑」里选。",
|
|
498
|
+
"namePh": "比如:公司的网关",
|
|
499
|
+
"protoLabel": "协议",
|
|
500
|
+
"endpointLabel": "地址(endpoint)",
|
|
501
|
+
"endpointHelp": "用这个协议通常的地址就留空。",
|
|
502
|
+
"secretKeepPh": "已经存了。留空就不改。",
|
|
503
|
+
"secretHelp": "存在数据目录的 secrets/ 里,界面上不再显示。",
|
|
504
|
+
"modelCtx": " · {0} 上下文",
|
|
505
|
+
"modelOut": " · 输出 {0}",
|
|
506
|
+
"tryTitle": "{0}:能用,{1} 个模型",
|
|
507
|
+
"tryEmpty": "(它的 models 接口没有列出模型)",
|
|
508
|
+
"delTitle": "删除「{0}」?",
|
|
509
|
+
"delText": "存着的 key 一起删掉。还有成员在用的话删不了,先给那些成员换掉。",
|
|
510
|
+
"apiTitle": "API 密钥",
|
|
511
|
+
"localAccount": "本机默认",
|
|
512
|
+
"configuredAccount": "成员配置",
|
|
513
|
+
"noQuota": "未提供额度",
|
|
514
|
+
"refreshQuota": "刷新额度",
|
|
515
|
+
"kvClient": "客户端",
|
|
516
|
+
"kvMembers": "使用成员",
|
|
517
|
+
"kvCommand": "启动命令",
|
|
518
|
+
"title": "密钥",
|
|
519
|
+
"help": "集中管理客户端登录、订阅额度和 API 密钥。成员在自己的设置里选择凭据。",
|
|
520
|
+
"loading": "正在读取账号",
|
|
521
|
+
"reload": "重新读取",
|
|
522
|
+
"setTier": "订阅档位",
|
|
523
|
+
"tierTitle": "订阅档位:{0}",
|
|
524
|
+
"tierHelp": "填写订阅档位说明;识别到 5x、20x 这类倍数时,用于同服务商同窗口的 1x 基准换算。留空清除。",
|
|
525
|
+
"tierSaved": "已保存订阅档位",
|
|
526
|
+
"tierCleared": "已清除订阅档位",
|
|
527
|
+
"historyTitle": "账号额度趋势",
|
|
528
|
+
"historyAccount": "账号",
|
|
529
|
+
"historyWindow": "额度窗口",
|
|
530
|
+
"historyFilterPrefix": "{0}\u00a0",
|
|
531
|
+
"allWindows": "全部窗口",
|
|
532
|
+
"loadingSamples": "正在读取额度采样",
|
|
533
|
+
"range": "时间范围",
|
|
534
|
+
"range24": "近 24 小时",
|
|
535
|
+
"range7": "近 7 天",
|
|
536
|
+
"range14": "近 14 天",
|
|
537
|
+
"sampleNow": "立即采样",
|
|
538
|
+
"emptySamples": "还没有额度采样记录。点击「立即采样」留下第一个点。",
|
|
539
|
+
"tableLabel": "额度消耗速度",
|
|
540
|
+
"colAccount": "账号 · 窗口",
|
|
541
|
+
"colSource": "客户端 · 接入方式",
|
|
542
|
+
"sourceLocal": "客户端本机登录",
|
|
543
|
+
"sourceManaged": "Hostlet 托管",
|
|
544
|
+
"sourceApiKey": "Hostlet API 密钥",
|
|
545
|
+
"sourceUnknown": "来源未记录",
|
|
546
|
+
"colCurrent": "当前",
|
|
547
|
+
"colH1": "近 1h",
|
|
548
|
+
"colH24": "近 24h",
|
|
549
|
+
"colNormalized": "1x 基准",
|
|
550
|
+
"colDeplete": "预计用完",
|
|
551
|
+
"colReset": "离重置",
|
|
552
|
+
"colSamples": "样本",
|
|
553
|
+
"depleted": "已用完",
|
|
554
|
+
"lessThanMinute": "< 1 分钟",
|
|
555
|
+
"minutesOnly": "{0} 分钟",
|
|
556
|
+
"hoursOnly": "{0} 小时",
|
|
557
|
+
"daysOnly": "{0} 天",
|
|
558
|
+
"daysHours": "{0} 天 {1} 时",
|
|
559
|
+
"depleteBeforeReset": "{0}·早于重置",
|
|
560
|
+
"noConsumption": "无消耗",
|
|
561
|
+
"insufficientSamples": "样本不足",
|
|
562
|
+
"awaitingSample": "重置后待采样",
|
|
563
|
+
"sampledAt": "采样时间:{0}",
|
|
564
|
+
"rateTip": "{0} 个样本 · 有效跨度 {1} 分钟",
|
|
565
|
+
"normalizedTip": "同服务商同窗口 1x 基准,仅用于同服务商同类窗口比较\n近 1h:{0}\n近 24h:{1}",
|
|
566
|
+
"depletesAt": "预计用完时间:{0}",
|
|
567
|
+
"beforeResetTip": "按当前速度会在窗口重置前用完。",
|
|
568
|
+
"resetsAt": "重置时间:{0}",
|
|
569
|
+
"samplesTip": "共 {0} 个样本 · 最近 {1}",
|
|
570
|
+
"range24Start": "24h 前",
|
|
571
|
+
"range24Mid": "12h 前",
|
|
572
|
+
"range7Start": "7 天前",
|
|
573
|
+
"range7Mid": "3.5 天前",
|
|
574
|
+
"range14Start": "14 天前",
|
|
575
|
+
"range14Mid": "7 天前",
|
|
576
|
+
"rangeNow": "现在",
|
|
577
|
+
"chartEmpty": "这个范围内没有额度百分比记录。",
|
|
578
|
+
"resetMark": "窗口重置",
|
|
579
|
+
"scheduleDisabled": "定时采样已停用。",
|
|
580
|
+
"scheduleMissing": "定时采样未登记:启用日程插件后每 10 分钟自动采样。",
|
|
581
|
+
"sampleDone": "已采样 {0} 个账号,写入 {1} 条记录。",
|
|
582
|
+
"samplePartial": "已采样 {0} 个账号,写入 {1} 条记录;{2} 个账号失败。"
|
|
583
|
+
},
|
|
584
|
+
"en": {
|
|
585
|
+
"accounts": "Client accounts",
|
|
586
|
+
"addAccount": "Add account",
|
|
587
|
+
"authMode": "Sign-in method",
|
|
588
|
+
"authLogin": "Terminal sign-in",
|
|
589
|
+
"authToken": "Long-lived token",
|
|
590
|
+
"tokenLabel": "Subscription token",
|
|
591
|
+
"tokenConfigured": "Token saved",
|
|
592
|
+
"tokenMissing": "Token not set",
|
|
593
|
+
"tokenSet": "Set token",
|
|
594
|
+
"tokenUpdate": "Update token",
|
|
595
|
+
"tokenClear": "Clear token",
|
|
596
|
+
"tokenTitle": "Set token for {0}",
|
|
597
|
+
"tokenSaved": "Saved token for {0}",
|
|
598
|
+
"tokenClearTitle": "Clear token for {0}?",
|
|
599
|
+
"tokenClearText": "Instances using this account will stop. Members keep their selection so you can set a new token here.",
|
|
600
|
+
"login": "Sign in",
|
|
601
|
+
"logout": "Sign out",
|
|
602
|
+
"loginTitle": "Sign in to {0}",
|
|
603
|
+
"logoutTitle": "Sign out of {0}?",
|
|
604
|
+
"logoutText": "Instances using this account will stop. Members keep their selection so you can sign in again here.",
|
|
605
|
+
"signedIn": "Sign-in saved",
|
|
606
|
+
"signedOut": "Signed out",
|
|
607
|
+
"clientUnavailable": "Sign-in status unavailable",
|
|
608
|
+
"emptyAccounts": "No client accounts yet.",
|
|
609
|
+
"loginSaved": "Signed in to {0}",
|
|
610
|
+
"accountDir": "Account directory",
|
|
611
|
+
"loginDir": "Account directory · {0}",
|
|
612
|
+
"accountDirHelp": "Choose a new or empty directory for this account. Deleting the account also deletes the entire directory.",
|
|
613
|
+
"chooseDir": "Choose folder",
|
|
614
|
+
"delAccount": "This will delete the entire directory “{0}”, the account’s login credentials and all local data, then remove the account from Hostlet.",
|
|
615
|
+
"protoOpenai": "OpenAI chat (chat/completions, most compatible gateways)",
|
|
616
|
+
"protoResponses": "OpenAI responses (responses API, required by Codex)",
|
|
617
|
+
"defaultEndpoint": "Default endpoint for this protocol",
|
|
618
|
+
"usedBy": "Used by {0}",
|
|
619
|
+
"notUsed": "Not used by any member yet",
|
|
620
|
+
"editTitle": "Edit {0}",
|
|
621
|
+
"addTitle": "Add API key",
|
|
622
|
+
"formText": "The host stores only protocol, endpoint, and key. Adapters handle client wiring and models; assign keys in each member’s Edit form.",
|
|
623
|
+
"namePh": "e.g. Company gateway",
|
|
624
|
+
"protoLabel": "Protocol",
|
|
625
|
+
"endpointLabel": "Endpoint URL",
|
|
626
|
+
"endpointHelp": "Leave blank to use the protocol’s default endpoint.",
|
|
627
|
+
"secretKeepPh": "Already saved. Leave blank to keep.",
|
|
628
|
+
"secretHelp": "Stored in secrets/ inside the data directory and never displayed again.",
|
|
629
|
+
"modelCtx": " · {0} context",
|
|
630
|
+
"modelOut": " · {0} output",
|
|
631
|
+
"tryTitle": "{0}: OK, {1} models",
|
|
632
|
+
"tryEmpty": "(its models endpoint returned no models)",
|
|
633
|
+
"delTitle": "Delete \"{0}\"?",
|
|
634
|
+
"delText": "The stored key will also be removed. Reassign any members using it first.",
|
|
635
|
+
"apiTitle": "API keys",
|
|
636
|
+
"localAccount": "Local default",
|
|
637
|
+
"configuredAccount": "Member-configured",
|
|
638
|
+
"noQuota": "No quota data",
|
|
639
|
+
"refreshQuota": "Refresh quota",
|
|
640
|
+
"kvClient": "Client",
|
|
641
|
+
"kvMembers": "Members",
|
|
642
|
+
"kvCommand": "Command",
|
|
643
|
+
"title": "API Keys",
|
|
644
|
+
"help": "Manage client sign-ins, quotas, and API keys. Choose a credential in each member’s settings.",
|
|
645
|
+
"loading": "Loading accounts",
|
|
646
|
+
"reload": "Reload",
|
|
647
|
+
"setTier": "Subscription tier",
|
|
648
|
+
"tierTitle": "Subscription tier: {0}",
|
|
649
|
+
"tierHelp": "Enter a subscription tier note. A multiplier such as 5x or 20x normalizes burn to a 1x baseline for the same provider and window. Leave blank to clear.",
|
|
650
|
+
"tierSaved": "Subscription tier saved",
|
|
651
|
+
"tierCleared": "Subscription tier cleared",
|
|
652
|
+
"historyTitle": "Account quota trends",
|
|
653
|
+
"historyAccount": "Account",
|
|
654
|
+
"historyWindow": "Quota window",
|
|
655
|
+
"historyFilterPrefix": "{0}\u00a0",
|
|
656
|
+
"allWindows": "All windows",
|
|
657
|
+
"loadingSamples": "Loading quota samples",
|
|
658
|
+
"range": "Range",
|
|
659
|
+
"range24": "Last 24 hours",
|
|
660
|
+
"range7": "Last 7 days",
|
|
661
|
+
"range14": "Last 14 days",
|
|
662
|
+
"sampleNow": "Sample now",
|
|
663
|
+
"emptySamples": "No quota samples yet. Choose “Sample now” to record the first point.",
|
|
664
|
+
"tableLabel": "Quota burn rate",
|
|
665
|
+
"colAccount": "Account · window",
|
|
666
|
+
"colSource": "Client · credential source",
|
|
667
|
+
"sourceLocal": "Local client sign-in",
|
|
668
|
+
"sourceManaged": "Hostlet-managed account",
|
|
669
|
+
"sourceApiKey": "Hostlet API key",
|
|
670
|
+
"sourceUnknown": "Source not recorded",
|
|
671
|
+
"colCurrent": "Current",
|
|
672
|
+
"colH1": "1h",
|
|
673
|
+
"colH24": "24h",
|
|
674
|
+
"colNormalized": "1x baseline",
|
|
675
|
+
"colDeplete": "Depletes in",
|
|
676
|
+
"colReset": "Reset in",
|
|
677
|
+
"colSamples": "Samples",
|
|
678
|
+
"depleted": "Depleted",
|
|
679
|
+
"lessThanMinute": "< 1m",
|
|
680
|
+
"minutesOnly": "{0}m",
|
|
681
|
+
"hoursOnly": "{0}h",
|
|
682
|
+
"daysOnly": "{0}d",
|
|
683
|
+
"daysHours": "{0}d {1}h",
|
|
684
|
+
"depleteBeforeReset": "{0}·before reset",
|
|
685
|
+
"noConsumption": "No consumption",
|
|
686
|
+
"insufficientSamples": "Insufficient samples",
|
|
687
|
+
"awaitingSample": "Awaiting sample",
|
|
688
|
+
"sampledAt": "Sampled at {0}",
|
|
689
|
+
"rateTip": "{0} samples · effective span {1} minutes",
|
|
690
|
+
"normalizedTip": "Same-provider same-window 1x baseline; compare only like windows within one provider\n1h: {0}\n24h: {1}",
|
|
691
|
+
"depletesAt": "Estimated depletion at {0}",
|
|
692
|
+
"beforeResetTip": "At the current rate the window depletes before it resets.",
|
|
693
|
+
"resetsAt": "Resets at {0}",
|
|
694
|
+
"samplesTip": "{0} samples · latest {1}",
|
|
695
|
+
"range24Start": "24h ago",
|
|
696
|
+
"range24Mid": "12h ago",
|
|
697
|
+
"range7Start": "7d ago",
|
|
698
|
+
"range7Mid": "3.5d ago",
|
|
699
|
+
"range14Start": "14d ago",
|
|
700
|
+
"range14Mid": "7d ago",
|
|
701
|
+
"rangeNow": "Now",
|
|
702
|
+
"chartEmpty": "No quota percentages recorded in this range.",
|
|
703
|
+
"resetMark": "window reset",
|
|
704
|
+
"scheduleDisabled": "Scheduled sampling is disabled.",
|
|
705
|
+
"scheduleMissing": "Scheduled sampling is not registered. Enable the schedule plugin for automatic sampling every 10 minutes.",
|
|
706
|
+
"sampleDone": "Sampled {0} accounts and wrote {1} records.",
|
|
707
|
+
"samplePartial": "Sampled {0} accounts and wrote {1} records; {2} accounts failed."
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|