nolo-cli 0.30.0-alpha.9 → 0.30.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-5ARVVUIK.js → _executeModel-FYUR7PQU.js} +25 -26
- package/{action-HI3VRQLP.js → action-FENWPT3C.js} +7 -7
- package/{addContentAction-NCURJ6PK.js → addContentAction-Z5S5ZQ7I.js} +6 -6
- package/{addDialogAgentAction-RCY4ECF4.js → addDialogAgentAction-VUNVD2XR.js} +5 -5
- package/{agentDeleteCommand-5Q6TDCJU.js → agentDeleteCommand-HHP47ZB2.js} +18 -19
- package/{agentEmailCommands-DSX4BJ2I.js → agentEmailCommands-H6KRDTQW.js} +29 -30
- package/{agentListCommands-S66HL5RO.js → agentListCommands-GNVFOTB4.js} +20 -21
- package/{agentMachineCommands-ULCQ5ZNN.js → agentMachineCommands-4HJHI26F.js} +18 -19
- package/{agentRecordCommands-2AA3GEGO.js → agentRecordCommands-W6ITUONM.js} +28 -29
- package/{agentRunCommand-3KOT77XY.js → agentRunCommand-VDLU4VKR.js} +28 -29
- package/{agentRuntimeLocal-7TMDJD4S.js → agentRuntimeLocal-3X3ZTFT2.js} +15 -16
- package/{agentSlice-6IQRQZX3.js → agentSlice-5HYCSSTE.js} +6 -6
- package/{appDeleteCommands-UUDIWLNE.js → appDeleteCommands-WFUF34TE.js} +19 -20
- package/{appDeployCommands-CO6SZ7YP.js → appDeployCommands-J2EAE53G.js} +19 -20
- package/{appDeployStatusCommands-QEVKVECJ.js → appDeployStatusCommands-RLXDEHTV.js} +19 -20
- package/{appGetCommands-3YSCCLK4.js → appGetCommands-ZGV3CKCM.js} +19 -20
- package/{appListCommands-FBJAFZKK.js → appListCommands-3VRX3EJI.js} +19 -20
- package/{authCommand-3ADNCFKD.js → authCommand-RR5LAYSW.js} +3 -3
- package/{chunk-J3LHGBNO.js → chunk-2NYIVLAY.js} +1 -1
- package/{chunk-CYRMUTGB.js → chunk-2TZP235J.js} +6 -6
- package/{chunk-NZBH7FTB.js → chunk-3IPBZISR.js} +1 -1
- package/{chunk-Q243PXRU.js → chunk-3Z6SPX5X.js} +11 -11
- package/{chunk-G5GVZAXF.js → chunk-446VANPP.js} +4 -4
- package/{chunk-4F77PJBR.js → chunk-4ZMTXQFB.js} +5 -5
- package/{chunk-N2IX3ZYK.js → chunk-5NPAOURO.js} +1 -1
- package/{chunk-IPSPETAL.js → chunk-6QP7LEI6.js} +31 -38
- package/{chunk-GVPMJPCT.js → chunk-72NVMKWA.js} +1 -1
- package/{chunk-GKXS4F2I.js → chunk-7QW64TCG.js} +3 -3
- package/{chunk-LAXMH7JY.js → chunk-A4JDTA5T.js} +6 -6
- package/{chunk-ZJ2WITOO.js → chunk-BOL2D2JW.js} +2 -2
- package/{chunk-S2BMRBR2.js → chunk-CTLXD6HB.js} +3 -3
- package/{chunk-KGEVMUMI.js → chunk-DKRT67FG.js} +3 -3
- package/{chunk-ZJH3LKEW.js → chunk-DWQNDGO7.js} +2 -2
- package/{chunk-QBOW6RZN.js → chunk-F3A5IZSX.js} +2 -2
- package/{chunk-F3MP7CP6.js → chunk-G5JHHUAK.js} +1 -1
- package/{chunk-RWJPDKPB.js → chunk-GABCPUMC.js} +1 -1
- package/{chunk-VQ4QPCKE.js → chunk-IUA36RS4.js} +13 -15
- package/{chunk-ATK5WJOA.js → chunk-IZ3CBMD5.js} +4 -4
- package/{chunk-T4X4GCYT.js → chunk-JRI2BRJY.js} +5 -7
- package/{chunk-W3UDJJMA.js → chunk-KH3JS4D5.js} +9 -9
- package/{chunk-EDWM6D6L.js → chunk-LWP3HB56.js} +1 -1
- package/{chunk-2CYGIPJH.js → chunk-LWYIHJKD.js} +2 -2
- package/{chunk-PIC6Z7VI.js → chunk-MNUJETMH.js} +1 -1
- package/{chunk-R5Y4XELF.js → chunk-MV6UZXZU.js} +8 -8
- package/chunk-O6YCGBJB.js +16338 -0
- package/{chunk-43EPBPZ2.js → chunk-Q24P6TUS.js} +1 -1
- package/{chunk-OIW2RJ74.js → chunk-QDNVDGLN.js} +5 -5
- package/{chunk-ARPAHODF.js → chunk-R2JHVPHL.js} +4 -4
- package/{chunk-5RDLGLAP.js → chunk-R5V5G73M.js} +1 -0
- package/{chunk-2HQ4OG6N.js → chunk-S342XWCB.js} +1 -1
- package/{chunk-TXVSNFHC.js → chunk-TAS3THIF.js} +3 -3
- package/{chunk-BIPRFBC2.js → chunk-V5BWE46D.js} +2 -2
- package/{chunk-EBNSAABL.js → chunk-WJD5RNVB.js} +1 -1
- package/{chunk-6JH2DF7J.js → chunk-YK2QRWTO.js} +3 -3
- package/{chunk-V54H24CQ.js → chunk-YLADSPDU.js} +2 -2
- package/{chunk-2SOQY5L6.js → chunk-YX26YZL4.js} +12 -14
- package/{chunk-2IJAKBK2.js → chunk-ZFTCLBEX.js} +1 -3
- package/{createAgentAutomationAction-EYNYY2LB.js → createAgentAutomationAction-EKABYSSA.js} +10 -11
- package/{createDialogAction-OUIRWYZP.js → createDialogAction-HLP6TV4H.js} +11 -12
- package/{createPageAction-2I5PHJFF.js → createPageAction-4NEEWW6S.js} +10 -11
- package/{dbSlice-BBL3PEVW.js → dbSlice-OBV7VFCF.js} +5 -5
- package/{deleteFile-RJTEPOT4.js → deleteFile-AC45HYSM.js} +3 -3
- package/{dialogCommands-5CL4QYQ7.js → dialogCommands-XB3ZNSP3.js} +19 -20
- package/{dialogSlice-EKKVFKBJ.js → dialogSlice-4IWM2WIY.js} +10 -10
- package/{docCreateCommands-QHCLYGNW.js → docCreateCommands-QSPTTAN7.js} +18 -19
- package/{docDeleteCommands-DS6KOU6N.js → docDeleteCommands-2E6JZXCP.js} +19 -20
- package/{docReadCommands-FRI5DAKH.js → docReadCommands-N2DQVLLT.js} +18 -19
- package/{docStore-V7EJS4PX.js → docStore-PFZCPHPC.js} +11 -12
- package/{docUpdateCommands-RQO5ZTXT.js → docUpdateCommands-53KFSYEP.js} +18 -19
- package/{handleSendMessageAction-KCF7KII4.js → handleSendMessageAction-4IYJTQAL.js} +10 -10
- package/index.js +57 -57
- package/{machineCommands-IAGAKTHV.js → machineCommands-CR34SD5W.js} +27 -28
- package/{machineWsRunDispatch-JGKC2HEK.js → machineWsRunDispatch-G4O3NQ3I.js} +27 -28
- package/package.json +1 -1
- package/{read-64OQDO3I.js → read-QK7ZRX6G.js} +3 -3
- package/{readDocTool-MXM3T6PE.js → readDocTool-EYDMVRBL.js} +1 -1
- package/{readlineWorkspace-5AQHHIBK.js → readlineWorkspace-UAF5D7TC.js} +52 -90
- package/{removeDialogAgentAction-NEKVAMSH.js → removeDialogAgentAction-TBW3UZJW.js} +7 -7
- package/{runAgentClientLoop-6OGPS6SI.js → runAgentClientLoop-R5WNOWHI.js} +22 -23
- package/{setDialogExtraReferencesAction-WTOHQDIV.js → setDialogExtraReferencesAction-Q3ANF2NR.js} +6 -6
- package/{setPrimaryDialogAgentAction-LDJOYC4F.js → setPrimaryDialogAgentAction-FQ5R3EFJ.js} +7 -7
- package/{settingSlice-4M37TN7V.js → settingSlice-JKKV2T7O.js} +6 -6
- package/{spaceCommands-VTDNKTSF.js → spaceCommands-RZN5K5ND.js} +21 -203
- package/{spaceSlice-LGUZMB7Y.js → spaceSlice-3BVGRL3V.js} +10 -11
- package/{streamAgentChatTurn-TIGCZUNZ.js → streamAgentChatTurn-RVOJZ2HO.js} +25 -27
- package/{switchDialogAgentAction-XVWGKR2Z.js → switchDialogAgentAction-QQGVE4SL.js} +5 -5
- package/{tableCommands-RJZ3V4TF.js → tableCommands-PRJNWN6Q.js} +1 -1
- package/{tools-BQAOPYMR.js → tools-QAKUH2P6.js} +18 -19
- package/{updateDialogTitleAction-E6HMEDPH.js → updateDialogTitleAction-4O5PZVQR.js} +12 -14
- package/chunk-LEVCXTDN.js +0 -5558
- package/chunk-YLC42PIE.js +0 -7889
|
@@ -5,45 +5,44 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5NPAOURO.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-F3A5IZSX.js";
|
|
13
|
+
import "./chunk-MNUJETMH.js";
|
|
14
|
+
import "./chunk-72NVMKWA.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-7QW64TCG.js";
|
|
17
17
|
import "./chunk-ZNFJWEN4.js";
|
|
18
18
|
import "./chunk-XORE26Z4.js";
|
|
19
19
|
import "./chunk-OIQPORYI.js";
|
|
20
20
|
import "./chunk-T27IEBNQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-IUA36RS4.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
23
|
import "./chunk-PJY5AH5A.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-QDNVDGLN.js";
|
|
25
25
|
import "./chunk-D34RI6NI.js";
|
|
26
26
|
import "./chunk-WTPC3XD4.js";
|
|
27
27
|
import "./chunk-4PWB7JRR.js";
|
|
28
28
|
import "./chunk-2MBTWINN.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-2TZP235J.js";
|
|
30
|
+
import "./chunk-YK2QRWTO.js";
|
|
31
31
|
import "./chunk-SWYMCHM7.js";
|
|
32
32
|
import "./chunk-44HACRCK.js";
|
|
33
33
|
import "./chunk-DCDL3GC4.js";
|
|
34
34
|
import "./chunk-PACNSC37.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-LEVCXTDN.js";
|
|
35
|
+
import "./chunk-O6YCGBJB.js";
|
|
37
36
|
import "./chunk-OB6FBSH3.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-IZ3CBMD5.js";
|
|
38
|
+
import "./chunk-4ZMTXQFB.js";
|
|
40
39
|
import "./chunk-JZPBVBIY.js";
|
|
41
40
|
import "./chunk-5RGU3J7P.js";
|
|
42
41
|
import "./chunk-M76ECQRD.js";
|
|
43
42
|
import "./chunk-HNMXYYJR.js";
|
|
44
43
|
import "./chunk-DWLEOOGR.js";
|
|
45
44
|
import "./chunk-3ASDTTEI.js";
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-YLADSPDU.js";
|
|
47
46
|
import "./chunk-WTGCTVJG.js";
|
|
48
47
|
import "./chunk-CWMSB67P.js";
|
|
49
48
|
import "./chunk-EIQDGAAE.js";
|
|
@@ -55,15 +54,15 @@ import {
|
|
|
55
54
|
readOption
|
|
56
55
|
} from "./chunk-A7GB5UGH.js";
|
|
57
56
|
import "./chunk-OLZBQWZU.js";
|
|
58
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-446VANPP.js";
|
|
59
58
|
import "./chunk-KX6YBIHG.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-A4JDTA5T.js";
|
|
60
|
+
import "./chunk-BOL2D2JW.js";
|
|
62
61
|
import "./chunk-QSJ3HFEF.js";
|
|
63
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-DWQNDGO7.js";
|
|
64
63
|
import "./chunk-TOW4E763.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-ZFTCLBEX.js";
|
|
65
|
+
import "./chunk-R5V5G73M.js";
|
|
67
66
|
import "./chunk-LCBAMY2M.js";
|
|
68
67
|
import "./chunk-4SN6J65J.js";
|
|
69
68
|
import "./chunk-CF7PE763.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
parseFlagWithOptionalValue,
|
|
7
7
|
runCloudflareOAuthLogin,
|
|
8
8
|
upsertEnvVariable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LWP3HB56.js";
|
|
10
10
|
import "./chunk-6HYVJV7B.js";
|
|
11
11
|
import {
|
|
12
12
|
ANTHROPIC_OAUTH_AUTHORIZE_URL,
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
startCallbackServer,
|
|
47
47
|
validateXAIEndpoint,
|
|
48
48
|
xaiOAuthDiscovery
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WJD5RNVB.js";
|
|
50
50
|
import "./chunk-WJRJDX2W.js";
|
|
51
51
|
import "./chunk-LM6IYQ3F.js";
|
|
52
52
|
import "./chunk-JBTJAPUF.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-2NYIVLAY.js";
|
|
54
54
|
import "./chunk-WTPC3XD4.js";
|
|
55
55
|
import {
|
|
56
56
|
createOAuthTokenStore
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-G3SUCT4W.js";
|
|
16
16
|
|
|
17
17
|
// packages/agent-runtime/antigravityOAuth.ts
|
|
18
|
-
var decodeBase64 = (s) =>
|
|
18
|
+
var decodeBase64 = (s) => Buffer.from(s, "base64").toString("utf8");
|
|
19
19
|
var ANTIGRAVITY_CLIENT_ID = decodeBase64(
|
|
20
20
|
"MTA3MTAwNjA2MDU5MS10bWhzc2luMmgyMWxjcmUyMzV2dG9sb2poNGc0MDNlcC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbQ=="
|
|
21
21
|
);
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O6YCGBJB.js";
|
|
10
10
|
import {
|
|
11
11
|
toErrorMessage
|
|
12
12
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
} from "./chunk-3ASDTTEI.js";
|
|
16
16
|
import {
|
|
17
17
|
nolotusId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-446VANPP.js";
|
|
19
19
|
import {
|
|
20
20
|
asRecordOrEmpty
|
|
21
21
|
} from "./chunk-KX6YBIHG.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_CODE_PLANNER_EXECUTOR_CANDIDATE_KEYS
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DWQNDGO7.js";
|
|
25
25
|
import {
|
|
26
26
|
isOwnedAgentKey,
|
|
27
27
|
ownedAgentKey,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-TOW4E763.js";
|
|
30
30
|
import {
|
|
31
31
|
createAsyncThunk
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZFTCLBEX.js";
|
|
33
33
|
import {
|
|
34
34
|
asOptionalFiniteNumber
|
|
35
35
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -1621,7 +1621,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1621
1621
|
if (!executionInput) {
|
|
1622
1622
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
1623
1623
|
}
|
|
1624
|
-
const { findToolExecutor } = await import("./tools-
|
|
1624
|
+
const { findToolExecutor } = await import("./tools-QAKUH2P6.js");
|
|
1625
1625
|
const { executor } = findToolExecutor(run.toolName);
|
|
1626
1626
|
toolRunStarted({
|
|
1627
1627
|
id: run.id,
|
|
@@ -1645,7 +1645,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1645
1645
|
const latestState = thunkApi.getState();
|
|
1646
1646
|
const userId = latestState.auth?.currentUser?.userId;
|
|
1647
1647
|
if (userId) {
|
|
1648
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
1648
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-3BVGRL3V.js");
|
|
1649
1649
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
refreshAntigravityOAuthToken,
|
|
5
5
|
refreshOpenAiCodexToken,
|
|
6
6
|
xaiRefresh
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WJD5RNVB.js";
|
|
8
8
|
import {
|
|
9
9
|
ackRunRecord,
|
|
10
10
|
checkStaleRun,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-WJRJDX2W.js";
|
|
27
27
|
import {
|
|
28
28
|
buildLocalAgentLookupKeys
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-72NVMKWA.js";
|
|
30
30
|
import {
|
|
31
31
|
LOCAL_CODEX_AGENT_ID,
|
|
32
32
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
readOpenAiCompatibleSseCompletion,
|
|
54
54
|
resolveAgentNextAvailableAt,
|
|
55
55
|
resolveOpenAiCompatibleProviderConfig
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-7QW64TCG.js";
|
|
57
57
|
import {
|
|
58
58
|
buildPlatformChatCompletionRequest,
|
|
59
59
|
canUsePlatformChatProvider,
|
|
@@ -73,18 +73,18 @@ import {
|
|
|
73
73
|
import {
|
|
74
74
|
inlineImageUrlsForCustomProvider,
|
|
75
75
|
prepareTools
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-3IPBZISR.js";
|
|
77
77
|
import {
|
|
78
78
|
inferCaptureIntent,
|
|
79
79
|
resolveHistoricalToolContentCap,
|
|
80
80
|
summarizeToolArguments
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-IUA36RS4.js";
|
|
82
82
|
import {
|
|
83
83
|
getAntigravityUserAgent,
|
|
84
84
|
isAntigravityOAuthAgent,
|
|
85
85
|
readAntigravityProjectId,
|
|
86
86
|
resolveAntigravityCloudCodeBaseUrl
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-2NYIVLAY.js";
|
|
88
88
|
import {
|
|
89
89
|
convertMessagesToResponsesInput,
|
|
90
90
|
toResponsesTools
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
readXhsProfileFunctionSchema,
|
|
104
104
|
rememberMemoryFunctionSchema,
|
|
105
105
|
setTodoListFunc
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-6QP7LEI6.js";
|
|
107
107
|
import {
|
|
108
108
|
createDrainExhaustedResponse,
|
|
109
109
|
isCoreDrainingBody,
|
|
@@ -127,13 +127,13 @@ import {
|
|
|
127
127
|
parseNoloWorkspaceToolArguments,
|
|
128
128
|
resolveAgentRequiredPackIds,
|
|
129
129
|
resolveRuntimeToolSurfaceForAgent
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-2TZP235J.js";
|
|
131
131
|
import {
|
|
132
132
|
applyTokenUsageToDayStats,
|
|
133
133
|
prepareTokenUsageData,
|
|
134
134
|
resolveBuiltinPlatformAgentConfig,
|
|
135
135
|
runKeyed
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-O6YCGBJB.js";
|
|
137
137
|
import {
|
|
138
138
|
BUILTIN_TITLE_LLM_CONFIG,
|
|
139
139
|
clipCompactText
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
resolveCurrentRunRuntimeToolPolicy,
|
|
145
145
|
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
146
146
|
resolveRequestedRuntimeToolNames
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-4ZMTXQFB.js";
|
|
148
148
|
import {
|
|
149
149
|
createOAuthTokenStore,
|
|
150
150
|
isTokenExpired,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
} from "./chunk-QSJ3HFEF.js";
|
|
176
176
|
import {
|
|
177
177
|
isSystemBuiltinTrustedAgentKey
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-DWQNDGO7.js";
|
|
179
179
|
import {
|
|
180
180
|
NOLO_CLUSTER_SERVERS
|
|
181
181
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
toTimestampMs,
|
|
8
8
|
upsert,
|
|
9
9
|
write
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A4JDTA5T.js";
|
|
11
11
|
import {
|
|
12
12
|
asTrimmedLowercaseString
|
|
13
13
|
} from "./chunk-QSJ3HFEF.js";
|
|
14
14
|
import {
|
|
15
15
|
BUILTIN_NOLO_AGENT_KEY
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DWQNDGO7.js";
|
|
17
17
|
import {
|
|
18
18
|
asyncThunkCreator,
|
|
19
19
|
buildCreateSlice,
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
createAsyncThunk,
|
|
22
22
|
createSelector,
|
|
23
23
|
selectIdentityUserId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZFTCLBEX.js";
|
|
25
25
|
import {
|
|
26
26
|
getAllServers,
|
|
27
27
|
getIsDesktopApp,
|
|
28
28
|
isProduction
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-R5V5G73M.js";
|
|
30
30
|
import {
|
|
31
31
|
SERVERS
|
|
32
32
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
patch,
|
|
9
9
|
remove,
|
|
10
10
|
write
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A4JDTA5T.js";
|
|
12
12
|
import {
|
|
13
13
|
asyncThunkCreator,
|
|
14
14
|
buildCreateSlice,
|
|
15
15
|
getRuntimeServerContext
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZFTCLBEX.js";
|
|
17
17
|
import {
|
|
18
18
|
createAgentKey,
|
|
19
19
|
toTrimmedString
|
|
@@ -583,7 +583,7 @@ var slice = createSliceWithThunks({
|
|
|
583
583
|
const overrides = {};
|
|
584
584
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
585
585
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
586
|
-
const { _executeModel } = await import("./_executeModel-
|
|
586
|
+
const { _executeModel } = await import("./_executeModel-FYUR7PQU.js");
|
|
587
587
|
return _executeModel(
|
|
588
588
|
{
|
|
589
589
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -604,7 +604,7 @@ var slice = createSliceWithThunks({
|
|
|
604
604
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
605
605
|
*/
|
|
606
606
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
607
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
607
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-R5WNOWHI.js");
|
|
608
608
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
609
609
|
{
|
|
610
610
|
agentKey: args.agentKey,
|
|
@@ -620,7 +620,7 @@ var slice = createSliceWithThunks({
|
|
|
620
620
|
* 聊天轮次流式 Agent 调用
|
|
621
621
|
*/
|
|
622
622
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
623
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
623
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-RVOJZ2HO.js");
|
|
624
624
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
625
625
|
}),
|
|
626
626
|
/**
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
sortSafeAgentSummaries,
|
|
19
19
|
toSafeAgentSummary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S342XWCB.js";
|
|
21
21
|
import {
|
|
22
22
|
getUserDataItemTimestamp,
|
|
23
23
|
mergeAndDedupUserData
|
|
@@ -43,19 +43,19 @@ import {
|
|
|
43
43
|
resolveNoloDialogInput,
|
|
44
44
|
toolRunUpdated,
|
|
45
45
|
verifyNoloDialogSubjectRefQuery
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-2TZP235J.js";
|
|
47
47
|
import {
|
|
48
48
|
createDocState
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YK2QRWTO.js";
|
|
50
50
|
import {
|
|
51
51
|
setDialogExtraReferencesAction
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-Q24P6TUS.js";
|
|
53
53
|
import {
|
|
54
54
|
readDocFunc,
|
|
55
55
|
readDocFunctionSchema,
|
|
56
56
|
readPageFunc,
|
|
57
57
|
readPageFunctionSchema
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-G5JHHUAK.js";
|
|
59
59
|
import {
|
|
60
60
|
slateToSimplifiedMarkdown
|
|
61
61
|
} from "./chunk-SWYMCHM7.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-44HACRCK.js";
|
|
70
70
|
import {
|
|
71
71
|
createDialogAction
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-JRI2BRJY.js";
|
|
73
73
|
import {
|
|
74
74
|
markdownToSlate
|
|
75
75
|
} from "./chunk-3LY4F7SV.js";
|
|
@@ -77,40 +77,39 @@ import {
|
|
|
77
77
|
addCategory,
|
|
78
78
|
addContentToSpace,
|
|
79
79
|
addRow,
|
|
80
|
+
buildDatabaseFileContentUrl,
|
|
80
81
|
createTable,
|
|
81
82
|
deleteDbKey,
|
|
82
83
|
deleteSpace,
|
|
83
84
|
fetchUserData,
|
|
84
85
|
i18nBaseConfig,
|
|
86
|
+
incrementFailedSteps,
|
|
87
|
+
incrementStepsExecuted,
|
|
85
88
|
initReactI18next,
|
|
86
89
|
instance,
|
|
87
90
|
loadTableRows,
|
|
88
|
-
selectAllMemberSpaces,
|
|
89
|
-
selectCurrentSpaceId,
|
|
90
|
-
updateContentCategory,
|
|
91
|
-
updateContentTitle
|
|
92
|
-
} from "./chunk-YLC42PIE.js";
|
|
93
|
-
import {
|
|
94
|
-
buildDatabaseFileContentUrl,
|
|
95
|
-
incrementFailedSteps,
|
|
96
|
-
incrementStepsExecuted,
|
|
97
91
|
normalizeAppRouteId,
|
|
98
92
|
resolveDialogRuntimeAgentKey,
|
|
93
|
+
selectAllMemberSpaces,
|
|
99
94
|
selectAllMsgs,
|
|
100
95
|
selectCurrentDialogConfig,
|
|
101
96
|
selectCurrentDialogId,
|
|
97
|
+
selectCurrentSpaceId,
|
|
98
|
+
selectCurrentUserBalance,
|
|
102
99
|
selectMsgById,
|
|
103
100
|
setWorkflow,
|
|
104
101
|
uiAskChoiceFunc,
|
|
105
102
|
uiAskChoiceFunctionSchema,
|
|
103
|
+
updateContentCategory,
|
|
104
|
+
updateContentTitle,
|
|
106
105
|
updateStep
|
|
107
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-O6YCGBJB.js";
|
|
108
107
|
import {
|
|
109
108
|
createAgent,
|
|
110
109
|
runLlm,
|
|
111
110
|
streamAgentChatTurn,
|
|
112
111
|
updateAgent
|
|
113
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-4ZMTXQFB.js";
|
|
114
113
|
import {
|
|
115
114
|
toErrorMessage
|
|
116
115
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -126,7 +125,7 @@ import {
|
|
|
126
125
|
addContentAction,
|
|
127
126
|
createSpaceKey,
|
|
128
127
|
normalizeSpaceId
|
|
129
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-YLADSPDU.js";
|
|
130
129
|
import {
|
|
131
130
|
DEFAULT_MODEL
|
|
132
131
|
} from "./chunk-EIQDGAAE.js";
|
|
@@ -138,14 +137,14 @@ import {
|
|
|
138
137
|
} from "./chunk-VF4K2QE6.js";
|
|
139
138
|
import {
|
|
140
139
|
shareResourceAction
|
|
141
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-DKRT67FG.js";
|
|
142
141
|
import {
|
|
143
142
|
AGENT_UPDATE_FIELD_NAMES,
|
|
144
143
|
normalizeAgentUpdateFieldList,
|
|
145
144
|
selectAutoApproveSelfUpdateFields,
|
|
146
145
|
selectCurrentServer,
|
|
147
146
|
selectSyncServers
|
|
148
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-446VANPP.js";
|
|
149
148
|
import {
|
|
150
149
|
asRecordOrEmpty
|
|
151
150
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -157,13 +156,13 @@ import {
|
|
|
157
156
|
selectById,
|
|
158
157
|
toTimestampMs,
|
|
159
158
|
write
|
|
160
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-A4JDTA5T.js";
|
|
161
160
|
import {
|
|
162
161
|
asTrimmedLowercaseString
|
|
163
162
|
} from "./chunk-QSJ3HFEF.js";
|
|
164
163
|
import {
|
|
165
164
|
readAction
|
|
166
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-DWQNDGO7.js";
|
|
167
166
|
import {
|
|
168
167
|
extractCustomId
|
|
169
168
|
} from "./chunk-TOW4E763.js";
|
|
@@ -172,13 +171,12 @@ import {
|
|
|
172
171
|
getRuntimeServerContext,
|
|
173
172
|
noloWriteRequest,
|
|
174
173
|
selectIdentityToken,
|
|
175
|
-
selectIdentityUserBalance,
|
|
176
174
|
selectIdentityUserId,
|
|
177
175
|
selectRuntimeSnapshot
|
|
178
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-ZFTCLBEX.js";
|
|
179
177
|
import {
|
|
180
178
|
isAbortError
|
|
181
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-R5V5G73M.js";
|
|
182
180
|
import {
|
|
183
181
|
API_ENDPOINTS
|
|
184
182
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -10184,7 +10182,7 @@ var appBuilder_locale_default = {
|
|
|
10184
10182
|
}
|
|
10185
10183
|
};
|
|
10186
10184
|
|
|
10187
|
-
// packages/
|
|
10185
|
+
// packages/auth/gptProTier.ts
|
|
10188
10186
|
var ADVANCED_FEATURE_MIN_BALANCE = 19;
|
|
10189
10187
|
var GPT_PRO_REQUIRED_RECHARGE_AMOUNT = 199;
|
|
10190
10188
|
function isGptProModel(provider, model) {
|
|
@@ -11541,7 +11539,7 @@ var findSpaceConfig = (nameOrId, allSpaces) => {
|
|
|
11541
11539
|
async function createAgentToolFunc(args, thunkApi) {
|
|
11542
11540
|
const state = thunkApi.getState();
|
|
11543
11541
|
const currentUserId = selectIdentityUserId(state);
|
|
11544
|
-
const currentBalance =
|
|
11542
|
+
const currentBalance = selectCurrentUserBalance(state);
|
|
11545
11543
|
const allSpaces = selectAllMemberSpaces(state);
|
|
11546
11544
|
if (!currentUserId) {
|
|
11547
11545
|
throw new Error("\u521B\u5EFA Agent \u5931\u8D25\uFF1A\u5F53\u524D\u672A\u767B\u5F55\u6216\u7F3A\u5C11 userId\u3002");
|
|
@@ -13920,7 +13918,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
13920
13918
|
const deletedDialogIds = [];
|
|
13921
13919
|
const deletedDialogKeys = [];
|
|
13922
13920
|
const failures = [];
|
|
13923
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
13921
|
+
const { deleteDialog } = await import("./dialogSlice-4IWM2WIY.js");
|
|
13924
13922
|
for (const target of targets) {
|
|
13925
13923
|
try {
|
|
13926
13924
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -14189,7 +14187,7 @@ var readSkillDocFunctionSchema = {
|
|
|
14189
14187
|
}
|
|
14190
14188
|
};
|
|
14191
14189
|
async function readSkillDocFunc(args, thunkApi) {
|
|
14192
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
14190
|
+
const { buildReadDocResult } = await import("./readDocTool-EYDMVRBL.js");
|
|
14193
14191
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
14194
14192
|
if (typeof id !== "string" || !id.trim()) {
|
|
14195
14193
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -16749,12 +16747,7 @@ var inlineCssUrlAssets = async (args) => {
|
|
|
16749
16747
|
const assetUrl = new URL(rawRef, args.cssUrl).toString();
|
|
16750
16748
|
if (!replacements.has(rawRef)) {
|
|
16751
16749
|
const bytes = await fetchBytes(assetUrl, args.fetchImpl);
|
|
16752
|
-
const
|
|
16753
|
-
let base64 = "";
|
|
16754
|
-
const u8 = new Uint8Array(bytes);
|
|
16755
|
-
for (let i = 0; i < u8.length; i += chunkSize) {
|
|
16756
|
-
base64 += btoa(String.fromCharCode(...u8.subarray(i, i + chunkSize)));
|
|
16757
|
-
}
|
|
16750
|
+
const base64 = Buffer.from(bytes).toString("base64");
|
|
16758
16751
|
replacements.set(
|
|
16759
16752
|
rawRef,
|
|
16760
16753
|
`data:${guessMimeType(assetUrl)};base64,${base64}`
|
|
@@ -19644,7 +19637,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
|
|
|
19644
19637
|
var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
|
|
19645
19638
|
async function addImageContentToSpace(input) {
|
|
19646
19639
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
19647
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
19640
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-Z5S5ZQ7I.js")).addContentAction;
|
|
19648
19641
|
await addContentAction2(
|
|
19649
19642
|
{
|
|
19650
19643
|
spaceId: input.spaceId,
|
|
@@ -25670,7 +25663,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25670
25663
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25671
25664
|
};
|
|
25672
25665
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25673
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25666
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-PFZCPHPC.js");
|
|
25674
25667
|
if (getDocState().pageKey === id) {
|
|
25675
25668
|
applyExternalDocUpdate({
|
|
25676
25669
|
slateData: finalSlateData,
|
|
@@ -25695,7 +25688,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25695
25688
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
25696
25689
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
25697
25690
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
25698
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
25691
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-JKKV2T7O.js")).setSettings;
|
|
25699
25692
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
25700
25693
|
}
|
|
25701
25694
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
parseToolArgumentsJson,
|
|
13
13
|
resolveHistoricalToolContentCap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IUA36RS4.js";
|
|
15
15
|
import {
|
|
16
16
|
createThinkParserState,
|
|
17
17
|
createToolCallAccumulator,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
requiresBareImageUrl,
|
|
24
24
|
toBareImageUrlMessages
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QDNVDGLN.js";
|
|
26
26
|
import {
|
|
27
27
|
shouldStripReasoningContentForOutbound,
|
|
28
28
|
toOpenAiCompatibleMessages
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
buildNoloWorkspaceCommandArgs,
|
|
40
40
|
noloStringArg,
|
|
41
41
|
parseNoloWorkspaceToolArguments
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2TZP235J.js";
|
|
43
43
|
import {
|
|
44
44
|
toErrorMessage
|
|
45
45
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
loadFileFromIndexedDb,
|
|
3
3
|
removeAction,
|
|
4
4
|
saveFileToIndexedDb
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BOL2D2JW.js";
|
|
6
6
|
import {
|
|
7
7
|
readAction,
|
|
8
8
|
readRequestManager,
|
|
9
9
|
resolveAgentReadServers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DWQNDGO7.js";
|
|
11
11
|
import {
|
|
12
12
|
asyncThunkCreator,
|
|
13
13
|
buildCreateSlice,
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
shouldReplaceLocalWithRemoteRecord,
|
|
28
28
|
shouldReplicateLocalRecord,
|
|
29
29
|
uploadToCurrentServer
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZFTCLBEX.js";
|
|
31
31
|
import {
|
|
32
32
|
fetchFromClientDb,
|
|
33
33
|
fetchFromServer,
|
|
34
34
|
logger,
|
|
35
35
|
normalizeTimeFields
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-R5V5G73M.js";
|
|
37
37
|
import {
|
|
38
38
|
API_ENDPOINTS
|
|
39
39
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -704,7 +704,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
704
704
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
705
705
|
read: create.asyncThunk(
|
|
706
706
|
async (payload, thunkApi) => {
|
|
707
|
-
const { readAction: readAction2 } = await import("./read-
|
|
707
|
+
const { readAction: readAction2 } = await import("./read-QK7ZRX6G.js");
|
|
708
708
|
return readAction2(payload, thunkApi);
|
|
709
709
|
},
|
|
710
710
|
{
|
|
@@ -778,7 +778,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
778
778
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
779
779
|
share: create.asyncThunk(
|
|
780
780
|
async (config, thunkApi) => {
|
|
781
|
-
const { shareResourceAction } = await import("./action-
|
|
781
|
+
const { shareResourceAction } = await import("./action-FENWPT3C.js");
|
|
782
782
|
return shareResourceAction(config, thunkApi);
|
|
783
783
|
}
|
|
784
784
|
),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRuntimeServerContext,
|
|
3
3
|
scheduleDeleteReplication
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZFTCLBEX.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchFromClientDb
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R5V5G73M.js";
|
|
8
8
|
import {
|
|
9
9
|
buildTombstoneRecord
|
|
10
10
|
} from "./chunk-GBRG75BQ.js";
|