nolo-cli 0.231.0-alpha.1 → 0.240.0-alpha.3

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 (190) hide show
  1. package/{_executeModel-7V3NSK4W.js → _executeModel-5NA4USGG.js} +56 -51
  2. package/{action-GDZDXPMB.js → action-X75O3XPH.js} +7 -4
  3. package/{addContentAction-7RO4AMRI.js → addContentAction-GVC77QSN.js} +9 -8
  4. package/{addDialogAgentAction-EVYBGTXB.js → addDialogAgentAction-KKDVAMW3.js} +12 -11
  5. package/{agentDeleteCommand-MD76OMLN.js → agentDeleteCommand-2RFGKFAB.js} +77 -69
  6. package/{agentEmailCommands-T4TW4IBX.js → agentEmailCommands-GQCQKKOR.js} +84 -72
  7. package/{agentListCommands-4WLG32IW.js → agentListCommands-HSGLDPDQ.js} +40 -47
  8. package/{agentMachineCommands-LSDGA5WR.js → agentMachineCommands-BISF6PVV.js} +26 -22
  9. package/{agentProviderCommands-STI3DQ6A.js → agentProviderCommands-O3Q25PKU.js} +2 -2
  10. package/{agentPullCommand-KHV4EELF.js → agentPullCommand-G6U2LHMW.js} +1 -1
  11. package/{agentRecordCommands-7TEX2B7Y.js → agentRecordCommands-AOXPGYAJ.js} +79 -67
  12. package/{agentRunCommand-23SMDVDW.js → agentRunCommand-AFAIP7U7.js} +85 -72
  13. package/{agentRunControl-MBG4U6SL.js → agentRunControl-VBL7UFSG.js} +1 -1
  14. package/{agentRuntimeLocal-HOXKWCYO.js → agentRuntimeLocal-T7BX2WGL.js} +24 -19
  15. package/{agentSlice-AATYVDP6.js → agentSlice-XJNKE3PG.js} +10 -9
  16. package/{appDeleteCommands-WWCC6WA5.js → appDeleteCommands-LURUSPY7.js} +27 -23
  17. package/{appDeployCommands-AU4IUN33.js → appDeployCommands-SMEW4AK2.js} +27 -23
  18. package/{appDeployStatusCommands-STUW7WXL.js → appDeployStatusCommands-VYPJTBJK.js} +27 -23
  19. package/{appGetCommands-BGTLIQ4K.js → appGetCommands-N4NI5GGJ.js} +27 -23
  20. package/{appListCommands-CUCPRUXW.js → appListCommands-5C6ONN3Z.js} +27 -23
  21. package/{authCommand-3SUYUNQV.js → authCommand-4CVBDADE.js} +15 -13
  22. package/{authCommands-BLE7ETZH.js → authCommands-EHU2BHOX.js} +7 -5
  23. package/{builtinSkillRegistry-BAE2LDXF.js → builtinSkillRegistry-AYWYQVA4.js} +3 -3
  24. package/{chromeOpsCommands-WAA45NCS.js → chromeOpsCommands-CSDG2HYN.js} +1 -1
  25. package/{chunk-HHFGE2WF.js → chunk-2574ANSV.js} +1 -1
  26. package/chunk-2SXN7LAY.js +15 -0
  27. package/{chunk-S6FDXXZV.js → chunk-3EMIEC27.js} +1 -1
  28. package/{chunk-EXNV7CCV.js → chunk-3FBAVU2Y.js} +11 -9
  29. package/{chunk-ZH3KXFHS.js → chunk-4FIO2S7Z.js} +1 -1
  30. package/{chunk-U4FF7LRY.js → chunk-4IQVE43Z.js} +30 -26
  31. package/{chunk-VQ5N5GSV.js → chunk-4Q6HQORG.js} +1 -1
  32. package/{chunk-P2ZLUIW2.js → chunk-4X5AVCM7.js} +94 -4
  33. package/chunk-4ZCTKB27.js +31 -0
  34. package/{chunk-42OKN2LI.js → chunk-5HUO7SEX.js} +9 -107
  35. package/{chunk-QYB23WUH.js → chunk-5QZSEQSK.js} +1 -1
  36. package/{chunk-7JGMNKKG.js → chunk-6CKUO32A.js} +8 -0
  37. package/chunk-6D25V6CB.js +133 -0
  38. package/{chunk-LHN7NIQZ.js → chunk-6WOLPIPY.js} +93 -90
  39. package/{chunk-6QHKRARD.js → chunk-6WZVM33D.js} +9 -4
  40. package/{chunk-NVEYEKN3.js → chunk-7AJRJGSQ.js} +254 -359
  41. package/chunk-7NIBQ4HY.js +138 -0
  42. package/{chunk-7Z6EW7AH.js → chunk-7TTMMOKH.js} +13 -6
  43. package/{chunk-GXZ5LB7H.js → chunk-A3LUWRQK.js} +4 -4
  44. package/{chunk-4ZGPHFLE.js → chunk-A5EVA6HU.js} +2 -2
  45. package/{chunk-57TLKTVZ.js → chunk-A74QP4FI.js} +566 -104
  46. package/{chunk-3ING4D5X.js → chunk-AEQMKYZN.js} +4 -4
  47. package/{chunk-FFSPUVL5.js → chunk-AH5R7BYW.js} +6 -166
  48. package/{chunk-7FEP5USX.js → chunk-ANJRDS6U.js} +3 -3
  49. package/{chunk-YFLVRVYK.js → chunk-AVJDELEA.js} +1 -1
  50. package/{chunk-HYLRQDEE.js → chunk-B5SV4H3J.js} +6 -6
  51. package/{chunk-KUOMUZH6.js → chunk-B7DE5XJW.js} +137 -290
  52. package/chunk-BEM6LPD2.js +734 -0
  53. package/{chunk-DUUDXSLX.js → chunk-BGGAY6OK.js} +27 -3
  54. package/{chunk-YCFP57LH.js → chunk-BGGV6B5O.js} +408 -230
  55. package/{chunk-BP5ZJ6B4.js → chunk-BIABIPGW.js} +1 -1
  56. package/{chunk-TQEKUOTI.js → chunk-BXSMFPTG.js} +4 -4
  57. package/{chunk-RG2DGNL6.js → chunk-CKZPMJNU.js} +3 -3
  58. package/{chunk-WU443D7A.js → chunk-CVJRVBJL.js} +2 -2
  59. package/{chunk-BIWI5M4E.js → chunk-D374I563.js} +1 -1
  60. package/{chunk-QRGDJA4B.js → chunk-DNZ4JJ7C.js} +1 -1
  61. package/chunk-DVYAFH2Q.js +103 -0
  62. package/{chunk-FTMFO6LI.js → chunk-DXW5WDHZ.js} +4 -4
  63. package/{chunk-ZTR65O4L.js → chunk-E5KJOZWY.js} +3 -3
  64. package/{chunk-G7IUT2V3.js → chunk-EBKHA63G.js} +103 -12
  65. package/{chunk-DGYCDA6W.js → chunk-F3XI6WQP.js} +17 -10
  66. package/{chunk-M3OZRQNH.js → chunk-F6YWDVIB.js} +1 -1
  67. package/{chunk-PR2LAQAC.js → chunk-FFYE5ATM.js} +4 -4
  68. package/{chunk-6NNDUDAZ.js → chunk-FZKA3XFA.js} +11 -11
  69. package/{chunk-MNEZUL5S.js → chunk-G22P367E.js} +31 -14
  70. package/{chunk-6OQMSPB7.js → chunk-GDUC4VS2.js} +7 -7
  71. package/{chunk-R6Z5S5GA.js → chunk-GXXY2NL3.js} +16 -14
  72. package/{chunk-U2HBB7RS.js → chunk-H7ZYKHAZ.js} +27 -7
  73. package/{chunk-3U44JB3O.js → chunk-HCNOO374.js} +1 -1
  74. package/{chunk-HSSBDZLD.js → chunk-HOM6LTEW.js} +1 -1
  75. package/{chunk-S2NTVGA2.js → chunk-I2OYPD3Y.js} +1 -1
  76. package/{chunk-TPG2DPN2.js → chunk-IJTXNLQE.js} +9 -9
  77. package/{chunk-ALAES342.js → chunk-IUMS6F53.js} +2 -2
  78. package/{chunk-547ENH5T.js → chunk-IUTUWIKE.js} +2 -2
  79. package/{chunk-S6K5F3KP.js → chunk-JBWXPACD.js} +1 -1
  80. package/{chunk-XAG3FWBE.js → chunk-KZPEGO6D.js} +1 -1
  81. package/{chunk-RBPUNSG5.js → chunk-LYDEFPQP.js} +18 -108
  82. package/{chunk-OWKNSIXL.js → chunk-MECDGHLK.js} +271 -66
  83. package/{chunk-FJSNBZXR.js → chunk-MM73SP4K.js} +1 -1
  84. package/{chunk-XSW4EXQV.js → chunk-MYOSN6BT.js} +2 -2
  85. package/{chunk-ZEVQHCLM.js → chunk-MYPKBJJO.js} +2 -2
  86. package/{chunk-DBUR22G5.js → chunk-N2JROHD3.js} +4 -4
  87. package/{chunk-ATEKLSLR.js → chunk-O6IPRAVV.js} +14 -9
  88. package/{chunk-PPJYZRSQ.js → chunk-OX6GNNVT.js} +6 -1
  89. package/{chunk-WFVASLQT.js → chunk-P3IZUMIC.js} +1 -1
  90. package/{chunk-FPBJM2BW.js → chunk-PGKA77TZ.js} +26 -20
  91. package/{chunk-IONGMVPY.js → chunk-PRMEU7BT.js} +229 -7
  92. package/{chunk-OJ45MEEI.js → chunk-PROOOQZ3.js} +1 -1
  93. package/{chunk-4I2MXV5Q.js → chunk-PVFYPUIM.js} +2 -0
  94. package/{chunk-5FUN7EG4.js → chunk-RD3QLZQV.js} +83 -47
  95. package/chunk-RETQOQ4D.js +33394 -0
  96. package/{chunk-CMMI3DAT.js → chunk-RM4UMFY4.js} +33 -26
  97. package/{chunk-262R3XNN.js → chunk-S2MHR4PU.js} +151 -5
  98. package/{chunk-DEA37IUY.js → chunk-T6VROBY7.js} +2 -2
  99. package/{chunk-M4SFKP5L.js → chunk-TEMLHVGX.js} +1 -1
  100. package/{chunk-3QIYD3VM.js → chunk-TRHJ4NJB.js} +61 -792
  101. package/{chunk-OBIC6EG7.js → chunk-TWTJV35S.js} +1 -1
  102. package/{chunk-TCZ2VJZQ.js → chunk-U3G7RRXJ.js} +5 -5
  103. package/{chunk-F6Z6ZCUV.js → chunk-UFC4J7OY.js} +3 -3
  104. package/{chunk-5YMA6DDZ.js → chunk-UHW6SCVK.js} +1 -1
  105. package/{chunk-4N6G2CKP.js → chunk-ULLHVDTZ.js} +46 -1
  106. package/{chunk-XFXFPUO7.js → chunk-VM72HKW2.js} +7 -7
  107. package/{chunk-MHHLABT3.js → chunk-VREG6ANQ.js} +102 -99
  108. package/chunk-VSRISJXZ.js +107 -0
  109. package/chunk-WDWZPASX.js +29 -0
  110. package/{chunk-ILHQ2AXT.js → chunk-WRKMXMU7.js} +2 -0
  111. package/chunk-X7IA2B7R.js +166 -0
  112. package/{chunk-5ZMIIR23.js → chunk-XBAEM4RI.js} +7 -0
  113. package/{chunk-4JVNURX4.js → chunk-XS5A3EKX.js} +1 -23
  114. package/{chunk-N5Z2V73W.js → chunk-Y2MF4DCJ.js} +1 -1
  115. package/{chunk-KUDCKVYQ.js → chunk-Y5OWZQMJ.js} +28 -19
  116. package/{chunk-TI2EPRHE.js → chunk-YGCOJNFZ.js} +3 -3
  117. package/{chunk-JQZRSXS5.js → chunk-YGDYYFRX.js} +9 -13
  118. package/{chunk-X7QAIY5B.js → chunk-Z2WZAE4P.js} +128 -150
  119. package/chunk-Z6YTCDU4.js +24 -0
  120. package/{chunk-RRDRQOEC.js → chunk-ZEKUFJLW.js} +81 -66
  121. package/{chunk-EVGU5P4U.js → chunk-ZVOL2MAJ.js} +1 -1
  122. package/{cliAgentConfigHelpers-BTRHMPW2.js → cliAgentConfigHelpers-U5OAVAKQ.js} +2 -2
  123. package/{cliAuthorityBrokerClient-XHH7MH2P.js → cliAuthorityBrokerClient-S42VMGB6.js} +1 -1
  124. package/{cliLocalAgentRecordReader-H3HYQRRR.js → cliLocalAgentRecordReader-HVZAQCUD.js} +29 -25
  125. package/{commandRegistry-35EMLPIZ.js → commandRegistry-TME7INFU.js} +89 -85
  126. package/{contentThunks-BCNMGA5J.js → contentThunks-U6OC4R2N.js} +23 -22
  127. package/{cooldownCommands-YB5H5BBK.js → cooldownCommands-U7XSRVJP.js} +1 -1
  128. package/{createAgentAutomationAction-HEU4KOYF.js → createAgentAutomationAction-IP4LFN3W.js} +23 -22
  129. package/{createDialogAction-5DSL5ESZ.js → createDialogAction-IAGQJ3LH.js} +24 -23
  130. package/{createPageAction-BBZ25AFI.js → createPageAction-AZ3UIFKA.js} +24 -23
  131. package/{dbSlice-XRUZOGSU.js → dbSlice-DKKMJJYY.js} +8 -7
  132. package/{deleteFile-6URDHYRB.js → deleteFile-TQSONMVU.js} +7 -4
  133. package/{dialogCommands-6SZD4TYP.js → dialogCommands-PCDRMBWG.js} +30 -26
  134. package/dialogMessageRecord-OAV77LT7.js +7 -0
  135. package/{dialogNotifyCommand-SHGPCU22.js → dialogNotifyCommand-O35MWMOS.js} +3 -3
  136. package/{dialogSlice-QJ5PQOM3.js → dialogSlice-QAKYN4DE.js} +22 -21
  137. package/{dialogUsageCommand-W2WCSGKF.js → dialogUsageCommand-2SSLTXKO.js} +2 -2
  138. package/{docCreateCommands-25E6PGN3.js → docCreateCommands-CFQFZOAD.js} +26 -22
  139. package/{docDeleteCommands-F7ZVGEHW.js → docDeleteCommands-5CPNTIIS.js} +27 -23
  140. package/{docReadCommands-JY2E5XEN.js → docReadCommands-XQILYSAJ.js} +26 -22
  141. package/{docStore-XJ4UMU3C.js → docStore-GIVRT7TQ.js} +10 -9
  142. package/{docUpdateCommands-OZ4CUSIQ.js → docUpdateCommands-VETKSUDD.js} +26 -22
  143. package/{handleSendMessageAction-YHAOXARI.js → handleSendMessageAction-HKIW4ZNO.js} +48 -45
  144. package/{hostCredentialCreate-62AWCBQC.js → hostCredentialCreate-6VDJFNDO.js} +81 -68
  145. package/index.js +8 -8
  146. package/{lib-OT5OTXRU.js → lib-62SWPXNF.js} +3 -7
  147. package/{localRuntimeAdapter-KNQNNHUM.js → localRuntimeAdapter-BQ4F5PZV.js} +81 -69
  148. package/{localRuntimeAuthority-IBJAT62G.js → localRuntimeAuthority-WCNA4A3G.js} +4 -2
  149. package/{localRuntimeDb-N7KHDXS2.js → localRuntimeDb-CRNIBOOM.js} +1 -1
  150. package/{machineCommands-X2FMPSV4.js → machineCommands-K6XIGOAD.js} +77 -65
  151. package/{machineWsRunDispatch-XHTPOYVJ.js → machineWsRunDispatch-4OO7Z6UM.js} +77 -65
  152. package/mcpLocalAuthorizeCommand-ZP6ESAGE.js +106 -0
  153. package/{memberThunks-7Y3OYSJQ.js → memberThunks-PBJPZ2JU.js} +15 -10
  154. package/{overlay-BBQZXGYI.js → overlay-JA3SPVUS.js} +5 -3
  155. package/package.json +1 -1
  156. package/{projectArchive-NPQ3YOAV.js → projectArchive-G7AOQPRW.js} +24 -23
  157. package/{providerPresetApply-WHAMP2D5.js → providerPresetApply-OPBCAONX.js} +1 -1
  158. package/{providerRegistry-ZI2KORJ7.js → providerRegistry-J2HCVTHE.js} +1 -1
  159. package/{read-TYMBGEXO.js → read-JEGPITEW.js} +6 -5
  160. package/{readDocTool-SKQVHBLO.js → readDocTool-TE3XIU4Y.js} +1 -1
  161. package/{readlineWorkspace-77PILYDH.js → readlineWorkspace-SOW5QUGZ.js} +2935 -2376
  162. package/{removeDialogAgentAction-F5QE2O2B.js → removeDialogAgentAction-CX3OAH4Y.js} +14 -13
  163. package/{runAgentClientLoop-XNKAXUKU.js → runAgentClientLoop-HQJPDFGQ.js} +65 -45
  164. package/{runtimeDoctorCommands-RRKPBGVO.js → runtimeDoctorCommands-GUH2YGMH.js} +3 -3
  165. package/{secretCommands-KZWBZIYS.js → secretCommands-NJXFVHZU.js} +2 -2
  166. package/{setDialogExtraReferencesAction-72L27ERM.js → setDialogExtraReferencesAction-CGM67EEQ.js} +11 -10
  167. package/{setPrimaryDialogAgentAction-GJJDUSGJ.js → setPrimaryDialogAgentAction-3ABWPPXR.js} +14 -13
  168. package/{settingThunks-ZRGWVGZD.js → settingThunks-AY76OHYX.js} +176 -57
  169. package/{skillDiscovery-BHHPCUHZ.js → skillDiscovery-MDDKPTW3.js} +4 -3
  170. package/{spaceCommands-TOGSGCPS.js → spaceCommands-G63QGYQO.js} +25 -21
  171. package/{streamAgentChatTurn-IARUEZPU.js → streamAgentChatTurn-E3XH2KFD.js} +127 -85
  172. package/{switchDialogAgentAction-IIJBPND3.js → switchDialogAgentAction-G6EZRKCQ.js} +12 -11
  173. package/{tableCommands-FTAOCBTX.js → tableCommands-JI75ZHDI.js} +4 -1
  174. package/{toolApiClient-OGQEBQVX.js → toolApiClient-62UUPDUA.js} +3 -5
  175. package/{tools-5UWS65PB.js → tools-7RSX22FT.js} +41 -37
  176. package/{tuiRestart-2IL37YIB.js → tuiRestart-KAAA7TND.js} +2 -2
  177. package/{tuiSummaryLlmCaller-R4H3ZZ52.js → tuiSummaryLlmCaller-BVNHMWLR.js} +5 -5
  178. package/{updateCommands-CPATDG6J.js → updateCommands-ASK5XYPH.js} +3 -3
  179. package/{updateDialogTitleAction-G6C6XVNV.js → updateDialogTitleAction-SEWV252V.js} +23 -22
  180. package/{usageCommand-2BF74MKF.js → usageCommand-JVT5J3DC.js} +2 -2
  181. package/{usageRebuildCommand-UHB55BQM.js → usageRebuildCommand-IZYYUTEW.js} +3 -3
  182. package/webapi-24RZDIIQ.js +2488 -0
  183. package/{windowsSelfUpdate-ZFD6J5HF.js → windowsSelfUpdate-BSDIS2J5.js} +2 -2
  184. package/workContext-MM3P5GP5.js +13 -0
  185. package/workContextAccess-UZHDLBUR.js +11 -0
  186. package/workContextWriteNotice-YCSSMHN4.js +7 -0
  187. package/chunk-ZXF6D3I6.js +0 -359
  188. package/{accountResolver-QETKNC7T.js → accountResolver-EK2S4PWF.js} +3 -3
  189. package/{localDialogRead-CCOCVGAP.js → localDialogRead-AV2VKKPG.js} +0 -0
  190. package/{workloadLifecycle-HFJIN5IZ.js → workloadLifecycle-YIZ7KLUP.js} +5 -5
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-NVEYEKN3.js";
4
+ } from "./chunk-7AJRJGSQ.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-MHHLABT3.js";
7
+ } from "./chunk-VREG6ANQ.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-3QIYD3VM.js";
10
+ } from "./chunk-TRHJ4NJB.js";
11
11
  import {
12
12
  applyToolSurfaceConstraints
13
13
  } from "./chunk-VS276URX.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-4O22PGNQ.js";
39
39
  import {
40
40
  t
41
- } from "./chunk-262R3XNN.js";
41
+ } from "./chunk-S2MHR4PU.js";
42
42
  import {
43
43
  toErrorMessage
44
44
  } from "./chunk-HNMXYYJR.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deriveStateResident
3
- } from "./chunk-LHN7NIQZ.js";
3
+ } from "./chunk-VSRISJXZ.js";
4
4
  import {
5
5
  resolveMachineId
6
6
  } from "./chunk-S73EPYNC.js";
@@ -8,9 +8,12 @@ import {
8
8
  _appendRetiredStateBatch,
9
9
  loadMemoryVNextCatalog
10
10
  } from "./chunk-324FWHUA.js";
11
+ import {
12
+ gBase64
13
+ } from "./chunk-X7IA2B7R.js";
11
14
  import {
12
15
  getDefaultCliLocalRuntimeDb
13
- } from "./chunk-N5Z2V73W.js";
16
+ } from "./chunk-Y2MF4DCJ.js";
14
17
  import {
15
18
  createMemoryKey,
16
19
  createMemoryOwnerIndexKey,
@@ -42,169 +45,6 @@ import {
42
45
  // packages/core/crypto.ts
43
46
  import nacl from "tweetnacl";
44
47
 
45
- // node_modules/js-base64/base64.mjs
46
- var version = "3.9.6";
47
- var VERSION = version;
48
- var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
49
- var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
50
- var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
51
- var b64chs = Array.prototype.slice.call(b64ch);
52
- var b64tab = ((a) => {
53
- let tab = {};
54
- a.forEach((c, i) => tab[c] = i);
55
- return tab;
56
- })(b64chs);
57
- var b64re = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;
58
- var _fromCC = String.fromCharCode.bind(String);
59
- var _U8Afrom = typeof Uint8Array.from === "function" ? Uint8Array.from.bind(Uint8Array) : (it) => new Uint8Array(Array.prototype.slice.call(it, 0));
60
- var _mkUriSafe = (src) => src.replace(/=/g, "").replace(/[+\/]/g, (m0) => m0 == "+" ? "-" : "_");
61
- var _tidyB64 = (s) => s.replace(/[^A-Za-z0-9\+\/]/g, "");
62
- var btoaPolyfill = (bin) => {
63
- let u32, c0, c1, c2, asc = "";
64
- const pad = bin.length % 3;
65
- for (let i = 0; i < bin.length; ) {
66
- if ((c0 = bin.charCodeAt(i++)) > 255 || (c1 = bin.charCodeAt(i++)) > 255 || (c2 = bin.charCodeAt(i++)) > 255)
67
- throw new TypeError("invalid character found");
68
- u32 = c0 << 16 | c1 << 8 | c2;
69
- asc += b64chs[u32 >> 18 & 63] + b64chs[u32 >> 12 & 63] + b64chs[u32 >> 6 & 63] + b64chs[u32 & 63];
70
- }
71
- return pad ? asc.slice(0, pad - 3) + "===".substring(pad) : asc;
72
- };
73
- var _btoa = typeof btoa === "function" ? (bin) => btoa(bin) : btoaPolyfill;
74
- var _fromUint8Array = typeof Uint8Array.prototype.toBase64 === "function" ? Function.prototype.call.bind(Uint8Array.prototype.toBase64) : (u8a) => {
75
- const maxargs = 4096;
76
- let strs = [];
77
- for (let i = 0, l = u8a.length; i < l; i += maxargs) {
78
- strs.push(_fromCC.apply(null, u8a.subarray(i, i + maxargs)));
79
- }
80
- return _btoa(strs.join(""));
81
- };
82
- var fromUint8Array = (u8a, urlsafe = false) => urlsafe ? _mkUriSafe(_fromUint8Array(u8a)) : _fromUint8Array(u8a);
83
- var cb_utob = (c) => {
84
- if (c.length < 2) {
85
- var cc = c.charCodeAt(0);
86
- return cc < 128 ? c : cc < 2048 ? _fromCC(192 | cc >>> 6) + _fromCC(128 | cc & 63) : _fromCC(224 | cc >>> 12 & 15) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);
87
- } else {
88
- var cc = 65536 + (c.charCodeAt(0) - 55296) * 1024 + (c.charCodeAt(1) - 56320);
89
- return _fromCC(240 | cc >>> 18 & 7) + _fromCC(128 | cc >>> 12 & 63) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);
90
- }
91
- };
92
- var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g;
93
- var utob = (u) => u.replace(re_utob, cb_utob);
94
- var _encode = _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));
95
- var encode = (src, urlsafe = false) => urlsafe ? _mkUriSafe(_encode(src)) : _encode(src);
96
- var encodeURI = (src) => encode(src, true);
97
- var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
98
- var cb_btou = (cccc) => {
99
- switch (cccc.length) {
100
- case 4:
101
- var cp = (7 & cccc.charCodeAt(0)) << 18 | (63 & cccc.charCodeAt(1)) << 12 | (63 & cccc.charCodeAt(2)) << 6 | 63 & cccc.charCodeAt(3), offset = cp - 65536;
102
- return _fromCC((offset >>> 10) + 55296) + _fromCC((offset & 1023) + 56320);
103
- case 3:
104
- return _fromCC((15 & cccc.charCodeAt(0)) << 12 | (63 & cccc.charCodeAt(1)) << 6 | 63 & cccc.charCodeAt(2));
105
- default:
106
- return _fromCC((31 & cccc.charCodeAt(0)) << 6 | 63 & cccc.charCodeAt(1));
107
- }
108
- };
109
- var btou = (b) => b.replace(re_btou, cb_btou);
110
- var atobPolyfill = (asc) => {
111
- asc = asc.replace(/\s+/g, "");
112
- if (!b64re.test(asc))
113
- throw new TypeError("malformed base64.");
114
- asc += "==".slice(2 - (asc.length & 3));
115
- let u24, r1, r2;
116
- let binArray = [];
117
- for (let i = 0; i < asc.length; ) {
118
- u24 = b64tab[asc.charAt(i++)] << 18 | b64tab[asc.charAt(i++)] << 12 | (r1 = b64tab[asc.charAt(i++)]) << 6 | (r2 = b64tab[asc.charAt(i++)]);
119
- if (r1 === 64) {
120
- binArray.push(_fromCC(u24 >> 16 & 255));
121
- } else if (r2 === 64) {
122
- binArray.push(_fromCC(u24 >> 16 & 255, u24 >> 8 & 255));
123
- } else {
124
- binArray.push(_fromCC(u24 >> 16 & 255, u24 >> 8 & 255, u24 & 255));
125
- }
126
- }
127
- return binArray.join("");
128
- };
129
- var _atob = typeof atob === "function" ? (asc) => atob(_tidyB64(asc)) : atobPolyfill;
130
- var _toUint8Array = typeof Uint8Array.fromBase64 === "function" ? (a) => Uint8Array.fromBase64(a) : (a) => _U8Afrom(_atob(a).split("").map((c) => c.charCodeAt(0)));
131
- var toUint8Array = (a) => _toUint8Array(_unURI(a));
132
- var _decode = _TD ? (a) => _TD.decode(_toUint8Array(a)) : (a) => btou(_atob(a));
133
- var _unURI = (a) => _tidyB64(a.replace(/[-_]/g, (m0) => m0 == "-" ? "+" : "/"));
134
- var decode = (src) => _decode(_unURI(src));
135
- var isValid = (src) => {
136
- if (typeof src !== "string")
137
- return false;
138
- const s = src.replace(/\s+/g, "").replace(/={0,2}$/, "");
139
- if (s.length % 4 === 1)
140
- return false;
141
- return !/[^\s0-9a-zA-Z\+/]/.test(s) || !/[^\s0-9a-zA-Z\-_]/.test(s);
142
- };
143
- var _noEnum = (v) => {
144
- return {
145
- value: v,
146
- enumerable: false,
147
- writable: true,
148
- configurable: true
149
- };
150
- };
151
- var extendString = function() {
152
- const _add = (name, body) => Object.defineProperty(String.prototype, name, _noEnum(body));
153
- _add("fromBase64", function() {
154
- return decode(this);
155
- });
156
- _add("toBase64", function(urlsafe) {
157
- return encode(this, urlsafe);
158
- });
159
- _add("toBase64URI", function() {
160
- return encode(this, true);
161
- });
162
- _add("toBase64URL", function() {
163
- return encode(this, true);
164
- });
165
- _add("toUint8Array", function() {
166
- return toUint8Array(this);
167
- });
168
- };
169
- var extendUint8Array = function() {
170
- const _add = (name, body) => Object.defineProperty(Uint8Array.prototype, name, _noEnum(body));
171
- _add("toBase64", function(urlsafe) {
172
- return fromUint8Array(this, urlsafe);
173
- });
174
- _add("toBase64URI", function() {
175
- return fromUint8Array(this, true);
176
- });
177
- _add("toBase64URL", function() {
178
- return fromUint8Array(this, true);
179
- });
180
- };
181
- var extendBuiltins = () => {
182
- extendString();
183
- extendUint8Array();
184
- };
185
- var gBase64 = {
186
- version,
187
- VERSION,
188
- atob: _atob,
189
- atobPolyfill,
190
- btoa: _btoa,
191
- btoaPolyfill,
192
- fromBase64: decode,
193
- toBase64: encode,
194
- encode,
195
- encodeURI,
196
- encodeURL: encodeURI,
197
- utob,
198
- btou,
199
- decode,
200
- isValid,
201
- fromUint8Array,
202
- toUint8Array,
203
- extendString,
204
- extendUint8Array,
205
- extendBuiltins
206
- };
207
-
208
48
  // packages/core/authToken.ts
209
49
  var parseToken = (token) => {
210
50
  try {
@@ -358,7 +198,7 @@ var AccountSessionCore = class {
358
198
  this.setSnapshot({
359
199
  ...this.snapshot,
360
200
  transition
361
- });
201
+ }, true);
362
202
  }
363
203
  /**
364
204
  * Activate `token` as the active account and complete the current transition.
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  deriveCredentialGroup
3
- } from "./chunk-RRDRQOEC.js";
3
+ } from "./chunk-ZEKUFJLW.js";
4
4
  import {
5
5
  listUserRecordsFromServers,
6
6
  readLiveDbRecordAfterTombstoneMerge
7
- } from "./chunk-M3OZRQNH.js";
7
+ } from "./chunk-F6YWDVIB.js";
8
8
  import {
9
9
  agentRecordHasConfiguredCredential
10
- } from "./chunk-TQEKUOTI.js";
10
+ } from "./chunk-BXSMFPTG.js";
11
11
  import {
12
12
  isTombstoneRecord
13
13
  } from "./chunk-BV3FLP2L.js";
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // packages/cli/agentCommandSupport.ts
6
6
  async function getDefaultCliDb() {
7
- const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-N7KHDXS2.js");
7
+ const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-CRNIBOOM.js");
8
8
  return getDefaultCliLocalRuntimeDb();
9
9
  }
10
10
  function createNullCliDb() {
@@ -1,23 +1,23 @@
1
- import {
2
- getActiveDialogKey
3
- } from "./chunk-S2NTVGA2.js";
4
1
  import {
5
2
  require_formatISO
6
3
  } from "./chunk-UVLYNWIE.js";
4
+ import {
5
+ getActiveDialogKey
6
+ } from "./chunk-I2OYPD3Y.js";
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-CMMI3DAT.js";
10
+ } from "./chunk-RM4UMFY4.js";
11
11
  import {
12
12
  __toESM
13
13
  } from "./chunk-U67V476Y.js";
14
14
 
15
15
  // packages/chat/dialog/actions/setDialogExtraReferencesAction.ts
16
16
  var import_formatISO = __toESM(require_formatISO());
17
- var setDialogExtraReferencesAction = async (extraReferences, thunkApi) => {
17
+ var setDialogExtraReferencesAction = async (extraReferences, thunkApi, dialogKey) => {
18
18
  const { dispatch, getState } = thunkApi;
19
19
  const state = getState();
20
- const currentDialogKey = getActiveDialogKey();
20
+ const currentDialogKey = dialogKey === void 0 ? getActiveDialogKey() : dialogKey;
21
21
  if (!currentDialogKey) {
22
22
  throw new Error("No current dialog selected");
23
23
  }