nolo-cli 0.30.0-alpha.3 → 0.30.0-alpha.4
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-7KWY4TOT.js} +23 -23
- package/{action-FENWPT3C.js → action-PABHQA2V.js} +6 -6
- package/{addContentAction-Z5S5ZQ7I.js → addContentAction-QOCQY2OK.js} +5 -5
- package/{addDialogAgentAction-VUNVD2XR.js → addDialogAgentAction-HQKBYZZM.js} +4 -4
- package/{agentDeleteCommand-HHP47ZB2.js → agentDeleteCommand-K56FLXHX.js} +17 -17
- package/{agentEmailCommands-H6KRDTQW.js → agentEmailCommands-4HTNF3NM.js} +25 -25
- package/{agentListCommands-GNVFOTB4.js → agentListCommands-2AJIJEK3.js} +19 -19
- package/{agentMachineCommands-4HJHI26F.js → agentMachineCommands-CTO3ICU7.js} +17 -17
- package/{agentRecordCommands-W6ITUONM.js → agentRecordCommands-QMD3GDVM.js} +25 -25
- package/{agentRunCommand-VDLU4VKR.js → agentRunCommand-VW7DXSDX.js} +25 -25
- package/{agentRuntimeLocal-3X3ZTFT2.js → agentRuntimeLocal-7P7RPLWZ.js} +14 -14
- package/{agentSlice-5HYCSSTE.js → agentSlice-4ZVASIFY.js} +5 -5
- package/{appDeleteCommands-WFUF34TE.js → appDeleteCommands-3V5H4PZP.js} +18 -18
- package/{appDeployCommands-J2EAE53G.js → appDeployCommands-CP2FN4XQ.js} +18 -18
- package/{appDeployStatusCommands-RLXDEHTV.js → appDeployStatusCommands-4BJ2IMW3.js} +18 -18
- package/{appGetCommands-ZGV3CKCM.js → appGetCommands-T6YXMZKL.js} +18 -18
- package/{appListCommands-3VRX3EJI.js → appListCommands-TRN2EUCV.js} +18 -18
- package/{chunk-Q24P6TUS.js → chunk-2FNQS3NE.js} +1 -1
- package/{chunk-IUA36RS4.js → chunk-2NKRHXDO.js} +10 -10
- package/{chunk-V5BWE46D.js → chunk-3MUUQJXW.js} +2 -2
- package/{chunk-3Z6SPX5X.js → chunk-3NHLRJTZ.js} +9 -9
- package/{chunk-5NPAOURO.js → chunk-4VJZODXQ.js} +1 -1
- package/{chunk-CTLXD6HB.js → chunk-5GDLMDLY.js} +3 -3
- package/{chunk-DKRT67FG.js → chunk-7NE6SSNO.js} +2 -2
- package/{chunk-A4JDTA5T.js → chunk-AKF3R6YT.js} +5 -5
- package/{chunk-446VANPP.js → chunk-B2F42PFJ.js} +3 -3
- package/{chunk-R2JHVPHL.js → chunk-BGY4FZB4.js} +4 -4
- package/{chunk-2TZP235J.js → chunk-BNM4PN7V.js} +6 -6
- package/{chunk-IZ3CBMD5.js → chunk-BPB4MFE5.js} +3 -3
- package/{chunk-MNUJETMH.js → chunk-CYSB5B6O.js} +1 -1
- package/{chunk-3IPBZISR.js → chunk-FVKMFU3A.js} +1 -1
- package/{chunk-GABCPUMC.js → chunk-FXCLTQEO.js} +1 -1
- package/{chunk-7QW64TCG.js → chunk-GR4ULAGB.js} +3 -3
- package/{chunk-BOL2D2JW.js → chunk-H42QD4SH.js} +1 -1
- package/{chunk-YK2QRWTO.js → chunk-H5UXA6OF.js} +3 -3
- package/{chunk-6QP7LEI6.js → chunk-INRBVD6S.js} +22 -22
- package/{chunk-YLADSPDU.js → chunk-LZSOKNT7.js} +2 -2
- package/{chunk-DWQNDGO7.js → chunk-MBZE75JH.js} +1 -1
- package/{chunk-4ZMTXQFB.js → chunk-N3F3I7CF.js} +5 -5
- package/{chunk-O6YCGBJB.js → chunk-NCPP67IY.js} +24 -26
- package/{chunk-QDNVDGLN.js → chunk-OWO7RJJP.js} +5 -5
- package/{chunk-72NVMKWA.js → chunk-QMGLMEEF.js} +1 -1
- package/{chunk-ZFTCLBEX.js → chunk-REBLMWZW.js} +2 -0
- package/{chunk-G5JHHUAK.js → chunk-S45OJAFJ.js} +1 -1
- package/{chunk-YX26YZL4.js → chunk-TNAX4WSO.js} +10 -10
- package/{chunk-S342XWCB.js → chunk-VNQ4HVEE.js} +1 -1
- package/{chunk-LWYIHJKD.js → chunk-VQRRTI4N.js} +2 -2
- package/{chunk-KH3JS4D5.js → chunk-VTADMA7F.js} +9 -9
- package/{chunk-MV6UZXZU.js → chunk-W53SDRNA.js} +6 -6
- package/{chunk-JRI2BRJY.js → chunk-WZ7E2MTX.js} +3 -3
- package/{chunk-F3A5IZSX.js → chunk-Y4C6CIWP.js} +2 -2
- package/{chunk-TAS3THIF.js → chunk-ZSMZGOZ2.js} +3 -3
- package/{createAgentAutomationAction-EKABYSSA.js → createAgentAutomationAction-3CG7CZF2.js} +9 -9
- package/{createDialogAction-HLP6TV4H.js → createDialogAction-OPFOUFO7.js} +10 -10
- package/{createPageAction-4NEEWW6S.js → createPageAction-Y54TU4LK.js} +9 -9
- package/{dbSlice-OBV7VFCF.js → dbSlice-YGWTAMGP.js} +4 -4
- package/{deleteFile-AC45HYSM.js → deleteFile-6BPXHM5G.js} +2 -2
- package/{dialogCommands-XB3ZNSP3.js → dialogCommands-KUOPTTW7.js} +18 -18
- package/{dialogSlice-4IWM2WIY.js → dialogSlice-ZWPGG6CW.js} +9 -9
- package/{docCreateCommands-QSPTTAN7.js → docCreateCommands-NWT3CF6Z.js} +17 -17
- package/{docDeleteCommands-2E6JZXCP.js → docDeleteCommands-N6Y2GBXZ.js} +18 -18
- package/{docReadCommands-N2DQVLLT.js → docReadCommands-WMUAO7NP.js} +17 -17
- package/{docStore-PFZCPHPC.js → docStore-MMY7W6LI.js} +10 -10
- package/{docUpdateCommands-53KFSYEP.js → docUpdateCommands-BJ6RXO6N.js} +17 -17
- package/{handleSendMessageAction-4IYJTQAL.js → handleSendMessageAction-4E2363XK.js} +9 -9
- package/index.js +40 -40
- package/{machineCommands-CR34SD5W.js → machineCommands-G3XNZ4K7.js} +24 -24
- package/{machineWsRunDispatch-G4O3NQ3I.js → machineWsRunDispatch-TDXCER6V.js} +24 -24
- package/package.json +1 -1
- package/{read-QK7ZRX6G.js → read-QUUPWYTV.js} +2 -2
- package/{readDocTool-EYDMVRBL.js → readDocTool-J6U623EK.js} +1 -1
- package/{readlineWorkspace-OOXRR2NG.js → readlineWorkspace-XX2N2R76.js} +28 -28
- package/{removeDialogAgentAction-TBW3UZJW.js → removeDialogAgentAction-UMXNPWYC.js} +6 -6
- package/{runAgentClientLoop-R5WNOWHI.js → runAgentClientLoop-TJLJMHWD.js} +20 -20
- package/{setDialogExtraReferencesAction-Q3ANF2NR.js → setDialogExtraReferencesAction-A3MC5BRN.js} +5 -5
- package/{setPrimaryDialogAgentAction-FQ5R3EFJ.js → setPrimaryDialogAgentAction-43JNNAH4.js} +6 -6
- package/{settingSlice-JKKV2T7O.js → settingSlice-XIATPDJH.js} +5 -5
- package/{spaceCommands-RZN5K5ND.js → spaceCommands-DFLZCOPH.js} +17 -17
- package/{spaceSlice-3BVGRL3V.js → spaceSlice-UL7KEYOZ.js} +9 -9
- package/{streamAgentChatTurn-RVOJZ2HO.js → streamAgentChatTurn-MOIP2RPM.js} +22 -22
- package/{switchDialogAgentAction-QQGVE4SL.js → switchDialogAgentAction-K42FPQXR.js} +4 -4
- package/{tools-QAKUH2P6.js → tools-NTOMB4LH.js} +17 -17
- package/{updateDialogTitleAction-4O5PZVQR.js → updateDialogTitleAction-IHHHSMZW.js} +9 -9
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
buildRuntimeGuidanceBlocks,
|
|
10
10
|
fetchReferenceContents,
|
|
11
11
|
resolveToolGuidedSections
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OWO7RJJP.js";
|
|
13
13
|
import {
|
|
14
14
|
getAllToolRuns,
|
|
15
15
|
resolveAgentRecommendedSkillNames,
|
|
16
16
|
resolveAgentRequiredPackIds
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BNM4PN7V.js";
|
|
18
18
|
import {
|
|
19
19
|
getDocState
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-H5UXA6OF.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveToolBaseUrl
|
|
23
23
|
} from "./chunk-44HACRCK.js";
|
|
@@ -38,11 +38,10 @@ import {
|
|
|
38
38
|
resolveBuiltinPlatformAgentConfig,
|
|
39
39
|
selectAllMsgs,
|
|
40
40
|
selectCurrentTable,
|
|
41
|
-
selectCurrentUserBalance,
|
|
42
41
|
selectTableRows,
|
|
43
42
|
selectViewMode,
|
|
44
43
|
serializeMessageContent
|
|
45
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-NCPP67IY.js";
|
|
46
45
|
import {
|
|
47
46
|
clipCompactText
|
|
48
47
|
} from "./chunk-OB6FBSH3.js";
|
|
@@ -68,26 +67,27 @@ import {
|
|
|
68
67
|
selectKnowledgeCaptureLevel,
|
|
69
68
|
selectSpaceContextLevel,
|
|
70
69
|
selectUserTonePreset
|
|
71
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-B2F42PFJ.js";
|
|
72
71
|
import {
|
|
73
72
|
asRecordOrEmpty
|
|
74
73
|
} from "./chunk-KX6YBIHG.js";
|
|
75
74
|
import {
|
|
76
75
|
read,
|
|
77
76
|
selectById
|
|
78
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-AKF3R6YT.js";
|
|
79
78
|
import {
|
|
80
79
|
asTrimmedLowercaseString
|
|
81
80
|
} from "./chunk-QSJ3HFEF.js";
|
|
82
81
|
import {
|
|
83
82
|
PUBLIC_QWEN_37_FLASH_AGENT_KEY
|
|
84
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-MBZE75JH.js";
|
|
85
84
|
import {
|
|
86
85
|
extractCustomId
|
|
87
86
|
} from "./chunk-TOW4E763.js";
|
|
88
87
|
import {
|
|
88
|
+
selectIdentityUserBalance,
|
|
89
89
|
selectIdentityUserId
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-REBLMWZW.js";
|
|
91
91
|
import {
|
|
92
92
|
isRecord
|
|
93
93
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1209,7 +1209,7 @@ ${content}
|
|
|
1209
1209
|
return output;
|
|
1210
1210
|
};
|
|
1211
1211
|
var validateAccessAndBalance = (agentConfig, state) => {
|
|
1212
|
-
const userBalance =
|
|
1212
|
+
const userBalance = selectIdentityUserBalance(state);
|
|
1213
1213
|
const currentUserId = selectIdentityUserId(state);
|
|
1214
1214
|
const isCustomApi = agentConfig.apiSource === "custom";
|
|
1215
1215
|
const isCliApi = agentConfig.apiSource === "cli";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReferenceAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W53SDRNA.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReferenceContents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OWO7RJJP.js";
|
|
7
7
|
|
|
8
8
|
// packages/ai/agent/fetchAgentContexts.ts
|
|
9
9
|
async function fetchAgentContexts(references, dispatch) {
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-WJRJDX2W.js";
|
|
27
27
|
import {
|
|
28
28
|
buildLocalAgentLookupKeys
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QMGLMEEF.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-GR4ULAGB.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-FVKMFU3A.js";
|
|
77
77
|
import {
|
|
78
78
|
inferCaptureIntent,
|
|
79
79
|
resolveHistoricalToolContentCap,
|
|
80
80
|
summarizeToolArguments
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-2NKRHXDO.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-INRBVD6S.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-BNM4PN7V.js";
|
|
131
131
|
import {
|
|
132
132
|
applyTokenUsageToDayStats,
|
|
133
133
|
prepareTokenUsageData,
|
|
134
134
|
resolveBuiltinPlatformAgentConfig,
|
|
135
135
|
runKeyed
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-NCPP67IY.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-N3F3I7CF.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-MBZE75JH.js";
|
|
179
179
|
import {
|
|
180
180
|
NOLO_CLUSTER_SERVERS
|
|
181
181
|
} from "./chunk-LCBAMY2M.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FXCLTQEO.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CYSB5B6O.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VNQ4HVEE.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectCurrentServer,
|
|
3
3
|
selectRemoteServers
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B2F42PFJ.js";
|
|
5
5
|
import {
|
|
6
6
|
noloDeleteRequest,
|
|
7
7
|
noloWriteRequest,
|
|
8
8
|
selectIdentityUser,
|
|
9
9
|
selectIdentityUserId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-REBLMWZW.js";
|
|
11
11
|
import {
|
|
12
12
|
normalizeTimeFields
|
|
13
13
|
} from "./chunk-R5V5G73M.js";
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
loadFileFromIndexedDb,
|
|
3
3
|
removeAction,
|
|
4
4
|
saveFileToIndexedDb
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H42QD4SH.js";
|
|
6
6
|
import {
|
|
7
7
|
readAction,
|
|
8
8
|
readRequestManager,
|
|
9
9
|
resolveAgentReadServers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MBZE75JH.js";
|
|
11
11
|
import {
|
|
12
12
|
asyncThunkCreator,
|
|
13
13
|
buildCreateSlice,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
shouldReplaceLocalWithRemoteRecord,
|
|
28
28
|
shouldReplicateLocalRecord,
|
|
29
29
|
uploadToCurrentServer
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-REBLMWZW.js";
|
|
31
31
|
import {
|
|
32
32
|
fetchFromClientDb,
|
|
33
33
|
fetchFromServer,
|
|
@@ -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-QUUPWYTV.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-PABHQA2V.js");
|
|
782
782
|
return shareResourceAction(config, thunkApi);
|
|
783
783
|
}
|
|
784
784
|
),
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
toTimestampMs,
|
|
8
8
|
upsert,
|
|
9
9
|
write
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AKF3R6YT.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-MBZE75JH.js";
|
|
17
17
|
import {
|
|
18
18
|
asyncThunkCreator,
|
|
19
19
|
buildCreateSlice,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
createAsyncThunk,
|
|
22
22
|
createSelector,
|
|
23
23
|
selectIdentityUserId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-REBLMWZW.js";
|
|
25
25
|
import {
|
|
26
26
|
getAllServers,
|
|
27
27
|
getIsDesktopApp,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3NHLRJTZ.js";
|
|
5
5
|
import {
|
|
6
6
|
runLocalAgentTurn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2NKRHXDO.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BNM4PN7V.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N3F3I7CF.js";
|
|
14
14
|
import {
|
|
15
15
|
toErrorMessage
|
|
16
16
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NCPP67IY.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-B2F42PFJ.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-MBZE75JH.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-REBLMWZW.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-NTOMB4LH.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-UL7KEYOZ.js");
|
|
1649
1649
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectCurrentServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B2F42PFJ.js";
|
|
4
4
|
import {
|
|
5
5
|
patch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AKF3R6YT.js";
|
|
7
7
|
import {
|
|
8
8
|
selectIdentityToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-REBLMWZW.js";
|
|
10
10
|
import {
|
|
11
11
|
getIsDesktopApp
|
|
12
12
|
} from "./chunk-R5V5G73M.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
parseToolArgumentsJson,
|
|
13
13
|
resolveHistoricalToolContentCap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2NKRHXDO.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-OWO7RJJP.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-BNM4PN7V.js";
|
|
43
43
|
import {
|
|
44
44
|
toErrorMessage
|
|
45
45
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NCPP67IY.js";
|
|
4
4
|
import {
|
|
5
5
|
require_date_fns
|
|
6
6
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
patch,
|
|
15
15
|
readAndWait
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AKF3R6YT.js";
|
|
17
17
|
import {
|
|
18
18
|
asOptionalTrimmedString
|
|
19
19
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -367,7 +367,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
async function createDocState(args, thunkApi) {
|
|
370
|
-
const { createPageAction } = await import("./createPageAction-
|
|
370
|
+
const { createPageAction } = await import("./createPageAction-Y54TU4LK.js");
|
|
371
371
|
return createPageAction(args, thunkApi);
|
|
372
372
|
}
|
|
373
373
|
function subscribe(listener) {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
sortSafeAgentSummaries,
|
|
19
19
|
toSafeAgentSummary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VNQ4HVEE.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-BNM4PN7V.js";
|
|
47
47
|
import {
|
|
48
48
|
createDocState
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-H5UXA6OF.js";
|
|
50
50
|
import {
|
|
51
51
|
setDialogExtraReferencesAction
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-2FNQS3NE.js";
|
|
53
53
|
import {
|
|
54
54
|
readDocFunc,
|
|
55
55
|
readDocFunctionSchema,
|
|
56
56
|
readPageFunc,
|
|
57
57
|
readPageFunctionSchema
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-S45OJAFJ.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-WZ7E2MTX.js";
|
|
73
73
|
import {
|
|
74
74
|
markdownToSlate
|
|
75
75
|
} from "./chunk-3LY4F7SV.js";
|
|
@@ -95,7 +95,6 @@ import {
|
|
|
95
95
|
selectCurrentDialogConfig,
|
|
96
96
|
selectCurrentDialogId,
|
|
97
97
|
selectCurrentSpaceId,
|
|
98
|
-
selectCurrentUserBalance,
|
|
99
98
|
selectMsgById,
|
|
100
99
|
setWorkflow,
|
|
101
100
|
uiAskChoiceFunc,
|
|
@@ -103,13 +102,13 @@ import {
|
|
|
103
102
|
updateContentCategory,
|
|
104
103
|
updateContentTitle,
|
|
105
104
|
updateStep
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-NCPP67IY.js";
|
|
107
106
|
import {
|
|
108
107
|
createAgent,
|
|
109
108
|
runLlm,
|
|
110
109
|
streamAgentChatTurn,
|
|
111
110
|
updateAgent
|
|
112
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-N3F3I7CF.js";
|
|
113
112
|
import {
|
|
114
113
|
toErrorMessage
|
|
115
114
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -125,7 +124,7 @@ import {
|
|
|
125
124
|
addContentAction,
|
|
126
125
|
createSpaceKey,
|
|
127
126
|
normalizeSpaceId
|
|
128
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-LZSOKNT7.js";
|
|
129
128
|
import {
|
|
130
129
|
DEFAULT_MODEL
|
|
131
130
|
} from "./chunk-EIQDGAAE.js";
|
|
@@ -137,14 +136,14 @@ import {
|
|
|
137
136
|
} from "./chunk-VF4K2QE6.js";
|
|
138
137
|
import {
|
|
139
138
|
shareResourceAction
|
|
140
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-7NE6SSNO.js";
|
|
141
140
|
import {
|
|
142
141
|
AGENT_UPDATE_FIELD_NAMES,
|
|
143
142
|
normalizeAgentUpdateFieldList,
|
|
144
143
|
selectAutoApproveSelfUpdateFields,
|
|
145
144
|
selectCurrentServer,
|
|
146
145
|
selectSyncServers
|
|
147
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-B2F42PFJ.js";
|
|
148
147
|
import {
|
|
149
148
|
asRecordOrEmpty
|
|
150
149
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -156,13 +155,13 @@ import {
|
|
|
156
155
|
selectById,
|
|
157
156
|
toTimestampMs,
|
|
158
157
|
write
|
|
159
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-AKF3R6YT.js";
|
|
160
159
|
import {
|
|
161
160
|
asTrimmedLowercaseString
|
|
162
161
|
} from "./chunk-QSJ3HFEF.js";
|
|
163
162
|
import {
|
|
164
163
|
readAction
|
|
165
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-MBZE75JH.js";
|
|
166
165
|
import {
|
|
167
166
|
extractCustomId
|
|
168
167
|
} from "./chunk-TOW4E763.js";
|
|
@@ -171,9 +170,10 @@ import {
|
|
|
171
170
|
getRuntimeServerContext,
|
|
172
171
|
noloWriteRequest,
|
|
173
172
|
selectIdentityToken,
|
|
173
|
+
selectIdentityUserBalance,
|
|
174
174
|
selectIdentityUserId,
|
|
175
175
|
selectRuntimeSnapshot
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-REBLMWZW.js";
|
|
177
177
|
import {
|
|
178
178
|
isAbortError
|
|
179
179
|
} from "./chunk-R5V5G73M.js";
|
|
@@ -10182,7 +10182,7 @@ var appBuilder_locale_default = {
|
|
|
10182
10182
|
}
|
|
10183
10183
|
};
|
|
10184
10184
|
|
|
10185
|
-
// packages/
|
|
10185
|
+
// packages/core/gptProTier.ts
|
|
10186
10186
|
var ADVANCED_FEATURE_MIN_BALANCE = 19;
|
|
10187
10187
|
var GPT_PRO_REQUIRED_RECHARGE_AMOUNT = 199;
|
|
10188
10188
|
function isGptProModel(provider, model) {
|
|
@@ -11539,7 +11539,7 @@ var findSpaceConfig = (nameOrId, allSpaces) => {
|
|
|
11539
11539
|
async function createAgentToolFunc(args, thunkApi) {
|
|
11540
11540
|
const state = thunkApi.getState();
|
|
11541
11541
|
const currentUserId = selectIdentityUserId(state);
|
|
11542
|
-
const currentBalance =
|
|
11542
|
+
const currentBalance = selectIdentityUserBalance(state);
|
|
11543
11543
|
const allSpaces = selectAllMemberSpaces(state);
|
|
11544
11544
|
if (!currentUserId) {
|
|
11545
11545
|
throw new Error("\u521B\u5EFA Agent \u5931\u8D25\uFF1A\u5F53\u524D\u672A\u767B\u5F55\u6216\u7F3A\u5C11 userId\u3002");
|
|
@@ -13918,7 +13918,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
13918
13918
|
const deletedDialogIds = [];
|
|
13919
13919
|
const deletedDialogKeys = [];
|
|
13920
13920
|
const failures = [];
|
|
13921
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
13921
|
+
const { deleteDialog } = await import("./dialogSlice-ZWPGG6CW.js");
|
|
13922
13922
|
for (const target of targets) {
|
|
13923
13923
|
try {
|
|
13924
13924
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -14187,7 +14187,7 @@ var readSkillDocFunctionSchema = {
|
|
|
14187
14187
|
}
|
|
14188
14188
|
};
|
|
14189
14189
|
async function readSkillDocFunc(args, thunkApi) {
|
|
14190
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
14190
|
+
const { buildReadDocResult } = await import("./readDocTool-J6U623EK.js");
|
|
14191
14191
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
14192
14192
|
if (typeof id !== "string" || !id.trim()) {
|
|
14193
14193
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -19637,7 +19637,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
|
|
|
19637
19637
|
var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
|
|
19638
19638
|
async function addImageContentToSpace(input) {
|
|
19639
19639
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
19640
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
19640
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-QOCQY2OK.js")).addContentAction;
|
|
19641
19641
|
await addContentAction2(
|
|
19642
19642
|
{
|
|
19643
19643
|
spaceId: input.spaceId,
|
|
@@ -25663,7 +25663,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25663
25663
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25664
25664
|
};
|
|
25665
25665
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25666
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25666
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-MMY7W6LI.js");
|
|
25667
25667
|
if (getDocState().pageKey === id) {
|
|
25668
25668
|
applyExternalDocUpdate({
|
|
25669
25669
|
slateData: finalSlateData,
|
|
@@ -25688,7 +25688,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25688
25688
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
25689
25689
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
25690
25690
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
25691
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
25691
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-XIATPDJH.js")).setSettings;
|
|
25692
25692
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
25693
25693
|
}
|
|
25694
25694
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
patch,
|
|
3
3
|
read
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AKF3R6YT.js";
|
|
5
5
|
import {
|
|
6
6
|
DEVICE_LOCAL_OWNER_ID,
|
|
7
7
|
isDeviceLocalSpaceBody,
|
|
8
8
|
selectIdentityUserId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-REBLMWZW.js";
|
|
10
10
|
|
|
11
11
|
// packages/create/space/spaceKeys.ts
|
|
12
12
|
var SEPARATOR = "-";
|