@fased/fased 0.1.49 → 0.1.52
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/acp/client.js +2 -2
- package/dist/acp/secret-file.js +2 -2
- package/dist/agents/agent-scope.js +2 -2
- package/dist/agents/apply-patch.js +8 -8
- package/dist/agents/auth-profiles/paths.js +2 -2
- package/dist/agents/auth-profiles/store.js +2 -2
- package/dist/agents/bash-tools.shared.js +2 -2
- package/dist/agents/cli-credentials.js +4 -4
- package/dist/agents/current-model-catalog.js +45 -0
- package/dist/agents/docs-path.js +3 -3
- package/dist/agents/embedded-pi-mcp.js +4 -4
- package/dist/agents/identity-avatar.js +3 -3
- package/dist/agents/identity-file.js +2 -2
- package/dist/agents/model-catalog-source.js +28 -3
- package/dist/agents/pi-embedded-subscribe.raw-stream.js +3 -3
- package/dist/agents/pi-extensions/compaction-safeguard.js +3 -3
- package/dist/agents/pi-model-discovery.js +6 -6
- package/dist/agents/pi-project-settings.js +3 -3
- package/dist/agents/provider-id.js +1 -1
- package/dist/agents/sandbox/fs-bridge.js +2 -2
- package/dist/agents/session-dirs.js +4 -4
- package/dist/agents/session-write-lock.js +13 -13
- package/dist/agents/shell-utils.js +5 -5
- package/dist/agents/skills/bundled-dir.js +4 -4
- package/dist/agents/skills/local-loader.js +6 -6
- package/dist/agents/skills/plugin-skills.js +2 -2
- package/dist/agents/skills/workspace.js +13 -13
- package/dist/agents/skills-install-download.js +7 -7
- package/dist/agents/skills-install-plan.js +2 -2
- package/dist/agents/skills-install.js +2 -2
- package/dist/agents/skills-status.js +2 -2
- package/dist/agents/subagent-depth.js +2 -2
- package/dist/agents/system-prompt-params.js +2 -2
- package/dist/agents/workspace.js +22 -22
- package/dist/auto-reply/reply/agent-runner-execution.js +2 -2
- package/dist/auto-reply/reply/agent-runner.js +2 -2
- package/dist/auto-reply/reply/commands-export-session.js +7 -7
- package/dist/auto-reply/reply/post-compaction-audit.js +3 -3
- package/dist/auto-reply/reply/post-compaction-context.js +3 -3
- package/dist/auto-reply/reply/session.js +3 -3
- package/dist/auto-reply/skill-commands.js +3 -3
- package/dist/auto-reply/status.js +6 -6
- package/dist/brand.js +1 -1
- package/dist/browser/chrome.executables.js +3 -3
- package/dist/browser/chrome.js +3 -3
- package/dist/browser/chrome.profile-decoration.js +6 -6
- package/dist/browser/profiles-service.js +2 -2
- package/dist/browser/server-context.js +2 -2
- package/dist/browser/trash.js +4 -4
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/server.js +4 -4
- package/dist/capabilities/catalog.js +3 -3
- package/dist/channels/plugins/catalog.js +3 -3
- package/dist/cli/browser-cli-extension.js +6 -6
- package/dist/cli/command-format.js +2 -2
- package/dist/cli/cron-cli/register.cron-simple.js +2 -2
- package/dist/cli/dns-cli.js +9 -9
- package/dist/cli/gateway-cli/dev.js +5 -5
- package/dist/cli/gateway-cli/run.js +2 -2
- package/dist/cli/hooks-cli.js +5 -5
- package/dist/cli/lightweight/gateway-runtime-probe.js +50 -0
- package/dist/cli/memory-cli.js +7 -7
- package/dist/cli/nodes-media-utils.js +2 -2
- package/dist/cli/plugins-cli.js +2 -2
- package/dist/cli/secrets-cli.js +3 -3
- package/dist/cli/update-cli/update-command.js +120 -0
- package/dist/cli/windows-argv.js +2 -2
- package/dist/commands/dashboard-link.js +3 -3
- package/dist/commands/doctor-install.js +5 -5
- package/dist/commands/doctor-memory-search.js +2 -2
- package/dist/commands/doctor-platform-notes.js +2 -2
- package/dist/commands/doctor-sandbox.js +2 -2
- package/dist/commands/doctor-state-integrity.js +23 -23
- package/dist/commands/doctor-workspace.js +3 -3
- package/dist/commands/doctor.js +3 -3
- package/dist/commands/managed-up.js +2 -2
- package/dist/commands/onboard-auth.credentials.js +3 -3
- package/dist/commands/onboarding/plugin-install.js +2 -2
- package/dist/commands/sessions-cleanup.js +2 -2
- package/dist/commands/signal-install.js +6 -6
- package/dist/commands/status-all/channels.js +2 -2
- package/dist/commands/wallet.js +47 -47
- package/dist/config/cache-utils.js +2 -2
- package/dist/config/includes.js +5 -5
- package/dist/config/io.js +2 -2
- package/dist/config/paths.js +3 -3
- package/dist/config/sat-runtime-ids.js +3 -3
- package/dist/config/sessions/disk-budget.js +6 -6
- package/dist/config/sessions/paths.js +2 -2
- package/dist/config/sessions/store.js +17 -17
- package/dist/config/sessions/transcript.js +4 -4
- package/dist/config/talk.js +2 -2
- package/dist/control-ui/assets/{app-6iCry787.js → app-Bf5WlHKE.js} +1743 -1738
- package/dist/control-ui/assets/{chat-model-ref-C6CFR-GR.js → chat-model-ref-NT82zapt.js} +2 -2
- package/dist/control-ui/assets/{index-CNFgocD9.js → index-DWM6gKjy.js} +3 -3
- package/dist/control-ui/assets/{providers-WTJ1kMKy.js → providers-rQMhp1fb.js} +2 -11
- package/dist/control-ui/index.html +1 -1
- package/dist/cron/service/store.js +2 -2
- package/dist/cron/store.js +6 -6
- package/dist/daemon/systemd-system.js +5 -5
- package/dist/discord/monitor/thread-bindings.state.js +2 -2
- package/dist/extensions/sat-mining/src/sat-bond-layout.js +9 -9
- package/dist/gateway/control-ui-boot-check.js +6 -6
- package/dist/gateway/control-ui-login.js +7 -7
- package/dist/gateway/control-ui.js +9 -9
- package/dist/gateway/hooks-mapping.js +4 -4
- package/dist/gateway/probe-payload.js +14 -0
- package/dist/gateway/probe.js +8 -4
- package/dist/gateway/server-discovery.js +2 -2
- package/dist/gateway/server-http-lazy.js +2 -4
- package/dist/gateway/server-http.js +6 -8
- package/dist/gateway/server-methods/chat.js +3 -3
- package/dist/gateway/server-methods/models.js +3 -2
- package/dist/gateway/server-methods/sessions.js +6 -6
- package/dist/gateway/server-methods/usage.js +2 -2
- package/dist/gateway/server.impl.js +3 -3
- package/dist/gateway/session-compaction-checkpoints.js +4 -4
- package/dist/gateway/session-utils.fs.js +24 -24
- package/dist/gateway/session-utils.js +6 -6
- package/dist/hooks/bundled-dir.js +4 -4
- package/dist/hooks/gmail-setup-utils.js +6 -6
- package/dist/hooks/import-url.js +2 -2
- package/dist/hooks/loader.js +4 -4
- package/dist/hooks/workspace.js +7 -7
- package/dist/infra/archive.js +17 -17
- package/dist/infra/boundary-file-read.js +2 -2
- package/dist/infra/boundary-path.js +15 -15
- package/dist/infra/brew.js +2 -2
- package/dist/infra/control-ui-assets.js +14 -14
- package/dist/infra/device-auth-store.js +8 -8
- package/dist/infra/device-identity.js +8 -8
- package/dist/infra/dotenv.js +2 -2
- package/dist/infra/exec-approvals.js +8 -8
- package/dist/infra/exec-command-resolution.js +4 -4
- package/dist/infra/exec-safe-bin-trust.js +2 -2
- package/dist/infra/fased-root.js +5 -5
- package/dist/infra/fs-safe.js +14 -14
- package/dist/infra/gateway-lock.js +11 -11
- package/dist/infra/git-commit.js +5 -5
- package/dist/infra/git-root.js +4 -4
- package/dist/infra/hosted-runtime-artifact.js +3 -3
- package/dist/infra/is-main.js +2 -2
- package/dist/infra/json-file.js +7 -7
- package/dist/infra/outbound/delivery-queue.js +16 -16
- package/dist/infra/path-env.js +3 -3
- package/dist/infra/ports-lsof.js +4 -4
- package/dist/infra/provider-usage.auth.js +3 -3
- package/dist/infra/safe-open-sync.js +2 -2
- package/dist/infra/session-cost-usage.js +9 -9
- package/dist/infra/shell-env.js +2 -2
- package/dist/infra/state-migrations.fs.js +6 -6
- package/dist/infra/state-migrations.js +23 -23
- package/dist/infra/tmp-fased-dir.js +6 -6
- package/dist/infra/widearea-dns.js +3 -3
- package/dist/infra/wsl.js +2 -2
- package/dist/light-update-precheck.js +1 -1
- package/dist/light-update-status.js +1 -1
- package/dist/line/accounts.js +2 -2
- package/dist/line/download.js +2 -2
- package/dist/logging/config.js +3 -3
- package/dist/logging/logger.js +7 -7
- package/dist/managed/federation.js +3 -3
- package/dist/managed/tunnel.js +3 -3
- package/dist/media/store.js +13 -13
- package/dist/media-understanding/runner.js +3 -3
- package/dist/memory/embeddings.js +2 -2
- package/dist/memory/internal.js +10 -10
- package/dist/memory/manager-sync-ops.js +7 -7
- package/dist/memory/repair-executor.js +17 -17
- package/dist/node-host/invoke-system-run-plan.js +8 -8
- package/dist/node-host/invoke.js +2 -2
- package/dist/node-host/runner.js +3 -3
- package/dist/pairing/pairing-store.js +3 -3
- package/dist/plugin-sdk/{accounts-B5fY9hZy.js → accounts-BZrfqJmO.js} +1 -1
- package/dist/plugin-sdk/{actions-D-9SsSEy.js → actions-7_zTh8zC.js} +2 -2
- package/dist/plugin-sdk/{active-listener-BH7rDR47.js → active-listener-D8NVRD8J.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-4faayz5S.js → audio-preflight-D6IPconF.js} +26 -26
- package/dist/plugin-sdk/{audit-BQfsboqd.js → audit-2iRlVyQF.js} +1 -1
- package/dist/plugin-sdk/{channel-access-CDZ-cJPq.js → channel-access-BCf1rJsn.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-DlpuhlH6.js → channel-access-configure-B-Z51Qsd.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/channel-plugin-common.js +4 -4
- package/dist/plugin-sdk/{chunk-CZuCyS7k.js → chunk-BREC9ijl.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-Cyc4Kl6A.js → chunk-items-CTp30xzl.js} +1 -1
- package/dist/plugin-sdk/command-status.js +26 -26
- package/dist/plugin-sdk/{commands-registry-COIbIjGO.js → commands-registry-D3-bFLsz.js} +2 -2
- package/dist/plugin-sdk/{common-LMHJe8KW.js → common-BlqMqEqn.js} +1 -1
- package/dist/plugin-sdk/{config-ZMbTT0kM.js → config-442EDe7Z.js} +81 -13
- package/dist/plugin-sdk/{config-schema-Cku0a8Tm.js → config-schema-DAyzv2C6.js} +2001 -449
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +4 -4
- package/dist/plugin-sdk/discord.js +19 -19
- package/dist/plugin-sdk/{handle-action-C8ZZfORB.js → handle-action-pNaP87Dr.js} +13 -13
- package/dist/plugin-sdk/{helpers-vfzH9tBn.js → helpers-B994qqVW.js} +1 -1
- package/dist/plugin-sdk/{image-ops-BnOmQA5d.js → image-ops-Doq8nZQw.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +18 -18
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/json-store.js +6 -6
- package/dist/plugin-sdk/{login-C73Wpiw8.js → login-CK2zTIJA.js} +3 -3
- package/dist/plugin-sdk/{login-qr-CRKHA7i8.js → login-qr-u8Mn1mCp.js} +3 -3
- package/dist/plugin-sdk/{manager-CHYhpKHn.js → manager-CeJNf2bH.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-B84dPWNG.js → markdown-tables-DeZztrY6.js} +1 -1
- package/dist/plugin-sdk/{media-4daDcNER.js → media-CgUAEfhs.js} +2 -2
- package/dist/plugin-sdk/{monitor-DJhU-J5u.js → monitor-CY1W4VTW.js} +31 -31
- package/dist/plugin-sdk/{monitor-CChc6bQV.js → monitor-CkDlxeW5.js} +30 -30
- package/dist/plugin-sdk/{openresponses-http-Dvyczr35.js → openresponses-http-Cu7NLyPf.js} +26 -26
- package/dist/plugin-sdk/{optional-runtime-dependency-BFpqaCzp.js → optional-runtime-dependency-D0BdXz1C.js} +1 -1
- package/dist/plugin-sdk/{outbound-C1xBxfNb.js → outbound-DXGuFrdx.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-DvcxPP7b.js → outbound-attachment-oxhGO33g.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-DpYT614h.js → pairing-message-C29ixrvn.js} +1 -1
- package/dist/plugin-sdk/{pairing-message-DWXHX-jt.d.ts → pairing-message-DfIyssV_.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-store-CprpGco9.js → pairing-store-1kcsOWRs.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-BQ6fFRBA.js → pi-model-discovery-l-xqaEd0.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-BF_89lVj.js → pi-model-discovery-runtime-CibV8F8G.js} +2 -2
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-xgpIbHOr.js → pw-ai-9qEBW5-k.js} +3 -3
- package/dist/plugin-sdk/{replies-AzJ6U6Ut.js → replies-BX3L8fX7.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-COo_TR7B.js → resolve-outbound-target-D0AK10E7.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-CZFzHOIe.js → resolve-route-UO6XLYH3.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-BSdqqXsI.js → retry-policy-C5N8JiHL.js} +1 -1
- package/dist/plugin-sdk/{runtime-CeoGffDi.js → runtime-Dnzwux3G.js} +3 -3
- package/dist/plugin-sdk/{runtime-dependency-Cvbs0GXf.js → runtime-dependency-BDDpVKBO.js} +2 -2
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/sat-runtime.js +5 -5
- package/dist/plugin-sdk/{send-B_-UtG9F.js → send-B4XLsTL0.js} +6 -6
- package/dist/plugin-sdk/{send-DCxAv7bV.js → send-D5rgCP1r.js} +6 -6
- package/dist/plugin-sdk/{send-CGE7OgsA.js → send-DGEgo_6f.js} +5 -5
- package/dist/plugin-sdk/{send-DVpCBUuL.js → send-DcsYRH2f.js} +7 -7
- package/dist/plugin-sdk/{send-C0Q1u7N1.js → send-bcKv8F5E.js} +8 -8
- package/dist/plugin-sdk/{session-ETYBbhLn.js → session-BoGNOlwv.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-BQL6TBIv.js → skill-commands-Be8s4TGQ.js} +2 -2
- package/dist/plugin-sdk/{slack-actions-CBPZkfTS.js → slack-actions-TNnAXiUx.js} +11 -11
- package/dist/plugin-sdk/{slack-Bs_4uivd.js → slack-papUjf_h.js} +38 -38
- package/dist/plugin-sdk/slack.d.ts +4 -4
- package/dist/plugin-sdk/slack.js +9 -9
- package/dist/plugin-sdk/{sticker-cache-BBZMp-oQ.js → sticker-cache-CPNu_LEe.js} +3 -3
- package/dist/plugin-sdk/{tables-B-G7Bb0l.js → tables-Ch4js2qy.js} +1 -1
- package/dist/plugin-sdk/{targets-D8UaoWHd.js → targets-BGfRUJPE.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-BARLx9zc.js → telegram-actions-BO-giM1s.js} +29 -29
- package/dist/plugin-sdk/telegram.d.ts +4 -4
- package/dist/plugin-sdk/telegram.js +8 -8
- package/dist/plugin-sdk/{thread-bindings.lifecycle-DwYKCLLq.js → thread-bindings.lifecycle-_uQ2EF17.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-BNWfHA0f.js → thread-bindings.state-DUg0s_1X.js} +2 -2
- package/dist/plugin-sdk/{tmp-fased-dir-Be1wBhVz.d.ts → tmp-fased-dir-Bcp1DTSV.d.ts} +1 -1
- package/dist/plugin-sdk/{types-CJGVZX6j.d.ts → types-BTkcYtOt.d.ts} +2 -2
- package/dist/plugin-sdk/{types-CXLEOrJX.d.ts → types-CMoLtViq.d.ts} +1 -1
- package/dist/plugin-sdk/{wallet-status-Coekn_SJ.js → wallet-status-M6aK3abH.js} +3 -3
- package/dist/plugin-sdk/{web-BwolzGVF.js → web-QpstZjDX.js} +31 -31
- package/dist/plugin-sdk/{whatsapp-actions-CSvf6eev.js → whatsapp-actions-CID_tqAX.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-Bw7OtTe6.js → whatsapp-heartbeat-Bk-aZVMa.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +9 -9
- package/dist/plugin-sdk/whatsapp.js +12 -12
- package/dist/plugin-sdk/{wsl-By1Mc-oS.js → wsl-C_STtED7.js} +3 -3
- package/dist/plugin-sdk/{zod-schema.providers-core-TI6sL-6B.d.ts → zod-schema.providers-core-CIzCjXH9.d.ts} +75 -75
- package/dist/plugins/bundled-dir.js +3 -3
- package/dist/plugins/discovery.js +11 -11
- package/dist/plugins/loader.js +13 -13
- package/dist/plugins/manifest-registry.js +2 -2
- package/dist/plugins/manifest.js +4 -4
- package/dist/plugins/path-safety.js +3 -3
- package/dist/plugins/status-cache.js +10 -10
- package/dist/plugins/update.js +3 -3
- package/dist/plugins/web-search-install-catalog.js +3 -3
- package/dist/providers/refresh.js +1 -1
- package/dist/providers/refreshed-model-capabilities.js +1935 -406
- package/dist/providers/registry.js +15 -12
- package/dist/secrets/apply.js +16 -16
- package/dist/secrets/audit.js +11 -11
- package/dist/secrets/shared.js +9 -9
- package/dist/security/scan-paths.js +2 -2
- package/dist/shared/config-eval.js +2 -2
- package/dist/shared/pid-alive.js +2 -2
- package/dist/tasks/standing-orders.js +5 -5
- package/dist/tasks/task-flow-registry.js +5 -5
- package/dist/tasks/task-registry.js +5 -5
- package/dist/tasks/workflow-definitions.js +6 -6
- package/dist/telegram/token.js +5 -5
- package/dist/utils.js +5 -5
- package/dist/wallet/local-socket-signer-broker.js +16 -16
- package/dist/wallet/providers/embedded-keystore-adapter.js +5 -5
- package/dist/wallet/providers/local-socket-signer-adapter.js +2 -2
- package/dist/wallet/wallet-approval-auth.js +5 -5
- package/dist/wallet/wallet-audit-log.js +5 -5
- package/dist/wallet/wallet-custody.js +21 -21
- package/dist/wallet/wallet-inbound-events.js +5 -5
- package/dist/wallet/wallet-observability.js +5 -5
- package/dist/wallet/wallet-policy.js +9 -9
- package/dist/wallet/wallet-provider-registry.js +7 -7
- package/dist/wallet/wallet-runtime-config.js +3 -3
- package/dist/wallet/wallet-secrets-store.js +22 -22
- package/dist/wallet/wallet-send-approvals.js +5 -5
- package/dist/wallet/wallet-settlement-links.js +5 -5
- package/dist/web/accounts.js +3 -3
- package/dist/web/auth-store.js +18 -18
- package/dist/web/session.js +4 -4
- package/dist/wizard/host-security-capability.js +2 -2
- package/dist/wizard/onboarding.host-security.js +7 -7
- package/dist/wizard/onboarding.js +7 -7
- package/dist/wizard/onboarding.wallet.js +44 -44
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +18 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +18 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +18 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +18 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +18 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +18 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +18 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/scripts/start-managed.sh +14 -0
|
@@ -6,7 +6,7 @@ import { withFileLock as withFileLock$1 } from "../plugin-sdk/file-lock.js";
|
|
|
6
6
|
import "../infra/file-lock.js";
|
|
7
7
|
import { getPairingAdapter } from "../channels/plugins/pairing.js";
|
|
8
8
|
import { readJsonFileWithFallback, writeJsonFileAtomically } from "../plugin-sdk/json-store.js";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import crypto from "node:crypto";
|
|
@@ -82,7 +82,7 @@ async function readPrunedPairingRequests(filePath) {
|
|
|
82
82
|
}
|
|
83
83
|
async function ensureJsonFile(filePath, fallback) {
|
|
84
84
|
try {
|
|
85
|
-
await
|
|
85
|
+
await fs.promises.access(filePath);
|
|
86
86
|
} catch {
|
|
87
87
|
await writeJsonFile(filePath, fallback);
|
|
88
88
|
}
|
|
@@ -225,7 +225,7 @@ function readAllowFromStateForPathSync(channel, filePath) {
|
|
|
225
225
|
function readAllowFromStateForPathSyncWithExists(channel, filePath) {
|
|
226
226
|
let raw = "";
|
|
227
227
|
try {
|
|
228
|
-
raw =
|
|
228
|
+
raw = fs.readFileSync(filePath, "utf8");
|
|
229
229
|
} catch (err) {
|
|
230
230
|
const code = err.code;
|
|
231
231
|
if (code === "ENOENT") {
|
|
@@ -2,7 +2,7 @@ import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
|
2
2
|
import { c as success, n as info, p as getChildLogger } from "./globals-B_jjtAje.js";
|
|
3
3
|
import { a as resolveOAuthDir, c as expandHomePrefix, u as resolveRequiredHomeDir } from "./paths-BEmvSyOV.js";
|
|
4
4
|
import { h as resolveUserPath } from "./utils-CYk9EKoq.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Tr as formatCliCommand } from "./config-442EDe7Z.js";
|
|
6
6
|
import { n as resolveAccountEntry, t as createAccountListHelpers } from "./account-helpers-Bdfws46K.js";
|
|
7
7
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as logVerbose } from "./globals-B_jjtAje.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { n as loadConfig } from "./config-442EDe7Z.js";
|
|
3
3
|
import { i as resolveSlackAccount, s as resolveSlackBotToken } from "./accounts-CuqIKU8X.js";
|
|
4
4
|
import { n as validateSlackBlocksArray } from "./blocks-input-Dcitfh7h.js";
|
|
5
|
-
import { i as buildSlackBlocksFallbackText, t as sendMessageSlack } from "./send-
|
|
5
|
+
import { i as buildSlackBlocksFallbackText, t as sendMessageSlack } from "./send-DGEgo_6f.js";
|
|
6
6
|
import { n as createSlackWebClient } from "./client-D2N7hqVu.js";
|
|
7
7
|
|
|
8
8
|
//#region src/slack/actions.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Gt as createMediaAttachmentCache, Jt as resolveMediaAttachmentLocalRoots, Kt as normalizeMediaAttachments, Wt as buildProviderRegistry, Xt as isAudioAttachment, Yt as runCapability } from "./config-schema-
|
|
2
|
-
import "./runtime-
|
|
1
|
+
import { Gt as createMediaAttachmentCache, Jt as resolveMediaAttachmentLocalRoots, Kt as normalizeMediaAttachments, Wt as buildProviderRegistry, Xt as isAudioAttachment, Yt as runCapability } from "./config-schema-DAyzv2C6.js";
|
|
2
|
+
import "./runtime-Dnzwux3G.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, s as shouldLogVerbose } from "./globals-B_jjtAje.js";
|
|
5
5
|
import "./paths-BEmvSyOV.js";
|
|
6
6
|
import "./utils-CYk9EKoq.js";
|
|
7
|
-
import "./config-
|
|
7
|
+
import "./config-442EDe7Z.js";
|
|
8
8
|
import "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import "./accounts-RHZyaB73.js";
|
|
10
10
|
import "./accounts-CuqIKU8X.js";
|
|
11
11
|
import "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
|
-
import "./accounts-
|
|
13
|
+
import "./accounts-BZrfqJmO.js";
|
|
14
14
|
import "./allow-list-BYeKk0Sy.js";
|
|
15
15
|
import "./redact-Bm8vu_ju.js";
|
|
16
16
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -19,11 +19,11 @@ import "./paths-CTZ2RS_E.js";
|
|
|
19
19
|
import "./ip-C70a-YlD.js";
|
|
20
20
|
import "./ssrf-BZG8Ztod.js";
|
|
21
21
|
import "./fetch-guard-BuYrl6q2.js";
|
|
22
|
-
import "./send-
|
|
23
|
-
import "./helpers-
|
|
24
|
-
import "./wsl-
|
|
25
|
-
import "./pairing-store-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./send-D5rgCP1r.js";
|
|
23
|
+
import "./helpers-B994qqVW.js";
|
|
24
|
+
import "./wsl-C_STtED7.js";
|
|
25
|
+
import "./pairing-store-1kcsOWRs.js";
|
|
26
|
+
import "./chunk-BREC9ijl.js";
|
|
27
27
|
import "./tailscale-status-ClsquRGs.js";
|
|
28
28
|
import "./reply-prefix-Bqzm6DC1.js";
|
|
29
29
|
import "./tokens-BvtlOzVP.js";
|
|
@@ -31,32 +31,32 @@ import "./device-pairing-D2Yq-_U6.js";
|
|
|
31
31
|
import "./pairing-token-N_6Jbt1L.js";
|
|
32
32
|
import "./diagnostic-Dfn1iERm.js";
|
|
33
33
|
import "./diagnostic-session-state-HO94DMou.js";
|
|
34
|
-
import "./optional-runtime-dependency-
|
|
35
|
-
import "./image-ops-
|
|
36
|
-
import "./wallet-status-
|
|
37
|
-
import "./pi-model-discovery-
|
|
38
|
-
import "./runtime-dependency-
|
|
34
|
+
import "./optional-runtime-dependency-D0BdXz1C.js";
|
|
35
|
+
import "./image-ops-Doq8nZQw.js";
|
|
36
|
+
import "./wallet-status-M6aK3abH.js";
|
|
37
|
+
import "./pi-model-discovery-l-xqaEd0.js";
|
|
38
|
+
import "./runtime-dependency-BDDpVKBO.js";
|
|
39
39
|
import "./ws-CocpWGhl.js";
|
|
40
40
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
41
41
|
import "./fs-safe-BG-VzVkL.js";
|
|
42
|
-
import "./markdown-tables-
|
|
43
|
-
import "./media-
|
|
44
|
-
import "./send-
|
|
45
|
-
import "./outbound-attachment-
|
|
42
|
+
import "./markdown-tables-DeZztrY6.js";
|
|
43
|
+
import "./media-CgUAEfhs.js";
|
|
44
|
+
import "./send-B4XLsTL0.js";
|
|
45
|
+
import "./outbound-attachment-oxhGO33g.js";
|
|
46
46
|
import "./fetch-Cu-ahkie.js";
|
|
47
|
-
import "./thread-bindings.state-
|
|
47
|
+
import "./thread-bindings.state-DUg0s_1X.js";
|
|
48
48
|
import "./memory-search-C3C0bD2H.js";
|
|
49
|
-
import "./manager-
|
|
49
|
+
import "./manager-CeJNf2bH.js";
|
|
50
50
|
import "./query-expansion-Zr9qQixm.js";
|
|
51
|
-
import "./common-
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./skill-commands-
|
|
51
|
+
import "./common-BlqMqEqn.js";
|
|
52
|
+
import "./commands-registry-D3-bFLsz.js";
|
|
53
|
+
import "./skill-commands-Be8s4TGQ.js";
|
|
54
54
|
import "./directory-live-DatqU-eS.js";
|
|
55
|
-
import "./targets-
|
|
55
|
+
import "./targets-BGfRUJPE.js";
|
|
56
56
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
57
|
-
import "./resolve-route-
|
|
57
|
+
import "./resolve-route-UO6XLYH3.js";
|
|
58
58
|
import "./render-Bwu_WxwA.js";
|
|
59
|
-
import "./tables-
|
|
59
|
+
import "./tables-Ch4js2qy.js";
|
|
60
60
|
import "./shared-clhhbWN3.js";
|
|
61
61
|
|
|
62
62
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as isRecord } from "./utils-CYk9EKoq.js";
|
|
3
3
|
import { a as resolveDiscordAccount } from "./accounts-RHZyaB73.js";
|
|
4
|
-
import { $ as fetchChannelPermissionsDiscord } from "./send-
|
|
4
|
+
import { $ as fetchChannelPermissionsDiscord } from "./send-bcKv8F5E.js";
|
|
5
5
|
|
|
6
6
|
//#region src/discord/audit.ts
|
|
7
7
|
var audit_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
1
|
+
import { t as promptChannelAccessConfig } from "./channel-access-BCf1rJsn.js";
|
|
2
2
|
|
|
3
3
|
//#region src/channels/plugins/onboarding/channel-access-configure.ts
|
|
4
4
|
async function configureChannelAccessWithAllowlist(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { Y as ChannelMessageActionContext, n as ChannelPlugin, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-
|
|
4
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
3
|
+
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-CMoLtViq.js";
|
|
4
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DfIyssV_.js";
|
|
5
5
|
export { type ChannelMessageActionContext, type ChannelPlugin, DEFAULT_ACCOUNT_ID, type FasedAgentPluginApi, PAIRING_APPROVED_MESSAGE, type PluginRuntime, applyAccountNameToChannelSection, buildChannelConfigSchema, deleteAccountFromConfigSection, emptyPluginConfigSchema, formatPairingApproveHint, getChatChannelMeta, migrateBaseNameToDefaultAccount, normalizeAccountId, setAccountEnabledInConfigSection };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Nn as getChatChannelMeta } from "./runtime-
|
|
1
|
+
import { Nn as getChatChannelMeta } from "./runtime-Dnzwux3G.js";
|
|
2
2
|
import "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import "./globals-B_jjtAje.js";
|
|
4
4
|
import "./paths-BEmvSyOV.js";
|
|
5
5
|
import "./utils-CYk9EKoq.js";
|
|
6
|
-
import "./config-
|
|
6
|
+
import "./config-442EDe7Z.js";
|
|
7
7
|
import "./agent-scope-BbgPlhtw.js";
|
|
8
8
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
9
9
|
import "./accounts-RHZyaB73.js";
|
|
10
10
|
import "./accounts-CuqIKU8X.js";
|
|
11
11
|
import "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
|
-
import "./accounts-
|
|
13
|
+
import "./accounts-BZrfqJmO.js";
|
|
14
14
|
import "./redact-Bm8vu_ju.js";
|
|
15
15
|
import "./github-copilot-token-CUK__1s1.js";
|
|
16
16
|
import "./retry-DstNBhDW.js";
|
|
17
17
|
import "./paths-CTZ2RS_E.js";
|
|
18
|
-
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-
|
|
18
|
+
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-C29ixrvn.js";
|
|
19
19
|
|
|
20
20
|
export { DEFAULT_ACCOUNT_ID, PAIRING_APPROVED_MESSAGE, applyAccountNameToChannelSection, buildChannelConfigSchema, deleteAccountFromConfigSection, emptyPluginConfigSchema, formatPairingApproveHint, getChatChannelMeta, migrateBaseNameToDefaultAccount, normalizeAccountId, setAccountEnabledInConfigSection };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { xn as INTERNAL_MESSAGE_CHANNEL } from "./runtime-
|
|
2
|
+
import { xn as INTERNAL_MESSAGE_CHANNEL } from "./runtime-Dnzwux3G.js";
|
|
3
3
|
import { n as resolveAccountEntry } from "./account-helpers-Bdfws46K.js";
|
|
4
4
|
import { p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
5
5
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Lt as buildCommandsMessage, Rt as buildCommandsMessagePaginated, zt as buildHelpMessage } from "./config-schema-
|
|
2
|
-
import "./runtime-
|
|
1
|
+
import { Lt as buildCommandsMessage, Rt as buildCommandsMessagePaginated, zt as buildHelpMessage } from "./config-schema-DAyzv2C6.js";
|
|
2
|
+
import "./runtime-Dnzwux3G.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
5
5
|
import "./paths-BEmvSyOV.js";
|
|
6
6
|
import "./utils-CYk9EKoq.js";
|
|
7
|
-
import "./config-
|
|
7
|
+
import "./config-442EDe7Z.js";
|
|
8
8
|
import "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import "./accounts-RHZyaB73.js";
|
|
10
10
|
import "./accounts-CuqIKU8X.js";
|
|
11
11
|
import "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
|
-
import "./accounts-
|
|
13
|
+
import "./accounts-BZrfqJmO.js";
|
|
14
14
|
import "./allow-list-BYeKk0Sy.js";
|
|
15
15
|
import "./redact-Bm8vu_ju.js";
|
|
16
16
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -19,11 +19,11 @@ import "./paths-CTZ2RS_E.js";
|
|
|
19
19
|
import "./ip-C70a-YlD.js";
|
|
20
20
|
import "./ssrf-BZG8Ztod.js";
|
|
21
21
|
import "./fetch-guard-BuYrl6q2.js";
|
|
22
|
-
import "./send-
|
|
23
|
-
import "./helpers-
|
|
24
|
-
import "./wsl-
|
|
25
|
-
import "./pairing-store-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./send-D5rgCP1r.js";
|
|
23
|
+
import "./helpers-B994qqVW.js";
|
|
24
|
+
import "./wsl-C_STtED7.js";
|
|
25
|
+
import "./pairing-store-1kcsOWRs.js";
|
|
26
|
+
import "./chunk-BREC9ijl.js";
|
|
27
27
|
import "./tailscale-status-ClsquRGs.js";
|
|
28
28
|
import "./reply-prefix-Bqzm6DC1.js";
|
|
29
29
|
import "./tokens-BvtlOzVP.js";
|
|
@@ -31,32 +31,32 @@ import "./device-pairing-D2Yq-_U6.js";
|
|
|
31
31
|
import "./pairing-token-N_6Jbt1L.js";
|
|
32
32
|
import "./diagnostic-Dfn1iERm.js";
|
|
33
33
|
import "./diagnostic-session-state-HO94DMou.js";
|
|
34
|
-
import "./optional-runtime-dependency-
|
|
35
|
-
import "./image-ops-
|
|
36
|
-
import "./wallet-status-
|
|
37
|
-
import "./pi-model-discovery-
|
|
38
|
-
import "./runtime-dependency-
|
|
34
|
+
import "./optional-runtime-dependency-D0BdXz1C.js";
|
|
35
|
+
import "./image-ops-Doq8nZQw.js";
|
|
36
|
+
import "./wallet-status-M6aK3abH.js";
|
|
37
|
+
import "./pi-model-discovery-l-xqaEd0.js";
|
|
38
|
+
import "./runtime-dependency-BDDpVKBO.js";
|
|
39
39
|
import "./ws-CocpWGhl.js";
|
|
40
40
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
41
41
|
import "./fs-safe-BG-VzVkL.js";
|
|
42
|
-
import "./markdown-tables-
|
|
43
|
-
import "./media-
|
|
44
|
-
import "./send-
|
|
45
|
-
import "./outbound-attachment-
|
|
42
|
+
import "./markdown-tables-DeZztrY6.js";
|
|
43
|
+
import "./media-CgUAEfhs.js";
|
|
44
|
+
import "./send-B4XLsTL0.js";
|
|
45
|
+
import "./outbound-attachment-oxhGO33g.js";
|
|
46
46
|
import "./fetch-Cu-ahkie.js";
|
|
47
|
-
import "./thread-bindings.state-
|
|
47
|
+
import "./thread-bindings.state-DUg0s_1X.js";
|
|
48
48
|
import "./memory-search-C3C0bD2H.js";
|
|
49
|
-
import "./manager-
|
|
49
|
+
import "./manager-CeJNf2bH.js";
|
|
50
50
|
import "./query-expansion-Zr9qQixm.js";
|
|
51
|
-
import "./common-
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./skill-commands-
|
|
51
|
+
import "./common-BlqMqEqn.js";
|
|
52
|
+
import "./commands-registry-D3-bFLsz.js";
|
|
53
|
+
import "./skill-commands-Be8s4TGQ.js";
|
|
54
54
|
import "./directory-live-DatqU-eS.js";
|
|
55
|
-
import "./targets-
|
|
55
|
+
import "./targets-BGfRUJPE.js";
|
|
56
56
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
57
|
-
import "./resolve-route-
|
|
57
|
+
import "./resolve-route-UO6XLYH3.js";
|
|
58
58
|
import "./render-Bwu_WxwA.js";
|
|
59
|
-
import "./tables-
|
|
59
|
+
import "./tables-Ch4js2qy.js";
|
|
60
60
|
import "./shared-clhhbWN3.js";
|
|
61
61
|
|
|
62
62
|
export { buildCommandsMessage, buildCommandsMessagePaginated, buildHelpMessage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ot as listChannelDocks, lt as normalizeChannelId, t as getActivePluginRegistry } from "./runtime-
|
|
2
|
+
import { Ot as listChannelDocks, lt as normalizeChannelId, t as getActivePluginRegistry } from "./runtime-Dnzwux3G.js";
|
|
3
3
|
import { C as isPlainObject, o as escapeRegExp } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import { Jt as resolveConfiguredModelRef,
|
|
4
|
+
import { Jt as resolveConfiguredModelRef, cr as DEFAULT_PROVIDER, nr as listThinkingLevels, sr as DEFAULT_MODEL } from "./config-442EDe7Z.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|
|
7
7
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
2
|
-
import { c as detectMime, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
2
|
+
import { c as detectMime, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-Doq8nZQw.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/media/base64.ts
|
|
@@ -4420,17 +4420,9 @@ const OPENAI_API_MODEL_IDS = [
|
|
|
4420
4420
|
"gpt-5.6",
|
|
4421
4421
|
"gpt-5.6-terra",
|
|
4422
4422
|
"gpt-5.6-luna",
|
|
4423
|
-
"gpt-5.5"
|
|
4424
|
-
"gpt-5.4",
|
|
4425
|
-
"gpt-5.4-mini",
|
|
4426
|
-
"gpt-5.4-nano"
|
|
4427
|
-
];
|
|
4428
|
-
const OPENAI_SIGN_IN_MODEL_IDS = [
|
|
4429
|
-
"gpt-5.5",
|
|
4430
|
-
"gpt-5.4",
|
|
4431
|
-
"gpt-5.4-mini",
|
|
4432
|
-
"gpt-5.3-codex-spark"
|
|
4423
|
+
"gpt-5.5"
|
|
4433
4424
|
];
|
|
4425
|
+
const OPENAI_SIGN_IN_MODEL_IDS = ["gpt-5.5"];
|
|
4434
4426
|
const OPENAI_API_MODEL_REFS = OPENAI_API_MODEL_IDS.map((id) => `${OPENAI_API_ROUTE_ID}/${id}`);
|
|
4435
4427
|
const OPENAI_SIGN_IN_MODEL_REFS = OPENAI_SIGN_IN_MODEL_IDS.map((id) => `${OPENAI_CODEX_ROUTE_ID}/${id}`);
|
|
4436
4428
|
const ANTHROPIC_MODEL_IDS = [
|
|
@@ -4448,7 +4440,9 @@ const CHUTES_MODEL_IDS = [
|
|
|
4448
4440
|
"moonshotai/Kimi-K2.6-TEE",
|
|
4449
4441
|
"Qwen/Qwen3.6-27B-TEE",
|
|
4450
4442
|
"Qwen/Qwen3.5-397B-A17B-TEE",
|
|
4451
|
-
"zai-org/GLM-5-TEE"
|
|
4443
|
+
"zai-org/GLM-5-TEE",
|
|
4444
|
+
"Qwen/Qwen3-235B-A22B-Thinking-2507-TEE",
|
|
4445
|
+
"zai-org/GLM-5.2-TEE"
|
|
4452
4446
|
];
|
|
4453
4447
|
const CHUTES_MODEL_REFS = CHUTES_MODEL_IDS.map((id) => `${CHUTES_ROUTE_ID}/${id}`);
|
|
4454
4448
|
const OLLAMA_MODEL_REFS = [];
|
|
@@ -5152,6 +5146,7 @@ const OLLAMA_PROVIDER_MANIFEST = {
|
|
|
5152
5146
|
models: {
|
|
5153
5147
|
recommended: OLLAMA_MODEL_REFS,
|
|
5154
5148
|
dynamic: true,
|
|
5149
|
+
operatorCatalog: true,
|
|
5155
5150
|
routeRules: { [OLLAMA_ROUTE_ID]: [`${OLLAMA_ROUTE_ID}/*`] }
|
|
5156
5151
|
},
|
|
5157
5152
|
modelCapabilities: buildProviderModelCapabilities(OLLAMA_MODEL_REFS)
|
|
@@ -5173,6 +5168,7 @@ const LMSTUDIO_PROVIDER_MANIFEST = {
|
|
|
5173
5168
|
models: {
|
|
5174
5169
|
recommended: LMSTUDIO_MODEL_REFS,
|
|
5175
5170
|
dynamic: true,
|
|
5171
|
+
operatorCatalog: true,
|
|
5176
5172
|
routeRules: { [LMSTUDIO_ROUTE_ID]: [`${LMSTUDIO_ROUTE_ID}/*`] }
|
|
5177
5173
|
},
|
|
5178
5174
|
modelCapabilities: buildProviderModelCapabilities(LMSTUDIO_MODEL_REFS)
|
|
@@ -5194,6 +5190,7 @@ const VLLM_PROVIDER_MANIFEST = {
|
|
|
5194
5190
|
models: {
|
|
5195
5191
|
recommended: VLLM_MODEL_REFS,
|
|
5196
5192
|
dynamic: true,
|
|
5193
|
+
operatorCatalog: true,
|
|
5197
5194
|
routeRules: { [VLLM_ROUTE_ID]: [`${VLLM_ROUTE_ID}/*`] }
|
|
5198
5195
|
},
|
|
5199
5196
|
modelCapabilities: buildProviderModelCapabilities(VLLM_MODEL_REFS)
|
|
@@ -5731,6 +5728,7 @@ const LITELLM_PROVIDER_MANIFEST = {
|
|
|
5731
5728
|
models: {
|
|
5732
5729
|
recommended: [...LITELLM_MODEL_REFS],
|
|
5733
5730
|
dynamic: true,
|
|
5731
|
+
operatorCatalog: true,
|
|
5734
5732
|
routeRules: { [LITELLM_ROUTE_ID]: [`${LITELLM_ROUTE_ID}/*`] }
|
|
5735
5733
|
},
|
|
5736
5734
|
modelCapabilities: LITELLM_MODEL_CAPABILITY_OVERRIDES
|
|
@@ -5772,6 +5770,7 @@ const CUSTOM_PROVIDER_MANIFEST = {
|
|
|
5772
5770
|
models: {
|
|
5773
5771
|
recommended: CUSTOM_PROVIDER_MODEL_REFS,
|
|
5774
5772
|
dynamic: true,
|
|
5773
|
+
operatorCatalog: true,
|
|
5775
5774
|
routeRules: { [CUSTOM_PROVIDER_ROUTE_ID]: [`${CUSTOM_PROVIDER_ROUTE_ID}/*`] }
|
|
5776
5775
|
},
|
|
5777
5776
|
modelCapabilities: buildProviderModelCapabilities(CUSTOM_PROVIDER_MODEL_REFS)
|
|
@@ -5815,6 +5814,12 @@ const PROVIDER_MANIFEST_BY_ROUTE = new Map(PROVIDER_REGISTRY.flatMap((entry) =>
|
|
|
5815
5814
|
const STANDARD_PROVIDER_MODEL_REFS = new Set(PROVIDER_REGISTRY.flatMap((entry) => entry.models.recommended.map((ref) => ref.toLowerCase())));
|
|
5816
5815
|
const PROVIDER_MODEL_CAPABILITY_BY_REF = new Map(PROVIDER_REGISTRY.flatMap((entry) => Object.entries(entry.modelCapabilities ?? {}).map(([ref, capability]) => [ref.toLowerCase(), capability])));
|
|
5817
5816
|
const OPENAI_SIGN_IN_MODEL_ID_SET = new Set(OPENAI_SIGN_IN_MODEL_IDS);
|
|
5817
|
+
function listProviderBrandManifests() {
|
|
5818
|
+
return [...PROVIDER_REGISTRY];
|
|
5819
|
+
}
|
|
5820
|
+
function getProviderBrandManifestForRoute(route) {
|
|
5821
|
+
return PROVIDER_MANIFEST_BY_ROUTE.get(route.trim().toLowerCase());
|
|
5822
|
+
}
|
|
5818
5823
|
function isOpenAISignInRuntimeModelSupported(id) {
|
|
5819
5824
|
return OPENAI_SIGN_IN_MODEL_ID_SET.has(id.trim().toLowerCase());
|
|
5820
5825
|
}
|
|
@@ -5824,6 +5829,24 @@ function lookupProviderManifestModelCapability(provider, model) {
|
|
|
5824
5829
|
if (!providerId || !modelId) return;
|
|
5825
5830
|
return PROVIDER_MODEL_CAPABILITY_BY_REF.get(`${providerId}/${modelId}`);
|
|
5826
5831
|
}
|
|
5832
|
+
function isStandardProviderModelRef(ref) {
|
|
5833
|
+
const value = ref.trim();
|
|
5834
|
+
if (!value) return false;
|
|
5835
|
+
const slash = value.indexOf("/");
|
|
5836
|
+
if (slash === -1) return true;
|
|
5837
|
+
const provider = value.slice(0, slash).trim().toLowerCase();
|
|
5838
|
+
if (!getProviderBrandManifestForRoute(provider)) return false;
|
|
5839
|
+
const manifest = getProviderBrandManifestForRoute(provider);
|
|
5840
|
+
if (!manifest) return false;
|
|
5841
|
+
if (manifest.models.operatorCatalog) return true;
|
|
5842
|
+
return STANDARD_PROVIDER_MODEL_REFS.has(value.toLowerCase());
|
|
5843
|
+
}
|
|
5844
|
+
function isStandardProviderCatalogEntry(entry) {
|
|
5845
|
+
const provider = entry.provider.trim();
|
|
5846
|
+
const id = entry.id.trim();
|
|
5847
|
+
if (!provider || !id) return false;
|
|
5848
|
+
return isStandardProviderModelRef(`${provider}/${id}`);
|
|
5849
|
+
}
|
|
5827
5850
|
|
|
5828
5851
|
//#endregion
|
|
5829
5852
|
//#region src/agents/model-ref-profile.ts
|
|
@@ -6782,7 +6805,7 @@ function normalizeProviderId$1(provider) {
|
|
|
6782
6805
|
if (normalized === "modelstudio" || normalized === "qwencloud") return "qwen";
|
|
6783
6806
|
if (normalized === "z.ai" || normalized === "z-ai") return "zai";
|
|
6784
6807
|
if (normalized === "opencode-zen") return "opencode";
|
|
6785
|
-
if (normalized === "kimi" || normalized === "kimi-code" || normalized === "kimi-coding") return "kimi";
|
|
6808
|
+
if (normalized === "kimi" || normalized === "kimi-code" || normalized === "kimi-coding") return "kimi-coding";
|
|
6786
6809
|
if (normalized === "moonshotai" || normalized === "moonshot-ai") return "moonshot";
|
|
6787
6810
|
if (normalized === "bytedance" || normalized === "doubao") return "volcengine";
|
|
6788
6811
|
return normalized;
|
|
@@ -11009,6 +11032,51 @@ function model(params) {
|
|
|
11009
11032
|
};
|
|
11010
11033
|
}
|
|
11011
11034
|
const OPENAI_MODELS = [
|
|
11035
|
+
model({
|
|
11036
|
+
id: "gpt-5.6",
|
|
11037
|
+
name: "GPT-5.6 Sol",
|
|
11038
|
+
reasoning: true,
|
|
11039
|
+
input: ["text", "image"],
|
|
11040
|
+
contextWindow: 105e4,
|
|
11041
|
+
maxTokens: 128e3,
|
|
11042
|
+
api: "openai-responses",
|
|
11043
|
+
cost: {
|
|
11044
|
+
input: 5,
|
|
11045
|
+
output: 30,
|
|
11046
|
+
cacheRead: .5,
|
|
11047
|
+
cacheWrite: 6.25
|
|
11048
|
+
}
|
|
11049
|
+
}),
|
|
11050
|
+
model({
|
|
11051
|
+
id: "gpt-5.6-terra",
|
|
11052
|
+
name: "GPT-5.6 Terra",
|
|
11053
|
+
reasoning: true,
|
|
11054
|
+
input: ["text", "image"],
|
|
11055
|
+
contextWindow: 105e4,
|
|
11056
|
+
maxTokens: 128e3,
|
|
11057
|
+
api: "openai-responses",
|
|
11058
|
+
cost: {
|
|
11059
|
+
input: 2.5,
|
|
11060
|
+
output: 15,
|
|
11061
|
+
cacheRead: .25,
|
|
11062
|
+
cacheWrite: 3.125
|
|
11063
|
+
}
|
|
11064
|
+
}),
|
|
11065
|
+
model({
|
|
11066
|
+
id: "gpt-5.6-luna",
|
|
11067
|
+
name: "GPT-5.6 Luna",
|
|
11068
|
+
reasoning: true,
|
|
11069
|
+
input: ["text", "image"],
|
|
11070
|
+
contextWindow: 105e4,
|
|
11071
|
+
maxTokens: 128e3,
|
|
11072
|
+
api: "openai-responses",
|
|
11073
|
+
cost: {
|
|
11074
|
+
input: 1,
|
|
11075
|
+
output: 6,
|
|
11076
|
+
cacheRead: .1,
|
|
11077
|
+
cacheWrite: 1.25
|
|
11078
|
+
}
|
|
11079
|
+
}),
|
|
11012
11080
|
model({
|
|
11013
11081
|
id: "gpt-5.5",
|
|
11014
11082
|
name: "GPT-5.5",
|
|
@@ -23341,4 +23409,4 @@ async function writeConfigFile(cfg, options = {}) {
|
|
|
23341
23409
|
}
|
|
23342
23410
|
|
|
23343
23411
|
//#endregion
|
|
23344
|
-
export { resetConfigOverrides as $,
|
|
23412
|
+
export { resetConfigOverrides as $, lookupProviderManifestModelCapability as $n, resolveSubagentSpawnModelSelection as $t, GroupPolicySchema as A, ensureAuthProfileStore as An, isPluginRuntimeSessionReadAllowed as Ar, isSafeExecutableValue as At, MODEL_APIS as B, loadPluginManifestRegistry as Bn, buildModelAliasIndex as Bt, resolveIMessageAttachmentRoots as C, markAuthProfileUsed as Cn, sanitizeHostExecEnv as Cr, unwrapKnownDispatchWrapperInvocation as Ct, BlockStreamingCoalesceSchema as D, listProfilesForProvider as Dn, isTruthyEnvValue as Dr, normalizeSafeBinProfileFixtures as Dt, ToolPolicySchema as E, dedupeProfileIds as En, resolveCliName as Er, SAFE_BIN_PROFILES as Et, TtsConfigSchema as F, withFileLock as Fn, resolveTelegramPreviewStreamMode as Ft, isAvatarDataUrl as G, isPrivateNetworkBaseUrl as Gn, normalizeModelRef as Gt, parseDurationMs as H, isPathInside as Hn, inferUniqueProviderFromConfiguredModels as Ht, TtsModeSchema as I, resolveProcessScopedMap as In, DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH as It, isSupportedLocalAvatarExtension as J, coerceSecretRef as Jn, resolveConfiguredModelRef as Jt, isAvatarHttpUrl as K, normalizeSecretInput as Kn, normalizeProviderId as Kt, TtsProviderSchema as L, isPidAlive as Ln, resolveAgentMaxConcurrent as Lt, MarkdownTableModeSchema as M, resolveFasedAgentAgentDir as Mn, resolveEffectiveEnableState as Mr, resolveDiscordPreviewStreamMode as Mt, ReplyRuntimeConfigSchemaShape as N, resolveFasedAgentDir as Nn, resolveMemorySlotDecision as Nr, resolveSlackNativeStreaming as Nt, DmConfigSchema as O, listProvidersWithStoredCredentials as On, parseBooleanValue as Or, resolveSafeBinProfiles as Ot, TtsAutoSchema as P, acquireFileLock as Pn, resolvePluginAdminRpcActionGrant as Pr, resolveSlackStreamingMode as Pt, getConfigOverrides as Q, listProviderBrandManifests as Qn, resolveReasoningDefault as Qt, normalizeAllowFrom as R, findNormalizedProviderValue$1 as Rn, buildAllowedModelSet as Rt, mergeInboundPathRoots as S, markAuthProfileFailure as Sn, isDangerousHostInheritedEnvVarName as Sr, isShellWrapperExecutable as St, normalizeScpRemoteHost as T, resolveApiKeyForProfile as Tn, formatCliCommand as Tr, splitShellArgs as Tt, parseByteSize as U, safeStatSync as Un, isCliProvider as Ut, getBlockedNetworkModeReason as V, discoverFasedAgentPlugins as Vn, findNormalizedProviderValue as Vt, AVATAR_MAX_BYTES as W, resolveAuthProfileDisplayLabel as Wn, modelKey as Wt, resolveAvatarMime as X, isOpenAISignInRuntimeModelSupported as Xn, resolveExplicitConfiguredModelRef as Xt, isWorkspaceRelativeAvatarPath as Y, splitTrailingAuthProfile as Yn, resolveDefaultModelForAgent as Yt, validateJsonSchemaValue as Z, isStandardProviderCatalogEntry as Zn, resolveModelRefFromString as Zt, TELEGRAM_COMMAND_NAME_PATTERN as _, normalizeProviderCatalogRows as _n, extractArchive as _r, matchAllowlist as _t, readConfigFileSnapshotForWrite as a, getApiKeyForModel as an, supportsXHighThinking as ar, unsetConfigValueAtPath as at, DEFAULT_IMESSAGE_ATTACHMENT_ROOTS as b, getSoonestCooldownExpiry as bn, isDangerousHostEnvOverrideVarName as br, extractShellWrapperInlineCommand as bt, validateConfigObjectWithPlugins as c, resolveApiKeyForProvider as cn, DEFAULT_PROVIDER as cr, isTrustedSafeBinPath as ct, GoogleChatConfigSchema as d, CURRENT_MODEL_PROVIDER_CATALOG as dn, getPackageManifestMetadata as dr, validateSafeBinArgv as dt, resolveThinkingDefault as en, formatThinkingLevels as er, setConfigOverride as et, IMessageConfigSchema as f, listCurrentModelCatalogRows as fn, MANIFEST_KEY as fr, analyzeShellCommand as ft, TelegramConfigSchema as g, normalizeModelCatalogProviderId as gn, isErrno as gr, DEFAULT_SAFE_BINS as gt, SlackConfigSchema as h, normalizeModelCatalogModelId as hn, formatUncaughtError as hr, splitCommandChain as ht, readConfigFileSnapshot as i, resolveImplicitProviders as in, resolveModelThinkingCapability as ir, setConfigValueAtPath as it, MarkdownConfigSchema as j, resolveAuthStorePathForDisplay as jn, normalizePluginsConfig as jr, mapStreamingModeToSlackLegacyDraftStreamMode as jt, DmPolicySchema as k, markAuthProfileGood as kn, applyTestPluginDefaults as kr, applyMergePatch as kt, WhatsAppConfigSchema as l, resolveEnvApiKey as ln, VERSION as lr, listWritableExplicitTrustedSafeBinDirs as lt, SignalConfigSchema as m, mergeModelCatalogRowsByAuthority as mn, formatErrorMessage as mr, isWindowsPlatform as mt, loadConfig as n, normalizeProviders as nn, listThinkingLevels as nr, getConfigValueAtPath as nt, resolveConfigSnapshotHash as o, getCustomProviderApiKey as on, DEFAULT_CONTEXT_TOKENS as or, ensurePluginAllowlisted as ot, MSTeamsConfigSchema as p, buildModelCatalogMergeKey as pn, extractErrorCode as pr, buildEnforcedShellCommand as pt, isPathWithinRoot as q, assertSecretInputResolved as qn, parseModelRef as qt, parseConfigJson5 as r, resolveImplicitCopilotProvider as rn, normalizeThinkLevel as rr, parseConfigPath as rt, writeConfigFile as s, requireApiKey as sn, DEFAULT_MODEL as sr, getTrustedSafeBinDirs as st, createConfigIO as t, normalizeGoogleModelId as tn, formatXHighModelHint as tr, unsetConfigOverride as tt, DiscordConfigSchema as u, resolveModelAuthMode as un, resolvePluginInstallDir as ur, normalizeTrustedSafeBinDirs as ut, normalizeTelegramCommandName as v, auth_profiles_exports as vn, getShellPathFromLoginShell as vr, resolveAllowlistCandidatePath as vt, resolveIMessageRemoteAttachmentRoots as w, resolveProfilesUnavailableReason as wn, resolveOwnerDisplaySetting as wr, unwrapKnownShellMultiplexerInvocation as wt, isInboundPathAllowed as x, isProfileInCooldown as xn, isDangerousHostEnvVarName as xr, isDispatchWrapperExecutable as xt, resolveTelegramCustomCommands as y, resolveAuthProfileOrder as yn, resolveShellEnvFallbackTimeoutMs as yr, resolveCommandResolutionFromArgv as yt, requireOpenAllowFrom as z, normalizeProviderId$1 as zn, buildConfiguredAllowlistKeys as zt };
|