nolo-cli 0.199.0-alpha.3 → 0.199.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-KGMFBND7.js → _executeModel-PACAYSHL.js} +13 -13
- package/{agentDeleteCommand-ITQN4QLD.js → agentDeleteCommand-UVYX5GQW.js} +10 -10
- package/{agentEmailCommands-3LDZFOFC.js → agentEmailCommands-T4SMCD7B.js} +12 -12
- package/{agentListCommands-SW3QUAOF.js → agentListCommands-IDKMCTFZ.js} +2 -2
- package/{agentMachineCommands-QH2BUSWC.js → agentMachineCommands-CEWOXRZG.js} +1 -1
- package/{agentRecordCommands-NE36A7IH.js → agentRecordCommands-QPT6XNWL.js} +11 -11
- package/{agentRunCommand-KNNJSEDV.js → agentRunCommand-WWWLS7AJ.js} +12 -12
- package/{agentSlice-CB25SUJB.js → agentSlice-3MHPRAGD.js} +1 -1
- package/{chunk-SYGZQMC2.js → chunk-5JFLYKNV.js} +5 -5
- package/{chunk-5TO2R77F.js → chunk-BBGYSMUE.js} +1 -12
- package/{chunk-MQKPELXS.js → chunk-BROD7MPO.js} +2 -2
- package/{chunk-GQ3QPQEP.js → chunk-CF7YHEB7.js} +2 -2
- package/{chunk-JNRGTW6S.js → chunk-FRRAM6QM.js} +77 -17
- package/{chunk-RRKJTPWB.js → chunk-INBKVXYL.js} +2 -2
- package/{chunk-TDVJP4KY.js → chunk-KTM3RYQE.js} +1 -1
- package/{chunk-DEOPS4PJ.js → chunk-NFJRJUXP.js} +2 -2
- package/{chunk-KJZFDQF3.js → chunk-OJGZ2YQA.js} +6 -6
- package/{chunk-4G5YV3EG.js → chunk-ORBOSTB6.js} +5 -5
- package/{chunk-RMRLWIQS.js → chunk-PFT6XFSE.js} +2 -2
- package/{chunk-EXSYUA2B.js → chunk-RE3B2OCC.js} +1 -1
- package/{chunk-C4RTTV4V.js → chunk-RHUYPTQX.js} +1 -1
- package/{chunk-74YOBGG6.js → chunk-S4PLQODI.js} +2 -2
- package/{chunk-E7B4CR5M.js → chunk-UXKMBX4C.js} +3 -3
- package/{chunk-RJVYCYLQ.js → chunk-VPYPZFTW.js} +8 -8
- package/{chunk-IYI5Y74S.js → chunk-X6LEAM54.js} +7 -7
- package/{chunk-R33OLTYJ.js → chunk-XFM4TX77.js} +1 -1
- package/{chunk-LKZ7FZTI.js → chunk-ZONJXJ5S.js} +2 -2
- package/{chunk-6YJA5FPA.js → chunk-ZPLNQ247.js} +2 -2
- package/{commandRegistry-5IWG5Y44.js → commandRegistry-N7ILYIWH.js} +16 -16
- package/{contentThunks-HLK4P4WY.js → contentThunks-DNE7T3BJ.js} +3 -3
- package/{createAgentAutomationAction-PGEMZSPA.js → createAgentAutomationAction-WW2P2SDU.js} +3 -3
- package/{createDialogAction-3YFKJAL3.js → createDialogAction-TWA3N246.js} +4 -4
- package/{createPageAction-3DYXFT6A.js → createPageAction-X6X6CCZC.js} +3 -3
- package/{dialogSlice-7MTH65XY.js → dialogSlice-7ILOCV7V.js} +2 -2
- package/{docStore-GUGX22ZK.js → docStore-VTS7RTIZ.js} +1 -1
- package/{handleSendMessageAction-VNFSQCOL.js → handleSendMessageAction-S725V5PQ.js} +7 -7
- package/index.js +3 -3
- package/{localRuntimeAdapter-55YKDA6C.js → localRuntimeAdapter-HNFTR3ER.js} +10 -10
- package/{machineCommands-PLM7EYGX.js → machineCommands-4O3RCS2B.js} +11 -11
- package/{machineWsRunDispatch-5GAWU7VZ.js → machineWsRunDispatch-DQCUOPTO.js} +11 -11
- package/package.json +1 -1
- package/{readlineWorkspace-ZQBXJDCB.js → readlineWorkspace-KFLQTF4B.js} +13 -13
- package/{runAgentClientLoop-P56EMBCN.js → runAgentClientLoop-J2INBHIC.js} +11 -11
- package/{streamAgentChatTurn-45SHUYWK.js → streamAgentChatTurn-J3G5PF4P.js} +13 -13
- package/{tools-WFX2BG5Y.js → tools-U4K7BZDP.js} +8 -8
- package/{updateDialogTitleAction-3HRLWCWE.js → updateDialogTitleAction-354326I3.js} +3 -3
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-76OXA55E.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KTM3RYQE.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
@@ -449,7 +449,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
449
449
|
if (!executionInput) {
|
|
450
450
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
451
451
|
}
|
|
452
|
-
const { findToolExecutor } = await import("./tools-
|
|
452
|
+
const { findToolExecutor } = await import("./tools-U4K7BZDP.js");
|
|
453
453
|
const { executor } = findToolExecutor(run.toolName);
|
|
454
454
|
toolRunStarted({
|
|
455
455
|
id: run.id,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XFM4TX77.js";
|
|
13
13
|
import {
|
|
14
14
|
parsePositiveFiniteNumberOrFallback
|
|
15
15
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveFileWriteGateEnabled,
|
|
39
39
|
resolveLocalUserId,
|
|
40
40
|
validateInstaboxWorkspaceSelection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5JFLYKNV.js";
|
|
42
42
|
import {
|
|
43
43
|
clearCredentialAvailability,
|
|
44
44
|
readEffectiveCredentialEntry,
|
|
@@ -72,14 +72,14 @@ import {
|
|
|
72
72
|
} from "./chunk-BMQ2MJUK.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveCliLocalRuntimeKeyCapability
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-FRRAM6QM.js";
|
|
76
76
|
import {
|
|
77
77
|
isTransientFetchError
|
|
78
78
|
} from "./chunk-KFHREHUQ.js";
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-NFJRJUXP.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-INBKVXYL.js";
|
|
92
92
|
import {
|
|
93
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
94
94
|
estimateMessagesTokens,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
resolveAgentContextWindow,
|
|
97
97
|
resolveOccupancy,
|
|
98
98
|
resolveOccupancyWindow
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-VPYPZFTW.js";
|
|
100
100
|
import {
|
|
101
101
|
isCliAuthorityBrokerProtocolError,
|
|
102
102
|
isCliAuthorityBrokerTimeoutError,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
mergeReferences,
|
|
11
11
|
resolveReferenceAssets,
|
|
12
12
|
resolveToolsFromKeys
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZONJXJ5S.js";
|
|
14
14
|
import {
|
|
15
15
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
16
16
|
getAllToolRuns,
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
selectSpaceContextLevel,
|
|
22
22
|
selectUserTonePreset,
|
|
23
23
|
uiCardFallback
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NFJRJUXP.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAgentRecommendedSkillNames,
|
|
27
27
|
resolveAgentRequiredPackIds
|
|
28
28
|
} from "./chunk-76OXA55E.js";
|
|
29
29
|
import {
|
|
30
30
|
getDocState
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BROD7MPO.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveToolBaseUrl
|
|
34
34
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-ZBCBFOWC.js";
|
|
41
41
|
import {
|
|
42
42
|
getTableState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KTM3RYQE.js";
|
|
44
44
|
import {
|
|
45
45
|
getCurrentSpaceIdRaw,
|
|
46
46
|
getViewMode
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
50
50
|
buildPersonalizationDialogPolicyContext,
|
|
51
51
|
selectAllMsgs
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-VPYPZFTW.js";
|
|
53
53
|
import {
|
|
54
54
|
selectPendingFiles
|
|
55
55
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5JFLYKNV.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NFJRJUXP.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
10
|
} from "./chunk-4BBAP7E4.js";
|
|
@@ -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-PACAYSHL.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-J2INBHIC.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-J3G5PF4P.js");
|
|
499
499
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
500
500
|
}),
|
|
501
501
|
/**
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-523DITKR.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UXKMBX4C.js";
|
|
15
15
|
import {
|
|
16
16
|
isMediaToolConfirmation
|
|
17
17
|
} from "./chunk-QYPE3TS3.js";
|
|
@@ -11073,7 +11073,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11073
11073
|
runtimeOptions: args.runtimeOptions
|
|
11074
11074
|
});
|
|
11075
11075
|
if (agentKeyToUse) {
|
|
11076
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11076
|
+
const { streamAgentChatTurn } = await import("./agentSlice-3MHPRAGD.js");
|
|
11077
11077
|
await dispatch(
|
|
11078
11078
|
streamAgentChatTurn({
|
|
11079
11079
|
agentKey: agentKeyToUse,
|
|
@@ -13887,7 +13887,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13887
13887
|
}
|
|
13888
13888
|
if (isCurrentDialog) {
|
|
13889
13889
|
await thunkApi.dispatch(resetMsgs());
|
|
13890
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13890
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-7ILOCV7V.js");
|
|
13891
13891
|
dispatch(clearPendingAttachments2());
|
|
13892
13892
|
}
|
|
13893
13893
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13895,15 +13895,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13895
13895
|
|
|
13896
13896
|
// packages/chat/dialog/dialogSlice.ts
|
|
13897
13897
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13898
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13898
|
+
const { createDialogAction } = await import("./createDialogAction-TWA3N246.js");
|
|
13899
13899
|
return createDialogAction(args, thunkApi);
|
|
13900
13900
|
};
|
|
13901
13901
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13902
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13902
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-WW2P2SDU.js");
|
|
13903
13903
|
return createAgentAutomationAction(args, thunkApi);
|
|
13904
13904
|
};
|
|
13905
13905
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13906
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13906
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-354326I3.js");
|
|
13907
13907
|
return updateDialogTitleAction(args, thunkApi);
|
|
13908
13908
|
};
|
|
13909
13909
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13927,7 +13927,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13927
13927
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13928
13928
|
};
|
|
13929
13929
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13930
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13930
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-S725V5PQ.js");
|
|
13931
13931
|
return handleSendMessageAction(args, thunkApi);
|
|
13932
13932
|
};
|
|
13933
13933
|
function clearDialogState() {
|
|
@@ -13940,7 +13940,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13940
13940
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13941
13941
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13942
13942
|
try {
|
|
13943
|
-
const { createDocState } = await import("./docStore-
|
|
13943
|
+
const { createDocState } = await import("./docStore-VTS7RTIZ.js");
|
|
13944
13944
|
const pageKey = await createDocState(
|
|
13945
13945
|
{ slateData, title },
|
|
13946
13946
|
{ dispatch, getState }
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PFT6XFSE.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZPLNQ247.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FRRAM6QM.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZONJXJ5S.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-NFJRJUXP.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
messageStreaming,
|
|
46
46
|
toolResultNeedsUserConfirmation,
|
|
47
47
|
updateToolMessage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VPYPZFTW.js";
|
|
49
49
|
import {
|
|
50
50
|
streamAgentChatTurn
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-UXKMBX4C.js";
|
|
52
52
|
import {
|
|
53
53
|
addActiveController,
|
|
54
54
|
removeActiveController,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NFJRJUXP.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VPYPZFTW.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZONJXJ5S.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UXKMBX4C.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillGuidancePromptBlock
|
|
12
12
|
} from "./chunk-O2H2Z7U4.js";
|
|
@@ -111,7 +111,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
111
111
|
// packages/cli/agentInternalCommandEntries.ts
|
|
112
112
|
function getAgentInternalCommandEntries() {
|
|
113
113
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
114
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
114
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-WWWLS7AJ.js");
|
|
115
115
|
return runAgentRunCommand(args, {
|
|
116
116
|
env: ctx.env,
|
|
117
117
|
scriptDir: ctx.scriptDir,
|
|
@@ -123,11 +123,11 @@ function getAgentInternalCommandEntries() {
|
|
|
123
123
|
createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
|
|
124
124
|
createAgentRunCommand(["chat"], "Chat with an agent"),
|
|
125
125
|
createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
|
|
126
|
-
const { runAgentListCommand } = await import("./agentListCommands-
|
|
126
|
+
const { runAgentListCommand } = await import("./agentListCommands-IDKMCTFZ.js");
|
|
127
127
|
return runAgentListCommand(args, deps);
|
|
128
128
|
}),
|
|
129
129
|
createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
|
|
130
|
-
const { runAgentCreateCommand } = await import("./agentRecordCommands-
|
|
130
|
+
const { runAgentCreateCommand } = await import("./agentRecordCommands-QPT6XNWL.js");
|
|
131
131
|
return runAgentCreateCommand(args, deps);
|
|
132
132
|
}),
|
|
133
133
|
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) => {
|
|
@@ -143,7 +143,7 @@ function getAgentInternalCommandEntries() {
|
|
|
143
143
|
return runAgentPullCommand(args, deps);
|
|
144
144
|
}),
|
|
145
145
|
createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
|
|
146
|
-
const { runAgentReadCommand } = await import("./agentRecordCommands-
|
|
146
|
+
const { runAgentReadCommand } = await import("./agentRecordCommands-QPT6XNWL.js");
|
|
147
147
|
return runAgentReadCommand(args, deps);
|
|
148
148
|
}),
|
|
149
149
|
createAgentRunCommand(["agent", "run"], "Run an agent"),
|
|
@@ -172,31 +172,31 @@ function getAgentInternalCommandEntries() {
|
|
|
172
172
|
return runSetupOfflineMarxistsAgentCommand(args, deps);
|
|
173
173
|
}),
|
|
174
174
|
createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
|
|
175
|
-
const { runAgentUpdateCommand } = await import("./agentRecordCommands-
|
|
175
|
+
const { runAgentUpdateCommand } = await import("./agentRecordCommands-QPT6XNWL.js");
|
|
176
176
|
return runAgentUpdateCommand(args, deps);
|
|
177
177
|
}),
|
|
178
178
|
createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
|
|
179
|
-
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-
|
|
179
|
+
const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-T4SMCD7B.js");
|
|
180
180
|
return runAgentEmailProvisionCommand(args, deps);
|
|
181
181
|
}),
|
|
182
182
|
createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
|
|
183
|
-
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-
|
|
183
|
+
const { runAgentEmailBindCommand } = await import("./agentEmailCommands-T4SMCD7B.js");
|
|
184
184
|
return runAgentEmailBindCommand(args, deps);
|
|
185
185
|
}),
|
|
186
186
|
createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
|
|
187
|
-
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-
|
|
187
|
+
const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-T4SMCD7B.js");
|
|
188
188
|
return runAgentEmailTransferCommand(args, deps);
|
|
189
189
|
}),
|
|
190
190
|
createEnvCommand(
|
|
191
191
|
["agent", "email", "create-and-provision"],
|
|
192
192
|
"Create an agent and provision its controlled inbox",
|
|
193
193
|
async (args, deps) => {
|
|
194
|
-
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-
|
|
194
|
+
const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-T4SMCD7B.js");
|
|
195
195
|
return runAgentEmailCreateAndProvisionCommand(args, deps);
|
|
196
196
|
}
|
|
197
197
|
),
|
|
198
198
|
createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
|
|
199
|
-
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-
|
|
199
|
+
const { runAgentDeleteCommand } = await import("./agentDeleteCommand-UVYX5GQW.js");
|
|
200
200
|
return runAgentDeleteCommand(args, deps);
|
|
201
201
|
}),
|
|
202
202
|
createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
|
|
@@ -216,15 +216,15 @@ function getAgentInternalCommandEntries() {
|
|
|
216
216
|
return runAgentRevokeGrantCommand(args, deps);
|
|
217
217
|
}),
|
|
218
218
|
createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
|
|
219
|
-
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-
|
|
219
|
+
const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-CEWOXRZG.js");
|
|
220
220
|
return runAgentBindCurrentCommand(args, deps);
|
|
221
221
|
}),
|
|
222
222
|
createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
|
|
223
|
-
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-
|
|
223
|
+
const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-CEWOXRZG.js");
|
|
224
224
|
return runAgentSmokeCurrentCommand(args, deps);
|
|
225
225
|
}),
|
|
226
226
|
createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
|
|
227
|
-
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-
|
|
227
|
+
const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-CEWOXRZG.js");
|
|
228
228
|
return runAgentRuntimeDoctorCommand(args, deps);
|
|
229
229
|
}),
|
|
230
230
|
createAgentRunCommand(["agent", "chat"], "Chat with an agent")
|
|
@@ -547,15 +547,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
|
|
|
547
547
|
return runWhoamiCommand({ args, env: ctx.env });
|
|
548
548
|
}),
|
|
549
549
|
createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
|
|
550
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
550
|
+
const { runMachineConnectCommand } = await import("./machineCommands-4O3RCS2B.js");
|
|
551
551
|
return runMachineConnectCommand(args, deps);
|
|
552
552
|
}),
|
|
553
553
|
createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
|
|
554
|
-
const { runMachineConnectCommand } = await import("./machineCommands-
|
|
554
|
+
const { runMachineConnectCommand } = await import("./machineCommands-4O3RCS2B.js");
|
|
555
555
|
return runMachineConnectCommand(args, deps);
|
|
556
556
|
}),
|
|
557
557
|
createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
|
|
558
|
-
const { runMachineStatusCommand } = await import("./machineCommands-
|
|
558
|
+
const { runMachineStatusCommand } = await import("./machineCommands-4O3RCS2B.js");
|
|
559
559
|
return runMachineStatusCommand(args, deps);
|
|
560
560
|
}),
|
|
561
561
|
createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
updateContentPinned,
|
|
9
9
|
updateContentTitle,
|
|
10
10
|
uploadAndAddFileToSpace
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KTM3RYQE.js";
|
|
12
12
|
import "./chunk-5XBUWM6I.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VPYPZFTW.js";
|
|
14
14
|
import "./chunk-TZXPT53C.js";
|
|
15
15
|
import "./chunk-LEC5ALIN.js";
|
|
16
16
|
import "./chunk-523DITKR.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-UXKMBX4C.js";
|
|
18
18
|
import "./chunk-BYXBJQAS.js";
|
|
19
19
|
import "./chunk-QYPE3TS3.js";
|
|
20
20
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KTM3RYQE.js";
|
|
4
4
|
import "./chunk-5XBUWM6I.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-VPYPZFTW.js";
|
|
6
6
|
import "./chunk-TZXPT53C.js";
|
|
7
7
|
import "./chunk-LEC5ALIN.js";
|
|
8
8
|
import "./chunk-523DITKR.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-UXKMBX4C.js";
|
|
10
10
|
import "./chunk-BYXBJQAS.js";
|
|
11
11
|
import "./chunk-QYPE3TS3.js";
|
|
12
12
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-INBKVXYL.js";
|
|
5
|
+
import "./chunk-KTM3RYQE.js";
|
|
6
6
|
import "./chunk-5XBUWM6I.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-VPYPZFTW.js";
|
|
8
8
|
import "./chunk-TZXPT53C.js";
|
|
9
9
|
import "./chunk-LEC5ALIN.js";
|
|
10
10
|
import "./chunk-523DITKR.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-UXKMBX4C.js";
|
|
12
12
|
import "./chunk-BYXBJQAS.js";
|
|
13
13
|
import "./chunk-QYPE3TS3.js";
|
|
14
14
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
} from "./chunk-63W5N6P3.js";
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KTM3RYQE.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentSpaceId
|
|
19
19
|
} from "./chunk-5XBUWM6I.js";
|
|
20
20
|
import {
|
|
21
21
|
runtime_default
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VPYPZFTW.js";
|
|
23
23
|
import "./chunk-TZXPT53C.js";
|
|
24
24
|
import "./chunk-LEC5ALIN.js";
|
|
25
25
|
import "./chunk-523DITKR.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-UXKMBX4C.js";
|
|
27
27
|
import "./chunk-BYXBJQAS.js";
|
|
28
28
|
import "./chunk-QYPE3TS3.js";
|
|
29
29
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VPYPZFTW.js";
|
|
24
24
|
import "./chunk-TZXPT53C.js";
|
|
25
25
|
import "./chunk-LEC5ALIN.js";
|
|
26
26
|
import "./chunk-523DITKR.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-UXKMBX4C.js";
|
|
28
28
|
import "./chunk-BYXBJQAS.js";
|
|
29
29
|
import "./chunk-QYPE3TS3.js";
|
|
30
30
|
import "./chunk-T3U2KQF4.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeAgentToolsWithRuntime,
|
|
8
8
|
projectDesktopToolUiContent,
|
|
9
9
|
resolveTurnToolContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ORBOSTB6.js";
|
|
11
11
|
import "./chunk-TS2LLPTD.js";
|
|
12
12
|
import "./chunk-TYQAGKPR.js";
|
|
13
13
|
import {
|
|
@@ -16,23 +16,23 @@ import {
|
|
|
16
16
|
extractErrorDiagnostics,
|
|
17
17
|
isContextOverflowText,
|
|
18
18
|
performServerProxyFetchWithRetry
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZONJXJ5S.js";
|
|
20
20
|
import {
|
|
21
21
|
createSSEParser,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NFJRJUXP.js";
|
|
24
24
|
import "./chunk-NF64D32W.js";
|
|
25
25
|
import "./chunk-3L2WKC3W.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveAgentRequiredPackIds
|
|
28
28
|
} from "./chunk-76OXA55E.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-BROD7MPO.js";
|
|
30
30
|
import "./chunk-MYOH447Z.js";
|
|
31
31
|
import "./chunk-WYKMOZTW.js";
|
|
32
32
|
import "./chunk-AGIM7IMJ.js";
|
|
33
33
|
import "./chunk-ZBCBFOWC.js";
|
|
34
34
|
import "./chunk-VIDPVFP3.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-KTM3RYQE.js";
|
|
36
36
|
import "./chunk-5XBUWM6I.js";
|
|
37
37
|
import {
|
|
38
38
|
clearForegroundTurnSettledVisible,
|
|
@@ -50,13 +50,13 @@ import {
|
|
|
50
50
|
setStreamingMessageId,
|
|
51
51
|
toolResultNeedsUserConfirmation,
|
|
52
52
|
updateToolMessage
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-VPYPZFTW.js";
|
|
54
54
|
import "./chunk-TZXPT53C.js";
|
|
55
55
|
import "./chunk-LEC5ALIN.js";
|
|
56
56
|
import "./chunk-523DITKR.js";
|
|
57
57
|
import {
|
|
58
58
|
streamAgentChatTurn
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-UXKMBX4C.js";
|
|
60
60
|
import "./chunk-BYXBJQAS.js";
|
|
61
61
|
import "./chunk-QYPE3TS3.js";
|
|
62
62
|
import "./chunk-T3U2KQF4.js";
|
package/index.js
CHANGED
|
@@ -106,9 +106,9 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
106
106
|
return proc.exited;
|
|
107
107
|
}
|
|
108
108
|
async function launchTuiWorkspace(args2) {
|
|
109
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
109
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-KFLQTF4B.js");
|
|
110
110
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-FSOADMXK.js");
|
|
111
|
-
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-
|
|
111
|
+
const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-HNFTR3ER.js");
|
|
112
112
|
setCliAutoCompactionSummaryFallback(
|
|
113
113
|
createTuiSummaryLlmCaller(args2.env, { timeoutMs: 3e4 })
|
|
114
114
|
);
|
|
@@ -120,7 +120,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
async function main() {
|
|
123
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
123
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-N7ILYIWH.js");
|
|
124
124
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KN3N2BLF.js");
|
|
125
125
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
126
126
|
const runtimeEnv = {
|