@fased/fased 0.1.67 → 0.1.68

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.
Files changed (170) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/config/signer-protocol-v2.json +4 -0
  3. package/dist/brand.js +1 -1
  4. package/dist/build-info.json +3 -3
  5. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  6. package/dist/cli/program/register.wallet.js +33 -2
  7. package/dist/commands/wallet.js +485 -58
  8. package/dist/control-ui/assets/{app-De8gTtZU.js → app-DyPTS0oM.js} +1526 -1526
  9. package/dist/control-ui/assets/{index-DYYBRBOS.js → index-Cu13yYHr.js} +3 -3
  10. package/dist/control-ui/assets/{wallet-DvStR_AT.js → wallet-ByKBcYhm.js} +272 -188
  11. package/dist/control-ui/index.html +1 -1
  12. package/dist/control-ui/version.json +1 -1
  13. package/dist/gateway/server-http.js +349 -47
  14. package/dist/plugin-sdk/{actions-DRu135h0.js → actions-B-Vwj64K.js} +3 -3
  15. package/dist/plugin-sdk/{allow-list-DyAxs4yw.js → allow-list-Bf45HfoP.js} +1 -1
  16. package/dist/plugin-sdk/{audio-preflight-Dq_rJtqH.js → audio-preflight-_FVQjR1r.js} +25 -24
  17. package/dist/plugin-sdk/{audit-C5d2z5U1.js → audit-CUULWG22.js} +1 -1
  18. package/dist/plugin-sdk/{channel-access-configure-DaI5wevh.js → channel-access-configure-BoUsC-Ys.js} +1 -1
  19. package/dist/plugin-sdk/{channel-adapters.discord-BS4S4Svh.js → channel-adapters.discord-DSiR4X2Y.js} +1 -1
  20. package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
  21. package/dist/plugin-sdk/channel-plugin-common.js +1 -1
  22. package/dist/plugin-sdk/{chunk-CyoyqpbG.js → chunk-CBpl-AiQ.js} +1 -1
  23. package/dist/plugin-sdk/{chunk-items-Dunoq4Er.js → chunk-items-LH4uKSnh.js} +1 -1
  24. package/dist/plugin-sdk/command-status.js +25 -24
  25. package/dist/plugin-sdk/{commands-registry-BfqdEWdF.js → commands-registry-G5KXSi_y.js} +1 -1
  26. package/dist/plugin-sdk/{config-schema--vl89M7d.js → config-schema-DjU_uD-6.js} +186 -88
  27. package/dist/plugin-sdk/device-pair.d.ts +1 -1
  28. package/dist/plugin-sdk/{diagnostic-DLL_zekv.js → diagnostic-sYs6Agr-.js} +1 -1
  29. package/dist/plugin-sdk/{directory-live-CSuYxdwk.js → directory-live-BXMpuYAF.js} +1 -1
  30. package/dist/plugin-sdk/{directory-live-Dw7ZgC9_.js → directory-live-Rn1BzPof.js} +1 -1
  31. package/dist/plugin-sdk/discord.d.ts +4 -4
  32. package/dist/plugin-sdk/discord.js +20 -20
  33. package/dist/plugin-sdk/{draft-stream-controls-BqchW1vi.js → draft-stream-controls-CMNdKSx-.js} +1 -1
  34. package/dist/plugin-sdk/{guilds-CDhRIX57.js → guilds-Dkwl0yHv.js} +1 -1
  35. package/dist/plugin-sdk/{handle-action-hvwapMKg.js → handle-action-CRdM6B-8.js} +15 -15
  36. package/dist/plugin-sdk/index.d.ts +13 -13
  37. package/dist/plugin-sdk/index.js +27 -26
  38. package/dist/plugin-sdk/{login-Ca583Okc.js → login-D7WnK8-P.js} +1 -1
  39. package/dist/plugin-sdk/{login-qr-CGciBSNP.js → login-qr-CRueOKZK.js} +2 -114
  40. package/dist/plugin-sdk/{markdown-tables-DCOXEUfZ.js → markdown-tables-d7GlUs5R.js} +1 -1
  41. package/dist/plugin-sdk/{media-CAdQF5TG.js → media-BAoaxCrt.js} +1 -1
  42. package/dist/plugin-sdk/{monitor-DrTy_4CL.js → monitor-DUMMbG4h.js} +33 -32
  43. package/dist/plugin-sdk/{monitor-CV1sr0p2.js → monitor-DXIM16Hj.js} +41 -40
  44. package/dist/plugin-sdk/{openresponses-http-BAjgURZa.js → openresponses-http-C8lKwta1.js} +25 -24
  45. package/dist/plugin-sdk/{outbound-attachment-QqTnIhZL.js → outbound-attachment-CyXM3cAv.js} +1 -1
  46. package/dist/plugin-sdk/{outbound-BgVDdHxx.js → outbound-zB6llMGW.js} +6 -6
  47. package/dist/plugin-sdk/{pairing-message-BjIJYVvp.d.ts → pairing-message-mKO92L-M.d.ts} +1 -1
  48. package/dist/plugin-sdk/{pairing-store-BChahgI2.js → pairing-store-B6J2C0vP.js} +1 -1
  49. package/dist/plugin-sdk/{pi-model-discovery-runtime-DxTMz_XF.js → pi-model-discovery-runtime-6JzLw9Gk.js} +1 -1
  50. package/dist/plugin-sdk/{probe-CJb5uR8B.js → probe-BM7Oe40M.js} +2 -2
  51. package/dist/plugin-sdk/{probe-l_whvGLY.js → probe-CMPksimh.js} +1 -1
  52. package/dist/plugin-sdk/{probe-BFroeK3g.js → probe-oVp12D6L.js} +1 -1
  53. package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
  54. package/dist/plugin-sdk/qr-image-B4MlMG4N.js +115 -0
  55. package/dist/plugin-sdk/{replies-ChYo5ZQM.js → replies-CY-V0Zob.js} +3 -3
  56. package/dist/plugin-sdk/{resolve-channels-87LZrFk_.js → resolve-channels-1HtDcMqh.js} +2 -2
  57. package/dist/plugin-sdk/{resolve-channels-_-nV-EK2.js → resolve-channels-CU72Qh2j.js} +1 -1
  58. package/dist/plugin-sdk/{resolve-outbound-target-D-KGgHJZ.js → resolve-outbound-target-nQSBVYz9.js} +2 -2
  59. package/dist/plugin-sdk/{resolve-route-C8tvQm8Z.js → resolve-route-Dufnu2cT.js} +1 -1
  60. package/dist/plugin-sdk/{resolve-users-DN9VQBwv.js → resolve-users-Bk_ss2vC.js} +1 -1
  61. package/dist/plugin-sdk/{resolve-users-V6dHh_2B.js → resolve-users-IevCOk4W.js} +2 -2
  62. package/dist/plugin-sdk/{runtime-2B9_WKoI.js → runtime-CXSQwMaR.js} +1 -1
  63. package/dist/plugin-sdk/sat-runtime.d.ts +18 -2
  64. package/dist/plugin-sdk/sat-runtime.js +25 -24
  65. package/dist/plugin-sdk/{send-DCO441U7.js → send-BXBS_mRK.js} +8 -8
  66. package/dist/plugin-sdk/{send-CFzGKJXo.js → send-D-HfKQZm.js} +4 -4
  67. package/dist/plugin-sdk/{send-B6KkGKZD.js → send-D1j12ZgX.js} +5 -5
  68. package/dist/plugin-sdk/{send-q9HXrSwK.js → send-DWKm6yay.js} +10 -10
  69. package/dist/plugin-sdk/{send-gDoGA-7e.js → send-Di1Jit3L.js} +7 -7
  70. package/dist/plugin-sdk/{skill-commands-FKEPLS7T.js → skill-commands-iJtvpqgb.js} +2 -2
  71. package/dist/plugin-sdk/{slack-DSC6T2KW.js → slack-B-nOOLM0.js} +44 -43
  72. package/dist/plugin-sdk/{slack-actions-DhbMcp8M.js → slack-actions-BzUEszJa.js} +10 -10
  73. package/dist/plugin-sdk/slack.d.ts +4 -4
  74. package/dist/plugin-sdk/slack.js +6 -6
  75. package/dist/plugin-sdk/{sticker-cache-C0l_5IKg.js → sticker-cache-BLiId8Em.js} +2 -2
  76. package/dist/plugin-sdk/{tables-B3jr0Pvq.js → tables-_1W36GII.js} +2 -2
  77. package/dist/plugin-sdk/{targets-CtSbTxYX.js → targets-DDbNnLnB.js} +2 -2
  78. package/dist/plugin-sdk/{telegram-actions-BwGBIVDE.js → telegram-actions-1X9A32Dn.js} +29 -28
  79. package/dist/plugin-sdk/telegram.d.ts +4 -4
  80. package/dist/plugin-sdk/telegram.js +3 -3
  81. package/dist/plugin-sdk/{thread-bindings.lifecycle-QbkNl-m6.js → thread-bindings.lifecycle-Y9T3CQGf.js} +3 -3
  82. package/dist/plugin-sdk/{thread-bindings.state-D9hg_M1c.js → thread-bindings.state-D2oOWDpv.js} +1 -1
  83. package/dist/plugin-sdk/{tmp-fased-dir-DXnGKKgi.d.ts → tmp-fased-dir-BkpWlGUe.d.ts} +7 -1
  84. package/dist/plugin-sdk/{types-Cegc86EP.d.ts → types-B-zL9gSv.d.ts} +2 -2
  85. package/dist/plugin-sdk/{types-eG9aYqXF.d.ts → types-DtCOO_hW.d.ts} +1 -1
  86. package/dist/plugin-sdk/{web-C_AH5PyB.js → web-BvjNyYBz.js} +32 -31
  87. package/dist/plugin-sdk/{whatsapp-actions-Bj_rOncr.js → whatsapp-actions-Blu9-eX-.js} +9 -9
  88. package/dist/plugin-sdk/{whatsapp-heartbeat-B1WHkJIg.js → whatsapp-heartbeat-DjmQM7hq.js} +2 -2
  89. package/dist/plugin-sdk/whatsapp.d.ts +7 -7
  90. package/dist/plugin-sdk/whatsapp.js +7 -7
  91. package/dist/plugin-sdk/{wsl-J-HscWxS.js → wsl-CTvIWvZz.js} +1 -1
  92. package/dist/plugin-sdk/{zod-schema.providers-core-FaYR6KdD.d.ts → zod-schema.providers-core-BCDlgtls.d.ts} +52 -52
  93. package/dist/wallet/local-socket-signer-lifecycle.js +29 -1
  94. package/dist/wallet/local-socket-signer-protocol.js +27 -0
  95. package/dist/wallet/providers/local-socket-signer-adapter.js +8 -0
  96. package/dist/wallet/signer-network-admin.js +11 -118
  97. package/dist/wallet/signer-protocol-v2.generated.js +4 -0
  98. package/dist/wallet/solana-assets.js +9 -3
  99. package/dist/wallet/solana-rpc-read-fetch.js +65 -0
  100. package/dist/wallet/wallet-status.js +7 -0
  101. package/dist/web/login-qr.js +1 -1
  102. package/dist/wizard/onboarding.js +61 -61
  103. package/extensions/acpx/package.json +1 -1
  104. package/extensions/bluebubbles/package.json +1 -1
  105. package/extensions/copilot-proxy/package.json +1 -1
  106. package/extensions/diagnostics-otel/package.json +1 -1
  107. package/extensions/fased-federation/package.json +1 -1
  108. package/extensions/google-gemini-cli-auth/package.json +1 -1
  109. package/extensions/imessage/package.json +1 -1
  110. package/extensions/irc/package.json +1 -1
  111. package/extensions/line/package.json +1 -1
  112. package/extensions/llm-task/package.json +1 -1
  113. package/extensions/lobster/package.json +1 -1
  114. package/extensions/matrix/CHANGELOG.md +6 -0
  115. package/extensions/matrix/package.json +1 -1
  116. package/extensions/mattermost/package.json +1 -1
  117. package/extensions/memory-core/package.json +2 -2
  118. package/extensions/memory-lancedb/package.json +1 -1
  119. package/extensions/minimax-portal-auth/package.json +1 -1
  120. package/extensions/msteams/CHANGELOG.md +6 -0
  121. package/extensions/msteams/package.json +1 -1
  122. package/extensions/nextcloud-talk/package.json +1 -1
  123. package/extensions/nostr/CHANGELOG.md +6 -0
  124. package/extensions/nostr/package.json +1 -1
  125. package/extensions/open-prose/package.json +1 -1
  126. package/extensions/sat-mining/package.json +1 -1
  127. package/extensions/signal/package.json +1 -1
  128. package/extensions/synology-chat/package.json +1 -1
  129. package/extensions/tlon/package.json +1 -1
  130. package/extensions/twitch/CHANGELOG.md +6 -0
  131. package/extensions/twitch/package.json +1 -1
  132. package/extensions/voice-call/CHANGELOG.md +6 -0
  133. package/extensions/voice-call/package.json +1 -1
  134. package/extensions/zalo/CHANGELOG.md +6 -0
  135. package/extensions/zalo/package.json +1 -1
  136. package/extensions/zalouser/CHANGELOG.md +6 -0
  137. package/extensions/zalouser/package.json +1 -1
  138. package/install.sh +16 -10
  139. package/package.json +2 -1
  140. package/scripts/fased-managed-updater.mjs +10 -2
  141. package/scripts/fased-signer-wallet-import-hosting.sh +78 -0
  142. package/scripts/install-managed-runtime.mjs +10 -7
  143. /package/dist/plugin-sdk/{active-listener-B_NMtgPL.js → active-listener-p9Ooc1qj.js} +0 -0
  144. /package/dist/plugin-sdk/{blocks-input-Bg-8S2pl.js → blocks-input-DiZaqaN7.js} +0 -0
  145. /package/dist/plugin-sdk/{channel-access-CcFRdRPO.js → channel-access-B0aZBSd2.js} +0 -0
  146. /package/dist/plugin-sdk/{channel-activity-DBDMQ3yI.js → channel-activity-F07DjroV.js} +0 -0
  147. /package/dist/plugin-sdk/{channel-core-CFRs8LPy.js → channel-core-DoF4X04L.js} +0 -0
  148. /package/dist/plugin-sdk/{client-pI228AVT.js → client-DLY-kWF_.js} +0 -0
  149. /package/dist/plugin-sdk/{command-poll-backoff-yJU83wEq.js → command-poll-backoff-NAePk3eL.js} +0 -0
  150. /package/dist/plugin-sdk/{date-time-uUevHscU.js → date-time-ChY_tHoG.js} +0 -0
  151. /package/dist/plugin-sdk/{draft-stream-loop-CrOPfV3F.js → draft-stream-loop-DMBwjjd1.js} +0 -0
  152. /package/dist/plugin-sdk/{fetch-BtmoPIlf.js → fetch-B0v6OTUZ.js} +0 -0
  153. /package/dist/plugin-sdk/{filesystem-manager-DoI8IBNF.js → filesystem-manager-BzuIJ9K9.js} +0 -0
  154. /package/dist/plugin-sdk/{gateway-registry-DZDsqicG.js → gateway-registry-Bgl2GFgy.js} +0 -0
  155. /package/dist/plugin-sdk/{inbound-context-DrAcXE0y.js → inbound-context-CQnfFFQ9.js} +0 -0
  156. /package/dist/plugin-sdk/{pi-model-discovery-BX_JLcEJ.js → pi-model-discovery-BHNVyRny.js} +0 -0
  157. /package/dist/plugin-sdk/{polls-DKQXVfJp.js → polls-DXd67TD8.js} +0 -0
  158. /package/dist/plugin-sdk/{proxy-DWpYcsvR.js → proxy-CLRUdShp.js} +0 -0
  159. /package/dist/plugin-sdk/{pw-ai-DlxqX6Es.js → pw-ai-DJ_gTc4M.js} +0 -0
  160. /package/dist/plugin-sdk/{qmd-manager-CgRaTxUq.js → qmd-manager-B8Vnu0ND.js} +0 -0
  161. /package/dist/plugin-sdk/{render-e7fENCYH.js → render-DrBfVs0u.js} +0 -0
  162. /package/dist/plugin-sdk/{reply-reference-Bqk-7HXE.js → reply-reference-BnAk5Wjb.js} +0 -0
  163. /package/dist/plugin-sdk/{retry-policy-C6SjKjQA.js → retry-policy-CXh1owkc.js} +0 -0
  164. /package/dist/plugin-sdk/{sandbox-paths-Dx2lUqCu.js → sandbox-paths-Bzh1CuZc.js} +0 -0
  165. /package/dist/plugin-sdk/{session-DHD4ZKyG.js → session-iuGR_rdi.js} +0 -0
  166. /package/dist/plugin-sdk/{shared-CBgp_GBw.js → shared-D1AD2Ejn.js} +0 -0
  167. /package/dist/plugin-sdk/{target-errors-Ckufe179.js → target-errors-DfS1sLR9.js} +0 -0
  168. /package/dist/plugin-sdk/{tool-loop-detection-Bp8bPJLs.js → tool-loop-detection-sDZl27w7.js} +0 -0
  169. /package/dist/plugin-sdk/{ui-Be8cLHIS.js → ui-GQDYm_jw.js} +0 -0
  170. /package/dist/plugin-sdk/{with-timeout-ckWB8rTo.js → with-timeout-CVV8tytk.js} +0 -0
@@ -5,18 +5,18 @@ declare const TelegramConfigSchema: z.ZodObject<{
5
5
  name: z.ZodOptional<z.ZodString>;
6
6
  capabilities: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
7
7
  inlineButtons: z.ZodOptional<z.ZodEnum<{
8
- off: "off";
9
8
  allowlist: "allowlist";
9
+ off: "off";
10
+ all: "all";
10
11
  group: "group";
11
12
  dm: "dm";
12
- all: "all";
13
13
  }>>;
14
14
  }, z.core.$strict>]>>;
15
15
  markdown: z.ZodOptional<z.ZodObject<{
16
16
  tables: z.ZodOptional<z.ZodEnum<{
17
17
  off: "off";
18
- bullets: "bullets";
19
18
  code: "code";
19
+ bullets: "bullets";
20
20
  }>>;
21
21
  }, z.core.$strict>>;
22
22
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -30,10 +30,10 @@ declare const TelegramConfigSchema: z.ZodObject<{
30
30
  }, z.core.$strict>>>;
31
31
  configWrites: z.ZodOptional<z.ZodBoolean>;
32
32
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
33
- pairing: "pairing";
34
33
  allowlist: "allowlist";
35
34
  open: "open";
36
35
  disabled: "disabled";
36
+ pairing: "pairing";
37
37
  }>>>;
38
38
  botToken: z.ZodOptional<z.ZodString>;
39
39
  tokenFile: z.ZodOptional<z.ZodString>;
@@ -146,8 +146,8 @@ declare const TelegramConfigSchema: z.ZodObject<{
146
146
  }>>;
147
147
  reactionLevel: z.ZodOptional<z.ZodEnum<{
148
148
  off: "off";
149
- ack: "ack";
150
149
  minimal: "minimal";
150
+ ack: "ack";
151
151
  extensive: "extensive";
152
152
  }>>;
153
153
  heartbeat: z.ZodOptional<z.ZodObject<{
@@ -162,18 +162,18 @@ declare const TelegramConfigSchema: z.ZodObject<{
162
162
  name: z.ZodOptional<z.ZodString>;
163
163
  capabilities: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
164
164
  inlineButtons: z.ZodOptional<z.ZodEnum<{
165
- off: "off";
166
165
  allowlist: "allowlist";
166
+ off: "off";
167
+ all: "all";
167
168
  group: "group";
168
169
  dm: "dm";
169
- all: "all";
170
170
  }>>;
171
171
  }, z.core.$strict>]>>;
172
172
  markdown: z.ZodOptional<z.ZodObject<{
173
173
  tables: z.ZodOptional<z.ZodEnum<{
174
174
  off: "off";
175
- bullets: "bullets";
176
175
  code: "code";
176
+ bullets: "bullets";
177
177
  }>>;
178
178
  }, z.core.$strict>>;
179
179
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -187,10 +187,10 @@ declare const TelegramConfigSchema: z.ZodObject<{
187
187
  }, z.core.$strict>>>;
188
188
  configWrites: z.ZodOptional<z.ZodBoolean>;
189
189
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
190
- pairing: "pairing";
191
190
  allowlist: "allowlist";
192
191
  open: "open";
193
192
  disabled: "disabled";
193
+ pairing: "pairing";
194
194
  }>>>;
195
195
  botToken: z.ZodOptional<z.ZodString>;
196
196
  tokenFile: z.ZodOptional<z.ZodString>;
@@ -303,8 +303,8 @@ declare const TelegramConfigSchema: z.ZodObject<{
303
303
  }>>;
304
304
  reactionLevel: z.ZodOptional<z.ZodEnum<{
305
305
  off: "off";
306
- ack: "ack";
307
306
  minimal: "minimal";
307
+ ack: "ack";
308
308
  extensive: "extensive";
309
309
  }>>;
310
310
  heartbeat: z.ZodOptional<z.ZodObject<{
@@ -323,8 +323,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
323
323
  markdown: z.ZodOptional<z.ZodObject<{
324
324
  tables: z.ZodOptional<z.ZodEnum<{
325
325
  off: "off";
326
- bullets: "bullets";
327
326
  code: "code";
327
+ bullets: "bullets";
328
328
  }>>;
329
329
  }, z.core.$strict>>;
330
330
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -405,20 +405,20 @@ declare const DiscordConfigSchema: z.ZodObject<{
405
405
  }, z.core.$strict>>;
406
406
  replyToMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"first">, z.ZodLiteral<"all">]>>;
407
407
  dmPolicy: z.ZodOptional<z.ZodEnum<{
408
- pairing: "pairing";
409
408
  allowlist: "allowlist";
410
409
  open: "open";
411
410
  disabled: "disabled";
411
+ pairing: "pairing";
412
412
  }>>;
413
413
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]> & z.ZodType<string, string | number, z.core.$ZodTypeInternals<string, string | number>>>>;
414
414
  defaultTo: z.ZodOptional<z.ZodString>;
415
415
  dm: z.ZodOptional<z.ZodObject<{
416
416
  enabled: z.ZodOptional<z.ZodBoolean>;
417
417
  policy: z.ZodOptional<z.ZodEnum<{
418
- pairing: "pairing";
419
418
  allowlist: "allowlist";
420
419
  open: "open";
421
420
  disabled: "disabled";
421
+ pairing: "pairing";
422
422
  }>>;
423
423
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]> & z.ZodType<string, string | number, z.core.$ZodTypeInternals<string, string | number>>>>;
424
424
  groupEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -438,8 +438,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
438
438
  deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
439
439
  }, z.core.$strict>>>>;
440
440
  reactionNotifications: z.ZodOptional<z.ZodEnum<{
441
- off: "off";
442
441
  allowlist: "allowlist";
442
+ off: "off";
443
443
  all: "all";
444
444
  own: "own";
445
445
  }>>;
@@ -479,8 +479,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
479
479
  sessionFilter: z.ZodOptional<z.ZodArray<z.ZodString>>;
480
480
  cleanupAfterResolve: z.ZodOptional<z.ZodBoolean>;
481
481
  target: z.ZodOptional<z.ZodEnum<{
482
- dm: "dm";
483
482
  channel: "channel";
483
+ dm: "dm";
484
484
  both: "both";
485
485
  }>>;
486
486
  }, z.core.$strict>>;
@@ -524,8 +524,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
524
524
  final: "final";
525
525
  }>>;
526
526
  provider: z.ZodOptional<z.ZodEnum<{
527
- elevenlabs: "elevenlabs";
528
527
  openai: "openai";
528
+ elevenlabs: "elevenlabs";
529
529
  edge: "edge";
530
530
  }>>;
531
531
  summaryModel: z.ZodOptional<z.ZodString>;
@@ -602,8 +602,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
602
602
  markdown: z.ZodOptional<z.ZodObject<{
603
603
  tables: z.ZodOptional<z.ZodEnum<{
604
604
  off: "off";
605
- bullets: "bullets";
606
605
  code: "code";
606
+ bullets: "bullets";
607
607
  }>>;
608
608
  }, z.core.$strict>>;
609
609
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -684,20 +684,20 @@ declare const DiscordConfigSchema: z.ZodObject<{
684
684
  }, z.core.$strict>>;
685
685
  replyToMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"first">, z.ZodLiteral<"all">]>>;
686
686
  dmPolicy: z.ZodOptional<z.ZodEnum<{
687
- pairing: "pairing";
688
687
  allowlist: "allowlist";
689
688
  open: "open";
690
689
  disabled: "disabled";
690
+ pairing: "pairing";
691
691
  }>>;
692
692
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]> & z.ZodType<string, string | number, z.core.$ZodTypeInternals<string, string | number>>>>;
693
693
  defaultTo: z.ZodOptional<z.ZodString>;
694
694
  dm: z.ZodOptional<z.ZodObject<{
695
695
  enabled: z.ZodOptional<z.ZodBoolean>;
696
696
  policy: z.ZodOptional<z.ZodEnum<{
697
- pairing: "pairing";
698
697
  allowlist: "allowlist";
699
698
  open: "open";
700
699
  disabled: "disabled";
700
+ pairing: "pairing";
701
701
  }>>;
702
702
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]> & z.ZodType<string, string | number, z.core.$ZodTypeInternals<string, string | number>>>>;
703
703
  groupEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -717,8 +717,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
717
717
  deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
718
718
  }, z.core.$strict>>>>;
719
719
  reactionNotifications: z.ZodOptional<z.ZodEnum<{
720
- off: "off";
721
720
  allowlist: "allowlist";
721
+ off: "off";
722
722
  all: "all";
723
723
  own: "own";
724
724
  }>>;
@@ -758,8 +758,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
758
758
  sessionFilter: z.ZodOptional<z.ZodArray<z.ZodString>>;
759
759
  cleanupAfterResolve: z.ZodOptional<z.ZodBoolean>;
760
760
  target: z.ZodOptional<z.ZodEnum<{
761
- dm: "dm";
762
761
  channel: "channel";
762
+ dm: "dm";
763
763
  both: "both";
764
764
  }>>;
765
765
  }, z.core.$strict>>;
@@ -803,8 +803,8 @@ declare const DiscordConfigSchema: z.ZodObject<{
803
803
  final: "final";
804
804
  }>>;
805
805
  provider: z.ZodOptional<z.ZodEnum<{
806
- elevenlabs: "elevenlabs";
807
806
  openai: "openai";
807
+ elevenlabs: "elevenlabs";
808
808
  edge: "edge";
809
809
  }>>;
810
810
  summaryModel: z.ZodOptional<z.ZodString>;
@@ -952,8 +952,8 @@ declare const GoogleChatConfigSchema: z.ZodObject<{
952
952
  }, z.core.$strict>>;
953
953
  streamMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
954
954
  replace: "replace";
955
- status_final: "status_final";
956
955
  append: "append";
956
+ status_final: "status_final";
957
957
  }>>>;
958
958
  mediaMaxMb: z.ZodOptional<z.ZodNumber>;
959
959
  replyToMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"first">, z.ZodLiteral<"all">]>>;
@@ -963,10 +963,10 @@ declare const GoogleChatConfigSchema: z.ZodObject<{
963
963
  dm: z.ZodOptional<z.ZodObject<{
964
964
  enabled: z.ZodOptional<z.ZodBoolean>;
965
965
  policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
966
- pairing: "pairing";
967
966
  allowlist: "allowlist";
968
967
  open: "open";
969
968
  disabled: "disabled";
969
+ pairing: "pairing";
970
970
  }>>>;
971
971
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
972
972
  }, z.core.$strict>>;
@@ -1051,8 +1051,8 @@ declare const GoogleChatConfigSchema: z.ZodObject<{
1051
1051
  }, z.core.$strict>>;
1052
1052
  streamMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1053
1053
  replace: "replace";
1054
- status_final: "status_final";
1055
1054
  append: "append";
1055
+ status_final: "status_final";
1056
1056
  }>>>;
1057
1057
  mediaMaxMb: z.ZodOptional<z.ZodNumber>;
1058
1058
  replyToMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"first">, z.ZodLiteral<"all">]>>;
@@ -1062,10 +1062,10 @@ declare const GoogleChatConfigSchema: z.ZodObject<{
1062
1062
  dm: z.ZodOptional<z.ZodObject<{
1063
1063
  enabled: z.ZodOptional<z.ZodBoolean>;
1064
1064
  policy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1065
- pairing: "pairing";
1066
1065
  allowlist: "allowlist";
1067
1066
  open: "open";
1068
1067
  disabled: "disabled";
1068
+ pairing: "pairing";
1069
1069
  }>>>;
1070
1070
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1071
1071
  }, z.core.$strict>>;
@@ -1084,8 +1084,8 @@ declare const SlackConfigSchema: z.ZodObject<{
1084
1084
  markdown: z.ZodOptional<z.ZodObject<{
1085
1085
  tables: z.ZodOptional<z.ZodEnum<{
1086
1086
  off: "off";
1087
- bullets: "bullets";
1088
1087
  code: "code";
1088
+ bullets: "bullets";
1089
1089
  }>>;
1090
1090
  }, z.core.$strict>>;
1091
1091
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1126,13 +1126,13 @@ declare const SlackConfigSchema: z.ZodObject<{
1126
1126
  nativeStreaming: z.ZodOptional<z.ZodBoolean>;
1127
1127
  streamMode: z.ZodOptional<z.ZodEnum<{
1128
1128
  replace: "replace";
1129
- status_final: "status_final";
1130
1129
  append: "append";
1130
+ status_final: "status_final";
1131
1131
  }>>;
1132
1132
  mediaMaxMb: z.ZodOptional<z.ZodNumber>;
1133
1133
  reactionNotifications: z.ZodOptional<z.ZodEnum<{
1134
- off: "off";
1135
1134
  allowlist: "allowlist";
1135
+ off: "off";
1136
1136
  all: "all";
1137
1137
  own: "own";
1138
1138
  }>>;
@@ -1145,8 +1145,8 @@ declare const SlackConfigSchema: z.ZodObject<{
1145
1145
  }, z.core.$strict>>;
1146
1146
  thread: z.ZodOptional<z.ZodObject<{
1147
1147
  historyScope: z.ZodOptional<z.ZodEnum<{
1148
- channel: "channel";
1149
1148
  thread: "thread";
1149
+ channel: "channel";
1150
1150
  }>>;
1151
1151
  inheritParent: z.ZodOptional<z.ZodBoolean>;
1152
1152
  initialHistoryLimit: z.ZodOptional<z.ZodNumber>;
@@ -1168,20 +1168,20 @@ declare const SlackConfigSchema: z.ZodObject<{
1168
1168
  ephemeral: z.ZodOptional<z.ZodBoolean>;
1169
1169
  }, z.core.$strict>>;
1170
1170
  dmPolicy: z.ZodOptional<z.ZodEnum<{
1171
- pairing: "pairing";
1172
1171
  allowlist: "allowlist";
1173
1172
  open: "open";
1174
1173
  disabled: "disabled";
1174
+ pairing: "pairing";
1175
1175
  }>>;
1176
1176
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1177
1177
  defaultTo: z.ZodOptional<z.ZodString>;
1178
1178
  dm: z.ZodOptional<z.ZodObject<{
1179
1179
  enabled: z.ZodOptional<z.ZodBoolean>;
1180
1180
  policy: z.ZodOptional<z.ZodEnum<{
1181
- pairing: "pairing";
1182
1181
  allowlist: "allowlist";
1183
1182
  open: "open";
1184
1183
  disabled: "disabled";
1184
+ pairing: "pairing";
1185
1185
  }>>;
1186
1186
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1187
1187
  groupEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -1237,8 +1237,8 @@ declare const SlackConfigSchema: z.ZodObject<{
1237
1237
  markdown: z.ZodOptional<z.ZodObject<{
1238
1238
  tables: z.ZodOptional<z.ZodEnum<{
1239
1239
  off: "off";
1240
- bullets: "bullets";
1241
1240
  code: "code";
1241
+ bullets: "bullets";
1242
1242
  }>>;
1243
1243
  }, z.core.$strict>>;
1244
1244
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1284,13 +1284,13 @@ declare const SlackConfigSchema: z.ZodObject<{
1284
1284
  nativeStreaming: z.ZodOptional<z.ZodBoolean>;
1285
1285
  streamMode: z.ZodOptional<z.ZodEnum<{
1286
1286
  replace: "replace";
1287
- status_final: "status_final";
1288
1287
  append: "append";
1288
+ status_final: "status_final";
1289
1289
  }>>;
1290
1290
  mediaMaxMb: z.ZodOptional<z.ZodNumber>;
1291
1291
  reactionNotifications: z.ZodOptional<z.ZodEnum<{
1292
- off: "off";
1293
1292
  allowlist: "allowlist";
1293
+ off: "off";
1294
1294
  all: "all";
1295
1295
  own: "own";
1296
1296
  }>>;
@@ -1303,8 +1303,8 @@ declare const SlackConfigSchema: z.ZodObject<{
1303
1303
  }, z.core.$strict>>;
1304
1304
  thread: z.ZodOptional<z.ZodObject<{
1305
1305
  historyScope: z.ZodOptional<z.ZodEnum<{
1306
- channel: "channel";
1307
1306
  thread: "thread";
1307
+ channel: "channel";
1308
1308
  }>>;
1309
1309
  inheritParent: z.ZodOptional<z.ZodBoolean>;
1310
1310
  initialHistoryLimit: z.ZodOptional<z.ZodNumber>;
@@ -1326,20 +1326,20 @@ declare const SlackConfigSchema: z.ZodObject<{
1326
1326
  ephemeral: z.ZodOptional<z.ZodBoolean>;
1327
1327
  }, z.core.$strict>>;
1328
1328
  dmPolicy: z.ZodOptional<z.ZodEnum<{
1329
- pairing: "pairing";
1330
1329
  allowlist: "allowlist";
1331
1330
  open: "open";
1332
1331
  disabled: "disabled";
1332
+ pairing: "pairing";
1333
1333
  }>>;
1334
1334
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1335
1335
  defaultTo: z.ZodOptional<z.ZodString>;
1336
1336
  dm: z.ZodOptional<z.ZodObject<{
1337
1337
  enabled: z.ZodOptional<z.ZodBoolean>;
1338
1338
  policy: z.ZodOptional<z.ZodEnum<{
1339
- pairing: "pairing";
1340
1339
  allowlist: "allowlist";
1341
1340
  open: "open";
1342
1341
  disabled: "disabled";
1342
+ pairing: "pairing";
1343
1343
  }>>;
1344
1344
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1345
1345
  groupEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -1380,8 +1380,8 @@ declare const SignalConfigSchema: z.ZodObject<{
1380
1380
  markdown: z.ZodOptional<z.ZodObject<{
1381
1381
  tables: z.ZodOptional<z.ZodEnum<{
1382
1382
  off: "off";
1383
- bullets: "bullets";
1384
1383
  code: "code";
1384
+ bullets: "bullets";
1385
1385
  }>>;
1386
1386
  }, z.core.$strict>>;
1387
1387
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1398,10 +1398,10 @@ declare const SignalConfigSchema: z.ZodObject<{
1398
1398
  ignoreStories: z.ZodOptional<z.ZodBoolean>;
1399
1399
  sendReadReceipts: z.ZodOptional<z.ZodBoolean>;
1400
1400
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1401
- pairing: "pairing";
1402
1401
  allowlist: "allowlist";
1403
1402
  open: "open";
1404
1403
  disabled: "disabled";
1404
+ pairing: "pairing";
1405
1405
  }>>>;
1406
1406
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1407
1407
  defaultTo: z.ZodOptional<z.ZodString>;
@@ -1429,8 +1429,8 @@ declare const SignalConfigSchema: z.ZodObject<{
1429
1429
  }, z.core.$strict>>;
1430
1430
  mediaMaxMb: z.ZodOptional<z.ZodNumber>;
1431
1431
  reactionNotifications: z.ZodOptional<z.ZodEnum<{
1432
- off: "off";
1433
1432
  allowlist: "allowlist";
1433
+ off: "off";
1434
1434
  all: "all";
1435
1435
  own: "own";
1436
1436
  }>>;
@@ -1440,8 +1440,8 @@ declare const SignalConfigSchema: z.ZodObject<{
1440
1440
  }, z.core.$strict>>;
1441
1441
  reactionLevel: z.ZodOptional<z.ZodEnum<{
1442
1442
  off: "off";
1443
- ack: "ack";
1444
1443
  minimal: "minimal";
1444
+ ack: "ack";
1445
1445
  extensive: "extensive";
1446
1446
  }>>;
1447
1447
  heartbeat: z.ZodOptional<z.ZodObject<{
@@ -1456,8 +1456,8 @@ declare const SignalConfigSchema: z.ZodObject<{
1456
1456
  markdown: z.ZodOptional<z.ZodObject<{
1457
1457
  tables: z.ZodOptional<z.ZodEnum<{
1458
1458
  off: "off";
1459
- bullets: "bullets";
1460
1459
  code: "code";
1460
+ bullets: "bullets";
1461
1461
  }>>;
1462
1462
  }, z.core.$strict>>;
1463
1463
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1474,10 +1474,10 @@ declare const SignalConfigSchema: z.ZodObject<{
1474
1474
  ignoreStories: z.ZodOptional<z.ZodBoolean>;
1475
1475
  sendReadReceipts: z.ZodOptional<z.ZodBoolean>;
1476
1476
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1477
- pairing: "pairing";
1478
1477
  allowlist: "allowlist";
1479
1478
  open: "open";
1480
1479
  disabled: "disabled";
1480
+ pairing: "pairing";
1481
1481
  }>>>;
1482
1482
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1483
1483
  defaultTo: z.ZodOptional<z.ZodString>;
@@ -1505,8 +1505,8 @@ declare const SignalConfigSchema: z.ZodObject<{
1505
1505
  }, z.core.$strict>>;
1506
1506
  mediaMaxMb: z.ZodOptional<z.ZodNumber>;
1507
1507
  reactionNotifications: z.ZodOptional<z.ZodEnum<{
1508
- off: "off";
1509
1508
  allowlist: "allowlist";
1509
+ off: "off";
1510
1510
  all: "all";
1511
1511
  own: "own";
1512
1512
  }>>;
@@ -1516,8 +1516,8 @@ declare const SignalConfigSchema: z.ZodObject<{
1516
1516
  }, z.core.$strict>>;
1517
1517
  reactionLevel: z.ZodOptional<z.ZodEnum<{
1518
1518
  off: "off";
1519
- ack: "ack";
1520
1519
  minimal: "minimal";
1520
+ ack: "ack";
1521
1521
  extensive: "extensive";
1522
1522
  }>>;
1523
1523
  heartbeat: z.ZodOptional<z.ZodObject<{
@@ -1534,8 +1534,8 @@ declare const IMessageConfigSchema: z.ZodObject<{
1534
1534
  markdown: z.ZodOptional<z.ZodObject<{
1535
1535
  tables: z.ZodOptional<z.ZodEnum<{
1536
1536
  off: "off";
1537
- bullets: "bullets";
1538
1537
  code: "code";
1538
+ bullets: "bullets";
1539
1539
  }>>;
1540
1540
  }, z.core.$strict>>;
1541
1541
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1546,10 +1546,10 @@ declare const IMessageConfigSchema: z.ZodObject<{
1546
1546
  service: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"imessage">, z.ZodLiteral<"sms">, z.ZodLiteral<"auto">]>>;
1547
1547
  region: z.ZodOptional<z.ZodString>;
1548
1548
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1549
- pairing: "pairing";
1550
1549
  allowlist: "allowlist";
1551
1550
  open: "open";
1552
1551
  disabled: "disabled";
1552
+ pairing: "pairing";
1553
1553
  }>>>;
1554
1554
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1555
1555
  defaultTo: z.ZodOptional<z.ZodString>;
@@ -1604,8 +1604,8 @@ declare const IMessageConfigSchema: z.ZodObject<{
1604
1604
  markdown: z.ZodOptional<z.ZodObject<{
1605
1605
  tables: z.ZodOptional<z.ZodEnum<{
1606
1606
  off: "off";
1607
- bullets: "bullets";
1608
1607
  code: "code";
1608
+ bullets: "bullets";
1609
1609
  }>>;
1610
1610
  }, z.core.$strict>>;
1611
1611
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1616,10 +1616,10 @@ declare const IMessageConfigSchema: z.ZodObject<{
1616
1616
  service: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"imessage">, z.ZodLiteral<"sms">, z.ZodLiteral<"auto">]>>;
1617
1617
  region: z.ZodOptional<z.ZodString>;
1618
1618
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1619
- pairing: "pairing";
1620
1619
  allowlist: "allowlist";
1621
1620
  open: "open";
1622
1621
  disabled: "disabled";
1622
+ pairing: "pairing";
1623
1623
  }>>>;
1624
1624
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
1625
1625
  defaultTo: z.ZodOptional<z.ZodString>;
@@ -1677,8 +1677,8 @@ declare const MSTeamsConfigSchema: z.ZodObject<{
1677
1677
  markdown: z.ZodOptional<z.ZodObject<{
1678
1678
  tables: z.ZodOptional<z.ZodEnum<{
1679
1679
  off: "off";
1680
- bullets: "bullets";
1681
1680
  code: "code";
1681
+ bullets: "bullets";
1682
1682
  }>>;
1683
1683
  }, z.core.$strict>>;
1684
1684
  configWrites: z.ZodOptional<z.ZodBoolean>;
@@ -1690,10 +1690,10 @@ declare const MSTeamsConfigSchema: z.ZodObject<{
1690
1690
  path: z.ZodOptional<z.ZodString>;
1691
1691
  }, z.core.$strict>>;
1692
1692
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1693
- pairing: "pairing";
1694
1693
  allowlist: "allowlist";
1695
1694
  open: "open";
1696
1695
  disabled: "disabled";
1696
+ pairing: "pairing";
1697
1697
  }>>>;
1698
1698
  allowFrom: z.ZodOptional<z.ZodArray<z.ZodString>>;
1699
1699
  defaultTo: z.ZodOptional<z.ZodString>;
@@ -17,6 +17,7 @@ async function requireSignerOwnedProtocolV2(socketPath) {
17
17
  "failClosedPolicies",
18
18
  "policyHashes",
19
19
  "signerOwnedKeys",
20
+ "applicationNetworkBootstrap",
20
21
  "atomicMultiAssetCaps",
21
22
  "signerControlledNativeFeeCaps"
22
23
  ];
@@ -92,6 +93,33 @@ async function createLockedSignerOwnedWallet(params) {
92
93
  return existing;
93
94
  }
94
95
  }
96
+ async function configureSignerOwnedWalletPrimaryRpc(params) {
97
+ const walletId = params.walletId.trim();
98
+ const primaryRpcUrl = params.primaryRpcUrl.trim();
99
+ if (!/^[a-zA-Z0-9_-]+$/.test(walletId)) {
100
+ throw new Error("walletId must contain only letters, numbers, hyphens, or underscores");
101
+ }
102
+ if (!primaryRpcUrl) {
103
+ throw new Error("signer-owned wallet network requires one primary RPC URL");
104
+ }
105
+ await requireSignerOwnedProtocolV2(params.socketPath);
106
+ const current = await callLocalSocketSigner(params.socketPath, {
107
+ op: "v2.network.get",
108
+ walletId
109
+ });
110
+ const updated = await callLocalSocketSigner(params.socketPath, {
111
+ op: "v2.network.bootstrap",
112
+ walletId,
113
+ request: {
114
+ expectedVersion: current.version,
115
+ primaryRpcUrl
116
+ }
117
+ });
118
+ if (updated.walletId !== walletId || !updated.configured || !updated.ready || updated.version !== current.version + 1 || !updated.hash) {
119
+ throw new Error("signer-owned RPC activation did not return the exact next ready version");
120
+ }
121
+ return updated;
122
+ }
95
123
 
96
124
  //#endregion
97
- export { createLockedSignerOwnedWallet };
125
+ export { configureSignerOwnedWalletPrimaryRpc, createLockedSignerOwnedWallet };
@@ -292,6 +292,16 @@ const LocalSocketSignerSatLookupBindingV2Schema = Type.Object({
292
292
  Type.Literal("unknown")
293
293
  ]))
294
294
  }, { additionalProperties: false });
295
+ const LocalSocketSignerNetworkSummaryV2Schema = Type.Object({
296
+ walletId: Type.String({
297
+ minLength: 1,
298
+ maxLength: 64
299
+ }),
300
+ configured: Type.Boolean(),
301
+ version: Type.Integer({ minimum: 0 }),
302
+ hash: Type.Optional(Type.String({ pattern: "^hmac-sha256:[0-9a-f]{64}$" })),
303
+ ready: Type.Boolean()
304
+ }, { additionalProperties: false });
295
305
  const LocalSocketSignerRequestSchema = Type.Union([
296
306
  Type.Object({ op: Type.Literal("health") }, { additionalProperties: false }),
297
307
  Type.Object({ op: Type.Literal("v2.capabilities") }, { additionalProperties: false }),
@@ -303,6 +313,21 @@ const LocalSocketSignerRequestSchema = Type.Union([
303
313
  op: Type.Literal("v2.policy.get"),
304
314
  walletId: Type.String()
305
315
  }, { additionalProperties: false }),
316
+ Type.Object({
317
+ op: Type.Literal("v2.network.get"),
318
+ walletId: Type.String()
319
+ }, { additionalProperties: false }),
320
+ Type.Object({
321
+ op: Type.Literal("v2.network.bootstrap"),
322
+ walletId: Type.String(),
323
+ request: Type.Object({
324
+ expectedVersion: Type.Integer({ minimum: 0 }),
325
+ primaryRpcUrl: Type.String({
326
+ minLength: 1,
327
+ maxLength: 2048
328
+ })
329
+ }, { additionalProperties: false })
330
+ }, { additionalProperties: false }),
306
331
  Type.Object({
307
332
  op: Type.Literal("v2.policy.put"),
308
333
  walletId: Type.String(),
@@ -665,6 +690,8 @@ function validateLocalSocketSignerResult(op, result) {
665
690
  case "health":
666
691
  case "v2.capabilities": return Value.Check(LocalSocketSignerHealthResultSchema, result);
667
692
  case "v2.jupiter.trigger.history": return Value.Check(LocalSocketSignerJupiterTriggerHistoryV2Schema, result);
693
+ case "v2.network.get":
694
+ case "v2.network.bootstrap": return Value.Check(LocalSocketSignerNetworkSummaryV2Schema, result);
668
695
  case "v2.policy.get":
669
696
  case "v2.policy.put":
670
697
  case "v2.policy.tighten": return Value.Check(LocalSocketSignerPolicyV2Schema, result);
@@ -14,6 +14,8 @@ const REQUIRED_PROTOCOL_V2_FEATURES = SIGNER_PROTOCOL_V2_REQUIRED_CLIENT_FEATURE
14
14
  const SIGNER_SOCKET_TIMEOUT_MS = {
15
15
  health: 2e3,
16
16
  "v2.capabilities": 2e3,
17
+ "v2.network.get": 15e3,
18
+ "v2.network.bootstrap": 3e4,
17
19
  "v2.jupiter.trigger.history": 3e4,
18
20
  "v2.policy.get": 5e3,
19
21
  "v2.policy.put": 5e3,
@@ -227,6 +229,12 @@ var LocalSocketSignerAdapter = class {
227
229
  provider: this.id,
228
230
  configured: true,
229
231
  checkedAt: new Date().toISOString(),
232
+ ...details.webAuthn ? { nativeSignerApproval: {
233
+ configured: details.webAuthn.configured,
234
+ ready: details.webAuthn.ready,
235
+ credentialCount: details.webAuthn.credentialCount,
236
+ credentialVersion: details.webAuthn.credentialVersion
237
+ } } : {},
230
238
  details: [
231
239
  details?.details ?? "",
232
240
  ...!details?.details ? [