nolo-cli 0.12.0-alpha.4 → 0.12.0-alpha.6
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-L4JM5R23.js → _executeModel-3B6MKHQV.js} +16 -16
- package/{agentDeleteCommand-MWB2LXG6.js → agentDeleteCommand-3R7OCLBN.js} +11 -11
- package/{agentEmailCommands-32ZZ4VSU.js → agentEmailCommands-OENXTOPM.js} +19 -19
- package/{agentListCommands-SKUYB2RQ.js → agentListCommands-GX5YRFFK.js} +12 -12
- package/{agentMachineCommands-EHFBWQ2U.js → agentMachineCommands-5ZEL4NOJ.js} +11 -11
- package/{agentRecordCommands-DSMDSFMJ.js → agentRecordCommands-EKGPNDCG.js} +19 -19
- package/{agentRunCommand-MEVHCOMH.js → agentRunCommand-KQYY46WS.js} +20 -20
- package/{agentRuntimeLocal-PR67XWQK.js → agentRuntimeLocal-C2KYWS6H.js} +8 -8
- package/{agentSlice-Y3NABOKT.js → agentSlice-N5RKI23B.js} +1 -1
- package/{chunk-TVQEB7RV.js → chunk-2VILMENT.js} +1 -1
- package/{chunk-B54KNGXI.js → chunk-5HANPK6S.js} +3 -3
- package/{chunk-JCU2JDCV.js → chunk-6ADBTFFE.js} +15 -6
- package/{chunk-ZR4VHQ5D.js → chunk-6TISG7CK.js} +1 -1
- package/{chunk-CJIOTRWY.js → chunk-6VDWNLHX.js} +2 -2
- package/{chunk-FHTPQXHP.js → chunk-7HV5OHEM.js} +1 -1
- package/{chunk-OILEWBXT.js → chunk-7TNQ4ZZL.js} +1 -1
- package/{chunk-45JUQTYY.js → chunk-AS3ZQ3O2.js} +0 -17
- package/{chunk-G5S6HMHH.js → chunk-B2Z7OJBT.js} +8 -8
- package/{chunk-5DVIMRVT.js → chunk-B4KT7RN2.js} +4 -4
- package/{chunk-UJ5L6X7H.js → chunk-ELYHT6P6.js} +1 -1
- package/{chunk-MCXQFHBX.js → chunk-FF7Y6DC4.js} +13 -13
- package/{chunk-DFGCBRIA.js → chunk-I6IVZIIO.js} +9 -9
- package/{chunk-XRFEX5ZP.js → chunk-ISZEBXEV.js} +1 -1
- package/{chunk-YC2MRILU.js → chunk-J6PV7OYE.js} +2 -2
- package/{chunk-OCDEWRE2.js → chunk-JKWWVF2I.js} +1 -1
- package/{chunk-Z6ZZXQOZ.js → chunk-KJTP7JTN.js} +1 -1
- package/{chunk-TZS6YZTS.js → chunk-MRX4BSKQ.js} +15 -12
- package/{chunk-TNQJQ6HM.js → chunk-NIU4ERVM.js} +18 -24
- package/{chunk-S73OEOHH.js → chunk-NKD3Q4RN.js} +1 -1
- package/{chunk-A4QALINN.js → chunk-NRJFU6WZ.js} +2 -2
- package/{chunk-S3UTETIC.js → chunk-OGGHETUE.js} +19 -4
- package/{chunk-QY4QCWDL.js → chunk-OLKX3NZI.js} +2 -2
- package/{chunk-FMT767NK.js → chunk-OSGJQTG6.js} +15 -10
- package/{chunk-FW4SQ6II.js → chunk-RFRU3HAL.js} +1 -1
- package/{chunk-74D2NYOA.js → chunk-RGJFQERV.js} +3 -3
- package/{chunk-RNYKVIND.js → chunk-WMU5EZLC.js} +4 -4
- package/{chunk-TSKWE74T.js → chunk-WO24IT3V.js} +1 -1
- package/{chunk-4GBNEA5B.js → chunk-Y3BLUPNS.js} +1 -1
- package/{chunk-324SDMXK.js → chunk-Y3COB2JR.js} +1 -1
- package/{createAgentAutomationAction-YWC4P6JX.js → createAgentAutomationAction-NNXHZFSA.js} +4 -4
- package/{createDialogAction-IQP745JA.js → createDialogAction-TQCW67HG.js} +5 -5
- package/{createPageAction-T4RZCJKF.js → createPageAction-QUFKG6A2.js} +4 -4
- package/{dialogCommands-BTHTTSE2.js → dialogCommands-C6ERN2I7.js} +12 -12
- package/{dialogSlice-QR7SDOEV.js → dialogSlice-DAA3CWOV.js} +4 -4
- package/{docCreateCommands-PQEX44Q7.js → docCreateCommands-KMYVYGZM.js} +11 -11
- package/{docDeleteCommands-B3Q2M42N.js → docDeleteCommands-DZHIJA5D.js} +12 -12
- package/{docReadCommands-RCUVTX3Q.js → docReadCommands-VLJFYLR2.js} +11 -11
- package/{docStore-Y43RC35L.js → docStore-67RBJMFZ.js} +5 -5
- package/{docUpdateCommands-NS5QAUAJ.js → docUpdateCommands-GOHV5JC5.js} +11 -11
- package/{getPricing-6TOZXPAU.js → getPricing-UGDJHI7M.js} +2 -2
- package/{handleSendMessageAction-L7L463O4.js → handleSendMessageAction-7PNLNSPL.js} +4 -4
- package/index.js +36 -36
- package/{machineCommands-KJZXH2FO.js → machineCommands-J7FIVAZV.js} +18 -18
- package/{machineWsRunDispatch-V4HBAZY6.js → machineWsRunDispatch-RWXFY6YG.js} +18 -18
- package/package.json +1 -1
- package/{readlineWorkspace-LRPVHBM3.js → readlineWorkspace-EMKKVMNH.js} +69 -49
- package/{runAgentClientLoop-DXNOTYXP.js → runAgentClientLoop-VTA6RAHT.js} +13 -13
- package/{skillDiscovery-SZEA7TH6.js → skillDiscovery-6M2BZUFN.js} +1 -1
- package/{spaceCommands-VTJYPRFQ.js → spaceCommands-HLOEZVOV.js} +11 -11
- package/{spaceSlice-PSAREO5S.js → spaceSlice-2X2TVI2V.js} +6 -4
- package/{streamAgentChatTurn-54CNCH2V.js → streamAgentChatTurn-GFQ4YRJF.js} +39 -16
- package/{tools-SIU3JFHL.js → tools-PR47LTGM.js} +8 -8
- package/{tuiSummaryLlmCaller-TXLF4MEI.js → tuiSummaryLlmCaller-YEHSPGXZ.js} +3 -3
- package/{updateDialogTitleAction-3VT7R3GN.js → updateDialogTitleAction-4GI3W4LJ.js} +4 -4
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-JEXVIMYZ.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareTools
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J6PV7OYE.js";
|
|
7
7
|
import {
|
|
8
8
|
performFetchRequest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I6IVZIIO.js";
|
|
10
10
|
import {
|
|
11
11
|
createSSEParser,
|
|
12
12
|
createToolRunId,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
toolRunSetPending,
|
|
18
18
|
toolRunStarted,
|
|
19
19
|
toolRunSucceeded
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MRX4BSKQ.js";
|
|
21
21
|
import {
|
|
22
22
|
getPublicImageAgentMode
|
|
23
23
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
messageStreaming,
|
|
28
28
|
selectCurrentSpaceId,
|
|
29
29
|
updateToolMessage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OSGJQTG6.js";
|
|
31
31
|
import {
|
|
32
32
|
streamAgentChatTurn
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RGJFQERV.js";
|
|
34
34
|
import {
|
|
35
35
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6ADBTFFE.js";
|
|
37
37
|
import {
|
|
38
38
|
createThinkParserState,
|
|
39
39
|
flushThinkParser,
|
|
@@ -41,10 +41,10 @@ import {
|
|
|
41
41
|
} from "./chunk-OPZYGHUC.js";
|
|
42
42
|
import {
|
|
43
43
|
getModelInfo
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-NKD3Q4RN.js";
|
|
45
45
|
import {
|
|
46
46
|
getApiEndpoint
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-OGGHETUE.js";
|
|
48
48
|
import {
|
|
49
49
|
extractCustomId
|
|
50
50
|
} from "./chunk-DFFIZ25G.js";
|
|
@@ -477,7 +477,7 @@ function buildNoloWorkspaceOpenAiTools(args) {
|
|
|
477
477
|
add("readSkillDoc", "Read one skill doc in the Nolo workspace.", {
|
|
478
478
|
doc: stringToolParam("Skill doc/page key.")
|
|
479
479
|
}, ["doc"]);
|
|
480
|
-
add("loadSkill", "Load a Skill by name from the workspace skill
|
|
480
|
+
add("loadSkill", "Load a Skill by name from the workspace skill directory (.agents/skills/<name>/SKILL.md) and return its full SKILL.md content inline so you can follow its instructions. Use this instead of readFile when you want to activate a skill. On an unknown name the tool returns a plain text list of available skill names rather than failing.", {
|
|
481
481
|
name: stringToolParam("Skill name (the name advertised in the skill-discovery layer).")
|
|
482
482
|
}, ["name"]);
|
|
483
483
|
add("listTables", "List tables in the current user scope or an optional space scope.", {
|
|
@@ -892,7 +892,7 @@ function buildLoadSkillExecutor(args) {
|
|
|
892
892
|
metadata: { loadSkill: true, resolved: false }
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
|
-
const { resolveSkillByName } = await import("./skillDiscovery-
|
|
895
|
+
const { resolveSkillByName } = await import("./skillDiscovery-6M2BZUFN.js");
|
|
896
896
|
const resolved = resolveSkillByName(args.cwd, name);
|
|
897
897
|
if (!resolved) {
|
|
898
898
|
return {
|
|
@@ -919,13 +919,13 @@ ${body}`,
|
|
|
919
919
|
};
|
|
920
920
|
}
|
|
921
921
|
async function formatUnknownSkillMessage(cwd, requestedName) {
|
|
922
|
-
const { discoverSkills } = await import("./skillDiscovery-
|
|
922
|
+
const { discoverSkills } = await import("./skillDiscovery-6M2BZUFN.js");
|
|
923
923
|
let available = [];
|
|
924
924
|
try {
|
|
925
925
|
available = discoverSkills(cwd).map((s) => s.name);
|
|
926
926
|
} catch {
|
|
927
927
|
}
|
|
928
|
-
const header = `Skill "${requestedName}" not found in this workspace's skill
|
|
928
|
+
const header = `Skill "${requestedName}" not found in this workspace's skill directory (.agents/skills/<name>/SKILL.md).`;
|
|
929
929
|
if (available.length === 0) return `${header}
|
|
930
930
|
|
|
931
931
|
No skills were discovered in this workspace.`;
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
buildLocalAgentLookupKeys,
|
|
13
13
|
normalizeAgentHandle,
|
|
14
14
|
shouldReadAgentKeyRemotely
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ISZEBXEV.js";
|
|
16
16
|
import {
|
|
17
17
|
LOCAL_CODEX_AGENT_ID,
|
|
18
18
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
} from "./chunk-ATNTHIZI.js";
|
|
28
28
|
import {
|
|
29
29
|
prepareTools
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-J6PV7OYE.js";
|
|
31
31
|
import {
|
|
32
32
|
getAntigravityUserAgent,
|
|
33
33
|
isAntigravityOAuthAgent,
|
|
34
34
|
readAntigravityProjectId,
|
|
35
35
|
resolveAntigravityCloudCodeBaseUrl
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Y3BLUPNS.js";
|
|
37
37
|
import {
|
|
38
38
|
FORCED_TOOLS,
|
|
39
39
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
readXPostFunctionSchema,
|
|
50
50
|
readXhsProfileFunc,
|
|
51
51
|
readXhsProfileFunctionSchema
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-MRX4BSKQ.js";
|
|
53
53
|
import {
|
|
54
54
|
createDrainExhaustedResponse,
|
|
55
55
|
isCoreDrainingBody,
|
|
@@ -61,13 +61,13 @@ import {
|
|
|
61
61
|
} from "./chunk-OWOHNGCN.js";
|
|
62
62
|
import {
|
|
63
63
|
prepareTokenUsageData
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OSGJQTG6.js";
|
|
65
65
|
import {
|
|
66
66
|
BUILTIN_TITLE_LLM_CONFIG
|
|
67
67
|
} from "./chunk-V2J635L5.js";
|
|
68
68
|
import {
|
|
69
69
|
fetchServerSyncedCredential
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RGJFQERV.js";
|
|
71
71
|
import {
|
|
72
72
|
buildAgentRuntimeDialogWritePlan,
|
|
73
73
|
buildLocalWorkspaceOpenAiTools,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
parseSseDataLineJson,
|
|
81
81
|
readOpenAiCompatibleSseCompletion,
|
|
82
82
|
resolveOpenAiCompatibleProviderConfig
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-WMU5EZLC.js";
|
|
84
84
|
import {
|
|
85
85
|
buildPlatformChatCompletionRequest,
|
|
86
86
|
canUsePlatformChatProvider,
|
|
@@ -90,14 +90,14 @@ import {
|
|
|
90
90
|
resolveLegacyDeepSeekProxyChatFallback,
|
|
91
91
|
resolvePlatformChatProviderConfig,
|
|
92
92
|
shouldUsePlatformChatProvider
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-6TISG7CK.js";
|
|
94
94
|
import {
|
|
95
95
|
resolveAgentRuntimeConfigFromRecord
|
|
96
96
|
} from "./chunk-NCGFB7NN.js";
|
|
97
97
|
import {
|
|
98
98
|
parseToolArgumentsJson,
|
|
99
99
|
summarizeToolArguments
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-6ADBTFFE.js";
|
|
101
101
|
import {
|
|
102
102
|
buildLoadSkillExecutor,
|
|
103
103
|
buildNoloWorkspaceCliToolExecutors,
|
|
@@ -105,10 +105,10 @@ import {
|
|
|
105
105
|
canonicalizeToolNames,
|
|
106
106
|
parseNoloWorkspaceToolArguments,
|
|
107
107
|
resolveRuntimeToolSurfaceForAgent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-B4KT7RN2.js";
|
|
109
109
|
import {
|
|
110
110
|
clipCompactText
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-NKD3Q4RN.js";
|
|
112
112
|
import {
|
|
113
113
|
createFileCredentialBroker,
|
|
114
114
|
resolveCurrentRunRuntimeToolPolicy,
|
|
@@ -770,8 +770,8 @@ Use /switch, /switch list, /switch minimax-m3, or a full agent key.`,
|
|
|
770
770
|
zh: "\u5DF2\u6302\u8F7D\u6280\u80FD\uFF1A{0}\n\u7528\u6CD5\uFF1A/skill attach <ref> | /skill detach <ref> | /skill clear"
|
|
771
771
|
},
|
|
772
772
|
skillNoneHint: {
|
|
773
|
-
en: "No skills attached. Use /skill attach <skill-ref> to attach a skill.\nSkill refs can be a dbKey (page-xxx), a skill name (searched in .agents/skills/
|
|
774
|
-
zh: "\u8FD8\u6CA1\u6709\u6302\u8F7D\u6280\u80FD\u3002\u7528 /skill attach <skill-ref> \u6302\u8F7D\u6280\u80FD\u3002\n\u6280\u80FD\u5F15\u7528\u53EF\u4EE5\u662F dbKey\uFF08page-xxx\uFF09\u3001\u6280\u80FD\u540D\uFF08\u4F1A\u5728 .agents/skills/ \
|
|
773
|
+
en: "No skills attached. Use /skill attach <skill-ref> to attach a skill.\nSkill refs can be a dbKey (page-xxx), a skill name (searched in .agents/skills/), or a direct path.",
|
|
774
|
+
zh: "\u8FD8\u6CA1\u6709\u6302\u8F7D\u6280\u80FD\u3002\u7528 /skill attach <skill-ref> \u6302\u8F7D\u6280\u80FD\u3002\n\u6280\u80FD\u5F15\u7528\u53EF\u4EE5\u662F dbKey\uFF08page-xxx\uFF09\u3001\u6280\u80FD\u540D\uFF08\u4F1A\u5728 .agents/skills/ \u4E2D\u67E5\u627E\uFF09\u6216\u76F4\u63A5\u8DEF\u5F84\u3002"
|
|
775
775
|
},
|
|
776
776
|
customizeHint: {
|
|
777
777
|
en: "Tell nolo what to change, for example: /customize make my default agent more concise.",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
3
3
|
isAntigravityOAuthAgent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y3BLUPNS.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText,
|
|
7
7
|
fetchAndSerializeTable,
|
|
8
8
|
waitForAbortableDelay
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MRX4BSKQ.js";
|
|
10
10
|
import {
|
|
11
11
|
createDrainExhaustedResponse,
|
|
12
12
|
isCoreDrainingBody,
|
|
@@ -26,15 +26,15 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
fetchAndCacheMessages,
|
|
28
28
|
shouldUseServerProxy
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OSGJQTG6.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchServerSyncedCredential
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RGJFQERV.js";
|
|
33
33
|
import {
|
|
34
34
|
buildCurrentTimeBlock,
|
|
35
35
|
buildIdentityBlock,
|
|
36
36
|
buildRuntimeGuidanceBlocks
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7HV5OHEM.js";
|
|
38
38
|
import {
|
|
39
39
|
buildProviderAuthHeaders,
|
|
40
40
|
convertMessagesToResponsesInput,
|
|
@@ -42,18 +42,18 @@ import {
|
|
|
42
42
|
preserveAgentStateFields,
|
|
43
43
|
resolvePlatformChatCompletionsEndpoint,
|
|
44
44
|
resolvePlatformResponsesEndpoint
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WO24IT3V.js";
|
|
46
46
|
import {
|
|
47
47
|
canonicalizeToolNames
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-B4KT7RN2.js";
|
|
49
49
|
import {
|
|
50
50
|
estimateTokenCount
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-NKD3Q4RN.js";
|
|
52
52
|
import {
|
|
53
53
|
clampReasoningEffort,
|
|
54
54
|
getModelConfig,
|
|
55
55
|
isModelSupportReasoningEffort
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-OGGHETUE.js";
|
|
57
57
|
import {
|
|
58
58
|
createFileCredentialBroker
|
|
59
59
|
} from "./chunk-PDL2AV3E.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
i18n_default,
|
|
3
3
|
toolRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MRX4BSKQ.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalizeToolNames
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B4KT7RN2.js";
|
|
8
8
|
import {
|
|
9
9
|
asTrimmedLowercaseString
|
|
10
10
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
} from "./chunk-VF4K2QE6.js";
|
|
35
35
|
import {
|
|
36
36
|
createDocState
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-OLKX3NZI.js";
|
|
38
38
|
import {
|
|
39
39
|
createDialogAction
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-Y3COB2JR.js";
|
|
41
41
|
import {
|
|
42
42
|
buildSkillDocMarkdown,
|
|
43
43
|
normalizeSkillBudgetTier,
|
|
@@ -76,13 +76,13 @@ import {
|
|
|
76
76
|
updateContentCategory,
|
|
77
77
|
updateContentTitle,
|
|
78
78
|
updateStep
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-OSGJQTG6.js";
|
|
80
80
|
import {
|
|
81
81
|
createAgent,
|
|
82
82
|
runLlm,
|
|
83
83
|
streamAgentChatTurn,
|
|
84
84
|
updateAgent
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-RGJFQERV.js";
|
|
86
86
|
import {
|
|
87
87
|
NOLO_WORKSPACE_TOOL_NAMES,
|
|
88
88
|
buildNoloSubjectRefQueryTarget,
|
|
@@ -98,13 +98,13 @@ import {
|
|
|
98
98
|
redactAgentRecordForWorkspaceTool,
|
|
99
99
|
resolveNoloDialogInput,
|
|
100
100
|
verifyNoloDialogSubjectRefQuery
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-B4KT7RN2.js";
|
|
102
102
|
import {
|
|
103
103
|
buildDatabaseFileContentUrl
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-NKD3Q4RN.js";
|
|
105
105
|
import {
|
|
106
106
|
DEFAULT_MODEL
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-OGGHETUE.js";
|
|
108
108
|
import {
|
|
109
109
|
ToolApiError,
|
|
110
110
|
buildToolRequestHeaders,
|
|
@@ -3415,6 +3415,7 @@ var space_locale_default = {
|
|
|
3415
3415
|
select_space: "Select Space",
|
|
3416
3416
|
no_spaces: "No spaces available",
|
|
3417
3417
|
no_spaces_yet: "No spaces created yet",
|
|
3418
|
+
space_list_failed: "Failed to load spaces \u2014 tap to retry",
|
|
3418
3419
|
space_list: "Space List",
|
|
3419
3420
|
space_dropdown: "Open space menu",
|
|
3420
3421
|
current_space: "Current Space",
|
|
@@ -3724,6 +3725,7 @@ var space_locale_default = {
|
|
|
3724
3725
|
select_space: "\u9009\u62E9\u7A7A\u95F4",
|
|
3725
3726
|
no_spaces: "\u6682\u65E0\u7A7A\u95F4",
|
|
3726
3727
|
no_spaces_yet: "\u5C1A\u672A\u521B\u5EFA\u4EFB\u4F55\u7A7A\u95F4",
|
|
3728
|
+
space_list_failed: "\u7A7A\u95F4\u5217\u8868\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5",
|
|
3727
3729
|
space_list: "\u7A7A\u95F4\u5217\u8868",
|
|
3728
3730
|
space_dropdown: "\u6253\u5F00\u7A7A\u95F4\u83DC\u5355",
|
|
3729
3731
|
current_space: "\u5F53\u524D\u7A7A\u95F4",
|
|
@@ -4032,6 +4034,7 @@ var space_locale_default = {
|
|
|
4032
4034
|
select_space: "\u9078\u64C7\u7A7A\u9593",
|
|
4033
4035
|
no_spaces: "\u66AB\u7121\u7A7A\u9593",
|
|
4034
4036
|
no_spaces_yet: "\u5C1A\u672A\u5275\u5EFA\u4EFB\u4F55\u7A7A\u9593",
|
|
4037
|
+
space_list_failed: "\u7A7A\u9593\u6E05\u55AE\u8F09\u5165\u5931\u6557\uFF0C\u9EDE\u64CA\u91CD\u8A66",
|
|
4035
4038
|
space_list: "\u7A7A\u9593\u6E05\u55AE",
|
|
4036
4039
|
space_dropdown: "\u958B\u555F\u7A7A\u9593\u9078\u55AE",
|
|
4037
4040
|
current_space: "\u76EE\u524D\u7A7A\u9593",
|
|
@@ -11535,7 +11538,7 @@ var buildFormDataFromArgs = async (args) => {
|
|
|
11535
11538
|
const trimmedModel = toTrimmedString(model);
|
|
11536
11539
|
const trimmedProvider = toTrimmedString(provider);
|
|
11537
11540
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
11538
|
-
const { getModelPricing } = await import("./getPricing-
|
|
11541
|
+
const { getModelPricing } = await import("./getPricing-UGDJHI7M.js");
|
|
11539
11542
|
const normalizedTools = tools ?? [];
|
|
11540
11543
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
11541
11544
|
const formData = {
|
|
@@ -13965,7 +13968,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
13965
13968
|
const deletedDialogIds = [];
|
|
13966
13969
|
const deletedDialogKeys = [];
|
|
13967
13970
|
const failures = [];
|
|
13968
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
13971
|
+
const { deleteDialog } = await import("./dialogSlice-DAA3CWOV.js");
|
|
13969
13972
|
for (const target of targets) {
|
|
13970
13973
|
try {
|
|
13971
13974
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -23102,7 +23105,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
23102
23105
|
if (!executionInput) {
|
|
23103
23106
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
23104
23107
|
}
|
|
23105
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
23108
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-PR47LTGM.js");
|
|
23106
23109
|
const { executor } = findToolExecutor2(run.toolName);
|
|
23107
23110
|
toolRunStarted({
|
|
23108
23111
|
id: run.id,
|
|
@@ -23126,7 +23129,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
23126
23129
|
const latestState = thunkApi.getState();
|
|
23127
23130
|
const userId = latestState.auth?.currentUser?.userId;
|
|
23128
23131
|
if (userId) {
|
|
23129
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
23132
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-2X2TVI2V.js");
|
|
23130
23133
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
23131
23134
|
}
|
|
23132
23135
|
}
|
|
@@ -25529,7 +25532,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25529
25532
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25530
25533
|
};
|
|
25531
25534
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25532
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25535
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-67RBJMFZ.js");
|
|
25533
25536
|
if (getDocState().pageKey === id) {
|
|
25534
25537
|
applyExternalDocUpdate({
|
|
25535
25538
|
slateData: finalSlateData,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isBuiltinNoloAgentRef,
|
|
19
19
|
t,
|
|
20
20
|
toolLabel
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FF7Y6DC4.js";
|
|
22
22
|
import {
|
|
23
23
|
CliProviderQuotaError
|
|
24
24
|
} from "./chunk-CMKUBIGW.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
readDbRecord,
|
|
30
30
|
resolveAgentRecordFromHybridStore
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RFRU3HAL.js";
|
|
32
32
|
import {
|
|
33
33
|
normalizeAgentHandle
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ISZEBXEV.js";
|
|
35
35
|
import {
|
|
36
36
|
NOLO_PROJECT_MANAGER_AGENT_KEY,
|
|
37
37
|
isLocalCliAgentKey
|
|
@@ -48,14 +48,14 @@ import {
|
|
|
48
48
|
formatStatusRunCard,
|
|
49
49
|
formatStopRunCard,
|
|
50
50
|
isAgentRunTerminalStatus
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-MRX4BSKQ.js";
|
|
52
52
|
import {
|
|
53
53
|
isGatewayHttpStatus
|
|
54
54
|
} from "./chunk-RQSOAMPJ.js";
|
|
55
55
|
import {
|
|
56
56
|
buildMemorySubjectsForAgent,
|
|
57
57
|
resolveAgentMemoryPolicy
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-Y3COB2JR.js";
|
|
59
59
|
import {
|
|
60
60
|
parseExternalSkillMarkdown,
|
|
61
61
|
parseSkillDocProtocol
|
|
@@ -64,14 +64,14 @@ import {
|
|
|
64
64
|
API_REPORTED_COST_MULTIPLIER,
|
|
65
65
|
normalizeUsage,
|
|
66
66
|
parseUiAskChoiceContent
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-OSGJQTG6.js";
|
|
68
68
|
import {
|
|
69
69
|
buildSkillDiscoveryContextBlock
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-AS3ZQ3O2.js";
|
|
71
71
|
import {
|
|
72
72
|
buildPlatformChatCompletionRequest,
|
|
73
73
|
parsePlatformChatCompletionData
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-6TISG7CK.js";
|
|
75
75
|
import {
|
|
76
76
|
resolveAgentRuntimeConfigFromRecord
|
|
77
77
|
} from "./chunk-NCGFB7NN.js";
|
|
@@ -80,18 +80,18 @@ import {
|
|
|
80
80
|
LOCAL_TURN_ABORTED_CODE,
|
|
81
81
|
readActionGate,
|
|
82
82
|
readCommandActionGatePayload
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-6ADBTFFE.js";
|
|
84
84
|
import {
|
|
85
85
|
resolvePlatformChatCompletionsEndpoint
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-WO24IT3V.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_CONTEXT_WINDOW,
|
|
89
89
|
clipCompactText,
|
|
90
90
|
getModelContextWindow
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NKD3Q4RN.js";
|
|
92
92
|
import {
|
|
93
93
|
findModelConfig
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-OGGHETUE.js";
|
|
95
95
|
import {
|
|
96
96
|
buildMemoryOverlayLayer,
|
|
97
97
|
buildMemoryUseGuidanceLayer
|
|
@@ -3588,7 +3588,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
3588
3588
|
// packages/cli/client/agentRun.ts
|
|
3589
3589
|
import { ulid } from "ulid";
|
|
3590
3590
|
async function loadRunLocalAgentTurn() {
|
|
3591
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
3591
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-C2KYWS6H.js");
|
|
3592
3592
|
return runLocalAgentTurn;
|
|
3593
3593
|
}
|
|
3594
3594
|
async function resolveCurrentMachineId(options) {
|
|
@@ -4025,7 +4025,7 @@ async function runLocalAgentTurnForCli(options, settings) {
|
|
|
4025
4025
|
} : void 0;
|
|
4026
4026
|
const currentDialogId = options.continueDialogId ?? ulid();
|
|
4027
4027
|
const runChildTurn = async (input) => {
|
|
4028
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
4028
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-C2KYWS6H.js");
|
|
4029
4029
|
return runLocalAgentTurn(input);
|
|
4030
4030
|
};
|
|
4031
4031
|
const createFreshChildBaseAdapter = () => {
|
|
@@ -4250,8 +4250,7 @@ function workflowRefToCandidatePath(cwd, ref) {
|
|
|
4250
4250
|
return resolve(cwd, "docs", "workflows", `${fileName}.md`);
|
|
4251
4251
|
}
|
|
4252
4252
|
var SKILL_SEARCH_DIRS = [
|
|
4253
|
-
".agents/skills"
|
|
4254
|
-
"docs/skills"
|
|
4253
|
+
".agents/skills"
|
|
4255
4254
|
];
|
|
4256
4255
|
function skillRefToCandidatePath(cwd, ref) {
|
|
4257
4256
|
const normalized = ref.trim();
|
|
@@ -4262,15 +4261,10 @@ function skillRefToCandidatePath(cwd, ref) {
|
|
|
4262
4261
|
}
|
|
4263
4262
|
const fileName = normalized.replace(/[^a-zA-Z0-9一-鿿]+/g, "-").replace(/^-+|-+$/g, "");
|
|
4264
4263
|
for (const dir of SKILL_SEARCH_DIRS) {
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
if (existsSync(flatPath)) return flatPath;
|
|
4268
|
-
} else {
|
|
4269
|
-
const skillMdPath = resolve(cwd, dir, fileName, "SKILL.md");
|
|
4270
|
-
if (existsSync(skillMdPath)) return skillMdPath;
|
|
4271
|
-
}
|
|
4264
|
+
const skillMdPath = resolve(cwd, dir, fileName, "SKILL.md");
|
|
4265
|
+
if (existsSync(skillMdPath)) return skillMdPath;
|
|
4272
4266
|
}
|
|
4273
|
-
return resolve(cwd, "
|
|
4267
|
+
return resolve(cwd, ".agents", "skills", fileName, "SKILL.md");
|
|
4274
4268
|
}
|
|
4275
4269
|
async function resolveWorkflowReference(ref, cwd = process.cwd()) {
|
|
4276
4270
|
const path = workflowRefToCandidatePath(cwd, ref);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCliLocalRuntimePreparedAgentCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FF7Y6DC4.js";
|
|
4
4
|
import {
|
|
5
5
|
getReadableCliDb
|
|
6
6
|
} from "./chunk-W4NVOSFF.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentRecordFromHybridStore,
|
|
13
13
|
sanitizeAgentRecordForCliOutput,
|
|
14
14
|
writeAgentRecord
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RFRU3HAL.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveCliAgentKeyInput
|
|
18
18
|
} from "./chunk-VHBWHNVT.js";
|
|
@@ -81,6 +81,21 @@ var anthropicModels = [
|
|
|
81
81
|
// packages/integrations/qwen/models.ts
|
|
82
82
|
var qwenModels = [
|
|
83
83
|
// ── Qwen3 旗舰 ──
|
|
84
|
+
{
|
|
85
|
+
name: "qwen3.8-max",
|
|
86
|
+
displayName: "Qwen3.8 Max",
|
|
87
|
+
hasVision: true,
|
|
88
|
+
contextWindow: 1e6,
|
|
89
|
+
maxOutputTokens: 131072,
|
|
90
|
+
jsonOutput: true,
|
|
91
|
+
fnCall: true,
|
|
92
|
+
supportsTool: true,
|
|
93
|
+
supportsReasoningEffort: true,
|
|
94
|
+
// 官方价:输入 ¥12/M、输出 ¥36/M;缓存命中 ¥1.5/M、显式缓存创建 ¥15/M、显式缓存命中 ¥1/M。
|
|
95
|
+
price: { input: 12, output: 36 },
|
|
96
|
+
provider: "qwen",
|
|
97
|
+
description: "2.4\u4E07\u4EBF\u53C2\u6570 MoE \u65D7\u8230\uFF0C1M \u4E0A\u4E0B\u6587\uFF08\u8F93\u5165 991K / \u8F93\u51FA 131K / \u601D\u7EF4\u94FE 262K\uFF09\uFF0C\u539F\u751F\u89C6\u89C9\u7406\u89E3\u8D2F\u7A7F\u89C4\u5212-\u6267\u884C-\u9A8C\u8BC1\uFF0C\u81EA\u4E3B\u7F16\u7A0B\u53EF\u4EA4\u4ED8\u5B8C\u6574\u9879\u76EE\u3002"
|
|
98
|
+
},
|
|
84
99
|
{
|
|
85
100
|
name: "qwen3-max",
|
|
86
101
|
displayName: "Qwen3 Max",
|
|
@@ -246,18 +261,18 @@ var qwenModels = [
|
|
|
246
261
|
var qwenTokenPlanModels = [
|
|
247
262
|
// ── 千问 ──
|
|
248
263
|
{
|
|
249
|
-
name: "qwen3.8-max
|
|
250
|
-
displayName: "Qwen3.8 Max
|
|
264
|
+
name: "qwen3.8-max",
|
|
265
|
+
displayName: "Qwen3.8 Max",
|
|
251
266
|
hasVision: true,
|
|
252
267
|
contextWindow: 1e6,
|
|
253
|
-
maxOutputTokens:
|
|
268
|
+
maxOutputTokens: 131072,
|
|
254
269
|
jsonOutput: true,
|
|
255
270
|
fnCall: true,
|
|
256
271
|
supportsTool: true,
|
|
257
272
|
supportsReasoningEffort: true,
|
|
258
273
|
price: { input: 0, output: 0 },
|
|
259
274
|
provider: "qwen",
|
|
260
|
-
description: "\u63A8\u7406\
|
|
275
|
+
description: "2.4\u4E07\u4EBF\u53C2\u6570 MoE \u65D7\u8230\uFF0C\u63A8\u7406\u3001\u89C6\u89C9\u7406\u89E3\u3001\u6587\u672C\u751F\u6210\uFF1B1M \u4E0A\u4E0B\u6587\u3001131K \u8F93\u51FA\u3001262K \u601D\u7EF4\u94FE\u3002"
|
|
261
276
|
},
|
|
262
277
|
{
|
|
263
278
|
name: "qwen3.7-max",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OSGJQTG6.js";
|
|
4
4
|
import {
|
|
5
5
|
require_date_fns
|
|
6
6
|
} from "./chunk-M76ECQRD.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-QUFKG6A2.js");
|
|
371
371
|
return createPageAction(args, thunkApi);
|
|
372
372
|
}
|
|
373
373
|
function subscribe(listener) {
|