@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,28 @@
|
|
|
1
|
+
export declare const decisionText: import("./catalog.js").Catalog<{
|
|
2
|
+
pressAgain: string;
|
|
3
|
+
notBound: string;
|
|
4
|
+
exchangeFailed: string;
|
|
5
|
+
notSent: string;
|
|
6
|
+
refused: (p: {
|
|
7
|
+
answering: boolean;
|
|
8
|
+
status: number;
|
|
9
|
+
}) => string;
|
|
10
|
+
unreachable: string;
|
|
11
|
+
answered: string;
|
|
12
|
+
decided: (p: {
|
|
13
|
+
allow: boolean;
|
|
14
|
+
tool: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
questionExpired: string;
|
|
17
|
+
approvalExpired: string;
|
|
18
|
+
approvalNeeded: (p: {
|
|
19
|
+
tool: string;
|
|
20
|
+
}) => string;
|
|
21
|
+
onlyAskerAnswers: string;
|
|
22
|
+
onlyAskerDecides: string;
|
|
23
|
+
approvalInactive: string;
|
|
24
|
+
approvalAnswered: string;
|
|
25
|
+
questionInactive: string;
|
|
26
|
+
questionAnswered: string;
|
|
27
|
+
notConnected: string;
|
|
28
|
+
}>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const approvalText: import("./catalog.js").Catalog<{
|
|
2
|
+
title: string;
|
|
3
|
+
titleGroup: string;
|
|
4
|
+
action: string;
|
|
5
|
+
reason: string;
|
|
6
|
+
model: string;
|
|
7
|
+
said: string;
|
|
8
|
+
more: (p: {
|
|
9
|
+
n: number;
|
|
10
|
+
}) => string;
|
|
11
|
+
details: string;
|
|
12
|
+
rule: (p: {
|
|
13
|
+
label: string;
|
|
14
|
+
}) => string;
|
|
15
|
+
only: (p: {
|
|
16
|
+
who: string;
|
|
17
|
+
}) => string;
|
|
18
|
+
asker: string;
|
|
19
|
+
fallbackTool: string;
|
|
20
|
+
sep: string;
|
|
21
|
+
allow: string;
|
|
22
|
+
deny: string;
|
|
23
|
+
questionTitle: string;
|
|
24
|
+
questionOr: string;
|
|
25
|
+
questionYours: string;
|
|
26
|
+
questionOnly: (p: {
|
|
27
|
+
who: string;
|
|
28
|
+
}) => string;
|
|
29
|
+
questionAsker: string;
|
|
30
|
+
send: string;
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { Lang } from "./lang.js";
|
|
2
|
+
/** What upgrades a machine's claw-connector and restarts it on the new version (connector_setup.UPGRADE_COMMAND). */
|
|
3
|
+
export declare const CONNECTOR_UPGRADE_COMMAND = "npm install -g @primusclaw/connector@latest && claw-connector stop && claw-connector service install";
|
|
4
|
+
type Words = Readonly<Record<string, Readonly<Record<Lang, string>>>>;
|
|
5
|
+
/** Why Claw did not do a held write the person let through, by its error word. */
|
|
6
|
+
export declare const CONFIRM_FAILED: Words;
|
|
7
|
+
/** Why Claw did not post a comment the person let through, by its error word. */
|
|
8
|
+
export declare const COMMENT_FAILED: Words;
|
|
9
|
+
/** Why Claw did not send an instruction the person let through, by its error word. */
|
|
10
|
+
export declare const DEVENV_SEND_FAILED: Words;
|
|
11
|
+
export declare const assistantActionText: import("./catalog.js").Catalog<{
|
|
12
|
+
noExchange: string;
|
|
13
|
+
notBound: string;
|
|
14
|
+
exchangeFailed: string;
|
|
15
|
+
clawSilent: string;
|
|
16
|
+
nothingDone: string;
|
|
17
|
+
commentPosted: (p: {
|
|
18
|
+
link: string;
|
|
19
|
+
}) => string;
|
|
20
|
+
commentDenied: string;
|
|
21
|
+
commentNotPosted: (p: {
|
|
22
|
+
why: string;
|
|
23
|
+
}) => string;
|
|
24
|
+
triggerCancelled: string;
|
|
25
|
+
scheduled: (p: {
|
|
26
|
+
name: string;
|
|
27
|
+
schedule: string;
|
|
28
|
+
tz: string;
|
|
29
|
+
next: string;
|
|
30
|
+
}) => string;
|
|
31
|
+
alreadyAnswered: string;
|
|
32
|
+
notCreated: string;
|
|
33
|
+
notCancelled: string;
|
|
34
|
+
expired: string;
|
|
35
|
+
notDone: (p: {
|
|
36
|
+
why: string;
|
|
37
|
+
}) => string;
|
|
38
|
+
sent: (p: {
|
|
39
|
+
agent: string;
|
|
40
|
+
machine: string;
|
|
41
|
+
seq: string;
|
|
42
|
+
}) => string;
|
|
43
|
+
notSent: string;
|
|
44
|
+
sendExpired: string;
|
|
45
|
+
notSentWhy: (p: {
|
|
46
|
+
why: string;
|
|
47
|
+
}) => string;
|
|
48
|
+
actionGone: string;
|
|
49
|
+
actionUsed: string;
|
|
50
|
+
confirmGone: string;
|
|
51
|
+
confirmUsed: string;
|
|
52
|
+
notRun: (p: {
|
|
53
|
+
text: string;
|
|
54
|
+
}) => string;
|
|
55
|
+
actionInvalid: (p: {
|
|
56
|
+
text: string;
|
|
57
|
+
}) => string;
|
|
58
|
+
ran: (p: {
|
|
59
|
+
text: string;
|
|
60
|
+
}) => string;
|
|
61
|
+
couldNotRun: (p: {
|
|
62
|
+
text: string;
|
|
63
|
+
}) => string;
|
|
64
|
+
}>;
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const boardText: import("./catalog.js").Catalog<{
|
|
2
|
+
notAvailable: string;
|
|
3
|
+
failed: string;
|
|
4
|
+
empty: string;
|
|
5
|
+
moreWaiting: (p: {
|
|
6
|
+
n: number;
|
|
7
|
+
}) => string;
|
|
8
|
+
unreachable: string;
|
|
9
|
+
cardGone: string;
|
|
10
|
+
cardUsed: string;
|
|
11
|
+
tryAgain: string;
|
|
12
|
+
pressAgain: string;
|
|
13
|
+
retryAgain: string;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export declare const assistantCardText: import("./catalog.js").Catalog<{
|
|
2
|
+
resultReady: (p: {
|
|
3
|
+
version: number;
|
|
4
|
+
}) => string;
|
|
5
|
+
waiting: string;
|
|
6
|
+
replyForChanges: string;
|
|
7
|
+
accept: (p: {
|
|
8
|
+
version: number;
|
|
9
|
+
}) => string;
|
|
10
|
+
stop: string;
|
|
11
|
+
watch: string;
|
|
12
|
+
unwatch: string;
|
|
13
|
+
watchHint: string;
|
|
14
|
+
watchingHint: string;
|
|
15
|
+
acceptAll: (p: {
|
|
16
|
+
n: number;
|
|
17
|
+
}) => string;
|
|
18
|
+
retry: (p: {
|
|
19
|
+
seq: number;
|
|
20
|
+
}) => string;
|
|
21
|
+
runTitle: string;
|
|
22
|
+
run: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirmTitle: string;
|
|
25
|
+
confirm: string;
|
|
26
|
+
deny: string;
|
|
27
|
+
boardTitle: string;
|
|
28
|
+
boardWaiting: (p: {
|
|
29
|
+
n: number;
|
|
30
|
+
}) => string;
|
|
31
|
+
boardNothing: string;
|
|
32
|
+
column: (p: {
|
|
33
|
+
state: string;
|
|
34
|
+
}) => string;
|
|
35
|
+
badge: (p: {
|
|
36
|
+
state: string;
|
|
37
|
+
}) => string;
|
|
38
|
+
/** board_line: how a done item ended (its outcome as Claw says it, "closed" when none). */
|
|
39
|
+
outcome: (p: {
|
|
40
|
+
outcome: string;
|
|
41
|
+
}) => string;
|
|
42
|
+
ready: (p: {
|
|
43
|
+
version: number;
|
|
44
|
+
}) => string;
|
|
45
|
+
asks: (p: {
|
|
46
|
+
question: string;
|
|
47
|
+
}) => string;
|
|
48
|
+
report: (p: {
|
|
49
|
+
kind: string;
|
|
50
|
+
}) => string;
|
|
51
|
+
more: (p: {
|
|
52
|
+
n: number;
|
|
53
|
+
}) => string;
|
|
54
|
+
older: (p: {
|
|
55
|
+
n: number;
|
|
56
|
+
}) => string;
|
|
57
|
+
justNow: string;
|
|
58
|
+
minutesAgo: (p: {
|
|
59
|
+
n: number;
|
|
60
|
+
}) => string;
|
|
61
|
+
hoursAgo: (p: {
|
|
62
|
+
n: number;
|
|
63
|
+
}) => string;
|
|
64
|
+
daysAgo: (p: {
|
|
65
|
+
n: number;
|
|
66
|
+
}) => string;
|
|
67
|
+
askedTitle: (p: {
|
|
68
|
+
n: number;
|
|
69
|
+
}) => string;
|
|
70
|
+
version: (p: {
|
|
71
|
+
version: number;
|
|
72
|
+
}) => string;
|
|
73
|
+
needsYou: (p: {
|
|
74
|
+
label: string;
|
|
75
|
+
}) => string;
|
|
76
|
+
}>;
|
|
77
|
+
/** asked_line: how a review asked of someone else stands, by Claw's word (always English; asked_section translates it). */
|
|
78
|
+
export declare const ASKED_VERDICT: Readonly<Record<string, string>>;
|
|
79
|
+
export declare const ASKED_WAITING: Readonly<Record<string, string>>;
|
|
80
|
+
/** asked_section: the English words of how an asked review stands, in Chinese. */
|
|
81
|
+
export declare const ASKED_STATE_ZH: Readonly<Record<string, string>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const assistantChatText: import("./catalog.js").Catalog<{
|
|
2
|
+
unavailable: string;
|
|
3
|
+
rejected: string;
|
|
4
|
+
stopFailed: string;
|
|
5
|
+
stopped: string;
|
|
6
|
+
notBusy: string;
|
|
7
|
+
stopHint: string;
|
|
8
|
+
notTaken: string;
|
|
9
|
+
clawRefused: string;
|
|
10
|
+
anImage: string;
|
|
11
|
+
notUnderstood: string;
|
|
12
|
+
filesOnly: string;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const devenvHideText: import("./catalog.js").Catalog<{
|
|
2
|
+
hidden: (p: {
|
|
3
|
+
n: number;
|
|
4
|
+
}) => string;
|
|
5
|
+
shownAgain: (p: {
|
|
6
|
+
n: number;
|
|
7
|
+
}) => string;
|
|
8
|
+
disconnected: (p: {
|
|
9
|
+
n: number;
|
|
10
|
+
}) => string;
|
|
11
|
+
/** The way back is said only when something was hidden: after showing again, or disconnecting, nothing is to bring back. */
|
|
12
|
+
done: (p: {
|
|
13
|
+
parts: readonly string[];
|
|
14
|
+
hidden: boolean;
|
|
15
|
+
}) => string;
|
|
16
|
+
nothing: string;
|
|
17
|
+
alreadyAnswered: string;
|
|
18
|
+
denied: string;
|
|
19
|
+
expired: string;
|
|
20
|
+
failed: (p: {
|
|
21
|
+
why: string;
|
|
22
|
+
}) => string;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare const workClickText: import("./catalog.js").Catalog<{
|
|
2
|
+
retried: (p: {
|
|
3
|
+
label: string;
|
|
4
|
+
}) => string;
|
|
5
|
+
tooMany: (p: {
|
|
6
|
+
label: string;
|
|
7
|
+
}) => string;
|
|
8
|
+
notRetryable: (p: {
|
|
9
|
+
label: string;
|
|
10
|
+
}) => string;
|
|
11
|
+
noRetry: string;
|
|
12
|
+
/** A Retry drawn while the stop was recent, pressed after RETRY_STOPPED_SECONDS. */
|
|
13
|
+
stoppedLongAgo: (p: {
|
|
14
|
+
label: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
watching: (p: {
|
|
17
|
+
pull: string;
|
|
18
|
+
label: string;
|
|
19
|
+
short: string;
|
|
20
|
+
}) => string;
|
|
21
|
+
watchingAlready: (p: {
|
|
22
|
+
pull: string;
|
|
23
|
+
short: string;
|
|
24
|
+
}) => string;
|
|
25
|
+
unwatched: (p: {
|
|
26
|
+
label: string;
|
|
27
|
+
pull: string;
|
|
28
|
+
}) => string;
|
|
29
|
+
unwatchedAlready: (p: {
|
|
30
|
+
label: string;
|
|
31
|
+
}) => string;
|
|
32
|
+
noPull: (p: {
|
|
33
|
+
label: string;
|
|
34
|
+
}) => string;
|
|
35
|
+
watchNeedsSignIn: string;
|
|
36
|
+
watchRefused409: (p: {
|
|
37
|
+
label: string;
|
|
38
|
+
}) => string;
|
|
39
|
+
watchRefused404: string;
|
|
40
|
+
watchRefused403: string;
|
|
41
|
+
rejected: string;
|
|
42
|
+
notFound: string;
|
|
43
|
+
notStopped: string;
|
|
44
|
+
couldNot: (p: {
|
|
45
|
+
status: number;
|
|
46
|
+
}) => string;
|
|
47
|
+
reviewEnded: (p: {
|
|
48
|
+
how: string;
|
|
49
|
+
}) => string;
|
|
50
|
+
alreadyMerged: (p: {
|
|
51
|
+
label: string;
|
|
52
|
+
}) => string;
|
|
53
|
+
mergeInProgress: (p: {
|
|
54
|
+
label: string;
|
|
55
|
+
}) => string;
|
|
56
|
+
stoppedReview: (p: {
|
|
57
|
+
label: string;
|
|
58
|
+
}) => string;
|
|
59
|
+
stoppedTitle: string;
|
|
60
|
+
done: (p: {
|
|
61
|
+
verb: string;
|
|
62
|
+
label: string;
|
|
63
|
+
version: number | null;
|
|
64
|
+
}) => string;
|
|
65
|
+
updated: (p: {
|
|
66
|
+
version: number;
|
|
67
|
+
}) => string;
|
|
68
|
+
updatedCard: (p: {
|
|
69
|
+
note: string;
|
|
70
|
+
version: number;
|
|
71
|
+
}) => string;
|
|
72
|
+
lookAgain: (p: {
|
|
73
|
+
note: string;
|
|
74
|
+
}) => string;
|
|
75
|
+
alreadyClosed: (p: {
|
|
76
|
+
label: string;
|
|
77
|
+
outcome: string;
|
|
78
|
+
}) => string;
|
|
79
|
+
waitingVersion: (p: {
|
|
80
|
+
label: string;
|
|
81
|
+
version: number;
|
|
82
|
+
}) => string;
|
|
83
|
+
waitingForYou: (p: {
|
|
84
|
+
label: string;
|
|
85
|
+
question: string;
|
|
86
|
+
}) => string;
|
|
87
|
+
workedOn: (p: {
|
|
88
|
+
label: string;
|
|
89
|
+
}) => string;
|
|
90
|
+
acceptedAll: (p: {
|
|
91
|
+
n: number;
|
|
92
|
+
labels: string;
|
|
93
|
+
}) => string;
|
|
94
|
+
acceptedNone: string;
|
|
95
|
+
leftOver: (p: {
|
|
96
|
+
n: number;
|
|
97
|
+
}) => string;
|
|
98
|
+
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const briefText: import("./catalog.js").Catalog<{
|
|
2
|
+
unavailable: string;
|
|
3
|
+
needsKey: string;
|
|
4
|
+
usage: (p: {
|
|
5
|
+
assistant: boolean;
|
|
6
|
+
}) => string;
|
|
7
|
+
noTriggers: string;
|
|
8
|
+
tooMany: string;
|
|
9
|
+
refused: (p: {
|
|
10
|
+
status: number;
|
|
11
|
+
}) => string;
|
|
12
|
+
isOn: (p: {
|
|
13
|
+
schedule: string;
|
|
14
|
+
timezone: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
isOff: string;
|
|
17
|
+
unreadable: string;
|
|
18
|
+
badTime: string;
|
|
19
|
+
onAssistant: (p: {
|
|
20
|
+
clock: string;
|
|
21
|
+
timezone: string;
|
|
22
|
+
}) => string;
|
|
23
|
+
onSkill: (p: {
|
|
24
|
+
clock: string;
|
|
25
|
+
timezone: string;
|
|
26
|
+
}) => string;
|
|
27
|
+
off: string;
|
|
28
|
+
wasNotOn: string;
|
|
29
|
+
}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Lang } from "./lang.js";
|
|
2
|
+
/**
|
|
3
|
+
* User-facing text lives in catalogs, one per feature (`locales/<feature>.ts`), never inline in domain code. A catalog
|
|
4
|
+
* is defined once per language with the same keys and the same parameters, which the compiler checks:
|
|
5
|
+
*
|
|
6
|
+
* export const apimText = defineCatalog({
|
|
7
|
+
* en: { guidance: (p: { url: string }) => `Please upload it here:\n${p.url}` },
|
|
8
|
+
* zh: { guidance: (p) => `请先在这里上传:\n${p.url}` },
|
|
9
|
+
* });
|
|
10
|
+
* apimText.in(lang).guidance({ url });
|
|
11
|
+
*
|
|
12
|
+
* A message is a fixed string or a function of named parameters. Byte-for-byte equality with the Python worker's
|
|
13
|
+
* texts is a test of the feature that ports them, not of this mechanism.
|
|
14
|
+
*/
|
|
15
|
+
export type Message = string | ((params: never) => string);
|
|
16
|
+
export type Messages = Readonly<Record<string, Message>>;
|
|
17
|
+
export interface Catalog<M extends Messages> {
|
|
18
|
+
/** The messages in `lang`. */
|
|
19
|
+
in(lang: Lang): M;
|
|
20
|
+
}
|
|
21
|
+
export declare function defineCatalog<M extends Messages>(texts: {
|
|
22
|
+
readonly en: M;
|
|
23
|
+
readonly zh: NoInfer<M>;
|
|
24
|
+
}): Catalog<M>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const clawText: import("./catalog.js").Catalog<{
|
|
2
|
+
readonly service_client_not_allowed: "PrimusClaw does not take answers from me yet: its operator has to allow this worker's client.";
|
|
3
|
+
readonly interactive_sign_in_required: "PrimusClaw did not take my credential for you as a sign-in; tell the operator.";
|
|
4
|
+
readonly only_the_acting_user_can_decide: "PrimusClaw says this answer is not yours to give.";
|
|
5
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** The command usage texts. */
|
|
2
|
+
export declare const commandText: import("./catalog.js").Catalog<{
|
|
3
|
+
repoUsage: string;
|
|
4
|
+
/**
|
|
5
|
+
* With the assistant on there is one conversation and a task of its own for each thing asked: no session to start,
|
|
6
|
+
* list or choose, and no repository to bind to a session.
|
|
7
|
+
*/
|
|
8
|
+
assistantNoSessions: string;
|
|
9
|
+
assistantNoRepo: string;
|
|
10
|
+
}>;
|
|
11
|
+
/** What `/agent` alone (or with no subcommand) says; the remote-agent feature shows it. English only, as in the Python worker. */
|
|
12
|
+
export declare const AGENT_USAGE: string;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The closed set of reason codes a connector (and Claw on its behalf) gives: what happened, then what to do. The fix of an
|
|
3
|
+
* old-connector code and the hints after some codes are added by `remote/connector/reasons.ts`.
|
|
4
|
+
*
|
|
5
|
+
* Sources: connector/src (session.ts, manager.ts, attach.ts, roots.ts, connector.ts, permissions.ts, terminal-input.ts) and what
|
|
6
|
+
* Claw itself writes with `data.by = "claw"` (claw/packages/api/src/remote-agents/store.ts). A code the connector gains must be
|
|
7
|
+
* added here, in both languages. `{login}` is the login command of the address the worker reaches Claw at.
|
|
8
|
+
*/
|
|
9
|
+
export declare const connectorReasonText: import("./catalog.js").Catalog<{
|
|
10
|
+
mode_unavailable: string;
|
|
11
|
+
mode_not_enforced: string;
|
|
12
|
+
mode_not_confirmed: string;
|
|
13
|
+
mode_mismatch: string;
|
|
14
|
+
mode_not_allowed: string;
|
|
15
|
+
mode_id_required: string;
|
|
16
|
+
set_mode_failed: string;
|
|
17
|
+
adapter_gone: string;
|
|
18
|
+
adapter_start_failed: string;
|
|
19
|
+
adapter_unavailable: string;
|
|
20
|
+
adapter_protocol: string;
|
|
21
|
+
adapter_cannot_resume: string;
|
|
22
|
+
adapter_error: string;
|
|
23
|
+
agent_auth_required: string;
|
|
24
|
+
cwd_outside_roots: string;
|
|
25
|
+
cwd_not_found: string;
|
|
26
|
+
cwd_not_directory: string;
|
|
27
|
+
cwd_not_absolute: string;
|
|
28
|
+
invalid_cwd: string;
|
|
29
|
+
cwd_mismatch: string;
|
|
30
|
+
unknown_agent: string;
|
|
31
|
+
not_delivered: string;
|
|
32
|
+
delivery_unconfirmed: string;
|
|
33
|
+
connector_revoked: string;
|
|
34
|
+
machine_reconnected: string;
|
|
35
|
+
unknown_session: string;
|
|
36
|
+
too_many_sessions: string;
|
|
37
|
+
resume_not_supported: string;
|
|
38
|
+
attach_unavailable: string;
|
|
39
|
+
resume_ref_required: string;
|
|
40
|
+
invalid_resume_ref: string;
|
|
41
|
+
already_attached: string;
|
|
42
|
+
catalog_unavailable: string;
|
|
43
|
+
session_live: string;
|
|
44
|
+
recently_written: string;
|
|
45
|
+
twin_check_failed: string;
|
|
46
|
+
terminal_did_not_exit: string;
|
|
47
|
+
session_live_elsewhere: string;
|
|
48
|
+
takeover_not_permitted: string;
|
|
49
|
+
takeover_failed: string;
|
|
50
|
+
terminal_busy: string;
|
|
51
|
+
terminal_input_withdrawn: string;
|
|
52
|
+
terminal_state_unknown: string;
|
|
53
|
+
terminal_gone: string;
|
|
54
|
+
terminal_switched: string;
|
|
55
|
+
terminal_input_failed: string;
|
|
56
|
+
terminal_input_unconfirmed: string;
|
|
57
|
+
terminal_input_unavailable: string;
|
|
58
|
+
empty_prompt: string;
|
|
59
|
+
read_only_live_session: string;
|
|
60
|
+
terminal_session: string;
|
|
61
|
+
terminal_mode_not_allowed: string;
|
|
62
|
+
terminal_mode_unknown: string;
|
|
63
|
+
terminal_screen_unknown: string;
|
|
64
|
+
terminal_command_refused: string;
|
|
65
|
+
takeover_expired: string;
|
|
66
|
+
cwd_ambiguous: string;
|
|
67
|
+
root_unavailable: string;
|
|
68
|
+
session_closed: string;
|
|
69
|
+
closed: string;
|
|
70
|
+
stopped: string;
|
|
71
|
+
paused: string;
|
|
72
|
+
revoked: string;
|
|
73
|
+
text_required: string;
|
|
74
|
+
action_and_option_required: string;
|
|
75
|
+
too_many_queued_prompts: string;
|
|
76
|
+
cancelled: string;
|
|
77
|
+
unknown_action: string;
|
|
78
|
+
option_not_offered: string;
|
|
79
|
+
}>;
|
|
80
|
+
/** What `explain` adds after a reason's own sentence, and the sentence of a code it does not know. */
|
|
81
|
+
export declare const connectorReasonHints: import("./catalog.js").Catalog<{
|
|
82
|
+
upgrade: (p: {
|
|
83
|
+
command: string;
|
|
84
|
+
}) => string;
|
|
85
|
+
sandbox: string;
|
|
86
|
+
status: string;
|
|
87
|
+
newSession: string;
|
|
88
|
+
retry: string;
|
|
89
|
+
unknown: (p: {
|
|
90
|
+
code: string;
|
|
91
|
+
}) => string;
|
|
92
|
+
/** Between a lead and the reason after it, and the end of a lead with none. */
|
|
93
|
+
leadSep: string;
|
|
94
|
+
leadEnd: string;
|
|
95
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** How to connect a machine and upgrade its connector (`remote/connector/setup.ts`). */
|
|
2
|
+
export declare const connectorSetupText: import("./catalog.js").Catalog<{
|
|
3
|
+
noMachine: string;
|
|
4
|
+
/** Between the first line and `runOn`. */
|
|
5
|
+
sep: string;
|
|
6
|
+
runOn: string;
|
|
7
|
+
after: string;
|
|
8
|
+
/** What differs per system, one line each. */
|
|
9
|
+
notes: string;
|
|
10
|
+
upgrade: (p: {
|
|
11
|
+
command: string;
|
|
12
|
+
}) => string;
|
|
13
|
+
versionUnsupported: (p: {
|
|
14
|
+
version: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
versionOutdated: (p: {
|
|
17
|
+
version: string;
|
|
18
|
+
}) => string;
|
|
19
|
+
offlineHint: string;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const feedbackText: import("./catalog.js").Catalog<{
|
|
2
|
+
filed: (p: {
|
|
3
|
+
number: number;
|
|
4
|
+
url: string;
|
|
5
|
+
}) => string;
|
|
6
|
+
commented: (p: {
|
|
7
|
+
number: number;
|
|
8
|
+
url: string;
|
|
9
|
+
}) => string;
|
|
10
|
+
unconfigured: string;
|
|
11
|
+
failed: string;
|
|
12
|
+
whatWentWrong: string;
|
|
13
|
+
whatWentWrongInGroup: (p: {
|
|
14
|
+
bot: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
thumbReportFailed: string;
|
|
17
|
+
thumbsAsk: string;
|
|
18
|
+
thumbsUp: string;
|
|
19
|
+
thumbsDownAsk: string;
|
|
20
|
+
buttonInactive: string;
|
|
21
|
+
filing: string;
|
|
22
|
+
reportInactive: string;
|
|
23
|
+
reportInactiveNote: string;
|
|
24
|
+
reportNotAsker: string;
|
|
25
|
+
reportAsked: string;
|
|
26
|
+
offerAdded: (p: {
|
|
27
|
+
number: number;
|
|
28
|
+
}) => string;
|
|
29
|
+
offerDeclined: (p: {
|
|
30
|
+
number: number;
|
|
31
|
+
}) => string;
|
|
32
|
+
offerEmpty: (p: {
|
|
33
|
+
number: number;
|
|
34
|
+
}) => string;
|
|
35
|
+
offerInvalid: string;
|
|
36
|
+
offerRetry: string;
|
|
37
|
+
}>;
|
|
38
|
+
/** The texts of feedback: the same in every language for now (see above). */
|
|
39
|
+
export declare const FEEDBACK_TEXT: {
|
|
40
|
+
filed: (p: {
|
|
41
|
+
number: number;
|
|
42
|
+
url: string;
|
|
43
|
+
}) => string;
|
|
44
|
+
commented: (p: {
|
|
45
|
+
number: number;
|
|
46
|
+
url: string;
|
|
47
|
+
}) => string;
|
|
48
|
+
unconfigured: string;
|
|
49
|
+
failed: string;
|
|
50
|
+
whatWentWrong: string;
|
|
51
|
+
whatWentWrongInGroup: (p: {
|
|
52
|
+
bot: string;
|
|
53
|
+
}) => string;
|
|
54
|
+
thumbReportFailed: string;
|
|
55
|
+
thumbsAsk: string;
|
|
56
|
+
thumbsUp: string;
|
|
57
|
+
thumbsDownAsk: string;
|
|
58
|
+
buttonInactive: string;
|
|
59
|
+
filing: string;
|
|
60
|
+
reportInactive: string;
|
|
61
|
+
reportInactiveNote: string;
|
|
62
|
+
reportNotAsker: string;
|
|
63
|
+
reportAsked: string;
|
|
64
|
+
offerAdded: (p: {
|
|
65
|
+
number: number;
|
|
66
|
+
}) => string;
|
|
67
|
+
offerDeclined: (p: {
|
|
68
|
+
number: number;
|
|
69
|
+
}) => string;
|
|
70
|
+
offerEmpty: (p: {
|
|
71
|
+
number: number;
|
|
72
|
+
}) => string;
|
|
73
|
+
offerInvalid: string;
|
|
74
|
+
offerRetry: string;
|
|
75
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** What a group chat is told. Most of it is English only, as in the Python worker. */
|
|
2
|
+
export declare const groupText: import("./catalog.js").Catalog<{
|
|
3
|
+
githubOneToOne: string;
|
|
4
|
+
oneToOneOnly: (p: {
|
|
5
|
+
word: string;
|
|
6
|
+
}) => string;
|
|
7
|
+
agentInGroup: string;
|
|
8
|
+
whoami: (p: {
|
|
9
|
+
name: string;
|
|
10
|
+
who: string;
|
|
11
|
+
}) => string;
|
|
12
|
+
whoamiUnknown: string;
|
|
13
|
+
targeted: (p: {
|
|
14
|
+
bot: string;
|
|
15
|
+
}) => string;
|
|
16
|
+
stopUnreachable: string;
|
|
17
|
+
stopNone: (p: {
|
|
18
|
+
number: number;
|
|
19
|
+
}) => string;
|
|
20
|
+
stopMany: (p: {
|
|
21
|
+
number: number;
|
|
22
|
+
}) => string;
|
|
23
|
+
}>;
|
|
24
|
+
/** Group onboarding of a member who has not connected (English only, as in the Python worker). */
|
|
25
|
+
export declare const onboardingText: {
|
|
26
|
+
readonly inactive: "This button is no longer active. Mention me again to get a new one.";
|
|
27
|
+
readonly notYours: (name: string) => string;
|
|
28
|
+
readonly connected: (pending: boolean) => string;
|
|
29
|
+
readonly stepsSent: (bot: string) => string;
|
|
30
|
+
readonly noDm: (page: string) => string;
|
|
31
|
+
readonly resuming: (name: string, bot: string) => string;
|
|
32
|
+
readonly notResumed: "I could not start your request in the group chat. Mention me there again to run it.";
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** What a person is told (the operation names are keyed by `SensitiveOperation`) when a per-person limit of an operation that acts with their authority refused it. */
|
|
2
|
+
export declare const guardrailsText: import("./catalog.js").Catalog<{
|
|
3
|
+
pr_review: string;
|
|
4
|
+
pr_merge: string;
|
|
5
|
+
approval: string;
|
|
6
|
+
remote_agent: string;
|
|
7
|
+
hours: (p: {
|
|
8
|
+
n: number;
|
|
9
|
+
}) => string;
|
|
10
|
+
minutes: (p: {
|
|
11
|
+
n: number;
|
|
12
|
+
}) => string;
|
|
13
|
+
seconds: (p: {
|
|
14
|
+
n: number;
|
|
15
|
+
}) => string;
|
|
16
|
+
refused: (p: {
|
|
17
|
+
count: number;
|
|
18
|
+
what: string;
|
|
19
|
+
window: string;
|
|
20
|
+
minutes: number;
|
|
21
|
+
}) => string;
|
|
22
|
+
}>;
|