@fased/fased 0.1.61 → 0.1.64
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/CHANGELOG.md +43 -0
- package/README.md +38 -30
- package/config/dependency-ownership.json +1 -1
- package/config/signer-policies/README.md +49 -0
- package/config/signer-policies/agent.json.template +32 -0
- package/config/signer-policies/mining.json.template +69 -0
- package/config/signer-policies/network.json.template +5 -0
- package/config/signer-policies/vault.json.template +70 -0
- package/config/signer-protocol-v2.json +76 -0
- package/config/typescript-noemit-baseline.json +680 -0
- 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 +269 -33
- package/dist/agents/bash-tools.exec.js +10 -4
- package/dist/agents/bash-tools.shared.js +2 -2
- package/dist/agents/cli-credentials.js +4 -4
- package/dist/agents/current-model-catalog.js +3 -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/memory-search.js +7 -1
- package/dist/agents/model-catalog-access.js +1 -2
- package/dist/agents/model-catalog-snapshot.js +1 -1
- package/dist/agents/model-catalog-source.js +1 -1
- package/dist/agents/model-metadata.js +1 -1
- package/dist/agents/model-selection.js +2 -28
- package/dist/agents/models-config.providers.js +6 -6
- package/dist/agents/openai-codex-app-server.js +5 -5
- package/dist/agents/pi-embedded-runner/compact.js +15 -7
- package/dist/agents/pi-embedded-runner/model.js +1 -1
- package/dist/agents/pi-embedded-runner/run/attempt.js +24 -13
- package/dist/agents/pi-embedded-runner/run.js +2 -0
- package/dist/agents/pi-embedded-runner/tool-split.js +40 -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/pi-tool-definition-adapter.js +16 -1
- package/dist/agents/pi-tools.js +2 -1
- package/dist/agents/sandbox/config.js +1 -1
- package/dist/agents/sandbox/context.js +27 -2
- 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/env-overrides.js +38 -28
- package/dist/agents/skills/local-loader.js +6 -6
- package/dist/agents/skills/plugin-skills.js +2 -2
- package/dist/agents/skills/trust.js +93 -0
- package/dist/agents/skills/workspace.js +141 -13
- package/dist/agents/skills-clawhub.js +36 -11
- 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-marketplace-scan.js +49 -0
- 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/tools/marketplace-offer-draft-tool.js +1 -1
- package/dist/agents/tools/mining-tool.js +1 -1
- package/dist/agents/tools/session-status-tool.js +1 -1
- package/dist/agents/tools/wallet-action-tool.js +172 -36
- package/dist/agents/tools/wallet-skill-policy.js +65 -23
- package/dist/agents/tools/wallet-tool.js +7 -11
- 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/directive-handling.fast-lane.js +2 -1
- package/dist/auto-reply/reply/directive-handling.impl.js +2 -1
- package/dist/auto-reply/reply/directive-handling.model.js +2 -1
- package/dist/auto-reply/reply/directive-handling.persist.js +2 -2
- package/dist/auto-reply/reply/get-reply-directives-apply.js +2 -0
- package/dist/auto-reply/reply/get-reply-inline-actions.js +25 -1
- package/dist/auto-reply/reply/model-selection.js +7 -4
- 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-reset-model.js +4 -4
- 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/channel-web.js +2 -2
- 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 +10 -2
- package/dist/cli/hooks-cli.js +5 -5
- package/dist/cli/lightweight/gateway-runtime-probe.js +2 -2
- 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/program/command-registry.js +1 -1
- package/dist/cli/program/register.onboard.js +2 -3
- package/dist/cli/program/register.wallet.js +16 -123
- package/dist/cli/providers-cli.js +1 -1
- package/dist/cli/sat-cli.js +129 -2
- package/dist/cli/secrets-cli.js +3 -3
- package/dist/cli/update-cli/update-command.js +260 -11
- package/dist/cli/windows-argv.js +2 -2
- package/dist/commands/auth-choice.apply.api-providers.js +3 -3
- package/dist/commands/dashboard-link.js +3 -3
- package/dist/commands/doctor-config-flow.js +1 -1
- package/dist/commands/doctor-install.js +5 -5
- package/dist/commands/doctor-legacy-config.js +2 -13
- 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/model-picker.js +6 -6
- package/dist/commands/models/auth.js +1 -1
- package/dist/commands/onboard-auth.config-gateways.js +1 -1
- package/dist/commands/onboard-auth.credentials.js +35 -11
- package/dist/commands/onboard-non-interactive/local/wallet-config.js +28 -27
- package/dist/commands/onboard-non-interactive/local.js +5 -1
- 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 +570 -1913
- package/dist/config/cache-utils.js +2 -2
- package/dist/config/config.js +2 -2
- package/dist/config/includes.js +5 -5
- package/dist/config/io.js +66 -4
- package/dist/config/paths.js +3 -3
- package/dist/config/sat-runtime-ids.js +3 -3
- package/dist/config/schema.help.js +8 -7
- package/dist/config/schema.labels.js +5 -4
- 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/config/zod-schema.agent-runtime.js +1 -0
- package/dist/config/zod-schema.js +5 -0
- package/dist/control-ui/assets/{app-BXA4gPvN.js → app-bR-fO5ty.js} +1511 -1555
- package/dist/control-ui/assets/{config-CU5Zi8Dh.js → config-LeImukCW.js} +10 -10
- package/dist/control-ui/assets/{federation-D10Q4eP_.js → federation-DgA9e-Pn.js} +364 -422
- package/dist/control-ui/assets/{index-D2QbJhVg.js → index-ckCxHwjy.js} +3 -3
- package/dist/control-ui/assets/{mining-BdhMn18r.js → mining-BgHFh0ei.js} +134 -114
- package/dist/control-ui/assets/mining-commit-DFpB_4JN.js +2 -0
- package/dist/control-ui/assets/{open-external-url-DwSiwMPl.js → open-external-url-ulF1B-sA.js} +3 -3
- package/dist/control-ui/assets/{providers-QMn4w2_f.js → providers-CIx9fxc6.js} +2 -2
- package/dist/control-ui/assets/{wallet-C2g294QT.js → wallet-DvStR_AT.js} +259 -377
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/version.json +1 -1
- package/dist/cron/service/store.js +2 -2
- package/dist/cron/store.js +6 -6
- package/dist/daemon/systemd-system.js +60 -54
- package/dist/discord/monitor/thread-bindings.state.js +2 -2
- package/dist/extensions/sat-mining/src/protocol-contract.js +43 -3
- package/dist/extensions/sat-mining/src/rpc-read.js +235 -67
- package/dist/extensions/sat-mining/src/sat-bond-layout.js +14 -11
- package/dist/extensions/sat-mining/src/signer-codec-manifest.js +406 -0
- package/dist/extensions/sat-mining/src/solana-submit.js +1038 -397
- package/dist/extensions/sat-mining/src/submission-ledger.js +349 -0
- package/dist/federation/auto-connect.js +98 -8
- package/dist/federation/marketplace-capability-adapter.js +33 -7
- package/dist/federation/marketplace-delivery-outbox.js +196 -0
- package/dist/federation/marketplace-delivery.js +351 -215
- package/dist/federation/marketplace-direct-payment.js +272 -141
- package/dist/federation/marketplace-escrow.js +607 -249
- package/dist/federation/marketplace-settlement-ledger.js +352 -0
- package/dist/federation/offers.js +9 -7
- package/dist/federation/peer-auth-v2.js +529 -0
- package/dist/gateway/a2a-http.js +425 -96
- package/dist/gateway/a2a-settlement.js +259 -153
- package/dist/gateway/a2a-task-store.js +524 -0
- package/dist/gateway/auth.js +38 -2
- package/dist/gateway/config-reload.js +46 -33
- 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/durable-capacity.js +31 -0
- package/dist/gateway/federation-http.js +540 -135
- package/dist/gateway/federation-marketplace-run-store.js +397 -0
- package/dist/gateway/federation-marketplace.js +535 -230
- package/dist/gateway/hooks-mapping.js +4 -4
- package/dist/gateway/mutating-admin-rpc-rate-limit.js +5 -0
- package/dist/gateway/security-path.js +1 -1
- package/dist/gateway/server-discovery.js +2 -2
- package/dist/gateway/server-http.js +1088 -1209
- package/dist/gateway/server-methods/chat.js +3 -3
- package/dist/gateway/server-methods/models.js +1 -1
- package/dist/gateway/server-methods/secrets.js +40 -0
- package/dist/gateway/server-methods/sessions.js +6 -6
- package/dist/gateway/server-methods/usage.js +2 -2
- package/dist/gateway/server-methods.js +1 -2
- package/dist/gateway/server-reload-handlers.js +196 -66
- package/dist/gateway/server-runtime-config.js +1 -1
- package/dist/gateway/server-secrets-runtime.js +288 -0
- package/dist/gateway/server.impl.js +73 -42
- 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/gateway/sessions-patch.js +3 -5
- 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/index.js +4 -2
- 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/fasedhub.js +64 -1
- 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/local-source-paired-update.js +538 -0
- package/dist/infra/managed-runtime-bootstrap.js +6 -6
- 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/restart.js +41 -10
- 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/update-runner.js +96 -0
- package/dist/infra/widearea-dns.js +3 -3
- package/dist/infra/wsl.js +2 -2
- package/dist/light-update-status.js +11 -11
- 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/backend-config.js +2 -1
- 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/memory/session-files.js +16 -2
- 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-DxblobYM.js → accounts-Brn3-uWN.js} +1 -1
- package/dist/plugin-sdk/{actions-D4UNimWa.js → actions-DRu135h0.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CFuy106s.js → active-listener-B_NMtgPL.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-Bv0hUOWL.js → audio-preflight-BYxAt775.js} +27 -27
- package/dist/plugin-sdk/{audit-Cs0K7LBp.js → audit-C5d2z5U1.js} +1 -1
- package/dist/plugin-sdk/{channel-access-D5aHoTY8.js → channel-access-CcFRdRPO.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-Dvch9mMQ.js → channel-access-configure-DaI5wevh.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.d.ts +3 -3
- package/dist/plugin-sdk/channel-plugin-common.js +4 -4
- package/dist/plugin-sdk/{chunk-B0FUGc5A.js → chunk-CyoyqpbG.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-Bk--NU3E.js → chunk-items-DIRHG2gJ.js} +1 -1
- package/dist/plugin-sdk/command-status.d.ts +2 -2
- package/dist/plugin-sdk/command-status.js +27 -27
- package/dist/plugin-sdk/{commands-registry-DmDRhRAU.js → commands-registry-BfqdEWdF.js} +2 -2
- package/dist/plugin-sdk/{common-CfUOowOp.js → common-HCcXU-NR.js} +1 -1
- package/dist/plugin-sdk/{config-mxULv0fQ.js → config-DlWVeLFB.js} +7113 -6877
- package/dist/plugin-sdk/{config-schema-CGW6J3Pv.js → config-schema-BOT7kHb6.js} +6779 -3696
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +5 -5
- package/dist/plugin-sdk/discord.js +19 -19
- package/dist/plugin-sdk/file-lock.js +35 -4
- package/dist/plugin-sdk/{filesystem-manager-ZoHU8oA7.js → filesystem-manager-DoI8IBNF.js} +1 -1
- package/dist/plugin-sdk/{group-mentions-BHRff6j8.d.ts → group-mentions-q3hUTCt7.d.ts} +1 -1
- package/dist/plugin-sdk/{handle-action-DbVCF9HZ.js → handle-action-hvwapMKg.js} +13 -13
- package/dist/plugin-sdk/{helpers-BXbdgs5H.js → helpers-DMBU4oTo.js} +1 -1
- package/dist/plugin-sdk/{image-ops-D7jPxaph.js → image-ops-DQi0n_Tt.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +9 -27
- package/dist/plugin-sdk/index.js +29 -29
- package/dist/plugin-sdk/json-store.js +6 -6
- package/dist/plugin-sdk/{login-BRxww6nv.js → login-Ca583Okc.js} +3 -3
- package/dist/plugin-sdk/{login-qr-DJXsk9XH.js → login-qr-CGciBSNP.js} +3 -3
- package/dist/plugin-sdk/{manager-Y2S_5IlI.js → manager-BegWxNYX.js} +4 -4
- package/dist/plugin-sdk/{markdown-tables-DHLFQqaF.js → markdown-tables-DCOXEUfZ.js} +1 -1
- package/dist/plugin-sdk/{media-Czo4carg.js → media-CAdQF5TG.js} +47 -47
- package/dist/plugin-sdk/{memory-search-DTjIMw8J.js → memory-search-CrFPOeTH.js} +4 -1
- package/dist/plugin-sdk/{monitor-B9Cmt_Je.js → monitor-BCFDaqJ-.js} +31 -31
- package/dist/plugin-sdk/{monitor-B71iwAgC.js → monitor-BgbjRiPM.js} +32 -32
- package/dist/plugin-sdk/{openresponses-http-Du4GMmwo.js → openresponses-http-DFf87SMM.js} +27 -27
- package/dist/plugin-sdk/{optional-runtime-dependency-DdMbxS24.js → optional-runtime-dependency-0dznm3ZO.js} +1 -1
- package/dist/plugin-sdk/{outbound-Db8mRN6P.js → outbound-BgVDdHxx.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-BqFjcypb.js → outbound-attachment-QqTnIhZL.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-BMkkS038.d.ts → pairing-message-CS-9BHug.d.ts} +2 -2
- package/dist/plugin-sdk/{pairing-message-B3GC_7CD.js → pairing-message-D0CoLHRJ.js} +1 -1
- package/dist/plugin-sdk/{pairing-store-CQikgIbw.js → pairing-store-BChahgI2.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-CY3m5zJP.js → pi-model-discovery-BX_JLcEJ.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DSh1T2pn.js → pi-model-discovery-runtime-DxTMz_XF.js} +2 -2
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +2 -2
- package/dist/plugin-sdk/{pw-ai-AFUqn-tQ.js → pw-ai-natjh3rm.js} +3 -3
- package/dist/plugin-sdk/{qmd-manager-DSyx77KY.js → qmd-manager-CgRaTxUq.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-CAI2kKLQ.js → query-expansion-BG3FgzF7.js} +14 -3
- package/dist/plugin-sdk/{replies-Fzh9PhXl.js → replies-ChYo5ZQM.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-KpF3co6T.js → resolve-outbound-target-D-KGgHJZ.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-CDl74O19.js → resolve-route-C8tvQm8Z.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-D4uiqUOG.js → retry-policy-C6SjKjQA.js} +1 -1
- package/dist/plugin-sdk/{runtime-Bb6KRnCC.js → runtime-2B9_WKoI.js} +8 -3
- package/dist/plugin-sdk/{runtime-dependency-DLDmB94f.js → runtime-dependency-DczkvPxn.js} +2 -2
- package/dist/plugin-sdk/sat-runtime.d.ts +549 -309
- package/dist/plugin-sdk/sat-runtime.js +29 -29
- package/dist/plugin-sdk/{send-C4k4JuJN.js → send-B6KkGKZD.js} +6 -6
- package/dist/plugin-sdk/{send-D-uDKGIq.js → send-CFzGKJXo.js} +6 -6
- package/dist/plugin-sdk/{send-Du8ykP1k.js → send-DCO441U7.js} +8 -8
- package/dist/plugin-sdk/{send-5nFktR1n.js → send-gDoGA-7e.js} +5 -5
- package/dist/plugin-sdk/{send-Bfzf11VY.js → send-q9HXrSwK.js} +7 -7
- package/dist/plugin-sdk/{session-CS-Td9EM.js → session-DHD4ZKyG.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-CFAlXWHk.js → skill-commands-FKEPLS7T.js} +201 -26
- package/dist/plugin-sdk/{slack-D_bbE6Yd.js → slack-BUTt8cxK.js} +39 -39
- package/dist/plugin-sdk/{slack-actions-BcMkNv1Z.js → slack-actions-DhbMcp8M.js} +11 -11
- package/dist/plugin-sdk/slack.d.ts +5 -5
- package/dist/plugin-sdk/slack.js +9 -9
- package/dist/plugin-sdk/{sticker-cache-Dqo9nRhi.js → sticker-cache-D0wHVqjt.js} +3 -3
- package/dist/plugin-sdk/{tables-bFXyRpkx.js → tables-B3jr0Pvq.js} +1 -1
- package/dist/plugin-sdk/{targets-DH7a9lKB.js → targets-CtSbTxYX.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-Cnag7JTH.js → telegram-actions-CC_qN4v0.js} +30 -30
- package/dist/plugin-sdk/telegram.d.ts +5 -5
- package/dist/plugin-sdk/telegram.js +8 -8
- package/dist/plugin-sdk/{thread-bindings.lifecycle-CgOvvdw8.js → thread-bindings.lifecycle-QbkNl-m6.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-CQpk44Hq.js → thread-bindings.state-D9hg_M1c.js} +2 -2
- package/dist/plugin-sdk/tmp-fased-dir-xOTGlzBE.d.ts +486 -0
- package/dist/plugin-sdk/{types-CLIvQaVg.d.ts → types-C3avNytw.d.ts} +3 -4
- package/dist/plugin-sdk/{types-DyhXnYUr.d.ts → types-D0kDG8l0.d.ts} +3 -2
- package/dist/plugin-sdk/{types-BYDL6dQj.d.ts → types-DWfbSAaM.d.ts} +2 -2
- package/dist/plugin-sdk/{types.plugin-_fbu40Re.d.ts → types.plugin-BcSBq42x.d.ts} +8 -3
- package/dist/plugin-sdk/{web-BInKQkc4.js → web-BXsJ1vqe.js} +32 -32
- package/dist/plugin-sdk/{whatsapp-actions-BtSc2CBv.js → whatsapp-actions-Bj_rOncr.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-Bg9TuYzl.js → whatsapp-heartbeat-B1WHkJIg.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +5 -5
- package/dist/plugin-sdk/whatsapp.js +12 -12
- package/dist/plugin-sdk/{wsl-C4DGFkOd.js → wsl-J-HscWxS.js} +3 -3
- 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/providers/refresh.js +1 -1
- package/dist/providers/registry.js +1 -1
- package/dist/secrets/apply.js +17 -17
- package/dist/secrets/audit.js +11 -11
- package/dist/secrets/runtime.js +1 -1
- 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/external-submission-ledger.js +376 -0
- package/dist/wallet/legacy-embedded-keystore.js +40 -0
- package/dist/wallet/local-socket-signer-archive.js +30 -0
- package/dist/wallet/local-socket-signer-lifecycle.js +97 -0
- package/dist/wallet/local-socket-signer-policy.js +166 -0
- package/dist/wallet/local-socket-signer-protocol.js +561 -118
- package/dist/wallet/native-signer-wallet-id.js +25 -0
- package/dist/wallet/providers/alchemy-adapter.js +3 -0
- package/dist/wallet/providers/local-socket-signer-adapter.js +382 -107
- package/dist/wallet/providers/turnkey-adapter.js +292 -34
- package/dist/wallet/providers/wallet-standard-adapter.js +100 -0
- package/dist/wallet/signer-network-admin.js +184 -0
- package/dist/wallet/signer-protocol-v2.generated.js +90 -0
- package/dist/wallet/solana-bond-signing.js +157 -69
- package/dist/wallet/solana-reviewed-transaction.js +375 -0
- package/dist/wallet/solana-swap.js +520 -64
- package/dist/wallet/solana-transaction-inspection.js +106 -4
- package/dist/wallet/solana-trigger.js +658 -320
- package/dist/wallet/turnkey-reviewed-state.js +370 -0
- package/dist/wallet/wallet-approval-auth.js +20 -31
- package/dist/wallet/wallet-atomic-state.js +53 -0
- package/dist/wallet/wallet-audit-log.js +5 -5
- package/dist/wallet/wallet-canary.js +0 -1
- package/dist/wallet/wallet-inbound-events.js +19 -14
- package/dist/wallet/wallet-observability.js +5 -5
- package/dist/wallet/wallet-policy-simulation.js +1 -1
- package/dist/wallet/wallet-policy.js +95 -41
- package/dist/wallet/wallet-provider-capabilities.js +28 -4
- package/dist/wallet/wallet-provider-registry.js +64 -51
- package/dist/wallet/wallet-provider-resolver.js +62 -63
- package/dist/wallet/wallet-runtime-config.js +31 -44
- package/dist/wallet/wallet-secrets-store.js +44 -22
- package/dist/wallet/wallet-send-approvals.js +1894 -592
- package/dist/wallet/wallet-send-execution-ledger.js +292 -0
- package/dist/wallet/wallet-settlement-links.js +17 -16
- package/dist/wallet/wallet-standard-review.js +353 -0
- package/dist/wallet/wallet-status.js +0 -9
- package/dist/wallet/wallet-task-ledger.js +16 -2
- package/dist/web/accounts.js +3 -3
- package/dist/web/auth-store.js +18 -18
- package/dist/web/auto-reply/heartbeat-runner.js +1 -1
- package/dist/web/auto-reply/monitor.js +2 -2
- package/dist/web/session.js +4 -4
- package/dist/wizard/host-security-capability.js +15 -24
- package/dist/wizard/onboarding.finalize.js +63 -184
- package/dist/wizard/onboarding.host-security.js +118 -1368
- package/dist/wizard/onboarding.js +180 -242
- package/dist/wizard/onboarding.wallet.js +323 -829
- 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/index.ts +498 -153
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/sat-mining/signer-codec-schema.v1.json +374 -0
- package/extensions/sat-mining/src/audit-store.ts +50 -5
- package/extensions/sat-mining/src/claim-service.ts +85 -14
- package/extensions/sat-mining/src/config.ts +9 -0
- package/extensions/sat-mining/src/cycle-progress.ts +16 -8
- package/extensions/sat-mining/src/epoch-service.ts +9 -5
- package/extensions/sat-mining/src/gateway-runner.ts +21 -1
- package/extensions/sat-mining/src/protocol-contract.ts +45 -1
- package/extensions/sat-mining/src/recovery-service.ts +312 -0
- package/extensions/sat-mining/src/round-watcher.ts +391 -81
- package/extensions/sat-mining/src/rpc-read.ts +330 -89
- package/extensions/sat-mining/src/runtime.ts +14 -0
- package/extensions/sat-mining/src/sat-bond-layout.ts +6 -0
- package/extensions/sat-mining/src/signer-codec-manifest.ts +429 -0
- package/extensions/sat-mining/src/solana-submit.ts +1199 -428
- package/extensions/sat-mining/src/submission-ledger.ts +433 -0
- 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/install.sh +4955 -0
- package/package.json +24 -5
- package/scripts/fased-host-updater.mjs +1421 -0
- package/scripts/fased-host-updaterctl.mjs +186 -0
- package/scripts/fased-managed-service.sh +36 -0
- package/scripts/fased-managed-updater.mjs +3065 -156
- package/scripts/fased-signer-enroll-hosting.sh +275 -0
- package/scripts/fased-signer-network-hosting.sh +143 -0
- package/scripts/fased-signer-owner-policy.mjs +1430 -0
- package/scripts/fased-signer-policy-hosting.sh +50 -0
- package/scripts/fased-signer-policy-local.sh +26 -0
- package/scripts/hosted-release-manifest.mjs +185 -0
- package/scripts/install-fased-signerd.sh +217 -0
- package/scripts/install-managed-runtime.mjs +212 -10
- package/scripts/managed-runtime-layout.mjs +75 -3
- package/scripts/migrate-hosted-signer-v2.mjs +58 -0
- package/scripts/start-managed.sh +169 -360
- package/dist/control-ui/assets/mining-commit-R-6nu87p.js +0 -2
- package/dist/plugin-sdk/tmp-fased-dir-BdFQvrvw.d.ts +0 -77
- package/dist/wallet/local-socket-signer-broker.js +0 -224
- package/dist/wallet/local-socket-signer-custody.js +0 -42
- package/dist/wallet/providers/embedded-keystore-adapter.js +0 -402
- package/dist/wallet/providers/privy-adapter.js +0 -80
- package/dist/wallet/wallet-custody.js +0 -1836
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as FasedAgentConfig, Bt as WalletProviderId, Ht as WalletRuntimeMode, Lt as WalletAuthMode, Rt as WalletChain, Ut as WalletToolAccessMode, Vt as WalletRuntimeKind, _n as GatewayClientMode, s as loadConfig, vn as GatewayClientName, zt as WalletExecutionMode } from "./types.plugin-
|
|
2
|
-
import { A as createSubsystemLogger, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-
|
|
3
|
-
import { a as resolveAgentDir, i as resolveAgentConfig, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-
|
|
1
|
+
import { At as FasedAgentConfig, Bt as WalletProviderId, Ht as WalletRuntimeMode, Lt as WalletAuthMode, Rt as WalletChain, Ut as WalletToolAccessMode, Vt as WalletRuntimeKind, _n as GatewayClientMode, s as loadConfig, vn as GatewayClientName, zt as WalletExecutionMode } from "./types.plugin-BcSBq42x.js";
|
|
2
|
+
import { A as createSubsystemLogger, H as resolveStateDir, V as resolveGatewayPort, g as ErrorShape, i as OperatorScope, n as AuthProfileStore, u as RespondFn } from "./types-C3avNytw.js";
|
|
3
|
+
import { a as resolveAgentDir, c as WalletProviderAdapter, f as FileLockOptions, i as resolveAgentConfig, l as WalletProviderJupiterReviewV2, m as withFileLock, n as fetchWithSsrFGuard$1, o as resolveAgentEffectiveModelPrimary, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir, u as WalletProviderSignerIntentV2 } from "./tmp-fased-dir-xOTGlzBE.js";
|
|
4
4
|
import { Api, Model } from "@mariozechner/pi-ai";
|
|
5
5
|
import { AuthStorage, ModelRegistry } from "@mariozechner/pi-coding-agent";
|
|
6
6
|
import * as _sinclair_typebox0 from "@sinclair/typebox";
|
|
@@ -240,85 +240,186 @@ declare function fetchSolanaWalletAssetsViaRpc(params: {
|
|
|
240
240
|
}): Promise<SolanaWalletAsset[]>;
|
|
241
241
|
//#endregion
|
|
242
242
|
//#region src/wallet/local-socket-signer-protocol.d.ts
|
|
243
|
+
declare const LOCAL_SIGNER_NATIVE_FEE_RESERVATION_LAMPORTS_V2 = 5000000;
|
|
243
244
|
declare const LocalSocketSignerRequestSchema: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TObject<{
|
|
244
245
|
op: _sinclair_typebox0.TLiteral<"health">;
|
|
245
246
|
}>, _sinclair_typebox0.TObject<{
|
|
246
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
247
|
-
walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
247
|
+
op: _sinclair_typebox0.TLiteral<"v2.capabilities">;
|
|
248
248
|
}>, _sinclair_typebox0.TObject<{
|
|
249
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
op: _sinclair_typebox0.TLiteral<"v2.jupiter.trigger.history">;
|
|
250
|
+
walletId: _sinclair_typebox0.TString;
|
|
251
|
+
}>, _sinclair_typebox0.TObject<{
|
|
252
|
+
op: _sinclair_typebox0.TLiteral<"v2.policy.get">;
|
|
253
|
+
walletId: _sinclair_typebox0.TString;
|
|
252
254
|
}>, _sinclair_typebox0.TObject<{
|
|
253
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
255
|
+
op: _sinclair_typebox0.TLiteral<"v2.policy.put">;
|
|
256
|
+
walletId: _sinclair_typebox0.TString;
|
|
254
257
|
request: _sinclair_typebox0.TObject<{
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
258
|
+
expectedVersion: _sinclair_typebox0.TInteger;
|
|
259
|
+
policy: _sinclair_typebox0.TObject<{
|
|
260
|
+
walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
261
|
+
role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
|
|
262
|
+
version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
|
|
263
|
+
operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
264
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
265
|
+
assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
266
|
+
asset: _sinclair_typebox0.TString;
|
|
267
|
+
destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
268
|
+
maxPerTx: _sinclair_typebox0.TString;
|
|
269
|
+
maxDaily: _sinclair_typebox0.TString;
|
|
270
|
+
}>>;
|
|
271
|
+
hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
272
|
+
}>;
|
|
268
273
|
}>;
|
|
269
274
|
}>, _sinclair_typebox0.TObject<{
|
|
270
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
275
|
+
op: _sinclair_typebox0.TLiteral<"v2.policy.tighten">;
|
|
276
|
+
walletId: _sinclair_typebox0.TString;
|
|
271
277
|
request: _sinclair_typebox0.TObject<{
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
278
|
+
expectedVersion: _sinclair_typebox0.TInteger;
|
|
279
|
+
policy: _sinclair_typebox0.TObject<{
|
|
280
|
+
walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
281
|
+
role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
|
|
282
|
+
version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
|
|
283
|
+
operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
284
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
285
|
+
assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
286
|
+
asset: _sinclair_typebox0.TString;
|
|
287
|
+
destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
288
|
+
maxPerTx: _sinclair_typebox0.TString;
|
|
289
|
+
maxDaily: _sinclair_typebox0.TString;
|
|
290
|
+
}>>;
|
|
291
|
+
hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
292
|
+
}>;
|
|
285
293
|
}>;
|
|
286
294
|
}>, _sinclair_typebox0.TObject<{
|
|
287
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
295
|
+
op: _sinclair_typebox0.TLiteral<"v2.wallet.get">;
|
|
296
|
+
walletId: _sinclair_typebox0.TString;
|
|
297
|
+
}>, _sinclair_typebox0.TObject<{
|
|
298
|
+
op: _sinclair_typebox0.TLiteral<"v2.wallet.create">;
|
|
299
|
+
walletId: _sinclair_typebox0.TString;
|
|
288
300
|
request: _sinclair_typebox0.TObject<{
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
301
|
+
expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
|
|
302
|
+
policy: _sinclair_typebox0.TObject<{
|
|
303
|
+
walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
304
|
+
role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
|
|
305
|
+
version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
|
|
306
|
+
operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
307
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
308
|
+
assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
309
|
+
asset: _sinclair_typebox0.TString;
|
|
310
|
+
destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
311
|
+
maxPerTx: _sinclair_typebox0.TString;
|
|
312
|
+
maxDaily: _sinclair_typebox0.TString;
|
|
313
|
+
}>>;
|
|
314
|
+
hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
315
|
+
}>;
|
|
302
316
|
}>;
|
|
303
317
|
}>, _sinclair_typebox0.TObject<{
|
|
304
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
318
|
+
op: _sinclair_typebox0.TLiteral<"v2.wallet.import">;
|
|
319
|
+
walletId: _sinclair_typebox0.TString;
|
|
305
320
|
request: _sinclair_typebox0.TObject<{
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
321
|
+
expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
|
|
322
|
+
policy: _sinclair_typebox0.TObject<{
|
|
323
|
+
walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
324
|
+
role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
|
|
325
|
+
version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
|
|
326
|
+
operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
327
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
328
|
+
assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
329
|
+
asset: _sinclair_typebox0.TString;
|
|
330
|
+
destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
331
|
+
maxPerTx: _sinclair_typebox0.TString;
|
|
332
|
+
maxDaily: _sinclair_typebox0.TString;
|
|
333
|
+
}>>;
|
|
334
|
+
hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
335
|
+
}>;
|
|
336
|
+
path: _sinclair_typebox0.TString;
|
|
314
337
|
}>;
|
|
315
338
|
}>, _sinclair_typebox0.TObject<{
|
|
316
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
339
|
+
op: _sinclair_typebox0.TLiteral<"v2.wallet.importLegacy">;
|
|
340
|
+
walletId: _sinclair_typebox0.TString;
|
|
317
341
|
request: _sinclair_typebox0.TObject<{
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
instructions: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
342
|
+
expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
|
|
343
|
+
policy: _sinclair_typebox0.TObject<{
|
|
321
344
|
walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
345
|
+
role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
|
|
346
|
+
version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
|
|
347
|
+
operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
348
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
349
|
+
assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
350
|
+
asset: _sinclair_typebox0.TString;
|
|
351
|
+
destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
352
|
+
maxPerTx: _sinclair_typebox0.TString;
|
|
353
|
+
maxDaily: _sinclair_typebox0.TString;
|
|
354
|
+
}>>;
|
|
355
|
+
hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
356
|
+
}>;
|
|
357
|
+
path: _sinclair_typebox0.TString;
|
|
358
|
+
passphrasePath: _sinclair_typebox0.TString;
|
|
359
|
+
}>;
|
|
360
|
+
}>, _sinclair_typebox0.TObject<{
|
|
361
|
+
op: _sinclair_typebox0.TLiteral<"v2.wallet.reencrypt">;
|
|
362
|
+
walletId: _sinclair_typebox0.TString;
|
|
363
|
+
}>, _sinclair_typebox0.TObject<{
|
|
364
|
+
op: _sinclair_typebox0.TLiteral<"v2.execute">;
|
|
365
|
+
walletId: _sinclair_typebox0.TString;
|
|
366
|
+
request: _sinclair_typebox0.TObject<{
|
|
367
|
+
requestId: _sinclair_typebox0.TString;
|
|
368
|
+
policyHash: _sinclair_typebox0.TString;
|
|
369
|
+
intent: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TObject<{
|
|
370
|
+
type: _sinclair_typebox0.TLiteral<"solana.nativeTransfer">;
|
|
371
|
+
destination: _sinclair_typebox0.TString;
|
|
372
|
+
lamports: _sinclair_typebox0.TString;
|
|
373
|
+
memo: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
374
|
+
}>, _sinclair_typebox0.TObject<{
|
|
375
|
+
type: _sinclair_typebox0.TLiteral<"solana.splTransferChecked">;
|
|
376
|
+
destination: _sinclair_typebox0.TString;
|
|
377
|
+
tokenProgram: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
378
|
+
mint: _sinclair_typebox0.TString;
|
|
379
|
+
amount: _sinclair_typebox0.TString;
|
|
380
|
+
memo: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
381
|
+
}>, _sinclair_typebox0.TObject<{
|
|
382
|
+
type: _sinclair_typebox0.TLiteral<"solana.satAction">;
|
|
383
|
+
action: _sinclair_typebox0.TString;
|
|
384
|
+
programId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
385
|
+
dataBase64: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
386
|
+
keys: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
387
|
+
pubkey: _sinclair_typebox0.TString;
|
|
388
|
+
isSigner: _sinclair_typebox0.TBoolean;
|
|
389
|
+
isWritable: _sinclair_typebox0.TBoolean;
|
|
390
|
+
}>>>;
|
|
391
|
+
context: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
392
|
+
targetAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
393
|
+
disputeAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
394
|
+
intervalStartCycleId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
395
|
+
registryPageIndex: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
396
|
+
minerAuthorities: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
397
|
+
frontCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
398
|
+
backCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
399
|
+
}>>;
|
|
400
|
+
instructions: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
401
|
+
action: _sinclair_typebox0.TString;
|
|
402
|
+
programId: _sinclair_typebox0.TString;
|
|
403
|
+
dataBase64: _sinclair_typebox0.TString;
|
|
404
|
+
keys: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
405
|
+
pubkey: _sinclair_typebox0.TString;
|
|
406
|
+
isSigner: _sinclair_typebox0.TBoolean;
|
|
407
|
+
isWritable: _sinclair_typebox0.TBoolean;
|
|
408
|
+
}>>;
|
|
409
|
+
context: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
410
|
+
targetAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
411
|
+
disputeAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
412
|
+
intervalStartCycleId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
413
|
+
registryPageIndex: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
414
|
+
minerAuthorities: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
415
|
+
frontCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
416
|
+
backCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
417
|
+
}>>;
|
|
418
|
+
}>>>;
|
|
419
|
+
}>, _sinclair_typebox0.TObject<{
|
|
420
|
+
type: _sinclair_typebox0.TLiteral<"solana.vaultBondAction">;
|
|
421
|
+
cluster: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"local">, _sinclair_typebox0.TLiteral<"devnet">, _sinclair_typebox0.TLiteral<"mainnet-beta">]>;
|
|
422
|
+
action: _sinclair_typebox0.TString;
|
|
322
423
|
programId: _sinclair_typebox0.TString;
|
|
323
424
|
dataBase64: _sinclair_typebox0.TString;
|
|
324
425
|
keys: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
@@ -326,136 +427,227 @@ declare const LocalSocketSignerRequestSchema: _sinclair_typebox0.TUnion<[_sincla
|
|
|
326
427
|
isSigner: _sinclair_typebox0.TBoolean;
|
|
327
428
|
isWritable: _sinclair_typebox0.TBoolean;
|
|
328
429
|
}>>;
|
|
430
|
+
context: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
431
|
+
targetAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
432
|
+
disputeAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
433
|
+
intervalStartCycleId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
434
|
+
registryPageIndex: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
435
|
+
minerAuthorities: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
436
|
+
frontCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
437
|
+
backCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
438
|
+
}>>;
|
|
439
|
+
}>, _sinclair_typebox0.TObject<{
|
|
440
|
+
type: _sinclair_typebox0.TLiteral<"federation.bondChallenge">;
|
|
441
|
+
federation: _sinclair_typebox0.TObject<{
|
|
442
|
+
challengeId: _sinclair_typebox0.TString;
|
|
443
|
+
federationOrigin: _sinclair_typebox0.TString;
|
|
444
|
+
handle: _sinclair_typebox0.TString;
|
|
445
|
+
nodeId: _sinclair_typebox0.TString;
|
|
446
|
+
tokenId: _sinclair_typebox0.TString;
|
|
447
|
+
bondId: _sinclair_typebox0.TString;
|
|
448
|
+
tier: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"none">, _sinclair_typebox0.TLiteral<"basic-bond">, _sinclair_typebox0.TLiteral<"operator-bond">]>;
|
|
449
|
+
amountRaw: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
450
|
+
expiresAt: _sinclair_typebox0.TString;
|
|
451
|
+
payloadBase64: _sinclair_typebox0.TString;
|
|
452
|
+
}>;
|
|
453
|
+
}>, _sinclair_typebox0.TObject<{
|
|
454
|
+
type: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"solana.jupiter.swap">, _sinclair_typebox0.TLiteral<"solana.jupiter.trigger.create">, _sinclair_typebox0.TLiteral<"solana.jupiter.trigger.cancel">]>;
|
|
455
|
+
jupiter: _sinclair_typebox0.TObject<{
|
|
456
|
+
owner: _sinclair_typebox0.TString;
|
|
457
|
+
inputMint: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
458
|
+
outputMint: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
459
|
+
inputAmount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
460
|
+
maxInputAmount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
461
|
+
minimumOutputAmount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
462
|
+
maxFeeLamports: _sinclair_typebox0.TString;
|
|
463
|
+
sourceTokenAccount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
464
|
+
destinationTokenAccount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
465
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
466
|
+
trigger: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
467
|
+
operation: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"create">, _sinclair_typebox0.TLiteral<"cancel">]>;
|
|
468
|
+
program: _sinclair_typebox0.TString;
|
|
469
|
+
order: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
470
|
+
triggerMint: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
471
|
+
condition: _sinclair_typebox0.TOptional<_sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"above">, _sinclair_typebox0.TLiteral<"below">]>>;
|
|
472
|
+
targetPriceUsd: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
473
|
+
slippageBps: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
|
|
474
|
+
expiresAt: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
475
|
+
expectedOrderState: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"new">, _sinclair_typebox0.TLiteral<"open">]>;
|
|
476
|
+
}>>;
|
|
477
|
+
}>;
|
|
478
|
+
}>]>;
|
|
479
|
+
}>;
|
|
480
|
+
}>, _sinclair_typebox0.TObject<{
|
|
481
|
+
op: _sinclair_typebox0.TLiteral<"v2.review.get">;
|
|
482
|
+
walletId: _sinclair_typebox0.TString;
|
|
483
|
+
request: _sinclair_typebox0.TObject<{
|
|
484
|
+
requestId: _sinclair_typebox0.TString;
|
|
485
|
+
}>;
|
|
486
|
+
}>, _sinclair_typebox0.TObject<{
|
|
487
|
+
op: _sinclair_typebox0.TLiteral<"v2.review.prepare">;
|
|
488
|
+
walletId: _sinclair_typebox0.TString;
|
|
489
|
+
request: _sinclair_typebox0.TObject<{
|
|
490
|
+
requestId: _sinclair_typebox0.TString;
|
|
491
|
+
policyHash: _sinclair_typebox0.TString;
|
|
492
|
+
mode: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"autonomous">, _sinclair_typebox0.TLiteral<"reviewed">]>;
|
|
493
|
+
intent: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TObject<{
|
|
494
|
+
type: _sinclair_typebox0.TLiteral<"solana.nativeTransfer">;
|
|
495
|
+
destination: _sinclair_typebox0.TString;
|
|
496
|
+
lamports: _sinclair_typebox0.TString;
|
|
497
|
+
memo: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
498
|
+
}>, _sinclair_typebox0.TObject<{
|
|
499
|
+
type: _sinclair_typebox0.TLiteral<"solana.splTransferChecked">;
|
|
500
|
+
destination: _sinclair_typebox0.TString;
|
|
501
|
+
tokenProgram: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
502
|
+
mint: _sinclair_typebox0.TString;
|
|
503
|
+
amount: _sinclair_typebox0.TString;
|
|
504
|
+
memo: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
505
|
+
}>, _sinclair_typebox0.TObject<{
|
|
506
|
+
type: _sinclair_typebox0.TLiteral<"solana.satAction">;
|
|
507
|
+
action: _sinclair_typebox0.TString;
|
|
508
|
+
programId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
509
|
+
dataBase64: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
510
|
+
keys: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
511
|
+
pubkey: _sinclair_typebox0.TString;
|
|
512
|
+
isSigner: _sinclair_typebox0.TBoolean;
|
|
513
|
+
isWritable: _sinclair_typebox0.TBoolean;
|
|
514
|
+
}>>>;
|
|
515
|
+
context: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
516
|
+
targetAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
517
|
+
disputeAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
518
|
+
intervalStartCycleId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
519
|
+
registryPageIndex: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
520
|
+
minerAuthorities: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
521
|
+
frontCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
522
|
+
backCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
523
|
+
}>>;
|
|
524
|
+
instructions: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
525
|
+
action: _sinclair_typebox0.TString;
|
|
526
|
+
programId: _sinclair_typebox0.TString;
|
|
527
|
+
dataBase64: _sinclair_typebox0.TString;
|
|
528
|
+
keys: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
529
|
+
pubkey: _sinclair_typebox0.TString;
|
|
530
|
+
isSigner: _sinclair_typebox0.TBoolean;
|
|
531
|
+
isWritable: _sinclair_typebox0.TBoolean;
|
|
532
|
+
}>>;
|
|
533
|
+
context: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
534
|
+
targetAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
535
|
+
disputeAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
536
|
+
intervalStartCycleId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
537
|
+
registryPageIndex: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
538
|
+
minerAuthorities: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
539
|
+
frontCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
540
|
+
backCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
541
|
+
}>>;
|
|
542
|
+
}>>>;
|
|
543
|
+
}>, _sinclair_typebox0.TObject<{
|
|
544
|
+
type: _sinclair_typebox0.TLiteral<"solana.vaultBondAction">;
|
|
545
|
+
cluster: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"local">, _sinclair_typebox0.TLiteral<"devnet">, _sinclair_typebox0.TLiteral<"mainnet-beta">]>;
|
|
546
|
+
action: _sinclair_typebox0.TString;
|
|
547
|
+
programId: _sinclair_typebox0.TString;
|
|
548
|
+
dataBase64: _sinclair_typebox0.TString;
|
|
549
|
+
keys: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
|
|
550
|
+
pubkey: _sinclair_typebox0.TString;
|
|
551
|
+
isSigner: _sinclair_typebox0.TBoolean;
|
|
552
|
+
isWritable: _sinclair_typebox0.TBoolean;
|
|
553
|
+
}>>;
|
|
554
|
+
context: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
555
|
+
targetAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
556
|
+
disputeAuthority: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
557
|
+
intervalStartCycleId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
558
|
+
registryPageIndex: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
559
|
+
minerAuthorities: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
560
|
+
frontCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
561
|
+
backCycleIds: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
562
|
+
}>>;
|
|
563
|
+
}>, _sinclair_typebox0.TObject<{
|
|
564
|
+
type: _sinclair_typebox0.TLiteral<"federation.bondChallenge">;
|
|
565
|
+
federation: _sinclair_typebox0.TObject<{
|
|
566
|
+
challengeId: _sinclair_typebox0.TString;
|
|
567
|
+
federationOrigin: _sinclair_typebox0.TString;
|
|
568
|
+
handle: _sinclair_typebox0.TString;
|
|
569
|
+
nodeId: _sinclair_typebox0.TString;
|
|
570
|
+
tokenId: _sinclair_typebox0.TString;
|
|
571
|
+
bondId: _sinclair_typebox0.TString;
|
|
572
|
+
tier: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"none">, _sinclair_typebox0.TLiteral<"basic-bond">, _sinclair_typebox0.TLiteral<"operator-bond">]>;
|
|
573
|
+
amountRaw: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
574
|
+
expiresAt: _sinclair_typebox0.TString;
|
|
575
|
+
payloadBase64: _sinclair_typebox0.TString;
|
|
576
|
+
}>;
|
|
577
|
+
}>, _sinclair_typebox0.TObject<{
|
|
578
|
+
type: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"solana.jupiter.swap">, _sinclair_typebox0.TLiteral<"solana.jupiter.trigger.create">, _sinclair_typebox0.TLiteral<"solana.jupiter.trigger.cancel">]>;
|
|
579
|
+
jupiter: _sinclair_typebox0.TObject<{
|
|
580
|
+
owner: _sinclair_typebox0.TString;
|
|
581
|
+
inputMint: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
582
|
+
outputMint: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
583
|
+
inputAmount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
584
|
+
maxInputAmount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
585
|
+
minimumOutputAmount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
586
|
+
maxFeeLamports: _sinclair_typebox0.TString;
|
|
587
|
+
sourceTokenAccount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
588
|
+
destinationTokenAccount: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
589
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
590
|
+
trigger: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
591
|
+
operation: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"create">, _sinclair_typebox0.TLiteral<"cancel">]>;
|
|
592
|
+
program: _sinclair_typebox0.TString;
|
|
593
|
+
order: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
594
|
+
triggerMint: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
595
|
+
condition: _sinclair_typebox0.TOptional<_sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"above">, _sinclair_typebox0.TLiteral<"below">]>>;
|
|
596
|
+
targetPriceUsd: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
597
|
+
slippageBps: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
|
|
598
|
+
expiresAt: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
599
|
+
expectedOrderState: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"new">, _sinclair_typebox0.TLiteral<"open">]>;
|
|
600
|
+
}>>;
|
|
601
|
+
}>;
|
|
602
|
+
}>]>;
|
|
603
|
+
transaction: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
604
|
+
serializedTxBase64: _sinclair_typebox0.TString;
|
|
605
|
+
programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
606
|
+
writableAccounts: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
|
|
607
|
+
submission: _sinclair_typebox0.TLiteral<"rpc">;
|
|
608
|
+
}>>;
|
|
609
|
+
}>;
|
|
610
|
+
}>, _sinclair_typebox0.TObject<{
|
|
611
|
+
op: _sinclair_typebox0.TLiteral<"v2.review.execute">;
|
|
612
|
+
walletId: _sinclair_typebox0.TString;
|
|
613
|
+
request: _sinclair_typebox0.TObject<{
|
|
614
|
+
requestId: _sinclair_typebox0.TString;
|
|
615
|
+
authorization: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
|
|
616
|
+
type: _sinclair_typebox0.TLiteral<"webauthn">;
|
|
617
|
+
proof: _sinclair_typebox0.TObject<{
|
|
618
|
+
proofId: _sinclair_typebox0.TString;
|
|
619
|
+
}>;
|
|
329
620
|
}>>;
|
|
330
621
|
}>;
|
|
331
622
|
}>, _sinclair_typebox0.TObject<{
|
|
332
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
333
|
-
walletId: _sinclair_typebox0.
|
|
623
|
+
op: _sinclair_typebox0.TLiteral<"v2.review.authorization.begin">;
|
|
624
|
+
walletId: _sinclair_typebox0.TString;
|
|
625
|
+
request: _sinclair_typebox0.TObject<{
|
|
626
|
+
requestId: _sinclair_typebox0.TString;
|
|
627
|
+
}>;
|
|
334
628
|
}>, _sinclair_typebox0.TObject<{
|
|
335
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
629
|
+
op: _sinclair_typebox0.TLiteral<"v2.review.authorization.finish">;
|
|
630
|
+
walletId: _sinclair_typebox0.TString;
|
|
336
631
|
request: _sinclair_typebox0.TObject<{
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
walletId: _sinclair_typebox0.TString;
|
|
340
|
-
role: _sinclair_typebox0.TOptional<_sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"vault">]>>;
|
|
341
|
-
chains: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TLiteral<"solana">>>;
|
|
342
|
-
allowPrograms: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
|
|
343
|
-
expiresAt: _sinclair_typebox0.TString;
|
|
344
|
-
passphrase: _sinclair_typebox0.TString;
|
|
345
|
-
solanaMaxPerTx: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
346
|
-
solanaMaxDaily: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
632
|
+
challengeId: _sinclair_typebox0.TString;
|
|
633
|
+
credential: _sinclair_typebox0.TUnknown;
|
|
347
634
|
}>;
|
|
348
635
|
}>, _sinclair_typebox0.TObject<{
|
|
349
|
-
op: _sinclair_typebox0.TLiteral<"
|
|
636
|
+
op: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"v2.operation.get">, _sinclair_typebox0.TLiteral<"v2.operation.reconcile">]>;
|
|
637
|
+
walletId: _sinclair_typebox0.TString;
|
|
350
638
|
request: _sinclair_typebox0.TObject<{
|
|
351
|
-
|
|
352
|
-
host: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
353
|
-
walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
|
|
639
|
+
requestId: _sinclair_typebox0.TString;
|
|
354
640
|
}>;
|
|
641
|
+
}>, _sinclair_typebox0.TObject<{
|
|
642
|
+
op: _sinclair_typebox0.TLiteral<"getAddresses">;
|
|
643
|
+
walletId: _sinclair_typebox0.TString;
|
|
644
|
+
}>, _sinclair_typebox0.TObject<{
|
|
645
|
+
op: _sinclair_typebox0.TLiteral<"getBalance">;
|
|
646
|
+
chain: _sinclair_typebox0.TLiteral<"solana">;
|
|
647
|
+
walletId: _sinclair_typebox0.TString;
|
|
355
648
|
}>]>;
|
|
356
649
|
type LocalSocketSignerRequest = Static<typeof LocalSocketSignerRequestSchema>;
|
|
357
650
|
//#endregion
|
|
358
|
-
//#region src/wallet/wallet-provider-adapter.d.ts
|
|
359
|
-
type WalletProviderCustodyModel = "self-hosted" | "provider-managed";
|
|
360
|
-
type WalletProviderCapabilities = {
|
|
361
|
-
custodyModel: WalletProviderCustodyModel;
|
|
362
|
-
supportsCreateWallet: boolean;
|
|
363
|
-
supportsPrepare: boolean;
|
|
364
|
-
supportsSend: boolean;
|
|
365
|
-
supportsRotateKeys: boolean;
|
|
366
|
-
supportsResetKeys: boolean;
|
|
367
|
-
supportsPasskeyGate: boolean;
|
|
368
|
-
supportedExecutionModes: WalletExecutionMode[];
|
|
369
|
-
supportedChains: WalletChain[];
|
|
370
|
-
};
|
|
371
|
-
type WalletProviderHealth = {
|
|
372
|
-
ok: boolean;
|
|
373
|
-
provider: WalletProviderId;
|
|
374
|
-
configured: boolean;
|
|
375
|
-
checkedAt: string;
|
|
376
|
-
details?: string;
|
|
377
|
-
};
|
|
378
|
-
type WalletProviderAddressMap = {
|
|
379
|
-
solana?: string;
|
|
380
|
-
};
|
|
381
|
-
type WalletProviderRequestScope = {
|
|
382
|
-
walletId?: string;
|
|
383
|
-
};
|
|
384
|
-
type WalletProviderCreateWalletResult = {
|
|
385
|
-
ok: boolean;
|
|
386
|
-
walletId: string;
|
|
387
|
-
addresses: WalletProviderAddressMap;
|
|
388
|
-
metadata?: Record<string, unknown>;
|
|
389
|
-
};
|
|
390
|
-
type WalletProviderPrepareTxRequest = {
|
|
391
|
-
chain: WalletChain;
|
|
392
|
-
to?: string;
|
|
393
|
-
amount?: string;
|
|
394
|
-
contract?: string;
|
|
395
|
-
program?: string;
|
|
396
|
-
tokenMint?: string;
|
|
397
|
-
source?: string;
|
|
398
|
-
destination?: string;
|
|
399
|
-
allowSplInstructions?: string[];
|
|
400
|
-
memo?: string;
|
|
401
|
-
serializedTxBase64?: string;
|
|
402
|
-
preparedId?: string;
|
|
403
|
-
};
|
|
404
|
-
type WalletProviderPrepareTxResult = {
|
|
405
|
-
ok: boolean;
|
|
406
|
-
chain: WalletChain;
|
|
407
|
-
preparedId: string;
|
|
408
|
-
signer?: string;
|
|
409
|
-
metadata?: Record<string, unknown>;
|
|
410
|
-
};
|
|
411
|
-
type WalletProviderSendTxRequest = WalletProviderPrepareTxRequest & WalletProviderRequestScope & {
|
|
412
|
-
preparedId?: string;
|
|
413
|
-
};
|
|
414
|
-
type WalletProviderSendTxResult = {
|
|
415
|
-
ok: boolean;
|
|
416
|
-
chain: WalletChain;
|
|
417
|
-
txHash: string;
|
|
418
|
-
signer?: string;
|
|
419
|
-
metadata?: Record<string, unknown>;
|
|
420
|
-
};
|
|
421
|
-
type WalletProviderSignTxResult = {
|
|
422
|
-
ok: boolean;
|
|
423
|
-
chain: WalletChain;
|
|
424
|
-
signedTxBase64: string;
|
|
425
|
-
signer?: string;
|
|
426
|
-
metadata?: Record<string, unknown>;
|
|
427
|
-
};
|
|
428
|
-
type WalletProviderBalanceResult = {
|
|
429
|
-
ok: boolean;
|
|
430
|
-
chain: WalletChain;
|
|
431
|
-
address: string;
|
|
432
|
-
balance: string;
|
|
433
|
-
unit?: string;
|
|
434
|
-
};
|
|
435
|
-
interface WalletProviderAdapter {
|
|
436
|
-
readonly id: WalletProviderId;
|
|
437
|
-
readonly displayName: string;
|
|
438
|
-
readonly capabilities: WalletProviderCapabilities;
|
|
439
|
-
supportsChain(chain: WalletChain): boolean;
|
|
440
|
-
health(): Promise<WalletProviderHealth>;
|
|
441
|
-
createWallet?(): Promise<WalletProviderCreateWalletResult>;
|
|
442
|
-
getAddresses(options?: WalletProviderRequestScope): Promise<WalletProviderAddressMap>;
|
|
443
|
-
getBalance(chain: WalletChain, options?: WalletProviderRequestScope): Promise<WalletProviderBalanceResult>;
|
|
444
|
-
prepareTx(request: WalletProviderPrepareTxRequest): Promise<WalletProviderPrepareTxResult>;
|
|
445
|
-
signTx?(request: WalletProviderSendTxRequest): Promise<WalletProviderSignTxResult>;
|
|
446
|
-
sendTx(request: WalletProviderSendTxRequest): Promise<WalletProviderSendTxResult>;
|
|
447
|
-
rotateKeys?(): Promise<{
|
|
448
|
-
ok: boolean;
|
|
449
|
-
addresses?: WalletProviderAddressMap;
|
|
450
|
-
metadata?: Record<string, unknown>;
|
|
451
|
-
}>;
|
|
452
|
-
resetKeys?(): Promise<{
|
|
453
|
-
ok: boolean;
|
|
454
|
-
addresses?: WalletProviderAddressMap;
|
|
455
|
-
metadata?: Record<string, unknown>;
|
|
456
|
-
}>;
|
|
457
|
-
}
|
|
458
|
-
//#endregion
|
|
459
651
|
//#region src/wallet/providers/local-socket-signer-adapter.d.ts
|
|
460
652
|
type LocalSocketSignerHealthProbe = {
|
|
461
653
|
ok: boolean;
|
|
@@ -463,6 +655,78 @@ type LocalSocketSignerHealthProbe = {
|
|
|
463
655
|
readOnly?: boolean;
|
|
464
656
|
keystoreType?: string;
|
|
465
657
|
chains?: WalletChain[];
|
|
658
|
+
ready?: boolean;
|
|
659
|
+
release?: {
|
|
660
|
+
version: string;
|
|
661
|
+
commit: string;
|
|
662
|
+
buildInputDigest: string;
|
|
663
|
+
development: boolean;
|
|
664
|
+
};
|
|
665
|
+
schema?: {
|
|
666
|
+
version: number;
|
|
667
|
+
supported: number;
|
|
668
|
+
ready: boolean;
|
|
669
|
+
};
|
|
670
|
+
network?: {
|
|
671
|
+
ready: boolean;
|
|
672
|
+
wallets: Array<{
|
|
673
|
+
walletId: string;
|
|
674
|
+
configured: boolean;
|
|
675
|
+
version: number;
|
|
676
|
+
hash?: string;
|
|
677
|
+
ready: boolean;
|
|
678
|
+
}>;
|
|
679
|
+
};
|
|
680
|
+
capabilities?: {
|
|
681
|
+
protocol: {
|
|
682
|
+
current: 2;
|
|
683
|
+
min: number;
|
|
684
|
+
max: number;
|
|
685
|
+
};
|
|
686
|
+
nativeFeeReservationLamports: typeof LOCAL_SIGNER_NATIVE_FEE_RESERVATION_LAMPORTS_V2;
|
|
687
|
+
intentTypes: string[];
|
|
688
|
+
operationStates: string[];
|
|
689
|
+
features: string[];
|
|
690
|
+
};
|
|
691
|
+
policies?: Array<{
|
|
692
|
+
walletId: string;
|
|
693
|
+
role: "agent" | "mining" | "vault";
|
|
694
|
+
version: number;
|
|
695
|
+
hash: string;
|
|
696
|
+
}>;
|
|
697
|
+
webAuthn?: {
|
|
698
|
+
configured: boolean;
|
|
699
|
+
rpId?: string;
|
|
700
|
+
origins?: string[];
|
|
701
|
+
credentialCount: number;
|
|
702
|
+
credentialVersion: number;
|
|
703
|
+
ready: boolean;
|
|
704
|
+
};
|
|
705
|
+
jupiter?: {
|
|
706
|
+
triggerConfigured: boolean;
|
|
707
|
+
liveEnabled?: boolean;
|
|
708
|
+
};
|
|
709
|
+
audit?: {
|
|
710
|
+
configured: boolean;
|
|
711
|
+
healthy: boolean;
|
|
712
|
+
lastError?: string;
|
|
713
|
+
};
|
|
714
|
+
state?: {
|
|
715
|
+
databaseBytes: number;
|
|
716
|
+
wallets: number;
|
|
717
|
+
operations: number;
|
|
718
|
+
operationReplayArchive?: number;
|
|
719
|
+
reviews: number;
|
|
720
|
+
triggerWorkflows: number;
|
|
721
|
+
dailyUsageBuckets: number;
|
|
722
|
+
capacities?: Record<string, {
|
|
723
|
+
used: number;
|
|
724
|
+
maximum: number;
|
|
725
|
+
warnAt: number;
|
|
726
|
+
warning: boolean;
|
|
727
|
+
}>;
|
|
728
|
+
capacityWarnings?: string[];
|
|
729
|
+
};
|
|
466
730
|
};
|
|
467
731
|
type LocalSocketSignerCallOptions = {
|
|
468
732
|
timeoutMs?: number;
|
|
@@ -472,6 +736,45 @@ declare function callLocalSocketSigner<T>(socketPath: string, payload: LocalSock
|
|
|
472
736
|
declare function probeLocalSocketSignerHealth(socketPath: string): Promise<LocalSocketSignerHealthProbe>;
|
|
473
737
|
declare function requireLocalSocketSignerPath(env: NodeJS.ProcessEnv): string;
|
|
474
738
|
//#endregion
|
|
739
|
+
//#region src/wallet/wallet-provider-registry.d.ts
|
|
740
|
+
type WalletUserRole = "agent" | "vault" | "mining";
|
|
741
|
+
type WalletNamedWallet = {
|
|
742
|
+
id: string;
|
|
743
|
+
name: string;
|
|
744
|
+
providerId: WalletProviderId;
|
|
745
|
+
addresses?: {
|
|
746
|
+
solana?: string;
|
|
747
|
+
};
|
|
748
|
+
metadata?: Record<string, unknown>;
|
|
749
|
+
createdAt: string;
|
|
750
|
+
updatedAt: string;
|
|
751
|
+
};
|
|
752
|
+
declare function resolveWalletUserRole(wallet: WalletNamedWallet | undefined): WalletUserRole | undefined;
|
|
753
|
+
type WalletProviderConfigEntry = {
|
|
754
|
+
enabled: boolean;
|
|
755
|
+
label?: string;
|
|
756
|
+
updatedAt: string;
|
|
757
|
+
};
|
|
758
|
+
type WalletProviderRegistry = {
|
|
759
|
+
version: 1; /** Wallet Standard is optional in legacy in-memory fixtures; disk reads always normalize it. */
|
|
760
|
+
providers: Record<Exclude<WalletProviderId, "wallet-standard">, WalletProviderConfigEntry> & Partial<Record<"wallet-standard", WalletProviderConfigEntry>>;
|
|
761
|
+
wallets: WalletNamedWallet[];
|
|
762
|
+
assignments: Record<string, string>;
|
|
763
|
+
defaultWalletId?: string;
|
|
764
|
+
updatedAt: string;
|
|
765
|
+
};
|
|
766
|
+
declare function readWalletProviderRegistry(env?: NodeJS.ProcessEnv): WalletProviderRegistry;
|
|
767
|
+
declare function upsertNamedWallet(params: {
|
|
768
|
+
walletId?: string;
|
|
769
|
+
name: string;
|
|
770
|
+
providerId: WalletProviderId;
|
|
771
|
+
addresses?: {
|
|
772
|
+
solana?: string;
|
|
773
|
+
};
|
|
774
|
+
metadata?: Record<string, unknown>;
|
|
775
|
+
env?: NodeJS.ProcessEnv;
|
|
776
|
+
}): WalletNamedWallet;
|
|
777
|
+
//#endregion
|
|
475
778
|
//#region src/wallet/wallet-runtime-config.d.ts
|
|
476
779
|
type ResolvedWalletPolicyCaps = {
|
|
477
780
|
maxPerTx: bigint;
|
|
@@ -536,126 +839,6 @@ type ResolvedWalletRuntimeConfig = {
|
|
|
536
839
|
declare function resolveLocalSignerSocketPath(env?: NodeJS.ProcessEnv): string;
|
|
537
840
|
declare function resolveWalletRuntimeConfig(cfg: FasedAgentConfig, env?: NodeJS.ProcessEnv): ResolvedWalletRuntimeConfig;
|
|
538
841
|
//#endregion
|
|
539
|
-
//#region src/wallet/wallet-custody.d.ts
|
|
540
|
-
type WalletCustodyRole = "mining" | "agent" | "vault";
|
|
541
|
-
type WalletCustodyUnlockSession = {
|
|
542
|
-
id: string;
|
|
543
|
-
host: string;
|
|
544
|
-
walletId: string;
|
|
545
|
-
role: WalletCustodyRole;
|
|
546
|
-
chains: WalletChain[];
|
|
547
|
-
allowPrograms: string[];
|
|
548
|
-
solanaMaxPerTx: string;
|
|
549
|
-
solanaMaxDaily: string;
|
|
550
|
-
createdAt: string;
|
|
551
|
-
expiresAt: string;
|
|
552
|
-
lastUsedAt?: string;
|
|
553
|
-
};
|
|
554
|
-
type WalletCustodyStatus = {
|
|
555
|
-
mode: "single-key" | "split-key-scaffold" | "split-key-active";
|
|
556
|
-
target: {
|
|
557
|
-
walletId: string;
|
|
558
|
-
role: WalletCustodyRole;
|
|
559
|
-
};
|
|
560
|
-
scope: {
|
|
561
|
-
chains: WalletChain[];
|
|
562
|
-
allowPrograms: string[];
|
|
563
|
-
solana: {
|
|
564
|
-
maxPerTx: string;
|
|
565
|
-
maxDaily: string;
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
unlock: {
|
|
569
|
-
active: boolean;
|
|
570
|
-
sessionId?: string;
|
|
571
|
-
host?: string;
|
|
572
|
-
expiresAt?: string;
|
|
573
|
-
};
|
|
574
|
-
phase2: {
|
|
575
|
-
complete: boolean;
|
|
576
|
-
splitKeyEnabled: boolean;
|
|
577
|
-
passkeyCeremonyEnabled: boolean;
|
|
578
|
-
ephemeralReconstructionEnabled: boolean;
|
|
579
|
-
notes: string[];
|
|
580
|
-
};
|
|
581
|
-
ceremony?: {
|
|
582
|
-
initialized: boolean;
|
|
583
|
-
scheme?: string;
|
|
584
|
-
secretBytes?: number;
|
|
585
|
-
devices?: Array<{
|
|
586
|
-
id: string;
|
|
587
|
-
label?: string;
|
|
588
|
-
createdAt: string;
|
|
589
|
-
revokedAt?: string;
|
|
590
|
-
}>;
|
|
591
|
-
path: string;
|
|
592
|
-
updatedAt?: string;
|
|
593
|
-
};
|
|
594
|
-
};
|
|
595
|
-
declare function enforceWalletCustodyForAutonomousSend(params: {
|
|
596
|
-
wallet: ResolvedWalletRuntimeConfig;
|
|
597
|
-
env?: NodeJS.ProcessEnv;
|
|
598
|
-
cfg?: FasedAgentConfig;
|
|
599
|
-
walletId?: string;
|
|
600
|
-
approvalToken?: string;
|
|
601
|
-
approvalHost?: string;
|
|
602
|
-
deviceShare?: string;
|
|
603
|
-
}): Promise<{
|
|
604
|
-
ok: true;
|
|
605
|
-
custodyMode: WalletCustodyStatus["mode"];
|
|
606
|
-
session?: WalletCustodyUnlockSession;
|
|
607
|
-
} | {
|
|
608
|
-
ok: false;
|
|
609
|
-
code: string;
|
|
610
|
-
message: string;
|
|
611
|
-
}>;
|
|
612
|
-
declare function readWalletCustodyStatus(params: {
|
|
613
|
-
wallet: ResolvedWalletRuntimeConfig;
|
|
614
|
-
cfg?: FasedAgentConfig;
|
|
615
|
-
walletId?: string;
|
|
616
|
-
approvalHost?: string;
|
|
617
|
-
env?: NodeJS.ProcessEnv;
|
|
618
|
-
}): WalletCustodyStatus;
|
|
619
|
-
//#endregion
|
|
620
|
-
//#region src/wallet/wallet-provider-registry.d.ts
|
|
621
|
-
type WalletUserRole = "agent" | "vault" | "mining";
|
|
622
|
-
type WalletNamedWallet = {
|
|
623
|
-
id: string;
|
|
624
|
-
name: string;
|
|
625
|
-
providerId: WalletProviderId;
|
|
626
|
-
addresses?: {
|
|
627
|
-
solana?: string;
|
|
628
|
-
};
|
|
629
|
-
metadata?: Record<string, unknown>;
|
|
630
|
-
createdAt: string;
|
|
631
|
-
updatedAt: string;
|
|
632
|
-
};
|
|
633
|
-
declare function resolveWalletUserRole(wallet: WalletNamedWallet | undefined): WalletUserRole | undefined;
|
|
634
|
-
type WalletProviderConfigEntry = {
|
|
635
|
-
enabled: boolean;
|
|
636
|
-
label?: string;
|
|
637
|
-
updatedAt: string;
|
|
638
|
-
};
|
|
639
|
-
type WalletProviderRegistry = {
|
|
640
|
-
version: 1;
|
|
641
|
-
providers: Record<WalletProviderId, WalletProviderConfigEntry>;
|
|
642
|
-
wallets: WalletNamedWallet[];
|
|
643
|
-
assignments: Record<string, string>;
|
|
644
|
-
defaultWalletId?: string;
|
|
645
|
-
updatedAt: string;
|
|
646
|
-
};
|
|
647
|
-
declare function readWalletProviderRegistry(env?: NodeJS.ProcessEnv): WalletProviderRegistry;
|
|
648
|
-
declare function upsertNamedWallet(params: {
|
|
649
|
-
walletId?: string;
|
|
650
|
-
name: string;
|
|
651
|
-
providerId: WalletProviderId;
|
|
652
|
-
addresses?: {
|
|
653
|
-
solana?: string;
|
|
654
|
-
};
|
|
655
|
-
metadata?: Record<string, unknown>;
|
|
656
|
-
env?: NodeJS.ProcessEnv;
|
|
657
|
-
}): WalletNamedWallet;
|
|
658
|
-
//#endregion
|
|
659
842
|
//#region src/wallet/wallet-provider-resolver.d.ts
|
|
660
843
|
declare function resolveWalletProviderId(cfg: FasedAgentConfig, env?: NodeJS.ProcessEnv): WalletProviderId;
|
|
661
844
|
declare function createWalletProviderAdapter(params: {
|
|
@@ -666,6 +849,9 @@ declare function createWalletProviderAdapter(params: {
|
|
|
666
849
|
walletId?: string;
|
|
667
850
|
}): WalletProviderAdapter;
|
|
668
851
|
//#endregion
|
|
852
|
+
//#region src/wallet/legacy-embedded-keystore.d.ts
|
|
853
|
+
declare const LEGACY_EMBEDDED_KEYSTORE_MIGRATION_MESSAGE: string;
|
|
854
|
+
//#endregion
|
|
669
855
|
//#region src/wallet/wallet-secrets-store.d.ts
|
|
670
856
|
type WalletProviderSecretRecord = {
|
|
671
857
|
providerId: WalletProviderId;
|
|
@@ -727,10 +913,10 @@ type WalletPolicySimulation = {
|
|
|
727
913
|
};
|
|
728
914
|
//#endregion
|
|
729
915
|
//#region src/wallet/wallet-send-approvals.d.ts
|
|
730
|
-
type WalletSendApprovalStatus = "pending" | "approved" | "rejected" | "executed" | "failed" | "expired";
|
|
916
|
+
type WalletSendApprovalStatus = "pending" | "executing" | "approved" | "unknown" | "rejected" | "executed" | "failed" | "expired";
|
|
731
917
|
type WalletSendApprovalPayload = {
|
|
732
918
|
chain: "solana";
|
|
733
|
-
actionKind?: "send" | "solana_swap";
|
|
919
|
+
actionKind?: "send" | "solana_swap" | "signer_review";
|
|
734
920
|
assetId?: string;
|
|
735
921
|
assetSymbol?: string;
|
|
736
922
|
assetName?: string;
|
|
@@ -759,7 +945,33 @@ type WalletSendApprovalPayload = {
|
|
|
759
945
|
priceImpactPct?: string;
|
|
760
946
|
routeLabel?: string;
|
|
761
947
|
jupiterRequestId?: string;
|
|
948
|
+
executionIntentId?: string;
|
|
762
949
|
serializedTxBase64?: string;
|
|
950
|
+
programIds?: string[];
|
|
951
|
+
routeProgramIds?: string[];
|
|
952
|
+
writableAccounts?: string[];
|
|
953
|
+
usesAddressLookupTables?: boolean;
|
|
954
|
+
signerReviewId?: string;
|
|
955
|
+
signerWalletId?: string;
|
|
956
|
+
signerWalletPublicKey?: string;
|
|
957
|
+
signerIntentType?: string;
|
|
958
|
+
signerPolicyHash?: string;
|
|
959
|
+
signerIntentDigest?: string;
|
|
960
|
+
signerSemanticIntent?: WalletProviderSignerIntentV2;
|
|
961
|
+
signerArtifactKind?: "solana-transaction" | "domain-separated-message" | "jupiter-trigger-state";
|
|
962
|
+
signerArtifactDigest?: string;
|
|
963
|
+
signerTransactionDigest?: string;
|
|
964
|
+
signerStateDigest?: string;
|
|
965
|
+
signerStateSlot?: number;
|
|
966
|
+
signerAsset?: string;
|
|
967
|
+
signerAmount?: string;
|
|
968
|
+
signerDestination?: string;
|
|
969
|
+
signerPolicyOperation?: string;
|
|
970
|
+
signerRequiredPrograms?: string[];
|
|
971
|
+
signerRequiredRole?: "agent" | "mining" | "vault";
|
|
972
|
+
signerNonce?: string;
|
|
973
|
+
signerIssuedAt?: string;
|
|
974
|
+
signerReviewExpiresAt?: string;
|
|
763
975
|
providerId?: WalletProviderId;
|
|
764
976
|
walletId?: string;
|
|
765
977
|
walletName?: string;
|
|
@@ -769,6 +981,19 @@ type WalletSettlementContext = {
|
|
|
769
981
|
invoiceId?: string;
|
|
770
982
|
senderHandle?: string;
|
|
771
983
|
};
|
|
984
|
+
type SatMiningSweepAuthorization = {
|
|
985
|
+
kind: "sat-auto-sweep-v1";
|
|
986
|
+
occurrenceId: string;
|
|
987
|
+
walletId: string;
|
|
988
|
+
destination: string;
|
|
989
|
+
mint: string;
|
|
990
|
+
sourceBalanceRaw: string;
|
|
991
|
+
amountRaw: string;
|
|
992
|
+
keepRaw: string;
|
|
993
|
+
minRaw: string;
|
|
994
|
+
mode: "all" | "percentage";
|
|
995
|
+
percentage: number;
|
|
996
|
+
};
|
|
772
997
|
type WalletSendApprovalRequest = {
|
|
773
998
|
id: string;
|
|
774
999
|
taskLedgerId?: string;
|
|
@@ -787,6 +1012,12 @@ type WalletSendApprovalRequest = {
|
|
|
787
1012
|
txHash?: string;
|
|
788
1013
|
error?: string;
|
|
789
1014
|
};
|
|
1015
|
+
requestDigest?: string;
|
|
1016
|
+
execution?: {
|
|
1017
|
+
id: string;
|
|
1018
|
+
requestDigest: string;
|
|
1019
|
+
startedAt: string;
|
|
1020
|
+
};
|
|
790
1021
|
};
|
|
791
1022
|
type WalletCreateSendResult = {
|
|
792
1023
|
ok: true;
|
|
@@ -811,17 +1042,28 @@ type WalletCreateSendResult = {
|
|
|
811
1042
|
simulation?: WalletPolicySimulation;
|
|
812
1043
|
};
|
|
813
1044
|
type WalletSendPath = "policy" | "reviewed" | "automation";
|
|
1045
|
+
declare function createSignerReviewApprovalRequest(params: {
|
|
1046
|
+
review: WalletProviderJupiterReviewV2;
|
|
1047
|
+
role: "agent" | "mining" | "vault";
|
|
1048
|
+
walletId?: string;
|
|
1049
|
+
requestedBy?: string;
|
|
1050
|
+
walletName?: string;
|
|
1051
|
+
assetSymbol?: string;
|
|
1052
|
+
assetName?: string;
|
|
1053
|
+
amountDisplay?: string;
|
|
1054
|
+
memo?: string;
|
|
1055
|
+
env?: NodeJS.ProcessEnv;
|
|
1056
|
+
}): WalletSendApprovalRequest;
|
|
814
1057
|
declare function createOrExecuteWalletSend(params: {
|
|
815
1058
|
payload: WalletSendApprovalPayload;
|
|
816
1059
|
requestedBy?: string;
|
|
1060
|
+
executionIntentId?: string;
|
|
1061
|
+
satSweepAuthorization?: SatMiningSweepAuthorization;
|
|
817
1062
|
config: ResolvedWalletRuntimeConfig;
|
|
818
1063
|
runtimeConfig?: FasedAgentConfig;
|
|
819
1064
|
sendPath?: WalletSendPath;
|
|
820
1065
|
providerIdOverride?: WalletProviderId;
|
|
821
1066
|
settlementContext?: WalletSettlementContext;
|
|
822
|
-
approvalToken?: string;
|
|
823
|
-
approvalHost?: string;
|
|
824
|
-
custodyDeviceShare?: string;
|
|
825
1067
|
env?: NodeJS.ProcessEnv;
|
|
826
1068
|
}): Promise<WalletCreateSendResult>;
|
|
827
1069
|
//#endregion
|
|
@@ -898,7 +1140,6 @@ type WalletStatusSnapshot = {
|
|
|
898
1140
|
}>;
|
|
899
1141
|
statePath: string;
|
|
900
1142
|
};
|
|
901
|
-
custody: ReturnType<typeof readWalletCustodyStatus>;
|
|
902
1143
|
addresses?: {
|
|
903
1144
|
solana?: string;
|
|
904
1145
|
};
|
|
@@ -924,10 +1165,9 @@ declare function readWalletStatusSnapshot(params?: {
|
|
|
924
1165
|
config?: FasedAgentConfig;
|
|
925
1166
|
env?: NodeJS.ProcessEnv;
|
|
926
1167
|
walletId?: string;
|
|
927
|
-
approvalHost?: string;
|
|
928
1168
|
}): Promise<WalletStatusSnapshot>;
|
|
929
1169
|
//#endregion
|
|
930
1170
|
//#region src/plugin-sdk/sat-runtime.d.ts
|
|
931
1171
|
declare function fetchWithSsrFGuard(params: Parameters<typeof fetchWithSsrFGuard$1>[0]): ReturnType<typeof fetchWithSsrFGuard$1>;
|
|
932
1172
|
//#endregion
|
|
933
|
-
export { DEFAULT_PROVIDER, type ErrorCode, ErrorCodes, type FasedAgentConfig, type ResolvedProviderAuth, type RespondFn, SAT_RUNTIME_DEFAULTS, type SatMainnetSyncStatus, type SatRuntimeIds, type WalletNamedWallet, type WalletProviderRegistry, type WalletUserRole, buildAttestation, buildModelAliasIndex, callGatewayScoped, callLocalSocketSigner, createOrExecuteWalletSend, createSubsystemLogger, createWalletProviderAdapter,
|
|
1173
|
+
export { DEFAULT_PROVIDER, type ErrorCode, ErrorCodes, type FasedAgentConfig, type FileLockOptions, LEGACY_EMBEDDED_KEYSTORE_MIGRATION_MESSAGE, type ResolvedProviderAuth, type RespondFn, SAT_RUNTIME_DEFAULTS, type SatMainnetSyncStatus, type SatRuntimeIds, type WalletNamedWallet, type WalletProviderJupiterReviewV2, type WalletProviderRegistry, type WalletUserRole, buildAttestation, buildModelAliasIndex, callGatewayScoped, callLocalSocketSigner, createOrExecuteWalletSend, createSignerReviewApprovalRequest, createSubsystemLogger, createWalletProviderAdapter, errorShape, fetchSolanaWalletAssetsViaRpc, fetchWithSsrFGuard, getApiKeyForModel, getSatMainnetSyncStatus, loadConfig, loadOrCreateDeviceIdentity, loadWalletProviderSecret, probeLocalSocketSignerHealth, publicKeyRawBase64UrlFromPem, readWalletProviderRegistry, readWalletStatusSnapshot, requireApiKey, requireLocalSocketSignerPath, resolveAgentConfig, resolveAgentDir, resolveAgentEffectiveModelPrimary, resolveConfiguredModelRef, resolveDefaultAgentId, resolveDefaultModelForAgent, resolveGatewayPort, resolveLocalSignerSocketPath, resolveModel, resolveModelRefFromString, resolvePreferredFasedAgentTmpDir, resolveSatBondProgramIdFromEnv, resolveSatMintAddressFromEnv, resolveSatMintProgramIdFromEnv, resolveSatProgramIdFromEnv, resolveStateDir, resolveWalletPolicyConfig, resolveWalletProviderId, resolveWalletRolePolicyProfile, resolveWalletRuntimeConfig, resolveWalletUserRole, signDevicePayload, syncSatMainnetRuntimeIds, tryResolveSatRuntimeIds, upsertNamedWallet, verifyDeviceSignature, withFileLock };
|