nolo-cli 0.112.0-alpha.2 → 0.113.0-alpha.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-S7OU2QIO.js → _executeModel-7CUOUYCK.js} +11 -11
- package/{agentEmailCommands-PNEZCF6T.js → agentEmailCommands-STTPGUSF.js} +10 -10
- package/{agentMachineCommands-SIVJRNKN.js → agentMachineCommands-U6A4SUS4.js} +1 -1
- package/{agentRecordCommands-6POMYCA7.js → agentRecordCommands-IXNQ4QO6.js} +10 -10
- package/{agentRunCommand-ZA32A4RF.js → agentRunCommand-EL6GF4K2.js} +10 -10
- package/{agentSlice-UTLXHAFW.js → agentSlice-5QKQ27CG.js} +1 -1
- package/{chatQueueReduxAdapter-LXYPUM6T.js → chatQueueReduxAdapter-CIDX55K5.js} +2 -2
- package/{chunk-NJBXVHED.js → chunk-2ERGVBM6.js} +2 -2
- package/{chunk-FZGV4FGK.js → chunk-6GFOD3TK.js} +260 -140
- package/{chunk-TDGDSTGC.js → chunk-CFEFBUXO.js} +9 -9
- package/{chunk-FZK3Z2MJ.js → chunk-FMFAK4YB.js} +1 -1
- package/{chunk-4RMFGFRH.js → chunk-FSABYU7L.js} +3 -3
- package/{chunk-WKWF4RJH.js → chunk-GTLZXAWO.js} +8 -8
- package/{chunk-L4KM22WM.js → chunk-ILEKGDX5.js} +4 -4
- package/{chunk-XRTLTE4O.js → chunk-PIJHSZZM.js} +3 -3
- package/{chunk-YP7H6FE4.js → chunk-PJAZHZG5.js} +2 -2
- package/{chunk-5PJTI4EP.js → chunk-POV53AWS.js} +1 -1
- package/{chunk-6S3QIHMN.js → chunk-QT43HLXZ.js} +5 -5
- package/{chunk-G2TIDKFM.js → chunk-UJEJG66W.js} +4 -4
- package/{chunk-WTDSXQIV.js → chunk-WFH72XIR.js} +2 -2
- package/{chunk-K4A446HZ.js → chunk-XTTNBYM3.js} +1 -1
- package/{chunk-YYYAN2NH.js → chunk-ZNBV3AKY.js} +2 -2
- package/{contentThunks-BKHGW5JF.js → contentThunks-OMUPXTLL.js} +3 -3
- package/{createAgentAutomationAction-5VG5HN7Z.js → createAgentAutomationAction-4AJ7ZJDW.js} +3 -3
- package/{createDialogAction-MA7HM3BD.js → createDialogAction-76FLQXOB.js} +4 -4
- package/{createPageAction-G7IYJMTT.js → createPageAction-MULKS35T.js} +4 -4
- package/{dialogSlice-ORVLG3AA.js → dialogSlice-V62ONOCY.js} +2 -2
- package/{docStore-JFRTM66X.js → docStore-AHFTDQ6D.js} +1 -1
- package/{handleSendMessageAction-GALALRRM.js → handleSendMessageAction-VTB6HOV2.js} +2 -2
- package/index.js +15 -15
- package/{machineCommands-SLKZBMRB.js → machineCommands-ZHNU3X4I.js} +10 -10
- package/{machineWsRunDispatch-4JISAOO2.js → machineWsRunDispatch-7EB4E3MD.js} +10 -10
- package/package.json +1 -1
- package/{readlineWorkspace-7PJTQ3F2.js → readlineWorkspace-4P62FKBU.js} +10 -10
- package/{runAgentClientLoop-6DAWYFWZ.js → runAgentClientLoop-MVYHOKMV.js} +9 -9
- package/{streamAgentChatTurn-T7B7IVHX.js → streamAgentChatTurn-2PK6NXKQ.js} +10 -10
- package/{tools-CGRUHWCA.js → tools-FYMWUIED.js} +7 -7
- package/{updateDialogTitleAction-QMSKYS55.js → updateDialogTitleAction-FKXIYYIO.js} +3 -3
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./chunk-N4G4PKQ6.js";
|
|
67
67
|
import {
|
|
68
68
|
markdownToSlate
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-6GFOD3TK.js";
|
|
70
70
|
import {
|
|
71
71
|
extractMentionsFromSlate
|
|
72
72
|
} from "./chunk-MEYIRKDN.js";
|
|
@@ -78,10 +78,10 @@ import {
|
|
|
78
78
|
} from "./chunk-VF4K2QE6.js";
|
|
79
79
|
import {
|
|
80
80
|
createDocState
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-WFH72XIR.js";
|
|
82
82
|
import {
|
|
83
83
|
createDialogAction
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ZNBV3AKY.js";
|
|
85
85
|
import {
|
|
86
86
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
87
87
|
addContentToSpace,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
updateContentCategory,
|
|
100
100
|
updateContentTitle,
|
|
101
101
|
writeStoredCollapsedCategories
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-FMFAK4YB.js";
|
|
103
103
|
import {
|
|
104
104
|
getCurrentSpaceId,
|
|
105
105
|
getCurrentSpaceIdRaw,
|
|
@@ -121,14 +121,14 @@ import {
|
|
|
121
121
|
selectMsgById,
|
|
122
122
|
uiAskChoiceFunc,
|
|
123
123
|
uiAskChoiceFunctionSchema
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-GTLZXAWO.js";
|
|
125
125
|
import {
|
|
126
126
|
createAgent,
|
|
127
127
|
deleteServerSyncedCredential,
|
|
128
128
|
runLlm,
|
|
129
129
|
streamAgentChatTurn,
|
|
130
130
|
updateAgent
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-FSABYU7L.js";
|
|
132
132
|
import {
|
|
133
133
|
getActiveDialogKey,
|
|
134
134
|
selectCurrentDialogKey,
|
|
@@ -3950,7 +3950,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3950
3950
|
const deletedDialogIds = [];
|
|
3951
3951
|
const deletedDialogKeys = [];
|
|
3952
3952
|
const failures = [];
|
|
3953
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3953
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-V62ONOCY.js");
|
|
3954
3954
|
for (const target of targets) {
|
|
3955
3955
|
try {
|
|
3956
3956
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -15038,7 +15038,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
15038
15038
|
if (!executionInput) {
|
|
15039
15039
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
15040
15040
|
}
|
|
15041
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
15041
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-FYMWUIED.js");
|
|
15042
15042
|
const { executor } = findToolExecutor2(run.toolName);
|
|
15043
15043
|
toolRunStarted({
|
|
15044
15044
|
id: run.id,
|
|
@@ -17545,7 +17545,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17545
17545
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17546
17546
|
};
|
|
17547
17547
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17548
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17548
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-AHFTDQ6D.js");
|
|
17549
17549
|
if (getDocState().pageKey === id) {
|
|
17550
17550
|
applyExternalDocUpdate({
|
|
17551
17551
|
slateData: finalSlateData,
|
|
@@ -304,7 +304,7 @@ var slice = createSliceWithThunks({
|
|
|
304
304
|
const overrides = {};
|
|
305
305
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
306
306
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
307
|
-
const { _executeModel } = await import("./_executeModel-
|
|
307
|
+
const { _executeModel } = await import("./_executeModel-7CUOUYCK.js");
|
|
308
308
|
return _executeModel(
|
|
309
309
|
{
|
|
310
310
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -325,7 +325,7 @@ var slice = createSliceWithThunks({
|
|
|
325
325
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
326
326
|
*/
|
|
327
327
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
328
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
328
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-MVYHOKMV.js");
|
|
329
329
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
330
330
|
{
|
|
331
331
|
agentKey: args.agentKey,
|
|
@@ -341,7 +341,7 @@ var slice = createSliceWithThunks({
|
|
|
341
341
|
* 聊天轮次流式 Agent 调用
|
|
342
342
|
*/
|
|
343
343
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
344
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
344
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-2PK6NXKQ.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-AGGIDPCZ.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FSABYU7L.js";
|
|
18
18
|
import {
|
|
19
19
|
cleanupCliSessionForDialog
|
|
20
20
|
} from "./chunk-BFDFRLLQ.js";
|
|
@@ -19998,7 +19998,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
19998
19998
|
runtimeOptions: args.runtimeOptions
|
|
19999
19999
|
});
|
|
20000
20000
|
if (agentKeyToUse) {
|
|
20001
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
20001
|
+
const { streamAgentChatTurn } = await import("./agentSlice-5QKQ27CG.js");
|
|
20002
20002
|
await dispatch(
|
|
20003
20003
|
streamAgentChatTurn({
|
|
20004
20004
|
agentKey: agentKeyToUse,
|
|
@@ -21134,7 +21134,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
21134
21134
|
}
|
|
21135
21135
|
if (isCurrentDialog) {
|
|
21136
21136
|
await thunkApi.dispatch(resetMsgs());
|
|
21137
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
21137
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-V62ONOCY.js");
|
|
21138
21138
|
dispatch(clearPendingAttachments2());
|
|
21139
21139
|
}
|
|
21140
21140
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -21142,15 +21142,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
21142
21142
|
|
|
21143
21143
|
// packages/chat/dialog/dialogSlice.ts
|
|
21144
21144
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
21145
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
21145
|
+
const { createDialogAction } = await import("./createDialogAction-76FLQXOB.js");
|
|
21146
21146
|
return createDialogAction(args, thunkApi);
|
|
21147
21147
|
};
|
|
21148
21148
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
21149
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
21149
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-4AJ7ZJDW.js");
|
|
21150
21150
|
return createAgentAutomationAction(args, thunkApi);
|
|
21151
21151
|
};
|
|
21152
21152
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
21153
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
21153
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-FKXIYYIO.js");
|
|
21154
21154
|
return updateDialogTitleAction(args, thunkApi);
|
|
21155
21155
|
};
|
|
21156
21156
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -21174,7 +21174,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
21174
21174
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
21175
21175
|
};
|
|
21176
21176
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
21177
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
21177
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-VTB6HOV2.js");
|
|
21178
21178
|
return handleSendMessageAction(args, thunkApi);
|
|
21179
21179
|
};
|
|
21180
21180
|
function clearDialogState() {
|
|
@@ -21187,7 +21187,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
21187
21187
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
21188
21188
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
21189
21189
|
try {
|
|
21190
|
-
const { createDocState } = await import("./docStore-
|
|
21190
|
+
const { createDocState } = await import("./docStore-AHFTDQ6D.js");
|
|
21191
21191
|
const pageKey = await createDocState(
|
|
21192
21192
|
{ slateData, title },
|
|
21193
21193
|
{ dispatch, getState }
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import {
|
|
62
62
|
inlineImageUrlsForCustomProvider,
|
|
63
63
|
prepareTools
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2ERGVBM6.js";
|
|
65
65
|
import {
|
|
66
66
|
getServerProviderSecret
|
|
67
67
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
rememberMemoryFunctionSchema,
|
|
81
81
|
resolveAgentRequiredPackIds,
|
|
82
82
|
setTodoListFunc
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-CFEFBUXO.js";
|
|
84
84
|
import {
|
|
85
85
|
fetchWithTransientRetry,
|
|
86
86
|
isTransientFetchError
|
|
@@ -109,14 +109,14 @@ import {
|
|
|
109
109
|
prepareTokenUsageData,
|
|
110
110
|
resolveBuiltinPlatformAgentConfig,
|
|
111
111
|
runKeyed
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-GTLZXAWO.js";
|
|
113
113
|
import {
|
|
114
114
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
115
115
|
BUILTIN_TITLE_LLM_CONFIG
|
|
116
116
|
} from "./chunk-MC4XLIJ7.js";
|
|
117
117
|
import {
|
|
118
118
|
fetchServerSyncedCredential
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-FSABYU7L.js";
|
|
120
120
|
import {
|
|
121
121
|
require_date_fns
|
|
122
122
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CFEFBUXO.js";
|
|
11
11
|
import {
|
|
12
12
|
isGatewayHttpStatus
|
|
13
13
|
} from "./chunk-NF64D32W.js";
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
} from "./chunk-MEYIRKDN.js";
|
|
29
29
|
import {
|
|
30
30
|
fetchAndCacheMessages
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GTLZXAWO.js";
|
|
32
32
|
import {
|
|
33
33
|
shouldUseServerProxy
|
|
34
34
|
} from "./chunk-YYLHWIW6.js";
|
|
35
35
|
import {
|
|
36
36
|
fetchServerSyncedCredential
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FSABYU7L.js";
|
|
38
38
|
import {
|
|
39
39
|
buildSkillGuidancePromptBlock,
|
|
40
40
|
extractRuntimePageCapabilities,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ILEKGDX5.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CFEFBUXO.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
10
|
} from "./chunk-L322LGOM.js";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2ERGVBM6.js";
|
|
9
9
|
import {
|
|
10
10
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
11
11
|
buildInvalidToolCallSelfHealResult,
|
|
12
12
|
parseToolCallArguments,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundMessages
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PIJHSZZM.js";
|
|
16
16
|
import {
|
|
17
17
|
createSSEParser,
|
|
18
18
|
createToolRunId,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolRunSetPending,
|
|
24
24
|
toolRunStarted,
|
|
25
25
|
toolRunSucceeded
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CFEFBUXO.js";
|
|
27
27
|
import {
|
|
28
28
|
getPublicImageAgentMode
|
|
29
29
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
messageStreamEnd,
|
|
36
36
|
messageStreaming,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GTLZXAWO.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-FSABYU7L.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolveLocalUserId,
|
|
31
31
|
t,
|
|
32
32
|
toolLabel
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ILEKGDX5.js";
|
|
34
34
|
import {
|
|
35
35
|
createRunActivityTracker,
|
|
36
36
|
popSingleQueueMessage,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-LTRXGFMS.js";
|
|
65
65
|
import {
|
|
66
66
|
formatAgentListCard
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-CFEFBUXO.js";
|
|
68
68
|
import {
|
|
69
69
|
isTransientFetchError
|
|
70
70
|
} from "./chunk-5UTFL4QJ.js";
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-ZNBV3AKY.js";
|
|
92
92
|
import {
|
|
93
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
94
94
|
parseUiAskChoiceContent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-GTLZXAWO.js";
|
|
96
96
|
import {
|
|
97
97
|
isOAuthApiKeyRef
|
|
98
98
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
326
326
|
).unwrap();
|
|
327
327
|
if (dbSpaceId) {
|
|
328
328
|
try {
|
|
329
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
329
|
+
const { updateContentTitle } = await import("./contentThunks-OMUPXTLL.js");
|
|
330
330
|
await dispatch(
|
|
331
331
|
updateContentTitle({
|
|
332
332
|
spaceId: dbSpaceId,
|
|
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
async function createDocState(args, thunkApi) {
|
|
368
|
-
const { createPageAction } = await import("./createPageAction-
|
|
368
|
+
const { createPageAction } = await import("./createPageAction-MULKS35T.js");
|
|
369
369
|
return createPageAction(args, thunkApi);
|
|
370
370
|
}
|
|
371
371
|
function subscribe(listener) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FMFAK4YB.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GTLZXAWO.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
updateContentPinned,
|
|
8
8
|
updateContentTitle,
|
|
9
9
|
uploadAndAddFileToSpace
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FMFAK4YB.js";
|
|
11
11
|
import "./chunk-ZJ7UHBJS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-GTLZXAWO.js";
|
|
13
13
|
import "./chunk-MC4XLIJ7.js";
|
|
14
14
|
import "./chunk-3BMYXEUW.js";
|
|
15
15
|
import "./chunk-YYLHWIW6.js";
|
|
16
16
|
import "./chunk-AGGIDPCZ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FSABYU7L.js";
|
|
18
18
|
import "./chunk-BFDFRLLQ.js";
|
|
19
19
|
import "./chunk-5RGU3J7P.js";
|
|
20
20
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FMFAK4YB.js";
|
|
4
4
|
import "./chunk-ZJ7UHBJS.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-GTLZXAWO.js";
|
|
6
6
|
import "./chunk-MC4XLIJ7.js";
|
|
7
7
|
import "./chunk-3BMYXEUW.js";
|
|
8
8
|
import "./chunk-YYLHWIW6.js";
|
|
9
9
|
import "./chunk-AGGIDPCZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FSABYU7L.js";
|
|
11
11
|
import "./chunk-BFDFRLLQ.js";
|
|
12
12
|
import "./chunk-5RGU3J7P.js";
|
|
13
13
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ZNBV3AKY.js";
|
|
5
|
+
import "./chunk-FMFAK4YB.js";
|
|
6
6
|
import "./chunk-ZJ7UHBJS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-GTLZXAWO.js";
|
|
8
8
|
import "./chunk-MC4XLIJ7.js";
|
|
9
9
|
import "./chunk-3BMYXEUW.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-AGGIDPCZ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FSABYU7L.js";
|
|
13
13
|
import "./chunk-BFDFRLLQ.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
markdownToSlate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6GFOD3TK.js";
|
|
4
4
|
import {
|
|
5
5
|
createEmptyParagraph,
|
|
6
6
|
splitSlateTitleAndBody
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace,
|
|
16
16
|
client_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FMFAK4YB.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentSpaceId
|
|
20
20
|
} from "./chunk-ZJ7UHBJS.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GTLZXAWO.js";
|
|
22
22
|
import "./chunk-MC4XLIJ7.js";
|
|
23
23
|
import "./chunk-3BMYXEUW.js";
|
|
24
24
|
import "./chunk-YYLHWIW6.js";
|
|
25
25
|
import "./chunk-AGGIDPCZ.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-FSABYU7L.js";
|
|
27
27
|
import "./chunk-BFDFRLLQ.js";
|
|
28
28
|
import "./chunk-5RGU3J7P.js";
|
|
29
29
|
import "./chunk-6YTOJY35.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GTLZXAWO.js";
|
|
24
24
|
import "./chunk-MC4XLIJ7.js";
|
|
25
25
|
import "./chunk-3BMYXEUW.js";
|
|
26
26
|
import "./chunk-YYLHWIW6.js";
|
|
27
27
|
import "./chunk-AGGIDPCZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-FSABYU7L.js";
|
|
29
29
|
import "./chunk-BFDFRLLQ.js";
|
|
30
30
|
import {
|
|
31
31
|
getActiveDialogAgentId
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
prepareAndPersistUserMessage,
|
|
10
10
|
resolveHandleSendMessageContext,
|
|
11
11
|
selectAllMsgs
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GTLZXAWO.js";
|
|
13
13
|
import "./chunk-MC4XLIJ7.js";
|
|
14
14
|
import "./chunk-3BMYXEUW.js";
|
|
15
15
|
import "./chunk-YYLHWIW6.js";
|
|
16
16
|
import "./chunk-AGGIDPCZ.js";
|
|
17
17
|
import {
|
|
18
18
|
streamAgentChatTurn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FSABYU7L.js";
|
|
20
20
|
import "./chunk-BFDFRLLQ.js";
|
|
21
21
|
import "./chunk-5RGU3J7P.js";
|
|
22
22
|
import {
|
package/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function createDaemonShortcutCommand(path, description, command2) {
|
|
|
127
127
|
// packages/cli/agentInternalCommandEntries.ts
|
|
128
128
|
function getAgentInternalCommandEntries() {
|
|
129
129
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args2, ctx) => {
|
|
130
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
130
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-EL6GF4K2.js");
|
|
131
131
|
return runAgentRunCommand(args2, {
|
|
132
132
|
env: ctx.env,
|
|
133
133
|
scriptDir: ctx.scriptDir,
|
|
@@ -143,7 +143,7 @@ function getAgentInternalCommandEntries() {
|
|
|
143
143
|
return runAgentListCommand(args2, deps);
|
|
144
144
|
}),
|
|
145
145
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args2, deps) => {
|
|
146
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
146
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-IXNQ4QO6.js");
|
|
147
147
|
return runAgentCreateCommand(args2, deps);
|
|
148
148
|
}),
|
|
149
149
|
createEnvCommand(["agent", "models"], "List models available on an OpenAI-compatible provider", async (args2, deps) => {
|
|
@@ -159,7 +159,7 @@ function getAgentInternalCommandEntries() {
|
|
|
159
159
|
return runAgentPullCommand(args2, deps);
|
|
160
160
|
}),
|
|
161
161
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args2, deps) => {
|
|
162
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
162
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-IXNQ4QO6.js");
|
|
163
163
|
return runAgentReadCommand(args2, deps);
|
|
164
164
|
}),
|
|
165
165
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -188,26 +188,26 @@ function getAgentInternalCommandEntries() {
|
|
|
188
188
|
return runSetupOfflineMarxistsAgentCommand(args2, deps);
|
|
189
189
|
}),
|
|
190
190
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args2, deps) => {
|
|
191
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
191
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-IXNQ4QO6.js");
|
|
192
192
|
return runAgentUpdateCommand(args2, deps);
|
|
193
193
|
}),
|
|
194
194
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args2, deps) => {
|
|
195
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
195
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-STTPGUSF.js");
|
|
196
196
|
return runAgentEmailProvisionCommand(args2, deps);
|
|
197
197
|
}),
|
|
198
198
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args2, deps) => {
|
|
199
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
199
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-STTPGUSF.js");
|
|
200
200
|
return runAgentEmailBindCommand(args2, deps);
|
|
201
201
|
}),
|
|
202
202
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args2, deps) => {
|
|
203
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
203
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-STTPGUSF.js");
|
|
204
204
|
return runAgentEmailTransferCommand(args2, deps);
|
|
205
205
|
}),
|
|
206
206
|
createEnvCommand(
|
|
207
207
|
["agent", "email", "create-and-provision"],
|
|
208
208
|
"Create an agent and provision its controlled inbox",
|
|
209
209
|
async (args2, deps) => {
|
|
210
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
210
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-STTPGUSF.js");
|
|
211
211
|
return runAgentEmailCreateAndProvisionCommand(args2, deps);
|
|
212
212
|
}
|
|
213
213
|
),
|
|
@@ -228,15 +228,15 @@ function getAgentInternalCommandEntries() {
|
|
|
228
228
|
return runAgentRevokeGrantCommand(args2, deps);
|
|
229
229
|
}),
|
|
230
230
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args2, deps) => {
|
|
231
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
231
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-U6A4SUS4.js");
|
|
232
232
|
return runAgentBindCurrentCommand(args2, deps);
|
|
233
233
|
}),
|
|
234
234
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args2, deps) => {
|
|
235
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
235
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-U6A4SUS4.js");
|
|
236
236
|
return runAgentSmokeCurrentCommand(args2, deps);
|
|
237
237
|
}),
|
|
238
238
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args2, deps) => {
|
|
239
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
239
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-U6A4SUS4.js");
|
|
240
240
|
return runAgentRuntimeDoctorCommand(args2, deps);
|
|
241
241
|
}),
|
|
242
242
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -488,15 +488,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
488
488
|
return runWhoamiCommand({ args: args2, env: ctx.env });
|
|
489
489
|
}),
|
|
490
490
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args2, deps) => {
|
|
491
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
491
|
+
const { runMachineConnectCommand } = await import("./machineCommands-ZHNU3X4I.js");
|
|
492
492
|
return runMachineConnectCommand(args2, deps);
|
|
493
493
|
}),
|
|
494
494
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args2, deps) => {
|
|
495
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
495
|
+
const { runMachineConnectCommand } = await import("./machineCommands-ZHNU3X4I.js");
|
|
496
496
|
return runMachineConnectCommand(args2, deps);
|
|
497
497
|
}),
|
|
498
498
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args2, deps) => {
|
|
499
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
499
|
+
const { runMachineStatusCommand } = await import("./machineCommands-ZHNU3X4I.js");
|
|
500
500
|
return runMachineStatusCommand(args2, deps);
|
|
501
501
|
}),
|
|
502
502
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args2, deps) => {
|
|
@@ -892,7 +892,7 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
892
892
|
return proc.exited;
|
|
893
893
|
}
|
|
894
894
|
async function launchTuiWorkspace(args2) {
|
|
895
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
895
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-4P62FKBU.js");
|
|
896
896
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-UFGFOIIW.js");
|
|
897
897
|
return startTuiWorkspace({
|
|
898
898
|
...args2,
|