nolo-cli 0.203.0-alpha.1 → 0.204.0-alpha.2
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-KOODDFV3.js → _executeModel-ZUESBV6T.js} +12 -12
- package/{accountResolver-42BYPMVY.js → accountResolver-4LKIHEKL.js} +2 -2
- package/{agentDeleteCommand-HCZZPPAB.js → agentDeleteCommand-INOBZ3HP.js} +12 -12
- package/{agentEmailCommands-5R2ST7IA.js → agentEmailCommands-J6UTZBJC.js} +14 -14
- package/{agentListCommands-POQKNVWF.js → agentListCommands-6344UIVZ.js} +2 -2
- package/{agentMachineCommands-UZ7I4VL3.js → agentMachineCommands-TE6IRTIB.js} +3 -3
- package/{agentRecordCommands-SSSJLCIP.js → agentRecordCommands-34MHHVFX.js} +13 -13
- package/{agentRunCommand-FXGB7HRK.js → agentRunCommand-7OMDQBRA.js} +14 -14
- package/{agentRuntimeLocal-M2RCAORY.js → agentRuntimeLocal-EO6WCTF2.js} +2 -2
- package/{agentSlice-H47GA3AE.js → agentSlice-HUFGX25R.js} +1 -1
- package/{appDeleteCommands-JI6AEOJO.js → appDeleteCommands-3DCLKVYC.js} +2 -2
- package/{appDeployCommands-W3W4T7BU.js → appDeployCommands-X3MUBDOP.js} +2 -2
- package/{appDeployStatusCommands-QXPI3XS4.js → appDeployStatusCommands-PXC3EHHS.js} +2 -2
- package/{appGetCommands-SQV3MNFW.js → appGetCommands-ETPPE6H7.js} +2 -2
- package/{appListCommands-DMYRVV7E.js → appListCommands-OFIDLALN.js} +2 -2
- package/{chromeCommands-IVYZCGFL.js → chromeCommands-REEAH4SX.js} +2 -2
- package/{chromeOpsCommands-JFT4J4LQ.js → chromeOpsCommands-O4J346EQ.js} +2 -2
- package/{chunk-TEI5QWP3.js → chunk-3MXJWFLO.js} +15 -3
- package/{chunk-4JBJG7XB.js → chunk-6KWPMJ5C.js} +12 -6
- package/{chunk-7KWQ3AWS.js → chunk-77GDSGRM.js} +9 -8
- package/{chunk-DP7YE3D3.js → chunk-BC4UX4EZ.js} +2 -2
- package/{chunk-Y6KUC75Q.js → chunk-BER2RSTL.js} +2 -2
- package/{chunk-A46X4DUK.js → chunk-DQ7PCRZ6.js} +3 -3
- package/{chunk-7JWW65DU.js → chunk-F7CI2ZC5.js} +1 -1
- package/{chunk-WKJCPU4B.js → chunk-G7RFM5QA.js} +2 -2
- package/{chunk-G7RADKSA.js → chunk-HNO2SEYI.js} +8 -8
- package/{chunk-7BIC2DPF.js → chunk-IZLXIV5L.js} +1 -1
- package/{chunk-LK46VB57.js → chunk-KCYY5F2P.js} +2 -2
- package/{chunk-VF2CQVMR.js → chunk-M43VXSMX.js} +2 -2
- package/{chunk-S2ZXDWPU.js → chunk-NGJWYWCF.js} +5 -5
- package/{chunk-4HAB2O5R.js → chunk-SEEXRWNB.js} +9 -9
- package/{chunk-IT2QLZ7M.js → chunk-SXMTSDFS.js} +2 -2
- package/{chunk-FIFPSUK7.js → chunk-SZXJVQ7L.js} +7 -7
- package/{chunk-76QKMZCM.js → chunk-UMIQZ7PX.js} +1 -1
- package/{chunk-L2F7JJZX.js → chunk-VXZ4YYNK.js} +41 -13
- package/{chunk-HIVDQPQR.js → chunk-Y63ZSOR6.js} +1 -1
- package/{chunk-W6L3E75W.js → chunk-YPYNRTWB.js} +2 -2
- package/{chunk-OBOAMKAA.js → chunk-YR4MRACW.js} +3 -3
- package/{commandRegistry-YYGDQ353.js → commandRegistry-XBZJWVTJ.js} +44 -44
- package/{contentThunks-CUBCGUNV.js → contentThunks-V5NBNTC5.js} +3 -3
- package/{createAgentAutomationAction-QKYRYNB7.js → createAgentAutomationAction-4TXJ366P.js} +3 -3
- package/{createDialogAction-X6YMBBIP.js → createDialogAction-4SPT75DB.js} +4 -4
- package/{createPageAction-UISPQP64.js → createPageAction-D4GMHUPC.js} +3 -3
- package/{dialogCommands-XBAEKJVC.js → dialogCommands-6RRP5KUH.js} +2 -2
- package/{dialogSlice-JPKOEWA7.js → dialogSlice-IGPTWSPB.js} +2 -2
- package/{dist-Q2JSMAKA.js → dist-M676ULYG.js} +221 -2
- package/{docCreateCommands-XBI32MGB.js → docCreateCommands-7ODYDGRL.js} +2 -2
- package/{docDeleteCommands-7EKY3XJR.js → docDeleteCommands-OEIRM3CC.js} +2 -2
- package/{docReadCommands-LWDKFZKJ.js → docReadCommands-W56GNAWP.js} +2 -2
- package/{docStore-YUQJ22PU.js → docStore-HEAGW26W.js} +1 -1
- package/{docUpdateCommands-VFB53K4G.js → docUpdateCommands-33Q3SEG7.js} +2 -2
- package/{handleSendMessageAction-OBYLLUON.js → handleSendMessageAction-R2E7VYHQ.js} +37 -8
- package/index.js +3 -3
- package/{localRuntimeAdapter-FZ7E66VZ.js → localRuntimeAdapter-J5GD66XZ.js} +12 -12
- package/{machineCommands-3VBUV3VZ.js → machineCommands-AT7B4LFO.js} +13 -13
- package/{machineWsRunDispatch-SJMADAGT.js → machineWsRunDispatch-CRDELH46.js} +13 -13
- package/package.json +1 -1
- package/{readlineWorkspace-SHYYZ7XS.js → readlineWorkspace-FPHZGNZP.js} +15 -15
- package/{runAgentClientLoop-2FDKWHUB.js → runAgentClientLoop-6AAA5HNQ.js} +10 -10
- package/{spaceCommands-BFES7F7G.js → spaceCommands-LPKHBCPU.js} +2 -2
- package/{streamAgentChatTurn-VQGUVTAC.js → streamAgentChatTurn-WNNXYOLC.js} +12 -12
- package/{tools-JMEDZDIA.js → tools-QLURHFLS.js} +7 -7
- package/{updateDialogTitleAction-QGH4ZL4E.js → updateDialogTitleAction-5UVS3ADT.js} +3 -3
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
formatImageSummary,
|
|
27
27
|
readLocalImage
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Y63ZSOR6.js";
|
|
29
29
|
import {
|
|
30
30
|
hasImageInRuntimeMessages,
|
|
31
31
|
stripImagePartsFromMessages
|
|
@@ -19750,9 +19750,9 @@ function attachFailedTurnPersistence(error, status) {
|
|
|
19750
19750
|
} catch {
|
|
19751
19751
|
}
|
|
19752
19752
|
}
|
|
19753
|
-
async function loadAdapterDialogHistory(adapter, dialogId,
|
|
19753
|
+
async function loadAdapterDialogHistory(adapter, dialogId, options) {
|
|
19754
19754
|
if (adapter.loadDialogHistoryWithSource) {
|
|
19755
|
-
return await adapter.loadDialogHistoryWithSource(dialogId,
|
|
19755
|
+
return await adapter.loadDialogHistoryWithSource(dialogId, options);
|
|
19756
19756
|
}
|
|
19757
19757
|
return { messages: await adapter.loadDialogHistory(dialogId) };
|
|
19758
19758
|
}
|
|
@@ -19856,8 +19856,14 @@ async function runLocalAgentTurn(input) {
|
|
|
19856
19856
|
const loaded = await loadAdapterDialogHistory(
|
|
19857
19857
|
input.adapter,
|
|
19858
19858
|
input.continueDialogId,
|
|
19859
|
-
|
|
19859
|
+
{
|
|
19860
|
+
strictContinueHistory: input.strictContinueHistory,
|
|
19861
|
+
freshDialog: input.freshDialog
|
|
19862
|
+
}
|
|
19860
19863
|
);
|
|
19864
|
+
if (input.freshDialog && loaded.messages.length > 0) {
|
|
19865
|
+
throw new Error("Fresh dialog already has history");
|
|
19866
|
+
}
|
|
19861
19867
|
if (input.strictContinueHistory && (loaded.source === "none" || loaded.source === "partial")) {
|
|
19862
19868
|
throw new Error(`Strict continuation history unavailable: ${loaded.source}`);
|
|
19863
19869
|
}
|
|
@@ -19865,7 +19871,7 @@ async function runLocalAgentTurn(input) {
|
|
|
19865
19871
|
dialogHistorySource = loaded.source;
|
|
19866
19872
|
}
|
|
19867
19873
|
} catch (error) {
|
|
19868
|
-
if (input.strictContinueHistory) throw error;
|
|
19874
|
+
if (input.strictContinueHistory || input.freshDialog) throw error;
|
|
19869
19875
|
const dialogId = await persistFailedLocalTurn({
|
|
19870
19876
|
adapter: input.adapter,
|
|
19871
19877
|
agentKey: agentConfig.key,
|
|
@@ -19878,7 +19884,7 @@ async function runLocalAgentTurn(input) {
|
|
|
19878
19884
|
throw error;
|
|
19879
19885
|
}
|
|
19880
19886
|
loopTiming.mark("loadDialogHistory", 0);
|
|
19881
|
-
if (input.continueDialogId && history.length === 0 && dialogHistorySource === "none") {
|
|
19887
|
+
if (input.continueDialogId && !input.freshDialog && history.length === 0 && dialogHistorySource === "none") {
|
|
19882
19888
|
console.warn(
|
|
19883
19889
|
`[localLoop] dialog history unavailable for ${input.continueDialogId} (source: none); continuing without prior context.`
|
|
19884
19890
|
);
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3MXJWFLO.js";
|
|
13
13
|
import {
|
|
14
14
|
parsePositiveFiniteNumberOrFallback
|
|
15
15
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveFileWriteGateEnabled,
|
|
39
39
|
resolveLocalUserId,
|
|
40
40
|
validateInstaboxWorkspaceSelection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VXZ4YYNK.js";
|
|
42
42
|
import {
|
|
43
43
|
clearCredentialAvailability,
|
|
44
44
|
readEffectiveCredentialEntry,
|
|
@@ -72,14 +72,14 @@ import {
|
|
|
72
72
|
} from "./chunk-BMQ2MJUK.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveCliLocalRuntimeKeyCapability
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-SEEXRWNB.js";
|
|
76
76
|
import {
|
|
77
77
|
isTransientFetchError
|
|
78
78
|
} from "./chunk-KFHREHUQ.js";
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-KCYY5F2P.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-G7RFM5QA.js";
|
|
92
92
|
import {
|
|
93
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
94
94
|
estimateMessagesTokens,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
resolveAgentContextWindow,
|
|
97
97
|
resolveOccupancy,
|
|
98
98
|
resolveOccupancyWindow
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-HNO2SEYI.js";
|
|
100
100
|
import {
|
|
101
101
|
isCliAuthorityBrokerProtocolError,
|
|
102
102
|
isCliAuthorityBrokerTimeoutError,
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
117
117
|
LOCAL_TURN_ABORTED_CODE,
|
|
118
118
|
readActionGate
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-6KWPMJ5C.js";
|
|
120
120
|
import {
|
|
121
121
|
resolveAgentRuntimeConfigFromRecord
|
|
122
122
|
} from "./chunk-MZXWSY4E.js";
|
|
@@ -11412,7 +11412,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11412
11412
|
|
|
11413
11413
|
// packages/cli/client/agentRun.ts
|
|
11414
11414
|
async function loadRunLocalAgentTurn() {
|
|
11415
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11415
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-EO6WCTF2.js");
|
|
11416
11416
|
return runLocalAgentTurn;
|
|
11417
11417
|
}
|
|
11418
11418
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -16167,6 +16167,7 @@ async function runAgentRunCommand(args, deps) {
|
|
|
16167
16167
|
let result = await raceWithWatchdog(
|
|
16168
16168
|
runner({
|
|
16169
16169
|
...buildRunOptions(effectiveAgentKey),
|
|
16170
|
+
...parsed.freshDialog ? { freshDialog: true } : {},
|
|
16170
16171
|
...modelOverride ? { modelOverride } : {}
|
|
16171
16172
|
})
|
|
16172
16173
|
);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KCYY5F2P.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HNO2SEYI.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VXZ4YYNK.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KCYY5F2P.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6KWPMJ5C.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-2Q3LOAFE.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IZLXIV5L.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HNO2SEYI.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-523DITKR.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YR4MRACW.js";
|
|
15
15
|
import {
|
|
16
16
|
isMediaToolConfirmation
|
|
17
17
|
} from "./chunk-QYPE3TS3.js";
|
|
@@ -11077,7 +11077,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11077
11077
|
runtimeOptions: args.runtimeOptions
|
|
11078
11078
|
});
|
|
11079
11079
|
if (agentKeyToUse) {
|
|
11080
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11080
|
+
const { streamAgentChatTurn } = await import("./agentSlice-HUFGX25R.js");
|
|
11081
11081
|
await dispatch(
|
|
11082
11082
|
streamAgentChatTurn({
|
|
11083
11083
|
agentKey: agentKeyToUse,
|
|
@@ -13891,7 +13891,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13891
13891
|
}
|
|
13892
13892
|
if (isCurrentDialog) {
|
|
13893
13893
|
await thunkApi.dispatch(resetMsgs());
|
|
13894
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13894
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-IGPTWSPB.js");
|
|
13895
13895
|
dispatch(clearPendingAttachments2());
|
|
13896
13896
|
}
|
|
13897
13897
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13899,15 +13899,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13899
13899
|
|
|
13900
13900
|
// packages/chat/dialog/dialogSlice.ts
|
|
13901
13901
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13902
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13902
|
+
const { createDialogAction } = await import("./createDialogAction-4SPT75DB.js");
|
|
13903
13903
|
return createDialogAction(args, thunkApi);
|
|
13904
13904
|
};
|
|
13905
13905
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13906
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13906
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-4TXJ366P.js");
|
|
13907
13907
|
return createAgentAutomationAction(args, thunkApi);
|
|
13908
13908
|
};
|
|
13909
13909
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13910
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13910
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-5UVS3ADT.js");
|
|
13911
13911
|
return updateDialogTitleAction(args, thunkApi);
|
|
13912
13912
|
};
|
|
13913
13913
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13931,7 +13931,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13931
13931
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13932
13932
|
};
|
|
13933
13933
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13934
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13934
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-R2E7VYHQ.js");
|
|
13935
13935
|
return handleSendMessageAction(args, thunkApi);
|
|
13936
13936
|
};
|
|
13937
13937
|
function clearDialogState() {
|
|
@@ -13944,7 +13944,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13944
13944
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13945
13945
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13946
13946
|
try {
|
|
13947
|
-
const { createDocState } = await import("./docStore-
|
|
13947
|
+
const { createDocState } = await import("./docStore-HEAGW26W.js");
|
|
13948
13948
|
const pageKey = await createDocState(
|
|
13949
13949
|
{ slateData, title },
|
|
13950
13950
|
{ dispatch, getState }
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-RXUKDHS5.js";
|
|
17
17
|
import {
|
|
18
18
|
fetchAndCacheTableRows
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IZLXIV5L.js";
|
|
20
20
|
import {
|
|
21
21
|
createSpaceKey
|
|
22
22
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -783,7 +783,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
783
783
|
if (!executionInput) {
|
|
784
784
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
785
785
|
}
|
|
786
|
-
const { findToolExecutor } = await import("./tools-
|
|
786
|
+
const { findToolExecutor } = await import("./tools-QLURHFLS.js");
|
|
787
787
|
const { executor } = findToolExecutor(run.toolName);
|
|
788
788
|
toolRunStarted({
|
|
789
789
|
id: run.id,
|
|
@@ -333,7 +333,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
333
333
|
).unwrap();
|
|
334
334
|
if (dbSpaceId) {
|
|
335
335
|
try {
|
|
336
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
336
|
+
const { updateContentTitle } = await import("./contentThunks-V5NBNTC5.js");
|
|
337
337
|
await dispatch(
|
|
338
338
|
updateContentTitle({
|
|
339
339
|
spaceId: dbSpaceId,
|
|
@@ -372,7 +372,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
async function createDocState(args, thunkApi) {
|
|
375
|
-
const { createPageAction } = await import("./createPageAction-
|
|
375
|
+
const { createPageAction } = await import("./createPageAction-D4GMHUPC.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BER2RSTL.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
selectSpaceContextLevel,
|
|
19
19
|
selectUserTonePreset,
|
|
20
20
|
uiCardFallback
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KCYY5F2P.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAgentRecommendedSkillNames,
|
|
24
24
|
resolveAgentRequiredPackIds
|
|
25
25
|
} from "./chunk-I5PBXF7O.js";
|
|
26
26
|
import {
|
|
27
27
|
getDocState
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-M43VXSMX.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveToolBaseUrl
|
|
31
31
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-A2ZMIRLN.js";
|
|
38
38
|
import {
|
|
39
39
|
getTableState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-IZLXIV5L.js";
|
|
41
41
|
import {
|
|
42
42
|
getCurrentSpaceIdRaw,
|
|
43
43
|
getViewMode
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
47
47
|
buildPersonalizationDialogPolicyContext,
|
|
48
48
|
selectAllMsgs
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-HNO2SEYI.js";
|
|
50
50
|
import {
|
|
51
51
|
selectPendingFiles
|
|
52
52
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
toolRunUpdated,
|
|
39
39
|
uiCardFallback,
|
|
40
40
|
waitForAbortableDelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-KCYY5F2P.js";
|
|
42
42
|
import {
|
|
43
43
|
isGatewayHttpStatus
|
|
44
44
|
} from "./chunk-NF64D32W.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-I5PBXF7O.js";
|
|
56
56
|
import {
|
|
57
57
|
createDocState
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-M43VXSMX.js";
|
|
59
59
|
import {
|
|
60
60
|
ToolApiError,
|
|
61
61
|
buildToolRequestHeaders,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-63W5N6P3.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-G7RFM5QA.js";
|
|
83
83
|
import {
|
|
84
84
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
85
85
|
addContentToSpace,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
updateContentCategory,
|
|
97
97
|
updateContentTitle,
|
|
98
98
|
writeStoredCollapsedCategories
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-IZLXIV5L.js";
|
|
100
100
|
import {
|
|
101
101
|
getCurrentSpaceId,
|
|
102
102
|
getCurrentSpaceIdRaw,
|
|
@@ -119,14 +119,14 @@ import {
|
|
|
119
119
|
selectMsgById,
|
|
120
120
|
uiAskChoiceFunc,
|
|
121
121
|
uiAskChoiceFunctionSchema
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-HNO2SEYI.js";
|
|
123
123
|
import {
|
|
124
124
|
createAgent,
|
|
125
125
|
deleteServerSyncedCredential,
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-YR4MRACW.js";
|
|
130
130
|
import {
|
|
131
131
|
buildMediaToolConfirmation,
|
|
132
132
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -3882,7 +3882,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3882
3882
|
const deletedDialogIds = [];
|
|
3883
3883
|
const deletedDialogKeys = [];
|
|
3884
3884
|
const failures = [];
|
|
3885
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3885
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-IGPTWSPB.js");
|
|
3886
3886
|
for (const target of targets) {
|
|
3887
3887
|
try {
|
|
3888
3888
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -14351,7 +14351,7 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14351
14351
|
const bgResult = runtimeKey === "local" ? await hostAgentRunDispatcher({
|
|
14352
14352
|
agentKey: effectiveAgentKey,
|
|
14353
14353
|
userInput: content,
|
|
14354
|
-
...continueDialogId ? { continueDialogId, strictContinueHistory: true } : {},
|
|
14354
|
+
...continueDialogId ? { continueDialogId, strictContinueHistory: true } : { freshDialog: true },
|
|
14355
14355
|
waitForCompletion: wait === true,
|
|
14356
14356
|
runKind: "subtask",
|
|
14357
14357
|
runTitle: title,
|
|
@@ -18693,7 +18693,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18693
18693
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18694
18694
|
};
|
|
18695
18695
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18696
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18696
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-HEAGW26W.js");
|
|
18697
18697
|
if (getDocState().pageKey === id) {
|
|
18698
18698
|
applyExternalDocUpdate({
|
|
18699
18699
|
slateData: finalSlateData,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BER2RSTL.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HNO2SEYI.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BC4UX4EZ.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YPYNRTWB.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SEEXRWNB.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BER2RSTL.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KCYY5F2P.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -46,10 +46,10 @@ import {
|
|
|
46
46
|
toast,
|
|
47
47
|
toolResultNeedsUserConfirmation,
|
|
48
48
|
updateToolMessage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-HNO2SEYI.js";
|
|
50
50
|
import {
|
|
51
51
|
streamAgentChatTurn
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YR4MRACW.js";
|
|
53
53
|
import {
|
|
54
54
|
addActiveController,
|
|
55
55
|
getActiveDialogKey,
|