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.
- package/{_executeModel-GWED52PB.js → _executeModel-E64QIKWF.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-URGNKPPJ.js} +79 -77
- package/{agentListCommands-7QQZXKMN.js → agentListCommands-62NGDFOS.js} +50 -49
- package/{agentMachineCommands-DCBE3CPT.js → agentMachineCommands-SDIABR4D.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-ZICUGEEH.js} +73 -71
- package/{agentRunCommand-PAUTLE6D.js → agentRunCommand-66NCRPQ7.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-V2EDVUXC.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-4J3Q2KJL.js → chunk-2LM7XUCX.js} +10 -8
- package/{chunk-EKS2APRJ.js → chunk-2TYM4V33.js} +2 -2
- package/{chunk-O26PCYLS.js → chunk-2WJ57RJA.js} +6 -6
- package/{chunk-XVLDUNF7.js → chunk-3PELUSVV.js} +4 -4
- package/{chunk-C53ZG23R.js → chunk-4XYBLM4D.js} +4 -4
- package/{chunk-ZOVKKMF6.js → chunk-74D5HEDI.js} +1 -1
- package/{chunk-UQNS32WZ.js → chunk-7MTCBOOS.js} +1 -1
- 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-QMX4FNL4.js → chunk-BS7YHAQP.js} +84 -84
- package/{chunk-6D2JFXLY.js → chunk-BZ7NPA6G.js} +0 -2
- package/{chunk-34TW5T2M.js → chunk-CERE5KFG.js} +1 -1
- 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-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-QOKAKDPE.js → chunk-HIM3FCLF.js} +0 -1
- package/{chunk-DCLMZ5TX.js → chunk-HP57OUJO.js} +5 -5
- package/{chunk-WILHZY7K.js → chunk-JNXHAQPJ.js} +4 -4
- package/{chunk-AZRHIN5B.js → chunk-K6U4NKFJ.js} +1 -1
- package/{chunk-3R7EAVTC.js → chunk-KFJ7ZWBF.js} +38 -38
- package/{chunk-PQ3B6KI6.js → chunk-LYKHXIQC.js} +92 -92
- package/{chunk-HYZIYH2H.js → chunk-NVRC52JS.js} +22 -20
- package/chunk-NWENLDMM.js +42 -0
- package/{chunk-YXXI6MJ2.js → chunk-OCZQEXMX.js} +56 -60
- package/{chunk-P6GMCCAT.js → chunk-OW4APERY.js} +1 -1
- package/{chunk-RJK4MLDC.js → chunk-OXEHLZNH.js} +18 -20
- package/{chunk-DSSTTEKI.js → chunk-PQ6BKMXB.js} +2 -2
- package/{chunk-VN45QM57.js → chunk-QNTL2KFU.js} +76 -76
- 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-7AEF6ZXP.js → chunk-SBFHKTI7.js} +7 -7
- package/{chunk-VVXRRZXE.js → chunk-SESH42J6.js} +3 -3
- package/{chunk-DDBBIUXZ.js → chunk-SH7KLR4U.js} +20 -20
- package/{chunk-DAWDCRIG.js → chunk-TAWF7YAW.js} +1 -1
- 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-SEZZCP3H.js → chunk-WGPKQLZO.js} +27 -27
- 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-YWLAWZYQ.js} +40 -260
- package/{chunk-R5VLGKMK.js → chunk-Z7A2EDGT.js} +15 -15
- package/{chunk-VFWN2MLE.js → chunk-ZGNDLCYH.js} +170 -153
- package/{commandRegistry-PUSRUY6V.js → commandRegistry-N47CRDOH.js} +70 -70
- package/{contentThunks-JFPH7ZGN.js → contentThunks-RRD2XMWB.js} +32 -32
- package/{createAgentAutomationAction-AYUD3TVG.js → createAgentAutomationAction-OW4WEVHP.js} +35 -35
- package/{createDialogAction-5EJGAQL5.js → createDialogAction-L3WMTD5Z.js} +36 -35
- package/{createPageAction-OJVJJSAD.js → createPageAction-PWG3K3K7.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-M7ZWTW5D.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-IX7ASJUP.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-KMPC6UD4.js} +36 -36
- 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-U4RRZGU6.js} +79 -77
- package/{machineWsRunDispatch-65IU4CLA.js → machineWsRunDispatch-V3IOP2P2.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-QTCU2BC4.js} +327 -110
- package/{removeDialogAgentAction-BVAWQKXE.js → removeDialogAgentAction-CT5HGRZH.js} +20 -22
- package/{runAgentClientLoop-CKC7RYAK.js → runAgentClientLoop-4VOARXQF.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-VDAVK7N3.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-VJ3L5V6D.js} +53 -51
- package/{tuiSummaryLlmCaller-74NRRLVW.js → tuiSummaryLlmCaller-QUCBFGZK.js} +18 -17
- package/{updateDialogTitleAction-DTREH6RR.js → updateDialogTitleAction-GBUSLAQR.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
package/chunk-Y5GCAMGP.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// packages/core/positiveFiniteNumberOrFallback.ts
|
|
2
|
-
function parsePositiveFiniteNumberOrFallback(value, fallback) {
|
|
3
|
-
const parsed = Number(value);
|
|
4
|
-
return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
parsePositiveFiniteNumberOrFallback
|
|
9
|
-
};
|
package/chunk-YPREESF4.js
DELETED
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
// packages/core/chat/internalTurnEvent.ts
|
|
2
|
-
function normalizeRunCompletionShape(record) {
|
|
3
|
-
const runId = String(record.runId ?? record.id ?? "");
|
|
4
|
-
const agentKey = String(record.agentKey ?? record.agent ?? "");
|
|
5
|
-
const status = String(record.status ?? "done");
|
|
6
|
-
const counters = record.activity?.counters;
|
|
7
|
-
return {
|
|
8
|
-
runId,
|
|
9
|
-
agentKey,
|
|
10
|
-
...typeof record.agentName === "string" ? { agentName: record.agentName } : {},
|
|
11
|
-
status,
|
|
12
|
-
...typeof record.exitCode === "number" ? { exitCode: record.exitCode } : {},
|
|
13
|
-
...typeof record.parentDialogId === "string" ? { parentDialogId: record.parentDialogId } : {},
|
|
14
|
-
...typeof record.dialogId === "string" ? { dialogId: record.dialogId } : {},
|
|
15
|
-
...typeof record.ephemeral === "boolean" ? { ephemeral: record.ephemeral } : {},
|
|
16
|
-
...record.startedAt !== void 0 ? { startedAt: record.startedAt } : {},
|
|
17
|
-
...record.endedAt !== void 0 ? { endedAt: record.endedAt } : {},
|
|
18
|
-
...typeof record.note === "string" ? { note: record.note } : {},
|
|
19
|
-
...typeof record.error === "string" ? { error: record.error } : {},
|
|
20
|
-
...typeof record.ack === "boolean" ? { ack: record.ack } : {},
|
|
21
|
-
...counters ? {
|
|
22
|
-
activity: {
|
|
23
|
-
counters: {
|
|
24
|
-
toolCalls: typeof counters.toolCalls === "number" ? counters.toolCalls : 0,
|
|
25
|
-
llmCalls: typeof counters.llmCalls === "number" ? counters.llmCalls : 0,
|
|
26
|
-
fileEdits: typeof counters.fileEdits === "number" ? counters.fileEdits : 0
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
} : {}
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function createTurnRequest(input) {
|
|
33
|
-
if (typeof input === "string") {
|
|
34
|
-
return {
|
|
35
|
-
event: { kind: "user", text: input },
|
|
36
|
-
text: input
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
if ("event" in input && typeof input.event === "object" && typeof input.text === "string") {
|
|
40
|
-
return input;
|
|
41
|
-
}
|
|
42
|
-
const event = input;
|
|
43
|
-
return {
|
|
44
|
-
event,
|
|
45
|
-
text: event.text
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// packages/core/chat/chatQueueMachine.ts
|
|
50
|
-
var initialChatQueueState = {
|
|
51
|
-
running: false,
|
|
52
|
-
queue: [],
|
|
53
|
-
drainPaused: false,
|
|
54
|
-
lastDrainError: null
|
|
55
|
-
};
|
|
56
|
-
function reduceChatQueue(state, event) {
|
|
57
|
-
switch (event.type) {
|
|
58
|
-
case "turn-start":
|
|
59
|
-
if (state.running && state.lastDrainError === null) return state;
|
|
60
|
-
return {
|
|
61
|
-
...state,
|
|
62
|
-
running: true,
|
|
63
|
-
lastDrainError: null
|
|
64
|
-
};
|
|
65
|
-
case "turn-end":
|
|
66
|
-
return {
|
|
67
|
-
...state,
|
|
68
|
-
running: false,
|
|
69
|
-
queue: event.aborted ? [] : state.queue,
|
|
70
|
-
lastDrainError: !event.ok && !event.aborted ? "previous turn failed" : state.lastDrainError
|
|
71
|
-
};
|
|
72
|
-
case "enqueue": {
|
|
73
|
-
const req = createTurnRequest(event.text);
|
|
74
|
-
if (!req.text.trim() && req.event.kind === "user") {
|
|
75
|
-
return state;
|
|
76
|
-
}
|
|
77
|
-
return {
|
|
78
|
-
...state,
|
|
79
|
-
queue: [...state.queue, req]
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
case "steer": {
|
|
83
|
-
const req = createTurnRequest(event.text);
|
|
84
|
-
if (!req.text.trim() && req.event.kind === "user") {
|
|
85
|
-
return state;
|
|
86
|
-
}
|
|
87
|
-
return {
|
|
88
|
-
...state,
|
|
89
|
-
queue: [req, ...state.queue]
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
case "dequeue":
|
|
93
|
-
if (state.queue.length === 0) return state;
|
|
94
|
-
return {
|
|
95
|
-
...state,
|
|
96
|
-
queue: state.queue.slice(1)
|
|
97
|
-
};
|
|
98
|
-
case "recall-last":
|
|
99
|
-
if (state.queue.length === 0) return state;
|
|
100
|
-
return {
|
|
101
|
-
...state,
|
|
102
|
-
queue: state.queue.slice(0, -1)
|
|
103
|
-
};
|
|
104
|
-
case "clear":
|
|
105
|
-
if (state.queue.length === 0 && state.lastDrainError === null) return state;
|
|
106
|
-
return {
|
|
107
|
-
...state,
|
|
108
|
-
queue: [],
|
|
109
|
-
lastDrainError: null
|
|
110
|
-
};
|
|
111
|
-
case "pause-drain":
|
|
112
|
-
if (state.drainPaused) return state;
|
|
113
|
-
return {
|
|
114
|
-
...state,
|
|
115
|
-
drainPaused: true
|
|
116
|
-
};
|
|
117
|
-
case "resume-drain":
|
|
118
|
-
if (!state.drainPaused) return state;
|
|
119
|
-
return {
|
|
120
|
-
...state,
|
|
121
|
-
drainPaused: false
|
|
122
|
-
};
|
|
123
|
-
case "drain-error":
|
|
124
|
-
return {
|
|
125
|
-
...state,
|
|
126
|
-
lastDrainError: event.message || null
|
|
127
|
-
};
|
|
128
|
-
default:
|
|
129
|
-
return state;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
function shouldDrainAfterTurnEnd(state, cleanTurnEnd) {
|
|
133
|
-
return cleanTurnEnd && !state.running && !state.drainPaused && state.queue.length > 0;
|
|
134
|
-
}
|
|
135
|
-
function applyChatQueueEvent(state, event) {
|
|
136
|
-
const prevQueue = state.queue;
|
|
137
|
-
const prevQueueLen = prevQueue.length;
|
|
138
|
-
const prevRunning = state.running;
|
|
139
|
-
const prevPaused = state.drainPaused;
|
|
140
|
-
const next = reduceChatQueue(state, event);
|
|
141
|
-
const outgoing = [];
|
|
142
|
-
if (next.queue.length !== prevQueueLen) {
|
|
143
|
-
outgoing.push({ type: "queue-changed", length: next.queue.length });
|
|
144
|
-
}
|
|
145
|
-
if (next.running !== prevRunning) {
|
|
146
|
-
outgoing.push({ type: "running-changed", running: next.running });
|
|
147
|
-
}
|
|
148
|
-
if (next.drainPaused !== prevPaused) {
|
|
149
|
-
outgoing.push({ type: "drain-paused-changed", paused: next.drainPaused });
|
|
150
|
-
}
|
|
151
|
-
if (event.type === "recall-last" && prevQueueLen > 0) {
|
|
152
|
-
const last = prevQueue[prevQueueLen - 1];
|
|
153
|
-
outgoing.push({ type: "recalled-to-draft", text: last.text, request: last });
|
|
154
|
-
}
|
|
155
|
-
if (event.type === "steer" && next.running && next.queue.length > prevQueueLen) {
|
|
156
|
-
const head = next.queue[0];
|
|
157
|
-
if (head) {
|
|
158
|
-
outgoing.push({ type: "steer-ready", text: head.text, request: head });
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
if (event.type === "turn-end") {
|
|
162
|
-
if (event.aborted && prevQueueLen > 0) {
|
|
163
|
-
const first = prevQueue[0];
|
|
164
|
-
outgoing.push({
|
|
165
|
-
type: "aborted-draft-refill",
|
|
166
|
-
text: first.text,
|
|
167
|
-
request: first,
|
|
168
|
-
abortedRequests: [...prevQueue]
|
|
169
|
-
});
|
|
170
|
-
} else if (!event.aborted && event.ok) {
|
|
171
|
-
if (shouldDrainAfterTurnEnd(next, true)) {
|
|
172
|
-
const head = next.queue[0];
|
|
173
|
-
outgoing.push({ type: "drain-ready", text: head.text, request: head });
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
return { state: next, outgoing };
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
// packages/core/chat/chatQueueRuntime.ts
|
|
181
|
-
function createChatQueueRuntime(initialState = initialChatQueueState) {
|
|
182
|
-
let state = initialState;
|
|
183
|
-
const listeners = /* @__PURE__ */ new Set();
|
|
184
|
-
const dispatch = (events) => {
|
|
185
|
-
for (const e of events) {
|
|
186
|
-
for (const l of listeners) l(e);
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
return {
|
|
190
|
-
getState: () => state,
|
|
191
|
-
send(event) {
|
|
192
|
-
const result = applyChatQueueEvent(state, event);
|
|
193
|
-
state = result.state;
|
|
194
|
-
dispatch(result.outgoing);
|
|
195
|
-
return state;
|
|
196
|
-
},
|
|
197
|
-
subscribe(listener) {
|
|
198
|
-
listeners.add(listener);
|
|
199
|
-
return () => {
|
|
200
|
-
listeners.delete(listener);
|
|
201
|
-
};
|
|
202
|
-
},
|
|
203
|
-
on(type, listener) {
|
|
204
|
-
const wrapped = (e) => {
|
|
205
|
-
if (e.type === type) {
|
|
206
|
-
listener(e);
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
listeners.add(wrapped);
|
|
210
|
-
return () => {
|
|
211
|
-
listeners.delete(wrapped);
|
|
212
|
-
};
|
|
213
|
-
},
|
|
214
|
-
dispose() {
|
|
215
|
-
listeners.clear();
|
|
216
|
-
state = initialChatQueueState;
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export {
|
|
222
|
-
normalizeRunCompletionShape,
|
|
223
|
-
createTurnRequest,
|
|
224
|
-
createChatQueueRuntime
|
|
225
|
-
};
|
package/settingSlice-Q6EKL7EQ.js
DELETED
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LOCAL_FIRST_APPEARANCE_KEYS,
|
|
3
|
-
LOCAL_ONLY_SETTINGS_KEYS,
|
|
4
|
-
SYSTEM_DEFAULT_AGENT_ID,
|
|
5
|
-
addHostToCurrentServer,
|
|
6
|
-
buildSettingsPersistencePlan,
|
|
7
|
-
changeDarkMode,
|
|
8
|
-
changeDensity,
|
|
9
|
-
changeFontPreset,
|
|
10
|
-
changeTheme,
|
|
11
|
-
getCachedDefaultAgentRegisterRecord,
|
|
12
|
-
getSettings,
|
|
13
|
-
hydrateStoredSettings,
|
|
14
|
-
isLocalFirstAppearanceChange,
|
|
15
|
-
normalizeSettingChanges,
|
|
16
|
-
persistDefaultAgentRegister,
|
|
17
|
-
sanitizeStoredSettingsRecord,
|
|
18
|
-
selectAiRecentContentLimit,
|
|
19
|
-
selectAutoApproveSelfUpdateFields,
|
|
20
|
-
selectCopyDiagnosticsEnabled,
|
|
21
|
-
selectCreateMenuOpenCount,
|
|
22
|
-
selectCurrentServer,
|
|
23
|
-
selectDefaultAgentId,
|
|
24
|
-
selectDefaultAgentPreference,
|
|
25
|
-
selectDeleteShortcut,
|
|
26
|
-
selectDensity,
|
|
27
|
-
selectDesktopChromeConnectorEnabled,
|
|
28
|
-
selectDeveloperModeEnabled,
|
|
29
|
-
selectDiagnosticModeEnabled,
|
|
30
|
-
selectEditorAutoSave,
|
|
31
|
-
selectEditorAutoSaveInterval,
|
|
32
|
-
selectEditorCodeTheme,
|
|
33
|
-
selectEditorConfig,
|
|
34
|
-
selectEditorDarkCodeTheme,
|
|
35
|
-
selectEditorDefaultMode,
|
|
36
|
-
selectEditorFontSize,
|
|
37
|
-
selectEditorLightCodeTheme,
|
|
38
|
-
selectEditorShortcuts,
|
|
39
|
-
selectEditorWordCountEnabled,
|
|
40
|
-
selectEnableReadCurrentSpace,
|
|
41
|
-
selectFontPreset,
|
|
42
|
-
selectGlobalPrompt,
|
|
43
|
-
selectHeaderHeight,
|
|
44
|
-
selectIsDark,
|
|
45
|
-
selectKnowledgeCaptureLevel,
|
|
46
|
-
selectMaxCost,
|
|
47
|
-
selectMaxExecutionTime,
|
|
48
|
-
selectOcrModel,
|
|
49
|
-
selectPreferredAnimationSet,
|
|
50
|
-
selectRemoteServer,
|
|
51
|
-
selectRemoteServers,
|
|
52
|
-
selectRemoteSyncServers,
|
|
53
|
-
selectSettings,
|
|
54
|
-
selectShowScrollToBottomButton,
|
|
55
|
-
selectShowScrollToTopButton,
|
|
56
|
-
selectShowThinking,
|
|
57
|
-
selectSidebarWidth,
|
|
58
|
-
selectSpaceContextLevel,
|
|
59
|
-
selectSyncServers,
|
|
60
|
-
selectSystemBuiltinSkills,
|
|
61
|
-
selectTheme,
|
|
62
|
-
selectThemeFollowsSystem,
|
|
63
|
-
selectThemeMode,
|
|
64
|
-
selectThemeName,
|
|
65
|
-
selectUserTonePreset,
|
|
66
|
-
setAiRecentContentLimit,
|
|
67
|
-
setDefaultAgentId,
|
|
68
|
-
setEditorAutoSaveInterval,
|
|
69
|
-
setEditorCodeTheme,
|
|
70
|
-
setEditorDarkCodeTheme,
|
|
71
|
-
setEditorDefaultMode,
|
|
72
|
-
setEditorFontSize,
|
|
73
|
-
setEditorLightCodeTheme,
|
|
74
|
-
setGlobalPrompt,
|
|
75
|
-
setKnowledgeCaptureLevel,
|
|
76
|
-
setMaxExecutionTime,
|
|
77
|
-
setSettings,
|
|
78
|
-
setSidebarWidth,
|
|
79
|
-
setSpaceContextLevel,
|
|
80
|
-
setThemeFollowsSystem,
|
|
81
|
-
setThemeMode,
|
|
82
|
-
setUserTonePreset,
|
|
83
|
-
settingSlice_default,
|
|
84
|
-
stripRegisterBackedFieldsFromSettingsWrite,
|
|
85
|
-
toggleEditorAutoSave,
|
|
86
|
-
toggleEditorShortcut,
|
|
87
|
-
toggleEditorWordCount,
|
|
88
|
-
toggleEnableReadCurrentSpace,
|
|
89
|
-
toggleShowThinking
|
|
90
|
-
} from "./chunk-SONWNI3L.js";
|
|
91
|
-
import "./chunk-Y5GCAMGP.js";
|
|
92
|
-
import "./chunk-QDSINZM3.js";
|
|
93
|
-
import "./chunk-KX6YBIHG.js";
|
|
94
|
-
import "./chunk-HYZIYH2H.js";
|
|
95
|
-
import "./chunk-7CHC4W22.js";
|
|
96
|
-
import "./chunk-3AH7LNUB.js";
|
|
97
|
-
import "./chunk-WWC7I6TA.js";
|
|
98
|
-
import "./chunk-QSJ3HFEF.js";
|
|
99
|
-
import "./chunk-IAESIMK7.js";
|
|
100
|
-
import "./chunk-WIWM4FE3.js";
|
|
101
|
-
import "./chunk-QOKAKDPE.js";
|
|
102
|
-
import "./chunk-SEJ5OS6F.js";
|
|
103
|
-
import "./chunk-OW765XBU.js";
|
|
104
|
-
import "./chunk-GBRG75BQ.js";
|
|
105
|
-
import "./chunk-KUG52IAP.js";
|
|
106
|
-
import "./chunk-BNGW5ASC.js";
|
|
107
|
-
import "./chunk-M2EJHDJP.js";
|
|
108
|
-
import "./chunk-3EUW3WEO.js";
|
|
109
|
-
import "./chunk-U6VC4MU4.js";
|
|
110
|
-
import "./chunk-LCBAMY2M.js";
|
|
111
|
-
import "./chunk-4SN6J65J.js";
|
|
112
|
-
import "./chunk-CF7PE763.js";
|
|
113
|
-
import "./chunk-G3SUCT4W.js";
|
|
114
|
-
import "./chunk-4VNS5WPM.js";
|
|
115
|
-
export {
|
|
116
|
-
LOCAL_FIRST_APPEARANCE_KEYS,
|
|
117
|
-
LOCAL_ONLY_SETTINGS_KEYS,
|
|
118
|
-
SYSTEM_DEFAULT_AGENT_ID,
|
|
119
|
-
addHostToCurrentServer,
|
|
120
|
-
buildSettingsPersistencePlan,
|
|
121
|
-
changeDarkMode,
|
|
122
|
-
changeDensity,
|
|
123
|
-
changeFontPreset,
|
|
124
|
-
changeTheme,
|
|
125
|
-
settingSlice_default as default,
|
|
126
|
-
getCachedDefaultAgentRegisterRecord,
|
|
127
|
-
getSettings,
|
|
128
|
-
hydrateStoredSettings,
|
|
129
|
-
isLocalFirstAppearanceChange,
|
|
130
|
-
normalizeSettingChanges,
|
|
131
|
-
persistDefaultAgentRegister,
|
|
132
|
-
sanitizeStoredSettingsRecord,
|
|
133
|
-
selectAiRecentContentLimit,
|
|
134
|
-
selectAutoApproveSelfUpdateFields,
|
|
135
|
-
selectCopyDiagnosticsEnabled,
|
|
136
|
-
selectCreateMenuOpenCount,
|
|
137
|
-
selectCurrentServer,
|
|
138
|
-
selectDefaultAgentId,
|
|
139
|
-
selectDefaultAgentPreference,
|
|
140
|
-
selectDeleteShortcut,
|
|
141
|
-
selectDensity,
|
|
142
|
-
selectDesktopChromeConnectorEnabled,
|
|
143
|
-
selectDeveloperModeEnabled,
|
|
144
|
-
selectDiagnosticModeEnabled,
|
|
145
|
-
selectEditorAutoSave,
|
|
146
|
-
selectEditorAutoSaveInterval,
|
|
147
|
-
selectEditorCodeTheme,
|
|
148
|
-
selectEditorConfig,
|
|
149
|
-
selectEditorDarkCodeTheme,
|
|
150
|
-
selectEditorDefaultMode,
|
|
151
|
-
selectEditorFontSize,
|
|
152
|
-
selectEditorLightCodeTheme,
|
|
153
|
-
selectEditorShortcuts,
|
|
154
|
-
selectEditorWordCountEnabled,
|
|
155
|
-
selectEnableReadCurrentSpace,
|
|
156
|
-
selectFontPreset,
|
|
157
|
-
selectGlobalPrompt,
|
|
158
|
-
selectHeaderHeight,
|
|
159
|
-
selectIsDark,
|
|
160
|
-
selectKnowledgeCaptureLevel,
|
|
161
|
-
selectMaxCost,
|
|
162
|
-
selectMaxExecutionTime,
|
|
163
|
-
selectOcrModel,
|
|
164
|
-
selectPreferredAnimationSet,
|
|
165
|
-
selectRemoteServer,
|
|
166
|
-
selectRemoteServers,
|
|
167
|
-
selectRemoteSyncServers,
|
|
168
|
-
selectSettings,
|
|
169
|
-
selectShowScrollToBottomButton,
|
|
170
|
-
selectShowScrollToTopButton,
|
|
171
|
-
selectShowThinking,
|
|
172
|
-
selectSidebarWidth,
|
|
173
|
-
selectSpaceContextLevel,
|
|
174
|
-
selectSyncServers,
|
|
175
|
-
selectSystemBuiltinSkills,
|
|
176
|
-
selectTheme,
|
|
177
|
-
selectThemeFollowsSystem,
|
|
178
|
-
selectThemeMode,
|
|
179
|
-
selectThemeName,
|
|
180
|
-
selectUserTonePreset,
|
|
181
|
-
setAiRecentContentLimit,
|
|
182
|
-
setDefaultAgentId,
|
|
183
|
-
setEditorAutoSaveInterval,
|
|
184
|
-
setEditorCodeTheme,
|
|
185
|
-
setEditorDarkCodeTheme,
|
|
186
|
-
setEditorDefaultMode,
|
|
187
|
-
setEditorFontSize,
|
|
188
|
-
setEditorLightCodeTheme,
|
|
189
|
-
setGlobalPrompt,
|
|
190
|
-
setKnowledgeCaptureLevel,
|
|
191
|
-
setMaxExecutionTime,
|
|
192
|
-
setSettings,
|
|
193
|
-
setSidebarWidth,
|
|
194
|
-
setSpaceContextLevel,
|
|
195
|
-
setThemeFollowsSystem,
|
|
196
|
-
setThemeMode,
|
|
197
|
-
setUserTonePreset,
|
|
198
|
-
stripRegisterBackedFieldsFromSettingsWrite,
|
|
199
|
-
toggleEditorAutoSave,
|
|
200
|
-
toggleEditorShortcut,
|
|
201
|
-
toggleEditorWordCount,
|
|
202
|
-
toggleEnableReadCurrentSpace,
|
|
203
|
-
toggleShowThinking
|
|
204
|
-
};
|