@primusclaw/personal-agent 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE +37 -0
- package/dist/index.js +31873 -0
- package/dist/types/approvals/approval-view.d.ts +70 -0
- package/dist/types/approvals/click.d.ts +8 -0
- package/dist/types/approvals/decide.d.ts +64 -0
- package/dist/types/approvals/handler.d.ts +22 -0
- package/dist/types/approvals/index.d.ts +9 -0
- package/dist/types/approvals/questions.d.ts +36 -0
- package/dist/types/approvals/records.d.ts +43 -0
- package/dist/types/approvals/sensitive.d.ts +13 -0
- package/dist/types/approvals/turn-cards.d.ts +7 -0
- package/dist/types/approvals/views.d.ts +67 -0
- package/dist/types/assistant/action-handler.d.ts +13 -0
- package/dist/types/assistant/actions.d.ts +63 -0
- package/dist/types/assistant/auto-reply.d.ts +14 -0
- package/dist/types/assistant/board.d.ts +68 -0
- package/dist/types/assistant/chat.d.ts +166 -0
- package/dist/types/assistant/citation-sources.d.ts +20 -0
- package/dist/types/assistant/citations.d.ts +38 -0
- package/dist/types/assistant/confirm-outcome.d.ts +11 -0
- package/dist/types/assistant/devenv-hide-outcome.d.ts +4 -0
- package/dist/types/assistant/events.d.ts +53 -0
- package/dist/types/assistant/failures.d.ts +16 -0
- package/dist/types/assistant/files.d.ts +37 -0
- package/dist/types/assistant/finish.d.ts +8 -0
- package/dist/types/assistant/follow.d.ts +75 -0
- package/dist/types/assistant/index.d.ts +12 -0
- package/dist/types/assistant/informative.d.ts +9 -0
- package/dist/types/assistant/item-of.d.ts +2 -0
- package/dist/types/assistant/receipt.d.ts +113 -0
- package/dist/types/assistant/receipts.d.ts +71 -0
- package/dist/types/assistant/say.d.ts +63 -0
- package/dist/types/assistant/tracked-stream.d.ts +30 -0
- package/dist/types/assistant/turn-in-front.d.ts +25 -0
- package/dist/types/assistant/views.d.ts +80 -0
- package/dist/types/assistant/watch-clicks.d.ts +34 -0
- package/dist/types/assistant/work-clicks.d.ts +53 -0
- package/dist/types/assistant/work-handler.d.ts +23 -0
- package/dist/types/assistant/work-items.d.ts +66 -0
- package/dist/types/branding.d.ts +5 -0
- package/dist/types/brief/brief.d.ts +40 -0
- package/dist/types/brief/index.d.ts +3 -0
- package/dist/types/brief/template.d.ts +8 -0
- package/dist/types/capabilities/capability.d.ts +49 -0
- package/dist/types/capabilities/command-text.d.ts +11 -0
- package/dist/types/capabilities/entries-chat.d.ts +3 -0
- package/dist/types/capabilities/entries-notify.d.ts +3 -0
- package/dist/types/capabilities/entries-settings.d.ts +3 -0
- package/dist/types/capabilities/help.d.ts +24 -0
- package/dist/types/capabilities/natural.d.ts +19 -0
- package/dist/types/capabilities/phrases.d.ts +42 -0
- package/dist/types/capabilities/registry.d.ts +12 -0
- package/dist/types/capabilities/sessions-words.d.ts +9 -0
- package/dist/types/capabilities/spoken.d.ts +19 -0
- package/dist/types/capabilities/visibility.d.ts +32 -0
- package/dist/types/claw/credential.d.ts +8 -0
- package/dist/types/claw/errors.d.ts +61 -0
- package/dist/types/claw/lenient.d.ts +23 -0
- package/dist/types/claw/message-text.d.ts +28 -0
- package/dist/types/claw/model.d.ts +118 -0
- package/dist/types/claw/py-value.d.ts +7 -0
- package/dist/types/claw/remote.d.ts +138 -0
- package/dist/types/claw/requester-view.d.ts +15 -0
- package/dist/types/claw/service-refusal.d.ts +4 -0
- package/dist/types/claw/sse.d.ts +12 -0
- package/dist/types/claw/started-review.d.ts +7 -0
- package/dist/types/claw/work-item.d.ts +25 -0
- package/dist/types/commands/agent-args.d.ts +9 -0
- package/dist/types/commands/names.d.ts +19 -0
- package/dist/types/commands/parse.d.ts +33 -0
- package/dist/types/commands/repo.d.ts +17 -0
- package/dist/types/config/settings.d.ts +124 -0
- package/dist/types/direct-chat/direct-chat.d.ts +73 -0
- package/dist/types/direct-chat/index.d.ts +2 -0
- package/dist/types/errors.d.ts +15 -0
- package/dist/types/feedback/deadline.d.ts +10 -0
- package/dist/types/feedback/delivery.d.ts +34 -0
- package/dist/types/feedback/exchange.d.ts +19 -0
- package/dist/types/feedback/flow.d.ts +36 -0
- package/dist/types/feedback/handlers.d.ts +16 -0
- package/dist/types/feedback/history.d.ts +20 -0
- package/dist/types/feedback/identifiers.d.ts +16 -0
- package/dist/types/feedback/index.d.ts +16 -0
- package/dist/types/feedback/iso-time.d.ts +2 -0
- package/dist/types/feedback/issue-text.d.ts +50 -0
- package/dist/types/feedback/log-text.d.ts +13 -0
- package/dist/types/feedback/markdown.d.ts +4 -0
- package/dist/types/feedback/reporting.d.ts +25 -0
- package/dist/types/feedback/scene.d.ts +65 -0
- package/dist/types/feedback/service.d.ts +74 -0
- package/dist/types/feedback/thumbs.d.ts +59 -0
- package/dist/types/feedback/views.d.ts +35 -0
- package/dist/types/guardrails/correlation.d.ts +8 -0
- package/dist/types/guardrails/guardrails.d.ts +49 -0
- package/dist/types/guardrails/index.d.ts +4 -0
- package/dist/types/guardrails/operations.d.ts +22 -0
- package/dist/types/guardrails/sha256.d.ts +1 -0
- package/dist/types/inbound-text/index.d.ts +9 -0
- package/dist/types/inbound-text/marked-text.d.ts +20 -0
- package/dist/types/inbound-text/quote-block.d.ts +26 -0
- package/dist/types/inbound-text/redact.d.ts +8 -0
- package/dist/types/inbound-text/when.d.ts +2 -0
- package/dist/types/inbound-text/with-links.d.ts +20 -0
- package/dist/types/index.d.ts +73 -0
- package/dist/types/json.d.ts +5 -0
- package/dist/types/language/detect.d.ts +21 -0
- package/dist/types/limits/inbound-stats.d.ts +42 -0
- package/dist/types/limits/index.d.ts +5 -0
- package/dist/types/limits/rate-limiter.d.ts +32 -0
- package/dist/types/limits/user-limits.d.ts +18 -0
- package/dist/types/limits/wait-words.d.ts +3 -0
- package/dist/types/locales/account.d.ts +49 -0
- package/dist/types/locales/approval-decisions.d.ts +28 -0
- package/dist/types/locales/approval.d.ts +31 -0
- package/dist/types/locales/assistant-actions.d.ts +65 -0
- package/dist/types/locales/assistant-board.d.ts +14 -0
- package/dist/types/locales/assistant-cards.d.ts +81 -0
- package/dist/types/locales/assistant-chat.d.ts +13 -0
- package/dist/types/locales/assistant-devenv-hide.d.ts +23 -0
- package/dist/types/locales/assistant-work-clicks.d.ts +98 -0
- package/dist/types/locales/assistant.d.ts +5 -0
- package/dist/types/locales/brief.d.ts +29 -0
- package/dist/types/locales/catalog.d.ts +24 -0
- package/dist/types/locales/claw.d.ts +5 -0
- package/dist/types/locales/commands.d.ts +12 -0
- package/dist/types/locales/connector-reasons.d.ts +95 -0
- package/dist/types/locales/connector-setup.d.ts +20 -0
- package/dist/types/locales/feedback.d.ts +75 -0
- package/dist/types/locales/group.d.ts +33 -0
- package/dist/types/locales/guardrails.d.ts +22 -0
- package/dist/types/locales/help-lead.d.ts +15 -0
- package/dist/types/locales/index.d.ts +16 -0
- package/dist/types/locales/lang.d.ts +9 -0
- package/dist/types/locales/limits.d.ts +19 -0
- package/dist/types/locales/link.d.ts +40 -0
- package/dist/types/locales/observe.d.ts +113 -0
- package/dist/types/locales/proactive-lines.d.ts +12 -0
- package/dist/types/locales/proactive.d.ts +62 -0
- package/dist/types/locales/remote-agents.d.ts +216 -0
- package/dist/types/locales/remote-leads.d.ts +13 -0
- package/dist/types/locales/remote-window-card.d.ts +46 -0
- package/dist/types/locales/remote-window.d.ts +21 -0
- package/dist/types/locales/remote.d.ts +365 -0
- package/dist/types/locales/review-account.d.ts +43 -0
- package/dist/types/locales/review-github.d.ts +19 -0
- package/dist/types/locales/review-receipt.d.ts +45 -0
- package/dist/types/locales/review-request.d.ts +21 -0
- package/dist/types/locales/review-start.d.ts +46 -0
- package/dist/types/locales/routing.d.ts +21 -0
- package/dist/types/locales/sessions.d.ts +38 -0
- package/dist/types/locales/settings.d.ts +46 -0
- package/dist/types/locales/steps.d.ts +42 -0
- package/dist/types/locales/transparency.d.ts +18 -0
- package/dist/types/locales/turn.d.ts +70 -0
- package/dist/types/locales/typed-answer.d.ts +32 -0
- package/dist/types/note/note.d.ts +22 -0
- package/dist/types/observability/ip-address.d.ts +13 -0
- package/dist/types/observability/metrics-catalog.d.ts +17 -0
- package/dist/types/observability/security-events.d.ts +26 -0
- package/dist/types/observability/security-fields.d.ts +8 -0
- package/dist/types/observability/security-log.d.ts +21 -0
- package/dist/types/observe/board.d.ts +18 -0
- package/dist/types/observe/command.d.ts +6 -0
- package/dist/types/observe/index.d.ts +6 -0
- package/dist/types/observe/observer.d.ts +45 -0
- package/dist/types/observe/suggestions.d.ts +16 -0
- package/dist/types/observe/views.d.ts +19 -0
- package/dist/types/own.d.ts +9 -0
- package/dist/types/plugins/feedback-sink.d.ts +31 -0
- package/dist/types/plugins/identity-lookup.d.ts +21 -0
- package/dist/types/plugins/index.d.ts +31 -0
- package/dist/types/plugins/integrations.d.ts +34 -0
- package/dist/types/plugins/key-revoker.d.ts +10 -0
- package/dist/types/plugins/model-refusal-policy.d.ts +25 -0
- package/dist/types/plugins/route-extension.d.ts +27 -0
- package/dist/types/plugins/token-exchange.d.ts +36 -0
- package/dist/types/ports/claw/assistant.d.ts +55 -0
- package/dist/types/ports/claw/index.d.ts +28 -0
- package/dist/types/ports/claw/remote-agents.d.ts +53 -0
- package/dist/types/ports/claw/sessions.d.ts +105 -0
- package/dist/types/ports/claw/settings.d.ts +62 -0
- package/dist/types/ports/claw/work-items.d.ts +32 -0
- package/dist/types/ports/clock.d.ts +17 -0
- package/dist/types/ports/crypto.d.ts +15 -0
- package/dist/types/ports/github.d.ts +97 -0
- package/dist/types/ports/index.d.ts +18 -0
- package/dist/types/ports/logger.d.ts +19 -0
- package/dist/types/ports/metrics.d.ts +21 -0
- package/dist/types/ports/random.d.ts +15 -0
- package/dist/types/ports/request-scope.d.ts +31 -0
- package/dist/types/ports/routing.d.ts +107 -0
- package/dist/types/ports/secret-source.d.ts +21 -0
- package/dist/types/ports/store/approvals.d.ts +47 -0
- package/dist/types/ports/store/assistant.d.ts +104 -0
- package/dist/types/ports/store/feedback.d.ts +80 -0
- package/dist/types/ports/store/github.d.ts +81 -0
- package/dist/types/ports/store/idempotency.d.ts +21 -0
- package/dist/types/ports/store/index.d.ts +65 -0
- package/dist/types/ports/store/json.d.ts +4 -0
- package/dist/types/ports/store/link.d.ts +39 -0
- package/dist/types/ports/store/notify.d.ts +28 -0
- package/dist/types/ports/store/observe.d.ts +53 -0
- package/dist/types/ports/store/onboarding.d.ts +49 -0
- package/dist/types/ports/store/people.d.ts +77 -0
- package/dist/types/ports/store/policy.d.ts +60 -0
- package/dist/types/ports/store/remote.d.ts +114 -0
- package/dist/types/ports/store/sessions.d.ts +59 -0
- package/dist/types/ports/store/turns.d.ts +30 -0
- package/dist/types/ports/surface.d.ts +394 -0
- package/dist/types/ports/turn-cards.d.ts +52 -0
- package/dist/types/proactive/deliver.d.ts +52 -0
- package/dist/types/proactive/deps.d.ts +77 -0
- package/dist/types/proactive/events.d.ts +10 -0
- package/dist/types/proactive/index.d.ts +6 -0
- package/dist/types/proactive/proactive.d.ts +62 -0
- package/dist/types/proactive/quiet.d.ts +27 -0
- package/dist/types/proactive/release.d.ts +24 -0
- package/dist/types/proactive/said-memory.d.ts +21 -0
- package/dist/types/proactive/views.d.ts +67 -0
- package/dist/types/protocol/claw-api/assistant-events.d.ts +223 -0
- package/dist/types/protocol/claw-api/index.d.ts +5 -0
- package/dist/types/protocol/claw-api/notifications.d.ts +85 -0
- package/dist/types/protocol/claw-api/reviews.d.ts +63 -0
- package/dist/types/protocol/claw-api/session-events.d.ts +34 -0
- package/dist/types/protocol/claw-api/work-items.d.ts +75 -0
- package/dist/types/protocol/remote-agents.d.ts +230 -0
- package/dist/types/protocol.d.ts +10 -0
- package/dist/types/public-error/classify.d.ts +21 -0
- package/dist/types/public-error/index.d.ts +4 -0
- package/dist/types/public-error/patterns.d.ts +20 -0
- package/dist/types/public-error/public-error-log.d.ts +15 -0
- package/dist/types/public-error/public-errors.d.ts +20 -0
- package/dist/types/remote/actions.d.ts +36 -0
- package/dist/types/remote/agents.d.ts +37 -0
- package/dist/types/remote/answer.d.ts +9 -0
- package/dist/types/remote/board.d.ts +108 -0
- package/dist/types/remote/cards.d.ts +4 -0
- package/dist/types/remote/chat-key.d.ts +13 -0
- package/dist/types/remote/chats.d.ts +76 -0
- package/dist/types/remote/clicks-machine.d.ts +24 -0
- package/dist/types/remote/clicks-start.d.ts +36 -0
- package/dist/types/remote/clicks.d.ts +61 -0
- package/dist/types/remote/commands.d.ts +60 -0
- package/dist/types/remote/connector/reasons.d.ts +31 -0
- package/dist/types/remote/connector/setup.d.ts +62 -0
- package/dist/types/remote/context.d.ts +101 -0
- package/dist/types/remote/conversations.d.ts +37 -0
- package/dist/types/remote/ended.d.ts +25 -0
- package/dist/types/remote/events.d.ts +65 -0
- package/dist/types/remote/fields.d.ts +7 -0
- package/dist/types/remote/follow/control.d.ts +39 -0
- package/dist/types/remote/follow/follower.d.ts +85 -0
- package/dist/types/remote/follow/inbox.d.ts +16 -0
- package/dist/types/remote/follow/speaker.d.ts +122 -0
- package/dist/types/remote/follow/steps.d.ts +9 -0
- package/dist/types/remote/follow/timings.d.ts +29 -0
- package/dist/types/remote/health.d.ts +20 -0
- package/dist/types/remote/index.d.ts +21 -0
- package/dist/types/remote/inert.d.ts +18 -0
- package/dist/types/remote/limits.d.ts +48 -0
- package/dist/types/remote/lines.d.ts +66 -0
- package/dist/types/remote/links/answer.d.ts +7 -0
- package/dist/types/remote/links/domains.d.ts +19 -0
- package/dist/types/remote/links/hosts.d.ts +2 -0
- package/dist/types/remote/links/scans.d.ts +27 -0
- package/dist/types/remote/listing.d.ts +38 -0
- package/dist/types/remote/lists.d.ts +56 -0
- package/dist/types/remote/machines.d.ts +54 -0
- package/dist/types/remote/marks.d.ts +5 -0
- package/dist/types/remote/model.d.ts +51 -0
- package/dist/types/remote/options.d.ts +20 -0
- package/dist/types/remote/permissions.d.ts +41 -0
- package/dist/types/remote/ports.d.ts +143 -0
- package/dist/types/remote/prompt.d.ts +60 -0
- package/dist/types/remote/refusals.d.ts +40 -0
- package/dist/types/remote/remote-agents.d.ts +84 -0
- package/dist/types/remote/reported.d.ts +8 -0
- package/dist/types/remote/session-ops.d.ts +57 -0
- package/dist/types/remote/sessions.d.ts +80 -0
- package/dist/types/remote/setup.d.ts +26 -0
- package/dist/types/remote/state.d.ts +55 -0
- package/dist/types/remote/tail.d.ts +63 -0
- package/dist/types/remote/targets.d.ts +66 -0
- package/dist/types/remote/tasks.d.ts +20 -0
- package/dist/types/remote/time.d.ts +15 -0
- package/dist/types/remote/turn-state.d.ts +29 -0
- package/dist/types/remote/turns/chat-turn.d.ts +50 -0
- package/dist/types/remote/turns/display.d.ts +18 -0
- package/dist/types/remote/turns/outcome.d.ts +41 -0
- package/dist/types/remote/turns/runner.d.ts +55 -0
- package/dist/types/remote/turns/signer.d.ts +14 -0
- package/dist/types/remote/turns/window-turn.d.ts +29 -0
- package/dist/types/remote/views.d.ts +13 -0
- package/dist/types/remote/watches.d.ts +64 -0
- package/dist/types/remote/window/closer.d.ts +14 -0
- package/dist/types/remote/window/index.d.ts +2 -0
- package/dist/types/remote/window/output.d.ts +28 -0
- package/dist/types/remote/window/view.d.ts +73 -0
- package/dist/types/remote-view/agents-view.d.ts +88 -0
- package/dist/types/remote-view/conversations-view.d.ts +51 -0
- package/dist/types/remote-view/hidden-view.d.ts +20 -0
- package/dist/types/remote-view/index.d.ts +40 -0
- package/dist/types/remote-view/live-view.d.ts +44 -0
- package/dist/types/remote-view/machine-views.d.ts +73 -0
- package/dist/types/remote-view/messages.d.ts +3 -0
- package/dist/types/remote-view/permission-view.d.ts +55 -0
- package/dist/types/remote-view/sessions-view.d.ts +70 -0
- package/dist/types/remote-view/status-view.d.ts +52 -0
- package/dist/types/remote-view/window-view.d.ts +68 -0
- package/dist/types/result.d.ts +31 -0
- package/dist/types/review/connect/connections.d.ts +24 -0
- package/dist/types/review/connect/github-connect.d.ts +50 -0
- package/dist/types/review/connect/questions.d.ts +6 -0
- package/dist/types/review/connect/review-ask.d.ts +1 -0
- package/dist/types/review/consent.d.ts +13 -0
- package/dist/types/review/handoff.d.ts +22 -0
- package/dist/types/review/held.d.ts +15 -0
- package/dist/types/review/index.d.ts +14 -0
- package/dist/types/review/intent-check.d.ts +36 -0
- package/dist/types/review/outcome.d.ts +36 -0
- package/dist/types/review/progress.d.ts +50 -0
- package/dist/types/review/prompts.d.ts +2 -0
- package/dist/types/review/receipt.d.ts +45 -0
- package/dist/types/review/refusals.d.ts +44 -0
- package/dist/types/review/request-parse.d.ts +40 -0
- package/dist/types/review/review-turn.d.ts +83 -0
- package/dist/types/review/service/account.d.ts +52 -0
- package/dist/types/review/service/chat.d.ts +18 -0
- package/dist/types/review/service/confirm.d.ts +49 -0
- package/dist/types/review/service/deps.d.ts +100 -0
- package/dist/types/review/service/follow.d.ts +53 -0
- package/dist/types/review/service/github-review.d.ts +72 -0
- package/dist/types/review/service/handoff-action.d.ts +32 -0
- package/dist/types/review/service/identity.d.ts +27 -0
- package/dist/types/review/service/item-cards.d.ts +39 -0
- package/dist/types/review/service/items.d.ts +57 -0
- package/dist/types/review/service/launch.d.ts +37 -0
- package/dist/types/review/service/notices.d.ts +42 -0
- package/dist/types/review/service/request.d.ts +58 -0
- package/dist/types/review/service/reviewer.d.ts +48 -0
- package/dist/types/review/service/routed-turn.d.ts +20 -0
- package/dist/types/review/service/start.d.ts +65 -0
- package/dist/types/review/service/turns.d.ts +38 -0
- package/dist/types/review/summary.d.ts +11 -0
- package/dist/types/review/views.d.ts +91 -0
- package/dist/types/review-text/asks.d.ts +13 -0
- package/dist/types/review-text/bare-numbers.d.ts +29 -0
- package/dist/types/review-text/index.d.ts +10 -0
- package/dist/types/review-text/markers.d.ts +6 -0
- package/dist/types/review-text/names.d.ts +60 -0
- package/dist/types/review-text/pull-ref.d.ts +25 -0
- package/dist/types/review-text/text/scan.d.ts +19 -0
- package/dist/types/review-text/text/unicode.d.ts +22 -0
- package/dist/types/routing/admission.d.ts +83 -0
- package/dist/types/routing/chat.d.ts +52 -0
- package/dist/types/routing/command-table.d.ts +32 -0
- package/dist/types/routing/commands-account.d.ts +26 -0
- package/dist/types/routing/commands-session.d.ts +40 -0
- package/dist/types/routing/commands-settings.d.ts +17 -0
- package/dist/types/routing/context.d.ts +38 -0
- package/dist/types/routing/credentials.d.ts +53 -0
- package/dist/types/routing/deps.d.ts +116 -0
- package/dist/types/routing/features.d.ts +256 -0
- package/dist/types/routing/group-remote.d.ts +26 -0
- package/dist/types/routing/group-router.d.ts +42 -0
- package/dist/types/routing/identity.d.ts +18 -0
- package/dist/types/routing/index.d.ts +26 -0
- package/dist/types/routing/link-commands.d.ts +26 -0
- package/dist/types/routing/lock.d.ts +5 -0
- package/dist/types/routing/onboarding.d.ts +51 -0
- package/dist/types/routing/personal-router.d.ts +34 -0
- package/dist/types/routing/personal-text.d.ts +62 -0
- package/dist/types/routing/router.d.ts +57 -0
- package/dist/types/routing/show-here.d.ts +18 -0
- package/dist/types/routing/stop-press.d.ts +19 -0
- package/dist/types/routing/time.d.ts +31 -0
- package/dist/types/routing/turn-registry.d.ts +71 -0
- package/dist/types/routing/turn-runner.d.ts +82 -0
- package/dist/types/routing/turn-start.d.ts +81 -0
- package/dist/types/routing/views.d.ts +104 -0
- package/dist/types/security/redact-scan.d.ts +19 -0
- package/dist/types/security/redact-text.d.ts +14 -0
- package/dist/types/security/redact.d.ts +2 -0
- package/dist/types/subscriptions/event-types.d.ts +29 -0
- package/dist/types/subscriptions/index.d.ts +3 -0
- package/dist/types/subscriptions/ports.d.ts +9 -0
- package/dist/types/subscriptions/subscriptions.d.ts +69 -0
- package/dist/types/text/neutral.d.ts +1 -0
- package/dist/types/text/plain.d.ts +6 -0
- package/dist/types/text/py-chars.d.ts +12 -0
- package/dist/types/text/py-json.d.ts +23 -0
- package/dist/types/text/py-number.d.ts +18 -0
- package/dist/types/text/py-regex-escapes.d.ts +32 -0
- package/dist/types/text/py-regex.d.ts +36 -0
- package/dist/types/text/py-text.d.ts +64 -0
- package/dist/types/turn/answer-parts.d.ts +23 -0
- package/dist/types/turn/changes.d.ts +42 -0
- package/dist/types/turn/clip.d.ts +6 -0
- package/dist/types/turn/deliveries.d.ts +31 -0
- package/dist/types/turn/engine/claw-errors.d.ts +7 -0
- package/dist/types/turn/engine/consume.d.ts +35 -0
- package/dist/types/turn/engine/context.d.ts +157 -0
- package/dist/types/turn/engine/extras.d.ts +16 -0
- package/dist/types/turn/engine/fallback.d.ts +17 -0
- package/dist/types/turn/engine/outcome.d.ts +33 -0
- package/dist/types/turn/engine/run-turn.d.ts +22 -0
- package/dist/types/turn/engine/submit.d.ts +23 -0
- package/dist/types/turn/files.d.ts +10 -0
- package/dist/types/turn/github-outcome.d.ts +16 -0
- package/dist/types/turn/index.d.ts +26 -0
- package/dist/types/turn/json.d.ts +10 -0
- package/dist/types/turn/last-answer.d.ts +44 -0
- package/dist/types/turn/live-view.d.ts +67 -0
- package/dist/types/turn/plan.d.ts +31 -0
- package/dist/types/turn/ports.d.ts +15 -0
- package/dist/types/turn/progress/answer-messages.d.ts +20 -0
- package/dist/types/turn/progress/status-message.d.ts +144 -0
- package/dist/types/turn/progress/status-policy.d.ts +66 -0
- package/dist/types/turn/progress/status-text.d.ts +10 -0
- package/dist/types/turn/progress/stream-handle.d.ts +39 -0
- package/dist/types/turn/records.d.ts +10 -0
- package/dist/types/turn/runner.d.ts +106 -0
- package/dist/types/turn/step-labels.d.ts +28 -0
- package/dist/types/turn/step.d.ts +26 -0
- package/dist/types/turn/stop-buttons.d.ts +62 -0
- package/dist/types/turn/task.d.ts +33 -0
- package/dist/types/turn/turn-state.d.ts +70 -0
- package/dist/types/turn/views.d.ts +23 -0
- package/dist/types/typed-answer/index.d.ts +8 -0
- package/dist/types/typed-answer/mode.d.ts +38 -0
- package/dist/types/typed-answer/patterns.d.ts +25 -0
- package/dist/types/typed-answer/prompt.d.ts +5 -0
- package/dist/types/typed-answer/read.d.ts +16 -0
- package/dist/types/understanding/commands.d.ts +14 -0
- package/dist/types/understanding/context.d.ts +49 -0
- package/dist/types/understanding/index.d.ts +11 -0
- package/dist/types/understanding/limits.d.ts +6 -0
- package/dist/types/understanding/people.d.ts +31 -0
- package/dist/types/understanding/record.d.ts +10 -0
- package/dist/types/understanding/review-stop.d.ts +7 -0
- package/dist/types/understanding/sequence-matcher.d.ts +7 -0
- package/dist/types/validate.d.ts +15 -0
- package/package.json +35 -4
- package/README.md +0 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface Where {
|
|
2
|
+
readonly label: string;
|
|
3
|
+
readonly host: string;
|
|
4
|
+
/** " `<folder>`" or "". */
|
|
5
|
+
readonly cwd: string;
|
|
6
|
+
}
|
|
7
|
+
/** Help's first line in a chat attached to an agent's session: where the person's messages go, and how to come back. */
|
|
8
|
+
export declare const helpLeadText: import("./catalog.js").Catalog<{
|
|
9
|
+
direct: (p: Where) => string;
|
|
10
|
+
card: (p: Where & {
|
|
11
|
+
readonly line: string;
|
|
12
|
+
}) => string;
|
|
13
|
+
chat: (p: Where) => string;
|
|
14
|
+
}>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./catalog.js";
|
|
2
|
+
export * from "./lang.js";
|
|
3
|
+
export * from "./limits.js";
|
|
4
|
+
export * from "./guardrails.js";
|
|
5
|
+
export * from "./typed-answer.js";
|
|
6
|
+
export * from "./approval-decisions.js";
|
|
7
|
+
export * from "./approval.js";
|
|
8
|
+
export * from "./assistant-actions.js";
|
|
9
|
+
export * from "./assistant-board.js";
|
|
10
|
+
export * from "./assistant-cards.js";
|
|
11
|
+
export * from "./assistant-chat.js";
|
|
12
|
+
export * from "./assistant-devenv-hide.js";
|
|
13
|
+
export * from "./assistant-work-clicks.js";
|
|
14
|
+
export * from "./assistant.js";
|
|
15
|
+
export * from "./proactive-lines.js";
|
|
16
|
+
export * from "./proactive.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The languages the personal agent speaks. Every user-facing text exists in each of them. */
|
|
2
|
+
export declare const LANGS: readonly ["en", "zh"];
|
|
3
|
+
export type Lang = (typeof LANGS)[number];
|
|
4
|
+
/**
|
|
5
|
+
* A stored language as one of `LANGS`: exactly "zh" is Chinese, anything else (including nothing) is English -- the
|
|
6
|
+
* Python worker's `"zh" if lang == "zh" else "en"`. A client locale ("zh-CN") is not a stored language: reading one is
|
|
7
|
+
* the feature's own rule (the Python `answer_lang`), not this function's.
|
|
8
|
+
*/
|
|
9
|
+
export declare function toLang(value: string | undefined): Lang;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** What a person is told when a per-person limit refused a message or a task (`limits/`). */
|
|
2
|
+
export declare const limitsText: import("./catalog.js").Catalog<{
|
|
3
|
+
/** `s`: "s" when more than one message was dropped (or ""); `wait`: `waitWords`. */
|
|
4
|
+
rateLimited: (p: {
|
|
5
|
+
s: string;
|
|
6
|
+
wait: string;
|
|
7
|
+
}) => string;
|
|
8
|
+
/** `what`: what was not started, with its leading space (or ""). */
|
|
9
|
+
concurrencyLimited: (p: {
|
|
10
|
+
running: number;
|
|
11
|
+
what: string;
|
|
12
|
+
}) => string;
|
|
13
|
+
seconds: (p: {
|
|
14
|
+
n: number;
|
|
15
|
+
}) => string;
|
|
16
|
+
minutes: (p: {
|
|
17
|
+
n: number;
|
|
18
|
+
}) => string;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/** Connecting a chat to an account: the `/link` steps, the identity binding, `/link` and `/unlink` outcomes. */
|
|
2
|
+
export declare const linkText: import("./catalog.js").Catalog<{
|
|
3
|
+
linkSteps: (p: {
|
|
4
|
+
lead: string;
|
|
5
|
+
bot: string;
|
|
6
|
+
page: string;
|
|
7
|
+
notice: string;
|
|
8
|
+
}) => string;
|
|
9
|
+
platformDown: string;
|
|
10
|
+
notConfirmedYet: string;
|
|
11
|
+
notConfirmedLine: string;
|
|
12
|
+
platformUnreachable: string;
|
|
13
|
+
pressConfirmAgain: string;
|
|
14
|
+
connectTitle: (p: {
|
|
15
|
+
bot: string;
|
|
16
|
+
}) => string;
|
|
17
|
+
connected: string;
|
|
18
|
+
runningFromGroup: string;
|
|
19
|
+
getStarted: string;
|
|
20
|
+
linkedAs: (p: {
|
|
21
|
+
who: string;
|
|
22
|
+
}) => string;
|
|
23
|
+
tooManyWrong: (p: {
|
|
24
|
+
minutes: number;
|
|
25
|
+
}) => string;
|
|
26
|
+
linkingPaused: string;
|
|
27
|
+
badCode: string;
|
|
28
|
+
}>;
|
|
29
|
+
/** The name the linked key has in SaFE (the console creates it under this name). */
|
|
30
|
+
export declare const LINK_KEY_NAME = "PrimusClaw Teams";
|
|
31
|
+
/** `/unlink`. */
|
|
32
|
+
export declare const unlinkText: import("./catalog.js").Catalog<{
|
|
33
|
+
bindingOnly: string;
|
|
34
|
+
deleted: string;
|
|
35
|
+
notDeleted: string;
|
|
36
|
+
stillBound: string;
|
|
37
|
+
unlinked: (p: {
|
|
38
|
+
tail: string;
|
|
39
|
+
}) => string;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export declare const observeText: import("./catalog.js").Catalog<{
|
|
2
|
+
noticeOn: (p: {
|
|
3
|
+
who: string;
|
|
4
|
+
bot: string;
|
|
5
|
+
}) => string;
|
|
6
|
+
noticeOff: string;
|
|
7
|
+
notAllowed: string;
|
|
8
|
+
notLinked: string;
|
|
9
|
+
notOn: string;
|
|
10
|
+
isOn: (p: {
|
|
11
|
+
bot: string;
|
|
12
|
+
}) => string;
|
|
13
|
+
noScope: string;
|
|
14
|
+
clawOff: string;
|
|
15
|
+
clawFailed: (p: {
|
|
16
|
+
status: string;
|
|
17
|
+
}) => string;
|
|
18
|
+
usage: (p: {
|
|
19
|
+
bot: string;
|
|
20
|
+
}) => string;
|
|
21
|
+
cardGone: string;
|
|
22
|
+
cardUsed: string;
|
|
23
|
+
dismissed: string;
|
|
24
|
+
posted: string;
|
|
25
|
+
handed: string;
|
|
26
|
+
footer: (p: {
|
|
27
|
+
who: string;
|
|
28
|
+
}) => string;
|
|
29
|
+
groupGone: string;
|
|
30
|
+
unsureInGroup: string;
|
|
31
|
+
unsureWithAssistant: string;
|
|
32
|
+
assistantDown: string;
|
|
33
|
+
noSuggestions: (p: {
|
|
34
|
+
on: number;
|
|
35
|
+
}) => string;
|
|
36
|
+
moreSuggestions: (p: {
|
|
37
|
+
more: number;
|
|
38
|
+
}) => string;
|
|
39
|
+
/** What an accepted suggestion asks the person's assistant (the group's words are background, not an instruction). */
|
|
40
|
+
acceptedRequest: (p: {
|
|
41
|
+
kind: string;
|
|
42
|
+
what: string;
|
|
43
|
+
message: string;
|
|
44
|
+
}) => string;
|
|
45
|
+
replyKind: string;
|
|
46
|
+
taskKind: string;
|
|
47
|
+
cardTitle: string;
|
|
48
|
+
groupChat: string;
|
|
49
|
+
said: string;
|
|
50
|
+
would: string;
|
|
51
|
+
empty: string;
|
|
52
|
+
cardNote: string;
|
|
53
|
+
accept: string;
|
|
54
|
+
dismiss: string;
|
|
55
|
+
turnedOnBy: string;
|
|
56
|
+
}>;
|
|
57
|
+
/** The texts of observation: the same in every language (each is bilingual). */
|
|
58
|
+
export declare const OBSERVE_TEXT: {
|
|
59
|
+
noticeOn: (p: {
|
|
60
|
+
who: string;
|
|
61
|
+
bot: string;
|
|
62
|
+
}) => string;
|
|
63
|
+
noticeOff: string;
|
|
64
|
+
notAllowed: string;
|
|
65
|
+
notLinked: string;
|
|
66
|
+
notOn: string;
|
|
67
|
+
isOn: (p: {
|
|
68
|
+
bot: string;
|
|
69
|
+
}) => string;
|
|
70
|
+
noScope: string;
|
|
71
|
+
clawOff: string;
|
|
72
|
+
clawFailed: (p: {
|
|
73
|
+
status: string;
|
|
74
|
+
}) => string;
|
|
75
|
+
usage: (p: {
|
|
76
|
+
bot: string;
|
|
77
|
+
}) => string;
|
|
78
|
+
cardGone: string;
|
|
79
|
+
cardUsed: string;
|
|
80
|
+
dismissed: string;
|
|
81
|
+
posted: string;
|
|
82
|
+
handed: string;
|
|
83
|
+
footer: (p: {
|
|
84
|
+
who: string;
|
|
85
|
+
}) => string;
|
|
86
|
+
groupGone: string;
|
|
87
|
+
unsureInGroup: string;
|
|
88
|
+
unsureWithAssistant: string;
|
|
89
|
+
assistantDown: string;
|
|
90
|
+
noSuggestions: (p: {
|
|
91
|
+
on: number;
|
|
92
|
+
}) => string;
|
|
93
|
+
moreSuggestions: (p: {
|
|
94
|
+
more: number;
|
|
95
|
+
}) => string;
|
|
96
|
+
/** What an accepted suggestion asks the person's assistant (the group's words are background, not an instruction). */
|
|
97
|
+
acceptedRequest: (p: {
|
|
98
|
+
kind: string;
|
|
99
|
+
what: string;
|
|
100
|
+
message: string;
|
|
101
|
+
}) => string;
|
|
102
|
+
replyKind: string;
|
|
103
|
+
taskKind: string;
|
|
104
|
+
cardTitle: string;
|
|
105
|
+
groupChat: string;
|
|
106
|
+
said: string;
|
|
107
|
+
would: string;
|
|
108
|
+
empty: string;
|
|
109
|
+
cardNote: string;
|
|
110
|
+
accept: string;
|
|
111
|
+
dismiss: string;
|
|
112
|
+
turnedOnBy: string;
|
|
113
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const proactiveText: import("./catalog.js").Catalog<{
|
|
2
|
+
details: string;
|
|
3
|
+
task: (p: {
|
|
4
|
+
seq: string;
|
|
5
|
+
title: string;
|
|
6
|
+
}) => string;
|
|
7
|
+
until: (p: {
|
|
8
|
+
until: string;
|
|
9
|
+
zone: string;
|
|
10
|
+
}) => string;
|
|
11
|
+
asks: (p: {
|
|
12
|
+
seq: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}) => string;
|
|
15
|
+
runCompleted: string;
|
|
16
|
+
runFailed: string;
|
|
17
|
+
notice: string;
|
|
18
|
+
failedRef: (p: {
|
|
19
|
+
ref: string;
|
|
20
|
+
}) => string;
|
|
21
|
+
showHere: string;
|
|
22
|
+
showHereOf: (p: {
|
|
23
|
+
title: string;
|
|
24
|
+
}) => string;
|
|
25
|
+
openInClaw: string;
|
|
26
|
+
approvalNeeded: (p: {
|
|
27
|
+
tool: string;
|
|
28
|
+
}) => string;
|
|
29
|
+
anAction: string;
|
|
30
|
+
validUntil: (p: {
|
|
31
|
+
until: string;
|
|
32
|
+
zone: string;
|
|
33
|
+
}) => string;
|
|
34
|
+
away: string;
|
|
35
|
+
nothingNeedsYou: string;
|
|
36
|
+
finished: (p: {
|
|
37
|
+
n: number;
|
|
38
|
+
}) => string;
|
|
39
|
+
failed: (p: {
|
|
40
|
+
n: number;
|
|
41
|
+
}) => string;
|
|
42
|
+
expiredApprovals: (p: {
|
|
43
|
+
n: number;
|
|
44
|
+
}) => string;
|
|
45
|
+
otherNotices: (p: {
|
|
46
|
+
n: number;
|
|
47
|
+
}) => string;
|
|
48
|
+
markFailed: string;
|
|
49
|
+
markDone: string;
|
|
50
|
+
decided: (p: {
|
|
51
|
+
allow: boolean;
|
|
52
|
+
at: string;
|
|
53
|
+
}) => string;
|
|
54
|
+
answered: (p: {
|
|
55
|
+
at: string;
|
|
56
|
+
}) => string;
|
|
57
|
+
expired: string;
|
|
58
|
+
questionExpired: string;
|
|
59
|
+
approvalExpired: (p: {
|
|
60
|
+
tool: string;
|
|
61
|
+
}) => string;
|
|
62
|
+
}>;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The fixed sentences of remote agents in the chat (`remote/`): the refusals, the replies to a command or a tap that cannot do
|
|
3
|
+
* what it asks, and the lines of an attached chat. Each exists in both languages; English is what a chat not answered in
|
|
4
|
+
* Chinese reads.
|
|
5
|
+
*/
|
|
6
|
+
export declare const remoteAgentText: import("./catalog.js").Catalog<{
|
|
7
|
+
notEnabled: string;
|
|
8
|
+
offline: string;
|
|
9
|
+
outdated: string;
|
|
10
|
+
stillWorking: string;
|
|
11
|
+
stopFirst: string;
|
|
12
|
+
notAttached: string;
|
|
13
|
+
approvalInactive: string;
|
|
14
|
+
approvalAnswered: string;
|
|
15
|
+
unreachable: string;
|
|
16
|
+
unreachableTail: string;
|
|
17
|
+
attachedBelow: string;
|
|
18
|
+
agentAtWork: string;
|
|
19
|
+
sessionGone: string;
|
|
20
|
+
sessionLimit: string;
|
|
21
|
+
sessionEnded: string;
|
|
22
|
+
agentNotFound: string;
|
|
23
|
+
notFound: string;
|
|
24
|
+
rateLimited: string;
|
|
25
|
+
keyRejected: string;
|
|
26
|
+
whichSession: string;
|
|
27
|
+
whichSessionOrAgent: string;
|
|
28
|
+
backToPrimusclaw: string;
|
|
29
|
+
tapInactive: string;
|
|
30
|
+
tapInvalid: string;
|
|
31
|
+
cardExpired: string;
|
|
32
|
+
tapInvalidAgents: string;
|
|
33
|
+
typeFolder: string;
|
|
34
|
+
folderGone: string;
|
|
35
|
+
badSubfolder: string;
|
|
36
|
+
conversationGone: string;
|
|
37
|
+
confirmExpired: string;
|
|
38
|
+
stillInTerminal: string;
|
|
39
|
+
cannotTellTerminal: string;
|
|
40
|
+
agentGone: string;
|
|
41
|
+
notInTerminal: string;
|
|
42
|
+
sessionUnavailable: string;
|
|
43
|
+
approvalRanOut: string;
|
|
44
|
+
sessionNotFound: string;
|
|
45
|
+
machineGone: string;
|
|
46
|
+
cannotTakeOver: string;
|
|
47
|
+
modesUnknown: string;
|
|
48
|
+
nothingRunning: string;
|
|
49
|
+
stopping: string;
|
|
50
|
+
stopQueuedOffline: string;
|
|
51
|
+
stoppedWatching: string;
|
|
52
|
+
stopped: string;
|
|
53
|
+
notAttachedDetach: string;
|
|
54
|
+
attachHow: string;
|
|
55
|
+
lostTrack: string;
|
|
56
|
+
noAnswerableOption: string;
|
|
57
|
+
notReported: string;
|
|
58
|
+
reconnecting: (p: {
|
|
59
|
+
name: string;
|
|
60
|
+
}) => string;
|
|
61
|
+
offlineNamed: (p: {
|
|
62
|
+
name: string;
|
|
63
|
+
}) => string;
|
|
64
|
+
machinesNamedAlike: (p: {
|
|
65
|
+
ref: string;
|
|
66
|
+
}) => string;
|
|
67
|
+
noAgentReported: (p: {
|
|
68
|
+
name: string;
|
|
69
|
+
}) => string;
|
|
70
|
+
noAgentCalled: (p: {
|
|
71
|
+
ref: string;
|
|
72
|
+
}) => string;
|
|
73
|
+
agentOnMachines: (p: {
|
|
74
|
+
names: string;
|
|
75
|
+
}) => string;
|
|
76
|
+
notAccepted: (p: {
|
|
77
|
+
code: string;
|
|
78
|
+
}) => string;
|
|
79
|
+
notAcceptedRef: (p: {
|
|
80
|
+
ref: string;
|
|
81
|
+
}) => string;
|
|
82
|
+
couldNotTake: (p: {
|
|
83
|
+
status: number;
|
|
84
|
+
}) => string;
|
|
85
|
+
/** A session that ended while the chat was idle, when its end cannot be described (said in English, as the worker did). */
|
|
86
|
+
endedWhileIdle: (p: {
|
|
87
|
+
reason: string;
|
|
88
|
+
}) => string;
|
|
89
|
+
noMachineYet: string;
|
|
90
|
+
changedElsewhere: string;
|
|
91
|
+
listBelow: string;
|
|
92
|
+
endedFollowTail: string;
|
|
93
|
+
endedTail: string;
|
|
94
|
+
approvalInPersonal: (p: {
|
|
95
|
+
who: string;
|
|
96
|
+
}) => string;
|
|
97
|
+
ranOutRefused: (p: {
|
|
98
|
+
tool: string;
|
|
99
|
+
}) => string;
|
|
100
|
+
expiredTitle: string;
|
|
101
|
+
decisionNotAccepted: (p: {
|
|
102
|
+
status: number;
|
|
103
|
+
}) => string;
|
|
104
|
+
pressAgain: string;
|
|
105
|
+
turnFailed: (p: {
|
|
106
|
+
ref: string;
|
|
107
|
+
}) => string;
|
|
108
|
+
turnEnded: (p: {
|
|
109
|
+
reason: string;
|
|
110
|
+
}) => string;
|
|
111
|
+
lostConnection: string;
|
|
112
|
+
watchFailed: (p: {
|
|
113
|
+
ref: string;
|
|
114
|
+
}) => string;
|
|
115
|
+
noModeSays: (p: {
|
|
116
|
+
which: string;
|
|
117
|
+
}) => string;
|
|
118
|
+
doNotAsk: string;
|
|
119
|
+
ask: string;
|
|
120
|
+
limitAsks: (p: {
|
|
121
|
+
refused: string;
|
|
122
|
+
}) => string;
|
|
123
|
+
switchFailed: string;
|
|
124
|
+
switchUnconfirmed: string;
|
|
125
|
+
switchedTo: (p: {
|
|
126
|
+
mode: string;
|
|
127
|
+
}) => string;
|
|
128
|
+
watchingHead: (p: {
|
|
129
|
+
label: string;
|
|
130
|
+
host: string;
|
|
131
|
+
}) => string;
|
|
132
|
+
readyMode: (p: {
|
|
133
|
+
mode: string;
|
|
134
|
+
}) => string;
|
|
135
|
+
readyUnattended: (p: {
|
|
136
|
+
note: string;
|
|
137
|
+
}) => string;
|
|
138
|
+
ready: (p: {
|
|
139
|
+
label: string;
|
|
140
|
+
host: string;
|
|
141
|
+
mode: string;
|
|
142
|
+
unattended: string;
|
|
143
|
+
switched: string;
|
|
144
|
+
}) => string;
|
|
145
|
+
notReportedLead: string;
|
|
146
|
+
modeNow: (p: {
|
|
147
|
+
mode: string;
|
|
148
|
+
}) => string;
|
|
149
|
+
modeUnconfirmed: (p: {
|
|
150
|
+
mode: string;
|
|
151
|
+
}) => string;
|
|
152
|
+
startsUnattendedRefused: (p: {
|
|
153
|
+
refused: string;
|
|
154
|
+
}) => string;
|
|
155
|
+
workingNow: string;
|
|
156
|
+
agentsOnHost: (p: {
|
|
157
|
+
host: string;
|
|
158
|
+
names: string;
|
|
159
|
+
}) => string;
|
|
160
|
+
whichConversation: string;
|
|
161
|
+
notAModeId: string;
|
|
162
|
+
notOffered: (p: {
|
|
163
|
+
mode: string;
|
|
164
|
+
have: string;
|
|
165
|
+
}) => string;
|
|
166
|
+
closedNumber: (p: {
|
|
167
|
+
number: number;
|
|
168
|
+
where: string;
|
|
169
|
+
}) => string;
|
|
170
|
+
closedSession: (p: {
|
|
171
|
+
where: string;
|
|
172
|
+
}) => string;
|
|
173
|
+
closedIn: (p: {
|
|
174
|
+
folder: string;
|
|
175
|
+
}) => string;
|
|
176
|
+
closedBack: string;
|
|
177
|
+
newUsage: string;
|
|
178
|
+
modeIs: (p: {
|
|
179
|
+
mode: string;
|
|
180
|
+
}) => string;
|
|
181
|
+
modesOffered: (p: {
|
|
182
|
+
have: string;
|
|
183
|
+
}) => string;
|
|
184
|
+
whichMachine: (p: {
|
|
185
|
+
names: string;
|
|
186
|
+
}) => string;
|
|
187
|
+
whichMachineNone: string;
|
|
188
|
+
notAttachedCard: string;
|
|
189
|
+
otherSessionCard: string;
|
|
190
|
+
pairHead: string;
|
|
191
|
+
pairAbove: string;
|
|
192
|
+
emptySend: string;
|
|
193
|
+
noOutputYet: string;
|
|
194
|
+
fullOutputHead: (p: {
|
|
195
|
+
i: number;
|
|
196
|
+
n: number;
|
|
197
|
+
label: string;
|
|
198
|
+
host: string;
|
|
199
|
+
}) => string;
|
|
200
|
+
askingSwitch: (p: {
|
|
201
|
+
mode: string;
|
|
202
|
+
}) => string;
|
|
203
|
+
offlineTap: (p: {
|
|
204
|
+
host: string;
|
|
205
|
+
}) => string;
|
|
206
|
+
stopReadOnly: string;
|
|
207
|
+
}>;
|
|
208
|
+
/** The sentences that take no parameters: what `saidIn` says. */
|
|
209
|
+
export type RemoteSentence = {
|
|
210
|
+
[K in keyof ReturnType<typeof remoteAgentText.in>]: ReturnType<typeof remoteAgentText.in>[K] extends string ? K : never;
|
|
211
|
+
}[keyof ReturnType<typeof remoteAgentText.in>];
|
|
212
|
+
/**
|
|
213
|
+
* The sentences the Python worker said in English whatever the chat's language: their Chinese entry is the English text, kept so
|
|
214
|
+
* (a port that changes what a person reads is a change of its own).
|
|
215
|
+
*/
|
|
216
|
+
export declare const SAID_IN_ENGLISH: ReadonlySet<string>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The leads a connector's reason is said after (`remote/connector/reasons.ts` `ended`), as [Chinese, English]: a reason may be
|
|
3
|
+
* said in both languages at once when the chat's is not known.
|
|
4
|
+
*/
|
|
5
|
+
type Pair = readonly [zh: string, en: string];
|
|
6
|
+
export declare const remoteLeads: {
|
|
7
|
+
readonly sessionEnded: readonly ["会话已结束", "The session ended"];
|
|
8
|
+
readonly couldNotStart: readonly ["会话没能启动", "The session could not start"];
|
|
9
|
+
readonly turnIncomplete: readonly ["这一轮没有完成", "The turn did not complete"];
|
|
10
|
+
readonly modeNotSwitched: readonly ["模式没有切换", "The mode was not switched"];
|
|
11
|
+
readonly notSwitchedTo: (mode: string) => Pair;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const remoteWindowCardText: import("./catalog.js").Catalog<{
|
|
2
|
+
title: (p: {
|
|
3
|
+
where: string;
|
|
4
|
+
}) => string;
|
|
5
|
+
conversation: (p: {
|
|
6
|
+
named: string;
|
|
7
|
+
}) => string;
|
|
8
|
+
mode: (p: {
|
|
9
|
+
mode: string;
|
|
10
|
+
}) => string;
|
|
11
|
+
status: string;
|
|
12
|
+
phaseIdle: string;
|
|
13
|
+
phaseWorking: string;
|
|
14
|
+
phaseWaiting: string;
|
|
15
|
+
phaseTerminalBusy: string;
|
|
16
|
+
phaseStarting: string;
|
|
17
|
+
phaseOffline: string;
|
|
18
|
+
phaseWatching: string;
|
|
19
|
+
aside: (p: {
|
|
20
|
+
text: string;
|
|
21
|
+
}) => string;
|
|
22
|
+
noOutput: string;
|
|
23
|
+
moreOrLess: string;
|
|
24
|
+
fullOutput: string;
|
|
25
|
+
modeButton: string;
|
|
26
|
+
needsApproval: (p: {
|
|
27
|
+
tool: string;
|
|
28
|
+
until: string;
|
|
29
|
+
}) => string;
|
|
30
|
+
moreRequests: (p: {
|
|
31
|
+
n: number;
|
|
32
|
+
}) => string;
|
|
33
|
+
groupWaits: string;
|
|
34
|
+
placeholder: string;
|
|
35
|
+
boxAfterTurn: string;
|
|
36
|
+
boxAfterStart: string;
|
|
37
|
+
updated: (p: {
|
|
38
|
+
stamp: string;
|
|
39
|
+
}) => string;
|
|
40
|
+
back: string;
|
|
41
|
+
switch: string;
|
|
42
|
+
takeOver: string;
|
|
43
|
+
send: string;
|
|
44
|
+
stop: string;
|
|
45
|
+
stopTerminal: string;
|
|
46
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** What the session card as the window says about where typed text goes (`remote/window/`). `bot` is the assistant's name. */
|
|
2
|
+
export declare const remoteWindowText: import("./catalog.js").Catalog<{
|
|
3
|
+
sentFromQuote: string;
|
|
4
|
+
sentFromChat: string;
|
|
5
|
+
sentFromCard: string;
|
|
6
|
+
chatBoxCard: (p: {
|
|
7
|
+
bot: string;
|
|
8
|
+
}) => string;
|
|
9
|
+
chatBoxChat: (p: {
|
|
10
|
+
bot: string;
|
|
11
|
+
}) => string;
|
|
12
|
+
thisChatToo: string;
|
|
13
|
+
modeSetCard: (p: {
|
|
14
|
+
bot: string;
|
|
15
|
+
now: string;
|
|
16
|
+
}) => string;
|
|
17
|
+
modeSetChat: (p: {
|
|
18
|
+
bot: string;
|
|
19
|
+
now: string;
|
|
20
|
+
}) => string;
|
|
21
|
+
}>;
|