nolo-cli 0.26.2 → 0.27.0
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-ZPNYAEFW.js → _executeModel-GBJY45QW.js} +18 -18
- package/{agentDeleteCommand-5ZV4433K.js → agentDeleteCommand-VFHDZJG3.js} +12 -12
- package/{agentEmailCommands-Z7KOYDVQ.js → agentEmailCommands-NV64EI7G.js} +24 -24
- package/{agentListCommands-UQUXJYUN.js → agentListCommands-BDDUYHLP.js} +14 -14
- package/{agentMachineCommands-53O6P6L5.js → agentMachineCommands-2KYBYNLE.js} +13 -13
- package/{agentRecordCommands-ZRYNBSSS.js → agentRecordCommands-3OX576G3.js} +23 -23
- package/{agentRunCommand-B73MKVOG.js → agentRunCommand-FZOGN67Y.js} +23 -23
- package/{agentRuntimeLocal-GVNERRKQ.js → agentRuntimeLocal-552R4CZA.js} +9 -9
- package/{agentSlice-OJBHIL34.js → agentSlice-7AEBCNVZ.js} +1 -1
- package/{appDeleteCommands-23Z3Z6KE.js → appDeleteCommands-IPJT6IYW.js} +13 -13
- package/{appDeployCommands-3MFAR4Z7.js → appDeployCommands-24P4CADQ.js} +13 -13
- package/{appDeployStatusCommands-JHU6GSN4.js → appDeployStatusCommands-3DRZOUAG.js} +13 -13
- package/{appGetCommands-24J55H2Y.js → appGetCommands-JEOSBLUL.js} +13 -13
- package/{appListCommands-HE5KP3PH.js → appListCommands-EIBM54WR.js} +13 -13
- package/{authCommand-KGRK6MNU.js → authCommand-MKMYHD52.js} +6 -6
- package/{chunk-CWTT2NZ6.js → chunk-3X4IYB22.js} +2 -2
- package/{chunk-JJ2WUBFN.js → chunk-4FRIAKSZ.js} +1 -1
- package/{chunk-S7AV3NCK.js → chunk-56CPK6JE.js} +11 -11
- package/{chunk-KURQBS7S.js → chunk-6MBOZ4UP.js} +1 -1
- package/{chunk-PTKI7TIN.js → chunk-7OYLPHDL.js} +84 -32
- package/{chunk-AZW5AHMW.js → chunk-7WMLPRXP.js} +1 -1
- package/{chunk-AOPOTHFK.js → chunk-FRN5QOKN.js} +1 -1
- package/{chunk-LEHTC2FI.js → chunk-GT3GG2H7.js} +2 -1
- package/{chunk-AAWJ5S3G.js → chunk-H7N2NOJF.js} +1 -1
- package/{chunk-MCXQNEJ3.js → chunk-HALKDXKP.js} +1 -1
- package/{chunk-GGB6MPHD.js → chunk-HQFXBRI2.js} +16 -16
- package/{chunk-ZFL3LTU7.js → chunk-J7PB5GXH.js} +2 -2
- package/{chunk-CMKUBIGW.js → chunk-JDSUTNYY.js} +2 -2
- package/{chunk-PY7VGC5M.js → chunk-JQ3LNEMS.js} +3 -2
- package/{chunk-PMCKFQYC.js → chunk-KXEWHQAW.js} +1 -1
- package/{chunk-G36SUBHA.js → chunk-L3QFIBZG.js} +1 -1
- package/{chunk-GNGOZMU2.js → chunk-N32A423D.js} +2 -2
- package/{chunk-TNM27YZ7.js → chunk-NCRWA6ZB.js} +3 -3
- package/{chunk-5DWZ46RJ.js → chunk-O5VFD7V6.js} +1 -1
- package/{chunk-YJY7HODU.js → chunk-PVWFM7JP.js} +1 -1
- package/{chunk-ADE6577S.js → chunk-Q4TAIQTA.js} +11 -11
- package/{chunk-GD23ZX7Z.js → chunk-QCUS52YR.js} +3 -3
- package/{chunk-SIUEKVK4.js → chunk-TTPVLL5F.js} +103 -25
- package/{chunk-5EDKWSQN.js → chunk-UADEEVDX.js} +12 -266
- package/{chunk-XNZJVYFS.js → chunk-UTYJ47H2.js} +1 -1
- package/{chunk-RM464B7I.js → chunk-V7BUGVT2.js} +2 -2
- package/{chunk-TWA4L7J7.js → chunk-VV4TYWNV.js} +1 -1
- package/{chunk-TLYHUIWF.js → chunk-W2IOPRHX.js} +3 -3
- package/{chunk-CV6BM7LU.js → chunk-X43U4JUJ.js} +1 -1
- package/{chunk-PXPISYEH.js → chunk-XS7UPVR7.js} +2 -2
- package/{chunk-CZHE6LLV.js → chunk-YTA2QOEE.js} +20 -0
- package/{chunk-P3RZ6DHN.js → chunk-YZV4676I.js} +24 -15
- package/{chunk-LLDGWLML.js → chunk-Z3ORPMOA.js} +8 -8
- package/chunk-ZJ7WLPDP.js +553 -0
- package/{chunk-J2WT5CEO.js → chunk-ZNFZGHKL.js} +1 -1
- package/{cliExecutor-K3F7DMRO.js → cliExecutor-BBUVQU4L.js} +1 -1
- package/{createAgentAutomationAction-PO62NUR7.js → createAgentAutomationAction-YB65NAU5.js} +6 -6
- package/{createDialogAction-ORFRYI3C.js → createDialogAction-6USRBKKL.js} +7 -7
- package/{createPageAction-XWVMNTYH.js → createPageAction-ZGE3SG6J.js} +6 -6
- package/{dialogCommands-XTJHROXM.js → dialogCommands-O4CJJRTQ.js} +13 -13
- package/{dialogSlice-DJXC53YW.js → dialogSlice-HMRBZCSE.js} +6 -6
- package/{docCreateCommands-T2XRVXYS.js → docCreateCommands-2U5AIF3O.js} +12 -12
- package/{docDeleteCommands-L7RXFXY3.js → docDeleteCommands-EDCAUQEF.js} +13 -13
- package/{docReadCommands-M5PYNADQ.js → docReadCommands-KFMBFGPY.js} +12 -12
- package/{docStore-6LKLLFDW.js → docStore-ZGGDZFCC.js} +7 -7
- package/{docUpdateCommands-OA5EGPLQ.js → docUpdateCommands-57M4XOT7.js} +12 -12
- package/{getPricing-6C3C47Y4.js → getPricing-X6I23RN6.js} +3 -3
- package/{handleSendMessageAction-ILFGZTN5.js → handleSendMessageAction-ANCZXLQY.js} +6 -6
- package/index.js +47 -47
- package/{machineCommands-AKAQGPAO.js → machineCommands-6EG5U6TU.js} +23 -23
- package/{machineWsRunDispatch-RSBERM64.js → machineWsRunDispatch-SFIKRI4G.js} +22 -22
- package/{models-ILWKIX2Y.js → models-YT32CTT5.js} +2 -2
- package/package.json +1 -1
- package/{readlineWorkspace-TUH3SFHO.js → readlineWorkspace-TVIHBRN2.js} +30 -27
- package/{runAgentClientLoop-C3QB2EXV.js → runAgentClientLoop-SJ6QQ3ZS.js} +15 -15
- package/{spaceCommands-SXYOFGUJ.js → spaceCommands-XK46FRYG.js} +12 -12
- package/{spaceSlice-6BHMRP5O.js → spaceSlice-FNFNVXPQ.js} +6 -6
- package/{streamAgentChatTurn-GF5W5OIP.js → streamAgentChatTurn-HHIWP44U.js} +18 -18
- package/{tools-KBCLJ43G.js → tools-CT7AFBI3.js} +10 -10
- package/{tuiSummaryLlmCaller-ARIMGILF.js → tuiSummaryLlmCaller-GCUPULOV.js} +4 -4
- package/{updateDialogTitleAction-LMHZUY4Q.js → updateDialogTitleAction-7RFN5GA4.js} +6 -6
- package/chunk-ZUXIXYJI.js +0 -297
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
refreshAntigravityOAuthToken,
|
|
4
4
|
refreshOpenAiCodexToken,
|
|
5
5
|
refreshXaiOAuthToken
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VV4TYWNV.js";
|
|
7
7
|
import {
|
|
8
8
|
buildLocalAgentLookupKeys
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7WMLPRXP.js";
|
|
10
10
|
import {
|
|
11
11
|
LOCAL_CODEX_AGENT_ID,
|
|
12
12
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
inlineImageUrlsForCustomProvider,
|
|
21
21
|
prepareTools
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J7PB5GXH.js";
|
|
23
23
|
import {
|
|
24
24
|
getAntigravityUserAgent,
|
|
25
25
|
isAntigravityOAuthAgent,
|
|
26
26
|
readAntigravityProjectId,
|
|
27
27
|
resolveAntigravityCloudCodeBaseUrl
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UTYJ47H2.js";
|
|
29
29
|
import {
|
|
30
30
|
readXPostFunc,
|
|
31
31
|
readXPostFunctionSchema,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
rememberMemoryFunctionSchema,
|
|
35
35
|
resolveAgentRequiredPackIds,
|
|
36
36
|
setTodoListFunc
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HQFXBRI2.js";
|
|
38
38
|
import {
|
|
39
39
|
createDrainExhaustedResponse,
|
|
40
40
|
isCoreDrainingBody,
|
|
@@ -49,13 +49,13 @@ import {
|
|
|
49
49
|
prepareTokenUsageData,
|
|
50
50
|
resolveBuiltinPlatformAgentConfig,
|
|
51
51
|
runKeyed
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-Q4TAIQTA.js";
|
|
53
53
|
import {
|
|
54
54
|
BUILTIN_TITLE_LLM_CONFIG
|
|
55
55
|
} from "./chunk-XOIF2TNF.js";
|
|
56
56
|
import {
|
|
57
57
|
fetchServerSyncedCredential
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-QCUS52YR.js";
|
|
59
59
|
import {
|
|
60
60
|
require_date_fns
|
|
61
61
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -80,14 +80,16 @@ import {
|
|
|
80
80
|
dialogMessageRecordToAgentRuntimeMessage,
|
|
81
81
|
executeLocalToolWithPolicy,
|
|
82
82
|
executeOpenAiCompatibleChatCompletion,
|
|
83
|
+
filterRetainedLedgerRecords,
|
|
83
84
|
isAgentCoolingDown,
|
|
85
|
+
isLineRangeCovered,
|
|
84
86
|
parseSseDataLineJson,
|
|
85
87
|
parseSseDataLineObject,
|
|
86
88
|
parseSyncServersEnv,
|
|
87
89
|
readOpenAiCompatibleSseCompletion,
|
|
88
90
|
resolveAgentNextAvailableAt,
|
|
89
91
|
resolveOpenAiCompatibleProviderConfig
|
|
90
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-TTPVLL5F.js";
|
|
91
93
|
import {
|
|
92
94
|
buildPlatformChatCompletionRequest,
|
|
93
95
|
canUsePlatformChatProvider,
|
|
@@ -97,20 +99,21 @@ import {
|
|
|
97
99
|
readSseDataValues,
|
|
98
100
|
resolvePlatformChatProviderConfig,
|
|
99
101
|
shouldUsePlatformChatProvider
|
|
100
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-HALKDXKP.js";
|
|
101
103
|
import {
|
|
102
104
|
resolveAgentRuntimeConfigFromRecord
|
|
103
105
|
} from "./chunk-OIQPORYI.js";
|
|
104
106
|
import {
|
|
107
|
+
resolveHistoricalToolContentCap,
|
|
105
108
|
summarizeToolArguments
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-YZV4676I.js";
|
|
107
110
|
import {
|
|
108
111
|
convertMessagesToResponsesInput,
|
|
109
112
|
toResponsesTools
|
|
110
113
|
} from "./chunk-D34RI6NI.js";
|
|
111
114
|
import {
|
|
112
115
|
resolvePlatformAuthToken
|
|
113
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-XS7UPVR7.js";
|
|
114
117
|
import {
|
|
115
118
|
buildNoloWorkspaceOpenAiTools,
|
|
116
119
|
parseNoloWorkspaceToolArguments,
|
|
@@ -137,7 +140,7 @@ import {
|
|
|
137
140
|
} from "./chunk-JZPBVBIY.js";
|
|
138
141
|
import {
|
|
139
142
|
isAdaptiveThinkingModelId
|
|
140
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-GT3GG2H7.js";
|
|
141
144
|
import {
|
|
142
145
|
canonicalizeToolNames
|
|
143
146
|
} from "./chunk-ZZ2MH7LE.js";
|
|
@@ -168,7 +171,7 @@ import {
|
|
|
168
171
|
import {
|
|
169
172
|
CliProviderQuotaError,
|
|
170
173
|
executeCli
|
|
171
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-JDSUTNYY.js";
|
|
172
175
|
import {
|
|
173
176
|
buildCliPrompt
|
|
174
177
|
} from "./chunk-ATNTHIZI.js";
|
|
@@ -2704,7 +2707,10 @@ function createCliControlAgentRunExecutor(deps = {}) {
|
|
|
2704
2707
|
|
|
2705
2708
|
// packages/cli/client/cliLocalToolExecutors.ts
|
|
2706
2709
|
var MAX_PASTED_TEXT_LINES_PER_READ = 200;
|
|
2710
|
+
var PASTED_TEXT_EXPLICIT_OVERSHOOT_LINES = 20;
|
|
2711
|
+
var PASTE_LEDGER_MAX_RECORDS = 64;
|
|
2707
2712
|
function createReadPastedTextExecutor(store) {
|
|
2713
|
+
const ledger = /* @__PURE__ */ new Map();
|
|
2708
2714
|
return async (call) => {
|
|
2709
2715
|
let parsed = {};
|
|
2710
2716
|
try {
|
|
@@ -2730,27 +2736,68 @@ function createReadPastedTextExecutor(store) {
|
|
|
2730
2736
|
metadata: { error: true, code: "paste_not_found", pasteId }
|
|
2731
2737
|
};
|
|
2732
2738
|
}
|
|
2739
|
+
const force = parsed.force === true;
|
|
2733
2740
|
const lines = text.split("\n");
|
|
2741
|
+
const fingerprint = `${lines.length}:${text.length}`;
|
|
2734
2742
|
const requestedStart = Number(parsed.startLine);
|
|
2735
2743
|
const requestedEnd = Number(parsed.endLine);
|
|
2736
2744
|
const startLine = Number.isInteger(requestedStart) && requestedStart > 0 ? Math.min(requestedStart, lines.length) : 1;
|
|
2745
|
+
const explicitEnd = Number.isInteger(requestedEnd) && requestedEnd >= startLine ? requestedEnd : void 0;
|
|
2746
|
+
const defaultEnd = startLine + MAX_PASTED_TEXT_LINES_PER_READ - 1;
|
|
2737
2747
|
const endLine = Math.min(
|
|
2738
2748
|
lines.length,
|
|
2739
|
-
|
|
2740
|
-
|
|
2749
|
+
explicitEnd ?? defaultEnd,
|
|
2750
|
+
defaultEnd + (explicitEnd !== void 0 ? PASTED_TEXT_EXPLICIT_OVERSHOOT_LINES : 0)
|
|
2741
2751
|
);
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
+
let entry = ledger.get(pasteId);
|
|
2753
|
+
if (entry && entry.fingerprint !== fingerprint) {
|
|
2754
|
+
entry = void 0;
|
|
2755
|
+
ledger.delete(pasteId);
|
|
2756
|
+
}
|
|
2757
|
+
if (!force && entry) {
|
|
2758
|
+
const retainedCap = resolveHistoricalToolContentCap("readPastedText", 0);
|
|
2759
|
+
const retained = filterRetainedLedgerRecords(entry.records, retainedCap);
|
|
2760
|
+
if (retained.length > 0 && isLineRangeCovered({ startLine, endLine }, retained)) {
|
|
2761
|
+
return {
|
|
2762
|
+
content: `[readPastedText] paste #${pasteId} lines ${startLine}-${endLine} were already delivered earlier in this session and remain in context; not resending. Pass force:true to refetch.`,
|
|
2763
|
+
metadata: {
|
|
2764
|
+
pasteId,
|
|
2765
|
+
startLine,
|
|
2766
|
+
endLine,
|
|
2767
|
+
totalLines: lines.length,
|
|
2768
|
+
deduped: true,
|
|
2769
|
+
source: "tui-paste-store"
|
|
2770
|
+
}
|
|
2771
|
+
};
|
|
2752
2772
|
}
|
|
2773
|
+
}
|
|
2774
|
+
const delivered = lines.slice(startLine - 1, endLine).join("\n");
|
|
2775
|
+
const clamped = explicitEnd !== void 0 && endLine < explicitEnd && endLine < lines.length;
|
|
2776
|
+
const paged = explicitEnd === void 0 && endLine < lines.length;
|
|
2777
|
+
const needsFooter = clamped || paged;
|
|
2778
|
+
const content = needsFooter ? `${delivered}
|
|
2779
|
+
[readPastedText: returned lines ${startLine}-${endLine} of ${lines.length}. Continue with startLine=${endLine + 1}.]` : delivered;
|
|
2780
|
+
const metadata = {
|
|
2781
|
+
pasteId,
|
|
2782
|
+
startLine,
|
|
2783
|
+
endLine,
|
|
2784
|
+
totalLines: lines.length,
|
|
2785
|
+
totalChars: text.length,
|
|
2786
|
+
truncated: endLine < lines.length,
|
|
2787
|
+
// Continuation pointer whenever more content exists, even when an
|
|
2788
|
+
// explicit request was honored in full — the schema contract says a
|
|
2789
|
+
// truncated read advertises the exact next startLine.
|
|
2790
|
+
...endLine < lines.length ? { nextStartLine: endLine + 1 } : {},
|
|
2791
|
+
source: "tui-paste-store"
|
|
2753
2792
|
};
|
|
2793
|
+
const persistedChars = content.length + "\n\n[tool metadata]\n".length + JSON.stringify(metadata).length;
|
|
2794
|
+
const records = entry?.records ?? [];
|
|
2795
|
+
records.push({ startLine, endLine, chars: persistedChars });
|
|
2796
|
+
ledger.set(pasteId, {
|
|
2797
|
+
fingerprint,
|
|
2798
|
+
records: records.slice(-PASTE_LEDGER_MAX_RECORDS)
|
|
2799
|
+
});
|
|
2800
|
+
return { content, metadata };
|
|
2754
2801
|
};
|
|
2755
2802
|
}
|
|
2756
2803
|
function buildCliWorkspaceToolExecutors(args) {
|
|
@@ -2941,9 +2988,10 @@ import { randomUUID } from "node:crypto";
|
|
|
2941
2988
|
|
|
2942
2989
|
// packages/agent-runtime/antigravityWireModel.ts
|
|
2943
2990
|
var WIRE_PROFILES = {
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2991
|
+
// Antigravity discovery exposes 3.7 Flash as one tiered wire model.
|
|
2992
|
+
// The UI labels its effort variants (Low/Medium/High), but the literal
|
|
2993
|
+
// -medium/-high ids return 404 from streamGenerateContent.
|
|
2994
|
+
"gemini-3.7-flash-tiered": { modelEnum: "MODEL_PLACEHOLDER_M301", maxOutputTokens: 65536 },
|
|
2947
2995
|
"gemini-3.6-flash-low": { maxOutputTokens: 65536 },
|
|
2948
2996
|
"gemini-3.6-flash-medium": { maxOutputTokens: 65536 },
|
|
2949
2997
|
"gemini-3.6-flash-high": { maxOutputTokens: 65536 },
|
|
@@ -2965,8 +3013,8 @@ function resolveAntigravityWireModel(logicalModelId) {
|
|
|
2965
3013
|
const wireModelId = "gemini-3.5-flash-low";
|
|
2966
3014
|
return { wireModelId, profile: WIRE_PROFILES[wireModelId] };
|
|
2967
3015
|
}
|
|
2968
|
-
if (lower === "gemini-3.7-flash") {
|
|
2969
|
-
const wireModelId = "gemini-3.7-flash-
|
|
3016
|
+
if (lower === "gemini-3.7-flash" || ["gemini-3.7-flash-low", "gemini-3.7-flash-medium", "gemini-3.7-flash-high"].includes(lower)) {
|
|
3017
|
+
const wireModelId = "gemini-3.7-flash-tiered";
|
|
2970
3018
|
return { wireModelId, profile: WIRE_PROFILES[wireModelId] };
|
|
2971
3019
|
}
|
|
2972
3020
|
if (lower === "gemini-3.6-flash") {
|
|
@@ -10209,7 +10257,7 @@ function buildOpenAiTools(args) {
|
|
|
10209
10257
|
type: "function",
|
|
10210
10258
|
function: {
|
|
10211
10259
|
name: "readPastedText",
|
|
10212
|
-
description: "Read a chunk of a large TUI paste by pasteId. Use startLine and endLine to page through the full content.",
|
|
10260
|
+
description: "Read a chunk of a large TUI paste by pasteId. Use startLine and endLine to page through the full content. A truncated read appends the exact next startLine; a range already delivered earlier in this session answers with a short notice instead of resending (pass force:true to refetch after context compaction).",
|
|
10213
10261
|
parameters: {
|
|
10214
10262
|
type: "object",
|
|
10215
10263
|
properties: {
|
|
@@ -10226,7 +10274,11 @@ function buildOpenAiTools(args) {
|
|
|
10226
10274
|
endLine: {
|
|
10227
10275
|
type: "integer",
|
|
10228
10276
|
minimum: 1,
|
|
10229
|
-
description: "Last 1-based line to return; each call is bounded to a 200-line chunk."
|
|
10277
|
+
description: "Last 1-based line to return; each call is bounded to a 200-line chunk (a slightly larger explicit range is honored in one call)."
|
|
10278
|
+
},
|
|
10279
|
+
force: {
|
|
10280
|
+
type: "boolean",
|
|
10281
|
+
description: "Refetch even when the requested range was already delivered earlier in this session."
|
|
10230
10282
|
}
|
|
10231
10283
|
},
|
|
10232
10284
|
required: ["pasteId"],
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
platformHostedModels,
|
|
15
15
|
xaiModels,
|
|
16
16
|
zaiModels
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YTA2QOEE.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./chunk-4VNS5WPM.js";
|
|
@@ -4623,6 +4623,7 @@ var referenceItemSchema = external_exports.object({
|
|
|
4623
4623
|
var REASONING_MODEL_NAMES = /* @__PURE__ */ new Set([
|
|
4624
4624
|
"deepseek-v4-flash",
|
|
4625
4625
|
"deepseek-v4-pro",
|
|
4626
|
+
"gemini-3.7-flash",
|
|
4626
4627
|
"gemini-3.6-flash",
|
|
4627
4628
|
// Legacy Gemini ids — 已从模型注册表下线,保留只为存量 agent 的 reasoning UI。
|
|
4628
4629
|
"gemini-3.5-flash",
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
sortSafeAgentSummaries,
|
|
17
17
|
toSafeAgentSummary
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-H7N2NOJF.js";
|
|
19
19
|
import {
|
|
20
20
|
getUserDataItemTimestamp,
|
|
21
21
|
mergeAndDedupUserData
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-VF4K2QE6.js";
|
|
29
29
|
import {
|
|
30
30
|
createDocState
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3X4IYB22.js";
|
|
32
32
|
import {
|
|
33
33
|
setDialogExtraReferencesAction
|
|
34
34
|
} from "./chunk-MALVZUYL.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
buildBuiltinObjectSkillDbKey,
|
|
45
45
|
buildBuiltinObjectSkillPageContent,
|
|
46
46
|
createDialogAction
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-N32A423D.js";
|
|
48
48
|
import {
|
|
49
49
|
addCategory,
|
|
50
50
|
addContentToSpace,
|
|
@@ -75,13 +75,13 @@ import {
|
|
|
75
75
|
updateContentCategory,
|
|
76
76
|
updateContentTitle,
|
|
77
77
|
updateStep
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-Q4TAIQTA.js";
|
|
79
79
|
import {
|
|
80
80
|
createAgent,
|
|
81
81
|
runLlm,
|
|
82
82
|
streamAgentChatTurn,
|
|
83
83
|
updateAgent
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-QCUS52YR.js";
|
|
85
85
|
import {
|
|
86
86
|
CODING_SKILL_SLUGS,
|
|
87
87
|
buildCodingSkillConfig,
|
|
@@ -116,10 +116,10 @@ import {
|
|
|
116
116
|
} from "./chunk-WCP5FDTF.js";
|
|
117
117
|
import {
|
|
118
118
|
buildDatabaseFileContentUrl
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-JQ3LNEMS.js";
|
|
120
120
|
import {
|
|
121
121
|
DEFAULT_MODEL
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-GT3GG2H7.js";
|
|
123
123
|
import {
|
|
124
124
|
canonicalizeToolName,
|
|
125
125
|
canonicalizeToolNames
|
|
@@ -551,7 +551,7 @@ var queryModelUsageFunctionSchema = {
|
|
|
551
551
|
},
|
|
552
552
|
model: {
|
|
553
553
|
type: "string",
|
|
554
|
-
description: "\u53EF\u9009\u6A21\u578B\u8FC7\u6EE4\uFF0C\u4F8B\u5982 gemini-3.
|
|
554
|
+
description: "\u53EF\u9009\u6A21\u578B\u8FC7\u6EE4\uFF0C\u4F8B\u5982 gemini-3.7-flash\u3002"
|
|
555
555
|
},
|
|
556
556
|
serviceTier: {
|
|
557
557
|
type: "string",
|
|
@@ -1020,7 +1020,7 @@ var ai_locale_default = {
|
|
|
1020
1020
|
description: "Create a new Agent (intelligent assistant/app) based on the given configuration and return the complete Agent information.",
|
|
1021
1021
|
params: {
|
|
1022
1022
|
name: "The name of the Agent, e.g., 'Meeting Minutes Assistant'.",
|
|
1023
|
-
model: "The model name to use. Logic: Default 'nolo/glm-5.2'. Complex tasks: 'openai/gpt-5.2'. Cost-saving: 'openai/gpt-5.1'. Aesthetic/Creative: 'gemini-3.
|
|
1023
|
+
model: "The model name to use. Logic: Default 'nolo/glm-5.2'. Complex tasks: 'openai/gpt-5.2'. Cost-saving: 'openai/gpt-5.1'. Aesthetic/Creative: 'gemini-3.7-flash'. Reliable low-cost summary/reasoning: 'deepseek-v4-pro'. Image Generation: 'gemini-3-pro-image-preview' (Best/Expensive), 'gemini-3.1-flash-image-preview' (Ordinary), or 'gemini-3.1-flash-lite-image' (Fastest/Cheapest).",
|
|
1024
1024
|
provider: "The model provider identifier, must match the selected model, e.g., 'openrouter', 'nolo', 'fireworks', 'mistral', etc.",
|
|
1025
1025
|
prompt: "System prompt/instruction describing the Agent's role, tone, and usage.",
|
|
1026
1026
|
introduction: "Introduction displayed in the app market or list, explanatory text for end users.",
|
|
@@ -1409,7 +1409,7 @@ var ai_locale_default = {
|
|
|
1409
1409
|
description: "\u6839\u636E\u7ED9\u5B9A\u914D\u7F6E\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684 Agent\uFF08\u667A\u80FD\u4F53 / \u5E94\u7528\uFF09\uFF0C\u5E76\u8FD4\u56DE\u5B8C\u6574\u7684 Agent \u4FE1\u606F\u3002",
|
|
1410
1410
|
params: {
|
|
1411
1411
|
name: "Agent \u7684\u540D\u79F0\uFF0C\u4F8B\u5982\uFF1A'\u4F1A\u8BAE\u7EAA\u8981\u52A9\u624B'\u3002",
|
|
1412
|
-
model: "\u9ED8\u8BA4\u4F7F\u7528 'nolo/glm-5.2'\u3002\u590D\u6742\u4EFB\u52A1: 'openai/gpt-5.2'\u3002\u7701\u6210\u672C\u4F46\u590D\u6742: 'openai/gpt-5.1'\u3002\u8FFD\u6C42\u7F8E\u89C2/\u521B\u610F: 'gemini-3.
|
|
1412
|
+
model: "\u9ED8\u8BA4\u4F7F\u7528 'nolo/glm-5.2'\u3002\u590D\u6742\u4EFB\u52A1: 'openai/gpt-5.2'\u3002\u7701\u6210\u672C\u4F46\u590D\u6742: 'openai/gpt-5.1'\u3002\u8FFD\u6C42\u7F8E\u89C2/\u521B\u610F: 'gemini-3.7-flash'\u3002\u4F4E\u6210\u672C\u6458\u8981/\u63A8\u7406: 'deepseek-v4-pro'\u3002\u751F\u6210\u56FE\u7247: \u8D35/\u9AD8\u8D28\u91CF\u9009 'gemini-3-pro-image-preview'\uFF0C\u666E\u901A\u9009 'gemini-3.1-flash-image-preview'\uFF0C\u6700\u5FEB\u6700\u4FBF\u5B9C\u9009 'gemini-3.1-flash-lite-image'\u3002",
|
|
1413
1413
|
provider: "\u6A21\u578B\u63D0\u4F9B\u65B9\u6807\u8BC6\uFF0C\u5FC5\u987B\u4E0E\u6240\u9009\u6A21\u578B\u76F8\u5339\u914D\uFF0C\u4F8B\u5982 'openrouter'\u3001'nolo'\u3001'fireworks'\u3001'mistral' \u7B49\u3002",
|
|
1414
1414
|
prompt: "\u7CFB\u7EDF\u63D0\u793A\u8BCD / \u6307\u4EE4\uFF0C\u63CF\u8FF0\u8FD9\u4E2A Agent \u7684\u89D2\u8272\u3001\u8BED\u6C14\u548C\u4F7F\u7528\u65B9\u5F0F\u3002",
|
|
1415
1415
|
introduction: "\u5728\u5E94\u7528\u5E02\u573A\u6216\u5217\u8868\u4E2D\u5C55\u793A\u7684\u7B80\u4ECB\uFF0C\u9762\u5411\u7EC8\u7AEF\u7528\u6237\u7684\u8BF4\u660E\u6587\u6848\u3002",
|
|
@@ -11247,7 +11247,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
11247
11247
|
workspace: { mode: "lease" }
|
|
11248
11248
|
};
|
|
11249
11249
|
var findModelConfig = async (modelName, provider) => {
|
|
11250
|
-
const { ALL_MODELS } = await import("./models-
|
|
11250
|
+
const { ALL_MODELS } = await import("./models-YT32CTT5.js");
|
|
11251
11251
|
const name = toTrimmedString(modelName);
|
|
11252
11252
|
const prov = toTrimmedString(provider ?? "");
|
|
11253
11253
|
if (!name) return null;
|
|
@@ -11488,7 +11488,7 @@ var buildFormDataFromArgs = async (args) => {
|
|
|
11488
11488
|
const trimmedModel = toTrimmedString(model);
|
|
11489
11489
|
const trimmedProvider = toTrimmedString(provider);
|
|
11490
11490
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
11491
|
-
const { getModelPricing } = await import("./getPricing-
|
|
11491
|
+
const { getModelPricing } = await import("./getPricing-X6I23RN6.js");
|
|
11492
11492
|
const normalizedTools = tools ?? [];
|
|
11493
11493
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
11494
11494
|
const formData = {
|
|
@@ -14773,7 +14773,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
14773
14773
|
const deletedDialogIds = [];
|
|
14774
14774
|
const deletedDialogKeys = [];
|
|
14775
14775
|
const failures = [];
|
|
14776
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
14776
|
+
const { deleteDialog } = await import("./dialogSlice-HMRBZCSE.js");
|
|
14777
14777
|
for (const target of targets) {
|
|
14778
14778
|
try {
|
|
14779
14779
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -24175,7 +24175,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
24175
24175
|
if (!executionInput) {
|
|
24176
24176
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
24177
24177
|
}
|
|
24178
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
24178
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-CT7AFBI3.js");
|
|
24179
24179
|
const { executor } = findToolExecutor2(run.toolName);
|
|
24180
24180
|
toolRunStarted({
|
|
24181
24181
|
id: run.id,
|
|
@@ -24199,7 +24199,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
24199
24199
|
const latestState = thunkApi.getState();
|
|
24200
24200
|
const userId = latestState.auth?.currentUser?.userId;
|
|
24201
24201
|
if (userId) {
|
|
24202
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
24202
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-FNFNVXPQ.js");
|
|
24203
24203
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
24204
24204
|
}
|
|
24205
24205
|
}
|
|
@@ -26682,7 +26682,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
26682
26682
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
26683
26683
|
};
|
|
26684
26684
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
26685
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
26685
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-ZGGDZFCC.js");
|
|
26686
26686
|
if (getDocState().pageKey === id) {
|
|
26687
26687
|
applyExternalDocUpdate({
|
|
26688
26688
|
slateData: finalSlateData,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
i18n_default,
|
|
3
3
|
toolRegistry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HQFXBRI2.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalizeToolNames
|
|
7
7
|
} from "./chunk-ZZ2MH7LE.js";
|
|
8
8
|
import {
|
|
9
9
|
isNoloHostedProvider
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YTA2QOEE.js";
|
|
11
11
|
import {
|
|
12
12
|
asTrimmedLowercaseString
|
|
13
13
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -428,7 +428,7 @@ function parseGeminiStreamJson(stdout) {
|
|
|
428
428
|
}
|
|
429
429
|
function executeGemini(prompt, options) {
|
|
430
430
|
const {
|
|
431
|
-
model = "gemini-3.
|
|
431
|
+
model = "gemini-3.7-flash",
|
|
432
432
|
timeout = 12e4,
|
|
433
433
|
cwd = process.cwd(),
|
|
434
434
|
yolo = true
|
|
@@ -1434,7 +1434,7 @@ function executeCliStreaming(provider, prompt, options) {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
function executeGeminiStreaming(prompt, options) {
|
|
1436
1436
|
const {
|
|
1437
|
-
model = "gemini-3.
|
|
1437
|
+
model = "gemini-3.7-flash",
|
|
1438
1438
|
timeout = 12e4,
|
|
1439
1439
|
cwd = process.cwd(),
|
|
1440
1440
|
yolo = true,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MODEL_LOOKUP_MAP
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GT3GG2H7.js";
|
|
4
4
|
import {
|
|
5
5
|
ALL_MODELS
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L3QFIBZG.js";
|
|
7
7
|
import {
|
|
8
8
|
addContentAction
|
|
9
9
|
} from "./chunk-OXLLFZNF.js";
|
|
@@ -37,6 +37,7 @@ var DEFAULT_CONTEXT_WINDOW = 256e3;
|
|
|
37
37
|
var QWEN_3_6_CONTEXT_WINDOW = 262144;
|
|
38
38
|
var GLM_5_2_CONTEXT_WINDOW = 1e6;
|
|
39
39
|
var ANTIGRAVITY_EFFORT_SUFFIXES = [
|
|
40
|
+
"-tiered",
|
|
40
41
|
"-extra-low",
|
|
41
42
|
"-low",
|
|
42
43
|
"-medium",
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
prepareAndPersistMessage,
|
|
4
4
|
uiAskChoiceFunc,
|
|
5
5
|
uiAskChoiceFunctionSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q4TAIQTA.js";
|
|
7
7
|
import {
|
|
8
8
|
require_date_fns
|
|
9
9
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
18
18
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_PRICE,
|
|
19
19
|
PLATFORM_HOSTED_KIMI_PROVIDER
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YTA2QOEE.js";
|
|
21
21
|
import {
|
|
22
22
|
read,
|
|
23
23
|
readAndWait,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KXEWHQAW.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZNFZGHKL.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H7N2NOJF.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/agentListHelpers.ts
|
|
13
13
|
function parseAgentRecordId(privateKey, explicitId) {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
deleteServerSyncedCredential,
|
|
14
14
|
runLlm
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QCUS52YR.js";
|
|
16
16
|
import {
|
|
17
17
|
isOAuthApiKeyRef
|
|
18
18
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
planCompression,
|
|
43
43
|
resolveAutoExecutionProfile,
|
|
44
44
|
serializeMessageContent
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JQ3LNEMS.js";
|
|
46
46
|
import {
|
|
47
47
|
createFileCredentialBroker
|
|
48
48
|
} from "./chunk-5CS33IBL.js";
|
|
49
49
|
import {
|
|
50
50
|
findModelConfig,
|
|
51
51
|
getModelConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-GT3GG2H7.js";
|
|
53
53
|
import {
|
|
54
54
|
abortActiveControllers,
|
|
55
55
|
addPageReferenceToRuntime,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
import {
|
|
74
74
|
getPlatformHostedDeepSeekV4Price,
|
|
75
75
|
isPlatformHostedDeepSeekV4Model
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-YTA2QOEE.js";
|
|
77
77
|
import {
|
|
78
78
|
isSystemAdmin,
|
|
79
79
|
nolotusId,
|
|
@@ -5635,7 +5635,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
5635
5635
|
runtimeOptions: args.runtimeOptions
|
|
5636
5636
|
});
|
|
5637
5637
|
if (agentKeyToUse) {
|
|
5638
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
5638
|
+
const { streamAgentChatTurn } = await import("./agentSlice-7AEBCNVZ.js");
|
|
5639
5639
|
await dispatch(
|
|
5640
5640
|
streamAgentChatTurn({
|
|
5641
5641
|
agentKey: agentKeyToUse,
|
|
@@ -8374,7 +8374,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
8374
8374
|
}
|
|
8375
8375
|
if (isCurrentDialog) {
|
|
8376
8376
|
await thunkApi.dispatch(resetMsgs());
|
|
8377
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
8377
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-HMRBZCSE.js");
|
|
8378
8378
|
dispatch(clearPendingAttachments2());
|
|
8379
8379
|
clearWorkflow();
|
|
8380
8380
|
}
|
|
@@ -8383,15 +8383,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
8383
8383
|
|
|
8384
8384
|
// packages/chat/dialog/dialogSlice.ts
|
|
8385
8385
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
8386
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
8386
|
+
const { createDialogAction } = await import("./createDialogAction-6USRBKKL.js");
|
|
8387
8387
|
return createDialogAction(args, thunkApi);
|
|
8388
8388
|
};
|
|
8389
8389
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
8390
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
8390
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-YB65NAU5.js");
|
|
8391
8391
|
return createAgentAutomationAction(args, thunkApi);
|
|
8392
8392
|
};
|
|
8393
8393
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
8394
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
8394
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-7RFN5GA4.js");
|
|
8395
8395
|
return updateDialogTitleAction(args, thunkApi);
|
|
8396
8396
|
};
|
|
8397
8397
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -8415,7 +8415,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
8415
8415
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
8416
8416
|
};
|
|
8417
8417
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
8418
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
8418
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-ANCZXLQY.js");
|
|
8419
8419
|
return handleSendMessageAction(args, thunkApi);
|
|
8420
8420
|
};
|
|
8421
8421
|
function clearDialogState() {
|
|
@@ -8428,7 +8428,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
8428
8428
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
8429
8429
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
8430
8430
|
try {
|
|
8431
|
-
const { createDocState } = await import("./docStore-
|
|
8431
|
+
const { createDocState } = await import("./docStore-ZGGDZFCC.js");
|
|
8432
8432
|
const pageKey = await createDocState(
|
|
8433
8433
|
{ slateData, title },
|
|
8434
8434
|
{ dispatch, getState }
|