nolo-cli 0.95.0-alpha.5 → 0.95.0

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 (180) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-UXVEB3GO.js → _executeModel-4NTXSCYT.js} +67 -63
  3. package/{action-YVYQEAAV.js → action-GI44T4DR.js} +10 -10
  4. package/{addContentAction-O7R66HEX.js → addContentAction-B2DRF7P6.js} +9 -9
  5. package/{addDialogAgentAction-74OA7KYP.js → addDialogAgentAction-T3I7IXPK.js} +15 -17
  6. package/{agentDeleteCommand-QT7KPGJC.js → agentDeleteCommand-QYCCUQ35.js} +47 -43
  7. package/{agentEmailCommands-EGD3UOFY.js → agentEmailCommands-GJ7KXHA6.js} +89 -82
  8. package/{agentListCommands-PBY5LTDT.js → agentListCommands-JDU7V3M5.js} +77 -82
  9. package/{agentMachineCommands-WCCBD7CE.js → agentMachineCommands-PXJG3EDI.js} +42 -38
  10. package/{agentProviderCommands-GNPTL5XR.js → agentProviderCommands-YK2BIIXZ.js} +1 -1
  11. package/{agentPullCommand-O5MPVJ5E.js → agentPullCommand-HF4A42D4.js} +1 -1
  12. package/agentRecordCommands-3ONMYU6P.js +135 -0
  13. package/{agentRunCommand-UQBDIINO.js → agentRunCommand-L6NJGDBA.js} +88 -80
  14. package/{agentRunControl-XLGD3UZ5.js → agentRunControl-5T64LM2M.js} +2 -2
  15. package/{agentRuntimeLocal-TT57XSVO.js → agentRuntimeLocal-SYLNOKCT.js} +44 -36
  16. package/{agentSlice-KTVOEUDX.js → agentSlice-X63VSE6R.js} +11 -11
  17. package/{appDeleteCommands-XMJJB6UT.js → appDeleteCommands-IP22BHZE.js} +42 -38
  18. package/{appDeployCommands-DORRXKWU.js → appDeployCommands-5ZTQL6UL.js} +42 -38
  19. package/{appDeployStatusCommands-BWEE72UH.js → appDeployStatusCommands-G6EMAT75.js} +42 -38
  20. package/{appGetCommands-WN6KKQHQ.js → appGetCommands-UXBDAYEM.js} +42 -38
  21. package/{appListCommands-W2WE5TD5.js → appListCommands-J274GTVP.js} +42 -38
  22. package/{authCommand-F4EFRRX6.js → authCommand-W6I6GD3F.js} +115 -23
  23. package/{authCommands-RGOGCPP6.js → authCommands-GBIFZWD3.js} +5 -5
  24. package/{builtinSkillRegistry-FUAVTRVZ.js → builtinSkillRegistry-ZMF6YGNO.js} +6 -5
  25. package/{chatQueueReduxAdapter-4YQF4NHY.js → chatQueueReduxAdapter-KN774OKJ.js} +30 -29
  26. package/{chromeCommands-FZYAU75D.js → chromeCommands-K27J4OVZ.js} +124 -28
  27. package/{chromeOpsCommands-62P2Q2YB.js → chromeOpsCommands-IXRLN57H.js} +4 -3
  28. package/{chunk-6OZ36FXI.js → chunk-27ONFIEY.js} +22 -4
  29. package/{chunk-HMPEO3ZE.js → chunk-2JCOP36I.js} +100 -100
  30. package/{chunk-JEDZAO7L.js → chunk-2SYTUTLI.js} +257 -37
  31. package/{chunk-OIVSQH2O.js → chunk-3BXNTXYI.js} +299 -5
  32. package/{chunk-EYAQT56M.js → chunk-4DPP773Q.js} +2 -2
  33. package/chunk-4LCOCOR5.js +50 -0
  34. package/{chunk-2GRGFCF6.js → chunk-4VJAC32I.js} +2 -1
  35. package/{chunk-MC4XLIJ7.js → chunk-523DITKR.js} +1 -1
  36. package/{chunk-IAO6JBYW.js → chunk-5B7XS6UO.js} +164 -14
  37. package/{chunk-E4MARS3Q.js → chunk-5GVBDNTO.js} +1 -1
  38. package/chunk-5J3PYNUP.js +255 -0
  39. package/chunk-5MMAK75Q.js +15 -0
  40. package/{chunk-JPGCXHNM.js → chunk-5OA5HMTL.js} +1 -1
  41. package/{chunk-EFVDQUCT.js → chunk-5T2W2ZZN.js} +15 -20
  42. package/{chunk-DWUCB2A3.js → chunk-62IL3KQV.js} +4 -34
  43. package/{chunk-YQTQQX2H.js → chunk-67HHBCFJ.js} +1 -1
  44. package/{chunk-SNPMM7H3.js → chunk-67T7O467.js} +13 -13
  45. package/{chunk-6YTOJY35.js → chunk-6D2JFXLY.js} +35 -0
  46. package/{chunk-4MY4GLIW.js → chunk-6IHBIRPK.js} +969 -1090
  47. package/{chunk-3BMYXEUW.js → chunk-6O4IK4V2.js} +1 -1
  48. package/{chunk-DHDMC6FO.js → chunk-6TPOEJMQ.js} +9 -4
  49. package/{chunk-LGCTKGQ3.js → chunk-6UPZ63YT.js} +24 -5
  50. package/{chunk-WADCY6G6.js → chunk-6ZWMH6TJ.js} +111 -41
  51. package/{chunk-ABQYVJBJ.js → chunk-7CHC4W22.js} +1 -1
  52. package/{chunk-GQBOR3G6.js → chunk-7KVZ5LDQ.js} +2 -2
  53. package/{chunk-4OZYL5FG.js → chunk-7VJHIB2S.js} +573 -476
  54. package/{chunk-OA6Q2A4I.js → chunk-A7RSPKU6.js} +98 -22
  55. package/{chunk-KQ4ONNQD.js → chunk-ALFH24P3.js} +56 -7
  56. package/{chunk-Q554LLSI.js → chunk-AUDNYVRC.js} +1 -1
  57. package/{chunk-GPCZ7UXG.js → chunk-AZRHIN5B.js} +1 -1
  58. package/{chunk-JRQFUXY7.js → chunk-B2XUQXQX.js} +96 -19
  59. package/chunk-BMQ2MJUK.js +153 -0
  60. package/{chunk-3IIEFNGY.js → chunk-C53ZG23R.js} +2 -2
  61. package/chunk-CHOZJMJS.js +78 -0
  62. package/{chunk-3ZFOWBZF.js → chunk-CJXHT3S7.js} +13 -13
  63. package/{chunk-HJUYAD4A.js → chunk-CPUFH46E.js} +8 -8
  64. package/{chunk-2POGRYTM.js → chunk-CQMQXVFQ.js} +860 -142
  65. package/{chunk-LS2ZANRJ.js → chunk-CTUQJVQM.js} +1 -1
  66. package/{chunk-BP4XNZRM.js → chunk-CU3QB4HW.js} +3 -3
  67. package/{chunk-ACTMNVHM.js → chunk-CYSYR67N.js} +1 -1
  68. package/{chunk-SQZDZXP5.js → chunk-DA54MHPJ.js} +236 -36
  69. package/{chunk-VLTIYV3X.js → chunk-DCLMZ5TX.js} +4 -4
  70. package/{chunk-UKZDAFYT.js → chunk-DSSTTEKI.js} +6 -10
  71. package/{chunk-HVURBGF3.js → chunk-ESRMFY7G.js} +2 -2
  72. package/{chunk-TRV2MIDW.js → chunk-EXAJ6DCR.js} +1 -0
  73. package/chunk-GMZLP5DV.js +82 -0
  74. package/{chunk-CJCJF5XB.js → chunk-H6A6X4EK.js} +36 -3
  75. package/{chunk-DVINR3PL.js → chunk-HDLLCBRF.js} +1 -1
  76. package/{chunk-ONXOABJR.js → chunk-HNGRBWYF.js} +3 -0
  77. package/{chunk-H3PIH2EO.js → chunk-HWRQVJGX.js} +7 -7
  78. package/{chunk-H62HCIUP.js → chunk-HYZIYH2H.js} +11 -10
  79. package/{chunk-NTW5GWDM.js → chunk-I3QNET24.js} +32 -17
  80. package/{chunk-WV42OMV7.js → chunk-IAESIMK7.js} +4 -4
  81. package/{chunk-QIAVMDHY.js → chunk-IUVCUGQR.js} +4 -4
  82. package/{chunk-GFD4ALW3.js → chunk-IX27RP45.js} +1 -1
  83. package/{chunk-IIVGDG4I.js → chunk-LNPYTNMG.js} +8 -4
  84. package/{chunk-BLJWCTRL.js → chunk-LVITW736.js} +1 -1
  85. package/{chunk-76WEAXJB.js → chunk-M3LRSBOX.js} +18 -15
  86. package/{chunk-LIIKM7DD.js → chunk-M73PVOVS.js} +23 -76
  87. package/{chunk-7S4YWN7P.js → chunk-MX574M24.js} +1 -1
  88. package/{chunk-FZGV4FGK.js → chunk-NUHHBEJC.js} +378 -187
  89. package/{chunk-53HEEOTT.js → chunk-O26PCYLS.js} +80 -13
  90. package/{chunk-3DII57IT.js → chunk-O2OWEFII.js} +1 -1
  91. package/chunk-OCZKATRC.js +129 -0
  92. package/chunk-P6GMCCAT.js +870 -0
  93. package/{chunk-CPH3W5A7.js → chunk-Q4GP72HX.js} +94 -3
  94. package/{chunk-Z77CRGTW.js → chunk-R4SQ3LGW.js} +1 -1
  95. package/chunk-RE3CDVRX.js +7600 -0
  96. package/{chunk-DEUUPHOO.js → chunk-RKGKDQGJ.js} +74 -17
  97. package/{chunk-V4MJDUSR.js → chunk-RSEEDUMS.js} +2 -2
  98. package/{chunk-D2P6UDPQ.js → chunk-S3VFZW75.js} +66 -38
  99. package/{chunk-UZGQNTVW.js → chunk-S5XGT6GB.js} +5 -3
  100. package/{chunk-AFUORTY4.js → chunk-SONWNI3L.js} +21 -21
  101. package/{chunk-BYMV6QZG.js → chunk-TNIX77YM.js} +4 -0
  102. package/{chunk-OF7AQZUG.js → chunk-TU5NE4U3.js} +9 -84
  103. package/chunk-UNYJU5L6.js +780 -0
  104. package/{chunk-J4MOO56S.js → chunk-UQNS32WZ.js} +10 -2
  105. package/chunk-V2SAIXHE.js +13349 -0
  106. package/chunk-VIWDGTDA.js +8 -0
  107. package/chunk-VJVNU77E.js +83 -0
  108. package/{chunk-6D6VBVEW.js → chunk-VPFEPRME.js} +9 -9
  109. package/{chunk-JAXOVNM4.js → chunk-WILHZY7K.js} +45 -45
  110. package/{chunk-UKWGR5SS.js → chunk-WIWM4FE3.js} +187 -398
  111. package/{chunk-NKRYKK7T.js → chunk-XTDH3PGV.js} +6 -7
  112. package/{chunk-O6OSWFZQ.js → chunk-XUWRURDF.js} +6 -0
  113. package/{chunk-Q67DOFOO.js → chunk-Y3PMXGLH.js} +2 -0
  114. package/{chunk-SH43IESU.js → chunk-YUNJN43V.js} +44 -9
  115. package/{chunk-TOP2VXOR.js → chunk-Z4CSIXYP.js} +2 -2
  116. package/{chunk-2F7RJC6L.js → chunk-ZOVKKMF6.js} +1 -1
  117. package/chunk-ZRAU6T47.js +56 -0
  118. package/commandRegistry-NPS6IYBO.js +833 -0
  119. package/{contentThunks-2USKJBI4.js → contentThunks-EB4JFL4K.js} +32 -30
  120. package/{cooldownCommands-BSCH2W7P.js → cooldownCommands-ZLEPIB4A.js} +2 -2
  121. package/{createAgentAutomationAction-NTLU42X2.js → createAgentAutomationAction-NZS7N4AW.js} +32 -30
  122. package/{createDialogAction-UCYF4BUN.js → createDialogAction-4Q4J7P4T.js} +36 -33
  123. package/{createPageAction-QFGUGZ5M.js → createPageAction-FPKRGV7D.js} +38 -36
  124. package/{chunk-4LNCCQOB.js → cursorProvider-YGGNMVWX.js} +2560 -9879
  125. package/{dbSlice-XVWBAGYN.js → dbSlice-DQ32LYTJ.js} +8 -8
  126. package/{deleteFile-YG6QMJLU.js → deleteFile-NX6QHCWZ.js} +3 -3
  127. package/{dialogCommands-IIBAS4I2.js → dialogCommands-XXZH5K6U.js} +45 -41
  128. package/{dialogSlice-HQFQIQDZ.js → dialogSlice-DXEZ3PA3.js} +36 -29
  129. package/{dist-VODFSGNG.js → dist-NJC2W7I4.js} +61 -54
  130. package/{docCreateCommands-RJBSWEY4.js → docCreateCommands-FLNUDWG6.js} +44 -40
  131. package/{docDeleteCommands-QSDETKEQ.js → docDeleteCommands-74OURFAB.js} +44 -40
  132. package/{docReadCommands-AJG2EFHB.js → docReadCommands-QENWDQVH.js} +43 -39
  133. package/{docStore-GVWEDN5E.js → docStore-2JTPJVFK.js} +11 -10
  134. package/{docUpdateCommands-KWG533GS.js → docUpdateCommands-J4HWJ5JO.js} +44 -40
  135. package/{fetchMessages-EIU7UFFK.js → fetchMessages-67MEFPZR.js} +2 -2
  136. package/{getPricing-LUSEABA6.js → getPricing-NMMFT3YI.js} +3 -3
  137. package/{handleSendMessageAction-TLB2SAU4.js → handleSendMessageAction-FGPHI364.js} +91 -83
  138. package/index.js +87 -884
  139. package/{localDialogRead-BTFJ4V2I.js → localDialogRead-EBRS242U.js} +2 -2
  140. package/{localRuntimeAuthority-6IR6BBXE.js → localRuntimeAuthority-5W6IJRAD.js} +6 -6
  141. package/{localRuntimeDb-SYQGUF4U.js → localRuntimeDb-3LRMNLCM.js} +1 -1
  142. package/{machineCommands-QZDDCLIW.js → machineCommands-26AZP4AS.js} +84 -77
  143. package/{machineWsRunDispatch-NYMX3H4L.js → machineWsRunDispatch-GQ5XJ2DL.js} +81 -74
  144. package/{memberThunks-QGFLFVCI.js → memberThunks-5ZXPR63F.js} +9 -9
  145. package/{models-T3SG6MJ5.js → models-ZPU5EDF4.js} +2 -2
  146. package/oauthTokenStore-ITEB663N.js +23 -0
  147. package/package.json +1 -1
  148. package/pdf-U6KSUEZZ.js +26435 -0
  149. package/processSpawn-SOAV3FEV.js +11 -0
  150. package/profileConfig-ZGOFORWV.js +43 -0
  151. package/{providerPresetApply-FG6NZ57W.js → providerPresetApply-DD6NGWW6.js} +7 -7
  152. package/{providerRegistry-757OWH3O.js → providerRegistry-XDRLMYGJ.js} +7 -7
  153. package/{read-COE3ZYR6.js → read-EPTJRAEF.js} +5 -5
  154. package/{readDocTool-5USN4A6V.js → readDocTool-W4NDXNEX.js} +5 -3
  155. package/{readlineWorkspace-VETAJAPP.js → readlineWorkspace-B7NBQCX6.js} +2448 -2022
  156. package/{removeDialogAgentAction-IX3MN2ZO.js → removeDialogAgentAction-BVAWQKXE.js} +17 -19
  157. package/{runAgentClientLoop-26DG6ZEY.js → runAgentClientLoop-RVB5K6R2.js} +61 -58
  158. package/{runtimeDoctorCommands-X6WDBEQX.js → runtimeDoctorCommands-3USD722U.js} +3 -3
  159. package/runtimeModeArgs-2Y7BALTO.js +31 -0
  160. package/{setDialogExtraReferencesAction-X4HCPNZL.js → setDialogExtraReferencesAction-LYY45IAD.js} +12 -11
  161. package/{setPrimaryDialogAgentAction-4GMIQLOD.js → setPrimaryDialogAgentAction-73IL7DLU.js} +18 -20
  162. package/{settingSlice-ZQZVUPKK.js → settingSlice-Q6EKL7EQ.js} +9 -9
  163. package/{skillDiscovery-CYUCJMAG.js → skillDiscovery-ZBU76COE.js} +3 -3
  164. package/{spaceCommands-WIJTLELT.js → spaceCommands-BYDGOMW7.js} +44 -40
  165. package/{streamAgentChatTurn-BY7IPY5C.js → streamAgentChatTurn-HV3FSRHN.js} +183 -91
  166. package/{switchDialogAgentAction-N52LRPA3.js → switchDialogAgentAction-UUXDSQ6X.js} +15 -17
  167. package/{tableCommands-O6NWHFKV.js → tableCommands-G7RV3RU3.js} +4 -4
  168. package/{toolApiClient-QVJ6HDNN.js → toolApiClient-INIQCPGY.js} +3 -3
  169. package/{tools-4Y2EYH5D.js → tools-AZR26MXC.js} +54 -51
  170. package/{tuiSummaryLlmCaller-T2SHYMDZ.js → tuiSummaryLlmCaller-74NRRLVW.js} +18 -16
  171. package/{updateCommands-2M74UL7P.js → updateCommands-4EHDLF5J.js} +3 -3
  172. package/{updateDialogTitleAction-2S4DCP35.js → updateDialogTitleAction-HEWCCXZZ.js} +81 -43
  173. package/agentRecordCommands-YQQKDLIA.js +0 -128
  174. package/chunk-LBEDNSMY.js +0 -18881
  175. package/chunk-M76ECQRD.js +0 -13658
  176. package/chunk-Q5FJJ6XI.js +0 -103
  177. package/chunk-S7Z2HMCN.js +0 -25
  178. package/{chunk-VMFTFOWF.js → chunk-3AH7LNUB.js} +7 -7
  179. package/{chunk-X7HHHIOZ.js → chunk-Y6ROFCZO.js} +0 -0
  180. package/{db-WK5MDZVN.js → db-VQSAOWAO.js} +1 -1
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // packages/cli/agentCommandSupport.ts
6
6
  async function getDefaultCliDb() {
7
- const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-SYQGUF4U.js");
7
+ const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-3LRMNLCM.js");
8
8
  return getDefaultCliLocalRuntimeDb();
9
9
  }
10
10
  function createNullCliDb() {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  selectCurrentServer,
3
3
  selectRemoteServers
4
- } from "./chunk-AFUORTY4.js";
4
+ } from "./chunk-SONWNI3L.js";
5
5
  import {
6
6
  createUserKey,
7
7
  extractAgentInfo,
@@ -10,11 +10,11 @@ import {
10
10
  sanitizeShareData,
11
11
  shareKey,
12
12
  toNonEmptyString
13
- } from "./chunk-VMFTFOWF.js";
13
+ } from "./chunk-3AH7LNUB.js";
14
14
  import {
15
15
  noloDeleteRequest,
16
16
  noloWriteRequest
17
- } from "./chunk-UKWGR5SS.js";
17
+ } from "./chunk-WIWM4FE3.js";
18
18
  import {
19
19
  normalizeTimeFields
20
20
  } from "./chunk-QOKAKDPE.js";
@@ -4,7 +4,7 @@ import {
4
4
  openrouterModels,
5
5
  platformHostedModels,
6
6
  zaiModels
7
- } from "./chunk-Q67DOFOO.js";
7
+ } from "./chunk-Y3PMXGLH.js";
8
8
 
9
9
  // packages/ai/llm/modelAbility.ts
10
10
  var MODEL_ABILITY_TABLE = {
@@ -3,35 +3,34 @@ import {
3
3
  getCurrentSpaceIdRaw,
4
4
  updateCurrentSpaceIfMatch
5
5
  } from "./chunk-ZJ7UHBJS.js";
6
+ import {
7
+ formatISO
8
+ } from "./chunk-ZRAU6T47.js";
6
9
  import {
7
10
  deleteDialog,
8
11
  i18nBaseConfig,
9
- initReactI18next,
10
12
  instance,
11
13
  toast
12
- } from "./chunk-LBEDNSMY.js";
13
- import {
14
- require_date_fns
15
- } from "./chunk-M76ECQRD.js";
14
+ } from "./chunk-V2SAIXHE.js";
16
15
  import {
17
16
  require_react
18
17
  } from "./chunk-YDH3FDFQ.js";
19
- import {
20
- isSystemAdmin
21
- } from "./chunk-QDSINZM3.js";
22
- import {
23
- asRecordOrEmpty
24
- } from "./chunk-KX6YBIHG.js";
25
18
  import {
26
19
  UNCATEGORIZED_ID,
27
20
  addContentAction,
28
21
  checkSpaceMembership,
29
22
  localSpaceAuthorityPatchStamp
30
- } from "./chunk-V4MJDUSR.js";
23
+ } from "./chunk-RSEEDUMS.js";
31
24
  import {
32
25
  createSpaceKey,
33
26
  normalizeSpaceId
34
27
  } from "./chunk-UAD2WT54.js";
28
+ import {
29
+ isSystemAdmin
30
+ } from "./chunk-QDSINZM3.js";
31
+ import {
32
+ asRecordOrEmpty
33
+ } from "./chunk-KX6YBIHG.js";
35
34
  import {
36
35
  patch,
37
36
  read,
@@ -41,7 +40,7 @@ import {
41
40
  uploadFileAction,
42
41
  upsertSSREntity,
43
42
  write
44
- } from "./chunk-H62HCIUP.js";
43
+ } from "./chunk-HYZIYH2H.js";
45
44
  import {
46
45
  SEPARATOR,
47
46
  asTrimmedNonEmptyStringArray,
@@ -53,13 +52,10 @@ import {
53
52
  rowKey,
54
53
  splitKey,
55
54
  ulid
56
- } from "./chunk-VMFTFOWF.js";
55
+ } from "./chunk-3AH7LNUB.js";
57
56
  import {
58
57
  asOptionalFiniteNumber
59
58
  } from "./chunk-WWC7I6TA.js";
60
- import {
61
- extractUserId
62
- } from "./chunk-M2EJHDJP.js";
63
59
  import {
64
60
  DEVICE_LOCAL_OWNER_ID,
65
61
  createAsyncThunk,
@@ -68,7 +64,7 @@ import {
68
64
  resolveReplicationServers,
69
65
  scheduleDeleteReplication,
70
66
  scheduleWriteReplication
71
- } from "./chunk-UKWGR5SS.js";
67
+ } from "./chunk-WIWM4FE3.js";
72
68
  import {
73
69
  createClientLogger,
74
70
  isAbortError
@@ -82,6 +78,9 @@ import {
82
78
  import {
83
79
  isRecord
84
80
  } from "./chunk-KUG52IAP.js";
81
+ import {
82
+ extractUserId
83
+ } from "./chunk-M2EJHDJP.js";
85
84
  import {
86
85
  asTrimmedString
87
86
  } from "./chunk-3EUW3WEO.js";
@@ -92,12 +91,125 @@ import {
92
91
  asOptionalTrimmedString
93
92
  } from "./chunk-G3SUCT4W.js";
94
93
  import {
94
+ __commonJS,
95
95
  __toESM
96
96
  } from "./chunk-4VNS5WPM.js";
97
97
 
98
+ // node_modules/void-elements/index.js
99
+ var require_void_elements = __commonJS({
100
+ "node_modules/void-elements/index.js"(exports, module) {
101
+ module.exports = {
102
+ "area": true,
103
+ "base": true,
104
+ "br": true,
105
+ "col": true,
106
+ "embed": true,
107
+ "hr": true,
108
+ "img": true,
109
+ "input": true,
110
+ "link": true,
111
+ "meta": true,
112
+ "param": true,
113
+ "source": true,
114
+ "track": true,
115
+ "wbr": true
116
+ };
117
+ }
118
+ });
119
+
120
+ // node_modules/html-parse-stringify/dist/html-parse-stringify.js
121
+ var require_html_parse_stringify = __commonJS({
122
+ "node_modules/html-parse-stringify/dist/html-parse-stringify.js"(exports, module) {
123
+ var e;
124
+ var t = (e = require_void_elements()) && "object" == typeof e && "default" in e ? e.default : e;
125
+ var n = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?("[^"]*"|'[^']*')/g;
126
+ function r(e2) {
127
+ var r2 = { type: "tag", name: "", voidElement: false, attrs: {}, children: [] }, i2 = e2.match(/<\/?([^\s]+?)[/\s>]/);
128
+ if (i2 && (r2.name = i2[1], (t[i2[1]] || "/" === e2.charAt(e2.length - 2)) && (r2.voidElement = true), r2.name.startsWith("!--"))) {
129
+ var s2 = e2.indexOf("-->");
130
+ return { type: "comment", comment: -1 !== s2 ? e2.slice(4, s2) : "" };
131
+ }
132
+ for (var a2 = new RegExp(n), c2 = null; null !== (c2 = a2.exec(e2)); ) if (c2[0].trim()) if (c2[1]) {
133
+ var l = c2[1].trim(), o = [l, ""];
134
+ l.indexOf("=") > -1 && (o = l.split("=")), r2.attrs[o[0]] = o[1], a2.lastIndex--;
135
+ } else c2[2] && (r2.attrs[c2[2]] = c2[3].trim().substring(1, c2[3].length - 1));
136
+ return r2;
137
+ }
138
+ var i = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g;
139
+ var s = /^\s*$/;
140
+ var a = /* @__PURE__ */ Object.create(null);
141
+ function c(e2, t2) {
142
+ switch (t2.type) {
143
+ case "text":
144
+ return e2 + t2.content;
145
+ case "tag":
146
+ return e2 += "<" + t2.name + (t2.attrs ? function(e3) {
147
+ var t3 = [];
148
+ for (var n2 in e3) t3.push(n2 + '="' + e3[n2] + '"');
149
+ return t3.length ? " " + t3.join(" ") : "";
150
+ }(t2.attrs) : "") + (t2.voidElement ? "/>" : ">"), t2.voidElement ? e2 : e2 + t2.children.reduce(c, "") + "</" + t2.name + ">";
151
+ case "comment":
152
+ return e2 + "<!--" + t2.comment + "-->";
153
+ }
154
+ }
155
+ module.exports = { parse: function(e2, t2) {
156
+ t2 || (t2 = {}), t2.components || (t2.components = a);
157
+ var n2, c2 = [], l = [], o = -1, u = false;
158
+ if (0 !== e2.indexOf("<")) {
159
+ var h = e2.indexOf("<");
160
+ c2.push({ type: "text", content: -1 === h ? e2 : e2.substring(0, h) });
161
+ }
162
+ for (var f, d = []; f = i.exec(e2); ) d.push(f);
163
+ return d.forEach(function(e3, t3) {
164
+ var n3 = e3[0];
165
+ if (n3 && !n3.startsWith("<!--")) {
166
+ for (var r2 = 0, i2 = 0, s2 = -1, a2 = null, c3 = 0; c3 < n3.length; c3++) {
167
+ var l2 = n3.charAt(c3);
168
+ a2 ? l2 === a2 && (a2 = null) : '"' === l2 || "'" === l2 ? a2 = l2 : "<" === l2 ? 2 == ++r2 && (s2 = c3) : ">" === l2 && i2++;
169
+ }
170
+ var o2 = s2 > -1 && /[a-zA-Z0-9\-!/]/.test(n3.charAt(s2 + 1));
171
+ if (r2 > i2 && o2) {
172
+ var u2 = n3.substring(0, s2), h2 = n3.substring(u2.length);
173
+ d[t3][0] = h2, d[t3].index += u2.length;
174
+ }
175
+ }
176
+ }), d.forEach(function(i2, a2) {
177
+ var h2 = i2[0];
178
+ if (h2) {
179
+ var f2 = i2.index;
180
+ if (u) {
181
+ if (h2 !== "</" + n2.name + ">") return;
182
+ u = false;
183
+ }
184
+ var v, m, p = "/" !== h2.charAt(1), x = h2.startsWith("<!--"), g = f2 + h2.length, y = e2.charAt(g), E = d[a2 + 1];
185
+ if ("<" === y && E) {
186
+ var b = e2.substring(g, E.index);
187
+ v = b.split("<").length > b.split(">").length;
188
+ }
189
+ if (x) {
190
+ var A = r(h2);
191
+ if (o < 0) return c2.push(A), c2;
192
+ (m = l[o]).children.push(A);
193
+ var O = e2.slice(g, E ? E.index : void 0);
194
+ return O.length > 0 && m.children.push({ type: "text", content: O }), c2;
195
+ }
196
+ if (p && (o++, "tag" === (n2 = r(h2)).type && t2.components[n2.name] && (n2.type = "component", u = true), n2.voidElement || u || !y || "<" === y || n2.children.push({ type: "text", content: e2.slice(g, E ? E.index : void 0) }), 0 === o && c2.push(n2), (m = l[o - 1]) && m.children.push(n2), l[o] = n2), (!p || n2.voidElement) && (o > -1 && (n2.voidElement || n2.name === h2.slice(2, -1)) && (o--, n2 = -1 === o ? c2 : l[o]), !u && ("<" !== y || v) && y)) {
197
+ m = -1 === o ? c2 : l[o].children;
198
+ var j = E ? E.index : -1, W = e2.slice(g, -1 === j ? void 0 : j);
199
+ s.test(W) && (W = " "), (j > -1 && o + m.length >= 0 || " " !== W) && m.push({ type: "text", content: W });
200
+ }
201
+ }
202
+ }), c2;
203
+ }, stringify: function(e2) {
204
+ return e2.reduce(function(e3, t2) {
205
+ return e3 + c("", t2);
206
+ }, "");
207
+ } };
208
+ }
209
+ });
210
+
98
211
  // packages/render/table/tableStore.ts
99
- var import_react = __toESM(require_react(), 1);
100
- var import_date_fns2 = __toESM(require_date_fns(), 1);
212
+ var import_react9 = __toESM(require_react(), 1);
101
213
  import { ulid as ulid3 } from "ulid";
102
214
 
103
215
  // packages/render/table/fetchAndCacheTableRows.ts
@@ -434,9 +546,97 @@ function addColumnOptionInMeta(meta, input, deps) {
434
546
  }
435
547
 
436
548
  // packages/render/table/createTableAction.ts
437
- var import_date_fns = __toESM(require_date_fns(), 1);
438
549
  import { ulid as ulid2 } from "ulid";
439
550
 
551
+ // node_modules/react-i18next/dist/es/Trans.js
552
+ var import_react3 = __toESM(require_react(), 1);
553
+
554
+ // node_modules/react-i18next/dist/es/TransWithoutContext.js
555
+ var import_react = __toESM(require_react(), 1);
556
+ var import_html_parse_stringify = __toESM(require_html_parse_stringify(), 1);
557
+
558
+ // node_modules/react-i18next/dist/es/unescape.js
559
+ var matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;
560
+ var htmlEntities = {
561
+ "&amp;": "&",
562
+ "&#38;": "&",
563
+ "&lt;": "<",
564
+ "&#60;": "<",
565
+ "&gt;": ">",
566
+ "&#62;": ">",
567
+ "&apos;": "'",
568
+ "&#39;": "'",
569
+ "&quot;": '"',
570
+ "&#34;": '"',
571
+ "&nbsp;": " ",
572
+ "&#160;": " ",
573
+ "&copy;": "\xA9",
574
+ "&#169;": "\xA9",
575
+ "&reg;": "\xAE",
576
+ "&#174;": "\xAE",
577
+ "&hellip;": "\u2026",
578
+ "&#8230;": "\u2026",
579
+ "&#x2F;": "/",
580
+ "&#47;": "/"
581
+ };
582
+ var unescapeHtmlEntity = (m) => htmlEntities[m];
583
+ var unescape = (text) => text.replace(matchHtmlEntity, unescapeHtmlEntity);
584
+
585
+ // node_modules/react-i18next/dist/es/defaults.js
586
+ var defaultOptions = {
587
+ bindI18n: "languageChanged",
588
+ bindI18nStore: "",
589
+ transEmptyNodeValue: "",
590
+ transSupportBasicHtmlNodes: true,
591
+ transWrapTextNodes: "",
592
+ transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
593
+ useSuspense: true,
594
+ unescape
595
+ };
596
+ var setDefaults = function() {
597
+ let options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
598
+ defaultOptions = {
599
+ ...defaultOptions,
600
+ ...options
601
+ };
602
+ };
603
+
604
+ // node_modules/react-i18next/dist/es/i18nInstance.js
605
+ var i18nInstance;
606
+ var setI18n = (instance2) => {
607
+ i18nInstance = instance2;
608
+ };
609
+
610
+ // node_modules/react-i18next/dist/es/context.js
611
+ var import_react2 = __toESM(require_react(), 1);
612
+
613
+ // node_modules/react-i18next/dist/es/initReactI18next.js
614
+ var initReactI18next = {
615
+ type: "3rdParty",
616
+ init(instance2) {
617
+ setDefaults(instance2.options.react);
618
+ setI18n(instance2);
619
+ }
620
+ };
621
+
622
+ // node_modules/react-i18next/dist/es/context.js
623
+ var I18nContext = (0, import_react2.createContext)();
624
+
625
+ // node_modules/react-i18next/dist/es/useTranslation.js
626
+ var import_react4 = __toESM(require_react(), 1);
627
+
628
+ // node_modules/react-i18next/dist/es/withTranslation.js
629
+ var import_react5 = __toESM(require_react(), 1);
630
+
631
+ // node_modules/react-i18next/dist/es/I18nextProvider.js
632
+ var import_react6 = __toESM(require_react(), 1);
633
+
634
+ // node_modules/react-i18next/dist/es/withSSR.js
635
+ var import_react8 = __toESM(require_react(), 1);
636
+
637
+ // node_modules/react-i18next/dist/es/useSSR.js
638
+ var import_react7 = __toESM(require_react(), 1);
639
+
440
640
  // packages/app/i18n/client.ts
441
641
  instance.use(initReactI18next).init({
442
642
  ...i18nBaseConfig,
@@ -554,7 +754,7 @@ var createTableAction = async ({
554
754
  const spaceId = customSpaceId ?? getCurrentSpaceId();
555
755
  const tableId = ulid2();
556
756
  const now = /* @__PURE__ */ new Date();
557
- const nowIso = (0, import_date_fns.formatISO)(now);
757
+ const nowIso = formatISO(now);
558
758
  const dbKey = metaKey(userId, tableId);
559
759
  const defaultTitle = client_default.t("space:newTable", {
560
760
  defaultValue: "\u65B0\u5EFA\u8868\u683C"
@@ -924,7 +1124,7 @@ var addRow = createTableCommand(
924
1124
  });
925
1125
  try {
926
1126
  const { dbKey, rowId } = rowKey.create(tenantId, tableId);
927
- const nowIso = (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date());
1127
+ const nowIso = formatISO(/* @__PURE__ */ new Date());
928
1128
  const row = {
929
1129
  dbKey,
930
1130
  tenantId,
@@ -985,7 +1185,7 @@ var deleteRow = createTableCommand(
985
1185
  if (!row) {
986
1186
  throw new Error(`\u5F53\u524D\u8868\u4E2D\u627E\u4E0D\u5230\u8981\u5220\u9664\u7684\u884C\uFF1A${dbKey}`);
987
1187
  }
988
- const nowIso = (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date());
1188
+ const nowIso = formatISO(/* @__PURE__ */ new Date());
989
1189
  const tombstoneRow = {
990
1190
  ...row,
991
1191
  deletedAt: nowIso,
@@ -1063,7 +1263,7 @@ var addColumn = createTableCommand(
1063
1263
  const result = addColumnToMeta(
1064
1264
  meta,
1065
1265
  { columnName },
1066
- { id: ulid3(), nowIso: (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date()) }
1266
+ { id: ulid3(), nowIso: formatISO(/* @__PURE__ */ new Date()) }
1067
1267
  );
1068
1268
  if (!result.ok) {
1069
1269
  throw new Error(result.error);
@@ -1104,7 +1304,7 @@ var deleteColumn = createTableCommand(
1104
1304
  meta,
1105
1305
  state.rows,
1106
1306
  { columnName },
1107
- { nowIso: (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date()) }
1307
+ { nowIso: formatISO(/* @__PURE__ */ new Date()) }
1108
1308
  );
1109
1309
  if (!result.ok) {
1110
1310
  throw new Error(result.error);
@@ -1146,7 +1346,7 @@ var reorderColumn = createTableCommand(
1146
1346
  const result = reorderColumnInMeta(
1147
1347
  meta,
1148
1348
  { fromIndex, toIndex },
1149
- { nowIso: (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date()) }
1349
+ { nowIso: formatISO(/* @__PURE__ */ new Date()) }
1150
1350
  );
1151
1351
  if (!result.ok) {
1152
1352
  throw new Error(result.error);
@@ -1187,7 +1387,7 @@ var renameColumnLabel = createTableCommand(
1187
1387
  const result = renameColumnLabelInMeta(
1188
1388
  meta,
1189
1389
  { columnId, label: newLabel },
1190
- { nowIso: (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date()) }
1390
+ { nowIso: formatISO(/* @__PURE__ */ new Date()) }
1191
1391
  );
1192
1392
  if (!result.ok) {
1193
1393
  throw new Error(result.error);
@@ -1225,7 +1425,7 @@ var updateColumnWidth = createTableCommand(
1225
1425
  const result = updateColumnWidthInMeta(
1226
1426
  meta,
1227
1427
  { columnId, width },
1228
- { nowIso: (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date()) }
1428
+ { nowIso: formatISO(/* @__PURE__ */ new Date()) }
1229
1429
  );
1230
1430
  if (!result.ok) {
1231
1431
  throw new Error(result.error);
@@ -1263,7 +1463,7 @@ var addColumnOption = createTableCommand(
1263
1463
  const result = addColumnOptionInMeta(
1264
1464
  meta,
1265
1465
  { columnId, option },
1266
- { nowIso: (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date()) }
1466
+ { nowIso: formatISO(/* @__PURE__ */ new Date()) }
1267
1467
  );
1268
1468
  if (!result.ok) {
1269
1469
  throw new Error(result.error);
@@ -1305,7 +1505,7 @@ var renameTable = createTableCommand(
1305
1505
  if (!meta || meta.tenantId !== tenantId || meta.tableId !== tableId) {
1306
1506
  throw new Error("\u5F53\u524D\u6CA1\u6709\u52A0\u8F7D\u5BF9\u5E94\u7684\u8868\u5B9A\u4E49");
1307
1507
  }
1308
- const nowIso = (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date());
1508
+ const nowIso = formatISO(/* @__PURE__ */ new Date());
1309
1509
  setState((s) => ({ ...s, error: null }));
1310
1510
  try {
1311
1511
  if (dispatch) {
@@ -1346,7 +1546,7 @@ var updateTableIcon = createTableCommand(
1346
1546
  if (!meta || meta.tenantId !== tenantId || meta.tableId !== tableId) {
1347
1547
  throw new Error("\u5F53\u524D\u6CA1\u6709\u52A0\u8F7D\u5BF9\u5E94\u7684\u8868\u5B9A\u4E49");
1348
1548
  }
1349
- const nowIso = (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date());
1549
+ const nowIso = formatISO(/* @__PURE__ */ new Date());
1350
1550
  setState((s) => ({ ...s, error: null }));
1351
1551
  try {
1352
1552
  if (dispatch) {
@@ -1384,7 +1584,7 @@ var updateCell = createTableCommand(
1384
1584
  const { dbKey, columnName, value } = args;
1385
1585
  setState((s) => ({ ...s, error: null }));
1386
1586
  try {
1387
- const nowIso = (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date());
1587
+ const nowIso = formatISO(/* @__PURE__ */ new Date());
1388
1588
  if (dispatch) {
1389
1589
  await safeDispatch(
1390
1590
  dispatch,
@@ -1453,11 +1653,11 @@ var ENTITY_DELETE_STRATEGIES = {
1453
1653
  await dispatch(deleteTable({ dbKey: key })).unwrap();
1454
1654
  },
1455
1655
  file: async (key, { thunkAPI }) => {
1456
- const { deleteFileAction } = await import("./deleteFile-YG6QMJLU.js");
1656
+ const { deleteFileAction } = await import("./deleteFile-NX6QHCWZ.js");
1457
1657
  await deleteFileAction(key, thunkAPI);
1458
1658
  },
1459
1659
  image: async (key, { thunkAPI }) => {
1460
- const { deleteFileAction } = await import("./deleteFile-YG6QMJLU.js");
1660
+ const { deleteFileAction } = await import("./deleteFile-NX6QHCWZ.js");
1461
1661
  await deleteFileAction(key, thunkAPI);
1462
1662
  },
1463
1663
  agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
@@ -2183,7 +2383,7 @@ var writeStoredCollapsedCategories = (spaceId, collapsedCategories, storage) =>
2183
2383
  };
2184
2384
 
2185
2385
  // packages/create/space/spaceUiStore.ts
2186
- var import_react2 = __toESM(require_react(), 1);
2386
+ var import_react10 = __toESM(require_react(), 1);
2187
2387
  var DEFAULT_COLLAPSED_CATEGORIES = {
2188
2388
  [UNCATEGORIZED_ID]: false
2189
2389
  };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  getActiveDialogKey
3
- } from "./chunk-6YTOJY35.js";
3
+ } from "./chunk-6D2JFXLY.js";
4
4
  import {
5
5
  compactWhitespace
6
6
  } from "./chunk-DWLEOOGR.js";
7
7
  import {
8
8
  asTrimmedLowercaseString
9
9
  } from "./chunk-QSJ3HFEF.js";
10
- import {
11
- extractCustomId
12
- } from "./chunk-M2EJHDJP.js";
13
10
  import {
14
11
  selectIdentityToken
15
12
  } from "./chunk-SEJ5OS6F.js";
16
13
  import {
17
14
  isRecord
18
15
  } from "./chunk-KUG52IAP.js";
16
+ import {
17
+ extractCustomId
18
+ } from "./chunk-M2EJHDJP.js";
19
19
 
20
20
  // packages/ai/tools/toolApiClient.ts
21
21
  var MAIN_SERVER = "https://nolo.chat";
@@ -1,19 +1,15 @@
1
1
  import {
2
- getActiveDialogKey
3
- } from "./chunk-6YTOJY35.js";
2
+ formatISO
3
+ } from "./chunk-ZRAU6T47.js";
4
4
  import {
5
- require_date_fns
6
- } from "./chunk-M76ECQRD.js";
5
+ getActiveDialogKey
6
+ } from "./chunk-6D2JFXLY.js";
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-H62HCIUP.js";
11
- import {
12
- __toESM
13
- } from "./chunk-4VNS5WPM.js";
10
+ } from "./chunk-HYZIYH2H.js";
14
11
 
15
12
  // packages/chat/dialog/actions/setDialogExtraReferencesAction.ts
16
- var import_date_fns = __toESM(require_date_fns());
17
13
  var setDialogExtraReferencesAction = async (extraReferences, thunkApi) => {
18
14
  const { dispatch, getState } = thunkApi;
19
15
  const state = getState();
@@ -33,7 +29,7 @@ var setDialogExtraReferencesAction = async (extraReferences, thunkApi) => {
33
29
  dbKey: currentDialogKey,
34
30
  changes: {
35
31
  extraReferences: extraReferences ?? [],
36
- updatedAt: (0, import_date_fns.formatISO)(/* @__PURE__ */ new Date())
32
+ updatedAt: formatISO(/* @__PURE__ */ new Date())
37
33
  }
38
34
  })
39
35
  ).unwrap();
@@ -2,10 +2,10 @@ import {
2
2
  getCredentialsDir,
3
3
  getLegacyCredentialPath,
4
4
  migrateLegacyCredentialFile
5
- } from "./chunk-ONXOABJR.js";
5
+ } from "./chunk-HNGRBWYF.js";
6
6
  import {
7
7
  asNonEmptyStringArray
8
- } from "./chunk-VMFTFOWF.js";
8
+ } from "./chunk-3AH7LNUB.js";
9
9
  import {
10
10
  isRecord
11
11
  } from "./chunk-KUG52IAP.js";
@@ -91,6 +91,7 @@ function createCliAuthorityBrokerSocketInvoker(options) {
91
91
  const timeout = setTimeout(() => {
92
92
  finish(() => {
93
93
  socket.destroy();
94
+ socket.unref?.();
94
95
  reject(new CliAuthorityBrokerTimeoutError(options.endpoint, timeoutMs));
95
96
  });
96
97
  }, timeoutMs);
@@ -0,0 +1,82 @@
1
+ // packages/agent-runtime/sseFrames.ts
2
+ async function* readSseFrames(response) {
3
+ const reader = response.body?.getReader();
4
+ if (!reader) {
5
+ throw new Error("SSE response did not include a readable body.");
6
+ }
7
+ const decoder = new TextDecoder();
8
+ let buffer = "";
9
+ while (true) {
10
+ const { done, value } = await reader.read();
11
+ if (done) break;
12
+ buffer += decoder.decode(value, { stream: true });
13
+ let boundary = findSseFrameBoundary(buffer);
14
+ while (boundary) {
15
+ yield buffer.slice(0, boundary.index);
16
+ buffer = buffer.slice(boundary.index + boundary.separatorLength);
17
+ boundary = findSseFrameBoundary(buffer);
18
+ }
19
+ }
20
+ const remaining = decoder.decode();
21
+ if (remaining) {
22
+ buffer += remaining;
23
+ let boundary = findSseFrameBoundary(buffer);
24
+ while (boundary) {
25
+ yield buffer.slice(0, boundary.index);
26
+ buffer = buffer.slice(boundary.index + boundary.separatorLength);
27
+ boundary = findSseFrameBoundary(buffer);
28
+ }
29
+ }
30
+ if (buffer.trim()) yield buffer;
31
+ }
32
+ function findSseFrameBoundary(buffer) {
33
+ const lfLf = buffer.indexOf("\n\n");
34
+ const crLfCrLf = buffer.indexOf("\r\n\r\n");
35
+ if (lfLf === -1 && crLfCrLf === -1) return null;
36
+ const useLf = lfLf !== -1 && (crLfCrLf === -1 || lfLf < crLfCrLf);
37
+ return useLf ? { index: lfLf, separatorLength: 2 } : { index: crLfCrLf, separatorLength: 4 };
38
+ }
39
+ async function* streamSseDataValues(response, parse) {
40
+ const reader = response.body?.getReader();
41
+ if (!reader) return;
42
+ const decoder = new TextDecoder();
43
+ let buffer = "";
44
+ while (true) {
45
+ const { done, value } = await reader.read();
46
+ if (done) break;
47
+ buffer += decoder.decode(value, { stream: true });
48
+ const lines = buffer.split("\n");
49
+ buffer = lines.pop() ?? "";
50
+ for (const line of lines) {
51
+ const parsed = parse(line);
52
+ if (parsed) yield parsed;
53
+ }
54
+ }
55
+ const remaining = decoder.decode();
56
+ if (remaining) {
57
+ buffer += remaining;
58
+ const lines = buffer.split("\n");
59
+ buffer = lines.pop() ?? "";
60
+ for (const line of lines) {
61
+ const parsed = parse(line);
62
+ if (parsed) yield parsed;
63
+ }
64
+ }
65
+ if (buffer.trim()) {
66
+ const parsed = parse(buffer);
67
+ if (parsed) yield parsed;
68
+ }
69
+ }
70
+ async function readSseDataValues(response, parse) {
71
+ const values = [];
72
+ for await (const value of streamSseDataValues(response, parse)) {
73
+ values.push(value);
74
+ }
75
+ return values;
76
+ }
77
+
78
+ export {
79
+ readSseFrames,
80
+ streamSseDataValues,
81
+ readSseDataValues
82
+ };