nolo-cli 0.209.0-alpha.1 → 0.210.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-C4BBPBMI.js → _executeModel-VVQEOY3D.js} +26 -26
- package/{action-HNG2JKWK.js → action-U235TV4P.js} +3 -3
- package/{addContentAction-FEN3H2EE.js → addContentAction-7C76J7ST.js} +6 -6
- package/{addDialogAgentAction-DDA6S3WS.js → addDialogAgentAction-KTYANUEC.js} +5 -5
- package/{agentDeleteCommand-WUCCLXRY.js → agentDeleteCommand-WHRU6VDJ.js} +38 -38
- package/{agentEmailCommands-S3TIFYYC.js → agentEmailCommands-ALLHXPW3.js} +38 -38
- package/{agentListCommands-AZX2PX4F.js → agentListCommands-POKMEKMS.js} +10 -10
- package/{agentMachineCommands-YYYQWXPK.js → agentMachineCommands-WJLZLBPI.js} +8 -8
- package/{agentRecordCommands-KA42VBIY.js → agentRecordCommands-OULZW3KM.js} +35 -35
- package/{agentRunCommand-AKFBUJY5.js → agentRunCommand-ZNG4LGNQ.js} +40 -40
- package/{agentRuntimeLocal-YP5JION7.js → agentRuntimeLocal-YMUHFV5M.js} +7 -7
- package/{agentSlice-HFQKZPGI.js → agentSlice-WNGUIMQZ.js} +6 -6
- package/{appDeleteCommands-TGZMTUXA.js → appDeleteCommands-6MXPLAVF.js} +7 -7
- package/{appDeployCommands-527YN47H.js → appDeployCommands-ERRSVASW.js} +7 -7
- package/{appDeployStatusCommands-KUSAKEME.js → appDeployStatusCommands-ULICISLI.js} +7 -7
- package/{appGetCommands-5KUXJ4VE.js → appGetCommands-WYYYWROF.js} +7 -7
- package/{appListCommands-FJDBOSMG.js → appListCommands-DFCUCRCV.js} +7 -7
- package/{authCommand-AUP7FHGM.js → authCommand-ZJMWXFMA.js} +6 -6
- package/{chunk-GTQFLOYM.js → chunk-25M2K6OA.js} +2 -2
- package/{createPageAction-AO5OKX3T.js → chunk-3J3U3KXB.js} +9 -69
- package/{chunk-MOCY5LJI.js → chunk-4WCEC56C.js} +2 -2
- package/{chunk-UAOZTOFA.js → chunk-5ORJGHTL.js} +3 -3
- package/{chunk-ZKF7ZGN6.js → chunk-7IYBN7IA.js} +4 -4
- package/{chunk-IQ52JEVT.js → chunk-ADBWFYJD.js} +5 -5
- package/{chunk-HWZT5DKX.js → chunk-BSISWVB4.js} +1 -1
- package/chunk-C6KNNXWU.js +185 -0
- package/{chunk-QAYCF4CH.js → chunk-DQLB4NQ3.js} +2 -2
- package/{chunk-CTZ4O3XD.js → chunk-F6UUQOG6.js} +1 -1
- package/{chunk-WYKMOZTW.js → chunk-HD3WR3TD.js} +1 -1
- package/{chunk-RXUKDHS5.js → chunk-IIHY4ZAI.js} +1 -1
- package/{chunk-5P5RH265.js → chunk-JKW6LERJ.js} +12 -12
- package/{chunk-WYOJXAIC.js → chunk-LT3EAHJY.js} +33 -33
- package/{chunk-GWXL4KVM.js → chunk-M4NTDZG3.js} +30 -30
- package/{chunk-JBFZMJ4J.js → chunk-MBS6CTZB.js} +18 -18
- package/{chunk-BXLWFS62.js → chunk-NHQKWPLP.js} +20 -12
- package/{chunk-T3U2KQF4.js → chunk-NLT32XBZ.js} +3 -3
- package/{chunk-W4MOO6XC.js → chunk-NV572QM3.js} +9 -2
- package/{chunk-Z3MQYKRN.js → chunk-NXCGNS4N.js} +2 -2
- package/{chunk-B2WYM23T.js → chunk-OP7PTBAJ.js} +4 -4
- package/{chunk-6K2AKJAD.js → chunk-PAFTGNWA.js} +2 -2
- package/{chunk-GL7W7TTR.js → chunk-QQM464AL.js} +2 -2
- package/{chunk-SOEYACRP.js → chunk-RXCCWVA2.js} +2 -2
- package/{chunk-KULR4QDX.js → chunk-RYWO5AKN.js} +6 -6
- package/{chunk-V77PUU5T.js → chunk-SCYQJPGA.js} +1 -1
- package/{chunk-32GANJHJ.js → chunk-UCPAVEQB.js} +1 -1
- package/{chunk-OHYCQKPW.js → chunk-UMEGDH6A.js} +6 -6
- package/{chunk-TZFDJZLM.js → chunk-V3M6IXQI.js} +31 -31
- package/{chunk-W7DFYXGQ.js → chunk-WI6OGHXJ.js} +1 -1
- package/{chunk-GITM3OZS.js → chunk-YKFP6UGT.js} +20 -11
- package/{chunk-JYL7LFKD.js → chunk-YLTLB5A7.js} +3 -3
- package/{chunk-GHSXAOWH.js → chunk-ZN5AH4BY.js} +5 -5
- package/{chunk-2VDB25VM.js → chunk-ZOO3WJIE.js} +15 -15
- package/{commandRegistry-DYVXLHEI.js → commandRegistry-FI2IOQ3U.js} +58 -58
- package/{contentThunks-E4QWF36P.js → contentThunks-5LKNNDGY.js} +12 -12
- package/{createAgentAutomationAction-NS3WKF2O.js → createAgentAutomationAction-TI4QG4CY.js} +12 -12
- package/{createDialogAction-UG2SNRXX.js → createDialogAction-TJ3JKLO4.js} +13 -13
- package/createPageAction-GKXT6WEH.js +80 -0
- package/{dbSlice-JK7LWBDO.js → dbSlice-LPMZ2DGJ.js} +5 -5
- package/{deleteFile-CE24BROO.js → deleteFile-EPUQHKPA.js} +3 -3
- package/desktopFolderProjects-SFY5EZS3.js +45 -0
- package/{dialogCommands-T7KQMAQO.js → dialogCommands-IWPXIZ5P.js} +7 -7
- package/{dialogSlice-ZR5REV4T.js → dialogSlice-ZWNNS7GZ.js} +10 -10
- package/{docCreateCommands-L3ZCQ7XR.js → docCreateCommands-HFSPKJSI.js} +7 -7
- package/{docDeleteCommands-HUG57JRT.js → docDeleteCommands-CRL62POH.js} +7 -7
- package/{docReadCommands-BYMKBKNL.js → docReadCommands-QOTOX3XW.js} +7 -7
- package/{docStore-XWLUIDGI.js → docStore-WYLRB7ED.js} +6 -6
- package/{docUpdateCommands-JHJDZRII.js → docUpdateCommands-7BMH4MCA.js} +7 -7
- package/{handleSendMessageAction-OSA5S6SH.js → handleSendMessageAction-P27YP2DQ.js} +62 -25
- package/index.js +4 -4
- package/{localRuntimeAdapter-D3C4PG66.js → localRuntimeAdapter-GP6ZSSO3.js} +34 -34
- package/{machineCommands-MSY2I3CV.js → machineCommands-6Z6H4BFX.js} +39 -39
- package/{machineWsRunDispatch-JQQ35APL.js → machineWsRunDispatch-F2ZIXMYM.js} +35 -35
- package/{memberThunks-WT2KVRP4.js → memberThunks-YSEFJF47.js} +6 -6
- package/package.json +1 -1
- package/projectArchive-PIGEOX3D.js +121 -0
- package/{read-ILTT75DW.js → read-DIIQBOOO.js} +3 -3
- package/{readDocTool-374CFJYO.js → readDocTool-HXYGOEA7.js} +1 -1
- package/{readlineWorkspace-IPCX6XLM.js → readlineWorkspace-UG25G7KC.js} +53 -53
- package/{removeDialogAgentAction-UQFCQO6L.js → removeDialogAgentAction-ALJDUJ2E.js} +7 -7
- package/{runAgentClientLoop-Z63BHKC2.js → runAgentClientLoop-IO5F7TCZ.js} +24 -24
- package/{setDialogExtraReferencesAction-GBIT7WAG.js → setDialogExtraReferencesAction-O3SVMD5A.js} +6 -6
- package/{setPrimaryDialogAgentAction-23PMBXWD.js → setPrimaryDialogAgentAction-HE7RVFFF.js} +7 -7
- package/{settingThunks-SWYDFUYT.js → settingThunks-BWWJQG4L.js} +5 -5
- package/{skillDiscovery-BKLWW2EZ.js → skillDiscovery-XKHROSH2.js} +2 -2
- package/{spaceCommands-BKEULUSP.js → spaceCommands-UAELIFEI.js} +7 -7
- package/{streamAgentChatTurn-BCOVALCO.js → streamAgentChatTurn-VUKZQYJR.js} +68 -53
- package/{switchDialogAgentAction-O7WTPLKG.js → switchDialogAgentAction-3VZS7SOS.js} +5 -5
- package/{tableCommands-QYB64L5I.js → tableCommands-D7WR4QSM.js} +1 -1
- package/{tools-56LSBUVX.js → tools-VRXJAVYI.js} +21 -21
- package/{tuiSummaryLlmCaller-4QCQ2TIN.js → tuiSummaryLlmCaller-TGCHZLSW.js} +2 -2
- package/{updateDialogTitleAction-BFBSDYW2.js → updateDialogTitleAction-MULWCJCW.js} +12 -12
- package/{chunk-6Q7UTJKR.js → chunk-AGP3YSEC.js} +0 -0
- package/{chunk-SZ4ADZFT.js → chunk-LNYHAKBP.js} +3 -3
- package/{chunk-3QKILTO3.js → chunk-NTSRCTUX.js} +3 -3
- package/{chunk-3IBHFELR.js → chunk-TCTSYFDM.js} +3 -3
- package/{chunk-CMLBKYEI.js → chunk-ZRSNONOB.js} +0 -0
- package/{workloadLifecycle-JA75D6JR.js → workloadLifecycle-4BEQHMSD.js} +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectCurrentServer,
|
|
3
3
|
selectRemoteServers
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BSISWVB4.js";
|
|
5
5
|
import {
|
|
6
6
|
noloDeleteRequest,
|
|
7
7
|
noloWriteRequest
|
|
8
8
|
} from "./chunk-X4F26D5K.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizeTimeFields
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AGP3YSEC.js";
|
|
12
12
|
import {
|
|
13
13
|
selectIdentityUser,
|
|
14
14
|
selectIdentityUserId
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZN5AH4BY.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MBS6CTZB.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-VF4K2QE6.js";
|
|
14
14
|
import {
|
|
15
15
|
setDialogExtraReferencesAction
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IIHY4ZAI.js";
|
|
17
17
|
import {
|
|
18
18
|
fetchAndCacheTableRows
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NHQKWPLP.js";
|
|
20
20
|
import {
|
|
21
21
|
createSpaceKey
|
|
22
22
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
} from "./chunk-YDH3FDFQ.js";
|
|
29
29
|
import {
|
|
30
30
|
selectById
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-UMEGDH6A.js";
|
|
32
32
|
import {
|
|
33
33
|
selectRuntimeSnapshot
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UCPAVEQB.js";
|
|
35
35
|
import {
|
|
36
36
|
createAsyncThunk,
|
|
37
37
|
createSelector
|
|
@@ -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-VRXJAVYI.js");
|
|
787
787
|
const { executor } = findToolExecutor(run.toolName);
|
|
788
788
|
toolRunStarted({
|
|
789
789
|
id: run.id,
|
|
@@ -807,7 +807,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
807
807
|
const latestState = thunkApi.getState();
|
|
808
808
|
const userId = selectIdentityUserId(latestState);
|
|
809
809
|
if (userId) {
|
|
810
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
810
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-YSEFJF47.js");
|
|
811
811
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
812
812
|
}
|
|
813
813
|
}
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
loadFileFromIndexedDb,
|
|
7
7
|
removeAction,
|
|
8
8
|
saveFileToIndexedDb
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4WCEC56C.js";
|
|
10
10
|
import {
|
|
11
11
|
readAction,
|
|
12
12
|
readRequestManager,
|
|
13
13
|
resolveAgentReadServers
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PAFTGNWA.js";
|
|
15
15
|
import {
|
|
16
16
|
beginWriteAck,
|
|
17
17
|
compareRemoteRecordsByComparableTime,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
shouldReplaceLocalWithRemoteRecord,
|
|
29
29
|
shouldReplicateLocalRecord,
|
|
30
30
|
uploadToCurrentServer
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-UCPAVEQB.js";
|
|
32
32
|
import {
|
|
33
33
|
asyncThunkCreator,
|
|
34
34
|
buildCreateSlice,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
fetchFromServer,
|
|
41
41
|
logger,
|
|
42
42
|
normalizeTimeFields
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AGP3YSEC.js";
|
|
44
44
|
import {
|
|
45
45
|
isTombstoneRecord
|
|
46
46
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -708,7 +708,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
708
708
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
709
709
|
read: create.asyncThunk(
|
|
710
710
|
async (payload, thunkApi) => {
|
|
711
|
-
const { readAction: readAction2 } = await import("./read-
|
|
711
|
+
const { readAction: readAction2 } = await import("./read-DIIQBOOO.js");
|
|
712
712
|
return readAction2(payload, thunkApi);
|
|
713
713
|
},
|
|
714
714
|
{
|
|
@@ -782,7 +782,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
782
782
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
783
783
|
share: create.asyncThunk(
|
|
784
784
|
async (config, thunkApi) => {
|
|
785
|
-
const { shareResourceAction } = await import("./action-
|
|
785
|
+
const { shareResourceAction } = await import("./action-U235TV4P.js");
|
|
786
786
|
return shareResourceAction(config, thunkApi);
|
|
787
787
|
}
|
|
788
788
|
),
|
|
@@ -9,7 +9,21 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WI6OGHXJ.js";
|
|
13
|
+
import {
|
|
14
|
+
_appendEntityBatch,
|
|
15
|
+
_appendEvidenceBatch,
|
|
16
|
+
_appendRelationBatch,
|
|
17
|
+
_appendRetiredStateBatch,
|
|
18
|
+
_appendStateBatch,
|
|
19
|
+
getMemoryEntityVNext,
|
|
20
|
+
getMemoryEvidenceVNext,
|
|
21
|
+
getMemoryEvidenceVNextStrict,
|
|
22
|
+
getMemoryStateVNext,
|
|
23
|
+
listMemoryStatesForEntityVNext,
|
|
24
|
+
loadMemoryVNextCatalog,
|
|
25
|
+
putMemoryEvidenceVNext
|
|
26
|
+
} from "./chunk-TY3TIUJK.js";
|
|
13
27
|
import {
|
|
14
28
|
parsePositiveFiniteNumberOrFallback
|
|
15
29
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -20,6 +34,9 @@ import {
|
|
|
20
34
|
readDbRecord,
|
|
21
35
|
resolveAgentRecordFromHybridStore
|
|
22
36
|
} from "./chunk-XDMGY5IU.js";
|
|
37
|
+
import {
|
|
38
|
+
resolveMachineId
|
|
39
|
+
} from "./chunk-S73EPYNC.js";
|
|
23
40
|
import {
|
|
24
41
|
INSTABOX_RUN_CONFIG_ENV,
|
|
25
42
|
createCliLocalRuntimeAdapter,
|
|
@@ -38,7 +55,7 @@ import {
|
|
|
38
55
|
resolveFileWriteGateEnabled,
|
|
39
56
|
resolveLocalUserId,
|
|
40
57
|
validateInstaboxWorkspaceSelection
|
|
41
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-M4NTDZG3.js";
|
|
42
59
|
import {
|
|
43
60
|
clearCredentialAvailability,
|
|
44
61
|
readEffectiveCredentialEntry,
|
|
@@ -47,39 +64,22 @@ import {
|
|
|
47
64
|
import {
|
|
48
65
|
isLocalCliAgentKey
|
|
49
66
|
} from "./chunk-NBTY7YJF.js";
|
|
50
|
-
import {
|
|
51
|
-
_appendEntityBatch,
|
|
52
|
-
_appendEvidenceBatch,
|
|
53
|
-
_appendRelationBatch,
|
|
54
|
-
_appendRetiredStateBatch,
|
|
55
|
-
_appendStateBatch,
|
|
56
|
-
getMemoryEntityVNext,
|
|
57
|
-
getMemoryEvidenceVNext,
|
|
58
|
-
getMemoryEvidenceVNextStrict,
|
|
59
|
-
getMemoryStateVNext,
|
|
60
|
-
listMemoryStatesForEntityVNext,
|
|
61
|
-
loadMemoryVNextCatalog,
|
|
62
|
-
putMemoryEvidenceVNext
|
|
63
|
-
} from "./chunk-TY3TIUJK.js";
|
|
64
|
-
import {
|
|
65
|
-
resolveMachineId
|
|
66
|
-
} from "./chunk-S73EPYNC.js";
|
|
67
67
|
import {
|
|
68
68
|
CliProviderQuotaError
|
|
69
69
|
} from "./chunk-VL5KOY2C.js";
|
|
70
|
-
import {
|
|
71
|
-
extractGoogleValidationLink
|
|
72
|
-
} from "./chunk-BMQ2MJUK.js";
|
|
73
70
|
import {
|
|
74
71
|
resolveCliLocalRuntimeKeyCapability
|
|
75
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-LT3EAHJY.js";
|
|
76
73
|
import {
|
|
77
74
|
isTransientFetchError
|
|
78
75
|
} from "./chunk-KFHREHUQ.js";
|
|
76
|
+
import {
|
|
77
|
+
extractGoogleValidationLink
|
|
78
|
+
} from "./chunk-BMQ2MJUK.js";
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-RYWO5AKN.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-7IYBN7IA.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-MBS6CTZB.js";
|
|
100
100
|
import {
|
|
101
101
|
isCliAuthorityBrokerProtocolError,
|
|
102
102
|
isCliAuthorityBrokerTimeoutError,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
} from "./chunk-AZMYUSVF.js";
|
|
108
108
|
import {
|
|
109
109
|
buildSkillDiscoveryContextLayer
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-F6UUQOG6.js";
|
|
111
111
|
import {
|
|
112
112
|
parseExternalSkillMarkdown,
|
|
113
113
|
parseSkillDocProtocol
|
|
@@ -116,10 +116,10 @@ import {
|
|
|
116
116
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
117
117
|
LOCAL_TURN_ABORTED_CODE,
|
|
118
118
|
readActionGate
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-ZOO3WJIE.js";
|
|
120
120
|
import {
|
|
121
121
|
resolveAgentRuntimeConfigFromRecord
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-LNYHAKBP.js";
|
|
123
123
|
import {
|
|
124
124
|
createThinkParserState,
|
|
125
125
|
flushThinkParser,
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
buildMemoryUseGuidanceLayer,
|
|
167
167
|
partitionScopedBlocks,
|
|
168
168
|
renderTurnContextBlocksWithScope
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-ZRSNONOB.js";
|
|
170
170
|
import {
|
|
171
171
|
BUILTIN_NOLO_AGENT_KEY,
|
|
172
172
|
BUILTIN_NOLO_AGENT_NAME,
|
|
@@ -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-YMUHFV5M.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();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZN5AH4BY.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-RYWO5AKN.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-YLTLB5A7.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveToolBaseUrl
|
|
31
31
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -37,23 +37,23 @@ import {
|
|
|
37
37
|
} from "./chunk-A2ZMIRLN.js";
|
|
38
38
|
import {
|
|
39
39
|
getTableState
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
getCurrentSpaceIdRaw,
|
|
43
|
-
getViewMode
|
|
44
|
-
} from "./chunk-5XBUWM6I.js";
|
|
40
|
+
} from "./chunk-NHQKWPLP.js";
|
|
45
41
|
import {
|
|
46
42
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
47
43
|
buildPersonalizationDialogPolicyContext,
|
|
48
44
|
selectAllMsgs
|
|
49
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MBS6CTZB.js";
|
|
46
|
+
import {
|
|
47
|
+
getCurrentSpaceIdRaw,
|
|
48
|
+
getViewMode
|
|
49
|
+
} from "./chunk-5XBUWM6I.js";
|
|
50
50
|
import {
|
|
51
51
|
selectPendingFiles
|
|
52
52
|
} from "./chunk-OWYYDMGJ.js";
|
|
53
53
|
import {
|
|
54
54
|
read,
|
|
55
55
|
selectById
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-UMEGDH6A.js";
|
|
57
57
|
import {
|
|
58
58
|
getSessionSnapshotForState,
|
|
59
59
|
selectIdentityUserBalance,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
import {
|
|
93
93
|
buildLinkedSpacesSection,
|
|
94
94
|
buildSpaceContextLayer
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-ZRSNONOB.js";
|
|
96
96
|
import {
|
|
97
97
|
canonicalizeToolNames,
|
|
98
98
|
prioritizeToolNames
|
|
@@ -1500,6 +1500,14 @@ var mergeContexts = (staticCtx, dynamicCtx) => ({
|
|
|
1500
1500
|
dialogSummary: dynamicCtx.dialogSummary,
|
|
1501
1501
|
referenceKeys: dynamicCtx.referenceKeys
|
|
1502
1502
|
});
|
|
1503
|
+
var withRequestContextBlocks = (contexts, blocks) => {
|
|
1504
|
+
const cleaned = (Array.isArray(blocks) ? blocks : []).map((block) => typeof block === "string" ? block.trim() : "").filter((block) => block.length > 0);
|
|
1505
|
+
if (cleaned.length === 0) return contexts;
|
|
1506
|
+
return {
|
|
1507
|
+
...contexts,
|
|
1508
|
+
requestContextBlocks: [...contexts.requestContextBlocks ?? [], ...cleaned]
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1503
1511
|
var mergeAgentToolsWithRuntime = (agentConfig, referencedTools, mentionedTools, runtimeOptions, state, accountSkillRuntime) => {
|
|
1504
1512
|
const userSkills = agentConfig.runtimePromptAlreadyInMessages ? null : accountSkillRuntime;
|
|
1505
1513
|
const userSkillPromptPatches = userSkills?.skillPromptPatches ?? [];
|
|
@@ -1883,6 +1891,7 @@ export {
|
|
|
1883
1891
|
buildStaticContexts,
|
|
1884
1892
|
buildDynamicContexts,
|
|
1885
1893
|
mergeContexts,
|
|
1894
|
+
withRequestContextBlocks,
|
|
1886
1895
|
mergeAgentToolsWithRuntime,
|
|
1887
1896
|
applyImageConfigRuntimeOverride,
|
|
1888
1897
|
resolveImageGenerationStreamingState,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
patch,
|
|
9
9
|
readAndWait
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UMEGDH6A.js";
|
|
11
11
|
import {
|
|
12
12
|
toErrorMessage
|
|
13
13
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -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-5LKNNDGY.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-GKXT6WEH.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RYWO5AKN.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -15,22 +15,22 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
resolvePageReadMarkdown,
|
|
17
17
|
slateToSimplifiedMarkdown
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HD3WR3TD.js";
|
|
19
19
|
import {
|
|
20
20
|
extractCategorizedMentions
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MBS6CTZB.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
28
28
|
import {
|
|
29
29
|
read
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UMEGDH6A.js";
|
|
31
31
|
import {
|
|
32
32
|
getRuntimeServerContext
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-UCPAVEQB.js";
|
|
34
34
|
import {
|
|
35
35
|
extractRuntimePageCapabilities,
|
|
36
36
|
resolveBuiltinSkillPage,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEVIN_CONNECT_URL,
|
|
3
3
|
parseSseDataLineJson,
|
|
4
4
|
parseSseDataLineObject
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NTSRCTUX.js";
|
|
6
6
|
import {
|
|
7
7
|
applyChatCompletionDelta,
|
|
8
8
|
applyResponsesToolEvent,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
flushChatCompletionStream,
|
|
12
12
|
providerHttpFailure,
|
|
13
13
|
throwIfChatCompletionStreamFailed
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TCTSYFDM.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-HNUWUO75.js";
|
|
@@ -29,16 +29,7 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
hasImageInRuntimeMessages,
|
|
31
31
|
stripImagePartsFromMessages
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
clipToolText,
|
|
35
|
-
resolveHistoricalToolContentCap,
|
|
36
|
-
resolveToolOutputProfile
|
|
37
|
-
} from "./chunk-2WZXXAQD.js";
|
|
38
|
-
import {
|
|
39
|
-
resolveAgentImageInputSupport,
|
|
40
|
-
resolveToolImagePolicy
|
|
41
|
-
} from "./chunk-DA7CTWT4.js";
|
|
32
|
+
} from "./chunk-LNYHAKBP.js";
|
|
42
33
|
import {
|
|
43
34
|
applyShapingCounts,
|
|
44
35
|
attachProjectionFacts,
|
|
@@ -133,6 +124,15 @@ import {
|
|
|
133
124
|
readTextStreamUpToChars,
|
|
134
125
|
resolveNoloDialogInput
|
|
135
126
|
} from "./chunk-6HVBI6TI.js";
|
|
127
|
+
import {
|
|
128
|
+
clipToolText,
|
|
129
|
+
resolveHistoricalToolContentCap,
|
|
130
|
+
resolveToolOutputProfile
|
|
131
|
+
} from "./chunk-2WZXXAQD.js";
|
|
132
|
+
import {
|
|
133
|
+
resolveAgentImageInputSupport,
|
|
134
|
+
resolveToolImagePolicy
|
|
135
|
+
} from "./chunk-DA7CTWT4.js";
|
|
136
136
|
import {
|
|
137
137
|
buildDialogFallbackTitleFromUserInput
|
|
138
138
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
} from "./chunk-7DPNBQSV.js";
|
|
185
185
|
import {
|
|
186
186
|
buildDialogSummaryLayer
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-ZRSNONOB.js";
|
|
188
188
|
import {
|
|
189
189
|
buildUserResponseLanguageContext
|
|
190
190
|
} from "./chunk-4VJAC32I.js";
|
|
@@ -21977,7 +21977,7 @@ function buildLoadSkillExecutor(args2) {
|
|
|
21977
21977
|
metadata: { loadSkill: true, resolved: false }
|
|
21978
21978
|
};
|
|
21979
21979
|
}
|
|
21980
|
-
const { resolveSkillByName } = await import("./skillDiscovery-
|
|
21980
|
+
const { resolveSkillByName } = await import("./skillDiscovery-XKHROSH2.js");
|
|
21981
21981
|
const resolved = resolveSkillByName(args2.cwd, name);
|
|
21982
21982
|
if (!resolved) {
|
|
21983
21983
|
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-HH75G5J3.js");
|
|
@@ -22103,7 +22103,7 @@ ${body}`,
|
|
|
22103
22103
|
}
|
|
22104
22104
|
}
|
|
22105
22105
|
async function formatUnknownSkillMessage(cwd, requestedName) {
|
|
22106
|
-
const { discoverSkills } = await import("./skillDiscovery-
|
|
22106
|
+
const { discoverSkills } = await import("./skillDiscovery-XKHROSH2.js");
|
|
22107
22107
|
let available = [];
|
|
22108
22108
|
try {
|
|
22109
22109
|
available = discoverSkills(cwd).map((s) => s.name);
|