nolo-cli 0.249.0-alpha.9 → 0.251.0-alpha.1
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-HWAMKGWB.js → _executeModel-55PHWQWB.js} +30 -30
- package/{addContentAction-MLI6GOBV.js → addContentAction-LBVAQUF7.js} +2 -2
- package/{addDialogAgentAction-ARGQM22H.js → addDialogAgentAction-6WAUSUSZ.js} +1 -1
- package/{agentDeleteCommand-B7XG4QD5.js → agentDeleteCommand-KEO3KDK3.js} +59 -55
- package/{agentEmailCommands-IWRTGO7J.js → agentEmailCommands-RWJQQRNT.js} +59 -55
- package/{agentListCommands-ZJAHAV33.js → agentListCommands-L3TLPLNH.js} +24 -24
- package/{agentMachineCommands-ACOBJR4U.js → agentMachineCommands-EZWWXWDH.js} +20 -20
- package/{agentPullCommand-4EQZYHU4.js → agentPullCommand-6OCNLVGC.js} +1 -1
- package/{agentRecordCommands-NWKL4YUG.js → agentRecordCommands-7W2CGHJJ.js} +58 -54
- package/{agentRunCommand-MRDX6DL6.js → agentRunCommand-POL6B6BO.js} +59 -55
- package/{agentRunControl-QMWTWV7C.js → agentRunControl-FKSXBUAF.js} +1 -1
- package/{agentRuntimeLocal-65F3RVQM.js → agentRuntimeLocal-WSHWNIMF.js} +16 -16
- package/{agentSlice-CF3SO4QW.js → agentSlice-3G2YLTA4.js} +3 -3
- package/{appDeleteCommands-6ML7IZWP.js → appDeleteCommands-DZZQCVYH.js} +21 -21
- package/{appDeployCommands-CZOP3X47.js → appDeployCommands-NJJBVNH5.js} +21 -21
- package/{appDeployStatusCommands-T4QEGCMV.js → appDeployStatusCommands-GBOAFEYG.js} +21 -21
- package/{appGetCommands-4MWH3GB7.js → appGetCommands-GOOKYMKO.js} +21 -21
- package/{appListCommands-EYM6PLZM.js → appListCommands-OBCGUG3S.js} +21 -21
- package/{authCommand-3C3RN4OU.js → authCommand-77CRN332.js} +9 -9
- package/{authCommands-ZMVEDCQD.js → authCommands-BLXNAUF4.js} +2 -2
- package/{chromeOpsCommands-NZITLHWO.js → chromeOpsCommands-6RLEBBJJ.js} +1 -1
- package/{chunk-MNXWT3GC.js → chunk-222CJNC2.js} +3 -3
- package/chunk-3A5NNQCN.js +64 -0
- package/{chunk-OP7UDCGP.js → chunk-3KWJPTVP.js} +3 -3
- package/{chunk-5D5C7IFJ.js → chunk-3ZWJVKFB.js} +150 -40
- package/{chunk-OLGFIQN2.js → chunk-43VT5PLM.js} +1 -1
- package/{chunk-RHBD22LV.js → chunk-5IKKSJYX.js} +4 -2
- package/{chunk-JRKQT7ST.js → chunk-6UNJ6JGR.js} +9 -9
- package/{chunk-BFKJ2RS3.js → chunk-7RYODZDD.js} +1 -1
- package/{chunk-P4HBFHQB.js → chunk-A55E2OCP.js} +16 -16
- package/{chunk-3WHVE2XX.js → chunk-BQ4CZEVZ.js} +1 -1
- package/{chunk-ITBX27W6.js → chunk-CFDOIIOZ.js} +2 -2
- package/{chunk-RNKWM6DL.js → chunk-CUYFRVJF.js} +3 -3
- package/{chunk-CUMWQC3F.js → chunk-D35TOEMM.js} +2 -2
- package/{chunk-OHUYN3YU.js → chunk-D3E5MYXO.js} +1 -1
- package/{chunk-SPU3L3OR.js → chunk-EFM2IPZR.js} +3 -3
- package/{chunk-6XRPBZRS.js → chunk-EYLGAEB4.js} +0 -134
- package/{chunk-DQFQOKCR.js → chunk-FAFDIQJG.js} +3 -3
- package/{chunk-UF6J7NXV.js → chunk-GMWZRXRM.js} +1 -1
- package/{chunk-ARFCL53U.js → chunk-HD5EKSLF.js} +3 -3
- package/{chunk-4IQN6FWY.js → chunk-HQLCYPL4.js} +1 -1
- package/chunk-HZD5HXUO.js +405 -0
- package/{chunk-FFFKAOJN.js → chunk-IXAGRTAR.js} +1 -1
- package/{chunk-UPOW5HTG.js → chunk-IZWGO2ZS.js} +1 -1
- package/{chunk-NEG5LYK5.js → chunk-JCQ3WCQ3.js} +3 -1
- package/{chunk-ZTWDSOXD.js → chunk-JUYI2D7J.js} +1 -1
- package/{chunk-5FU7HEII.js → chunk-K5CIMK3R.js} +3 -3
- package/{chunk-DKOUQOJ7.js → chunk-KGOBJAWC.js} +54 -52
- package/{chunk-CX5BGBCX.js → chunk-KHVTT4WW.js} +1 -1
- package/{chunk-L4ES2RVY.js → chunk-KJDN2YRH.js} +1 -1
- package/{chunk-JFRJEPFI.js → chunk-KRAPKTAS.js} +1 -1
- package/{chunk-Y45F45YH.js → chunk-KZVRPCOR.js} +3 -3
- package/{chunk-TMRJGSK2.js → chunk-L5HV76QT.js} +1 -1
- package/{chunk-H772FXSL.js → chunk-LOXR4TQN.js} +2 -2
- package/{chunk-W6T4FNZP.js → chunk-LUPZLKXL.js} +192 -352
- package/{chunk-VOWN2ZQI.js → chunk-LXKK7QFI.js} +1 -1
- package/{chunk-73PZD7JZ.js → chunk-MTS5DCL2.js} +2 -2
- package/{chunk-LAIWAVKI.js → chunk-N3SEV3CG.js} +35 -27
- package/{chunk-KLAMJNKQ.js → chunk-NMXGIRSG.js} +14 -7
- package/{chunk-WNIV5BV7.js → chunk-NTNX77FI.js} +8 -8
- package/{chunk-BGWCWHWL.js → chunk-OARYOLF3.js} +90 -79
- package/{chunk-BAH3BAUZ.js → chunk-OQCAHPDQ.js} +5 -5
- package/{chunk-VIYVRPMJ.js → chunk-PHREU2KZ.js} +5 -3
- package/{chunk-IQAO6IUP.js → chunk-PKMDYRAM.js} +33 -24
- package/{chunk-MBJSAYYK.js → chunk-PLS2MJVW.js} +5 -5
- package/{chunk-V4D5ZKWF.js → chunk-Q5KZ6F55.js} +11 -11
- package/{chunk-RJSITWNF.js → chunk-QJ5YDTEF.js} +7 -7
- package/{chunk-V4IYI3SB.js → chunk-QLGL43SI.js} +1 -1
- package/{chunk-K7VIXYTZ.js → chunk-R3MV2GII.js} +1 -45
- package/{chunk-E5RYFR7E.js → chunk-R7D5SRAZ.js} +2 -0
- package/{chunk-YM6L335H.js → chunk-SLUZ6FBJ.js} +1 -1
- package/{chunk-KK3FCYZM.js → chunk-SQL7YNED.js} +7 -4
- package/{chunk-D25ONVOH.js → chunk-SSZHE2RK.js} +1 -1
- package/{chunk-ADOOL3PG.js → chunk-T4V6C3J3.js} +1 -1
- package/{chunk-E2U4I3NK.js → chunk-TGKAUEV3.js} +4 -4
- package/chunk-TRRXYFTR.js +46 -0
- package/{chunk-BVEDT6DM.js → chunk-U2OWDHDE.js} +3 -3
- package/{chunk-YWNCRUBZ.js → chunk-UCMUXZJV.js} +5 -5
- package/{chunk-SAXVCWLZ.js → chunk-W2N4OAKM.js} +2 -2
- package/{chunk-FNB2XPBD.js → chunk-X337N4D6.js} +3 -3
- package/{chunk-6TVYUQRM.js → chunk-XC5RPSXK.js} +1 -1
- package/chunk-XRGBJHZX.js +136 -0
- package/{chunk-IJZC2KIJ.js → chunk-Z7A2ZQ5X.js} +1 -1
- package/{chunk-DGHHJV3T.js → chunk-ZKKJZBNO.js} +6 -6
- package/{chunk-SHDJLJWV.js → chunk-ZSRR6HCH.js} +1 -1
- package/{cliAgentConfigHelpers-37ZNEY5Y.js → cliAgentConfigHelpers-N6LTB7UY.js} +2 -2
- package/{cliAuthorityBrokerClient-SFPC3WVK.js → cliAuthorityBrokerClient-TFNXJLXL.js} +1 -1
- package/cliAuthorityBrokerProcess-IUCB4XA6.js +22 -0
- package/{cliLocalAgentRecordReader-WUSV4VMI.js → cliLocalAgentRecordReader-NFNGYOOW.js} +18 -18
- package/{commandRegistry-MR6GOEUC.js → commandRegistry-OM5DU4DS.js} +72 -72
- package/{contentThunks-WF73YCYA.js → contentThunks-7URM43ET.js} +10 -10
- package/{cooldownCommands-TIFCHCUN.js → cooldownCommands-JEEV75B7.js} +1 -1
- package/{createAgentAutomationAction-NUIQOIOW.js → createAgentAutomationAction-GGEXIKMC.js} +10 -10
- package/{createDialogAction-IASHJN3H.js → createDialogAction-IXXEMFRQ.js} +11 -11
- package/{createPageAction-7YDRLGGF.js → createPageAction-IXIVLIOO.js} +13 -13
- package/{db-CMUTP3W5.js → db-J5KE7XRI.js} +3 -2
- package/{dbSlice-656PMWR2.js → dbSlice-IE4ADINL.js} +1 -1
- package/{dialogCommands-E4KH23LG.js → dialogCommands-RPBHOZB6.js} +30 -26
- package/{dialogNotifyCommand-PST75COP.js → dialogNotifyCommand-ECKI5MMA.js} +3 -3
- package/{dialogSlice-CTSI7MTT.js → dialogSlice-5FQB2TNN.js} +8 -8
- package/{dialogUsageCommand-6RW2FY6K.js → dialogUsageCommand-TBIA2QAF.js} +2 -2
- package/{docCreateCommands-3OVVJQ5T.js → docCreateCommands-XJ2X57DW.js} +20 -20
- package/{docDeleteCommands-ZY3YVAKQ.js → docDeleteCommands-45WGFFEB.js} +21 -21
- package/{docReadCommands-DRKAOI4S.js → docReadCommands-LRRVDS46.js} +20 -20
- package/{docStore-6WBQOAXG.js → docStore-SUAVM24F.js} +2 -2
- package/{docUpdateCommands-YUOV2EY6.js → docUpdateCommands-QUYX6BVR.js} +20 -20
- package/{handleSendMessageAction-N2OMO5G4.js → handleSendMessageAction-FDIWBQUB.js} +65 -23
- package/{hostCredentialCreate-7URAYDDW.js → hostCredentialCreate-CEXQHYT4.js} +58 -54
- package/index.js +23 -11
- package/{localDialogRead-CIOTQM5T.js → localDialogRead-USDZXKIL.js} +1 -1
- package/{localRuntimeAdapter-N7UAZM2A.js → localRuntimeAdapter-O3JBRK6S.js} +56 -52
- package/{localRuntimeAuthority-TYHQCTZN.js → localRuntimeAuthority-QKWTPBQQ.js} +13 -3
- package/{localRuntimeDb-BO7IVWAZ.js → localRuntimeDb-3CIC4SKC.js} +1 -1
- package/{machineCommands-37DP3W6M.js → machineCommands-I3YA7TNC.js} +57 -53
- package/{machineWsRunDispatch-MWJ3YPHO.js → machineWsRunDispatch-E5CIE2OJ.js} +57 -53
- package/{markdownToSlate-KIYM7B3P.js → markdownToSlate-PXYAIBVL.js} +1 -1
- package/{mcpLocalAuthorizeCommand-TI656UWC.js → mcpLocalAuthorizeCommand-K5J2VMG6.js} +10 -6
- package/{memberThunks-JFYC4Z5L.js → memberThunks-T7EAZE6A.js} +3 -3
- package/package.json +2 -1
- package/{projectArchive-LP7LCMCR.js → projectArchive-A7E65AZO.js} +13 -13
- package/{readlineWorkspace-VFI2DNJS.js → readlineWorkspace-2O65NBFG.js} +96 -93
- package/{removeDialogAgentAction-J7XU7OUX.js → removeDialogAgentAction-GRT72HLK.js} +3 -3
- package/{runAgentClientLoop-S5Y42KAZ.js → runAgentClientLoop-NWCZIXCG.js} +28 -28
- package/{runtimeDoctorCommands-RDRJXMXC.js → runtimeDoctorCommands-26HYHFTK.js} +9 -6
- package/{secretCommands-2FEMRUFM.js → secretCommands-XR72SHLK.js} +2 -2
- package/{setDialogExtraReferencesAction-Q4V2ZZW2.js → setDialogExtraReferencesAction-CBG3X46B.js} +2 -2
- package/{setPrimaryDialogAgentAction-742H5S6T.js → setPrimaryDialogAgentAction-EWTDZOAX.js} +3 -3
- package/{settingThunks-IHXUF276.js → settingThunks-X4PT66J2.js} +1 -1
- package/{spaceCommands-EKDIDAQD.js → spaceCommands-EVSNTGRS.js} +19 -19
- package/{streamAgentChatTurn-IYNNLYI5.js → streamAgentChatTurn-SYP3OEM5.js} +53 -53
- package/{switchDialogAgentAction-HLDLHRRA.js → switchDialogAgentAction-YHPZ7K6E.js} +1 -1
- package/{tools-GIATFQW5.js → tools-2AO2SK4L.js} +22 -22
- package/{tuiRestart-5F2APN66.js → tuiRestart-HBQDF4AE.js} +2 -2
- package/{tuiSummaryLlmCaller-TM5BU73J.js → tuiSummaryLlmCaller-Q2PNR63K.js} +4 -4
- package/{updateCommands-FBYA5WVG.js → updateCommands-6SI7NWVC.js} +3 -3
- package/{updateDialogTitleAction-PQDJD35N.js → updateDialogTitleAction-MWVMBIPZ.js} +10 -10
- package/{usageCommand-L4OFWXEU.js → usageCommand-D44AOTMH.js} +2 -2
- package/{usageRebuildCommand-7JR33UHS.js → usageRebuildCommand-IRIMKDI5.js} +3 -3
- package/{windowsSelfUpdate-M4V77OUB.js → windowsSelfUpdate-BJIJKKIS.js} +2 -2
- package/{chunk-MYYNZG2M.js → chunk-CJ2BP6V7.js} +3 -3
- package/{chunk-HZDK56EK.js → chunk-IFJ6OTI6.js} +0 -0
- package/{chunk-WMKA2DPK.js → chunk-LMMRWGGJ.js} +3 -3
- package/{chunk-EDT65EUE.js → chunk-WZPG63Q4.js} +3 -3
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// packages/cli/client/cliExitSync.ts
|
|
2
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3
|
+
var scopes = new AsyncLocalStorage();
|
|
4
|
+
var KNOWN_SYNC_FAILURE_CODES = /* @__PURE__ */ new Set([
|
|
5
|
+
"owner_mismatch",
|
|
6
|
+
"owner_origin_mismatch",
|
|
7
|
+
"owner_grant_revoked",
|
|
8
|
+
"owner_oauth_unavailable",
|
|
9
|
+
"invalid_grant",
|
|
10
|
+
"auth_no_token",
|
|
11
|
+
"token_expired",
|
|
12
|
+
"user_batch_authority_controlled",
|
|
13
|
+
"tombstone_conflict"
|
|
14
|
+
]);
|
|
15
|
+
var SYNC_FAILURE_CODE_RE = /"(?:code|error|reason)"\s*:\s*"([A-Za-z0-9_.:-]{1,48})"/;
|
|
16
|
+
function classifyDialogSyncFailure(error) {
|
|
17
|
+
if (error instanceof Error && error.name === "AbortError") return "aborted";
|
|
18
|
+
if (error instanceof Error && error.name === "TimeoutError") return "timeout";
|
|
19
|
+
const match = error instanceof Error ? /^remote dialog evidence write failed: HTTP (\d{3})\b([\s\S]*)$/.exec(error.message) : null;
|
|
20
|
+
if (!match) return "transport_or_sync";
|
|
21
|
+
const candidate = SYNC_FAILURE_CODE_RE.exec(match[2] ?? "")?.[1]?.toLowerCase();
|
|
22
|
+
const code = candidate && KNOWN_SYNC_FAILURE_CODES.has(candidate) ? candidate : void 0;
|
|
23
|
+
return code ? `http_${match[1]}(${code})` : `http_${match[1]}`;
|
|
24
|
+
}
|
|
25
|
+
function startOwnedDialogSync(fetchImpl, start) {
|
|
26
|
+
const scope = scopes.getStore();
|
|
27
|
+
if (!scope) return start(fetchImpl);
|
|
28
|
+
if (scope.closed) return Promise.reject(new Error("dialog_sync_scope_closed"));
|
|
29
|
+
const entry = { watermark: scope.entries.length + 1, httpOkRecords: 0, controller: new AbortController(), state: "pending", done: Promise.resolve() };
|
|
30
|
+
scope.entries.push(entry);
|
|
31
|
+
const trackedFetch = async (url, init) => {
|
|
32
|
+
entry.controller.signal.throwIfAborted();
|
|
33
|
+
const signal = init?.signal ? AbortSignal.any([init.signal, entry.controller.signal]) : entry.controller.signal;
|
|
34
|
+
const response = await fetchImpl(url, { ...init, signal });
|
|
35
|
+
signal.throwIfAborted();
|
|
36
|
+
if (response.ok && String(url).includes("/api/v1/db/write/")) entry.httpOkRecords++;
|
|
37
|
+
return response;
|
|
38
|
+
};
|
|
39
|
+
entry.done = Promise.resolve().then(() => start(trackedFetch)).then((result) => {
|
|
40
|
+
if (entry.state === "pending") entry.state = "completed";
|
|
41
|
+
return result;
|
|
42
|
+
}, (error) => {
|
|
43
|
+
if (entry.state === "pending") {
|
|
44
|
+
entry.state = "failed";
|
|
45
|
+
entry.failureClass = classifyDialogSyncFailure(error);
|
|
46
|
+
}
|
|
47
|
+
throw error;
|
|
48
|
+
});
|
|
49
|
+
void entry.done.catch(() => {
|
|
50
|
+
});
|
|
51
|
+
return entry.done;
|
|
52
|
+
}
|
|
53
|
+
function drain(scope, unsafeRunner = false) {
|
|
54
|
+
if (scope.drain) return scope.drain;
|
|
55
|
+
scope.closed = true;
|
|
56
|
+
scope.drain = (async () => {
|
|
57
|
+
const entries = scope.entries.slice();
|
|
58
|
+
let timer;
|
|
59
|
+
const abortPending = (classification) => {
|
|
60
|
+
for (const entry of entries) if (entry.state === "pending") {
|
|
61
|
+
entry.state = "timeout";
|
|
62
|
+
entry.failureClass = classification;
|
|
63
|
+
entry.controller.abort(new Error("dialog_sync_drain_stopped"));
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
try {
|
|
67
|
+
if (unsafeRunner) abortPending("runner_not_stopped");
|
|
68
|
+
else if (entries.length) await Promise.race([
|
|
69
|
+
Promise.allSettled(entries.map((entry) => entry.done)),
|
|
70
|
+
new Promise((resolve) => {
|
|
71
|
+
timer = setTimeout(() => {
|
|
72
|
+
abortPending("timeout");
|
|
73
|
+
resolve();
|
|
74
|
+
}, scope.timeoutMs);
|
|
75
|
+
})
|
|
76
|
+
]);
|
|
77
|
+
} finally {
|
|
78
|
+
if (timer) clearTimeout(timer);
|
|
79
|
+
}
|
|
80
|
+
const failed = entries.filter((entry) => entry.state !== "completed");
|
|
81
|
+
for (const entry of failed) scope.output.write(`[nolo] dialog_sync ${entry.state}: watermark=${entry.watermark} httpOkRecords=${entry.httpOkRecords} class=${entry.failureClass ?? entry.state}; local history retained; remote sync incomplete.
|
|
82
|
+
`);
|
|
83
|
+
return failed.length === 0;
|
|
84
|
+
})();
|
|
85
|
+
return scope.drain;
|
|
86
|
+
}
|
|
87
|
+
function exitCliFromWatchdog(code, exit, stopRunner) {
|
|
88
|
+
const scope = scopes.getStore();
|
|
89
|
+
if (!scope) {
|
|
90
|
+
exit(code);
|
|
91
|
+
return Promise.resolve();
|
|
92
|
+
}
|
|
93
|
+
if (scope.watchdogExit) return scope.watchdogExit;
|
|
94
|
+
scope.closed = true;
|
|
95
|
+
scope.watchdogExit = (async () => {
|
|
96
|
+
let stopped = false;
|
|
97
|
+
try {
|
|
98
|
+
stopped = await stopRunner();
|
|
99
|
+
} catch {
|
|
100
|
+
}
|
|
101
|
+
if (!stopped) scope.output.write("[nolo] dialog_sync failed: class=runner_not_stopped; cancelling pending sync before hard exit.\n");
|
|
102
|
+
const complete = await drain(scope, !stopped);
|
|
103
|
+
exit(code === 0 || !complete ? 1 : code);
|
|
104
|
+
})();
|
|
105
|
+
return scope.watchdogExit;
|
|
106
|
+
}
|
|
107
|
+
async function runCliCommandWithSyncDrain(command, options) {
|
|
108
|
+
const timeoutMs = Number.isFinite(options.timeoutMs) && (options.timeoutMs ?? 0) > 0 ? options.timeoutMs : 15e3;
|
|
109
|
+
await scopes.run({ entries: [], closed: false, output: options.output, timeoutMs }, async () => {
|
|
110
|
+
const scope = scopes.getStore();
|
|
111
|
+
let code = 70;
|
|
112
|
+
let commandError;
|
|
113
|
+
let commandThrew = false;
|
|
114
|
+
try {
|
|
115
|
+
code = await command();
|
|
116
|
+
} catch (error) {
|
|
117
|
+
commandThrew = true;
|
|
118
|
+
commandError = error;
|
|
119
|
+
}
|
|
120
|
+
if (scope.watchdogExit) {
|
|
121
|
+
await scope.watchdogExit;
|
|
122
|
+
if (commandThrew) throw commandError;
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
const complete = await drain(scope);
|
|
126
|
+
if (commandThrew) throw commandError;
|
|
127
|
+
await options.exit(code === 0 && !complete ? 1 : code);
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export {
|
|
132
|
+
classifyDialogSyncFailure,
|
|
133
|
+
startOwnedDialogSync,
|
|
134
|
+
exitCliFromWatchdog,
|
|
135
|
+
runCliCommandWithSyncDrain
|
|
136
|
+
};
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-VF4K2QE6.js";
|
|
4
4
|
import {
|
|
5
5
|
setDialogExtraReferencesAction
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-43VT5PLM.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TGKAUEV3.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveDialogRuntimeAgentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A55E2OCP.js";
|
|
13
13
|
import {
|
|
14
14
|
createSpaceKey
|
|
15
15
|
} from "./chunk-UAD2WT54.js";
|
|
16
16
|
import {
|
|
17
17
|
selectById
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IFJ6OTI6.js";
|
|
19
19
|
import {
|
|
20
20
|
require_react
|
|
21
21
|
} from "./chunk-RD3QLZQV.js";
|
|
@@ -791,7 +791,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
791
791
|
if (!executionInput) {
|
|
792
792
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
793
793
|
}
|
|
794
|
-
const { findToolExecutor } = await import("./tools-
|
|
794
|
+
const { findToolExecutor } = await import("./tools-2AO2SK4L.js");
|
|
795
795
|
const { executor } = findToolExecutor(run.toolName);
|
|
796
796
|
toolRunStarted({
|
|
797
797
|
id: run.id,
|
|
@@ -815,7 +815,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
815
815
|
const latestState = thunkApi.getState();
|
|
816
816
|
const userId = selectIdentityUserId(latestState);
|
|
817
817
|
if (userId) {
|
|
818
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
818
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-T7EAZE6A.js");
|
|
819
819
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
820
820
|
}
|
|
821
821
|
}
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
localTurnHasSubjectRefs,
|
|
7
7
|
resolveLocalUserId,
|
|
8
8
|
withResolvedRuntimeToolSurface
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IZWGO2ZS.js";
|
|
10
10
|
import "./chunk-BR3GT6MR.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JCQ3WCQ3.js";
|
|
12
12
|
import "./chunk-GX6DITLQ.js";
|
|
13
13
|
import "./chunk-YLAHYLDQ.js";
|
|
14
14
|
import "./chunk-KZAT2M2V.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isCliAuthorityBrokerProtocolError,
|
|
8
8
|
isCliAuthorityBrokerTimeoutError,
|
|
9
9
|
isCliAuthorityBrokerUnavailableError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SQL7YNED.js";
|
|
11
11
|
import "./chunk-U67V476Y.js";
|
|
12
12
|
export {
|
|
13
13
|
CliAuthorityBrokerProtocolError,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runCliAuthorityBrokerProcess,
|
|
3
|
+
startCliAuthorityBrokerProcess,
|
|
4
|
+
superviseCliAuthorityBrokerProcess
|
|
5
|
+
} from "./chunk-LUPZLKXL.js";
|
|
6
|
+
import "./chunk-3A5NNQCN.js";
|
|
7
|
+
import "./chunk-R3MV2GII.js";
|
|
8
|
+
import "./chunk-SQL7YNED.js";
|
|
9
|
+
import "./chunk-EYLGAEB4.js";
|
|
10
|
+
import "./chunk-BIDSIRTS.js";
|
|
11
|
+
import "./chunk-OLZBQWZU.js";
|
|
12
|
+
import "./chunk-LCBAMY2M.js";
|
|
13
|
+
import "./chunk-HNMXYYJR.js";
|
|
14
|
+
import "./chunk-G3SUCT4W.js";
|
|
15
|
+
import "./chunk-4SN6J65J.js";
|
|
16
|
+
import "./chunk-CF7PE763.js";
|
|
17
|
+
import "./chunk-U67V476Y.js";
|
|
18
|
+
export {
|
|
19
|
+
runCliAuthorityBrokerProcess,
|
|
20
|
+
startCliAuthorityBrokerProcess,
|
|
21
|
+
superviseCliAuthorityBrokerProcess
|
|
22
|
+
};
|
|
@@ -3,33 +3,33 @@ import {
|
|
|
3
3
|
readDialogMessageRecords,
|
|
4
4
|
readDialogMessages,
|
|
5
5
|
resolveBuiltinLocalCliAgentConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3KWJPTVP.js";
|
|
7
7
|
import "./chunk-MZVCFV3T.js";
|
|
8
8
|
import "./chunk-JP2BH4NC.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-LHCGKAFO.js";
|
|
9
|
+
import "./chunk-Z7A2ZQ5X.js";
|
|
10
|
+
import "./chunk-PKMDYRAM.js";
|
|
12
11
|
import "./chunk-ZNFJWEN4.js";
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LHCGKAFO.js";
|
|
13
|
+
import "./chunk-CJ2BP6V7.js";
|
|
14
14
|
import "./chunk-ANUP75N2.js";
|
|
15
15
|
import "./chunk-AL3TYDIF.js";
|
|
16
|
-
import "./chunk-EDT65EUE.js";
|
|
17
|
-
import "./chunk-HNUWUO75.js";
|
|
18
16
|
import "./chunk-CHOZJMJS.js";
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-WZPG63Q4.js";
|
|
18
|
+
import "./chunk-HNUWUO75.js";
|
|
19
|
+
import "./chunk-DMPZMYH4.js";
|
|
20
|
+
import "./chunk-LMMRWGGJ.js";
|
|
21
|
+
import "./chunk-BYXBJQAS.js";
|
|
22
|
+
import "./chunk-SX6AWTNK.js";
|
|
20
23
|
import "./chunk-2FK2KZSL.js";
|
|
21
24
|
import "./chunk-56GBUMO5.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-KXOPLLFP.js";
|
|
25
|
+
import "./chunk-LXKK7QFI.js";
|
|
26
|
+
import "./chunk-CFDOIIOZ.js";
|
|
25
27
|
import "./chunk-QJTZ76CP.js";
|
|
26
28
|
import "./chunk-W3HSD32M.js";
|
|
27
29
|
import "./chunk-X4O7FJF5.js";
|
|
28
|
-
import "./chunk-DMPZMYH4.js";
|
|
29
|
-
import "./chunk-BYXBJQAS.js";
|
|
30
|
-
import "./chunk-SX6AWTNK.js";
|
|
31
30
|
import "./chunk-TLE77UJ5.js";
|
|
32
31
|
import "./chunk-CDIRKCPD.js";
|
|
32
|
+
import "./chunk-KXOPLLFP.js";
|
|
33
33
|
import "./chunk-VUHKG4KS.js";
|
|
34
34
|
import "./chunk-2MBTWINN.js";
|
|
35
35
|
import "./chunk-LTVEOOZL.js";
|
|
@@ -37,11 +37,11 @@ import "./chunk-5ZUL4CUO.js";
|
|
|
37
37
|
import "./chunk-MAA42MMV.js";
|
|
38
38
|
import "./chunk-H57T64RA.js";
|
|
39
39
|
import "./chunk-UKZX3NHN.js";
|
|
40
|
-
import "./chunk-SR4FE5VD.js";
|
|
41
40
|
import "./chunk-5MMAK75Q.js";
|
|
41
|
+
import "./chunk-SR4FE5VD.js";
|
|
42
42
|
import "./chunk-USGHJSGO.js";
|
|
43
|
-
import "./chunk-E6A5NHDH.js";
|
|
44
43
|
import "./chunk-KX6YBIHG.js";
|
|
44
|
+
import "./chunk-E6A5NHDH.js";
|
|
45
45
|
import "./chunk-5BRVDQTX.js";
|
|
46
46
|
import "./chunk-EWQ3HGNZ.js";
|
|
47
47
|
import "./chunk-PSCNXBYA.js";
|
|
@@ -63,9 +63,9 @@ import "./chunk-KHCLMKZZ.js";
|
|
|
63
63
|
import "./chunk-SYTHYBMI.js";
|
|
64
64
|
import "./chunk-OJKUU3LP.js";
|
|
65
65
|
import "./chunk-YZMNK53S.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-IZWGO2ZS.js";
|
|
67
67
|
import "./chunk-BR3GT6MR.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-JCQ3WCQ3.js";
|
|
69
69
|
import "./chunk-GX6DITLQ.js";
|
|
70
70
|
import "./chunk-YLAHYLDQ.js";
|
|
71
71
|
import "./chunk-KZAT2M2V.js";
|