nolo-cli 0.30.0-alpha.3 → 0.30.0-alpha.5
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-FYUR7PQU.js → _executeModel-F7LV7M3U.js} +25 -24
- package/{action-FENWPT3C.js → action-HI3VRQLP.js} +7 -7
- package/{addContentAction-Z5S5ZQ7I.js → addContentAction-NCURJ6PK.js} +6 -6
- package/{addDialogAgentAction-VUNVD2XR.js → addDialogAgentAction-RCY4ECF4.js} +5 -5
- package/{agentDeleteCommand-HHP47ZB2.js → agentDeleteCommand-VHZDPUB4.js} +19 -18
- package/{agentEmailCommands-H6KRDTQW.js → agentEmailCommands-W6JFMN52.js} +27 -26
- package/{agentListCommands-GNVFOTB4.js → agentListCommands-TI45YSNL.js} +21 -20
- package/{agentMachineCommands-4HJHI26F.js → agentMachineCommands-UR5GLDYC.js} +19 -18
- package/{agentRecordCommands-W6ITUONM.js → agentRecordCommands-UN5X2HDO.js} +27 -26
- package/{agentRunCommand-VDLU4VKR.js → agentRunCommand-WEDTQP4Y.js} +27 -26
- package/{agentRuntimeLocal-3X3ZTFT2.js → agentRuntimeLocal-6ICEFE6W.js} +16 -15
- package/{agentSlice-5HYCSSTE.js → agentSlice-72ZVODRI.js} +6 -6
- package/{appDeleteCommands-WFUF34TE.js → appDeleteCommands-M5UHLDA6.js} +20 -19
- package/{appDeployCommands-J2EAE53G.js → appDeployCommands-4OMCBP4Y.js} +20 -19
- package/{appDeployStatusCommands-RLXDEHTV.js → appDeployStatusCommands-G7DTM6FA.js} +20 -19
- package/{appGetCommands-ZGV3CKCM.js → appGetCommands-FDTXHBWP.js} +20 -19
- package/{appListCommands-3VRX3EJI.js → appListCommands-HVM57XXB.js} +20 -19
- package/{chunk-TAS3THIF.js → chunk-2IBEKS2W.js} +3 -3
- package/{chunk-ZFTCLBEX.js → chunk-2IJAKBK2.js} +3 -1
- package/{chunk-KH3JS4D5.js → chunk-2IU7N5GD.js} +9 -9
- package/{chunk-LWYIHJKD.js → chunk-3XM7BOJ4.js} +2 -2
- package/{chunk-Q24P6TUS.js → chunk-43EPBPZ2.js} +1 -1
- package/{chunk-YK2QRWTO.js → chunk-4ESWGXGU.js} +3 -3
- package/{chunk-R2JHVPHL.js → chunk-4RJQPMKA.js} +4 -4
- package/{chunk-F3A5IZSX.js → chunk-4URK2ONB.js} +2 -2
- package/{chunk-GABCPUMC.js → chunk-5MAO25MQ.js} +1 -1
- package/{chunk-R5V5G73M.js → chunk-5RDLGLAP.js} +0 -1
- package/{chunk-72NVMKWA.js → chunk-ARB4TTHS.js} +1 -1
- package/{chunk-IZ3CBMD5.js → chunk-ATK5WJOA.js} +4 -4
- package/{chunk-7QW64TCG.js → chunk-B3FH7RAZ.js} +3 -3
- package/chunk-CWJPBMQF.js +7889 -0
- package/{chunk-2TZP235J.js → chunk-EJZ7JUJQ.js} +6 -6
- package/{chunk-5NPAOURO.js → chunk-ELBGPDVW.js} +1 -1
- package/{chunk-G5JHHUAK.js → chunk-F3MP7CP6.js} +1 -1
- package/{chunk-446VANPP.js → chunk-G5GVZAXF.js} +4 -4
- package/{chunk-MV6UZXZU.js → chunk-H4LQQNMO.js} +7 -7
- package/{chunk-3Z6SPX5X.js → chunk-IAUWR74M.js} +9 -9
- package/{chunk-S342XWCB.js → chunk-J5A7YX6E.js} +1 -1
- package/{chunk-JRI2BRJY.js → chunk-KC6PXUBE.js} +7 -5
- package/{chunk-DKRT67FG.js → chunk-KGEVMUMI.js} +3 -3
- package/{chunk-CTLXD6HB.js → chunk-KL2AIINE.js} +3 -3
- package/{chunk-A4JDTA5T.js → chunk-LAXMH7JY.js} +6 -6
- package/{chunk-4ZMTXQFB.js → chunk-MOSVVBDE.js} +5 -5
- package/{chunk-3IPBZISR.js → chunk-NB3ZWVV5.js} +1 -1
- package/{chunk-6QP7LEI6.js → chunk-RGDW7GVD.js} +32 -30
- package/{chunk-V5BWE46D.js → chunk-T7ATPGU2.js} +2 -2
- package/chunk-TNEZPPUH.js +5558 -0
- package/{chunk-YLADSPDU.js → chunk-V54H24CQ.js} +2 -2
- package/{chunk-IUA36RS4.js → chunk-VCETGU44.js} +15 -13
- package/{chunk-YX26YZL4.js → chunk-W2X2E22F.js} +14 -12
- package/{chunk-MNUJETMH.js → chunk-YQDH6ZLQ.js} +1 -1
- package/{chunk-BOL2D2JW.js → chunk-ZJ2WITOO.js} +2 -2
- package/{chunk-DWQNDGO7.js → chunk-ZJH3LKEW.js} +2 -2
- package/{chunk-QDNVDGLN.js → chunk-ZKUHTOLW.js} +5 -5
- package/{createAgentAutomationAction-EKABYSSA.js → createAgentAutomationAction-5DSJJJGA.js} +11 -10
- package/{createDialogAction-HLP6TV4H.js → createDialogAction-C2BXPUBG.js} +12 -11
- package/{createPageAction-4NEEWW6S.js → createPageAction-O4IFCXPJ.js} +11 -10
- package/{dbSlice-OBV7VFCF.js → dbSlice-BBL3PEVW.js} +5 -5
- package/{deleteFile-AC45HYSM.js → deleteFile-RJTEPOT4.js} +3 -3
- package/{dialogCommands-XB3ZNSP3.js → dialogCommands-JSTEWXMC.js} +20 -19
- package/{dialogSlice-4IWM2WIY.js → dialogSlice-4Q4OXEPB.js} +10 -10
- package/{docCreateCommands-QSPTTAN7.js → docCreateCommands-AV4NXXL3.js} +19 -18
- package/{docDeleteCommands-2E6JZXCP.js → docDeleteCommands-36WFALAY.js} +20 -19
- package/{docReadCommands-N2DQVLLT.js → docReadCommands-AR3Y34AJ.js} +19 -18
- package/{docStore-PFZCPHPC.js → docStore-ZFEMRTV7.js} +12 -11
- package/{docUpdateCommands-53KFSYEP.js → docUpdateCommands-BWWIKWYX.js} +19 -18
- package/{handleSendMessageAction-4IYJTQAL.js → handleSendMessageAction-D5EJ7VBI.js} +10 -10
- package/index.js +51 -51
- package/{machineCommands-CR34SD5W.js → machineCommands-ZRLA7LYE.js} +26 -25
- package/{machineWsRunDispatch-G4O3NQ3I.js → machineWsRunDispatch-KQTXJWGN.js} +26 -25
- package/package.json +1 -1
- package/{read-QK7ZRX6G.js → read-64OQDO3I.js} +3 -3
- package/{readDocTool-EYDMVRBL.js → readDocTool-MXM3T6PE.js} +1 -1
- package/{readlineWorkspace-OOXRR2NG.js → readlineWorkspace-W5LPUDCC.js} +30 -29
- package/{removeDialogAgentAction-TBW3UZJW.js → removeDialogAgentAction-NEKVAMSH.js} +7 -7
- package/{runAgentClientLoop-R5WNOWHI.js → runAgentClientLoop-B4D7T7GO.js} +22 -21
- package/{setDialogExtraReferencesAction-Q3ANF2NR.js → setDialogExtraReferencesAction-WTOHQDIV.js} +6 -6
- package/{setPrimaryDialogAgentAction-FQ5R3EFJ.js → setPrimaryDialogAgentAction-LDJOYC4F.js} +7 -7
- package/{settingSlice-JKKV2T7O.js → settingSlice-4M37TN7V.js} +6 -6
- package/{spaceCommands-RZN5K5ND.js → spaceCommands-HQAPY3MM.js} +203 -21
- package/{spaceSlice-3BVGRL3V.js → spaceSlice-5Q4MHBAG.js} +11 -10
- package/{streamAgentChatTurn-RVOJZ2HO.js → streamAgentChatTurn-B7EL5LGJ.js} +26 -24
- package/{switchDialogAgentAction-QQGVE4SL.js → switchDialogAgentAction-XVWGKR2Z.js} +5 -5
- package/{tableCommands-PRJNWN6Q.js → tableCommands-RJZ3V4TF.js} +1 -1
- package/{tools-QAKUH2P6.js → tools-BTAZSZ6Z.js} +19 -18
- package/{updateDialogTitleAction-4O5PZVQR.js → updateDialogTitleAction-FROWB7ZK.js} +14 -12
- package/chunk-O6YCGBJB.js +0 -16338
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CWJPBMQF.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-G5GVZAXF.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-ZJH3LKEW.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-2IJAKBK2.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-BTAZSZ6Z.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-5Q4MHBAG.js");
|
|
1649
1649
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
@@ -52,7 +52,7 @@ async function readDocFunc(args, thunkApi) {
|
|
|
52
52
|
throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
|
|
53
53
|
}
|
|
54
54
|
try {
|
|
55
|
-
const { readAction } = await import("./read-
|
|
55
|
+
const { readAction } = await import("./read-64OQDO3I.js");
|
|
56
56
|
const pageData = await readAction({ dbKey: id }, thunkApi);
|
|
57
57
|
if (!pageData) {
|
|
58
58
|
throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
toTimestampMs,
|
|
8
8
|
upsert,
|
|
9
9
|
write
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LAXMH7JY.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-ZJH3LKEW.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-2IJAKBK2.js";
|
|
25
25
|
import {
|
|
26
26
|
getAllServers,
|
|
27
27
|
getIsDesktopApp,
|
|
28
28
|
isProduction
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5RDLGLAP.js";
|
|
30
30
|
import {
|
|
31
31
|
SERVERS
|
|
32
32
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
requiresBareImageUrl,
|
|
10
10
|
resolveToolGuidedSections,
|
|
11
11
|
toBareImageUrlMessages
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZKUHTOLW.js";
|
|
13
13
|
import {
|
|
14
14
|
convertMessagesToResponsesInput,
|
|
15
15
|
preserveAgentStateFields
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-4PWB7JRR.js";
|
|
27
27
|
import {
|
|
28
28
|
waitForAbortableDelay
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RGDW7GVD.js";
|
|
30
30
|
import {
|
|
31
31
|
createDrainExhaustedResponse,
|
|
32
32
|
isCoreDrainingBody,
|
|
@@ -36,15 +36,15 @@ import {
|
|
|
36
36
|
} from "./chunk-Z5MXSEOJ.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveBuiltinSkillPage
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EJZ7JUJQ.js";
|
|
40
40
|
import {
|
|
41
41
|
estimateTokenCount,
|
|
42
42
|
shouldUseServerProxy
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TNEZPPUH.js";
|
|
44
44
|
import {
|
|
45
45
|
createFileCredentialBroker,
|
|
46
46
|
fetchServerSyncedCredential
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-MOSVVBDE.js";
|
|
48
48
|
import {
|
|
49
49
|
toErrorMessage
|
|
50
50
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -60,13 +60,13 @@ import {
|
|
|
60
60
|
} from "./chunk-CAENRKNJ.js";
|
|
61
61
|
import {
|
|
62
62
|
read
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-LAXMH7JY.js";
|
|
64
64
|
import {
|
|
65
65
|
asTrimmedLowercaseString
|
|
66
66
|
} from "./chunk-QSJ3HFEF.js";
|
|
67
67
|
import {
|
|
68
68
|
isAbortError
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-5RDLGLAP.js";
|
|
70
70
|
import {
|
|
71
71
|
API_ENDPOINTS
|
|
72
72
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-WJRJDX2W.js";
|
|
27
27
|
import {
|
|
28
28
|
buildLocalAgentLookupKeys
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ARB4TTHS.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-B3FH7RAZ.js";
|
|
57
57
|
import {
|
|
58
58
|
buildPlatformChatCompletionRequest,
|
|
59
59
|
canUsePlatformChatProvider,
|
|
@@ -73,12 +73,12 @@ import {
|
|
|
73
73
|
import {
|
|
74
74
|
inlineImageUrlsForCustomProvider,
|
|
75
75
|
prepareTools
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-NB3ZWVV5.js";
|
|
77
77
|
import {
|
|
78
78
|
inferCaptureIntent,
|
|
79
79
|
resolveHistoricalToolContentCap,
|
|
80
80
|
summarizeToolArguments
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-VCETGU44.js";
|
|
82
82
|
import {
|
|
83
83
|
getAntigravityUserAgent,
|
|
84
84
|
isAntigravityOAuthAgent,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
readXhsProfileFunctionSchema,
|
|
104
104
|
rememberMemoryFunctionSchema,
|
|
105
105
|
setTodoListFunc
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-RGDW7GVD.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-EJZ7JUJQ.js";
|
|
131
131
|
import {
|
|
132
132
|
applyTokenUsageToDayStats,
|
|
133
133
|
prepareTokenUsageData,
|
|
134
134
|
resolveBuiltinPlatformAgentConfig,
|
|
135
135
|
runKeyed
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-TNEZPPUH.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-MOSVVBDE.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-ZJH3LKEW.js";
|
|
179
179
|
import {
|
|
180
180
|
NOLO_CLUSTER_SERVERS
|
|
181
181
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -2,11 +2,13 @@ import {
|
|
|
2
2
|
buildBuiltinObjectSkillReference
|
|
3
3
|
} from "./chunk-DCDL3GC4.js";
|
|
4
4
|
import {
|
|
5
|
-
addContentToSpace
|
|
5
|
+
addContentToSpace
|
|
6
|
+
} from "./chunk-CWJPBMQF.js";
|
|
7
|
+
import {
|
|
6
8
|
prepareAndPersistMessage,
|
|
7
9
|
uiAskChoiceFunc,
|
|
8
10
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TNEZPPUH.js";
|
|
10
12
|
import {
|
|
11
13
|
require_date_fns
|
|
12
14
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -21,16 +23,16 @@ import {
|
|
|
21
23
|
removeCachedEntity,
|
|
22
24
|
upsertSSREntity,
|
|
23
25
|
write
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LAXMH7JY.js";
|
|
25
27
|
import {
|
|
26
28
|
extractCustomId
|
|
27
29
|
} from "./chunk-TOW4E763.js";
|
|
28
30
|
import {
|
|
29
31
|
selectIdentityUserId
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2IJAKBK2.js";
|
|
31
33
|
import {
|
|
32
34
|
isDevelopment
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5RDLGLAP.js";
|
|
34
36
|
import {
|
|
35
37
|
createAgentKey,
|
|
36
38
|
createDialogKey,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectCurrentServer,
|
|
3
3
|
selectRemoteServers
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G5GVZAXF.js";
|
|
5
5
|
import {
|
|
6
6
|
noloDeleteRequest,
|
|
7
7
|
noloWriteRequest,
|
|
8
8
|
selectIdentityUser,
|
|
9
9
|
selectIdentityUserId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2IJAKBK2.js";
|
|
11
11
|
import {
|
|
12
12
|
normalizeTimeFields
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5RDLGLAP.js";
|
|
14
14
|
import {
|
|
15
15
|
createUserKey,
|
|
16
16
|
extractAgentInfo,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5MAO25MQ.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YQDH6ZLQ.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J5A7YX6E.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
loadFileFromIndexedDb,
|
|
3
3
|
removeAction,
|
|
4
4
|
saveFileToIndexedDb
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZJ2WITOO.js";
|
|
6
6
|
import {
|
|
7
7
|
readAction,
|
|
8
8
|
readRequestManager,
|
|
9
9
|
resolveAgentReadServers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZJH3LKEW.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-2IJAKBK2.js";
|
|
31
31
|
import {
|
|
32
32
|
fetchFromClientDb,
|
|
33
33
|
fetchFromServer,
|
|
34
34
|
logger,
|
|
35
35
|
normalizeTimeFields
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5RDLGLAP.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-64OQDO3I.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-HI3VRQLP.js");
|
|
782
782
|
return shareResourceAction(config, thunkApi);
|
|
783
783
|
}
|
|
784
784
|
),
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
patch,
|
|
9
9
|
remove,
|
|
10
10
|
write
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LAXMH7JY.js";
|
|
12
12
|
import {
|
|
13
13
|
asyncThunkCreator,
|
|
14
14
|
buildCreateSlice,
|
|
15
15
|
getRuntimeServerContext
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2IJAKBK2.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-F7LV7M3U.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-B4D7T7GO.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-B7EL5LGJ.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-J5A7YX6E.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-EJZ7JUJQ.js";
|
|
47
47
|
import {
|
|
48
48
|
createDocState
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-4ESWGXGU.js";
|
|
50
50
|
import {
|
|
51
51
|
setDialogExtraReferencesAction
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-43EPBPZ2.js";
|
|
53
53
|
import {
|
|
54
54
|
readDocFunc,
|
|
55
55
|
readDocFunctionSchema,
|
|
56
56
|
readPageFunc,
|
|
57
57
|
readPageFunctionSchema
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-F3MP7CP6.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-KC6PXUBE.js";
|
|
73
73
|
import {
|
|
74
74
|
markdownToSlate
|
|
75
75
|
} from "./chunk-3LY4F7SV.js";
|
|
@@ -77,39 +77,40 @@ import {
|
|
|
77
77
|
addCategory,
|
|
78
78
|
addContentToSpace,
|
|
79
79
|
addRow,
|
|
80
|
-
buildDatabaseFileContentUrl,
|
|
81
80
|
createTable,
|
|
82
81
|
deleteDbKey,
|
|
83
82
|
deleteSpace,
|
|
84
83
|
fetchUserData,
|
|
85
84
|
i18nBaseConfig,
|
|
86
|
-
incrementFailedSteps,
|
|
87
|
-
incrementStepsExecuted,
|
|
88
85
|
initReactI18next,
|
|
89
86
|
instance,
|
|
90
87
|
loadTableRows,
|
|
88
|
+
selectAllMemberSpaces,
|
|
89
|
+
selectCurrentSpaceId,
|
|
90
|
+
updateContentCategory,
|
|
91
|
+
updateContentTitle
|
|
92
|
+
} from "./chunk-CWJPBMQF.js";
|
|
93
|
+
import {
|
|
94
|
+
buildDatabaseFileContentUrl,
|
|
95
|
+
incrementFailedSteps,
|
|
96
|
+
incrementStepsExecuted,
|
|
91
97
|
normalizeAppRouteId,
|
|
92
98
|
resolveDialogRuntimeAgentKey,
|
|
93
|
-
selectAllMemberSpaces,
|
|
94
99
|
selectAllMsgs,
|
|
95
100
|
selectCurrentDialogConfig,
|
|
96
101
|
selectCurrentDialogId,
|
|
97
|
-
selectCurrentSpaceId,
|
|
98
|
-
selectCurrentUserBalance,
|
|
99
102
|
selectMsgById,
|
|
100
103
|
setWorkflow,
|
|
101
104
|
uiAskChoiceFunc,
|
|
102
105
|
uiAskChoiceFunctionSchema,
|
|
103
|
-
updateContentCategory,
|
|
104
|
-
updateContentTitle,
|
|
105
106
|
updateStep
|
|
106
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-TNEZPPUH.js";
|
|
107
108
|
import {
|
|
108
109
|
createAgent,
|
|
109
110
|
runLlm,
|
|
110
111
|
streamAgentChatTurn,
|
|
111
112
|
updateAgent
|
|
112
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-MOSVVBDE.js";
|
|
113
114
|
import {
|
|
114
115
|
toErrorMessage
|
|
115
116
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -125,7 +126,7 @@ import {
|
|
|
125
126
|
addContentAction,
|
|
126
127
|
createSpaceKey,
|
|
127
128
|
normalizeSpaceId
|
|
128
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-V54H24CQ.js";
|
|
129
130
|
import {
|
|
130
131
|
DEFAULT_MODEL
|
|
131
132
|
} from "./chunk-EIQDGAAE.js";
|
|
@@ -137,14 +138,14 @@ import {
|
|
|
137
138
|
} from "./chunk-VF4K2QE6.js";
|
|
138
139
|
import {
|
|
139
140
|
shareResourceAction
|
|
140
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-KGEVMUMI.js";
|
|
141
142
|
import {
|
|
142
143
|
AGENT_UPDATE_FIELD_NAMES,
|
|
143
144
|
normalizeAgentUpdateFieldList,
|
|
144
145
|
selectAutoApproveSelfUpdateFields,
|
|
145
146
|
selectCurrentServer,
|
|
146
147
|
selectSyncServers
|
|
147
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-G5GVZAXF.js";
|
|
148
149
|
import {
|
|
149
150
|
asRecordOrEmpty
|
|
150
151
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -156,13 +157,13 @@ import {
|
|
|
156
157
|
selectById,
|
|
157
158
|
toTimestampMs,
|
|
158
159
|
write
|
|
159
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-LAXMH7JY.js";
|
|
160
161
|
import {
|
|
161
162
|
asTrimmedLowercaseString
|
|
162
163
|
} from "./chunk-QSJ3HFEF.js";
|
|
163
164
|
import {
|
|
164
165
|
readAction
|
|
165
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-ZJH3LKEW.js";
|
|
166
167
|
import {
|
|
167
168
|
extractCustomId
|
|
168
169
|
} from "./chunk-TOW4E763.js";
|
|
@@ -171,12 +172,13 @@ import {
|
|
|
171
172
|
getRuntimeServerContext,
|
|
172
173
|
noloWriteRequest,
|
|
173
174
|
selectIdentityToken,
|
|
175
|
+
selectIdentityUserBalance,
|
|
174
176
|
selectIdentityUserId,
|
|
175
177
|
selectRuntimeSnapshot
|
|
176
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-2IJAKBK2.js";
|
|
177
179
|
import {
|
|
178
180
|
isAbortError
|
|
179
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-5RDLGLAP.js";
|
|
180
182
|
import {
|
|
181
183
|
API_ENDPOINTS
|
|
182
184
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -10182,7 +10184,7 @@ var appBuilder_locale_default = {
|
|
|
10182
10184
|
}
|
|
10183
10185
|
};
|
|
10184
10186
|
|
|
10185
|
-
// packages/
|
|
10187
|
+
// packages/core/gptProTier.ts
|
|
10186
10188
|
var ADVANCED_FEATURE_MIN_BALANCE = 19;
|
|
10187
10189
|
var GPT_PRO_REQUIRED_RECHARGE_AMOUNT = 199;
|
|
10188
10190
|
function isGptProModel(provider, model) {
|
|
@@ -11539,7 +11541,7 @@ var findSpaceConfig = (nameOrId, allSpaces) => {
|
|
|
11539
11541
|
async function createAgentToolFunc(args, thunkApi) {
|
|
11540
11542
|
const state = thunkApi.getState();
|
|
11541
11543
|
const currentUserId = selectIdentityUserId(state);
|
|
11542
|
-
const currentBalance =
|
|
11544
|
+
const currentBalance = selectIdentityUserBalance(state);
|
|
11543
11545
|
const allSpaces = selectAllMemberSpaces(state);
|
|
11544
11546
|
if (!currentUserId) {
|
|
11545
11547
|
throw new Error("\u521B\u5EFA Agent \u5931\u8D25\uFF1A\u5F53\u524D\u672A\u767B\u5F55\u6216\u7F3A\u5C11 userId\u3002");
|
|
@@ -13918,7 +13920,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
13918
13920
|
const deletedDialogIds = [];
|
|
13919
13921
|
const deletedDialogKeys = [];
|
|
13920
13922
|
const failures = [];
|
|
13921
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
13923
|
+
const { deleteDialog } = await import("./dialogSlice-4Q4OXEPB.js");
|
|
13922
13924
|
for (const target of targets) {
|
|
13923
13925
|
try {
|
|
13924
13926
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -14187,7 +14189,7 @@ var readSkillDocFunctionSchema = {
|
|
|
14187
14189
|
}
|
|
14188
14190
|
};
|
|
14189
14191
|
async function readSkillDocFunc(args, thunkApi) {
|
|
14190
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
14192
|
+
const { buildReadDocResult } = await import("./readDocTool-MXM3T6PE.js");
|
|
14191
14193
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
14192
14194
|
if (typeof id !== "string" || !id.trim()) {
|
|
14193
14195
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -19637,7 +19639,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
|
|
|
19637
19639
|
var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
|
|
19638
19640
|
async function addImageContentToSpace(input) {
|
|
19639
19641
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
19640
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
19642
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-NCURJ6PK.js")).addContentAction;
|
|
19641
19643
|
await addContentAction2(
|
|
19642
19644
|
{
|
|
19643
19645
|
spaceId: input.spaceId,
|
|
@@ -25663,7 +25665,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25663
25665
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25664
25666
|
};
|
|
25665
25667
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25666
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25668
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-ZFEMRTV7.js");
|
|
25667
25669
|
if (getDocState().pageKey === id) {
|
|
25668
25670
|
applyExternalDocUpdate({
|
|
25669
25671
|
slateData: finalSlateData,
|
|
@@ -25688,7 +25690,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25688
25690
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
25689
25691
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
25690
25692
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
25691
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
25693
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-4M37TN7V.js")).setSettings;
|
|
25692
25694
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
25693
25695
|
}
|
|
25694
25696
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReferenceAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H4LQQNMO.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReferenceContents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZKUHTOLW.js";
|
|
7
7
|
|
|
8
8
|
// packages/ai/agent/fetchAgentContexts.ts
|
|
9
9
|
async function fetchAgentContexts(references, dispatch) {
|