@fased/fased 0.1.47 → 0.1.48
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 +21 -3
- 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/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/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/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/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/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/protocol-contract.js +63 -0
- package/dist/extensions/sat-mining/src/sat-bond-layout.js +9 -9
- package/dist/extensions/sat-mining/src/solana-submit.js +3 -52
- 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/server-discovery.js +2 -2
- package/dist/gateway/server-http.js +4 -4
- package/dist/gateway/server-methods/chat.js +6 -6
- 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-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/inventory.js +25 -4
- package/dist/memory/manager-sync-ops.js +7 -7
- package/dist/memory/repair-executor.js +17 -17
- package/dist/mining/mainnet-sync.js +70 -26
- 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-DzLdrOVC.js → accounts-DI5226U8.js} +1 -1
- package/dist/plugin-sdk/{actions-PhofTgnO.js → actions-CEj4gOU2.js} +2 -2
- package/dist/plugin-sdk/{active-listener-C8a74qPO.js → active-listener-Ss4UKXZb.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CARAVcz-.js → audio-preflight-Cu4alGjb.js} +26 -26
- package/dist/plugin-sdk/{audit-ByK45Q1d.js → audit-BTskqjJ_.js} +1 -1
- package/dist/plugin-sdk/{channel-access-BEin0yA4.js → channel-access-B1KciKmw.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-Di_DoR-Q.js → channel-access-configure-Y91FLOJc.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-CwN3c1Fq.js → chunk-CSUjIQSx.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-DH7ooQBZ.js → chunk-items-Q8HhMuSe.js} +1 -1
- package/dist/plugin-sdk/command-status.js +26 -26
- package/dist/plugin-sdk/{commands-registry-Bea-V_lR.js → commands-registry-DJ0pfCcY.js} +2 -2
- package/dist/plugin-sdk/{common-BJPuBxmx.js → common-Cjm8psuW.js} +1 -1
- package/dist/plugin-sdk/{config-BxOWD3gF.js → config-DutIeFge.js} +21 -3
- package/dist/plugin-sdk/{config-schema-ChJcPn7x.js → config-schema-Cg6PYSHR.js} +85 -64
- 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-Bk-L2J84.js → handle-action-Dp2741iu.js} +13 -13
- package/dist/plugin-sdk/{helpers-0E444CR0.js → helpers-BCZ9d3fl.js} +1 -1
- package/dist/plugin-sdk/{image-ops-BYc-Ol7C.js → image-ops-B-QR_M9Z.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +20 -20
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/json-store.js +6 -6
- package/dist/plugin-sdk/{login-B_At7IVI.js → login-BFvQxf9o.js} +3 -3
- package/dist/plugin-sdk/{login-qr-BlSQ8QJF.js → login-qr-CERTe_nD.js} +3 -3
- package/dist/plugin-sdk/{manager-VNI6sxbG.js → manager-Dhq3SXpO.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-CpNefu6e.js → markdown-tables-B1Tx7c77.js} +1 -1
- package/dist/plugin-sdk/{media-QBCmvhBQ.js → media-BwsqooWC.js} +2 -2
- package/dist/plugin-sdk/{monitor-C9UczH5N.js → monitor-BYzN5Qr4.js} +31 -31
- package/dist/plugin-sdk/{monitor-BhHlerHI.js → monitor-CJiacqtR.js} +30 -30
- package/dist/plugin-sdk/{openresponses-http-CtuFHD5w.js → openresponses-http-VLSSqCZZ.js} +26 -26
- package/dist/plugin-sdk/{optional-runtime-dependency-BaVO1F3i.js → optional-runtime-dependency-BEBP4VFJ.js} +1 -1
- package/dist/plugin-sdk/{outbound-CWrcAWpE.js → outbound-BqWgaC5M.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-Dhi2Q-_f.js → outbound-attachment-L1q40kiu.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-D01_6FkJ.js → pairing-message-CZBahREg.js} +1 -1
- package/dist/plugin-sdk/{pairing-message-6XVXW554.d.ts → pairing-message-DWXHX-jt.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-store-DADXOv-J.js → pairing-store-D7I1Qmiw.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-D9-CQFS2.js → pi-model-discovery-C5klknQZ.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DhNNXQgq.js → pi-model-discovery-runtime-DIEMhCZ5.js} +2 -2
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-CQG7vp-Y.js → pw-ai-Bv-q25gY.js} +3 -3
- package/dist/plugin-sdk/{replies-C_FeIOF4.js → replies-Bd9ktEkq.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-DD8edEdz.js → resolve-outbound-target-CCIyBb5H.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-BPkfG5Pg.js → resolve-route-B7vZ3nKp.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-C0YsRX_6.js → retry-policy-ChC3G4lv.js} +1 -1
- package/dist/plugin-sdk/{runtime-CyTWeylK.js → runtime-BLknHFGz.js} +3 -3
- package/dist/plugin-sdk/{runtime-dependency-D6tYtvtU.js → runtime-dependency-C5rJfC0u.js} +2 -2
- package/dist/plugin-sdk/sat-runtime.d.ts +3 -2
- package/dist/plugin-sdk/sat-runtime.js +5 -5
- package/dist/plugin-sdk/{send-CNxLDNQ9.js → send-Bd3Z-jAd.js} +6 -6
- package/dist/plugin-sdk/{send-Qckp3h4k.js → send-Bmtz9ICm.js} +8 -8
- package/dist/plugin-sdk/{send-BedQ8ekw.js → send-CMoWt-EX.js} +7 -7
- package/dist/plugin-sdk/{send-FcEJfLTd.js → send-CUGEhiUa.js} +6 -6
- package/dist/plugin-sdk/{send-BtFuV6zU.js → send-mkyZzhCO.js} +5 -5
- package/dist/plugin-sdk/{session-C3Ul4abD.js → session-D2zmelOL.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-C2CnUTPX.js → skill-commands-BybEjJ1_.js} +2 -2
- package/dist/plugin-sdk/{slack-bSeSOI9d.js → slack-DogXvGG3.js} +38 -38
- package/dist/plugin-sdk/{slack-actions-CLyEd8FK.js → slack-actions-uXb55QWW.js} +11 -11
- package/dist/plugin-sdk/slack.d.ts +4 -4
- package/dist/plugin-sdk/slack.js +9 -9
- package/dist/plugin-sdk/{sticker-cache-DBnS3hHh.js → sticker-cache-BuPw7fTf.js} +3 -3
- package/dist/plugin-sdk/{tables-L5mXZ5y_.js → tables-CVDOT5dX.js} +1 -1
- package/dist/plugin-sdk/{targets-eG595pY0.js → targets-DskkhJAp.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-D0Kyqy_e.js → telegram-actions-_KQPbjpI.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-C_5BEWmL.js → thread-bindings.lifecycle-CrhQXYEU.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-DRZAbcUu.js → thread-bindings.state-ssxdG7xV.js} +2 -2
- package/dist/plugin-sdk/{tmp-fased-dir-BpMLNd4L.d.ts → tmp-fased-dir-Be1wBhVz.d.ts} +1 -1
- package/dist/plugin-sdk/{types-0CsXVmg8.d.ts → types-CJGVZX6j.d.ts} +1 -1
- package/dist/plugin-sdk/{types-DMLEeE52.d.ts → types-CXLEOrJX.d.ts} +1 -1
- package/dist/plugin-sdk/{wallet-status-2yrXvqSS.js → wallet-status-CQI89c_6.js} +70 -28
- package/dist/plugin-sdk/{web-CSRe4zy2.js → web-C8DwA0eO.js} +31 -31
- package/dist/plugin-sdk/{whatsapp-actions-CkLkpg8M.js → whatsapp-actions-DfvM-mlZ.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-DuAE9_88.js → whatsapp-heartbeat-DyJasLDB.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +13 -13
- package/dist/plugin-sdk/whatsapp.js +12 -12
- package/dist/plugin-sdk/{wsl-CXVwPntb.js → wsl-JwmI6Zu8.js} +3 -3
- package/dist/plugin-sdk/{zod-schema.providers-core-FaYR6KdD.d.ts → zod-schema.providers-core-BE_5DNhj.d.ts} +80 -80
- 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 +9 -9
- package/dist/plugins/update.js +3 -3
- package/dist/plugins/web-search-install-catalog.js +3 -3
- 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 +6 -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 +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/index.ts +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/sat-mining/src/protocol-contract.ts +64 -0
- package/extensions/sat-mining/src/round-watcher.ts +6 -4
- package/extensions/sat-mining/src/solana-submit.ts +7 -53
- 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 +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
|
@@ -6,20 +6,43 @@ import { createHash, createPublicKey, verify } from "node:crypto";
|
|
|
6
6
|
//#region src/mining/mainnet-sync.ts
|
|
7
7
|
const DEFAULT_MANIFEST_URL = "https://satcoin.app/.well-known/sat-mainnet-addresses.json";
|
|
8
8
|
const DEFAULT_TIMEOUT_MS = 12e3;
|
|
9
|
-
const EMBEDDED_TRUSTED_KEYS = [
|
|
9
|
+
const EMBEDDED_TRUSTED_KEYS = [{
|
|
10
|
+
id: "sat-mainnet-2026-01",
|
|
11
|
+
publicKeyBase64Url: "F-Kv6SBcZHvs1LQ0LNHwYQ6VuKidpkv1nkgRqggn1kk",
|
|
12
|
+
fingerprintSha256: "7fc6f335e13fbba3cee2f833e4ab656a19fd8c0715b9d9097a3e196f0e3a0ebd"
|
|
13
|
+
}];
|
|
14
|
+
for (const key of EMBEDDED_TRUSTED_KEYS) {
|
|
15
|
+
const publicKeyBytes = Buffer.from(key.publicKeyBase64Url, "base64url");
|
|
16
|
+
const fingerprint = createHash("sha256").update(publicKeyBytes).digest("hex");
|
|
17
|
+
if (publicKeyBytes.length !== 32 || fingerprint !== key.fingerprintSha256) {
|
|
18
|
+
throw new Error(`Invalid embedded SAT mainnet manifest key: ${key.id}`);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
10
21
|
function trustedKeysFromEnv(env) {
|
|
11
22
|
const raw = String(env.FASED_SAT_MAINNET_MANIFEST_PUBLIC_KEY ?? "").trim();
|
|
12
|
-
if (!raw) {
|
|
13
|
-
return [];
|
|
14
|
-
}
|
|
15
23
|
const id = String(env.FASED_SAT_MAINNET_MANIFEST_PUBLIC_KEY_ID ?? "env").trim() || "env";
|
|
16
|
-
|
|
24
|
+
const rotated = String(env.FASED_SAT_MAINNET_MANIFEST_PUBLIC_KEYS ?? "").split(",").map((entry) => entry.trim()).filter(Boolean).map((publicKeyBase64Url, index) => ({
|
|
25
|
+
id: `${id}-${index + 1}`,
|
|
26
|
+
publicKeyBase64Url,
|
|
27
|
+
source: "environment"
|
|
28
|
+
}));
|
|
29
|
+
return [...raw ? [{
|
|
17
30
|
id,
|
|
18
|
-
publicKeyBase64Url: raw
|
|
19
|
-
|
|
31
|
+
publicKeyBase64Url: raw,
|
|
32
|
+
source: "environment"
|
|
33
|
+
}] : [], ...rotated];
|
|
20
34
|
}
|
|
21
35
|
function resolveTrustedKeys(env) {
|
|
22
|
-
return [...EMBEDDED_TRUSTED_KEYS
|
|
36
|
+
return [...EMBEDDED_TRUSTED_KEYS.map((key) => ({
|
|
37
|
+
...key,
|
|
38
|
+
source: "embedded"
|
|
39
|
+
})), ...trustedKeysFromEnv(env)];
|
|
40
|
+
}
|
|
41
|
+
function resolveConfiguredTrustKeySource(env) {
|
|
42
|
+
if (EMBEDDED_TRUSTED_KEYS.length > 0) {
|
|
43
|
+
return "embedded";
|
|
44
|
+
}
|
|
45
|
+
return trustedKeysFromEnv(env).length > 0 ? "environment" : "missing";
|
|
23
46
|
}
|
|
24
47
|
function resolveManifestUrl(env) {
|
|
25
48
|
return String(env.FASED_SAT_MAINNET_MANIFEST_URL ?? "").trim() || DEFAULT_MANIFEST_URL;
|
|
@@ -87,47 +110,64 @@ function verifyDetachedEd25519Signature(params) {
|
|
|
87
110
|
}
|
|
88
111
|
});
|
|
89
112
|
if (verify(null, Buffer.from(params.payload), publicKey, signature)) {
|
|
90
|
-
return
|
|
113
|
+
return trustedKey;
|
|
91
114
|
}
|
|
92
115
|
} catch {}
|
|
93
116
|
}
|
|
94
|
-
return
|
|
117
|
+
return null;
|
|
95
118
|
}
|
|
96
119
|
async function verifyLiveManifest(params) {
|
|
120
|
+
const configuredTrustKeySource = resolveConfiguredTrustKeySource(params.env);
|
|
97
121
|
const expectedHash = parseSha256(await fetchText(`${params.manifestUrl}.sha256`, { required: false }).catch(() => null));
|
|
98
122
|
if (!expectedHash) {
|
|
99
123
|
return {
|
|
100
|
-
|
|
101
|
-
|
|
124
|
+
verification: {
|
|
125
|
+
hash: "missing",
|
|
126
|
+
signature: "missing"
|
|
127
|
+
},
|
|
128
|
+
trustKeySource: configuredTrustKeySource
|
|
102
129
|
};
|
|
103
130
|
}
|
|
104
131
|
if (sha256Hex(params.raw) !== expectedHash) {
|
|
105
132
|
return {
|
|
106
|
-
|
|
107
|
-
|
|
133
|
+
verification: {
|
|
134
|
+
hash: "invalid",
|
|
135
|
+
signature: "missing"
|
|
136
|
+
},
|
|
137
|
+
trustKeySource: configuredTrustKeySource
|
|
108
138
|
};
|
|
109
139
|
}
|
|
110
140
|
const signature = await fetchText(`${params.manifestUrl}.sig`, { required: false }).catch(() => null);
|
|
111
141
|
if (!signature?.trim()) {
|
|
112
142
|
return {
|
|
113
|
-
|
|
114
|
-
|
|
143
|
+
verification: {
|
|
144
|
+
hash: "valid",
|
|
145
|
+
signature: "missing"
|
|
146
|
+
},
|
|
147
|
+
trustKeySource: configuredTrustKeySource
|
|
115
148
|
};
|
|
116
149
|
}
|
|
117
150
|
const trustedKeys = resolveTrustedKeys(params.env);
|
|
118
|
-
|
|
151
|
+
const verifiedKey = verifyDetachedEd25519Signature({
|
|
119
152
|
payload: params.raw,
|
|
120
153
|
signatureBase64: signature.trim(),
|
|
121
154
|
trustedKeys
|
|
122
|
-
})
|
|
155
|
+
});
|
|
156
|
+
if (!verifiedKey) {
|
|
123
157
|
return {
|
|
124
|
-
|
|
125
|
-
|
|
158
|
+
verification: {
|
|
159
|
+
hash: "valid",
|
|
160
|
+
signature: "invalid"
|
|
161
|
+
},
|
|
162
|
+
trustKeySource: configuredTrustKeySource
|
|
126
163
|
};
|
|
127
164
|
}
|
|
128
165
|
return {
|
|
129
|
-
|
|
130
|
-
|
|
166
|
+
verification: {
|
|
167
|
+
hash: "valid",
|
|
168
|
+
signature: "valid"
|
|
169
|
+
},
|
|
170
|
+
trustKeySource: verifiedKey.source
|
|
131
171
|
};
|
|
132
172
|
}
|
|
133
173
|
function readLocalIds(env) {
|
|
@@ -191,18 +231,20 @@ async function getSatMainnetSyncStatus(opts) {
|
|
|
191
231
|
verification: {
|
|
192
232
|
hash: "not_required",
|
|
193
233
|
signature: "not_required"
|
|
194
|
-
}
|
|
234
|
+
},
|
|
235
|
+
trustKeySource: "not_required"
|
|
195
236
|
};
|
|
196
237
|
}
|
|
197
238
|
const officialIds = readOfficialIds(manifest);
|
|
198
239
|
if (!officialIds) {
|
|
199
240
|
throw new Error("live manifest is missing the complete SAT runtime id tuple");
|
|
200
241
|
}
|
|
201
|
-
const
|
|
242
|
+
const verifiedManifest = await verifyLiveManifest({
|
|
202
243
|
manifestUrl,
|
|
203
244
|
raw,
|
|
204
245
|
env
|
|
205
246
|
});
|
|
247
|
+
const { verification, trustKeySource } = verifiedManifest;
|
|
206
248
|
const localIds = readLocalIds(env);
|
|
207
249
|
if (verification.hash !== "valid" || verification.signature !== "valid") {
|
|
208
250
|
return {
|
|
@@ -218,7 +260,8 @@ async function getSatMainnetSyncStatus(opts) {
|
|
|
218
260
|
officialIds,
|
|
219
261
|
needsSync: false,
|
|
220
262
|
verification,
|
|
221
|
-
|
|
263
|
+
trustKeySource,
|
|
264
|
+
error: trustKeySource === "missing" ? "This Fased release has no trusted SAT mainnet manifest key. Update Fased before syncing or mining." : "Signed manifest verification failed."
|
|
222
265
|
};
|
|
223
266
|
}
|
|
224
267
|
const synced = idsEqual(localIds, officialIds);
|
|
@@ -235,7 +278,8 @@ async function getSatMainnetSyncStatus(opts) {
|
|
|
235
278
|
officialIds,
|
|
236
279
|
needsSync: !synced,
|
|
237
280
|
runtimeFile: resolveWritableSatRuntimeDefaultsFile(env),
|
|
238
|
-
verification
|
|
281
|
+
verification,
|
|
282
|
+
trustKeySource
|
|
239
283
|
};
|
|
240
284
|
} catch (error) {
|
|
241
285
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { sameFileIdentity } from "../infra/file-identity.js";
|
|
2
2
|
import { resolveSystemRunCommand } from "../infra/system-run-command.js";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
6
6
|
//#region src/node-host/invoke-system-run-plan.ts
|
|
@@ -41,7 +41,7 @@ function pathComponentsFromRootSync(targetPath) {
|
|
|
41
41
|
}
|
|
42
42
|
function isWritableByCurrentProcessSync(candidate) {
|
|
43
43
|
try {
|
|
44
|
-
|
|
44
|
+
fs.accessSync(candidate, fs.constants.W_OK);
|
|
45
45
|
return true;
|
|
46
46
|
} catch {
|
|
47
47
|
return false;
|
|
@@ -50,7 +50,7 @@ function isWritableByCurrentProcessSync(candidate) {
|
|
|
50
50
|
function hasMutableSymlinkPathComponentSync(targetPath) {
|
|
51
51
|
for (const component of pathComponentsFromRootSync(targetPath)) {
|
|
52
52
|
try {
|
|
53
|
-
if (!
|
|
53
|
+
if (!fs.lstatSync(component).isSymbolicLink()) {
|
|
54
54
|
continue;
|
|
55
55
|
}
|
|
56
56
|
const parentDir = path.dirname(component);
|
|
@@ -79,10 +79,10 @@ function hardenApprovedExecutionPaths(params) {
|
|
|
79
79
|
let cwdReal;
|
|
80
80
|
let cwdRealStat;
|
|
81
81
|
try {
|
|
82
|
-
cwdLstat =
|
|
83
|
-
cwdStat =
|
|
84
|
-
cwdReal =
|
|
85
|
-
cwdRealStat =
|
|
82
|
+
cwdLstat = fs.lstatSync(requestedCwd);
|
|
83
|
+
cwdStat = fs.statSync(requestedCwd);
|
|
84
|
+
cwdReal = fs.realpathSync(requestedCwd);
|
|
85
|
+
cwdRealStat = fs.statSync(cwdReal);
|
|
86
86
|
} catch {
|
|
87
87
|
return {
|
|
88
88
|
ok: false,
|
|
@@ -134,7 +134,7 @@ function hardenApprovedExecutionPaths(params) {
|
|
|
134
134
|
const base = hardenedCwd ?? process.cwd();
|
|
135
135
|
const candidate = path.isAbsolute(rawExecutable) ? rawExecutable : path.resolve(base, rawExecutable);
|
|
136
136
|
try {
|
|
137
|
-
argv[0] =
|
|
137
|
+
argv[0] = fs.realpathSync(candidate);
|
|
138
138
|
} catch {
|
|
139
139
|
return {
|
|
140
140
|
ok: false,
|
package/dist/node-host/invoke.js
CHANGED
|
@@ -4,7 +4,7 @@ import { requestExecHostViaSocket } from "../infra/exec-host.js";
|
|
|
4
4
|
import { runBrowserProxyCommand } from "./invoke-browser.js";
|
|
5
5
|
import { buildSystemRunApprovalPlanV2 } from "./invoke-system-run-plan.js";
|
|
6
6
|
import { handleSystemRunInvoke } from "./invoke-system-run.js";
|
|
7
|
-
import
|
|
7
|
+
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
|
|
@@ -154,7 +154,7 @@ function resolveExecutable(bin, env) {
|
|
|
154
154
|
for (const dir of resolveEnvPath(env)) {
|
|
155
155
|
for (const ext of extensions) {
|
|
156
156
|
const candidate = path.join(dir, bin + ext);
|
|
157
|
-
if (
|
|
157
|
+
if (fs.existsSync(candidate)) {
|
|
158
158
|
return candidate;
|
|
159
159
|
}
|
|
160
160
|
}
|
package/dist/node-host/runner.js
CHANGED
|
@@ -11,19 +11,19 @@ import { NODE_BROWSER_PROXY_COMMAND, NODE_EXEC_APPROVALS_COMMANDS, NODE_SYSTEM_R
|
|
|
11
11
|
import { ensureFasedAgentCliOnPath } from "../infra/path-env.js";
|
|
12
12
|
import { ensureNodeHostConfig, saveNodeHostConfig } from "./config.js";
|
|
13
13
|
import { buildNodeInvokeResultParams, coerceNodeInvokePayload, handleInvoke } from "./invoke.js";
|
|
14
|
-
import
|
|
14
|
+
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
|
|
17
17
|
//#region src/node-host/runner.ts
|
|
18
18
|
const DEFAULT_NODE_PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
|
|
19
19
|
function isExecutableFile(filePath) {
|
|
20
20
|
try {
|
|
21
|
-
const stat =
|
|
21
|
+
const stat = fs.statSync(filePath);
|
|
22
22
|
if (!stat.isFile()) {
|
|
23
23
|
return false;
|
|
24
24
|
}
|
|
25
25
|
if (process.platform !== "win32") {
|
|
26
|
-
|
|
26
|
+
fs.accessSync(filePath, fs.constants.X_OK);
|
|
27
27
|
}
|
|
28
28
|
return true;
|
|
29
29
|
} catch {
|
|
@@ -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 { Cr as formatCliCommand } from "./config-
|
|
5
|
+
import { Cr as formatCliCommand } from "./config-DutIeFge.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-DutIeFge.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-mkyZzhCO.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-Cg6PYSHR.js";
|
|
2
|
+
import "./runtime-BLknHFGz.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-DutIeFge.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-DI5226U8.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-CUGEhiUa.js";
|
|
23
|
+
import "./helpers-BCZ9d3fl.js";
|
|
24
|
+
import "./wsl-JwmI6Zu8.js";
|
|
25
|
+
import "./pairing-store-D7I1Qmiw.js";
|
|
26
|
+
import "./chunk-CSUjIQSx.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-BEBP4VFJ.js";
|
|
35
|
+
import "./image-ops-B-QR_M9Z.js";
|
|
36
|
+
import "./wallet-status-CQI89c_6.js";
|
|
37
|
+
import "./pi-model-discovery-C5klknQZ.js";
|
|
38
|
+
import "./runtime-dependency-C5rJfC0u.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-B1Tx7c77.js";
|
|
43
|
+
import "./media-BwsqooWC.js";
|
|
44
|
+
import "./send-Bd3Z-jAd.js";
|
|
45
|
+
import "./outbound-attachment-L1q40kiu.js";
|
|
46
46
|
import "./fetch-Cu-ahkie.js";
|
|
47
|
-
import "./thread-bindings.state-
|
|
47
|
+
import "./thread-bindings.state-ssxdG7xV.js";
|
|
48
48
|
import "./memory-search-C3C0bD2H.js";
|
|
49
|
-
import "./manager-
|
|
49
|
+
import "./manager-Dhq3SXpO.js";
|
|
50
50
|
import "./query-expansion-Zr9qQixm.js";
|
|
51
|
-
import "./common-
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./skill-commands-
|
|
51
|
+
import "./common-Cjm8psuW.js";
|
|
52
|
+
import "./commands-registry-DJ0pfCcY.js";
|
|
53
|
+
import "./skill-commands-BybEjJ1_.js";
|
|
54
54
|
import "./directory-live-DatqU-eS.js";
|
|
55
|
-
import "./targets-
|
|
55
|
+
import "./targets-DskkhJAp.js";
|
|
56
56
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
57
|
-
import "./resolve-route-
|
|
57
|
+
import "./resolve-route-B7vZ3nKp.js";
|
|
58
58
|
import "./render-Bwu_WxwA.js";
|
|
59
|
-
import "./tables-
|
|
59
|
+
import "./tables-CVDOT5dX.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-Bmtz9ICm.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-B1KciKmw.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-CXLEOrJX.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-DWXHX-jt.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-BLknHFGz.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-DutIeFge.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-DI5226U8.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-CZBahREg.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-BLknHFGz.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-Cg6PYSHR.js";
|
|
2
|
+
import "./runtime-BLknHFGz.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-DutIeFge.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-DI5226U8.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-CUGEhiUa.js";
|
|
23
|
+
import "./helpers-BCZ9d3fl.js";
|
|
24
|
+
import "./wsl-JwmI6Zu8.js";
|
|
25
|
+
import "./pairing-store-D7I1Qmiw.js";
|
|
26
|
+
import "./chunk-CSUjIQSx.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-BEBP4VFJ.js";
|
|
35
|
+
import "./image-ops-B-QR_M9Z.js";
|
|
36
|
+
import "./wallet-status-CQI89c_6.js";
|
|
37
|
+
import "./pi-model-discovery-C5klknQZ.js";
|
|
38
|
+
import "./runtime-dependency-C5rJfC0u.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-B1Tx7c77.js";
|
|
43
|
+
import "./media-BwsqooWC.js";
|
|
44
|
+
import "./send-Bd3Z-jAd.js";
|
|
45
|
+
import "./outbound-attachment-L1q40kiu.js";
|
|
46
46
|
import "./fetch-Cu-ahkie.js";
|
|
47
|
-
import "./thread-bindings.state-
|
|
47
|
+
import "./thread-bindings.state-ssxdG7xV.js";
|
|
48
48
|
import "./memory-search-C3C0bD2H.js";
|
|
49
|
-
import "./manager-
|
|
49
|
+
import "./manager-Dhq3SXpO.js";
|
|
50
50
|
import "./query-expansion-Zr9qQixm.js";
|
|
51
|
-
import "./common-
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./skill-commands-
|
|
51
|
+
import "./common-Cjm8psuW.js";
|
|
52
|
+
import "./commands-registry-DJ0pfCcY.js";
|
|
53
|
+
import "./skill-commands-BybEjJ1_.js";
|
|
54
54
|
import "./directory-live-DatqU-eS.js";
|
|
55
|
-
import "./targets-
|
|
55
|
+
import "./targets-DskkhJAp.js";
|
|
56
56
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
57
|
-
import "./resolve-route-
|
|
57
|
+
import "./resolve-route-B7vZ3nKp.js";
|
|
58
58
|
import "./render-Bwu_WxwA.js";
|
|
59
|
-
import "./tables-
|
|
59
|
+
import "./tables-CVDOT5dX.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-BLknHFGz.js";
|
|
3
3
|
import { C as isPlainObject, o as escapeRegExp } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import { Jt as resolveConfiguredModelRef, ar as DEFAULT_MODEL, er as listThinkingLevels, or as DEFAULT_PROVIDER } from "./config-
|
|
4
|
+
import { Jt as resolveConfiguredModelRef, ar as DEFAULT_MODEL, er as listThinkingLevels, or as DEFAULT_PROVIDER } from "./config-DutIeFge.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-B-QR_M9Z.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/media/base64.ts
|
|
@@ -11121,7 +11121,13 @@ const ANTHROPIC_MODELS = [
|
|
|
11121
11121
|
reasoning: true,
|
|
11122
11122
|
input: ["text", "image"],
|
|
11123
11123
|
contextWindow: 1e6,
|
|
11124
|
-
maxTokens: 128e3
|
|
11124
|
+
maxTokens: 128e3,
|
|
11125
|
+
cost: {
|
|
11126
|
+
input: 10,
|
|
11127
|
+
output: 50,
|
|
11128
|
+
cacheRead: 1,
|
|
11129
|
+
cacheWrite: 12.5
|
|
11130
|
+
}
|
|
11125
11131
|
}),
|
|
11126
11132
|
model({
|
|
11127
11133
|
id: "claude-opus-4-8",
|
|
@@ -11129,7 +11135,13 @@ const ANTHROPIC_MODELS = [
|
|
|
11129
11135
|
reasoning: true,
|
|
11130
11136
|
input: ["text", "image"],
|
|
11131
11137
|
contextWindow: 1e6,
|
|
11132
|
-
maxTokens: 128e3
|
|
11138
|
+
maxTokens: 128e3,
|
|
11139
|
+
cost: {
|
|
11140
|
+
input: 5,
|
|
11141
|
+
output: 25,
|
|
11142
|
+
cacheRead: .5,
|
|
11143
|
+
cacheWrite: 6.25
|
|
11144
|
+
}
|
|
11133
11145
|
}),
|
|
11134
11146
|
model({
|
|
11135
11147
|
id: "claude-sonnet-5",
|
|
@@ -11137,7 +11149,13 @@ const ANTHROPIC_MODELS = [
|
|
|
11137
11149
|
reasoning: true,
|
|
11138
11150
|
input: ["text", "image"],
|
|
11139
11151
|
contextWindow: 1e6,
|
|
11140
|
-
maxTokens: 128e3
|
|
11152
|
+
maxTokens: 128e3,
|
|
11153
|
+
cost: {
|
|
11154
|
+
input: 2,
|
|
11155
|
+
output: 10,
|
|
11156
|
+
cacheRead: .2,
|
|
11157
|
+
cacheWrite: 2.5
|
|
11158
|
+
}
|
|
11141
11159
|
}),
|
|
11142
11160
|
model({
|
|
11143
11161
|
id: "claude-haiku-4-5",
|