@fased/fased 0.1.68 → 0.1.69

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 (103) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +20 -22
  3. package/config/sat-runtime.env +6 -2
  4. package/config/signer-protocol-v2.json +6 -0
  5. package/dist/agents/tools/wallet-action-tool.js +2 -0
  6. package/dist/agents/tools/wallet-tool.js +5 -3
  7. package/dist/brand.js +1 -1
  8. package/dist/build-info.json +3 -3
  9. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  10. package/dist/cli/program/register.wallet.js +88 -5
  11. package/dist/commands/wallet.js +842 -57
  12. package/dist/config/sat-runtime-ids.js +6 -1
  13. package/dist/control-ui/assets/{app-DyPTS0oM.js → app-BLFLoFPk.js} +8 -8
  14. package/dist/control-ui/assets/{federation-DgA9e-Pn.js → federation-SGMAnM_8.js} +2 -2
  15. package/dist/control-ui/assets/{index-Cu13yYHr.js → index-S88kp5ZQ.js} +3 -3
  16. package/dist/control-ui/assets/{mining-Dg-3ll0F.js → mining-ClI8RW4u.js} +2 -2
  17. package/dist/control-ui/assets/{wallet-ByKBcYhm.js → wallet-CRIhDQbW.js} +201 -116
  18. package/dist/control-ui/index.html +1 -1
  19. package/dist/control-ui/version.json +1 -1
  20. package/dist/gateway/server-http.js +46 -9
  21. package/dist/mining/mainnet-sync.js +67 -5
  22. package/dist/operator/operator-readiness.js +1 -1
  23. package/dist/plugin-sdk/{audio-preflight-_FVQjR1r.js → audio-preflight-CS7Q_7-R.js} +2 -2
  24. package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
  25. package/dist/plugin-sdk/{chunk-items-LH4uKSnh.js → chunk-items-BLBZNORg.js} +1 -1
  26. package/dist/plugin-sdk/command-status.js +2 -2
  27. package/dist/plugin-sdk/{config-schema-DjU_uD-6.js → config-schema-BiBOUW89.js} +255 -47
  28. package/dist/plugin-sdk/device-pair.d.ts +1 -1
  29. package/dist/plugin-sdk/discord.d.ts +4 -4
  30. package/dist/plugin-sdk/index.d.ts +16 -16
  31. package/dist/plugin-sdk/index.js +2 -2
  32. package/dist/plugin-sdk/{monitor-DUMMbG4h.js → monitor-WXdn4mR-.js} +4 -4
  33. package/dist/plugin-sdk/{monitor-DXIM16Hj.js → monitor-xzVAPbg2.js} +6 -6
  34. package/dist/plugin-sdk/{openresponses-http-C8lKwta1.js → openresponses-http-DnI1LFgq.js} +2 -2
  35. package/dist/plugin-sdk/{pairing-message-mKO92L-M.d.ts → pairing-message-CiTcdD6m.d.ts} +1 -1
  36. package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
  37. package/dist/plugin-sdk/{pw-ai-DJ_gTc4M.js → pw-ai-DZYLDC-S.js} +1 -1
  38. package/dist/plugin-sdk/{runtime-dependency-nup8niQL.js → runtime-dependency-DczkvPxn.js} +9 -9
  39. package/dist/plugin-sdk/sat-runtime.d.ts +89 -10
  40. package/dist/plugin-sdk/sat-runtime.js +2 -2
  41. package/dist/plugin-sdk/{slack-B-nOOLM0.js → slack-CkIRVDUK.js} +4 -4
  42. package/dist/plugin-sdk/slack.d.ts +4 -4
  43. package/dist/plugin-sdk/{sticker-cache-BLiId8Em.js → sticker-cache-Dpap5ce_.js} +2 -2
  44. package/dist/plugin-sdk/{telegram-actions-1X9A32Dn.js → telegram-actions-Cewdga8H.js} +3 -3
  45. package/dist/plugin-sdk/telegram.d.ts +4 -4
  46. package/dist/plugin-sdk/{tmp-fased-dir-BkpWlGUe.d.ts → tmp-fased-dir-BSEHc8MQ.d.ts} +2 -2
  47. package/dist/plugin-sdk/{types-DtCOO_hW.d.ts → types-BakzIzGN.d.ts} +1 -1
  48. package/dist/plugin-sdk/{types-B-zL9gSv.d.ts → types-CzF0YQqK.d.ts} +2 -2
  49. package/dist/plugin-sdk/{web-BvjNyYBz.js → web-DGWi7i3B.js} +2 -2
  50. package/dist/plugin-sdk/whatsapp.d.ts +9 -9
  51. package/dist/plugin-sdk/{zod-schema.providers-core-BCDlgtls.d.ts → zod-schema.providers-core-CIzCjXH9.d.ts} +63 -63
  52. package/dist/wallet/local-socket-signer-lifecycle.js +79 -3
  53. package/dist/wallet/local-socket-signer-protocol.js +70 -10
  54. package/dist/wallet/mining-wallet-retirement.js +256 -0
  55. package/dist/wallet/providers/local-socket-signer-adapter.js +2 -0
  56. package/dist/wallet/signer-protocol-v2.generated.js +6 -0
  57. package/dist/wallet/wallet-agent-selection.js +6 -10
  58. package/dist/wallet/wallet-provider-registry.js +70 -29
  59. package/dist/wallet/wallet-send-approvals.js +6 -2
  60. package/dist/wallet/wallet-status.js +56 -1
  61. package/dist/wizard/onboarding.js +32 -30
  62. package/dist/wizard/onboarding.wallet.js +10 -1
  63. package/extensions/acpx/package.json +1 -1
  64. package/extensions/bluebubbles/package.json +1 -1
  65. package/extensions/copilot-proxy/package.json +1 -1
  66. package/extensions/diagnostics-otel/package.json +1 -1
  67. package/extensions/fased-federation/package.json +1 -1
  68. package/extensions/google-gemini-cli-auth/package.json +1 -1
  69. package/extensions/imessage/package.json +1 -1
  70. package/extensions/irc/package.json +1 -1
  71. package/extensions/line/package.json +1 -1
  72. package/extensions/llm-task/package.json +1 -1
  73. package/extensions/lobster/package.json +1 -1
  74. package/extensions/matrix/CHANGELOG.md +6 -0
  75. package/extensions/matrix/package.json +1 -1
  76. package/extensions/mattermost/package.json +1 -1
  77. package/extensions/memory-core/package.json +2 -2
  78. package/extensions/memory-lancedb/package.json +1 -1
  79. package/extensions/minimax-portal-auth/package.json +1 -1
  80. package/extensions/msteams/CHANGELOG.md +6 -0
  81. package/extensions/msteams/package.json +1 -1
  82. package/extensions/nextcloud-talk/package.json +1 -1
  83. package/extensions/nostr/CHANGELOG.md +6 -0
  84. package/extensions/nostr/package.json +1 -1
  85. package/extensions/open-prose/package.json +1 -1
  86. package/extensions/sat-mining/package.json +1 -1
  87. package/extensions/signal/package.json +1 -1
  88. package/extensions/synology-chat/package.json +1 -1
  89. package/extensions/tlon/package.json +1 -1
  90. package/extensions/twitch/CHANGELOG.md +6 -0
  91. package/extensions/twitch/package.json +1 -1
  92. package/extensions/voice-call/CHANGELOG.md +6 -0
  93. package/extensions/voice-call/package.json +1 -1
  94. package/extensions/zalo/CHANGELOG.md +6 -0
  95. package/extensions/zalo/package.json +1 -1
  96. package/extensions/zalouser/CHANGELOG.md +6 -0
  97. package/extensions/zalouser/package.json +1 -1
  98. package/install.sh +276 -103
  99. package/package.json +4 -3
  100. package/scripts/install-fased-signerd.sh +4 -8
  101. package/scripts/install-runtime-profile.sh +27 -0
  102. package/scripts/start-managed.sh +13 -1
  103. package/scripts/fased-signer-wallet-import-hosting.sh +0 -78
@@ -1,6 +1,6 @@
1
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-B-zL9gSv.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-BkpWlGUe.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-CzF0YQqK.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-BSEHc8MQ.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";
@@ -270,13 +270,17 @@ declare const LocalSocketSignerRequestSchema: _sinclair_typebox0.TUnion<[_sincla
270
270
  walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
271
271
  role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
272
272
  version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
273
+ baselineVersion: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
273
274
  operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
274
275
  programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
276
+ typedSatPrograms: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
275
277
  assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
276
278
  asset: _sinclair_typebox0.TString;
277
279
  destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
278
280
  maxPerTx: _sinclair_typebox0.TString;
279
281
  maxDaily: _sinclair_typebox0.TString;
282
+ reviewedDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
283
+ typedSatDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
280
284
  }>>;
281
285
  hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
282
286
  }>;
@@ -290,13 +294,17 @@ declare const LocalSocketSignerRequestSchema: _sinclair_typebox0.TUnion<[_sincla
290
294
  walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
291
295
  role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
292
296
  version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
297
+ baselineVersion: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
293
298
  operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
294
299
  programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
300
+ typedSatPrograms: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
295
301
  assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
296
302
  asset: _sinclair_typebox0.TString;
297
303
  destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
298
304
  maxPerTx: _sinclair_typebox0.TString;
299
305
  maxDaily: _sinclair_typebox0.TString;
306
+ reviewedDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
307
+ typedSatDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
300
308
  }>>;
301
309
  hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
302
310
  }>;
@@ -305,68 +313,114 @@ declare const LocalSocketSignerRequestSchema: _sinclair_typebox0.TUnion<[_sincla
305
313
  op: _sinclair_typebox0.TLiteral<"v2.wallet.get">;
306
314
  walletId: _sinclair_typebox0.TString;
307
315
  }>, _sinclair_typebox0.TObject<{
308
- op: _sinclair_typebox0.TLiteral<"v2.wallet.create">;
316
+ op: _sinclair_typebox0.TLiteral<"v2.wallet.readiness">;
317
+ walletId: _sinclair_typebox0.TString;
318
+ }>, _sinclair_typebox0.TObject<{
319
+ op: _sinclair_typebox0.TLiteral<"v2.policy.activateBaseline">;
309
320
  walletId: _sinclair_typebox0.TString;
310
321
  request: _sinclair_typebox0.TObject<{
322
+ expectedPolicyVersion: _sinclair_typebox0.TInteger;
323
+ baseline: _sinclair_typebox0.TObject<{
324
+ version: _sinclair_typebox0.TLiteral<1>;
325
+ role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
326
+ }>;
327
+ }>;
328
+ }>, _sinclair_typebox0.TObject<{
329
+ op: _sinclair_typebox0.TLiteral<"v2.wallet.create">;
330
+ walletId: _sinclair_typebox0.TString;
331
+ request: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TObject<{
311
332
  expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
312
333
  policy: _sinclair_typebox0.TObject<{
313
334
  walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
314
335
  role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
315
336
  version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
337
+ baselineVersion: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
316
338
  operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
317
339
  programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
340
+ typedSatPrograms: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
318
341
  assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
319
342
  asset: _sinclair_typebox0.TString;
320
343
  destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
321
344
  maxPerTx: _sinclair_typebox0.TString;
322
345
  maxDaily: _sinclair_typebox0.TString;
346
+ reviewedDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
347
+ typedSatDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
323
348
  }>>;
324
349
  hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
325
350
  }>;
326
- }>;
351
+ }>, _sinclair_typebox0.TObject<{
352
+ expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
353
+ baseline: _sinclair_typebox0.TObject<{
354
+ version: _sinclair_typebox0.TLiteral<1>;
355
+ role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
356
+ }>;
357
+ }>]>;
327
358
  }>, _sinclair_typebox0.TObject<{
328
359
  op: _sinclair_typebox0.TLiteral<"v2.wallet.import">;
329
360
  walletId: _sinclair_typebox0.TString;
330
- request: _sinclair_typebox0.TObject<{
361
+ request: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TObject<{
331
362
  expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
332
363
  policy: _sinclair_typebox0.TObject<{
333
364
  walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
334
365
  role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
335
366
  version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
367
+ baselineVersion: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
336
368
  operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
337
369
  programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
370
+ typedSatPrograms: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
338
371
  assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
339
372
  asset: _sinclair_typebox0.TString;
340
373
  destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
341
374
  maxPerTx: _sinclair_typebox0.TString;
342
375
  maxDaily: _sinclair_typebox0.TString;
376
+ reviewedDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
377
+ typedSatDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
343
378
  }>>;
344
379
  hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
345
380
  }>;
346
381
  path: _sinclair_typebox0.TString;
347
- }>;
382
+ }>, _sinclair_typebox0.TObject<{
383
+ expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
384
+ baseline: _sinclair_typebox0.TObject<{
385
+ version: _sinclair_typebox0.TLiteral<1>;
386
+ role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
387
+ }>;
388
+ path: _sinclair_typebox0.TString;
389
+ }>]>;
348
390
  }>, _sinclair_typebox0.TObject<{
349
391
  op: _sinclair_typebox0.TLiteral<"v2.wallet.importLegacy">;
350
392
  walletId: _sinclair_typebox0.TString;
351
- request: _sinclair_typebox0.TObject<{
393
+ request: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TObject<{
352
394
  expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
353
395
  policy: _sinclair_typebox0.TObject<{
354
396
  walletId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
355
397
  role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
356
398
  version: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
399
+ baselineVersion: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
357
400
  operations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
358
401
  programs: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
402
+ typedSatPrograms: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
359
403
  assets: _sinclair_typebox0.TArray<_sinclair_typebox0.TObject<{
360
404
  asset: _sinclair_typebox0.TString;
361
405
  destinations: _sinclair_typebox0.TArray<_sinclair_typebox0.TString>;
362
406
  maxPerTx: _sinclair_typebox0.TString;
363
407
  maxDaily: _sinclair_typebox0.TString;
408
+ reviewedDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
409
+ typedSatDestinations: _sinclair_typebox0.TOptional<_sinclair_typebox0.TBoolean>;
364
410
  }>>;
365
411
  hash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
366
412
  }>;
367
413
  path: _sinclair_typebox0.TString;
368
414
  passphrasePath: _sinclair_typebox0.TString;
369
- }>;
415
+ }>, _sinclair_typebox0.TObject<{
416
+ expectedPolicyVersion: _sinclair_typebox0.TLiteral<0>;
417
+ baseline: _sinclair_typebox0.TObject<{
418
+ version: _sinclair_typebox0.TLiteral<1>;
419
+ role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
420
+ }>;
421
+ path: _sinclair_typebox0.TString;
422
+ passphrasePath: _sinclair_typebox0.TString;
423
+ }>]>;
370
424
  }>, _sinclair_typebox0.TObject<{
371
425
  op: _sinclair_typebox0.TLiteral<"v2.wallet.reencrypt">;
372
426
  walletId: _sinclair_typebox0.TString;
@@ -682,12 +736,17 @@ declare const LocalSocketSignerRequestSchema: _sinclair_typebox0.TUnion<[_sincla
682
736
  walletId: _sinclair_typebox0.TString;
683
737
  request: _sinclair_typebox0.TObject<{
684
738
  requestId: _sinclair_typebox0.TString;
685
- authorization: _sinclair_typebox0.TOptional<_sinclair_typebox0.TObject<{
739
+ authorization: _sinclair_typebox0.TOptional<_sinclair_typebox0.TUnion<[_sinclair_typebox0.TObject<{
686
740
  type: _sinclair_typebox0.TLiteral<"webauthn">;
687
741
  proof: _sinclair_typebox0.TObject<{
688
742
  proofId: _sinclair_typebox0.TString;
689
743
  }>;
690
- }>>;
744
+ }>, _sinclair_typebox0.TObject<{
745
+ type: _sinclair_typebox0.TLiteral<"control-ui">;
746
+ proof: _sinclair_typebox0.TObject<{
747
+ proofId: _sinclair_typebox0.TString;
748
+ }>;
749
+ }>]>>;
691
750
  }>;
692
751
  }>, _sinclair_typebox0.TObject<{
693
752
  op: _sinclair_typebox0.TLiteral<"v2.review.authorization.begin">;
@@ -724,6 +783,23 @@ declare const LocalSocketSignerRequestSchema: _sinclair_typebox0.TUnion<[_sincla
724
783
  walletId: _sinclair_typebox0.TString;
725
784
  }>]>;
726
785
  type LocalSocketSignerRequest = Static<typeof LocalSocketSignerRequestSchema>;
786
+ declare const LocalSocketSignerWalletReadinessV2Schema: _sinclair_typebox0.TObject<{
787
+ walletId: _sinclair_typebox0.TString;
788
+ publicKey: _sinclair_typebox0.TString;
789
+ walletVersion: _sinclair_typebox0.TOptional<_sinclair_typebox0.TInteger>;
790
+ role: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"agent">, _sinclair_typebox0.TLiteral<"mining">, _sinclair_typebox0.TLiteral<"vault">]>;
791
+ baselineVersion: _sinclair_typebox0.TInteger;
792
+ policyVersion: _sinclair_typebox0.TInteger;
793
+ policyHash: _sinclair_typebox0.TString;
794
+ networkVersion: _sinclair_typebox0.TInteger;
795
+ networkHash: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
796
+ keyReady: _sinclair_typebox0.TBoolean;
797
+ policyReady: _sinclair_typebox0.TBoolean;
798
+ networkReady: _sinclair_typebox0.TBoolean;
799
+ operationLane: _sinclair_typebox0.TUnion<[_sinclair_typebox0.TLiteral<"blocked">, _sinclair_typebox0.TLiteral<"agent-reviewed-and-autonomous">, _sinclair_typebox0.TLiteral<"mining-typed-sat">, _sinclair_typebox0.TLiteral<"vault-reviewed-only">]>;
800
+ ready: _sinclair_typebox0.TBoolean;
801
+ }>;
802
+ type LocalSocketSignerWalletReadinessV2 = Static<typeof LocalSocketSignerWalletReadinessV2Schema>;
727
803
  //#endregion
728
804
  //#region src/wallet/providers/local-socket-signer-adapter.d.ts
729
805
  type LocalSocketSignerHealthProbe = {
@@ -1174,6 +1250,9 @@ type WalletStatusSnapshot = {
1174
1250
  rpc: boolean;
1175
1251
  api?: boolean;
1176
1252
  ata?: boolean;
1253
+ ready?: boolean;
1254
+ error?: string;
1255
+ signer?: LocalSocketSignerWalletReadinessV2;
1177
1256
  };
1178
1257
  }>;
1179
1258
  service: {
@@ -1,4 +1,4 @@
1
- import { Ar as errorShape, Cr as tryResolveSatRuntimeIds, Dr as callGatewayScoped, Jn as createSignerReviewApprovalRequest, Kn as readWalletStatusSnapshot, Mr as publicKeyRawBase64UrlFromPem, Nr as signDevicePayload, Pr as verifyDeviceSignature, Sr as resolveSatProgramIdFromEnv, _r as syncSatMainnetRuntimeIds, ar as readWalletProviderRegistry, br as resolveSatMintAddressFromEnv, cr as LEGACY_EMBEDDED_KEYSTORE_MIGRATION_MESSAGE, dr as requireLocalSocketSignerPath, er as resolveWalletPolicyConfig, fr as resolveLocalSignerSocketPath, gr as getSatMainnetSyncStatus, hr as buildAttestation, ir as loadWalletProviderSecret, j as resolveModel, jr as loadOrCreateDeviceIdentity, kr as ErrorCodes, lr as callLocalSocketSigner, mr as fetchSolanaWalletAssetsViaRpc, nr as createWalletProviderAdapter, or as resolveWalletUserRole, pr as resolveWalletRuntimeConfig, qn as createOrExecuteWalletSend, rr as resolveWalletProviderId, sr as upsertNamedWallet, tr as resolveWalletRolePolicyProfile, ur as probeLocalSocketSignerHealth, vr as SAT_RUNTIME_DEFAULTS, xr as resolveSatMintProgramIdFromEnv, yr as resolveSatBondProgramIdFromEnv } from "./config-schema-DjU_uD-6.js";
1
+ import { Ar as errorShape, Cr as tryResolveSatRuntimeIds, Dr as callGatewayScoped, Jn as createSignerReviewApprovalRequest, Kn as readWalletStatusSnapshot, Mr as publicKeyRawBase64UrlFromPem, Nr as signDevicePayload, Pr as verifyDeviceSignature, Sr as resolveSatProgramIdFromEnv, _r as syncSatMainnetRuntimeIds, ar as readWalletProviderRegistry, br as resolveSatMintAddressFromEnv, cr as LEGACY_EMBEDDED_KEYSTORE_MIGRATION_MESSAGE, dr as requireLocalSocketSignerPath, er as resolveWalletPolicyConfig, fr as resolveLocalSignerSocketPath, gr as getSatMainnetSyncStatus, hr as buildAttestation, ir as loadWalletProviderSecret, j as resolveModel, jr as loadOrCreateDeviceIdentity, kr as ErrorCodes, lr as callLocalSocketSigner, mr as fetchSolanaWalletAssetsViaRpc, nr as createWalletProviderAdapter, or as resolveWalletUserRole, pr as resolveWalletRuntimeConfig, qn as createOrExecuteWalletSend, rr as resolveWalletProviderId, sr as upsertNamedWallet, tr as resolveWalletRolePolicyProfile, ur as probeLocalSocketSignerHealth, vr as SAT_RUNTIME_DEFAULTS, xr as resolveSatMintProgramIdFromEnv, yr as resolveSatBondProgramIdFromEnv } from "./config-schema-BiBOUW89.js";
2
2
  import "./runtime-CXSQwMaR.js";
3
3
  import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
4
4
  import { w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
@@ -36,7 +36,7 @@ import "./manager-BegWxNYX.js";
36
36
  import "./query-expansion-BG3FgzF7.js";
37
37
  import "./common-HCcXU-NR.js";
38
38
  import "./commands-registry-G5KXSi_y.js";
39
- import "./runtime-dependency-nup8niQL.js";
39
+ import "./runtime-dependency-DczkvPxn.js";
40
40
  import "./path-alias-guards-DjgDArrp.js";
41
41
  import "./fs-safe-g4g7GT02.js";
42
42
  import "./qr-image-B4MlMG4N.js";
@@ -1,4 +1,4 @@
1
- import { $ as createInboundDebouncer, B as logAckFailure, F as resolveMentionGatingWithBypass, Gi as formatAllowlistMatchMeta, H as logTypingFailure, In as installRequestBodyLimitGuard, J as shouldAckReaction, Jr as createDedupeCache, Jt as normalizeAllowList, K as recordInboundSession, Lt as hasControlCommand, M as issuePairingChallenge, N as createTypingCallbacks, Qt as resolveSlackUserAllowed, Ti as resolveControlCommandGate, V as logInboundDrop, Vt as enqueueSystemEvent, Xt as normalizeSlackSlug, Yr as pruneMapToMaxSize, Yt as normalizeAllowListLower, Zt as resolveSlackAllowListMatch, _n as matchesMentionWithExplicit, at as createReplyDispatcherWithTyping, bi as readStoreAllowFromForDmPolicy, c as addAllowlistUserEntriesFromConfigEntry, cn as DEFAULT_GROUP_HISTORY_LIMIT, d as mergeAllowlist, et as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as clearHistoryEntriesIfEnabled, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, it as dispatchInboundMessage, l as buildAllowlistResolutionSummary, p as summarizeMapping, q as removeAckReactionAfterReply, qt as allowListMatches, rt as resolveEnvelopeFormatOptions, tt as formatInboundEnvelope, un as buildPendingHistoryContextFromMap, wi as resolveCommandAuthorizedFromAuthorizers, x as isDangerousNameMatchingEnabled, yt as resolveChannelConfigWrites } from "./config-schema-DjU_uD-6.js";
1
+ import { $ as createInboundDebouncer, B as logAckFailure, F as resolveMentionGatingWithBypass, Gi as formatAllowlistMatchMeta, H as logTypingFailure, In as installRequestBodyLimitGuard, J as shouldAckReaction, Jr as createDedupeCache, Jt as normalizeAllowList, K as recordInboundSession, Lt as hasControlCommand, M as issuePairingChallenge, N as createTypingCallbacks, Qt as resolveSlackUserAllowed, Ti as resolveControlCommandGate, V as logInboundDrop, Vt as enqueueSystemEvent, Xt as normalizeSlackSlug, Yr as pruneMapToMaxSize, Yt as normalizeAllowListLower, Zt as resolveSlackAllowListMatch, _n as matchesMentionWithExplicit, at as createReplyDispatcherWithTyping, bi as readStoreAllowFromForDmPolicy, c as addAllowlistUserEntriesFromConfigEntry, cn as DEFAULT_GROUP_HISTORY_LIMIT, d as mergeAllowlist, et as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as clearHistoryEntriesIfEnabled, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, it as dispatchInboundMessage, l as buildAllowlistResolutionSummary, p as summarizeMapping, q as removeAckReactionAfterReply, qt as allowListMatches, rt as resolveEnvelopeFormatOptions, tt as formatInboundEnvelope, un as buildPendingHistoryContextFromMap, wi as resolveCommandAuthorizedFromAuthorizers, x as isDangerousNameMatchingEnabled, yt as resolveChannelConfigWrites } from "./config-schema-BiBOUW89.js";
2
2
  import { K as resolveSessionKey, S as readSessionUpdatedAt, w as updateLastRoute } from "./runtime-CXSQwMaR.js";
3
3
  import { r as createNonExitingRuntime } from "./subsystem-DBPNbQDQ.js";
4
4
  import { i as logVerbose, l as warn, p as getChildLogger, s as shouldLogVerbose, t as danger } from "./globals-B_jjtAje.js";
@@ -39,7 +39,7 @@ import "./manager-BegWxNYX.js";
39
39
  import "./query-expansion-BG3FgzF7.js";
40
40
  import "./common-HCcXU-NR.js";
41
41
  import { E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, g as shouldHandleTextCommands } from "./commands-registry-G5KXSi_y.js";
42
- import "./runtime-dependency-nup8niQL.js";
42
+ import "./runtime-dependency-DczkvPxn.js";
43
43
  import "./path-alias-guards-DjgDArrp.js";
44
44
  import "./fs-safe-g4g7GT02.js";
45
45
  import "./qr-image-B4MlMG4N.js";
@@ -62,7 +62,7 @@ import "./shared-D1AD2Ejn.js";
62
62
  import { t as sendMessageSlack } from "./send-Di1Jit3L.js";
63
63
  import { r as resolveSlackWebClientOptions } from "./client-DLY-kWF_.js";
64
64
  import { a as listSlackPins, c as reactSlackMessage, d as removeSlackReaction, f as sendSlackMessage, i as listSlackEmojis, l as readSlackMessages, n as editSlackMessage, o as listSlackReactions, p as unpinSlackMessage, r as getSlackMemberInfo, s as pinSlackMessage, t as deleteSlackMessage, u as removeOwnSlackReactions } from "./actions-B-Vwj64K.js";
65
- import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-LH4uKSnh.js";
65
+ import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-BLBZNORg.js";
66
66
  import { t as createDraftStreamLoop } from "./draft-stream-loop-DMBwjjd1.js";
67
67
  import { t as resolveSlackChannelAllowlist } from "./resolve-channels-CU72Qh2j.js";
68
68
  import { t as resolveSlackUserAllowlist } from "./resolve-users-Bk_ss2vC.js";
@@ -3241,7 +3241,7 @@ async function registerSlackMonitorSlashCommands(params) {
3241
3241
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
3242
3242
  import("./resolve-route-Dufnu2cT.js").then((n) => n.r),
3243
3243
  import("./inbound-context-CQnfFFQ9.js").then((n) => n.n),
3244
- import("./config-schema-DjU_uD-6.js").then((n) => n.Q)
3244
+ import("./config-schema-BiBOUW89.js").then((n) => n.Q)
3245
3245
  ]);
3246
3246
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordSessionMetaFromInbound, resolveStorePath }] = await Promise.all([
3247
3247
  import("./conversation-label-BoVqak2R.js").then((n) => n.t),
@@ -1,10 +1,10 @@
1
1
  import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
2
2
  import { At as FasedAgentConfig, J as ChannelMessageActionAdapter, Jt as SlackAccountConfig, Y as ChannelMessageActionContext, ct as ChannelThreadingToolContext, lt as ChannelToolSend, n as ChannelPlugin, r as ChannelOnboardingAdapter, st as ChannelThreadingContext, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-BcSBq42x.js";
3
- import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-DtCOO_hW.js";
4
- import { D as normalizeE164 } from "./types-B-zL9gSv.js";
5
- import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-mKO92L-M.js";
3
+ import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BakzIzGN.js";
4
+ import { D as normalizeE164 } from "./types-CzF0YQqK.js";
5
+ import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-CiTcdD6m.js";
6
6
  import { _ as buildTokenChannelStatusSummary, l as resolveSlackGroupRequireMention, u as resolveSlackGroupToolPolicy } from "./group-mentions-q3hUTCt7.js";
7
- import { o as SlackConfigSchema } from "./zod-schema.providers-core-BCDlgtls.js";
7
+ import { o as SlackConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
8
8
  import { AgentToolResult } from "@mariozechner/pi-agent-core";
9
9
 
10
10
  //#region src/slack/accounts.d.ts
@@ -1,4 +1,4 @@
1
- import { Cn as modelSupportsVision, Ct as resolveAutoImageModel, Sn as loadModelCatalog, xn as findModelInCatalog } from "./config-schema-DjU_uD-6.js";
1
+ import { Cn as modelSupportsVision, Ct as resolveAutoImageModel, Sn as loadModelCatalog, xn as findModelInCatalog } from "./config-schema-BiBOUW89.js";
2
2
  import { i as logVerbose } from "./globals-B_jjtAje.js";
3
3
  import { t as STATE_DIR } from "./paths-BEmvSyOV.js";
4
4
  import { Xt as resolveDefaultModelForAgent, ln as resolveApiKeyForProvider } from "./config-DlWVeLFB.js";
@@ -147,7 +147,7 @@ async function describeStickerImage(params) {
147
147
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
148
148
  try {
149
149
  const buffer = await fs.readFile(imagePath);
150
- const { describeImageWithModel } = await import("./config-schema-DjU_uD-6.js").then((n) => n.It);
150
+ const { describeImageWithModel } = await import("./config-schema-BiBOUW89.js").then((n) => n.It);
151
151
  return (await describeImageWithModel({
152
152
  buffer,
153
153
  fileName: "sticker.webp",
@@ -1,4 +1,4 @@
1
- import { Ur as resolveTelegramReactionLevel, Wr as resolveTelegramInlineButtonsScope } from "./config-schema-DjU_uD-6.js";
1
+ import { Ur as resolveTelegramReactionLevel, Wr as resolveTelegramInlineButtonsScope } from "./config-schema-BiBOUW89.js";
2
2
  import { an as resolveTelegramToken, en as createTelegramActionGate } from "./runtime-CXSQwMaR.js";
3
3
  import "./subsystem-DBPNbQDQ.js";
4
4
  import "./globals-B_jjtAje.js";
@@ -37,7 +37,7 @@ import "./manager-BegWxNYX.js";
37
37
  import "./query-expansion-BG3FgzF7.js";
38
38
  import { a as jsonResult, c as readReactionParams, d as readStringParam, s as readNumberParam, u as readStringOrNumberParam } from "./common-HCcXU-NR.js";
39
39
  import "./commands-registry-G5KXSi_y.js";
40
- import "./runtime-dependency-nup8niQL.js";
40
+ import "./runtime-dependency-DczkvPxn.js";
41
41
  import "./path-alias-guards-DjgDArrp.js";
42
42
  import "./fs-safe-g4g7GT02.js";
43
43
  import "./qr-image-B4MlMG4N.js";
@@ -59,7 +59,7 @@ import "./shared-D1AD2Ejn.js";
59
59
  import "./retry-policy-CXh1owkc.js";
60
60
  import { a as reactMessageTelegram, i as editMessageTelegram, n as createForumTopicTelegram, o as sendMessageTelegram, r as deleteMessageTelegram, s as sendStickerTelegram } from "./send-DWKm6yay.js";
61
61
  import "./proxy-CLRUdShp.js";
62
- import { a as searchStickers, r as getCacheStats } from "./sticker-cache-BLiId8Em.js";
62
+ import { a as searchStickers, r as getCacheStats } from "./sticker-cache-Dpap5ce_.js";
63
63
 
64
64
  //#region src/agents/tools/telegram-actions.ts
65
65
  const TELEGRAM_BUTTON_STYLES = [
@@ -1,10 +1,10 @@
1
1
  import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
2
2
  import { At as FasedAgentConfig, F as ChannelAccountSnapshot, J as ChannelMessageActionAdapter, Kt as TelegramAccountConfig, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-BcSBq42x.js";
3
- import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Lt as TelegramProbe, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-DtCOO_hW.js";
4
- import { D as normalizeE164 } from "./types-B-zL9gSv.js";
5
- import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-mKO92L-M.js";
3
+ import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Lt as TelegramProbe, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BakzIzGN.js";
4
+ import { D as normalizeE164 } from "./types-CzF0YQqK.js";
5
+ import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-CiTcdD6m.js";
6
6
  import { _ as buildTokenChannelStatusSummary, d as resolveTelegramGroupRequireMention, f as resolveTelegramGroupToolPolicy } from "./group-mentions-q3hUTCt7.js";
7
- import { s as TelegramConfigSchema } from "./zod-schema.providers-core-BCDlgtls.js";
7
+ import { s as TelegramConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
8
8
 
9
9
  //#region src/telegram/accounts.d.ts
10
10
  type ResolvedTelegramAccount = {
@@ -1,5 +1,5 @@
1
1
  import { At as FasedAgentConfig, Bt as WalletProviderId, Rt as WalletChain, l as AgentDefaultsConfig, zt as WalletExecutionMode } from "./types.plugin-BcSBq42x.js";
2
- import { M as LookupFn, P as SsrFPolicy } from "./types-B-zL9gSv.js";
2
+ import { M as LookupFn, P as SsrFPolicy } from "./types-CzF0YQqK.js";
3
3
 
4
4
  //#region src/plugin-sdk/file-lock.d.ts
5
5
  type FileLockOptions = {
@@ -242,7 +242,7 @@ type WalletProviderSignerTransactionEnvelopeV2 = {
242
242
  submission: "rpc";
243
243
  };
244
244
  type WalletProviderSignerReviewAuthorizationV2 = {
245
- type: "webauthn";
245
+ type: "webauthn" | "control-ui";
246
246
  proof: {
247
247
  proofId: string;
248
248
  };
@@ -1,6 +1,6 @@
1
1
  import { t as ChatType } from "./chat-type-CK5stkc4.js";
2
2
  import { At as FasedAgentConfig, B as ChannelCapabilities, Ct as RuntimeEnv, E as ChannelPairingAdapter, En as HumanDelayConfig, F as ChannelAccountSnapshot, G as ChannelId, J as ChannelMessageActionAdapter, L as ChannelAgentPromptAdapter, Mn as ReplyPayload, N as BaseProbeResult, On as MarkdownTableMode, Ot as sendMessageDiscord, P as BaseTokenResolution, Pt as ModelProviderConfig, R as ChannelAgentTool, St as sendMessageIMessage, Tn as GroupPolicy, V as ChannelDirectoryEntry, Yt as SlackSlashCommandConfig, _t as sendPollWhatsApp, bn as GroupToolPolicyBySenderConfig, bt as sendMessageSlack, c as writeConfigFile, cn as TtsAutoMode, dn as chunkMarkdownText, f as ChannelCommandAdapter, fn as chunkMarkdownTextWithMode, ft as FinalizedMsgContext, gn as resolveTextChunkLimit, gt as sendMessageWhatsApp, h as ChannelElevatedAdapter, hn as resolveChunkMode, ht as ShouldHandleTextCommandsParams, jn as GetReplyOptions, kn as ReplyToMode, kt as sendPollDiscord, mn as chunkTextWithMode, mt as CommandNormalizeOptions, n as ChannelPlugin, o as WizardPrompter, ot as ChannelThreadingAdapter, p as ChannelConfigAdapter, pn as chunkText, pt as MsgContext, q as ChannelMentionAdapter, qt as TelegramGroupConfig, s as loadConfig, un as chunkByNewline, v as ChannelGroupAdapter, vt as sendMessageTelegram, xn as GroupToolPolicyConfig, xt as sendMessageSignal, yn as PollInput, yt as sendPollTelegram } from "./types.plugin-BcSBq42x.js";
3
- import { C as readWebSelfId, H as resolveStateDir, M as LookupFn, P as SsrFPolicy, S as logoutWeb, _ as PushTestParams, a as GatewayClient, b as getWebAuthAgeMs, c as GatewayRequestHandlerOptions, i as OperatorScope, j as LogLevel, l as GatewayRequestHandlers, m as ChatInjectParams, n as AuthProfileStore, o as GatewayRequestContext, r as OAuthCredential, s as GatewayRequestHandler, t as AuthProfileCredential, v as WebLoginStartParams, w as webAuthExists, x as logWebSelfId, y as WebLoginWaitParams } from "./types-B-zL9gSv.js";
3
+ import { C as readWebSelfId, H as resolveStateDir, M as LookupFn, P as SsrFPolicy, S as logoutWeb, _ as PushTestParams, a as GatewayClient, b as getWebAuthAgeMs, c as GatewayRequestHandlerOptions, i as OperatorScope, j as LogLevel, l as GatewayRequestHandlers, m as ChatInjectParams, n as AuthProfileStore, o as GatewayRequestContext, r as OAuthCredential, s as GatewayRequestHandler, t as AuthProfileCredential, v as WebLoginStartParams, w as webAuthExists, x as logWebSelfId, y as WebLoginWaitParams } from "./types-CzF0YQqK.js";
4
4
  import { WebClient } from "@slack/web-api";
5
5
  import { Skill } from "@mariozechner/pi-coding-agent";
6
6
  import { AgentMessage, AgentTool, AgentToolResult } from "@mariozechner/pi-agent-core";
@@ -168,13 +168,13 @@ declare const ConnectParamsSchema: _sinclair_typebox0.TObject<{
168
168
  minProtocol: _sinclair_typebox0.TInteger;
169
169
  maxProtocol: _sinclair_typebox0.TInteger;
170
170
  client: _sinclair_typebox0.TObject<{
171
- id: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"webchat" | "cli" | "webchat-ui" | "fased-control-ui" | "gateway-client" | "fased-macos" | "fased-ios" | "fased-android" | "node-host" | "test" | "fingerprint" | "fased-probe">[]>;
171
+ id: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"webchat-ui" | "fased-control-ui" | "webchat" | "cli" | "gateway-client" | "fased-macos" | "fased-ios" | "fased-android" | "node-host" | "test" | "fingerprint" | "fased-probe">[]>;
172
172
  displayName: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
173
173
  version: _sinclair_typebox0.TString;
174
174
  platform: _sinclair_typebox0.TString;
175
175
  deviceFamily: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
176
176
  modelIdentifier: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
177
- mode: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"webchat" | "cli" | "ui" | "backend" | "node" | "probe" | "test">[]>;
177
+ mode: _sinclair_typebox0.TUnion<_sinclair_typebox0.TLiteral<"ui" | "webchat" | "cli" | "test" | "backend" | "node" | "probe">[]>;
178
178
  instanceId: _sinclair_typebox0.TOptional<_sinclair_typebox0.TString>;
179
179
  }>;
180
180
  caps: _sinclair_typebox0.TOptional<_sinclair_typebox0.TArray<_sinclair_typebox0.TString>>;
@@ -1,4 +1,4 @@
1
- import { $ as createInboundDebouncer, Dt as registerUnhandledRejectionHandler, G as sleepWithAbort, Gt as normalizeGroupActivation, Jr as createDedupeCache, Kt as parseActivationCommand, Lt as hasControlCommand, P as resolveMentionGating, Rt as shouldComputeCommandAuthorized, Si as resolveDmGroupAccessWithLists, U as buildPairingReply, Vt as enqueueSystemEvent, W as computeBackoff, X as dispatchReplyWithBufferedBlockDispatcher, Y as shouldAckReactionForWhatsApp, _t as formatDurationPrecise, bi as readStoreAllowFromForDmPolicy, cn as DEFAULT_GROUP_HISTORY_LIMIT, et as resolveInboundDebounceMs, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, ln as buildHistoryContextFromEntries, rt as resolveEnvelopeFormatOptions, st as getReplyFromConfig, tt as formatInboundEnvelope, vn as normalizeMentionText, xi as resolveDmGroupAccessWithCommandGate } from "./config-schema-DjU_uD-6.js";
1
+ import { $ as createInboundDebouncer, Dt as registerUnhandledRejectionHandler, G as sleepWithAbort, Gt as normalizeGroupActivation, Jr as createDedupeCache, Kt as parseActivationCommand, Lt as hasControlCommand, P as resolveMentionGating, Rt as shouldComputeCommandAuthorized, Si as resolveDmGroupAccessWithLists, U as buildPairingReply, Vt as enqueueSystemEvent, W as computeBackoff, X as dispatchReplyWithBufferedBlockDispatcher, Y as shouldAckReactionForWhatsApp, _t as formatDurationPrecise, bi as readStoreAllowFromForDmPolicy, cn as DEFAULT_GROUP_HISTORY_LIMIT, et as resolveInboundDebounceMs, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, ln as buildHistoryContextFromEntries, rt as resolveEnvelopeFormatOptions, st as getReplyFromConfig, tt as formatInboundEnvelope, vn as normalizeMentionText, xi as resolveDmGroupAccessWithCommandGate } from "./config-schema-BiBOUW89.js";
2
2
  import { C as recordSessionMetaFromInbound, S as readSessionUpdatedAt, _n as resolveChannelGroupRequireMention, bn as resolveGroupSessionKey, gn as resolveChannelGroupPolicy, w as updateLastRoute, x as loadSessionStore } from "./runtime-CXSQwMaR.js";
3
3
  import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
4
4
  import { i as logVerbose, p as getChildLogger, s as shouldLogVerbose } from "./globals-B_jjtAje.js";
@@ -39,7 +39,7 @@ import "./manager-BegWxNYX.js";
39
39
  import "./query-expansion-BG3FgzF7.js";
40
40
  import "./common-HCcXU-NR.js";
41
41
  import "./commands-registry-G5KXSi_y.js";
42
- import "./runtime-dependency-nup8niQL.js";
42
+ import "./runtime-dependency-DczkvPxn.js";
43
43
  import "./path-alias-guards-DjgDArrp.js";
44
44
  import "./fs-safe-g4g7GT02.js";
45
45
  import "./qr-image-B4MlMG4N.js";
@@ -1,8 +1,8 @@
1
1
  import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
2
2
  import { At as FasedAgentConfig, F as ChannelAccountSnapshot, Gt as WhatsAppAccountConfig, J as ChannelMessageActionAdapter, Tn as GroupPolicy, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta, wn as DmPolicy } from "./types.plugin-BcSBq42x.js";
3
- import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-DtCOO_hW.js";
4
- import { D as normalizeE164 } from "./types-B-zL9gSv.js";
5
- import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-mKO92L-M.js";
3
+ import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-BakzIzGN.js";
4
+ import { D as normalizeE164 } from "./types-CzF0YQqK.js";
5
+ import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-CiTcdD6m.js";
6
6
  import { _ as buildTokenChannelStatusSummary, m as resolveWhatsAppGroupToolPolicy, p as resolveWhatsAppGroupRequireMention } from "./group-mentions-q3hUTCt7.js";
7
7
  import { z } from "zod";
8
8
 
@@ -13,8 +13,8 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
13
13
  markdown: z.ZodOptional<z.ZodObject<{
14
14
  tables: z.ZodOptional<z.ZodEnum<{
15
15
  off: "off";
16
- code: "code";
17
16
  bullets: "bullets";
17
+ code: "code";
18
18
  }>>;
19
19
  }, z.core.$strict>>;
20
20
  configWrites: z.ZodOptional<z.ZodBoolean>;
@@ -22,9 +22,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
22
22
  messagePrefix: z.ZodOptional<z.ZodString>;
23
23
  responsePrefix: z.ZodOptional<z.ZodString>;
24
24
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
25
- allowlist: "allowlist";
26
25
  open: "open";
27
26
  disabled: "disabled";
27
+ allowlist: "allowlist";
28
28
  pairing: "pairing";
29
29
  }>>>;
30
30
  selfChatMode: z.ZodOptional<z.ZodBoolean>;
@@ -32,9 +32,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
32
32
  defaultTo: z.ZodOptional<z.ZodString>;
33
33
  groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodString>>;
34
34
  groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35
- allowlist: "allowlist";
36
35
  open: "open";
37
36
  disabled: "disabled";
37
+ allowlist: "allowlist";
38
38
  }>>>;
39
39
  historyLimit: z.ZodOptional<z.ZodNumber>;
40
40
  dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
@@ -85,8 +85,8 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
85
85
  markdown: z.ZodOptional<z.ZodObject<{
86
86
  tables: z.ZodOptional<z.ZodEnum<{
87
87
  off: "off";
88
- code: "code";
89
88
  bullets: "bullets";
89
+ code: "code";
90
90
  }>>;
91
91
  }, z.core.$strict>>;
92
92
  configWrites: z.ZodOptional<z.ZodBoolean>;
@@ -94,9 +94,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
94
94
  messagePrefix: z.ZodOptional<z.ZodString>;
95
95
  responsePrefix: z.ZodOptional<z.ZodString>;
96
96
  dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
97
- allowlist: "allowlist";
98
97
  open: "open";
99
98
  disabled: "disabled";
99
+ allowlist: "allowlist";
100
100
  pairing: "pairing";
101
101
  }>>>;
102
102
  selfChatMode: z.ZodOptional<z.ZodBoolean>;
@@ -104,9 +104,9 @@ declare const WhatsAppConfigSchema: z.ZodObject<{
104
104
  defaultTo: z.ZodOptional<z.ZodString>;
105
105
  groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodString>>;
106
106
  groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
107
- allowlist: "allowlist";
108
107
  open: "open";
109
108
  disabled: "disabled";
109
+ allowlist: "allowlist";
110
110
  }>>>;
111
111
  historyLimit: z.ZodOptional<z.ZodNumber>;
112
112
  dmHistoryLimit: z.ZodOptional<z.ZodNumber>;