nolo-cli 0.243.0-alpha.2 → 0.243.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-OO3WNJZJ.js → _executeModel-EKTVBHP5.js} +25 -25
- package/{action-4V2UISXC.js → action-R2EIXR7I.js} +3 -3
- package/{addContentAction-5MZDMGI6.js → addContentAction-W6JVLQ6H.js} +6 -6
- package/{addDialogAgentAction-ONVFHUOL.js → addDialogAgentAction-LVNKMXKZ.js} +5 -5
- package/{agentDeleteCommand-XLYICAHH.js → agentDeleteCommand-PLATQ4WQ.js} +22 -22
- package/{agentEmailCommands-Q4LFOXQC.js → agentEmailCommands-3ZLROASQ.js} +23 -23
- package/{agentMachineCommands-7QQM6RU6.js → agentMachineCommands-DW2HS6KZ.js} +1 -1
- package/{agentRecordCommands-FXP672SS.js → agentRecordCommands-NAYFUYXR.js} +23 -23
- package/{agentRunCommand-FGEYVKIG.js → agentRunCommand-DFNC6HMT.js} +23 -23
- package/{agentSlice-R6BN2FOL.js → agentSlice-UTV4ZFTX.js} +6 -6
- package/{chunk-YO4DCVD2.js → chunk-2IPR4PBB.js} +1 -1
- package/{chunk-GKZHJD7O.js → chunk-2QXYFYLP.js} +2 -2
- package/{chunk-U3PDJ6EI.js → chunk-5BVGJKIA.js} +10 -10
- package/{chunk-DEOPZE4S.js → chunk-5VVP7DW3.js} +1 -1
- package/{chunk-G3SJCNHX.js → chunk-76HAJUOJ.js} +1 -1
- package/{chunk-TRN54YTP.js → chunk-AVSZ6PBM.js} +2 -2
- package/{chunk-ONXCCILE.js → chunk-AZUPMHRN.js} +19 -19
- package/{chunk-OPZBKP4X.js → chunk-BW6QATP2.js} +5 -5
- package/{chunk-GKZGOSZE.js → chunk-C2QLXFUP.js} +8 -8
- package/{chunk-SGI2FIGK.js → chunk-CJQBWHNM.js} +2 -2
- package/{chunk-ZGHHY2PV.js → chunk-FMYNIAI6.js} +1 -1
- package/{chunk-TCY22W2Y.js → chunk-HJHZVSTB.js} +3 -3
- package/{chunk-SSTQPNS5.js → chunk-I2NBEUPD.js} +8 -8
- package/{chunk-SEDJEJBH.js → chunk-IFWXH7LH.js} +1 -1
- package/{chunk-QE6U2BKG.js → chunk-IMDKBSUH.js} +2 -2
- package/{chunk-WIRH2ZLI.js → chunk-KMDHRVS7.js} +20 -1
- package/{chunk-3IQ5GP5Y.js → chunk-LC5CVWP2.js} +2 -2
- package/{chunk-7DVJO4J5.js → chunk-LPGHK4JN.js} +7 -7
- package/{chunk-AUBXID4I.js → chunk-MKOAAPH7.js} +5 -5
- package/{chunk-VTB6V4UF.js → chunk-PDAXMBLW.js} +6 -6
- package/{chunk-T3CUXNV4.js → chunk-QOURTDZL.js} +84 -5
- package/{chunk-WXZZQRAH.js → chunk-RXTZB2DH.js} +1 -1
- package/{chunk-YDTLGWBU.js → chunk-SESKIWB4.js} +1 -1
- package/{chunk-G3Y56RZA.js → chunk-TVUBURX7.js} +3 -3
- package/{chunk-FUG2L353.js → chunk-UDHBVOLK.js} +2 -2
- package/{chunk-7AI3MC6I.js → chunk-UL4PV44O.js} +1 -1
- package/{chunk-37NO3AYF.js → chunk-VSZWCZM6.js} +2 -2
- package/{chunk-AGQ6WAB2.js → chunk-W3FHUZEK.js} +6 -6
- package/{chunk-GRVQJNSR.js → chunk-XZKFM7KO.js} +22 -22
- package/{chunk-LCPP65AH.js → chunk-ZGEFT7GW.js} +4 -4
- package/{chunk-BRZFJQTW.js → chunk-ZJ5HDNS2.js} +5 -5
- package/{commandRegistry-GBAVYSJE.js → commandRegistry-FHMIUCZO.js} +15 -15
- package/{contentThunks-IRJERA32.js → contentThunks-3SB44C7X.js} +12 -12
- package/{createAgentAutomationAction-EKJMTIUX.js → createAgentAutomationAction-5HZTYLFU.js} +12 -12
- package/{createDialogAction-SI5EKEF6.js → createDialogAction-BEWLUGTZ.js} +13 -13
- package/{createPageAction-OAQ2Z73C.js → createPageAction-YQJNM7WK.js} +13 -13
- package/{dbSlice-JBLCCYKC.js → dbSlice-5MQ3ELID.js} +5 -5
- package/{deleteFile-KV5VTKAT.js → deleteFile-VCCHS72Y.js} +3 -3
- package/{dialogSlice-PRXHSZKA.js → dialogSlice-35ZHIKXV.js} +10 -10
- package/{docStore-ISD6RJ4Q.js → docStore-YAQ2NUEU.js} +6 -6
- package/{handleSendMessageAction-53ZRMHZI.js → handleSendMessageAction-TGD2MREV.js} +20 -20
- package/{hostCredentialCreate-CE7VH3QY.js → hostCredentialCreate-JOEH42E2.js} +23 -23
- package/index.js +3 -3
- package/{localRuntimeAdapter-HFSSPXSN.js → localRuntimeAdapter-LGCTOJKO.js} +22 -22
- package/{machineCommands-RD3VAUXS.js → machineCommands-UKDQ54ZP.js} +23 -23
- package/{machineWsRunDispatch-4F57JVF5.js → machineWsRunDispatch-VYB4BESM.js} +23 -23
- package/{memberThunks-TWB77UHJ.js → memberThunks-KC3WJGL3.js} +7 -7
- package/package.json +1 -1
- package/{projectArchive-NSWHU25G.js → projectArchive-KAR4AVYU.js} +13 -13
- package/{read-CO6HMH5W.js → read-T7VU2IMO.js} +3 -3
- package/{readDocTool-P4MDVRNW.js → readDocTool-BPQ3QJSD.js} +1 -1
- package/{readlineWorkspace-5DBAVNUP.js → readlineWorkspace-NO3Z5SRR.js} +26 -26
- package/{removeDialogAgentAction-D3R3QNPD.js → removeDialogAgentAction-FEUUVMYC.js} +7 -7
- package/{runAgentClientLoop-RJ7KEUWO.js → runAgentClientLoop-RKQUAOW5.js} +23 -23
- package/{setDialogExtraReferencesAction-VORDLM57.js → setDialogExtraReferencesAction-JSTQJPXL.js} +6 -6
- package/{setPrimaryDialogAgentAction-P5A65M32.js → setPrimaryDialogAgentAction-Z2BQE3IY.js} +7 -7
- package/{settingThunks-JGBSDOC6.js → settingThunks-C2YWCNYI.js} +5 -5
- package/{streamAgentChatTurn-FRPZ7DE2.js → streamAgentChatTurn-EY7XVVDV.js} +25 -25
- package/{switchDialogAgentAction-DMMWH5FG.js → switchDialogAgentAction-G7XVAOGH.js} +5 -5
- package/{tools-7JMKOJPW.js → tools-5MVR3NQI.js} +20 -20
- package/{updateDialogTitleAction-BQH24I5O.js → updateDialogTitleAction-4PLYOEJM.js} +12 -12
- package/{webapi-24RZDIIQ.js → webapi-QVV65DQF.js} +12 -13
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
patch,
|
|
6
6
|
readAndWait
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PDAXMBLW.js";
|
|
8
8
|
import {
|
|
9
9
|
require_react
|
|
10
10
|
} from "./chunk-RD3QLZQV.js";
|
|
@@ -335,7 +335,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
335
335
|
).unwrap();
|
|
336
336
|
if (dbSpaceId) {
|
|
337
337
|
try {
|
|
338
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
338
|
+
const { updateContentTitle } = await import("./contentThunks-3SB44C7X.js");
|
|
339
339
|
await dispatch(
|
|
340
340
|
updateContentTitle({
|
|
341
341
|
spaceId: dbSpaceId,
|
|
@@ -378,7 +378,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
async function createDocState(args, thunkApi) {
|
|
381
|
-
const { createPageAction } = await import("./createPageAction-
|
|
381
|
+
const { createPageAction } = await import("./createPageAction-YQJNM7WK.js");
|
|
382
382
|
return createPageAction(args, thunkApi);
|
|
383
383
|
}
|
|
384
384
|
function subscribe(listener) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BW6QATP2.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZUPMHRN.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-U35UUM5K.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BW6QATP2.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W3FHUZEK.js";
|
|
10
10
|
import {
|
|
11
11
|
buildIdentityBlock,
|
|
12
12
|
buildPlatformStaticContextLayers,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
upsertSSREntity,
|
|
3
3
|
write
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PDAXMBLW.js";
|
|
5
5
|
import {
|
|
6
6
|
getRuntimeServerContext,
|
|
7
7
|
resolveRecordAuthority
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FMYNIAI6.js";
|
|
9
9
|
import {
|
|
10
10
|
TIMEOUT,
|
|
11
11
|
asyncThunkCreator,
|
|
12
12
|
buildCreateSlice,
|
|
13
13
|
noloRequest
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QOURTDZL.js";
|
|
15
15
|
import {
|
|
16
16
|
applyAgentSecretMigrationUpdates,
|
|
17
17
|
migrateAgentSecrets,
|
|
@@ -458,7 +458,7 @@ var slice = createSliceWithThunks({
|
|
|
458
458
|
const overrides = {};
|
|
459
459
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
460
460
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
461
|
-
const { _executeModel } = await import("./_executeModel-
|
|
461
|
+
const { _executeModel } = await import("./_executeModel-EKTVBHP5.js");
|
|
462
462
|
return _executeModel(
|
|
463
463
|
{
|
|
464
464
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -479,7 +479,7 @@ var slice = createSliceWithThunks({
|
|
|
479
479
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
480
480
|
*/
|
|
481
481
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
482
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
482
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-RKQUAOW5.js");
|
|
483
483
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
484
484
|
{
|
|
485
485
|
agentKey: args.agentKey,
|
|
@@ -495,7 +495,7 @@ var slice = createSliceWithThunks({
|
|
|
495
495
|
* 聊天轮次流式 Agent 调用
|
|
496
496
|
*/
|
|
497
497
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
498
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
498
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-EY7XVVDV.js");
|
|
499
499
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
500
500
|
}),
|
|
501
501
|
/**
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
applyFetchSpaceFulfilled,
|
|
25
25
|
fetchAuthoritativeRemoteSpace,
|
|
26
26
|
selectSpaceRemoteAuth
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KMDHRVS7.js";
|
|
28
28
|
import {
|
|
29
29
|
ToolResultError,
|
|
30
30
|
clipMultilineText,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
toolRunUpdated,
|
|
39
39
|
uiCardFallback,
|
|
40
40
|
waitForAbortableDelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-I2NBEUPD.js";
|
|
42
42
|
import {
|
|
43
43
|
isGatewayHttpStatus
|
|
44
44
|
} from "./chunk-NF64D32W.js";
|
|
@@ -47,19 +47,19 @@ import {
|
|
|
47
47
|
} from "./chunk-6PXFEPHL.js";
|
|
48
48
|
import {
|
|
49
49
|
createDocState
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-TVUBURX7.js";
|
|
51
51
|
import {
|
|
52
52
|
readDocFunc,
|
|
53
53
|
readDocFunctionSchema,
|
|
54
54
|
readPageFunc,
|
|
55
55
|
readPageFunctionSchema,
|
|
56
56
|
resolvePageReadMarkdown
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-IFWXH7LH.js";
|
|
58
58
|
import {
|
|
59
59
|
createDialogAction,
|
|
60
60
|
uiAskChoiceFunc,
|
|
61
61
|
uiAskChoiceFunctionSchema
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HJHZVSTB.js";
|
|
63
63
|
import {
|
|
64
64
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
65
65
|
addContentToSpace,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
updateContentCategory,
|
|
77
77
|
updateContentTitle,
|
|
78
78
|
writeStoredCollapsedCategories
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-C2QLXFUP.js";
|
|
80
80
|
import {
|
|
81
81
|
buildDatabaseFileContentUrl,
|
|
82
82
|
deleteDialog,
|
|
@@ -85,14 +85,14 @@ import {
|
|
|
85
85
|
selectCurrentDialogConfig,
|
|
86
86
|
selectCurrentDialogId,
|
|
87
87
|
selectMsgById
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-AZUPMHRN.js";
|
|
89
89
|
import {
|
|
90
90
|
createAgent,
|
|
91
91
|
deleteServerSyncedCredential,
|
|
92
92
|
runLlm,
|
|
93
93
|
streamAgentChatTurn,
|
|
94
94
|
updateAgent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-W3FHUZEK.js";
|
|
96
96
|
import {
|
|
97
97
|
addMemberSpace,
|
|
98
98
|
getAllMemberSpaces,
|
|
@@ -109,12 +109,12 @@ import {
|
|
|
109
109
|
setViewMode,
|
|
110
110
|
updateCurrentSpaceIfMatch,
|
|
111
111
|
updateMemberSpaceName
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-RXTZB2DH.js";
|
|
113
113
|
import {
|
|
114
114
|
UNCATEGORIZED_ID,
|
|
115
115
|
addContentAction,
|
|
116
116
|
checkSpaceMembership
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-CJQBWHNM.js";
|
|
118
118
|
import {
|
|
119
119
|
createSpaceKey,
|
|
120
120
|
normalizeSpaceId
|
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
selectEntities,
|
|
131
131
|
toTimestampMs,
|
|
132
132
|
write
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-PDAXMBLW.js";
|
|
134
134
|
import {
|
|
135
135
|
resolveDefaultReasoningEffort
|
|
136
136
|
} from "./chunk-OXFJWWOT.js";
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
} from "./chunk-RD3QLZQV.js";
|
|
180
180
|
import {
|
|
181
181
|
readAction
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-5VVP7DW3.js";
|
|
183
183
|
import {
|
|
184
184
|
DEVICE_LOCAL_OWNER_ID,
|
|
185
185
|
getRuntimeServerContext,
|
|
@@ -189,19 +189,19 @@ import {
|
|
|
189
189
|
resolveEffectiveSpaceActorId,
|
|
190
190
|
resolveRecordOwnerUserId,
|
|
191
191
|
selectRuntimeSnapshot
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-FMYNIAI6.js";
|
|
193
193
|
import {
|
|
194
194
|
shareResourceAction
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-LC5CVWP2.js";
|
|
196
196
|
import {
|
|
197
197
|
selectCurrentServer,
|
|
198
198
|
selectSyncServers
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-76HAJUOJ.js";
|
|
200
200
|
import {
|
|
201
201
|
createAsyncThunk,
|
|
202
202
|
createSelector,
|
|
203
203
|
noloWriteRequest
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-QOURTDZL.js";
|
|
205
205
|
import {
|
|
206
206
|
googleSessionRequestToken,
|
|
207
207
|
isGoogleAuthoritySession
|
|
@@ -4012,7 +4012,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4012
4012
|
const deletedDialogIds = [];
|
|
4013
4013
|
const deletedDialogKeys = [];
|
|
4014
4014
|
const failures = [];
|
|
4015
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
4015
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-35ZHIKXV.js");
|
|
4016
4016
|
for (const target of targets) {
|
|
4017
4017
|
try {
|
|
4018
4018
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4450,7 +4450,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4450
4450
|
}
|
|
4451
4451
|
};
|
|
4452
4452
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4453
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4453
|
+
const { buildReadDocResult } = await import("./readDocTool-BPQ3QJSD.js");
|
|
4454
4454
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4455
4455
|
if (typeof id !== "string" || !id.trim()) {
|
|
4456
4456
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -5389,7 +5389,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5389
5389
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5390
5390
|
const readSpace = async (dbKey) => {
|
|
5391
5391
|
try {
|
|
5392
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5392
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-5MQ3ELID.js");
|
|
5393
5393
|
const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
|
|
5394
5394
|
return await withTimeout(readPromise);
|
|
5395
5395
|
} catch {
|
|
@@ -12078,7 +12078,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
12078
12078
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
12079
12079
|
async function addImageContentToSpace(input) {
|
|
12080
12080
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
12081
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
12081
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-W6JVLQ6H.js")).addContentAction;
|
|
12082
12082
|
await addContentAction2(
|
|
12083
12083
|
{
|
|
12084
12084
|
spaceId: input.spaceId,
|
|
@@ -19389,7 +19389,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19389
19389
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
19390
19390
|
};
|
|
19391
19391
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
19392
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
19392
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-YAQ2NUEU.js");
|
|
19393
19393
|
if (getDocState().pageKey === id) {
|
|
19394
19394
|
applyExternalDocUpdate({
|
|
19395
19395
|
slateData: finalSlateData,
|
|
@@ -19414,7 +19414,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19414
19414
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
19415
19415
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
19416
19416
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
19417
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
19417
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-C2YWCNYI.js")).setSettings;
|
|
19418
19418
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
19419
19419
|
}
|
|
19420
19420
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace,
|
|
16
16
|
resolveCreationSpaceId
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-C2QLXFUP.js";
|
|
18
18
|
import {
|
|
19
19
|
runtime_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AZUPMHRN.js";
|
|
21
21
|
import {
|
|
22
22
|
getCurrentSpaceId
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RXTZB2DH.js";
|
|
24
24
|
import {
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PDAXMBLW.js";
|
|
27
27
|
import {
|
|
28
28
|
selectIdentityUserId
|
|
29
29
|
} from "./chunk-PXYBUFDB.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
import {
|
|
73
73
|
inlineImageUrlsForCustomProvider,
|
|
74
74
|
prepareTools
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-2QXYFYLP.js";
|
|
76
76
|
import {
|
|
77
77
|
getServerProviderSecret
|
|
78
78
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
resolveCliLocalSpawnDispatch,
|
|
96
96
|
resolveRunContextFacts,
|
|
97
97
|
resolveStartAgentRunCwd
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-XZKFM7KO.js";
|
|
99
99
|
import {
|
|
100
100
|
deriveCredentialGroup,
|
|
101
101
|
deriveCustomProviderCredentialGroup
|
|
@@ -109,11 +109,11 @@ import {
|
|
|
109
109
|
} from "./chunk-6PXFEPHL.js";
|
|
110
110
|
import {
|
|
111
111
|
validateAskChoiceInput
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-HJHZVSTB.js";
|
|
113
113
|
import {
|
|
114
114
|
prepareTokenUsageData,
|
|
115
115
|
runKeyed
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-AZUPMHRN.js";
|
|
117
117
|
import {
|
|
118
118
|
applyTokenUsageToDayStats,
|
|
119
119
|
require_format
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
} from "./chunk-523DITKR.js";
|
|
125
125
|
import {
|
|
126
126
|
fetchServerSyncedCredential
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-W3FHUZEK.js";
|
|
128
128
|
import {
|
|
129
129
|
defaultLoopbackRequest,
|
|
130
130
|
loadLocalRunChildDialogIds
|
|
@@ -112,7 +112,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
112
112
|
// packages/cli/agentInternalCommandEntries.ts
|
|
113
113
|
function getAgentInternalCommandEntries() {
|
|
114
114
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
115
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
115
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-DFNC6HMT.js");
|
|
116
116
|
return runAgentRunCommand(args, {
|
|
117
117
|
env: ctx.env,
|
|
118
118
|
scriptDir: ctx.scriptDir,
|
|
@@ -128,7 +128,7 @@ function getAgentInternalCommandEntries() {
|
|
|
128
128
|
return runAgentListCommand(args, deps);
|
|
129
129
|
}),
|
|
130
130
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
131
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
131
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-NAYFUYXR.js");
|
|
132
132
|
return runAgentCreateCommand(args, deps);
|
|
133
133
|
}),
|
|
134
134
|
createEnvCommand(["agent", "models"], "List models: --preset <id> (server discovery, exit 1 on static fallback) or --url <base> --api-key <key> (OpenAI-compatible /models)", async (args, deps) => {
|
|
@@ -144,7 +144,7 @@ function getAgentInternalCommandEntries() {
|
|
|
144
144
|
return runAgentPullCommand(args, deps);
|
|
145
145
|
}),
|
|
146
146
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
147
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
147
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-NAYFUYXR.js");
|
|
148
148
|
return runAgentReadCommand(args, deps);
|
|
149
149
|
}),
|
|
150
150
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -177,31 +177,31 @@ function getAgentInternalCommandEntries() {
|
|
|
177
177
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
178
178
|
}),
|
|
179
179
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
180
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
180
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-NAYFUYXR.js");
|
|
181
181
|
return runAgentUpdateCommand(args, deps);
|
|
182
182
|
}),
|
|
183
183
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
184
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
184
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-3ZLROASQ.js");
|
|
185
185
|
return runAgentEmailProvisionCommand(args, deps);
|
|
186
186
|
}),
|
|
187
187
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
188
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
188
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-3ZLROASQ.js");
|
|
189
189
|
return runAgentEmailBindCommand(args, deps);
|
|
190
190
|
}),
|
|
191
191
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
192
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
192
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-3ZLROASQ.js");
|
|
193
193
|
return runAgentEmailTransferCommand(args, deps);
|
|
194
194
|
}),
|
|
195
195
|
createEnvCommand(
|
|
196
196
|
["agent", "email", "create-and-provision"],
|
|
197
197
|
"Create an agent and provision its controlled inbox",
|
|
198
198
|
async (args, deps) => {
|
|
199
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
199
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-3ZLROASQ.js");
|
|
200
200
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
203
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
204
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
204
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-PLATQ4WQ.js");
|
|
205
205
|
return runAgentDeleteCommand(args, deps);
|
|
206
206
|
}),
|
|
207
207
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -221,15 +221,15 @@ function getAgentInternalCommandEntries() {
|
|
|
221
221
|
return runAgentRevokeGrantCommand(args, deps);
|
|
222
222
|
}),
|
|
223
223
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
224
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
224
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-DW2HS6KZ.js");
|
|
225
225
|
return runAgentBindCurrentCommand(args, deps);
|
|
226
226
|
}),
|
|
227
227
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
228
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
228
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-DW2HS6KZ.js");
|
|
229
229
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
230
230
|
}),
|
|
231
231
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
232
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
232
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-DW2HS6KZ.js");
|
|
233
233
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
234
234
|
}),
|
|
235
235
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -593,15 +593,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
593
593
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
594
594
|
}),
|
|
595
595
|
createEntrypointEnvCommand(["connect"], "Hold a connector websocket for this machine", async (args, deps) => {
|
|
596
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
596
|
+
const { runMachineConnectCommand } = await import("./machineCommands-UKDQ54ZP.js");
|
|
597
597
|
return runMachineConnectCommand(args, deps);
|
|
598
598
|
}),
|
|
599
599
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
600
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
600
|
+
const { runMachineConnectCommand } = await import("./machineCommands-UKDQ54ZP.js");
|
|
601
601
|
return runMachineConnectCommand(args, deps);
|
|
602
602
|
}),
|
|
603
603
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
604
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
604
|
+
const { runMachineStatusCommand } = await import("./machineCommands-UKDQ54ZP.js");
|
|
605
605
|
return runMachineStatusCommand(args, deps);
|
|
606
606
|
}),
|
|
607
607
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -9,34 +9,34 @@ import {
|
|
|
9
9
|
updateContentPinned,
|
|
10
10
|
updateContentTitle,
|
|
11
11
|
uploadAndAddFileToSpace
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-C2QLXFUP.js";
|
|
13
|
+
import "./chunk-AZUPMHRN.js";
|
|
14
14
|
import "./chunk-TZXPT53C.js";
|
|
15
15
|
import "./chunk-BUDVRYES.js";
|
|
16
16
|
import "./chunk-523DITKR.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-W3FHUZEK.js";
|
|
18
|
+
import "./chunk-RXTZB2DH.js";
|
|
19
19
|
import "./chunk-BYXBJQAS.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-AVSZ6PBM.js";
|
|
21
21
|
import "./chunk-5RGU3J7P.js";
|
|
22
22
|
import "./chunk-UVLYNWIE.js";
|
|
23
23
|
import "./chunk-YNIYE47Z.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CJQBWHNM.js";
|
|
25
25
|
import "./chunk-UAD2WT54.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-PDAXMBLW.js";
|
|
27
27
|
import "./chunk-3PVYUPXK.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-2IPR4PBB.js";
|
|
29
29
|
import "./chunk-HXER7YJF.js";
|
|
30
30
|
import "./chunk-DXWGFL2Z.js";
|
|
31
31
|
import "./chunk-3L2WKC3W.js";
|
|
32
32
|
import "./chunk-QYPE3TS3.js";
|
|
33
33
|
import "./chunk-U35UUM5K.js";
|
|
34
34
|
import "./chunk-RD3QLZQV.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-5VVP7DW3.js";
|
|
36
|
+
import "./chunk-FMYNIAI6.js";
|
|
37
37
|
import "./chunk-UEILX4EV.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-76HAJUOJ.js";
|
|
39
|
+
import "./chunk-QOURTDZL.js";
|
|
40
40
|
import "./chunk-5PASH2MB.js";
|
|
41
41
|
import "./chunk-WBSJAIZP.js";
|
|
42
42
|
import "./chunk-QQ56R7KS.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-C2QLXFUP.js";
|
|
4
|
+
import "./chunk-AZUPMHRN.js";
|
|
5
5
|
import "./chunk-TZXPT53C.js";
|
|
6
6
|
import "./chunk-BUDVRYES.js";
|
|
7
7
|
import "./chunk-523DITKR.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-W3FHUZEK.js";
|
|
9
|
+
import "./chunk-RXTZB2DH.js";
|
|
10
10
|
import "./chunk-BYXBJQAS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-AVSZ6PBM.js";
|
|
12
12
|
import "./chunk-5RGU3J7P.js";
|
|
13
13
|
import "./chunk-UVLYNWIE.js";
|
|
14
14
|
import "./chunk-YNIYE47Z.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-CJQBWHNM.js";
|
|
16
16
|
import "./chunk-UAD2WT54.js";
|
|
17
17
|
import {
|
|
18
18
|
write
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PDAXMBLW.js";
|
|
20
20
|
import "./chunk-3PVYUPXK.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-2IPR4PBB.js";
|
|
22
22
|
import "./chunk-HXER7YJF.js";
|
|
23
23
|
import "./chunk-DXWGFL2Z.js";
|
|
24
24
|
import "./chunk-3L2WKC3W.js";
|
|
25
25
|
import "./chunk-QYPE3TS3.js";
|
|
26
26
|
import "./chunk-U35UUM5K.js";
|
|
27
27
|
import "./chunk-RD3QLZQV.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-5VVP7DW3.js";
|
|
29
|
+
import "./chunk-FMYNIAI6.js";
|
|
30
30
|
import "./chunk-UEILX4EV.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-76HAJUOJ.js";
|
|
32
|
+
import "./chunk-QOURTDZL.js";
|
|
33
33
|
import "./chunk-5PASH2MB.js";
|
|
34
34
|
import "./chunk-WBSJAIZP.js";
|
|
35
35
|
import "./chunk-QQ56R7KS.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-HJHZVSTB.js";
|
|
5
|
+
import "./chunk-C2QLXFUP.js";
|
|
6
|
+
import "./chunk-AZUPMHRN.js";
|
|
7
7
|
import "./chunk-TZXPT53C.js";
|
|
8
8
|
import "./chunk-BUDVRYES.js";
|
|
9
9
|
import "./chunk-523DITKR.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-W3FHUZEK.js";
|
|
11
|
+
import "./chunk-RXTZB2DH.js";
|
|
12
12
|
import "./chunk-BYXBJQAS.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-AVSZ6PBM.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import "./chunk-UVLYNWIE.js";
|
|
16
16
|
import "./chunk-YNIYE47Z.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-CJQBWHNM.js";
|
|
18
18
|
import "./chunk-UAD2WT54.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-PDAXMBLW.js";
|
|
20
20
|
import "./chunk-3PVYUPXK.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-2IPR4PBB.js";
|
|
22
22
|
import "./chunk-HXER7YJF.js";
|
|
23
23
|
import "./chunk-DXWGFL2Z.js";
|
|
24
24
|
import "./chunk-3L2WKC3W.js";
|
|
25
25
|
import "./chunk-QYPE3TS3.js";
|
|
26
26
|
import "./chunk-U35UUM5K.js";
|
|
27
27
|
import "./chunk-RD3QLZQV.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-5VVP7DW3.js";
|
|
29
|
+
import "./chunk-FMYNIAI6.js";
|
|
30
30
|
import "./chunk-UEILX4EV.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-76HAJUOJ.js";
|
|
32
|
+
import "./chunk-QOURTDZL.js";
|
|
33
33
|
import "./chunk-5PASH2MB.js";
|
|
34
34
|
import "./chunk-WBSJAIZP.js";
|
|
35
35
|
import "./chunk-QQ56R7KS.js";
|