nolo-cli 0.161.0-alpha.1 → 0.162.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-3HHZYHHB.js → _executeModel-RK74LZ44.js} +15 -15
- package/{agentDeleteCommand-74EL5T7G.js → agentDeleteCommand-KCZWV2E2.js} +16 -16
- package/{agentEmailCommands-ST7HL3E7.js → agentEmailCommands-Y6Z4A2VX.js} +17 -17
- package/{agentListCommands-L33M3I6V.js → agentListCommands-GOCGOQUB.js} +8 -8
- package/{agentMachineCommands-JSQPNSS5.js → agentMachineCommands-4DYX3GIT.js} +6 -6
- package/{agentRecordCommands-JWW5NQQ7.js → agentRecordCommands-MYS56PPX.js} +16 -16
- package/{agentRunCommand-UTBBUSHP.js → agentRunCommand-NA3YFEQJ.js} +17 -17
- package/{agentRuntimeLocal-XCKO5FVP.js → agentRuntimeLocal-J6I63NZC.js} +3 -3
- package/{agentSlice-YT3VCCEW.js → agentSlice-UPSZMNCZ.js} +1 -1
- package/{appDeleteCommands-2PJFNLAJ.js → appDeleteCommands-KKLAK2UR.js} +7 -7
- package/{appDeployCommands-AZCMCMK6.js → appDeployCommands-PXWK4FAX.js} +7 -7
- package/{appDeployStatusCommands-HSIKPVJN.js → appDeployStatusCommands-3NGWDZTX.js} +7 -7
- package/{appGetCommands-IUZCPAP7.js → appGetCommands-APWYPEO3.js} +7 -7
- package/{appListCommands-JLFVS44M.js → appListCommands-OP7IRALO.js} +7 -7
- package/{chunk-HW7EBEC5.js → chunk-3C73NSB2.js} +3 -3
- package/{chunk-QLQ573SU.js → chunk-3M52COK5.js} +120 -0
- package/{chunk-DD2EOI6S.js → chunk-4JCAW7TO.js} +1 -1
- package/{chunk-K25WQPP3.js → chunk-5E5VB7PS.js} +80 -3
- package/{chunk-KABQ74UQ.js → chunk-5IKRTRRR.js} +1 -1
- package/{chunk-JDKSYQQN.js → chunk-6B7KDQ2S.js} +2 -2
- package/{chunk-7RF4O6AT.js → chunk-BL4HFN6L.js} +1 -1
- package/{chunk-OLVOR45M.js → chunk-BRLQX6PB.js} +2 -2
- package/{chunk-CXCMXNME.js → chunk-DISDUQB6.js} +9 -9
- package/{chunk-RIHQGFFA.js → chunk-DJ2BOPJY.js} +1 -1
- package/{chunk-FCUKCVKN.js → chunk-F6THPP4J.js} +2 -2
- package/{chunk-DT7EWFTY.js → chunk-FBBJ4LXN.js} +3 -3
- package/{chunk-FB5WLEOD.js → chunk-FFAWF2YZ.js} +7 -7
- package/{chunk-ZAV4YVEA.js → chunk-HHFQUSHL.js} +2 -2
- package/{chunk-F5WASHQA.js → chunk-IMPILS7W.js} +8 -8
- package/{chunk-3GTVM7NJ.js → chunk-IRHXPNAX.js} +5 -5
- package/{chunk-BO3ARJRK.js → chunk-IWDCE5B5.js} +9 -9
- package/{chunk-FZYKQFBQ.js → chunk-J6JTTJQA.js} +2 -2
- package/{chunk-BMCPKNL2.js → chunk-JPQ5WKHS.js} +2 -2
- package/{chunk-FFHV45HO.js → chunk-L2JMH4I5.js} +3 -3
- package/{chunk-QZIOZDM6.js → chunk-NWM7G3VC.js} +2 -2
- package/{chunk-OWCHFPWR.js → chunk-NWUS6MP7.js} +4 -4
- package/{chunk-YR47Y7CN.js → chunk-PB4YPX7Z.js} +1 -1
- package/{chunk-2XDQAWBM.js → chunk-UUPXTEZA.js} +2 -2
- package/{chunk-O2IWR23M.js → chunk-W7FGZRLK.js} +1 -1
- package/{chunk-2ZYCNT2O.js → chunk-WTJABB6Y.js} +20 -10
- package/{chunk-VXS4YYJ2.js → chunk-WYJTNSVL.js} +1 -1
- package/{chunk-R2KWTENX.js → chunk-Y4LMOFDJ.js} +2 -2
- package/{chunk-QI2WVWXV.js → chunk-ZZDVBZOP.js} +1 -1
- package/{commandRegistry-HPL2KOVB.js → commandRegistry-5I4TSXV5.js} +40 -40
- package/{contentThunks-QBL5NK2W.js → contentThunks-NQ6DV434.js} +3 -3
- package/{createAgentAutomationAction-5UWBLR2N.js → createAgentAutomationAction-25SQL3JG.js} +3 -3
- package/{createDialogAction-NJ2LE7KC.js → createDialogAction-4BTIAXGB.js} +4 -4
- package/{createPageAction-7T3RINS2.js → createPageAction-FYOSL5UH.js} +3 -3
- package/{dialogCommands-KMECTGCW.js → dialogCommands-ZJRMCP4S.js} +7 -7
- package/{dialogSlice-GQMTD4HR.js → dialogSlice-6BOONGJJ.js} +2 -2
- package/{docCreateCommands-4IT5PUAL.js → docCreateCommands-KQHQNLRX.js} +6 -6
- package/{docDeleteCommands-QS66YNZV.js → docDeleteCommands-O3DWFX2W.js} +7 -7
- package/{docReadCommands-3SAI46YC.js → docReadCommands-2U2BUONC.js} +6 -6
- package/{docStore-PM5PYKPZ.js → docStore-HXC2EYZG.js} +1 -1
- package/{docUpdateCommands-OGYG5BRC.js → docUpdateCommands-MF3C52XI.js} +6 -6
- package/{handleSendMessageAction-EQ3U6K5N.js → handleSendMessageAction-PG3TKIG7.js} +7 -7
- package/index.js +3 -3
- package/{localRuntimeAdapter-74L7FLMW.js → localRuntimeAdapter-FMQGOKGG.js} +14 -14
- package/{machineCommands-BUZTMLYD.js → machineCommands-WBPIQBOD.js} +15 -15
- package/{machineWsRunDispatch-CCDVG5AO.js → machineWsRunDispatch-BSWQUOEW.js} +15 -15
- package/package.json +1 -1
- package/{readlineWorkspace-MS2ZIQ2P.js → readlineWorkspace-2HZ2LPZW.js} +20 -20
- package/{runAgentClientLoop-EXIQDX7G.js → runAgentClientLoop-DDAIRDFF.js} +13 -13
- package/{spaceCommands-WQMUCGV7.js → spaceCommands-NDPGHDMD.js} +6 -6
- package/{streamAgentChatTurn-DI2334G3.js → streamAgentChatTurn-3EBT25D2.js} +15 -15
- package/{tools-23VQGJOX.js → tools-CAJB3VTR.js} +9 -9
- package/{updateDialogTitleAction-AGAYHWS7.js → updateDialogTitleAction-RNSU7H63.js} +3 -3
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-QYPE3TS3.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FBBJ4LXN.js";
|
|
15
15
|
import {
|
|
16
16
|
getApproxPricePerImage
|
|
17
17
|
} from "./chunk-4JH2UMJR.js";
|
|
@@ -11062,7 +11062,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11062
11062
|
runtimeOptions: args.runtimeOptions
|
|
11063
11063
|
});
|
|
11064
11064
|
if (agentKeyToUse) {
|
|
11065
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11065
|
+
const { streamAgentChatTurn } = await import("./agentSlice-UPSZMNCZ.js");
|
|
11066
11066
|
await dispatch(
|
|
11067
11067
|
streamAgentChatTurn({
|
|
11068
11068
|
agentKey: agentKeyToUse,
|
|
@@ -13879,7 +13879,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13879
13879
|
}
|
|
13880
13880
|
if (isCurrentDialog) {
|
|
13881
13881
|
await thunkApi.dispatch(resetMsgs());
|
|
13882
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13882
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-6BOONGJJ.js");
|
|
13883
13883
|
dispatch(clearPendingAttachments2());
|
|
13884
13884
|
}
|
|
13885
13885
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13887,15 +13887,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13887
13887
|
|
|
13888
13888
|
// packages/chat/dialog/dialogSlice.ts
|
|
13889
13889
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13890
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13890
|
+
const { createDialogAction } = await import("./createDialogAction-4BTIAXGB.js");
|
|
13891
13891
|
return createDialogAction(args, thunkApi);
|
|
13892
13892
|
};
|
|
13893
13893
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13894
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13894
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-25SQL3JG.js");
|
|
13895
13895
|
return createAgentAutomationAction(args, thunkApi);
|
|
13896
13896
|
};
|
|
13897
13897
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13898
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13898
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-RNSU7H63.js");
|
|
13899
13899
|
return updateDialogTitleAction(args, thunkApi);
|
|
13900
13900
|
};
|
|
13901
13901
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13919,7 +13919,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13919
13919
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13920
13920
|
};
|
|
13921
13921
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13922
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13922
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-PG3TKIG7.js");
|
|
13923
13923
|
return handleSendMessageAction(args, thunkApi);
|
|
13924
13924
|
};
|
|
13925
13925
|
function clearDialogState() {
|
|
@@ -13932,7 +13932,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13932
13932
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13933
13933
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13934
13934
|
try {
|
|
13935
|
-
const { createDocState } = await import("./docStore-
|
|
13935
|
+
const { createDocState } = await import("./docStore-HXC2EYZG.js");
|
|
13936
13936
|
const pageKey = await createDocState(
|
|
13937
13937
|
{ slateData, title },
|
|
13938
13938
|
{ dispatch, getState }
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NWM7G3VC.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
selectSpaceContextLevel,
|
|
21
21
|
selectUserTonePreset,
|
|
22
22
|
uiCardFallback
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-F6THPP4J.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveToolBaseUrl
|
|
26
26
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
} from "./chunk-ZPKUJROL.js";
|
|
33
33
|
import {
|
|
34
34
|
getDocState
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Y4LMOFDJ.js";
|
|
36
36
|
import {
|
|
37
37
|
getTableState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PB4YPX7Z.js";
|
|
39
39
|
import {
|
|
40
40
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
41
41
|
buildPersonalizationDialogPolicyContext,
|
|
42
42
|
selectAllMsgs
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-IMPILS7W.js";
|
|
44
44
|
import {
|
|
45
45
|
getCurrentSpaceIdRaw,
|
|
46
46
|
getViewMode
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
OAUTH_PROVIDER_REFS,
|
|
25
25
|
buildLocalAgentLookupKeys
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BL4HFN6L.js";
|
|
27
27
|
import {
|
|
28
28
|
LOCAL_CODEX_AGENT_ID,
|
|
29
29
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
inlineImageUrlsForCustomProvider,
|
|
66
66
|
prepareTools
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-BRLQX6PB.js";
|
|
68
68
|
import {
|
|
69
69
|
getServerProviderSecret
|
|
70
70
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -86,18 +86,18 @@ import {
|
|
|
86
86
|
resolveCliLocalRuntimeKeyCapability,
|
|
87
87
|
resolveCliLocalSpawnDispatch,
|
|
88
88
|
resolveStartAgentRunCwd
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-WTJABB6Y.js";
|
|
90
90
|
import {
|
|
91
91
|
deriveCredentialGroup,
|
|
92
92
|
deriveCustomProviderCredentialGroup
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-WYJTNSVL.js";
|
|
94
94
|
import {
|
|
95
95
|
fetchWithTransientRetry,
|
|
96
96
|
isTransientFetchError
|
|
97
97
|
} from "./chunk-KFHREHUQ.js";
|
|
98
98
|
import {
|
|
99
99
|
resolveAgentRequiredPackIds
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-F6THPP4J.js";
|
|
101
101
|
import {
|
|
102
102
|
applyBuiltinAgentRuntimeOverride,
|
|
103
103
|
applyTokenUsageToDayStats,
|
|
@@ -106,14 +106,14 @@ import {
|
|
|
106
106
|
resolveBuiltinPlatformAgentConfig,
|
|
107
107
|
runKeyed,
|
|
108
108
|
validateAskChoiceInput
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-IMPILS7W.js";
|
|
110
110
|
import {
|
|
111
111
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
112
112
|
BUILTIN_TITLE_LLM_CONFIG
|
|
113
113
|
} from "./chunk-523DITKR.js";
|
|
114
114
|
import {
|
|
115
115
|
fetchServerSyncedCredential
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-FBBJ4LXN.js";
|
|
117
117
|
import {
|
|
118
118
|
isTombstoneRecord
|
|
119
119
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
runExecShellGates,
|
|
171
171
|
validateConfiguredRootExecutionLease,
|
|
172
172
|
verifyOwnerRouteAck
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-5E5VB7PS.js";
|
|
174
174
|
import {
|
|
175
175
|
accumulateGeminiChunks,
|
|
176
176
|
buildGeminiGenerateContentRequest,
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
buildNoloWorkspaceOpenAiTools,
|
|
216
216
|
parseNoloWorkspaceToolArguments,
|
|
217
217
|
resolveRuntimeToolSurfaceForAgent
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-3M52COK5.js";
|
|
219
219
|
import {
|
|
220
220
|
mergeAvailabilityDeadline,
|
|
221
221
|
resolveAvailabilityAction,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NWM7G3VC.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IMPILS7W.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-62TBKWTV.js";
|
|
7
7
|
import {
|
|
8
8
|
clearCliLocalRuntimePreparedAgentCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IWDCE5B5.js";
|
|
10
10
|
import {
|
|
11
11
|
readCredentialAvailability
|
|
12
12
|
} from "./chunk-6MXDOUMH.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveAgentRecordFromHybridStore,
|
|
20
20
|
sanitizeAgentRecordForCliOutput,
|
|
21
21
|
writeAgentRecord
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5IKRTRRR.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCliAgentKeyInput
|
|
25
25
|
} from "./chunk-NBTY7YJF.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W7FGZRLK.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5IKRTRRR.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WYJTNSVL.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-F6THPP4J.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-IMPILS7W.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IWDCE5B5.js";
|
|
5
5
|
import {
|
|
6
6
|
t
|
|
7
7
|
} from "./chunk-2AB2HA4M.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F6THPP4J.js";
|
|
11
11
|
import {
|
|
12
12
|
runLocalAgentTurn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5E5VB7PS.js";
|
|
14
14
|
import {
|
|
15
15
|
applyToolSurfaceConstraints
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3M52COK5.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveLocalRuntimeEnvFromPolicy
|
|
19
19
|
} from "./chunk-LIQJTQRN.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W7FGZRLK.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
boundSummaryText,
|
|
33
33
|
buildDialogReadEnvelope,
|
|
34
34
|
projectDialogReadForAgent
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3M52COK5.js";
|
|
36
36
|
import {
|
|
37
37
|
asRecordOrEmpty
|
|
38
38
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assembleAgentDiscoveryResult,
|
|
3
3
|
resolveDiscoveryScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WYJTNSVL.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWithTransientRetry
|
|
7
7
|
} from "./chunk-KFHREHUQ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
toolRunUpdated,
|
|
21
21
|
uiCardFallback,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-F6THPP4J.js";
|
|
24
24
|
import {
|
|
25
25
|
isGatewayHttpStatus
|
|
26
26
|
} from "./chunk-NF64D32W.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-VF4K2QE6.js";
|
|
65
65
|
import {
|
|
66
66
|
createDocState
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-Y4LMOFDJ.js";
|
|
68
68
|
import {
|
|
69
69
|
addMemberSpace,
|
|
70
70
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-BAWAKW7X.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-6B7KDQ2S.js";
|
|
83
83
|
import {
|
|
84
84
|
setDialogExtraReferencesAction
|
|
85
85
|
} from "./chunk-IF7V3CBU.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-PB4YPX7Z.js";
|
|
106
106
|
import {
|
|
107
107
|
buildDatabaseFileContentUrl,
|
|
108
108
|
deleteDialog,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
selectMsgById,
|
|
116
116
|
uiAskChoiceFunc,
|
|
117
117
|
uiAskChoiceFunctionSchema
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-IMPILS7W.js";
|
|
119
119
|
import {
|
|
120
120
|
buildMediaToolConfirmation,
|
|
121
121
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-FBBJ4LXN.js";
|
|
130
130
|
import {
|
|
131
131
|
getCurrentSpaceId,
|
|
132
132
|
getCurrentSpaceIdRaw,
|
|
@@ -225,10 +225,11 @@ import {
|
|
|
225
225
|
normalizeNoloExcludeDialogIds,
|
|
226
226
|
normalizeNoloSpaceInput,
|
|
227
227
|
redactAgentRecordForWorkspaceTool,
|
|
228
|
+
resolveDispatchedSubtaskBudget,
|
|
228
229
|
resolveNoloDialogInput,
|
|
229
230
|
resolveReadOnlyToolConstraints,
|
|
230
231
|
verifyNoloDialogSubjectRefQuery
|
|
231
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-3M52COK5.js";
|
|
232
233
|
import {
|
|
233
234
|
clipCompactText
|
|
234
235
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -3881,7 +3882,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3881
3882
|
const deletedDialogIds = [];
|
|
3882
3883
|
const deletedDialogKeys = [];
|
|
3883
3884
|
const failures = [];
|
|
3884
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3885
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-6BOONGJJ.js");
|
|
3885
3886
|
for (const target of targets) {
|
|
3886
3887
|
try {
|
|
3887
3888
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -13572,6 +13573,7 @@ var runAgentBackground = createAsyncThunk("agent/runBackground", async (args, {
|
|
|
13572
13573
|
idempotencyKey,
|
|
13573
13574
|
...parentDialogId ? { parentDialogId } : {},
|
|
13574
13575
|
...runtimeKey ? { runtimeKey } : {},
|
|
13576
|
+
...args.subtaskBudgetLimits ? { subtaskBudgetLimits: args.subtaskBudgetLimits } : {},
|
|
13575
13577
|
...ephemeral ? { ephemeral: true } : {},
|
|
13576
13578
|
...runKind ? { runKind } : {},
|
|
13577
13579
|
runtimeContext: {
|
|
@@ -14205,6 +14207,10 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14205
14207
|
if (!verdict.allowed) throw new Error(verdict.message);
|
|
14206
14208
|
}
|
|
14207
14209
|
const content = buildDelegatedTaskContent(task, input);
|
|
14210
|
+
const dispatchedSubtaskBudget = resolveDispatchedSubtaskBudget({
|
|
14211
|
+
...typeof args.maxToolCalls === "number" ? { maxToolCalls: args.maxToolCalls } : {},
|
|
14212
|
+
...typeof args.maxWallClockMs === "number" ? { maxWallClockMs: args.maxWallClockMs } : {}
|
|
14213
|
+
});
|
|
14208
14214
|
const payloadMetrics = calculateDelegatedPayloadMetrics(task, input, content);
|
|
14209
14215
|
const activeDialogKey = getActiveDialogKey();
|
|
14210
14216
|
const explicitParentDialogId = typeof args.parentDialogId === "string" && args.parentDialogId.trim() ? args.parentDialogId.includes("-") ? extractCustomId(args.parentDialogId) : args.parentDialogId.trim() : void 0;
|
|
@@ -14227,6 +14233,8 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14227
14233
|
runKind: "subtask",
|
|
14228
14234
|
runTitle: title,
|
|
14229
14235
|
runtimeKey: "local",
|
|
14236
|
+
// 已解析的硬预算(子 run 只消费,不再自行读 env)。
|
|
14237
|
+
subtaskBudgetLimits: dispatchedSubtaskBudget.limits,
|
|
14230
14238
|
allowHostWrites: true,
|
|
14231
14239
|
...args.readOnly === true ? { readOnly: true } : {},
|
|
14232
14240
|
...parentDialogId ? { parentDialogId } : {}
|
|
@@ -14241,6 +14249,8 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14241
14249
|
waitForCompletion: wait === true,
|
|
14242
14250
|
runKind: "subtask",
|
|
14243
14251
|
runTitle: title,
|
|
14252
|
+
// 已解析的硬预算(子 run 只消费,不再自行读 env)。
|
|
14253
|
+
subtaskBudgetLimits: dispatchedSubtaskBudget.limits,
|
|
14244
14254
|
...args.readOnly === true ? { readOnly: true } : {},
|
|
14245
14255
|
...parentDialogId ? { parentDialogId } : {},
|
|
14246
14256
|
...runtimeKey ? { runtimeKey } : {}
|
|
@@ -18463,7 +18473,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18463
18473
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18464
18474
|
};
|
|
18465
18475
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18466
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18476
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-HXC2EYZG.js");
|
|
18467
18477
|
if (getDocState().pageKey === id) {
|
|
18468
18478
|
applyExternalDocUpdate({
|
|
18469
18479
|
slateData: finalSlateData,
|
|
@@ -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-NQ6DV434.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-FYOSL5UH.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|