nolo-cli 0.97.5 → 0.97.6

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 (140) hide show
  1. package/{_executeModel-GWED52PB.js → _executeModel-E64QIKWF.js} +69 -67
  2. package/action-PNPQLJHG.js +20 -0
  3. package/{addContentAction-B2DRF7P6.js → addContentAction-DX6T34JR.js} +13 -12
  4. package/{addDialogAgentAction-T3I7IXPK.js → addDialogAgentAction-6SGG37BF.js} +17 -16
  5. package/{agentDeleteCommand-FH462XO5.js → agentDeleteCommand-76VXVM3N.js} +40 -39
  6. package/{agentEmailCommands-6UNG6QKI.js → agentEmailCommands-URGNKPPJ.js} +79 -77
  7. package/{agentListCommands-7QQZXKMN.js → agentListCommands-62NGDFOS.js} +50 -49
  8. package/{agentMachineCommands-DCBE3CPT.js → agentMachineCommands-SDIABR4D.js} +38 -37
  9. package/{agentProviderCommands-EMZCM6VA.js → agentProviderCommands-SG535ZMY.js} +1 -1
  10. package/{agentPullCommand-HF4A42D4.js → agentPullCommand-5DOL6RGF.js} +1 -1
  11. package/{agentRecordCommands-TNOVFCQ3.js → agentRecordCommands-ZICUGEEH.js} +73 -71
  12. package/{agentRunCommand-PAUTLE6D.js → agentRunCommand-66NCRPQ7.js} +76 -74
  13. package/{agentRunControl-2TTTUTSW.js → agentRunControl-3HWA2LLQ.js} +2 -2
  14. package/{agentRuntimeLocal-AY6YNUAL.js → agentRuntimeLocal-EZPUCRMS.js} +35 -34
  15. package/{agentSlice-FRLSN5HD.js → agentSlice-V2EDVUXC.js} +15 -14
  16. package/{appDeleteCommands-DFA4W66A.js → appDeleteCommands-7WLUFWPE.js} +35 -34
  17. package/{appDeployCommands-RDTG2IGP.js → appDeployCommands-NK22AMAW.js} +35 -34
  18. package/{appDeployStatusCommands-43XL5KEM.js → appDeployStatusCommands-PIWSMQET.js} +35 -34
  19. package/{appGetCommands-AKEAHGIG.js → appGetCommands-J3H6IHUT.js} +35 -34
  20. package/{appListCommands-F2H37K7K.js → appListCommands-CF4NYHRY.js} +35 -34
  21. package/{authCommand-2YPMMIJN.js → authCommand-T6UO5KPG.js} +20 -20
  22. package/{authCommands-FFDS4FVX.js → authCommands-KTIUCVVG.js} +4 -4
  23. package/{builtinSkillRegistry-CALVIJTX.js → builtinSkillRegistry-MAR5LPAC.js} +7 -6
  24. package/{chunk-4J3Q2KJL.js → chunk-2LM7XUCX.js} +10 -8
  25. package/{chunk-EKS2APRJ.js → chunk-2TYM4V33.js} +2 -2
  26. package/{chunk-O26PCYLS.js → chunk-2WJ57RJA.js} +6 -6
  27. package/{chunk-XVLDUNF7.js → chunk-3PELUSVV.js} +4 -4
  28. package/{chunk-C53ZG23R.js → chunk-4XYBLM4D.js} +4 -4
  29. package/{chunk-ZOVKKMF6.js → chunk-74D5HEDI.js} +1 -1
  30. package/{chunk-UQNS32WZ.js → chunk-7MTCBOOS.js} +1 -1
  31. package/chunk-A4SQRTZ6.js +15 -0
  32. package/chunk-AGIM7IMJ.js +147 -0
  33. package/{chunk-7WCQEMPB.js → chunk-ANRWQGOV.js} +27 -27
  34. package/{chunk-5UTFL4QJ.js → chunk-AOTBKDRK.js} +7 -0
  35. package/{chunk-4HXY5QQG.js → chunk-APVTZ66V.js} +1 -1
  36. package/{chunk-OTEMQQZI.js → chunk-BFWQ65IZ.js} +1 -1
  37. package/{chunk-QMX4FNL4.js → chunk-BS7YHAQP.js} +84 -84
  38. package/{chunk-6D2JFXLY.js → chunk-BZ7NPA6G.js} +0 -2
  39. package/{chunk-34TW5T2M.js → chunk-CERE5KFG.js} +1 -1
  40. package/{chunk-TU5NE4U3.js → chunk-CV366NXM.js} +7 -7
  41. package/{chunk-KLMW4NNN.js → chunk-DBOMSOYX.js} +1 -1
  42. package/{chunk-AWF3WO5R.js → chunk-DHA6B3LS.js} +7 -7
  43. package/chunk-DZ7R5V3Y.js +164 -0
  44. package/{chunk-I3QNET24.js → chunk-E3YWHWCR.js} +20 -1
  45. package/{chunk-Z4CSIXYP.js → chunk-ELIMCKNX.js} +5 -5
  46. package/{chunk-CTUQJVQM.js → chunk-EMQZSES6.js} +1 -1
  47. package/{chunk-RSEEDUMS.js → chunk-EPCAQM3U.js} +2 -2
  48. package/{chunk-QOKAKDPE.js → chunk-HIM3FCLF.js} +0 -1
  49. package/{chunk-DCLMZ5TX.js → chunk-HP57OUJO.js} +5 -5
  50. package/{chunk-WILHZY7K.js → chunk-JNXHAQPJ.js} +4 -4
  51. package/{chunk-AZRHIN5B.js → chunk-K6U4NKFJ.js} +1 -1
  52. package/{chunk-3R7EAVTC.js → chunk-KFJ7ZWBF.js} +38 -38
  53. package/{chunk-PQ3B6KI6.js → chunk-LYKHXIQC.js} +92 -92
  54. package/{chunk-HYZIYH2H.js → chunk-NVRC52JS.js} +22 -20
  55. package/chunk-NWENLDMM.js +42 -0
  56. package/{chunk-YXXI6MJ2.js → chunk-OCZQEXMX.js} +56 -60
  57. package/{chunk-P6GMCCAT.js → chunk-OW4APERY.js} +1 -1
  58. package/{chunk-RJK4MLDC.js → chunk-OXEHLZNH.js} +18 -20
  59. package/{chunk-DSSTTEKI.js → chunk-PQ6BKMXB.js} +2 -2
  60. package/{chunk-VN45QM57.js → chunk-QNTL2KFU.js} +76 -76
  61. package/{chunk-QJC7X767.js → chunk-RJYTVNWD.js} +1 -1
  62. package/{chunk-CPUFH46E.js → chunk-ROFPWC4X.js} +12 -12
  63. package/{chunk-IAESIMK7.js → chunk-RX4HD4H7.js} +8 -8
  64. package/{chunk-7AEF6ZXP.js → chunk-SBFHKTI7.js} +7 -7
  65. package/{chunk-VVXRRZXE.js → chunk-SESH42J6.js} +3 -3
  66. package/{chunk-DDBBIUXZ.js → chunk-SH7KLR4U.js} +20 -20
  67. package/{chunk-DAWDCRIG.js → chunk-TAWF7YAW.js} +1 -1
  68. package/{chunk-ZYWQNCBN.js → chunk-TVCAR26G.js} +1 -1
  69. package/{chunk-APMUYAPK.js → chunk-U3C3IA32.js} +1 -1
  70. package/chunk-UJXNKP5V.js +760 -0
  71. package/{chunk-O2OWEFII.js → chunk-VCAQFMVN.js} +1 -1
  72. package/{chunk-KCDUTE5V.js → chunk-VEYL5MO5.js} +4 -4
  73. package/{chunk-WIWM4FE3.js → chunk-VY6VFGKR.js} +7 -746
  74. package/{chunk-XAYSAKSS.js → chunk-VZZUQTBR.js} +2 -2
  75. package/{chunk-CU3QB4HW.js → chunk-W72ISAKC.js} +3 -3
  76. package/{chunk-QKUMVP3O.js → chunk-WCGC6S77.js} +4 -4
  77. package/{chunk-SEZZCP3H.js → chunk-WGPKQLZO.js} +27 -27
  78. package/{chunk-QDSINZM3.js → chunk-WJ3B6FX6.js} +1 -14
  79. package/{chunk-6ZWMH6TJ.js → chunk-WS2VEVHS.js} +4 -5
  80. package/{chunk-7CHC4W22.js → chunk-XBIYSBSG.js} +5 -5
  81. package/{chunk-NR4IWY23.js → chunk-YWLAWZYQ.js} +40 -260
  82. package/{chunk-R5VLGKMK.js → chunk-Z7A2EDGT.js} +15 -15
  83. package/{chunk-VFWN2MLE.js → chunk-ZGNDLCYH.js} +170 -153
  84. package/{commandRegistry-PUSRUY6V.js → commandRegistry-N47CRDOH.js} +70 -70
  85. package/{contentThunks-JFPH7ZGN.js → contentThunks-RRD2XMWB.js} +32 -32
  86. package/{createAgentAutomationAction-AYUD3TVG.js → createAgentAutomationAction-OW4WEVHP.js} +35 -35
  87. package/{createDialogAction-5EJGAQL5.js → createDialogAction-L3WMTD5Z.js} +36 -35
  88. package/{createPageAction-OJVJJSAD.js → createPageAction-PWG3K3K7.js} +43 -42
  89. package/{dbSlice-DQ32LYTJ.js → dbSlice-BUB77DHH.js} +12 -11
  90. package/{deleteFile-NX6QHCWZ.js → deleteFile-HG4BF3CS.js} +8 -7
  91. package/{dialogCommands-TQ2EYOO3.js → dialogCommands-CNXJGME5.js} +38 -38
  92. package/{dialogSlice-L5SA2HCW.js → dialogSlice-M7ZWTW5D.js} +31 -31
  93. package/{docCreateCommands-YGTVED6F.js → docCreateCommands-U2TEDZHS.js} +34 -33
  94. package/{docDeleteCommands-Y2K6UBU5.js → docDeleteCommands-K4ME6F6S.js} +35 -34
  95. package/{docReadCommands-JSJTTCVY.js → docReadCommands-ZUAVR3HH.js} +34 -33
  96. package/{docStore-DAAP4WFC.js → docStore-IX7ASJUP.js} +13 -12
  97. package/{docUpdateCommands-X2ZC37D3.js → docUpdateCommands-UKEOVRTF.js} +34 -33
  98. package/{fetchMessages-67MEFPZR.js → fetchMessages-N2BW2L62.js} +4 -4
  99. package/getPricing-NMMFT3YI.js +1 -1
  100. package/{handleSendMessageAction-NCZABULQ.js → handleSendMessageAction-KMPC6UD4.js} +36 -36
  101. package/index.js +3 -3
  102. package/{localDialogRead-EBRS242U.js → localDialogRead-3FHUPYAR.js} +1 -1
  103. package/{localRuntimeDb-3LRMNLCM.js → localRuntimeDb-AXJREE2T.js} +1 -1
  104. package/{machineCommands-GRIO3LQG.js → machineCommands-U4RRZGU6.js} +79 -77
  105. package/{machineWsRunDispatch-65IU4CLA.js → machineWsRunDispatch-V3IOP2P2.js} +71 -69
  106. package/{memberThunks-5ZXPR63F.js → memberThunks-LEUNURN2.js} +21 -19
  107. package/package.json +1 -1
  108. package/{providerPresetApply-76AVU3HD.js → providerPresetApply-76AHT34P.js} +4 -4
  109. package/{providerRegistry-Z62NC45X.js → providerRegistry-6HAQAQXB.js} +4 -4
  110. package/{read-EPTJRAEF.js → read-TBK4DFHP.js} +8 -7
  111. package/{readDocTool-W4NDXNEX.js → readDocTool-TJFCZ3ND.js} +1 -1
  112. package/{readlineWorkspace-6F27WVAV.js → readlineWorkspace-QTCU2BC4.js} +327 -110
  113. package/{removeDialogAgentAction-BVAWQKXE.js → removeDialogAgentAction-CT5HGRZH.js} +20 -22
  114. package/{runAgentClientLoop-CKC7RYAK.js → runAgentClientLoop-4VOARXQF.js} +65 -63
  115. package/{runtimeDoctorCommands-3USD722U.js → runtimeDoctorCommands-EQJA4MGD.js} +2 -2
  116. package/{setDialogExtraReferencesAction-LYY45IAD.js → setDialogExtraReferencesAction-JOENKFTX.js} +14 -13
  117. package/{setPrimaryDialogAgentAction-73IL7DLU.js → setPrimaryDialogAgentAction-MHWOGXP3.js} +20 -22
  118. package/{chunk-SONWNI3L.js → settingThunks-KLPZNA6L.js} +104 -921
  119. package/{slateUtils-RIZES3PV.js → slateUtils-NGV2NMKM.js} +1 -1
  120. package/{spaceCommands-JZO2QK77.js → spaceCommands-ZESRWSTC.js} +36 -35
  121. package/{streamAgentChatTurn-4PBF5RK5.js → streamAgentChatTurn-VDAVK7N3.js} +110 -108
  122. package/{switchDialogAgentAction-UUXDSQ6X.js → switchDialogAgentAction-JHA4JEYA.js} +14 -13
  123. package/{tableCommands-G7RV3RU3.js → tableCommands-6U4BMLRR.js} +7 -7
  124. package/{toolApiClient-INIQCPGY.js → toolApiClient-EJT6TMFG.js} +4 -4
  125. package/{tools-BQ375D2L.js → tools-VJ3L5V6D.js} +53 -51
  126. package/{tuiSummaryLlmCaller-74NRRLVW.js → tuiSummaryLlmCaller-QUCBFGZK.js} +18 -17
  127. package/{updateDialogTitleAction-DTREH6RR.js → updateDialogTitleAction-GBUSLAQR.js} +39 -39
  128. package/action-GI44T4DR.js +0 -31
  129. package/browser-image-compression-MFDTD7K6.js +0 -1763
  130. package/chatQueueReduxAdapter-B3PSJ3GC.js +0 -187
  131. package/chunk-MEYIRKDN.js +0 -8967
  132. package/chunk-Y5GCAMGP.js +0 -9
  133. package/chunk-YPREESF4.js +0 -225
  134. package/settingSlice-Q6EKL7EQ.js +0 -204
  135. package/syncMapping-N6RGXGBW.js +0 -437
  136. package/{chunk-6PHKBY2Q.js → chunk-4YSOUKUR.js} +8 -8
  137. package/{chunk-S5XGT6GB.js → chunk-UA324D4O.js} +3 -3
  138. package/{chunk-MX574M24.js → chunk-V4UYSDTH.js} +3 -3
  139. package/{chunk-ESRMFY7G.js → chunk-XFUBXRVI.js} +5 -5
  140. package/{localRuntimeAuthority-5W6IJRAD.js → localRuntimeAuthority-AENMRPGX.js} +5 -5
@@ -1,187 +0,0 @@
1
- import {
2
- createChatQueueRuntime,
3
- createTurnRequest
4
- } from "./chunk-YPREESF4.js";
5
- import {
6
- handleSendMessage
7
- } from "./chunk-QMX4FNL4.js";
8
- import "./chunk-523DITKR.js";
9
- import "./chunk-YYLHWIW6.js";
10
- import "./chunk-6O4IK4V2.js";
11
- import "./chunk-4J3Q2KJL.js";
12
- import "./chunk-Z4CSIXYP.js";
13
- import "./chunk-5RGU3J7P.js";
14
- import "./chunk-4LCOCOR5.js";
15
- import {
16
- clearPendingUserInputQueue,
17
- dequeueUserInput,
18
- enqueueUserInput,
19
- getLoopStopReason,
20
- getPendingUserInputQueue
21
- } from "./chunk-6D2JFXLY.js";
22
- import "./chunk-YDH3FDFQ.js";
23
- import "./chunk-MX574M24.js";
24
- import "./chunk-AGGIDPCZ.js";
25
- import "./chunk-WILHZY7K.js";
26
- import "./chunk-6ZWMH6TJ.js";
27
- import "./chunk-5MMAK75Q.js";
28
- import "./chunk-PSCNXBYA.js";
29
- import "./chunk-ESRMFY7G.js";
30
- import "./chunk-BYXBJQAS.js";
31
- import "./chunk-DWLEOOGR.js";
32
- import "./chunk-7KVZ5LDQ.js";
33
- import "./chunk-HNMXYYJR.js";
34
- import "./chunk-3BXNTXYI.js";
35
- import "./chunk-W7XHHYWM.js";
36
- import "./chunk-RSEEDUMS.js";
37
- import "./chunk-UAD2WT54.js";
38
- import "./chunk-HNGRBWYF.js";
39
- import "./chunk-CYSYR67N.js";
40
- import "./chunk-Y3PMXGLH.js";
41
- import "./chunk-SONWNI3L.js";
42
- import "./chunk-Y5GCAMGP.js";
43
- import "./chunk-QDSINZM3.js";
44
- import "./chunk-KX6YBIHG.js";
45
- import "./chunk-HYZIYH2H.js";
46
- import "./chunk-7CHC4W22.js";
47
- import "./chunk-3AH7LNUB.js";
48
- import "./chunk-WWC7I6TA.js";
49
- import "./chunk-QSJ3HFEF.js";
50
- import "./chunk-IAESIMK7.js";
51
- import "./chunk-WIWM4FE3.js";
52
- import "./chunk-QOKAKDPE.js";
53
- import "./chunk-SEJ5OS6F.js";
54
- import "./chunk-OW765XBU.js";
55
- import "./chunk-GBRG75BQ.js";
56
- import "./chunk-KUG52IAP.js";
57
- import "./chunk-BNGW5ASC.js";
58
- import "./chunk-M2EJHDJP.js";
59
- import "./chunk-3EUW3WEO.js";
60
- import "./chunk-U6VC4MU4.js";
61
- import "./chunk-LCBAMY2M.js";
62
- import "./chunk-4SN6J65J.js";
63
- import "./chunk-CF7PE763.js";
64
- import "./chunk-G3SUCT4W.js";
65
- import "./chunk-4VNS5WPM.js";
66
-
67
- // packages/chat/queue/chatQueueReduxAdapter.ts
68
- var ChatQueueReduxAdapter = class {
69
- runtimes = /* @__PURE__ */ new Map();
70
- store;
71
- opts;
72
- /** Pending drain promises per dialog, so notifyTurnEnd can be awaited. */
73
- pendingDrains = /* @__PURE__ */ new Map();
74
- constructor(store, opts = {}) {
75
- this.store = store;
76
- this.opts = opts;
77
- }
78
- /**
79
- * Get (or lazily create) the runtime for a dialog. The runtime is seeded from
80
- * dialogRuntimeStore `pendingUserInputQueue` so we don't lose queued items
81
- * written before the adapter existed.
82
- */
83
- getRuntime(dialogKey) {
84
- let rt = this.runtimes.get(dialogKey);
85
- if (rt) return rt;
86
- const legacyQueue = getPendingUserInputQueue(dialogKey);
87
- const seed = {
88
- running: false,
89
- queue: Array.isArray(legacyQueue) ? legacyQueue.map((t) => createTurnRequest(t)) : [],
90
- drainPaused: getLoopStopReason(dialogKey) === "pending",
91
- lastDrainError: null
92
- };
93
- rt = createChatQueueRuntime(seed);
94
- this.runtimes.set(dialogKey, rt);
95
- rt.on("drain-ready", ({ text }) => {
96
- const dispatch = this.store.dispatch;
97
- const runtime = rt;
98
- const promise = (async () => {
99
- try {
100
- if (this.opts.sendDrainedText) {
101
- await this.opts.sendDrainedText({ dialogKey, text, dispatch });
102
- } else {
103
- await dispatch(
104
- handleSendMessage({
105
- dialogKey,
106
- userInput: text
107
- })
108
- );
109
- }
110
- runtime.send({ type: "dequeue" });
111
- dequeueUserInput({ dialogKey });
112
- } catch (error) {
113
- const message = error instanceof Error ? error.message : typeof error === "string" ? error : "drain send failed";
114
- runtime.send({ type: "drain-error", message });
115
- } finally {
116
- this.pendingDrains.delete(dialogKey);
117
- }
118
- })();
119
- this.pendingDrains.set(dialogKey, promise);
120
- });
121
- return rt;
122
- }
123
- /** Drop a dialog's runtime (e.g. when the dialog is closed/deleted). */
124
- disposeRuntime(dialogKey) {
125
- const rt = this.runtimes.get(dialogKey);
126
- if (rt) {
127
- rt.dispose();
128
- this.runtimes.delete(dialogKey);
129
- }
130
- }
131
- /** Call when an agent turn starts streaming for this dialog. */
132
- notifyTurnStart(dialogKey) {
133
- this.getRuntime(dialogKey).send({ type: "turn-start" });
134
- }
135
- /**
136
- * Call when an agent turn ends for this dialog.
137
- * `ok` false without `aborted` keeps the queue (failure stop); `aborted`
138
- * clears the queue (user abandoned follow-ups) both in the core and in the
139
- * dialogRuntimeStore shadow.
140
- *
141
- * Returns a promise that resolves once any drain triggered by this turn-end
142
- * has committed (sent + dequeued) or failed. Callers that need to assert on
143
- * the post-drain state should await it.
144
- */
145
- notifyTurnEnd(dialogKey, outcome) {
146
- const rt = this.getRuntime(dialogKey);
147
- rt.send({ type: "turn-end", ...outcome });
148
- if (outcome.aborted) {
149
- clearPendingUserInputQueue({ dialogKey });
150
- }
151
- const pending = this.pendingDrains.get(dialogKey);
152
- return pending ? pending.then(() => void 0) : Promise.resolve();
153
- }
154
- /**
155
- * Enqueue a user input through the adapter. This writes to both the core
156
- * runtime and the dialogRuntimeStore queue so existing UI hooks keep working
157
- * during the migration.
158
- *
159
- * Order matters: we touch the runtime first (creating it if needed, seeded
160
- * from the *current* store shadow) and then mirror into the store. Doing it
161
- * the other way around would let the seed read back the value we just wrote
162
- * and double-count it.
163
- */
164
- enqueue(dialogKey, text) {
165
- const runtime = this.getRuntime(dialogKey);
166
- runtime.send({ type: "enqueue", text });
167
- enqueueUserInput({ text, dialogKey });
168
- return {
169
- accepted: true,
170
- queueLength: runtime.getState().queue.length
171
- };
172
- }
173
- /** Current queue snapshot (from the core runtime). */
174
- getQueue(dialogKey) {
175
- return this.getRuntime(dialogKey).getState().queue.map((req) => req.text);
176
- }
177
- /** Reflect `loopStopReason === "pending"` into the runtime's pause flag. */
178
- syncDrainPause(dialogKey) {
179
- const paused = getLoopStopReason(dialogKey) === "pending";
180
- const rt = this.getRuntime(dialogKey);
181
- if (paused) rt.send({ type: "pause-drain" });
182
- else rt.send({ type: "resume-drain" });
183
- }
184
- };
185
- export {
186
- ChatQueueReduxAdapter
187
- };