typeclaw 0.49.0 → 0.51.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/types/agent/attention-escalation.d.ts +18 -0
- package/dist/types/agent/auth.d.ts +7 -0
- package/dist/types/agent/bash-sandbox-env.d.ts +15 -0
- package/dist/types/agent/bash-sandbox-proc.d.ts +8 -0
- package/dist/types/agent/bash-sandbox.d.ts +94 -0
- package/dist/types/agent/compaction.d.ts +8 -0
- package/dist/types/agent/git-nudge.d.ts +6 -0
- package/dist/types/agent/guard-types.d.ts +25 -0
- package/dist/types/agent/guards.d.ts +7 -0
- package/dist/types/agent/idle-compaction.d.ts +8 -0
- package/dist/types/agent/index.d.ts +151 -0
- package/dist/types/agent/live-subagents.d.ts +113 -0
- package/dist/types/agent/llm-replay-sanitizer.d.ts +11 -0
- package/dist/types/agent/loop-guard.d.ts +67 -0
- package/dist/types/agent/model-fallback.d.ts +29 -0
- package/dist/types/agent/model-overrides.d.ts +8 -0
- package/dist/types/agent/multimodal/index.d.ts +2 -0
- package/dist/types/agent/multimodal/look-at.d.ts +60 -0
- package/dist/types/agent/multimodal/looker.d.ts +61 -0
- package/dist/types/agent/multimodal/read-redirect.d.ts +6 -0
- package/dist/types/agent/network/response-body.d.ts +1 -0
- package/dist/types/agent/network/safe-http.d.ts +46 -0
- package/dist/types/agent/output-allowance.d.ts +4 -0
- package/dist/types/agent/plugin-tools.d.ts +58 -0
- package/dist/types/agent/proactive-next-step-nudge.d.ts +2 -0
- package/dist/types/agent/prompt-cache-key.d.ts +3 -0
- package/dist/types/agent/provider-error.d.ts +23 -0
- package/dist/types/agent/reload-tool.d.ts +10 -0
- package/dist/types/agent/restart/index.d.ts +31 -0
- package/dist/types/agent/restart-handoff/index.d.ts +32 -0
- package/dist/types/agent/restart-handoff/paths.d.ts +1 -0
- package/dist/types/agent/retry-same-ref.d.ts +41 -0
- package/dist/types/agent/reviewer-activity.d.ts +3 -0
- package/dist/types/agent/reviewer-bash-policy.d.ts +8 -0
- package/dist/types/agent/self.d.ts +1 -0
- package/dist/types/agent/session-meta.d.ts +28 -0
- package/dist/types/agent/session-origin.d.ts +65 -0
- package/dist/types/agent/subagent-cache-keepalive.d.ts +38 -0
- package/dist/types/agent/subagent-completion-reminder.d.ts +29 -0
- package/dist/types/agent/subagent-drain.d.ts +25 -0
- package/dist/types/agent/subagent-session.d.ts +3 -0
- package/dist/types/agent/subagents.d.ts +153 -0
- package/dist/types/agent/system-prompt-composition.d.ts +17 -0
- package/dist/types/agent/system-prompt.d.ts +7 -0
- package/dist/types/agent/throttle-circuit.d.ts +25 -0
- package/dist/types/agent/todo/continuation-policy.d.ts +54 -0
- package/dist/types/agent/todo/continuation-state.d.ts +11 -0
- package/dist/types/agent/todo/continuation-wiring.d.ts +32 -0
- package/dist/types/agent/todo/continuation.d.ts +21 -0
- package/dist/types/agent/todo/scope.d.ts +6 -0
- package/dist/types/agent/todo/store.d.ts +16 -0
- package/dist/types/agent/tool-error-remediation.d.ts +1 -0
- package/dist/types/agent/tool-file-safety.d.ts +78 -0
- package/dist/types/agent/tool-not-found-nudge.d.ts +9 -0
- package/dist/types/agent/tool-result-budget.d.ts +15 -0
- package/dist/types/agent/tools/channel-disengage.d.ts +18 -0
- package/dist/types/agent/tools/channel-edit.d.ts +19 -0
- package/dist/types/agent/tools/channel-fetch-attachment.d.ts +36 -0
- package/dist/types/agent/tools/channel-handoff.d.ts +13 -0
- package/dist/types/agent/tools/channel-history-render.d.ts +3 -0
- package/dist/types/agent/tools/channel-history.d.ts +25 -0
- package/dist/types/agent/tools/channel-log.d.ts +5 -0
- package/dist/types/agent/tools/channel-react.d.ts +23 -0
- package/dist/types/agent/tools/channel-read.d.ts +27 -0
- package/dist/types/agent/tools/channel-reply.d.ts +47 -0
- package/dist/types/agent/tools/channel-send.d.ts +42 -0
- package/dist/types/agent/tools/channel-session-search.d.ts +10 -0
- package/dist/types/agent/tools/curl-impersonate.d.ts +37 -0
- package/dist/types/agent/tools/ddg.d.ts +27 -0
- package/dist/types/agent/tools/grant-role.d.ts +25 -0
- package/dist/types/agent/tools/keyed-semaphore.d.ts +10 -0
- package/dist/types/agent/tools/post-github-review.d.ts +38 -0
- package/dist/types/agent/tools/restart.d.ts +25 -0
- package/dist/types/agent/tools/runtime-notice.d.ts +3 -0
- package/dist/types/agent/tools/search-retry.d.ts +16 -0
- package/dist/types/agent/tools/skip-response.d.ts +17 -0
- package/dist/types/agent/tools/spawn-subagent.d.ts +77 -0
- package/dist/types/agent/tools/stream-snapshot.d.ts +23 -0
- package/dist/types/agent/tools/subagent-access.d.ts +20 -0
- package/dist/types/agent/tools/subagent-cancel.d.ts +23 -0
- package/dist/types/agent/tools/subagent-output.d.ts +50 -0
- package/dist/types/agent/tools/todo/index.d.ts +14 -0
- package/dist/types/agent/tools/webfetch/adaptive-html.d.ts +29 -0
- package/dist/types/agent/tools/webfetch/fetch.d.ts +26 -0
- package/dist/types/agent/tools/webfetch/html-lexical.d.ts +27 -0
- package/dist/types/agent/tools/webfetch/index.d.ts +1 -0
- package/dist/types/agent/tools/webfetch/inline-style-visibility.d.ts +3 -0
- package/dist/types/agent/tools/webfetch/strategies/grep.d.ts +11 -0
- package/dist/types/agent/tools/webfetch/strategies/jq.d.ts +4 -0
- package/dist/types/agent/tools/webfetch/strategies/raw.d.ts +1 -0
- package/dist/types/agent/tools/webfetch/strategies/readability.d.ts +16 -0
- package/dist/types/agent/tools/webfetch/strategies/selector.d.ts +4 -0
- package/dist/types/agent/tools/webfetch/strategies/snapshot.d.ts +1 -0
- package/dist/types/agent/tools/webfetch/tool.d.ts +15 -0
- package/dist/types/agent/tools/webfetch/types.d.ts +32 -0
- package/dist/types/agent/tools/websearch.d.ts +17 -0
- package/dist/types/agent/tools/wikipedia.d.ts +7 -0
- package/dist/types/agent/tools-without-local-file-operands.d.ts +1 -0
- package/dist/types/agent/turn-runner.d.ts +36 -0
- package/dist/types/agent-messenger/config-dir.d.ts +19 -0
- package/dist/types/browser/dockerfile.d.ts +2 -0
- package/dist/types/browser/registry.d.ts +49 -0
- package/dist/types/bundled-plugins/bun-hygiene/policy.d.ts +18 -0
- package/dist/types/bundled-plugins/github-cli-auth/git-askpass.d.ts +5 -0
- package/dist/types/bundled-plugins/guard/keys.d.ts +6 -0
- package/dist/types/bundled-plugins/guard/policies/managed-config.d.ts +7 -0
- package/dist/types/bundled-plugins/guard/policies/memory-topics-delete.d.ts +11 -0
- package/dist/types/bundled-plugins/guard/policies/memory-topics-write.d.ts +7 -0
- package/dist/types/bundled-plugins/guard/policies/non-workspace-write.d.ts +9 -0
- package/dist/types/bundled-plugins/guard/policies/skill-authoring.d.ts +20 -0
- package/dist/types/bundled-plugins/guard/policies/uncommitted-changes.d.ts +12 -0
- package/dist/types/bundled-plugins/guard/policy.d.ts +11 -0
- package/dist/types/bundled-plugins/memory/secret-detector.d.ts +11 -0
- package/dist/types/bundled-plugins/memory/slug.d.ts +4 -0
- package/dist/types/bundled-plugins/security/permissions.d.ts +20 -0
- package/dist/types/bundled-plugins/security/policies/private-surface-read.d.ts +34 -0
- package/dist/types/bundled-plugins/security/policies/ssrf.d.ts +18 -0
- package/dist/types/bundled-plugins/security/policy.d.ts +4 -0
- package/dist/types/channels/adapter-namespace.d.ts +2 -0
- package/dist/types/channels/adapters/mention-hints.d.ts +12 -0
- package/dist/types/channels/adapters/webex-id-ref.d.ts +5 -0
- package/dist/types/channels/background-handoff.d.ts +56 -0
- package/dist/types/channels/background-obligations.d.ts +135 -0
- package/dist/types/channels/catch-up.d.ts +26 -0
- package/dist/types/channels/commands.d.ts +2 -0
- package/dist/types/channels/completion-claim.d.ts +20 -0
- package/dist/types/channels/continuation-willingness.d.ts +1 -0
- package/dist/types/channels/continuity-types.d.ts +75 -0
- package/dist/types/channels/describe-error.d.ts +1 -0
- package/dist/types/channels/engagement.d.ts +34 -0
- package/dist/types/channels/github-false-receipt.d.ts +20 -0
- package/dist/types/channels/github-repo.d.ts +2 -0
- package/dist/types/channels/github-rereview-guard.d.ts +24 -0
- package/dist/types/channels/github-review-check.d.ts +135 -0
- package/dist/types/channels/github-review-claim.d.ts +3 -0
- package/dist/types/channels/github-review-turn-ledger.d.ts +71 -0
- package/dist/types/channels/github-review-verdict-coordinator.d.ts +117 -0
- package/dist/types/channels/github-token-bridge.d.ts +20 -0
- package/dist/types/channels/github-verdict-activity.d.ts +12 -0
- package/dist/types/channels/inbound-journal.d.ts +272 -0
- package/dist/types/channels/last-alive.d.ts +3 -0
- package/dist/types/channels/membership-cache.d.ts +27 -0
- package/dist/types/channels/membership.d.ts +21 -0
- package/dist/types/channels/outbound-flood-filter.d.ts +7 -0
- package/dist/types/channels/participants.d.ts +4 -0
- package/dist/types/channels/persistence.d.ts +32 -0
- package/dist/types/channels/recovery-notice.d.ts +26 -0
- package/dist/types/channels/recovery-outbox.d.ts +58 -0
- package/dist/types/channels/router.d.ts +760 -0
- package/dist/types/channels/schema.d.ts +501 -0
- package/dist/types/channels/session-handoff.d.ts +58 -0
- package/dist/types/channels/session-search.d.ts +29 -0
- package/dist/types/channels/types.d.ts +414 -0
- package/dist/types/channels/waiting-reactions.d.ts +25 -0
- package/dist/types/cli/builtins.d.ts +2 -0
- package/dist/types/cli/command-meta.d.ts +9 -0
- package/dist/types/coding-agent/broker-body.d.ts +7 -0
- package/dist/types/coding-agent/broker.d.ts +22 -0
- package/dist/types/coding-agent/claude.d.ts +22 -0
- package/dist/types/coding-agent/codex.d.ts +19 -0
- package/dist/types/coding-agent/index.d.ts +71 -0
- package/dist/types/coding-agent/omo-state.d.ts +2 -0
- package/dist/types/coding-agent/omo-stream.d.ts +22 -0
- package/dist/types/coding-agent/omo.d.ts +133 -0
- package/dist/types/coding-agent/runner.d.ts +35 -0
- package/dist/types/coding-agent/tool.d.ts +27 -0
- package/dist/types/coding-agent/worktree.d.ts +22 -0
- package/dist/types/commands/index.d.ts +45 -0
- package/dist/types/config/config.d.ts +827 -0
- package/dist/types/config/index.d.ts +3 -0
- package/dist/types/config/model-overrides.d.ts +3 -0
- package/dist/types/config/providers.d.ts +1458 -0
- package/dist/types/config/reloadable.d.ts +9 -0
- package/dist/types/container/agent-operation-lock.d.ts +31 -0
- package/dist/types/container/build-cache.d.ts +39 -0
- package/dist/types/container/compose-project.d.ts +1 -0
- package/dist/types/container/controller.d.ts +25 -0
- package/dist/types/container/docker-app.d.ts +23 -0
- package/dist/types/container/exit-reason.d.ts +10 -0
- package/dist/types/container/index.d.ts +14 -0
- package/dist/types/container/log-archive.d.ts +68 -0
- package/dist/types/container/log-colors.d.ts +3 -0
- package/dist/types/container/log-timestamps.d.ts +9 -0
- package/dist/types/container/logs.d.ts +37 -0
- package/dist/types/container/memory-limit.d.ts +13 -0
- package/dist/types/container/memory-oversubscription.d.ts +20 -0
- package/dist/types/container/oom-events.d.ts +18 -0
- package/dist/types/container/port.d.ts +18 -0
- package/dist/types/container/require-running.d.ts +16 -0
- package/dist/types/container/restart.d.ts +32 -0
- package/dist/types/container/shared.d.ts +93 -0
- package/dist/types/container/shell.d.ts +35 -0
- package/dist/types/container/start.d.ts +145 -0
- package/dist/types/container/stats.d.ts +31 -0
- package/dist/types/container/status.d.ts +25 -0
- package/dist/types/container/stop.d.ts +24 -0
- package/dist/types/container/tool-oom-priority.d.ts +4 -0
- package/dist/types/container/verify-running.d.ts +49 -0
- package/dist/types/cron/consumer.d.ts +42 -0
- package/dist/types/cron/count-state.d.ts +24 -0
- package/dist/types/cron/index.d.ts +21 -0
- package/dist/types/cron/list.d.ts +33 -0
- package/dist/types/cron/reloadable.d.ts +11 -0
- package/dist/types/cron/scheduler.d.ts +51 -0
- package/dist/types/cron/schema.d.ts +108 -0
- package/dist/types/dependencies/bin-resolver.d.ts +28 -0
- package/dist/types/dependencies/bins.d.ts +22 -0
- package/dist/types/dependencies/index.d.ts +2 -0
- package/dist/types/eval/cell.d.ts +26 -0
- package/dist/types/eval/config.d.ts +19 -0
- package/dist/types/eval/dispatch.d.ts +7 -0
- package/dist/types/eval/kernel.d.ts +28 -0
- package/dist/types/eval/process.d.ts +23 -0
- package/dist/types/eval/protocol.d.ts +34 -0
- package/dist/types/eval/sandbox.d.ts +10 -0
- package/dist/types/eval/tool.d.ts +17 -0
- package/dist/types/eval/wire.d.ts +33 -0
- package/dist/types/git/bound-gc-config.d.ts +4 -0
- package/dist/types/git/hookless.d.ts +1 -0
- package/dist/types/git/reconcile-ignored.d.ts +13 -0
- package/dist/types/git/resolve-agent-git.d.ts +8 -0
- package/dist/types/git/resolve-identity.d.ts +10 -0
- package/dist/types/git/run.d.ts +24 -0
- package/dist/types/git/system-commit.d.ts +2 -0
- package/dist/types/hostd/client.d.ts +13 -0
- package/dist/types/hostd/models.d.ts +1 -0
- package/dist/types/hostd/paths.d.ts +17 -0
- package/dist/types/hostd/protocol.d.ts +93 -0
- package/dist/types/hostd/spawn.d.ts +17 -0
- package/dist/types/hostd/version.d.ts +18 -0
- package/dist/types/init/auto-upgrade.d.ts +41 -0
- package/dist/types/init/cli-version.d.ts +7 -0
- package/dist/types/init/dockerfile.d.ts +34 -0
- package/dist/types/init/ensure-deps.d.ts +17 -0
- package/dist/types/init/env-file.d.ts +3 -0
- package/dist/types/init/gitignore.d.ts +5 -0
- package/dist/types/init/local-source-stamp.d.ts +3 -0
- package/dist/types/init/packagejson.d.ts +7 -0
- package/dist/types/init/paths.d.ts +3 -0
- package/dist/types/init/reconcile-plugin-deps.d.ts +13 -0
- package/dist/types/init/run-bun-install.d.ts +16 -0
- package/dist/types/init/windows-dev-link.d.ts +8 -0
- package/dist/types/mcp/catalog.d.ts +7 -0
- package/dist/types/mcp/client.d.ts +58 -0
- package/dist/types/mcp/manager.d.ts +56 -0
- package/dist/types/mcp/tools.d.ts +23 -0
- package/dist/types/models/embedding-model.d.ts +20 -0
- package/dist/types/models/transformers-version.d.ts +1 -0
- package/dist/types/network/internal-destinations.d.ts +29 -0
- package/dist/types/operations/classify-tool-outcome.d.ts +35 -0
- package/dist/types/operations/incidents.d.ts +47 -0
- package/dist/types/operations/index.d.ts +3 -0
- package/dist/types/operations/remediations.d.ts +25 -0
- package/dist/types/path-safety/real-intended-path.d.ts +9 -0
- package/dist/types/permissions/builtins.d.ts +25 -0
- package/dist/types/permissions/grant.d.ts +19 -0
- package/dist/types/permissions/index.d.ts +6 -0
- package/dist/types/permissions/match-rule.d.ts +28 -0
- package/dist/types/permissions/permissions.d.ts +42 -0
- package/dist/types/permissions/resolve.d.ts +25 -0
- package/dist/types/permissions/schema.d.ts +14 -0
- package/dist/types/plugin/context.d.ts +20 -0
- package/dist/types/plugin/core-tool-names.d.ts +4 -0
- package/dist/types/plugin/define.d.ts +46 -0
- package/dist/types/plugin/hooks.d.ts +52 -0
- package/dist/types/plugin/index.d.ts +11 -0
- package/dist/types/plugin/load-skill.d.ts +14 -0
- package/dist/types/plugin/loader.d.ts +25 -0
- package/dist/types/plugin/manager.d.ts +42 -0
- package/dist/types/plugin/registry.d.ts +73 -0
- package/dist/types/plugin/skills.d.ts +11 -0
- package/dist/types/plugin/types.d.ts +336 -0
- package/dist/types/plugin/zod-introspect.d.ts +11 -0
- package/dist/types/reload/client.d.ts +11 -0
- package/dist/types/reload/docker-exec-client.d.ts +11 -0
- package/dist/types/reload/format.d.ts +2 -0
- package/dist/types/reload/index.d.ts +6 -0
- package/dist/types/reload/recover.d.ts +22 -0
- package/dist/types/reload/registry.d.ts +10 -0
- package/dist/types/reload/types.d.ts +25 -0
- package/dist/types/role-claim/client.d.ts +20 -0
- package/dist/types/role-claim/code.d.ts +4 -0
- package/dist/types/role-claim/controller.d.ts +59 -0
- package/dist/types/role-claim/index.d.ts +6 -0
- package/dist/types/role-claim/match-rule.d.ts +9 -0
- package/dist/types/role-claim/pending.d.ts +35 -0
- package/dist/types/role-claim/reload-after-claim.d.ts +16 -0
- package/dist/types/run/llm-fetch-observer.d.ts +50 -0
- package/dist/types/sandbox/availability.d.ts +21 -0
- package/dist/types/sandbox/build.d.ts +7 -0
- package/dist/types/sandbox/canonical-secrets.d.ts +8 -0
- package/dist/types/sandbox/coding-agent.d.ts +20 -0
- package/dist/types/sandbox/dependency-bins.d.ts +19 -0
- package/dist/types/sandbox/dev-source.d.ts +4 -0
- package/dist/types/sandbox/env-exposure.d.ts +3 -0
- package/dist/types/sandbox/errors.d.ts +20 -0
- package/dist/types/sandbox/hidden-paths.d.ts +11 -0
- package/dist/types/sandbox/index.d.ts +14 -0
- package/dist/types/sandbox/package-install.d.ts +1 -0
- package/dist/types/sandbox/policy.d.ts +71 -0
- package/dist/types/sandbox/privileged-runtime.d.ts +13 -0
- package/dist/types/sandbox/quote.d.ts +2 -0
- package/dist/types/sandbox/runtime-private.d.ts +1 -0
- package/dist/types/sandbox/session-tmp.d.ts +6 -0
- package/dist/types/sandbox/symlinks.d.ts +6 -0
- package/dist/types/sandbox/writable-zones.d.ts +15 -0
- package/dist/types/secrets/coding-agent-auth.d.ts +25 -0
- package/dist/types/secrets/defaults.d.ts +21 -0
- package/dist/types/secrets/export-github-cli-store.d.ts +22 -0
- package/dist/types/secrets/hydrate.d.ts +7 -0
- package/dist/types/secrets/index.d.ts +7 -0
- package/dist/types/secrets/provision-github-cli-store.d.ts +45 -0
- package/dist/types/secrets/refresh-provider-oauth.d.ts +22 -0
- package/dist/types/secrets/resolve.d.ts +14 -0
- package/dist/types/secrets/schema.d.ts +840 -0
- package/dist/types/secrets/storage.d.ts +56 -0
- package/dist/types/shared/host-locale.d.ts +1 -0
- package/dist/types/shared/index.d.ts +5 -0
- package/dist/types/shared/local-time.d.ts +4 -0
- package/dist/types/shared/platform.d.ts +2 -0
- package/dist/types/shared/protocol.d.ts +424 -0
- package/dist/types/shared/style-text.d.ts +3 -0
- package/dist/types/shared/wsl.d.ts +17 -0
- package/dist/types/stream/broker.d.ts +2 -0
- package/dist/types/stream/index.d.ts +2 -0
- package/dist/types/stream/types.d.ts +71 -0
- package/package.json +13 -6
- package/scripts/build-plugin-types.ts +105 -0
- package/scripts/check-plugin-sdk.ts +111 -0
- package/scripts/require-parallel.ts +5 -32
- package/src/agent/bash-sandbox-env.ts +104 -0
- package/src/agent/bash-sandbox-proc.ts +70 -0
- package/src/agent/bash-sandbox.ts +225 -0
- package/src/agent/compaction.ts +22 -10
- package/src/agent/guard-types.ts +3 -0
- package/src/agent/guards.ts +4 -0
- package/src/agent/idle-compaction.ts +178 -0
- package/src/agent/index.ts +139 -172
- package/src/agent/live-subagents.ts +19 -0
- package/src/agent/multimodal/look-at.ts +22 -9
- package/src/agent/output-allowance.ts +7 -0
- package/src/agent/plugin-tools.ts +39 -377
- package/src/agent/reviewer-bash-policy.ts +41 -1
- package/src/agent/session-origin.ts +28 -11
- package/src/agent/subagent-cache-keepalive.ts +198 -0
- package/src/agent/subagent-completion-reminder.ts +2 -2
- package/src/agent/subagent-session.ts +6 -0
- package/src/agent/subagents.ts +46 -8
- package/src/agent/system-prompt-composition.ts +141 -0
- package/src/agent/system-prompt.ts +5 -5
- package/src/agent/todo/scope.ts +1 -1
- package/src/agent/tool-file-safety.ts +6 -1
- package/src/agent/tools/channel-edit.ts +20 -10
- package/src/agent/tools/channel-fetch-attachment.ts +12 -5
- package/src/agent/tools/channel-handoff.ts +72 -0
- package/src/agent/tools/channel-read.ts +57 -10
- package/src/agent/tools/channel-reply.ts +33 -26
- package/src/agent/tools/channel-send.ts +21 -13
- package/src/agent/tools/channel-session-search.ts +35 -0
- package/src/agent/tools/curl-impersonate.ts +11 -4
- package/src/agent/tools/ddg.ts +84 -16
- package/src/agent/tools/spawn-subagent.ts +27 -11
- package/src/agent/tools/stream-snapshot.ts +15 -2
- package/src/agent/tools/subagent-access.ts +11 -4
- package/src/agent/tools-without-local-file-operands.ts +4 -0
- package/src/browser/bsk-shim.mjs +74 -0
- package/src/browser/dockerfile.ts +84 -0
- package/src/browser/egress.ts +104 -0
- package/src/browser/fill-secret.ts +307 -0
- package/src/browser/managed-browser.ts +205 -0
- package/src/browser/registry.ts +110 -0
- package/src/browser/relay.ts +231 -0
- package/src/browser/sandbox-entry.ts +167 -0
- package/src/bundled-plugins/agent-browser/index.ts +2 -0
- package/src/bundled-plugins/browser-agent/browser-agent.ts +89 -0
- package/src/bundled-plugins/browser-agent/index.ts +12 -0
- package/src/bundled-plugins/doc-render/index.ts +0 -10
- package/src/bundled-plugins/doc-render/render.ts +83 -111
- package/src/bundled-plugins/doc-render/skills/typeclaw-render-pdf/SKILL.md +152 -257
- package/src/bundled-plugins/explorer/explorer.ts +1 -1
- package/src/bundled-plugins/github-cli-auth/gh-command.ts +4 -0
- package/src/bundled-plugins/github-cli-auth/gh-review-detect.ts +40 -16
- package/src/bundled-plugins/github-cli-auth/git-auth-diagnostic.ts +95 -0
- package/src/bundled-plugins/github-cli-auth/graphql-auth-nudge.ts +12 -7
- package/src/bundled-plugins/github-cli-auth/index.ts +85 -60
- package/src/bundled-plugins/managed-browser/index.ts +179 -0
- package/src/bundled-plugins/managed-browser/skills/browser-use/browser-use/SKILL.md +27 -0
- package/src/bundled-plugins/managed-browser/skills/browserskill/browserskill/SKILL.md +28 -0
- package/src/bundled-plugins/managed-browser/skills/omowright/omowright/SKILL.md +40 -0
- package/src/bundled-plugins/memory/dreaming.ts +4 -1
- package/src/bundled-plugins/memory/load-memory.ts +2 -4
- package/src/bundled-plugins/memory/memory-logger.ts +74 -2
- package/src/bundled-plugins/memory/transcript-preload.ts +103 -0
- package/src/bundled-plugins/memory/vector/hybrid.ts +25 -14
- package/src/bundled-plugins/operator/operator.ts +1 -1
- package/src/bundled-plugins/qa/index.ts +11 -0
- package/src/bundled-plugins/qa/qa.ts +160 -0
- package/src/bundled-plugins/qa/skills/qa-cli.ts +50 -0
- package/src/bundled-plugins/qa/skills/qa-general.ts +30 -0
- package/src/bundled-plugins/qa/skills/qa-http.ts +39 -0
- package/src/bundled-plugins/qa/skills/qa-pr.ts +51 -0
- package/src/bundled-plugins/qa/skills/qa-web.ts +49 -0
- package/src/bundled-plugins/security/index.ts +53 -34
- package/src/bundled-plugins/security/policies/outbound-secret-scan.ts +1 -0
- package/src/bundled-plugins/security/policies/private-surface-read.ts +166 -201
- package/src/channels/adapter-namespace.ts +13 -0
- package/src/channels/adapters/discord-bot-reference.ts +5 -4
- package/src/channels/adapters/discord-bot.ts +98 -5
- package/src/channels/adapters/discord-classify.ts +8 -3
- package/src/channels/adapters/discord.ts +29 -0
- package/src/channels/adapters/github/index.ts +16 -0
- package/src/channels/adapters/github/last-alive.ts +4 -16
- package/src/channels/adapters/slack-attachment-download.ts +14 -3
- package/src/channels/adapters/slack-bot-author-resolver.ts +4 -3
- package/src/channels/adapters/slack-bot-channel-resolver.ts +9 -6
- package/src/channels/adapters/slack-bot-classify.ts +1 -0
- package/src/channels/adapters/slack-bot-slash-commands.ts +3 -1
- package/src/channels/adapters/slack-bot.ts +299 -67
- package/src/channels/adapters/slack-classify.ts +1 -0
- package/src/channels/catch-up.ts +137 -0
- package/src/channels/continuation-willingness.ts +2 -2
- package/src/channels/continuity-types.ts +1 -0
- package/src/channels/engagement.ts +17 -1
- package/src/channels/github-false-receipt.ts +3 -3
- package/src/channels/github-rereview-guard.ts +9 -5
- package/src/channels/github-review-check.ts +5 -1
- package/src/channels/github-review-verdict-coordinator.ts +68 -2
- package/src/channels/github-token-bridge.ts +24 -0
- package/src/channels/last-alive.ts +34 -0
- package/src/channels/manager.ts +8 -1
- package/src/channels/router.ts +515 -243
- package/src/channels/session-handoff.fixture.ts +144 -0
- package/src/channels/session-handoff.ts +175 -0
- package/src/channels/session-search.ts +71 -0
- package/src/channels/subagent-completion-bridge.ts +3 -2
- package/src/channels/types.ts +12 -2
- package/src/cli/channel.ts +2 -3
- package/src/cli/hostd.ts +3 -0
- package/src/cli/init.ts +2 -3
- package/src/cli/model.ts +132 -3
- package/src/coding-agent/index.ts +7 -1
- package/src/coding-agent/omo-stream.ts +40 -0
- package/src/coding-agent/runner.ts +30 -8
- package/src/config/config.ts +126 -22
- package/src/config/model-overrides.ts +59 -0
- package/src/config/models-mutation.ts +185 -2
- package/src/config/providers-mutation.ts +12 -4
- package/src/config/providers.ts +69 -4
- package/src/container/start.ts +132 -5
- package/src/doctor/checks.ts +33 -22
- package/src/doctor/index.ts +48 -12
- package/src/doctor/operational-incidents.ts +16 -1
- package/src/doctor/plugin-bridge.ts +14 -1
- package/src/doctor/stage.ts +14 -0
- package/src/doctor/types.ts +6 -0
- package/src/eval/cell.ts +93 -0
- package/src/eval/config.ts +32 -0
- package/src/eval/dispatch.ts +67 -0
- package/src/eval/entry.ts +261 -0
- package/src/eval/kernel.ts +154 -0
- package/src/eval/process.ts +113 -0
- package/src/eval/protocol.ts +26 -0
- package/src/eval/redeclare.ts +174 -0
- package/src/eval/sandbox.ts +114 -0
- package/src/eval/tool.ts +98 -0
- package/src/eval/wire.ts +93 -0
- package/src/hostd/daemon.ts +13 -1
- package/src/init/auto-upgrade.ts +7 -1
- package/src/init/dockerfile.ts +57 -12
- package/src/init/index.ts +4 -3
- package/src/init/local-source-stamp.ts +68 -0
- package/src/init/models-dev.ts +4 -0
- package/src/init/validate-api-key.ts +3 -0
- package/src/operations/classify-tool-outcome.ts +1 -1
- package/src/permissions/builtins.ts +7 -0
- package/src/permissions/permissions.ts +18 -9
- package/src/permissions/resolve.ts +7 -1
- package/src/plugin/context.ts +2 -0
- package/src/plugin/core-tool-names.ts +6 -1
- package/src/plugin/hooks.ts +137 -0
- package/src/plugin/index.ts +6 -0
- package/src/plugin/manager.ts +4 -0
- package/src/plugin/types.ts +60 -0
- package/src/run/bundled-plugins.ts +6 -0
- package/src/run/index.ts +24 -14
- package/src/run/llm-fetch-observer.ts +12 -15
- package/src/sandbox/canonical-secrets.ts +4 -0
- package/src/sandbox/dev-source.ts +26 -0
- package/src/sandbox/env-exposure.ts +20 -0
- package/src/sandbox/hidden-paths.ts +16 -2
- package/src/secrets/storage.ts +13 -0
- package/src/server/index.ts +46 -11
- package/src/skills/typeclaw-channel-github/SKILL.md +8 -8
- package/src/skills/typeclaw-config/SKILL.md +57 -5
- package/src/skills/typeclaw-config/references/dockerfile.md +2 -2
- package/src/skills/typeclaw-github-contributing/SKILL.md +1 -1
- package/src/skills/typeclaw-monorepo/SKILL.md +1 -1
- package/src/skills/typeclaw-permissions/SKILL.md +7 -7
- package/src/skills/typeclaw-troubleshooting/SKILL.md +12 -1
- package/typeclaw.schema.json +488 -5
- package/src/bundled-plugins/doc-render/templates/lib.typ +0 -339
- package/src/bundled-plugins/github-cli-auth/gh-store.ts +0 -733
|
@@ -0,0 +1,840 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const providerCredentialSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"api_key">;
|
|
4
|
+
key: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5
|
+
value: z.ZodOptional<z.ZodString>;
|
|
6
|
+
env: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
8
|
+
value?: string | undefined;
|
|
9
|
+
env?: string | undefined;
|
|
10
|
+
}, string | {
|
|
11
|
+
value?: string | undefined;
|
|
12
|
+
env?: string | undefined;
|
|
13
|
+
}>>;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
type: z.ZodLiteral<"oauth">;
|
|
16
|
+
}, z.core.$catchall<z.ZodUnknown>>], "type">;
|
|
17
|
+
export declare const providersSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"api_key">;
|
|
19
|
+
key: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
20
|
+
value: z.ZodOptional<z.ZodString>;
|
|
21
|
+
env: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
23
|
+
value?: string | undefined;
|
|
24
|
+
env?: string | undefined;
|
|
25
|
+
}, string | {
|
|
26
|
+
value?: string | undefined;
|
|
27
|
+
env?: string | undefined;
|
|
28
|
+
}>>;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
type: z.ZodLiteral<"oauth">;
|
|
31
|
+
}, z.core.$catchall<z.ZodUnknown>>], "type">>;
|
|
32
|
+
export declare const mcpCredentialSchema: z.ZodObject<{
|
|
33
|
+
client: z.ZodOptional<z.ZodUnknown>;
|
|
34
|
+
tokens: z.ZodOptional<z.ZodUnknown>;
|
|
35
|
+
discovery: z.ZodOptional<z.ZodUnknown>;
|
|
36
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
37
|
+
export declare const mcpSliceSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
38
|
+
client: z.ZodOptional<z.ZodUnknown>;
|
|
39
|
+
tokens: z.ZodOptional<z.ZodUnknown>;
|
|
40
|
+
discovery: z.ZodOptional<z.ZodUnknown>;
|
|
41
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
42
|
+
export declare const githubCliSecretsSchema: z.ZodObject<{
|
|
43
|
+
hosts: z.ZodString;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
export declare const discordAccountRecordSchema: z.ZodObject<{
|
|
46
|
+
account_id: z.ZodString;
|
|
47
|
+
token: z.ZodString;
|
|
48
|
+
username: z.ZodOptional<z.ZodString>;
|
|
49
|
+
created_at: z.ZodString;
|
|
50
|
+
updated_at: z.ZodString;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
export declare const discordChannelBlockSchema: z.ZodObject<{
|
|
53
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
54
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
55
|
+
account_id: z.ZodString;
|
|
56
|
+
token: z.ZodString;
|
|
57
|
+
username: z.ZodOptional<z.ZodString>;
|
|
58
|
+
created_at: z.ZodString;
|
|
59
|
+
updated_at: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
declare const githubPatAuthSchema: z.ZodObject<{
|
|
63
|
+
type: z.ZodLiteral<"pat">;
|
|
64
|
+
token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
65
|
+
value: z.ZodOptional<z.ZodString>;
|
|
66
|
+
env: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
68
|
+
value?: string | undefined;
|
|
69
|
+
env?: string | undefined;
|
|
70
|
+
}, string | {
|
|
71
|
+
value?: string | undefined;
|
|
72
|
+
env?: string | undefined;
|
|
73
|
+
}>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
declare const githubAppAuthSchema: z.ZodObject<{
|
|
76
|
+
type: z.ZodLiteral<"app">;
|
|
77
|
+
appId: z.ZodNumber;
|
|
78
|
+
privateKey: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
79
|
+
value: z.ZodOptional<z.ZodString>;
|
|
80
|
+
env: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
82
|
+
value?: string | undefined;
|
|
83
|
+
env?: string | undefined;
|
|
84
|
+
}, string | {
|
|
85
|
+
value?: string | undefined;
|
|
86
|
+
env?: string | undefined;
|
|
87
|
+
}>>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
declare const githubChannelSchema: z.ZodObject<{
|
|
90
|
+
auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"pat">;
|
|
92
|
+
token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
93
|
+
value: z.ZodOptional<z.ZodString>;
|
|
94
|
+
env: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
96
|
+
value?: string | undefined;
|
|
97
|
+
env?: string | undefined;
|
|
98
|
+
}, string | {
|
|
99
|
+
value?: string | undefined;
|
|
100
|
+
env?: string | undefined;
|
|
101
|
+
}>>;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
+
type: z.ZodLiteral<"app">;
|
|
104
|
+
appId: z.ZodNumber;
|
|
105
|
+
privateKey: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
106
|
+
value: z.ZodOptional<z.ZodString>;
|
|
107
|
+
env: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
109
|
+
value?: string | undefined;
|
|
110
|
+
env?: string | undefined;
|
|
111
|
+
}, string | {
|
|
112
|
+
value?: string | undefined;
|
|
113
|
+
env?: string | undefined;
|
|
114
|
+
}>>;
|
|
115
|
+
}, z.core.$strip>], "type">;
|
|
116
|
+
webhookSecret: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
117
|
+
value: z.ZodOptional<z.ZodString>;
|
|
118
|
+
env: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
120
|
+
value?: string | undefined;
|
|
121
|
+
env?: string | undefined;
|
|
122
|
+
}, string | {
|
|
123
|
+
value?: string | undefined;
|
|
124
|
+
env?: string | undefined;
|
|
125
|
+
}>>;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
export declare const lineAccountRecordSchema: z.ZodObject<{
|
|
128
|
+
account_id: z.ZodString;
|
|
129
|
+
auth_token: z.ZodString;
|
|
130
|
+
certificate: z.ZodOptional<z.ZodString>;
|
|
131
|
+
device: z.ZodEnum<{
|
|
132
|
+
DESKTOPWIN: "DESKTOPWIN";
|
|
133
|
+
DESKTOPMAC: "DESKTOPMAC";
|
|
134
|
+
ANDROID: "ANDROID";
|
|
135
|
+
ANDROIDSECONDARY: "ANDROIDSECONDARY";
|
|
136
|
+
IOS: "IOS";
|
|
137
|
+
IOSIPAD: "IOSIPAD";
|
|
138
|
+
}>;
|
|
139
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
140
|
+
created_at: z.ZodString;
|
|
141
|
+
updated_at: z.ZodString;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
export declare const lineChannelBlockSchema: z.ZodObject<{
|
|
144
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
145
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
146
|
+
account_id: z.ZodString;
|
|
147
|
+
auth_token: z.ZodString;
|
|
148
|
+
certificate: z.ZodOptional<z.ZodString>;
|
|
149
|
+
device: z.ZodEnum<{
|
|
150
|
+
DESKTOPWIN: "DESKTOPWIN";
|
|
151
|
+
DESKTOPMAC: "DESKTOPMAC";
|
|
152
|
+
ANDROID: "ANDROID";
|
|
153
|
+
ANDROIDSECONDARY: "ANDROIDSECONDARY";
|
|
154
|
+
IOS: "IOS";
|
|
155
|
+
IOSIPAD: "IOSIPAD";
|
|
156
|
+
}>;
|
|
157
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
158
|
+
created_at: z.ZodString;
|
|
159
|
+
updated_at: z.ZodString;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
export declare const instagramAccountRecordSchema: z.ZodObject<{
|
|
163
|
+
account_id: z.ZodString;
|
|
164
|
+
username: z.ZodString;
|
|
165
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
166
|
+
profile_pic_url: z.ZodOptional<z.ZodString>;
|
|
167
|
+
pk: z.ZodOptional<z.ZodString>;
|
|
168
|
+
created_at: z.ZodString;
|
|
169
|
+
updated_at: z.ZodString;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
export declare const instagramChannelBlockSchema: z.ZodObject<{
|
|
172
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
173
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
174
|
+
account_id: z.ZodString;
|
|
175
|
+
username: z.ZodString;
|
|
176
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
177
|
+
profile_pic_url: z.ZodOptional<z.ZodString>;
|
|
178
|
+
pk: z.ZodOptional<z.ZodString>;
|
|
179
|
+
created_at: z.ZodString;
|
|
180
|
+
updated_at: z.ZodString;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
declare const kakaoEncryptedPasswordSchema: z.ZodObject<{
|
|
184
|
+
v: z.ZodLiteral<1>;
|
|
185
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
186
|
+
kid: z.ZodString;
|
|
187
|
+
iv: z.ZodString;
|
|
188
|
+
ciphertext: z.ZodString;
|
|
189
|
+
authTag: z.ZodString;
|
|
190
|
+
createdAt: z.ZodString;
|
|
191
|
+
}, z.core.$strict>;
|
|
192
|
+
export declare const webexEncryptedPasswordSchema: z.ZodObject<{
|
|
193
|
+
v: z.ZodLiteral<1>;
|
|
194
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
195
|
+
kid: z.ZodString;
|
|
196
|
+
iv: z.ZodString;
|
|
197
|
+
ciphertext: z.ZodString;
|
|
198
|
+
authTag: z.ZodString;
|
|
199
|
+
createdAt: z.ZodString;
|
|
200
|
+
}, z.core.$strict>;
|
|
201
|
+
export declare const kakaoAccountRecordSchema: z.ZodObject<{
|
|
202
|
+
account_id: z.ZodString;
|
|
203
|
+
oauth_token: z.ZodString;
|
|
204
|
+
user_id: z.ZodString;
|
|
205
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
206
|
+
device_uuid: z.ZodString;
|
|
207
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
208
|
+
auth_method: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"login">, z.ZodLiteral<"extract">]>>;
|
|
209
|
+
created_at: z.ZodString;
|
|
210
|
+
updated_at: z.ZodString;
|
|
211
|
+
email: z.ZodOptional<z.ZodString>;
|
|
212
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
v: z.ZodLiteral<1>;
|
|
214
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
215
|
+
kid: z.ZodString;
|
|
216
|
+
iv: z.ZodString;
|
|
217
|
+
ciphertext: z.ZodString;
|
|
218
|
+
authTag: z.ZodString;
|
|
219
|
+
createdAt: z.ZodString;
|
|
220
|
+
}, z.core.$strict>>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
export type KakaoEncryptedPassword = z.infer<typeof kakaoEncryptedPasswordSchema>;
|
|
223
|
+
export declare const webexAccountRecordSchema: z.ZodObject<{
|
|
224
|
+
account_id: z.ZodString;
|
|
225
|
+
access_token: z.ZodString;
|
|
226
|
+
refresh_token: z.ZodString;
|
|
227
|
+
expires_at: z.ZodNumber;
|
|
228
|
+
device_url: z.ZodOptional<z.ZodString>;
|
|
229
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
230
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
231
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
232
|
+
created_at: z.ZodString;
|
|
233
|
+
updated_at: z.ZodString;
|
|
234
|
+
email: z.ZodOptional<z.ZodString>;
|
|
235
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
236
|
+
v: z.ZodLiteral<1>;
|
|
237
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
238
|
+
kid: z.ZodString;
|
|
239
|
+
iv: z.ZodString;
|
|
240
|
+
ciphertext: z.ZodString;
|
|
241
|
+
authTag: z.ZodString;
|
|
242
|
+
createdAt: z.ZodString;
|
|
243
|
+
}, z.core.$strict>>;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
export declare const webexChannelBlockSchema: z.ZodObject<{
|
|
246
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
247
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
248
|
+
account_id: z.ZodString;
|
|
249
|
+
access_token: z.ZodString;
|
|
250
|
+
refresh_token: z.ZodString;
|
|
251
|
+
expires_at: z.ZodNumber;
|
|
252
|
+
device_url: z.ZodOptional<z.ZodString>;
|
|
253
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
254
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
255
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
256
|
+
created_at: z.ZodString;
|
|
257
|
+
updated_at: z.ZodString;
|
|
258
|
+
email: z.ZodOptional<z.ZodString>;
|
|
259
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
260
|
+
v: z.ZodLiteral<1>;
|
|
261
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
262
|
+
kid: z.ZodString;
|
|
263
|
+
iv: z.ZodString;
|
|
264
|
+
ciphertext: z.ZodString;
|
|
265
|
+
authTag: z.ZodString;
|
|
266
|
+
createdAt: z.ZodString;
|
|
267
|
+
}, z.core.$strict>>;
|
|
268
|
+
}, z.core.$strip>>;
|
|
269
|
+
}, z.core.$strip>;
|
|
270
|
+
declare const teamsAccountTypeSchema: z.ZodUnion<readonly [z.ZodLiteral<"work">, z.ZodLiteral<"personal">]>;
|
|
271
|
+
export type TeamsAccountType = z.infer<typeof teamsAccountTypeSchema>;
|
|
272
|
+
export declare const teamsAccountRecordSchema: z.ZodObject<{
|
|
273
|
+
account_id: z.ZodString;
|
|
274
|
+
access_token: z.ZodString;
|
|
275
|
+
token_expires_at: z.ZodOptional<z.ZodString>;
|
|
276
|
+
account_type: z.ZodUnion<readonly [z.ZodLiteral<"work">, z.ZodLiteral<"personal">]>;
|
|
277
|
+
region: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"amer">, z.ZodLiteral<"emea">, z.ZodLiteral<"apac">]>>;
|
|
278
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
279
|
+
aad_refresh_token: z.ZodOptional<z.ZodString>;
|
|
280
|
+
aad_client_id: z.ZodOptional<z.ZodString>;
|
|
281
|
+
aad_tenant_id: z.ZodOptional<z.ZodString>;
|
|
282
|
+
created_at: z.ZodString;
|
|
283
|
+
updated_at: z.ZodString;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
export declare const teamsChannelBlockSchema: z.ZodObject<{
|
|
286
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
287
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
288
|
+
account_id: z.ZodString;
|
|
289
|
+
access_token: z.ZodString;
|
|
290
|
+
token_expires_at: z.ZodOptional<z.ZodString>;
|
|
291
|
+
account_type: z.ZodUnion<readonly [z.ZodLiteral<"work">, z.ZodLiteral<"personal">]>;
|
|
292
|
+
region: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"amer">, z.ZodLiteral<"emea">, z.ZodLiteral<"apac">]>>;
|
|
293
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
294
|
+
aad_refresh_token: z.ZodOptional<z.ZodString>;
|
|
295
|
+
aad_client_id: z.ZodOptional<z.ZodString>;
|
|
296
|
+
aad_tenant_id: z.ZodOptional<z.ZodString>;
|
|
297
|
+
created_at: z.ZodString;
|
|
298
|
+
updated_at: z.ZodString;
|
|
299
|
+
}, z.core.$strip>>;
|
|
300
|
+
}, z.core.$strip>;
|
|
301
|
+
export declare const slackAccountRecordSchema: z.ZodObject<{
|
|
302
|
+
account_id: z.ZodString;
|
|
303
|
+
token: z.ZodString;
|
|
304
|
+
cookie: z.ZodString;
|
|
305
|
+
workspace_id: z.ZodString;
|
|
306
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
307
|
+
created_at: z.ZodString;
|
|
308
|
+
updated_at: z.ZodString;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
export declare const slackChannelBlockSchema: z.ZodObject<{
|
|
311
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
312
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
313
|
+
account_id: z.ZodString;
|
|
314
|
+
token: z.ZodString;
|
|
315
|
+
cookie: z.ZodString;
|
|
316
|
+
workspace_id: z.ZodString;
|
|
317
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
318
|
+
created_at: z.ZodString;
|
|
319
|
+
updated_at: z.ZodString;
|
|
320
|
+
}, z.core.$strip>>;
|
|
321
|
+
}, z.core.$strip>;
|
|
322
|
+
export declare const kakaoPendingLoginRecordSchema: z.ZodObject<{
|
|
323
|
+
device_uuid: z.ZodString;
|
|
324
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
325
|
+
email: z.ZodString;
|
|
326
|
+
created_at: z.ZodString;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
export declare const kakaoChannelBlockSchema: z.ZodObject<{
|
|
329
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
330
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
331
|
+
account_id: z.ZodString;
|
|
332
|
+
oauth_token: z.ZodString;
|
|
333
|
+
user_id: z.ZodString;
|
|
334
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
335
|
+
device_uuid: z.ZodString;
|
|
336
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
337
|
+
auth_method: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"login">, z.ZodLiteral<"extract">]>>;
|
|
338
|
+
created_at: z.ZodString;
|
|
339
|
+
updated_at: z.ZodString;
|
|
340
|
+
email: z.ZodOptional<z.ZodString>;
|
|
341
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
342
|
+
v: z.ZodLiteral<1>;
|
|
343
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
344
|
+
kid: z.ZodString;
|
|
345
|
+
iv: z.ZodString;
|
|
346
|
+
ciphertext: z.ZodString;
|
|
347
|
+
authTag: z.ZodString;
|
|
348
|
+
createdAt: z.ZodString;
|
|
349
|
+
}, z.core.$strict>>;
|
|
350
|
+
}, z.core.$strip>>;
|
|
351
|
+
pendingLogin: z.ZodOptional<z.ZodObject<{
|
|
352
|
+
device_uuid: z.ZodString;
|
|
353
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
354
|
+
email: z.ZodString;
|
|
355
|
+
created_at: z.ZodString;
|
|
356
|
+
}, z.core.$strip>>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
export declare const channelsSchema: z.ZodObject<{
|
|
359
|
+
'slack-bot': z.ZodOptional<z.ZodObject<{
|
|
360
|
+
botToken: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
361
|
+
value: z.ZodOptional<z.ZodString>;
|
|
362
|
+
env: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
364
|
+
value?: string | undefined;
|
|
365
|
+
env?: string | undefined;
|
|
366
|
+
}, string | {
|
|
367
|
+
value?: string | undefined;
|
|
368
|
+
env?: string | undefined;
|
|
369
|
+
}>>>;
|
|
370
|
+
appToken: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
371
|
+
value: z.ZodOptional<z.ZodString>;
|
|
372
|
+
env: z.ZodOptional<z.ZodString>;
|
|
373
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
374
|
+
value?: string | undefined;
|
|
375
|
+
env?: string | undefined;
|
|
376
|
+
}, string | {
|
|
377
|
+
value?: string | undefined;
|
|
378
|
+
env?: string | undefined;
|
|
379
|
+
}>>>;
|
|
380
|
+
}, z.core.$strip>>;
|
|
381
|
+
discord: z.ZodOptional<z.ZodObject<{
|
|
382
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
383
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
384
|
+
account_id: z.ZodString;
|
|
385
|
+
token: z.ZodString;
|
|
386
|
+
username: z.ZodOptional<z.ZodString>;
|
|
387
|
+
created_at: z.ZodString;
|
|
388
|
+
updated_at: z.ZodString;
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
}, z.core.$strip>>;
|
|
391
|
+
'discord-bot': z.ZodOptional<z.ZodObject<{
|
|
392
|
+
token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
393
|
+
value: z.ZodOptional<z.ZodString>;
|
|
394
|
+
env: z.ZodOptional<z.ZodString>;
|
|
395
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
396
|
+
value?: string | undefined;
|
|
397
|
+
env?: string | undefined;
|
|
398
|
+
}, string | {
|
|
399
|
+
value?: string | undefined;
|
|
400
|
+
env?: string | undefined;
|
|
401
|
+
}>>>;
|
|
402
|
+
}, z.core.$strip>>;
|
|
403
|
+
github: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
405
|
+
type: z.ZodLiteral<"pat">;
|
|
406
|
+
token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
407
|
+
value: z.ZodOptional<z.ZodString>;
|
|
408
|
+
env: z.ZodOptional<z.ZodString>;
|
|
409
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
410
|
+
value?: string | undefined;
|
|
411
|
+
env?: string | undefined;
|
|
412
|
+
}, string | {
|
|
413
|
+
value?: string | undefined;
|
|
414
|
+
env?: string | undefined;
|
|
415
|
+
}>>;
|
|
416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
417
|
+
type: z.ZodLiteral<"app">;
|
|
418
|
+
appId: z.ZodNumber;
|
|
419
|
+
privateKey: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
420
|
+
value: z.ZodOptional<z.ZodString>;
|
|
421
|
+
env: z.ZodOptional<z.ZodString>;
|
|
422
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
423
|
+
value?: string | undefined;
|
|
424
|
+
env?: string | undefined;
|
|
425
|
+
}, string | {
|
|
426
|
+
value?: string | undefined;
|
|
427
|
+
env?: string | undefined;
|
|
428
|
+
}>>;
|
|
429
|
+
}, z.core.$strip>], "type">;
|
|
430
|
+
webhookSecret: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
431
|
+
value: z.ZodOptional<z.ZodString>;
|
|
432
|
+
env: z.ZodOptional<z.ZodString>;
|
|
433
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
434
|
+
value?: string | undefined;
|
|
435
|
+
env?: string | undefined;
|
|
436
|
+
}, string | {
|
|
437
|
+
value?: string | undefined;
|
|
438
|
+
env?: string | undefined;
|
|
439
|
+
}>>;
|
|
440
|
+
}, z.core.$strip>>;
|
|
441
|
+
'telegram-bot': z.ZodOptional<z.ZodObject<{
|
|
442
|
+
token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
443
|
+
value: z.ZodOptional<z.ZodString>;
|
|
444
|
+
env: z.ZodOptional<z.ZodString>;
|
|
445
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
446
|
+
value?: string | undefined;
|
|
447
|
+
env?: string | undefined;
|
|
448
|
+
}, string | {
|
|
449
|
+
value?: string | undefined;
|
|
450
|
+
env?: string | undefined;
|
|
451
|
+
}>>>;
|
|
452
|
+
}, z.core.$strip>>;
|
|
453
|
+
line: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
455
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
456
|
+
account_id: z.ZodString;
|
|
457
|
+
auth_token: z.ZodString;
|
|
458
|
+
certificate: z.ZodOptional<z.ZodString>;
|
|
459
|
+
device: z.ZodEnum<{
|
|
460
|
+
DESKTOPWIN: "DESKTOPWIN";
|
|
461
|
+
DESKTOPMAC: "DESKTOPMAC";
|
|
462
|
+
ANDROID: "ANDROID";
|
|
463
|
+
ANDROIDSECONDARY: "ANDROIDSECONDARY";
|
|
464
|
+
IOS: "IOS";
|
|
465
|
+
IOSIPAD: "IOSIPAD";
|
|
466
|
+
}>;
|
|
467
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
468
|
+
created_at: z.ZodString;
|
|
469
|
+
updated_at: z.ZodString;
|
|
470
|
+
}, z.core.$strip>>;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
instagram: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
474
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
475
|
+
account_id: z.ZodString;
|
|
476
|
+
username: z.ZodString;
|
|
477
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
478
|
+
profile_pic_url: z.ZodOptional<z.ZodString>;
|
|
479
|
+
pk: z.ZodOptional<z.ZodString>;
|
|
480
|
+
created_at: z.ZodString;
|
|
481
|
+
updated_at: z.ZodString;
|
|
482
|
+
}, z.core.$strip>>;
|
|
483
|
+
}, z.core.$strip>>;
|
|
484
|
+
kakaotalk: z.ZodOptional<z.ZodObject<{
|
|
485
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
486
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
487
|
+
account_id: z.ZodString;
|
|
488
|
+
oauth_token: z.ZodString;
|
|
489
|
+
user_id: z.ZodString;
|
|
490
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
491
|
+
device_uuid: z.ZodString;
|
|
492
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
493
|
+
auth_method: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"login">, z.ZodLiteral<"extract">]>>;
|
|
494
|
+
created_at: z.ZodString;
|
|
495
|
+
updated_at: z.ZodString;
|
|
496
|
+
email: z.ZodOptional<z.ZodString>;
|
|
497
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
498
|
+
v: z.ZodLiteral<1>;
|
|
499
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
500
|
+
kid: z.ZodString;
|
|
501
|
+
iv: z.ZodString;
|
|
502
|
+
ciphertext: z.ZodString;
|
|
503
|
+
authTag: z.ZodString;
|
|
504
|
+
createdAt: z.ZodString;
|
|
505
|
+
}, z.core.$strict>>;
|
|
506
|
+
}, z.core.$strip>>;
|
|
507
|
+
pendingLogin: z.ZodOptional<z.ZodObject<{
|
|
508
|
+
device_uuid: z.ZodString;
|
|
509
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
510
|
+
email: z.ZodString;
|
|
511
|
+
created_at: z.ZodString;
|
|
512
|
+
}, z.core.$strip>>;
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
webex: z.ZodOptional<z.ZodObject<{
|
|
515
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
516
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
517
|
+
account_id: z.ZodString;
|
|
518
|
+
access_token: z.ZodString;
|
|
519
|
+
refresh_token: z.ZodString;
|
|
520
|
+
expires_at: z.ZodNumber;
|
|
521
|
+
device_url: z.ZodOptional<z.ZodString>;
|
|
522
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
523
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
524
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
525
|
+
created_at: z.ZodString;
|
|
526
|
+
updated_at: z.ZodString;
|
|
527
|
+
email: z.ZodOptional<z.ZodString>;
|
|
528
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
529
|
+
v: z.ZodLiteral<1>;
|
|
530
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
531
|
+
kid: z.ZodString;
|
|
532
|
+
iv: z.ZodString;
|
|
533
|
+
ciphertext: z.ZodString;
|
|
534
|
+
authTag: z.ZodString;
|
|
535
|
+
createdAt: z.ZodString;
|
|
536
|
+
}, z.core.$strict>>;
|
|
537
|
+
}, z.core.$strip>>;
|
|
538
|
+
}, z.core.$strip>>;
|
|
539
|
+
teams: z.ZodOptional<z.ZodObject<{
|
|
540
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
541
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
542
|
+
account_id: z.ZodString;
|
|
543
|
+
access_token: z.ZodString;
|
|
544
|
+
token_expires_at: z.ZodOptional<z.ZodString>;
|
|
545
|
+
account_type: z.ZodUnion<readonly [z.ZodLiteral<"work">, z.ZodLiteral<"personal">]>;
|
|
546
|
+
region: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"amer">, z.ZodLiteral<"emea">, z.ZodLiteral<"apac">]>>;
|
|
547
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
548
|
+
aad_refresh_token: z.ZodOptional<z.ZodString>;
|
|
549
|
+
aad_client_id: z.ZodOptional<z.ZodString>;
|
|
550
|
+
aad_tenant_id: z.ZodOptional<z.ZodString>;
|
|
551
|
+
created_at: z.ZodString;
|
|
552
|
+
updated_at: z.ZodString;
|
|
553
|
+
}, z.core.$strip>>;
|
|
554
|
+
}, z.core.$strip>>;
|
|
555
|
+
slack: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
557
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
558
|
+
account_id: z.ZodString;
|
|
559
|
+
token: z.ZodString;
|
|
560
|
+
cookie: z.ZodString;
|
|
561
|
+
workspace_id: z.ZodString;
|
|
562
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
563
|
+
created_at: z.ZodString;
|
|
564
|
+
updated_at: z.ZodString;
|
|
565
|
+
}, z.core.$strip>>;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
568
|
+
export declare const SECRETS_FILE_VERSION = 2;
|
|
569
|
+
export declare const secretsFileSchema: z.ZodObject<{
|
|
570
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
571
|
+
version: z.ZodLiteral<2>;
|
|
572
|
+
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
573
|
+
type: z.ZodLiteral<"api_key">;
|
|
574
|
+
key: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
575
|
+
value: z.ZodOptional<z.ZodString>;
|
|
576
|
+
env: z.ZodOptional<z.ZodString>;
|
|
577
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
578
|
+
value?: string | undefined;
|
|
579
|
+
env?: string | undefined;
|
|
580
|
+
}, string | {
|
|
581
|
+
value?: string | undefined;
|
|
582
|
+
env?: string | undefined;
|
|
583
|
+
}>>;
|
|
584
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
585
|
+
type: z.ZodLiteral<"oauth">;
|
|
586
|
+
}, z.core.$catchall<z.ZodUnknown>>], "type">>>;
|
|
587
|
+
channels: z.ZodDefault<z.ZodObject<{
|
|
588
|
+
'slack-bot': z.ZodOptional<z.ZodObject<{
|
|
589
|
+
botToken: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
590
|
+
value: z.ZodOptional<z.ZodString>;
|
|
591
|
+
env: z.ZodOptional<z.ZodString>;
|
|
592
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
593
|
+
value?: string | undefined;
|
|
594
|
+
env?: string | undefined;
|
|
595
|
+
}, string | {
|
|
596
|
+
value?: string | undefined;
|
|
597
|
+
env?: string | undefined;
|
|
598
|
+
}>>>;
|
|
599
|
+
appToken: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
600
|
+
value: z.ZodOptional<z.ZodString>;
|
|
601
|
+
env: z.ZodOptional<z.ZodString>;
|
|
602
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
603
|
+
value?: string | undefined;
|
|
604
|
+
env?: string | undefined;
|
|
605
|
+
}, string | {
|
|
606
|
+
value?: string | undefined;
|
|
607
|
+
env?: string | undefined;
|
|
608
|
+
}>>>;
|
|
609
|
+
}, z.core.$strip>>;
|
|
610
|
+
discord: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
612
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
613
|
+
account_id: z.ZodString;
|
|
614
|
+
token: z.ZodString;
|
|
615
|
+
username: z.ZodOptional<z.ZodString>;
|
|
616
|
+
created_at: z.ZodString;
|
|
617
|
+
updated_at: z.ZodString;
|
|
618
|
+
}, z.core.$strip>>;
|
|
619
|
+
}, z.core.$strip>>;
|
|
620
|
+
'discord-bot': z.ZodOptional<z.ZodObject<{
|
|
621
|
+
token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
622
|
+
value: z.ZodOptional<z.ZodString>;
|
|
623
|
+
env: z.ZodOptional<z.ZodString>;
|
|
624
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
625
|
+
value?: string | undefined;
|
|
626
|
+
env?: string | undefined;
|
|
627
|
+
}, string | {
|
|
628
|
+
value?: string | undefined;
|
|
629
|
+
env?: string | undefined;
|
|
630
|
+
}>>>;
|
|
631
|
+
}, z.core.$strip>>;
|
|
632
|
+
github: z.ZodOptional<z.ZodObject<{
|
|
633
|
+
auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
634
|
+
type: z.ZodLiteral<"pat">;
|
|
635
|
+
token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
636
|
+
value: z.ZodOptional<z.ZodString>;
|
|
637
|
+
env: z.ZodOptional<z.ZodString>;
|
|
638
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
639
|
+
value?: string | undefined;
|
|
640
|
+
env?: string | undefined;
|
|
641
|
+
}, string | {
|
|
642
|
+
value?: string | undefined;
|
|
643
|
+
env?: string | undefined;
|
|
644
|
+
}>>;
|
|
645
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
646
|
+
type: z.ZodLiteral<"app">;
|
|
647
|
+
appId: z.ZodNumber;
|
|
648
|
+
privateKey: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
649
|
+
value: z.ZodOptional<z.ZodString>;
|
|
650
|
+
env: z.ZodOptional<z.ZodString>;
|
|
651
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
652
|
+
value?: string | undefined;
|
|
653
|
+
env?: string | undefined;
|
|
654
|
+
}, string | {
|
|
655
|
+
value?: string | undefined;
|
|
656
|
+
env?: string | undefined;
|
|
657
|
+
}>>;
|
|
658
|
+
}, z.core.$strip>], "type">;
|
|
659
|
+
webhookSecret: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
660
|
+
value: z.ZodOptional<z.ZodString>;
|
|
661
|
+
env: z.ZodOptional<z.ZodString>;
|
|
662
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
663
|
+
value?: string | undefined;
|
|
664
|
+
env?: string | undefined;
|
|
665
|
+
}, string | {
|
|
666
|
+
value?: string | undefined;
|
|
667
|
+
env?: string | undefined;
|
|
668
|
+
}>>;
|
|
669
|
+
}, z.core.$strip>>;
|
|
670
|
+
'telegram-bot': z.ZodOptional<z.ZodObject<{
|
|
671
|
+
token: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
672
|
+
value: z.ZodOptional<z.ZodString>;
|
|
673
|
+
env: z.ZodOptional<z.ZodString>;
|
|
674
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
675
|
+
value?: string | undefined;
|
|
676
|
+
env?: string | undefined;
|
|
677
|
+
}, string | {
|
|
678
|
+
value?: string | undefined;
|
|
679
|
+
env?: string | undefined;
|
|
680
|
+
}>>>;
|
|
681
|
+
}, z.core.$strip>>;
|
|
682
|
+
line: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
684
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
685
|
+
account_id: z.ZodString;
|
|
686
|
+
auth_token: z.ZodString;
|
|
687
|
+
certificate: z.ZodOptional<z.ZodString>;
|
|
688
|
+
device: z.ZodEnum<{
|
|
689
|
+
DESKTOPWIN: "DESKTOPWIN";
|
|
690
|
+
DESKTOPMAC: "DESKTOPMAC";
|
|
691
|
+
ANDROID: "ANDROID";
|
|
692
|
+
ANDROIDSECONDARY: "ANDROIDSECONDARY";
|
|
693
|
+
IOS: "IOS";
|
|
694
|
+
IOSIPAD: "IOSIPAD";
|
|
695
|
+
}>;
|
|
696
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
697
|
+
created_at: z.ZodString;
|
|
698
|
+
updated_at: z.ZodString;
|
|
699
|
+
}, z.core.$strip>>;
|
|
700
|
+
}, z.core.$strip>>;
|
|
701
|
+
instagram: z.ZodOptional<z.ZodObject<{
|
|
702
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
703
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
704
|
+
account_id: z.ZodString;
|
|
705
|
+
username: z.ZodString;
|
|
706
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
707
|
+
profile_pic_url: z.ZodOptional<z.ZodString>;
|
|
708
|
+
pk: z.ZodOptional<z.ZodString>;
|
|
709
|
+
created_at: z.ZodString;
|
|
710
|
+
updated_at: z.ZodString;
|
|
711
|
+
}, z.core.$strip>>;
|
|
712
|
+
}, z.core.$strip>>;
|
|
713
|
+
kakaotalk: z.ZodOptional<z.ZodObject<{
|
|
714
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
715
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
716
|
+
account_id: z.ZodString;
|
|
717
|
+
oauth_token: z.ZodString;
|
|
718
|
+
user_id: z.ZodString;
|
|
719
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
720
|
+
device_uuid: z.ZodString;
|
|
721
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
722
|
+
auth_method: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"login">, z.ZodLiteral<"extract">]>>;
|
|
723
|
+
created_at: z.ZodString;
|
|
724
|
+
updated_at: z.ZodString;
|
|
725
|
+
email: z.ZodOptional<z.ZodString>;
|
|
726
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
727
|
+
v: z.ZodLiteral<1>;
|
|
728
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
729
|
+
kid: z.ZodString;
|
|
730
|
+
iv: z.ZodString;
|
|
731
|
+
ciphertext: z.ZodString;
|
|
732
|
+
authTag: z.ZodString;
|
|
733
|
+
createdAt: z.ZodString;
|
|
734
|
+
}, z.core.$strict>>;
|
|
735
|
+
}, z.core.$strip>>;
|
|
736
|
+
pendingLogin: z.ZodOptional<z.ZodObject<{
|
|
737
|
+
device_uuid: z.ZodString;
|
|
738
|
+
device_type: z.ZodUnion<readonly [z.ZodLiteral<"pc">, z.ZodLiteral<"tablet">]>;
|
|
739
|
+
email: z.ZodString;
|
|
740
|
+
created_at: z.ZodString;
|
|
741
|
+
}, z.core.$strip>>;
|
|
742
|
+
}, z.core.$strip>>;
|
|
743
|
+
webex: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
745
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
746
|
+
account_id: z.ZodString;
|
|
747
|
+
access_token: z.ZodString;
|
|
748
|
+
refresh_token: z.ZodString;
|
|
749
|
+
expires_at: z.ZodNumber;
|
|
750
|
+
device_url: z.ZodOptional<z.ZodString>;
|
|
751
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
752
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
753
|
+
client_secret: z.ZodOptional<z.ZodString>;
|
|
754
|
+
created_at: z.ZodString;
|
|
755
|
+
updated_at: z.ZodString;
|
|
756
|
+
email: z.ZodOptional<z.ZodString>;
|
|
757
|
+
encryptedPassword: z.ZodOptional<z.ZodObject<{
|
|
758
|
+
v: z.ZodLiteral<1>;
|
|
759
|
+
alg: z.ZodLiteral<"AES-256-GCM">;
|
|
760
|
+
kid: z.ZodString;
|
|
761
|
+
iv: z.ZodString;
|
|
762
|
+
ciphertext: z.ZodString;
|
|
763
|
+
authTag: z.ZodString;
|
|
764
|
+
createdAt: z.ZodString;
|
|
765
|
+
}, z.core.$strict>>;
|
|
766
|
+
}, z.core.$strip>>;
|
|
767
|
+
}, z.core.$strip>>;
|
|
768
|
+
teams: z.ZodOptional<z.ZodObject<{
|
|
769
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
770
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
771
|
+
account_id: z.ZodString;
|
|
772
|
+
access_token: z.ZodString;
|
|
773
|
+
token_expires_at: z.ZodOptional<z.ZodString>;
|
|
774
|
+
account_type: z.ZodUnion<readonly [z.ZodLiteral<"work">, z.ZodLiteral<"personal">]>;
|
|
775
|
+
region: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"amer">, z.ZodLiteral<"emea">, z.ZodLiteral<"apac">]>>;
|
|
776
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
777
|
+
aad_refresh_token: z.ZodOptional<z.ZodString>;
|
|
778
|
+
aad_client_id: z.ZodOptional<z.ZodString>;
|
|
779
|
+
aad_tenant_id: z.ZodOptional<z.ZodString>;
|
|
780
|
+
created_at: z.ZodString;
|
|
781
|
+
updated_at: z.ZodString;
|
|
782
|
+
}, z.core.$strip>>;
|
|
783
|
+
}, z.core.$strip>>;
|
|
784
|
+
slack: z.ZodOptional<z.ZodObject<{
|
|
785
|
+
currentAccount: z.ZodNullable<z.ZodString>;
|
|
786
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
787
|
+
account_id: z.ZodString;
|
|
788
|
+
token: z.ZodString;
|
|
789
|
+
cookie: z.ZodString;
|
|
790
|
+
workspace_id: z.ZodString;
|
|
791
|
+
workspace_name: z.ZodOptional<z.ZodString>;
|
|
792
|
+
created_at: z.ZodString;
|
|
793
|
+
updated_at: z.ZodString;
|
|
794
|
+
}, z.core.$strip>>;
|
|
795
|
+
}, z.core.$strip>>;
|
|
796
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
797
|
+
mcp: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
798
|
+
client: z.ZodOptional<z.ZodUnknown>;
|
|
799
|
+
tokens: z.ZodOptional<z.ZodUnknown>;
|
|
800
|
+
discovery: z.ZodOptional<z.ZodUnknown>;
|
|
801
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
802
|
+
githubCli: z.ZodOptional<z.ZodObject<{
|
|
803
|
+
hosts: z.ZodString;
|
|
804
|
+
}, z.core.$strict>>;
|
|
805
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
806
|
+
export type ProviderCredential = z.infer<typeof providerCredentialSchema>;
|
|
807
|
+
export type Providers = z.infer<typeof providersSchema>;
|
|
808
|
+
export type McpCredential = z.infer<typeof mcpCredentialSchema>;
|
|
809
|
+
export type McpSlice = z.infer<typeof mcpSliceSchema>;
|
|
810
|
+
export type GithubCliSecrets = z.infer<typeof githubCliSecretsSchema>;
|
|
811
|
+
export type Channels = z.infer<typeof channelsSchema>;
|
|
812
|
+
export type GithubPatAuthBlock = z.infer<typeof githubPatAuthSchema>;
|
|
813
|
+
export type GithubAppAuthBlock = z.infer<typeof githubAppAuthSchema>;
|
|
814
|
+
export type GithubSecretsBlock = z.infer<typeof githubChannelSchema>;
|
|
815
|
+
export type DiscordAccountRecord = z.infer<typeof discordAccountRecordSchema>;
|
|
816
|
+
export type DiscordChannelBlock = z.infer<typeof discordChannelBlockSchema>;
|
|
817
|
+
export type LineAccountRecord = z.infer<typeof lineAccountRecordSchema>;
|
|
818
|
+
export type LineChannelBlock = z.infer<typeof lineChannelBlockSchema>;
|
|
819
|
+
export type InstagramAccountRecord = z.infer<typeof instagramAccountRecordSchema>;
|
|
820
|
+
export type InstagramChannelBlock = z.infer<typeof instagramChannelBlockSchema>;
|
|
821
|
+
export type KakaoAccountRecord = z.infer<typeof kakaoAccountRecordSchema>;
|
|
822
|
+
export type PendingLoginRecord = z.infer<typeof kakaoPendingLoginRecordSchema>;
|
|
823
|
+
export type KakaoChannelBlock = z.infer<typeof kakaoChannelBlockSchema>;
|
|
824
|
+
export type WebexAccountRecord = z.infer<typeof webexAccountRecordSchema>;
|
|
825
|
+
export type WebexChannelBlock = z.infer<typeof webexChannelBlockSchema>;
|
|
826
|
+
export type WebexEncryptedPassword = z.infer<typeof webexEncryptedPasswordSchema>;
|
|
827
|
+
export type TeamsAccountRecord = z.infer<typeof teamsAccountRecordSchema>;
|
|
828
|
+
export type TeamsChannelBlock = z.infer<typeof teamsChannelBlockSchema>;
|
|
829
|
+
export type SlackAccountRecord = z.infer<typeof slackAccountRecordSchema>;
|
|
830
|
+
export type SlackChannelBlock = z.infer<typeof slackChannelBlockSchema>;
|
|
831
|
+
export type SecretsFile = z.infer<typeof secretsFileSchema>;
|
|
832
|
+
export type ParseSecretsResult = {
|
|
833
|
+
ok: true;
|
|
834
|
+
file: SecretsFile;
|
|
835
|
+
} | {
|
|
836
|
+
ok: false;
|
|
837
|
+
reason: string;
|
|
838
|
+
};
|
|
839
|
+
export declare function parseSecretsFile(raw: unknown): ParseSecretsResult;
|
|
840
|
+
export {};
|