nolo-cli 0.97.5 → 0.97.7
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.
- package/{_executeModel-GWED52PB.js → _executeModel-RMLQFUCS.js} +69 -67
- package/action-PNPQLJHG.js +20 -0
- package/{addContentAction-B2DRF7P6.js → addContentAction-DX6T34JR.js} +13 -12
- package/{addDialogAgentAction-T3I7IXPK.js → addDialogAgentAction-6SGG37BF.js} +17 -16
- package/{agentDeleteCommand-FH462XO5.js → agentDeleteCommand-76VXVM3N.js} +40 -39
- package/{agentEmailCommands-6UNG6QKI.js → agentEmailCommands-FQKGKT55.js} +79 -77
- package/{agentListCommands-7QQZXKMN.js → agentListCommands-62NGDFOS.js} +50 -49
- package/{agentMachineCommands-DCBE3CPT.js → agentMachineCommands-ROITVU5E.js} +38 -37
- package/{agentProviderCommands-EMZCM6VA.js → agentProviderCommands-SG535ZMY.js} +1 -1
- package/{agentPullCommand-HF4A42D4.js → agentPullCommand-5DOL6RGF.js} +1 -1
- package/{agentRecordCommands-TNOVFCQ3.js → agentRecordCommands-ILR67636.js} +73 -71
- package/{agentRunCommand-PAUTLE6D.js → agentRunCommand-6HJG3XVZ.js} +76 -74
- package/{agentRunControl-2TTTUTSW.js → agentRunControl-3HWA2LLQ.js} +2 -2
- package/{agentRuntimeLocal-AY6YNUAL.js → agentRuntimeLocal-EZPUCRMS.js} +35 -34
- package/{agentSlice-FRLSN5HD.js → agentSlice-NBGKMMMR.js} +15 -14
- package/{appDeleteCommands-DFA4W66A.js → appDeleteCommands-7WLUFWPE.js} +35 -34
- package/{appDeployCommands-RDTG2IGP.js → appDeployCommands-NK22AMAW.js} +35 -34
- package/{appDeployStatusCommands-43XL5KEM.js → appDeployStatusCommands-PIWSMQET.js} +35 -34
- package/{appGetCommands-AKEAHGIG.js → appGetCommands-J3H6IHUT.js} +35 -34
- package/{appListCommands-F2H37K7K.js → appListCommands-CF4NYHRY.js} +35 -34
- package/{authCommand-2YPMMIJN.js → authCommand-T6UO5KPG.js} +20 -20
- package/{authCommands-FFDS4FVX.js → authCommands-KTIUCVVG.js} +4 -4
- package/{builtinSkillRegistry-CALVIJTX.js → builtinSkillRegistry-MAR5LPAC.js} +7 -6
- package/{chunk-EKS2APRJ.js → chunk-2TYM4V33.js} +2 -2
- package/{chunk-O26PCYLS.js → chunk-2WJ57RJA.js} +6 -6
- package/{chunk-C53ZG23R.js → chunk-4XYBLM4D.js} +4 -4
- package/{chunk-ZOVKKMF6.js → chunk-74D5HEDI.js} +1 -1
- package/{chunk-R5VLGKMK.js → chunk-7FL7ZUZV.js} +15 -15
- package/{chunk-XVLDUNF7.js → chunk-7H327KC7.js} +4 -4
- package/{chunk-UQNS32WZ.js → chunk-7MTCBOOS.js} +1 -1
- package/{chunk-PQ3B6KI6.js → chunk-A2Q6RMPJ.js} +92 -92
- package/chunk-A4SQRTZ6.js +15 -0
- package/chunk-AGIM7IMJ.js +147 -0
- package/{chunk-7WCQEMPB.js → chunk-ANRWQGOV.js} +27 -27
- package/{chunk-5UTFL4QJ.js → chunk-AOTBKDRK.js} +7 -0
- package/{chunk-4HXY5QQG.js → chunk-APVTZ66V.js} +1 -1
- package/{chunk-OTEMQQZI.js → chunk-BFWQ65IZ.js} +1 -1
- package/{chunk-4J3Q2KJL.js → chunk-BI2L6M54.js} +10 -8
- package/{chunk-6D2JFXLY.js → chunk-BZ7NPA6G.js} +0 -2
- package/{chunk-DDBBIUXZ.js → chunk-CLXLSAYP.js} +20 -20
- package/{chunk-TU5NE4U3.js → chunk-CV366NXM.js} +7 -7
- package/{chunk-KLMW4NNN.js → chunk-DBOMSOYX.js} +1 -1
- package/{chunk-AWF3WO5R.js → chunk-DHA6B3LS.js} +7 -7
- package/{chunk-7AEF6ZXP.js → chunk-DPPI7DJM.js} +7 -7
- package/chunk-DZ7R5V3Y.js +164 -0
- package/{chunk-I3QNET24.js → chunk-E3YWHWCR.js} +20 -1
- package/{chunk-Z4CSIXYP.js → chunk-ELIMCKNX.js} +5 -5
- package/{chunk-CTUQJVQM.js → chunk-EMQZSES6.js} +1 -1
- package/{chunk-RSEEDUMS.js → chunk-EPCAQM3U.js} +2 -2
- package/{chunk-3R7EAVTC.js → chunk-FN5VI6YP.js} +38 -38
- package/{chunk-QOKAKDPE.js → chunk-HIM3FCLF.js} +0 -1
- package/{chunk-DCLMZ5TX.js → chunk-HP57OUJO.js} +5 -5
- package/{chunk-SEZZCP3H.js → chunk-INI6OVJN.js} +27 -27
- package/{chunk-WILHZY7K.js → chunk-JNXHAQPJ.js} +4 -4
- package/{chunk-AZRHIN5B.js → chunk-K6U4NKFJ.js} +1 -1
- package/{chunk-34TW5T2M.js → chunk-LHQTN33D.js} +1 -1
- package/{chunk-HYZIYH2H.js → chunk-NVRC52JS.js} +22 -20
- package/chunk-NWENLDMM.js +42 -0
- package/{chunk-YXXI6MJ2.js → chunk-ONPQQSBX.js} +56 -60
- package/{chunk-P6GMCCAT.js → chunk-OW4APERY.js} +1 -1
- package/{chunk-RJK4MLDC.js → chunk-OXEHLZNH.js} +18 -20
- package/{chunk-VN45QM57.js → chunk-OYDJFF7H.js} +76 -76
- package/{chunk-DSSTTEKI.js → chunk-PQ6BKMXB.js} +2 -2
- package/{chunk-QMX4FNL4.js → chunk-QMXFJJAT.js} +84 -84
- package/{chunk-QJC7X767.js → chunk-RJYTVNWD.js} +1 -1
- package/{chunk-CPUFH46E.js → chunk-ROFPWC4X.js} +12 -12
- package/{chunk-IAESIMK7.js → chunk-RX4HD4H7.js} +8 -8
- package/{chunk-VVXRRZXE.js → chunk-SESH42J6.js} +3 -3
- package/{chunk-DAWDCRIG.js → chunk-TAWF7YAW.js} +1 -1
- package/{chunk-VFWN2MLE.js → chunk-TLM3NM4J.js} +170 -153
- package/{chunk-ZYWQNCBN.js → chunk-TVCAR26G.js} +1 -1
- package/{chunk-APMUYAPK.js → chunk-U3C3IA32.js} +1 -1
- package/chunk-UJXNKP5V.js +760 -0
- package/{chunk-O2OWEFII.js → chunk-VCAQFMVN.js} +1 -1
- package/{chunk-KCDUTE5V.js → chunk-VEYL5MO5.js} +4 -4
- package/{chunk-WIWM4FE3.js → chunk-VY6VFGKR.js} +7 -746
- package/{chunk-XAYSAKSS.js → chunk-VZZUQTBR.js} +2 -2
- package/{chunk-CU3QB4HW.js → chunk-W72ISAKC.js} +3 -3
- package/{chunk-QKUMVP3O.js → chunk-WCGC6S77.js} +4 -4
- package/{chunk-QDSINZM3.js → chunk-WJ3B6FX6.js} +1 -14
- package/{chunk-6ZWMH6TJ.js → chunk-WS2VEVHS.js} +4 -5
- package/{chunk-7CHC4W22.js → chunk-XBIYSBSG.js} +5 -5
- package/{chunk-NR4IWY23.js → chunk-ZTPPACAL.js} +40 -260
- package/{commandRegistry-PUSRUY6V.js → commandRegistry-MGVPQ4UY.js} +70 -70
- package/{contentThunks-JFPH7ZGN.js → contentThunks-XEUK52F5.js} +32 -32
- package/{createAgentAutomationAction-AYUD3TVG.js → createAgentAutomationAction-UETPHR7A.js} +35 -35
- package/{createDialogAction-5EJGAQL5.js → createDialogAction-ARPAWCJP.js} +36 -35
- package/{createPageAction-OJVJJSAD.js → createPageAction-OQX7YUWI.js} +43 -42
- package/{dbSlice-DQ32LYTJ.js → dbSlice-BUB77DHH.js} +12 -11
- package/{deleteFile-NX6QHCWZ.js → deleteFile-HG4BF3CS.js} +8 -7
- package/{dialogCommands-TQ2EYOO3.js → dialogCommands-CNXJGME5.js} +38 -38
- package/{dialogSlice-L5SA2HCW.js → dialogSlice-5S2XYAP4.js} +31 -31
- package/{docCreateCommands-YGTVED6F.js → docCreateCommands-U2TEDZHS.js} +34 -33
- package/{docDeleteCommands-Y2K6UBU5.js → docDeleteCommands-K4ME6F6S.js} +35 -34
- package/{docReadCommands-JSJTTCVY.js → docReadCommands-ZUAVR3HH.js} +34 -33
- package/{docStore-DAAP4WFC.js → docStore-4JNBG74K.js} +13 -12
- package/{docUpdateCommands-X2ZC37D3.js → docUpdateCommands-UKEOVRTF.js} +34 -33
- package/{fetchMessages-67MEFPZR.js → fetchMessages-N2BW2L62.js} +4 -4
- package/getPricing-NMMFT3YI.js +1 -1
- package/{handleSendMessageAction-NCZABULQ.js → handleSendMessageAction-57V3SMMC.js} +37 -37
- package/index.js +3 -3
- package/{localDialogRead-EBRS242U.js → localDialogRead-3FHUPYAR.js} +1 -1
- package/{localRuntimeDb-3LRMNLCM.js → localRuntimeDb-AXJREE2T.js} +1 -1
- package/{machineCommands-GRIO3LQG.js → machineCommands-PIBIQ756.js} +79 -77
- package/{machineWsRunDispatch-65IU4CLA.js → machineWsRunDispatch-32U6CJYK.js} +71 -69
- package/{memberThunks-5ZXPR63F.js → memberThunks-LEUNURN2.js} +21 -19
- package/package.json +1 -1
- package/{providerPresetApply-76AVU3HD.js → providerPresetApply-76AHT34P.js} +4 -4
- package/{providerRegistry-Z62NC45X.js → providerRegistry-6HAQAQXB.js} +4 -4
- package/{read-EPTJRAEF.js → read-TBK4DFHP.js} +8 -7
- package/{readDocTool-W4NDXNEX.js → readDocTool-TJFCZ3ND.js} +1 -1
- package/{readlineWorkspace-6F27WVAV.js → readlineWorkspace-NP2MQKHV.js} +327 -110
- package/{removeDialogAgentAction-BVAWQKXE.js → removeDialogAgentAction-CT5HGRZH.js} +20 -22
- package/{runAgentClientLoop-CKC7RYAK.js → runAgentClientLoop-M3NMQENV.js} +65 -63
- package/{runtimeDoctorCommands-3USD722U.js → runtimeDoctorCommands-EQJA4MGD.js} +2 -2
- package/{setDialogExtraReferencesAction-LYY45IAD.js → setDialogExtraReferencesAction-JOENKFTX.js} +14 -13
- package/{setPrimaryDialogAgentAction-73IL7DLU.js → setPrimaryDialogAgentAction-MHWOGXP3.js} +20 -22
- package/{chunk-SONWNI3L.js → settingThunks-KLPZNA6L.js} +104 -921
- package/{slateUtils-RIZES3PV.js → slateUtils-NGV2NMKM.js} +1 -1
- package/{spaceCommands-JZO2QK77.js → spaceCommands-ZESRWSTC.js} +36 -35
- package/{streamAgentChatTurn-4PBF5RK5.js → streamAgentChatTurn-RWFCST5Y.js} +110 -108
- package/{switchDialogAgentAction-UUXDSQ6X.js → switchDialogAgentAction-JHA4JEYA.js} +14 -13
- package/{tableCommands-G7RV3RU3.js → tableCommands-6U4BMLRR.js} +7 -7
- package/{toolApiClient-INIQCPGY.js → toolApiClient-EJT6TMFG.js} +4 -4
- package/{tools-BQ375D2L.js → tools-6AKBF274.js} +53 -51
- package/{tuiSummaryLlmCaller-74NRRLVW.js → tuiSummaryLlmCaller-QUCBFGZK.js} +18 -17
- package/{updateDialogTitleAction-DTREH6RR.js → updateDialogTitleAction-43H4O3QO.js} +39 -39
- package/action-GI44T4DR.js +0 -31
- package/browser-image-compression-MFDTD7K6.js +0 -1763
- package/chatQueueReduxAdapter-B3PSJ3GC.js +0 -187
- package/chunk-MEYIRKDN.js +0 -8967
- package/chunk-Y5GCAMGP.js +0 -9
- package/chunk-YPREESF4.js +0 -225
- package/settingSlice-Q6EKL7EQ.js +0 -204
- package/syncMapping-N6RGXGBW.js +0 -437
- package/{chunk-6PHKBY2Q.js → chunk-4YSOUKUR.js} +8 -8
- package/{chunk-S5XGT6GB.js → chunk-UA324D4O.js} +3 -3
- package/{chunk-MX574M24.js → chunk-V4UYSDTH.js} +3 -3
- package/{chunk-ESRMFY7G.js → chunk-XFUBXRVI.js} +5 -5
- 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
|
-
};
|