nolo-cli 0.69.0-alpha.2 → 0.70.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-YXI7ADJF.js → _executeModel-GOV2OHC7.js} +32 -32
- package/{action-AOORTHTU.js → action-D22U6CTH.js} +4 -4
- package/{addContentAction-E3S6F3IS.js → addContentAction-XAPUTGL4.js} +3 -3
- package/{addDialogAgentAction-EUBNJ5SS.js → addDialogAgentAction-M7VLLBZM.js} +2 -2
- package/{agentDeleteCommand-B5SKAPTR.js → agentDeleteCommand-FSIMTL4K.js} +16 -16
- package/{agentEmailCommands-LVUZQHBF.js → agentEmailCommands-YZQ2VVHY.js} +37 -37
- package/{agentListCommands-D2E7SFRQ.js → agentListCommands-2YWZYH52.js} +18 -18
- package/{agentMachineCommands-XNIBG4L2.js → agentMachineCommands-UCYM5RRQ.js} +17 -17
- package/{agentRecordCommands-ID3URU2J.js → agentRecordCommands-TPBYOPMA.js} +36 -36
- package/{agentRunCommand-KZMPUI53.js → agentRunCommand-HBC2EQVU.js} +36 -36
- package/{agentRuntimeLocal-T47DU3IA.js → agentRuntimeLocal-O6DZDTK4.js} +16 -16
- package/{agentSlice-K5IE7FV3.js → agentSlice-ZPODGT3P.js} +3 -3
- package/{appDeleteCommands-URD2F5YN.js → appDeleteCommands-HIJNWSK7.js} +16 -16
- package/{appDeployCommands-OACWEEWP.js → appDeployCommands-XULV2ZN6.js} +16 -16
- package/{appDeployStatusCommands-TVYLIUEU.js → appDeployStatusCommands-ETY4Z7K6.js} +16 -16
- package/{appGetCommands-ZWG2YEAE.js → appGetCommands-M253LKDA.js} +16 -16
- package/{appListCommands-E3BMSQEY.js → appListCommands-XYFXJMNP.js} +16 -16
- package/{authCommand-QHMBXOOH.js → authCommand-EVGFLAHO.js} +7 -7
- package/{chatQueueReduxAdapter-HL5A3L2W.js → chatQueueReduxAdapter-Z67OC4WO.js} +13 -13
- package/{chunk-RW76G3YN.js → chunk-3IT2PFHL.js} +1 -1
- package/{chunk-OMHOVU2L.js → chunk-3NVAU4WZ.js} +1 -1
- package/{chunk-RJ5HQDHL.js → chunk-3QPYFHAH.js} +1 -1
- package/{chunk-IOZR6BLM.js → chunk-3U3EA3BO.js} +1 -1
- package/{chunk-7JS3F5ZR.js → chunk-4EJ5QYB5.js} +1 -1
- package/{chunk-4MKPBCTN.js → chunk-5J7W2VWW.js} +2 -3
- package/{chunk-VOEOMLKR.js → chunk-AAWBX67U.js} +9 -9
- package/{chunk-5YIL5WDC.js → chunk-AJHEFRGJ.js} +220 -71
- package/{chunk-76JAMDUT.js → chunk-BJCWNHVU.js} +2 -2
- package/{chunk-2L7EUBRN.js → chunk-BLCUMZNV.js} +4 -4
- package/{chunk-RXYIUZU5.js → chunk-CJ23A7U4.js} +9 -9
- package/{chunk-VLQRD7ZJ.js → chunk-CMH2SYHX.js} +2 -2
- package/{chunk-PADUIVUU.js → chunk-DQAEUZSQ.js} +3 -3
- package/{chunk-2XENHR3P.js → chunk-DSRXPQWA.js} +4 -4
- package/{chunk-3E67YXGD.js → chunk-E36HZARC.js} +2 -2
- package/{chunk-SHPRRU2W.js → chunk-EXMHJN7C.js} +2 -2
- package/{chunk-4ENGEYUY.js → chunk-F657NADX.js} +4 -4
- package/{chunk-6RNOFHEM.js → chunk-FCCT2LU2.js} +116 -28
- package/{chunk-UFTOGLCE.js → chunk-FPTQQSS6.js} +1 -1
- package/{chunk-BNATE77Z.js → chunk-GBPZKFYK.js} +1 -1
- package/{chunk-ZCVO2HLZ.js → chunk-HXAINXPQ.js} +4 -4
- package/{chunk-SQDGTW2T.js → chunk-K7AG465Q.js} +2 -4
- package/{chunk-Y7PULBIA.js → chunk-KIS76A2P.js} +1 -1
- package/{chunk-AJF6YRN7.js → chunk-MYU3MJCF.js} +5 -1
- package/{chunk-6IT5ECCC.js → chunk-NG4UT4K4.js} +1 -1
- package/{chunk-LMEH4C4G.js → chunk-NUTDASGX.js} +3 -3
- package/{chunk-ZW22L5ES.js → chunk-PGSKWZCB.js} +1 -1
- package/{chunk-XTJTN3RW.js → chunk-PUOC4YRO.js} +0 -4
- package/{chunk-36G25COQ.js → chunk-PWGW5JTK.js} +1 -1
- package/{chunk-RSDPPLSM.js → chunk-PYXL2CJL.js} +1 -1
- package/{chunk-K647EQV3.js → chunk-PZM3EENV.js} +1 -1
- package/{chunk-JKAWV72Y.js → chunk-RFMPSCHX.js} +14 -14
- package/{chunk-Z3XXUE2E.js → chunk-SPQ7GSUX.js} +17 -17
- package/{chunk-WMRPXIZY.js → chunk-SZLVDREM.js} +1 -1
- package/{chunk-V3B6FQKC.js → chunk-TVDZABBT.js} +13 -13
- package/{chunk-5TJQUZQ7.js → chunk-UDQWGU7F.js} +1 -1
- package/{chunk-TQC77XVE.js → chunk-UJ63UXGE.js} +1 -1
- package/{chunk-SKWZFK56.js → chunk-VLX45P4L.js} +5 -5
- package/{chunk-OPNHMILE.js → chunk-XWNRAIUL.js} +2 -2
- package/{chunk-4K6DB3GJ.js → chunk-YFADVSZE.js} +3 -3
- package/{chunk-O2X6R45W.js → chunk-YYLLD6H6.js} +3 -3
- package/{chunk-C2SHPJSS.js → chunk-ZIUMSKK4.js} +28 -38
- package/{chunk-KRR3AG7T.js → chunk-ZLPA7K55.js} +3 -3
- package/{chunk-IM5EETJX.js → chunk-ZZCJUXUI.js} +1 -1
- package/{codingSkills-DB4QPUND.js → codingSkills-E6KSDNSJ.js} +2 -2
- package/{contentThunks-XV3U3V2O.js → contentThunks-VGXYTSKU.js} +14 -14
- package/{createAgentAutomationAction-UKKP6SAJ.js → createAgentAutomationAction-6YBZFLET.js} +14 -14
- package/{createDialogAction-WK6Y7DD7.js → createDialogAction-N7CTNKB5.js} +16 -16
- package/{createPageAction-SLRDORVZ.js → createPageAction-RXOOVKVO.js} +14 -14
- package/{dbSlice-WL5T2LVF.js → dbSlice-GKGGFNOB.js} +2 -2
- package/{dialogCommands-E5AAV7PB.js → dialogCommands-PE5FEFJ5.js} +16 -16
- package/{dialogSlice-2TSABNK5.js → dialogSlice-NLSKRXBN.js} +13 -13
- package/{docCreateCommands-N7P5VBTU.js → docCreateCommands-IPDFZVPG.js} +16 -16
- package/{docDeleteCommands-LZPPUYY6.js → docDeleteCommands-VQ4Y66CM.js} +16 -16
- package/{docReadCommands-UCQGMMBR.js → docReadCommands-PD33VV27.js} +16 -16
- package/{docStore-GX4LBBIB.js → docStore-CIAYE5WP.js} +3 -3
- package/{docUpdateCommands-H57EVVVE.js → docUpdateCommands-CGUQ2JY3.js} +16 -16
- package/{getPricing-JRNHI5CV.js → getPricing-HRMSOF3E.js} +3 -3
- package/{handleSendMessageAction-DYAB4HTU.js → handleSendMessageAction-ENUNMW3Z.js} +13 -13
- package/index.js +47 -47
- package/{machineCommands-3Y3EHK2H.js → machineCommands-APIJY7UA.js} +36 -36
- package/{machineWsRunDispatch-RSVSJ4D7.js → machineWsRunDispatch-42WKRDE7.js} +36 -36
- package/{memberThunks-OBDDU3NR.js → memberThunks-KATHH3F4.js} +3 -3
- package/{models-NBVTQACP.js → models-GS72DVJS.js} +2 -2
- package/package.json +1 -1
- package/{read-OOTHDABU.js → read-LC6HVYBN.js} +1 -1
- package/{readDocTool-OU4QXJT6.js → readDocTool-N3ERJHHF.js} +1 -1
- package/{readlineWorkspace-7FZA4JYG.js → readlineWorkspace-MUV7VRD4.js} +37 -37
- package/{removeDialogAgentAction-BVU6E27N.js → removeDialogAgentAction-F5GPTALR.js} +4 -4
- package/{runAgentClientLoop-VZCX37ZP.js → runAgentClientLoop-A4OXYOCL.js} +30 -30
- package/{setDialogExtraReferencesAction-AUKADSTQ.js → setDialogExtraReferencesAction-AY4ZCF3A.js} +3 -3
- package/{setPrimaryDialogAgentAction-HMHZWURC.js → setPrimaryDialogAgentAction-HPMG7V3R.js} +4 -4
- package/{settingSlice-HIQRILF5.js → settingSlice-OEJA4NQO.js} +3 -3
- package/{spaceCommands-ANELRNRF.js → spaceCommands-Y47DDAQD.js} +16 -16
- package/{streamAgentChatTurn-QM364J6U.js → streamAgentChatTurn-YHKNJEFR.js} +34 -34
- package/{switchDialogAgentAction-Y66ZTIGP.js → switchDialogAgentAction-HMDZTZ4I.js} +2 -2
- package/{tools-YNRN4HC7.js → tools-S5RSWF3R.js} +24 -24
- package/{tuiSummaryLlmCaller-ZGATEM35.js → tuiSummaryLlmCaller-J5BEPLW5.js} +10 -10
- package/{updateDialogTitleAction-OOYKI7LI.js → updateDialogTitleAction-BU2VPE5B.js} +14 -14
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
refreshAntigravityOAuthToken,
|
|
5
5
|
refreshOpenAiCodexToken,
|
|
6
6
|
xaiRefresh
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GBPZKFYK.js";
|
|
8
8
|
import {
|
|
9
9
|
defaultLoopbackRequest
|
|
10
10
|
} from "./chunk-EADNWBAZ.js";
|
|
@@ -48,14 +48,14 @@ import {
|
|
|
48
48
|
} from "./chunk-MP64VFGD.js";
|
|
49
49
|
import {
|
|
50
50
|
inferCaptureIntent
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-3QPYFHAH.js";
|
|
52
52
|
import {
|
|
53
53
|
buildCliPrompt
|
|
54
54
|
} from "./chunk-ATNTHIZI.js";
|
|
55
55
|
import {
|
|
56
56
|
inlineImageUrlsForCustomProvider,
|
|
57
57
|
prepareTools
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NUTDASGX.js";
|
|
59
59
|
import {
|
|
60
60
|
getServerProviderSecret
|
|
61
61
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
rememberMemoryFunctionSchema,
|
|
73
73
|
resolveAgentRequiredPackIds,
|
|
74
74
|
setTodoListFunc
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-FCCT2LU2.js";
|
|
76
76
|
import {
|
|
77
77
|
fetchWithTransientRetry,
|
|
78
78
|
isTransientFetchError
|
|
@@ -95,13 +95,13 @@ import {
|
|
|
95
95
|
prepareTokenUsageData,
|
|
96
96
|
resolveBuiltinPlatformAgentConfig,
|
|
97
97
|
runKeyed
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-ZIUMSKK4.js";
|
|
99
99
|
import {
|
|
100
100
|
BUILTIN_TITLE_LLM_CONFIG
|
|
101
101
|
} from "./chunk-EVBFYPDC.js";
|
|
102
102
|
import {
|
|
103
103
|
fetchServerSyncedCredential
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-F657NADX.js";
|
|
105
105
|
import {
|
|
106
106
|
require_date_fns
|
|
107
107
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
applySystemBuiltinSkillFilter,
|
|
118
118
|
expandEnabledPacks,
|
|
119
119
|
resolveEffectiveEnabledPacks
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-MYU3MJCF.js";
|
|
121
121
|
import {
|
|
122
122
|
DEFAULT_HYBRID_READ_TIMEOUT_MS,
|
|
123
123
|
Duration_exports,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
resolveOpenAiCompatibleProviderConfig,
|
|
154
154
|
shouldUseGeminiNativeToolRoute,
|
|
155
155
|
summarizeToolArguments
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-CJ23A7U4.js";
|
|
157
157
|
import {
|
|
158
158
|
PlatformStreamInterruptedError,
|
|
159
159
|
buildPlatformChatCompletionRequest,
|
|
@@ -165,23 +165,23 @@ import {
|
|
|
165
165
|
readSseDataValues,
|
|
166
166
|
resolvePlatformChatProviderConfig,
|
|
167
167
|
shouldUsePlatformChatProvider
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-HXAINXPQ.js";
|
|
169
169
|
import {
|
|
170
170
|
resolveAgentRuntimeConfigFromRecord,
|
|
171
171
|
resolveHistoricalToolContentCap
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-KIS76A2P.js";
|
|
173
173
|
import {
|
|
174
174
|
collectStablePromptPrefix,
|
|
175
175
|
convertMessagesToResponsesInput,
|
|
176
176
|
stablePromptCacheKey,
|
|
177
177
|
toResponsesTools
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-PUOC4YRO.js";
|
|
179
179
|
import {
|
|
180
180
|
isAntigravityOAuthAgent
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-PGSKWZCB.js";
|
|
182
182
|
import {
|
|
183
183
|
resolvePlatformAuthToken
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-CMH2SYHX.js";
|
|
185
185
|
import {
|
|
186
186
|
buildNoloWorkspaceOpenAiTools,
|
|
187
187
|
parseNoloWorkspaceToolArguments,
|
|
@@ -198,20 +198,20 @@ import {
|
|
|
198
198
|
} from "./chunk-2MBTWINN.js";
|
|
199
199
|
import {
|
|
200
200
|
normalizeUsage
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-DSRXPQWA.js";
|
|
202
202
|
import {
|
|
203
203
|
clipCompactText,
|
|
204
204
|
createProviderCallTimingTracker,
|
|
205
205
|
finalizeProviderCallTiming,
|
|
206
206
|
observeMeaningfulProviderResponseAt,
|
|
207
207
|
withProviderCallTimingFields
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-E36HZARC.js";
|
|
209
209
|
import {
|
|
210
210
|
estimateTokenCount
|
|
211
211
|
} from "./chunk-PSCNXBYA.js";
|
|
212
212
|
import {
|
|
213
213
|
isAdaptiveThinkingModelId
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-UJ63UXGE.js";
|
|
215
215
|
import {
|
|
216
216
|
compactWhitespace
|
|
217
217
|
} from "./chunk-DWLEOOGR.js";
|
|
@@ -251,7 +251,7 @@ import {
|
|
|
251
251
|
} from "./chunk-QSJ3HFEF.js";
|
|
252
252
|
import {
|
|
253
253
|
isSystemBuiltinTrustedAgentKey
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-5J7W2VWW.js";
|
|
255
255
|
import {
|
|
256
256
|
asTrimmedString
|
|
257
257
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable,
|
|
10
10
|
resolveBuiltinSkillPage
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FCCT2LU2.js";
|
|
12
12
|
import {
|
|
13
13
|
isGatewayHttpStatus
|
|
14
14
|
} from "./chunk-NF64D32W.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-3L2WKC3W.js";
|
|
21
21
|
import {
|
|
22
22
|
slateToSimplifiedMarkdown
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UDQWGU7F.js";
|
|
24
24
|
import {
|
|
25
25
|
waitForAbortableDelay
|
|
26
26
|
} from "./chunk-N4G4PKQ6.js";
|
|
@@ -29,43 +29,43 @@ import {
|
|
|
29
29
|
} from "./chunk-MEYIRKDN.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchAndCacheMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZIUMSKK4.js";
|
|
33
33
|
import {
|
|
34
34
|
shouldUseServerProxy
|
|
35
35
|
} from "./chunk-YYLHWIW6.js";
|
|
36
36
|
import {
|
|
37
37
|
fetchServerSyncedCredential
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-F657NADX.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSkillGuidancePromptBlock,
|
|
41
41
|
extractRuntimePageCapabilities,
|
|
42
42
|
resolveSkillGraphFromRoots
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3IT2PFHL.js";
|
|
44
44
|
import {
|
|
45
45
|
buildIdentityBlock,
|
|
46
46
|
buildRuntimeGuidanceBlocks,
|
|
47
47
|
compileContextLayers,
|
|
48
48
|
normalizeChatCompletionsBodyForProvider,
|
|
49
49
|
resolveToolGuidedSections
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-ZLPA7K55.js";
|
|
51
51
|
import {
|
|
52
52
|
convertMessagesToResponsesInput,
|
|
53
53
|
getUsageRequestOptions,
|
|
54
54
|
preserveAgentStateFields,
|
|
55
55
|
stablePromptCacheKey
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-PUOC4YRO.js";
|
|
57
57
|
import {
|
|
58
58
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
59
59
|
isAntigravityOAuthAgent
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-PGSKWZCB.js";
|
|
61
61
|
import {
|
|
62
62
|
buildProviderAuthHeaders
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-CMH2SYHX.js";
|
|
64
64
|
import {
|
|
65
65
|
isOpenAiResponsesModel,
|
|
66
66
|
resolvePlatformChatCompletionsEndpoint,
|
|
67
67
|
resolvePlatformResponsesEndpoint
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-K7AG465Q.js";
|
|
69
69
|
import {
|
|
70
70
|
estimateTokenCount
|
|
71
71
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
clampReasoningEffort,
|
|
74
74
|
getModelConfig,
|
|
75
75
|
isModelSupportReasoningEffort
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UJ63UXGE.js";
|
|
77
77
|
import {
|
|
78
78
|
createFileCredentialBroker
|
|
79
79
|
} from "./chunk-3JQ2NRYU.js";
|
|
@@ -92,13 +92,13 @@ import {
|
|
|
92
92
|
isDeepInfraKimiModel,
|
|
93
93
|
isFireworksKimiModel,
|
|
94
94
|
resolveFireworksKimiModel
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-AJHEFRGJ.js";
|
|
96
96
|
import {
|
|
97
97
|
createSpaceKey
|
|
98
98
|
} from "./chunk-UAD2WT54.js";
|
|
99
99
|
import {
|
|
100
100
|
read
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-YFADVSZE.js";
|
|
102
102
|
import {
|
|
103
103
|
asTrimmedLowercaseString
|
|
104
104
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -199,7 +199,7 @@ async function readDocFunc(args, thunkApi) {
|
|
|
199
199
|
throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
|
|
200
200
|
}
|
|
201
201
|
try {
|
|
202
|
-
const { readAction } = await import("./read-
|
|
202
|
+
const { readAction } = await import("./read-LC6HVYBN.js");
|
|
203
203
|
const pageData = await readAction({ dbKey: id }, thunkApi);
|
|
204
204
|
if (!pageData) {
|
|
205
205
|
throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BLCUMZNV.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZIUMSKK4.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
12
12
|
import {
|
|
13
13
|
TOOL_PACKS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MYU3MJCF.js";
|
|
15
15
|
import {
|
|
16
16
|
buildSkillDocMarkdown
|
|
17
17
|
} from "./chunk-AETZ7AD6.js";
|
|
18
18
|
import {
|
|
19
19
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
20
20
|
PLATFORM_HOSTED_KIMI_PROVIDER
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AJHEFRGJ.js";
|
|
22
22
|
import {
|
|
23
23
|
read,
|
|
24
24
|
readAndWait,
|
|
25
25
|
removeCachedEntity,
|
|
26
26
|
upsertSSREntity,
|
|
27
27
|
write
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YFADVSZE.js";
|
|
29
29
|
import {
|
|
30
30
|
createAgentKey,
|
|
31
31
|
createDialogKey,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
toTimestampMs,
|
|
14
14
|
upsert,
|
|
15
15
|
write
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YFADVSZE.js";
|
|
17
17
|
import {
|
|
18
18
|
createUserKey,
|
|
19
19
|
createUserPreferenceKey,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-QSJ3HFEF.js";
|
|
25
25
|
import {
|
|
26
26
|
BUILTIN_NOLO_AGENT_KEY
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5J7W2VWW.js";
|
|
28
28
|
import {
|
|
29
29
|
asyncThunkCreator,
|
|
30
30
|
buildCreateSlice,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readAction,
|
|
13
13
|
readRequestManager,
|
|
14
14
|
resolveAgentReadServers
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5J7W2VWW.js";
|
|
16
16
|
import {
|
|
17
17
|
asyncThunkCreator,
|
|
18
18
|
buildCreateSlice,
|
|
@@ -712,7 +712,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
712
712
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
713
713
|
read: create.asyncThunk(
|
|
714
714
|
async (payload, thunkApi) => {
|
|
715
|
-
const { readAction: readAction2 } = await import("./read-
|
|
715
|
+
const { readAction: readAction2 } = await import("./read-LC6HVYBN.js");
|
|
716
716
|
return readAction2(payload, thunkApi);
|
|
717
717
|
},
|
|
718
718
|
{
|
|
@@ -786,7 +786,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
786
786
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
787
787
|
share: create.asyncThunk(
|
|
788
788
|
async (config, thunkApi) => {
|
|
789
|
-
const { shareResourceAction } = await import("./action-
|
|
789
|
+
const { shareResourceAction } = await import("./action-D22U6CTH.js");
|
|
790
790
|
return shareResourceAction(config, thunkApi);
|
|
791
791
|
}
|
|
792
792
|
),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SPQ7GSUX.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FCCT2LU2.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CJ23A7U4.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-V3ZKNK5D.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
runLlm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F657NADX.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupCliSessionForDialog
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BJCWNHVU.js";
|
|
20
20
|
import {
|
|
21
21
|
getActiveDialogAgentId,
|
|
22
22
|
getDialogAgentIds,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
getModelInfo,
|
|
55
55
|
normalizeUsage,
|
|
56
56
|
resolveAutoExecutionProfile
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-DSRXPQWA.js";
|
|
58
58
|
import {
|
|
59
59
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
60
60
|
buildCompactionMetricsFromPlan,
|
|
@@ -65,11 +65,11 @@ import {
|
|
|
65
65
|
normalizeAssistantContentBuffer,
|
|
66
66
|
planCompression,
|
|
67
67
|
serializeMessageContent
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-E36HZARC.js";
|
|
69
69
|
import {
|
|
70
70
|
findModelConfig,
|
|
71
71
|
getModelConfig
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UJ63UXGE.js";
|
|
73
73
|
import {
|
|
74
74
|
toErrorMessage
|
|
75
75
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -80,16 +80,14 @@ import {
|
|
|
80
80
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
81
81
|
PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL,
|
|
82
82
|
PLATFORM_HOSTED_GLM_53_FLASH_BASETEN_PRICE,
|
|
83
|
-
PLATFORM_HOSTED_GLM_53_FLASH_MODEL,
|
|
84
83
|
getPlatformHostedDeepSeekV4Price,
|
|
85
|
-
isPlatformHostedClaudeModel,
|
|
86
84
|
isPlatformHostedDeepSeekV4Model,
|
|
87
85
|
isPlatformHostedImageModel,
|
|
88
86
|
isPlatformHostedOpenAIImageModel
|
|
89
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-AJHEFRGJ.js";
|
|
90
88
|
import {
|
|
91
89
|
nolotusId
|
|
92
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XWNRAIUL.js";
|
|
93
91
|
import {
|
|
94
92
|
asRecordOrEmpty
|
|
95
93
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -99,7 +97,7 @@ import {
|
|
|
99
97
|
remove,
|
|
100
98
|
selectById,
|
|
101
99
|
write
|
|
102
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-YFADVSZE.js";
|
|
103
101
|
import {
|
|
104
102
|
buildDialogAgentListIndexDeleteOps,
|
|
105
103
|
createDialogMessageKeyAndId,
|
|
@@ -121,7 +119,7 @@ import {
|
|
|
121
119
|
builtinAgentCatalogEntryById,
|
|
122
120
|
builtinRuntimeFallbackEntries,
|
|
123
121
|
isBuiltinPlatformAgentKey
|
|
124
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-5J7W2VWW.js";
|
|
125
123
|
import {
|
|
126
124
|
extractCustomId,
|
|
127
125
|
extractUserId,
|
|
@@ -17088,7 +17086,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17088
17086
|
runtimeOptions: args.runtimeOptions
|
|
17089
17087
|
});
|
|
17090
17088
|
if (agentKeyToUse) {
|
|
17091
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17089
|
+
const { streamAgentChatTurn } = await import("./agentSlice-ZPODGT3P.js");
|
|
17092
17090
|
await dispatch(
|
|
17093
17091
|
streamAgentChatTurn({
|
|
17094
17092
|
agentKey: agentKeyToUse,
|
|
@@ -17397,15 +17395,20 @@ var calculateBasicCost = (model, usage, provider, externalPrice, billingServiceT
|
|
|
17397
17395
|
switch (provider) {
|
|
17398
17396
|
case "deepseek":
|
|
17399
17397
|
case "openai":
|
|
17400
|
-
case "deepinfra":
|
|
17401
17398
|
case "runinfra":
|
|
17402
17399
|
case "baseten":
|
|
17403
17400
|
return calculateCacheBasedCost(resolvedPrice, usage, externalPrice);
|
|
17401
|
+
// deepinfra:多数模型带上游缓存价(走 cache-hit 折扣);无缓存价的模型
|
|
17402
|
+
// (如 Claude 系,rate_per_input_token_cached=null)必须把 cache_read 按
|
|
17403
|
+
// input 全价计——calculateCacheBasedCost 在缺 inputCacheHit 时取 0 价,
|
|
17404
|
+
// 会把缓存 token 打成免费。与 nolo 组同一防御。
|
|
17405
|
+
case "deepinfra":
|
|
17406
|
+
return typeof resolvedPrice.inputCacheHit === "number" ? calculateCacheBasedCost(resolvedPrice, usage, externalPrice) : calculateSimpleCost(resolvedPrice, usage, externalPrice);
|
|
17407
|
+
// nolo: honor inputCacheHit only when the model defines it (K3 has
|
|
17404
17408
|
// without it keep simple full-price billing so cached tokens are not
|
|
17405
17409
|
// priced at 0 — but a platform-hosted model用于 agentic 循环时必须补上
|
|
17406
17410
|
// 这一项,否则每轮重放的上下文会被按 input 原价重复计费。
|
|
17407
17411
|
case "nolo":
|
|
17408
|
-
case "upstream-k3":
|
|
17409
17412
|
return typeof resolvedPrice.inputCacheHit === "number" ? calculateCacheBasedCost(resolvedPrice, usage, externalPrice) : calculateSimpleCost(resolvedPrice, usage, externalPrice);
|
|
17410
17413
|
case "anthropic":
|
|
17411
17414
|
return calculateAnthropicCost(resolvedPrice, usage, externalPrice);
|
|
@@ -17525,19 +17528,6 @@ var calculatePrice = ({
|
|
|
17525
17528
|
const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
|
|
17526
17529
|
return { cost: sanitizeCost(costs3.charge), pay: pay3 };
|
|
17527
17530
|
}
|
|
17528
|
-
if (provider === "nolo" && isPlatformHostedClaudeModel(modelName)) {
|
|
17529
|
-
const compatModel = getModelConfig("nolo", PLATFORM_HOSTED_GLM_53_FLASH_MODEL);
|
|
17530
|
-
const costs3 = calculateBasicCost(
|
|
17531
|
-
compatModel,
|
|
17532
|
-
usage,
|
|
17533
|
-
provider,
|
|
17534
|
-
externalPrice,
|
|
17535
|
-
billingServiceTier,
|
|
17536
|
-
nowMs
|
|
17537
|
-
);
|
|
17538
|
-
const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
|
|
17539
|
-
return { cost: sanitizeCost(costs3.charge), pay: pay3 };
|
|
17540
|
-
}
|
|
17541
17531
|
const zeroCostModel = {
|
|
17542
17532
|
name: modelName,
|
|
17543
17533
|
hasVision: false,
|
|
@@ -18229,7 +18219,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18229
18219
|
}
|
|
18230
18220
|
if (isCurrentDialog) {
|
|
18231
18221
|
await thunkApi.dispatch(resetMsgs());
|
|
18232
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18222
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-NLSKRXBN.js");
|
|
18233
18223
|
dispatch(clearPendingAttachments2());
|
|
18234
18224
|
}
|
|
18235
18225
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18237,39 +18227,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18237
18227
|
|
|
18238
18228
|
// packages/chat/dialog/dialogSlice.ts
|
|
18239
18229
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18240
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18230
|
+
const { createDialogAction } = await import("./createDialogAction-N7CTNKB5.js");
|
|
18241
18231
|
return createDialogAction(args, thunkApi);
|
|
18242
18232
|
};
|
|
18243
18233
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18244
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18234
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-6YBZFLET.js");
|
|
18245
18235
|
return createAgentAutomationAction(args, thunkApi);
|
|
18246
18236
|
};
|
|
18247
18237
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18248
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18238
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-BU2VPE5B.js");
|
|
18249
18239
|
return updateDialogTitleAction(args, thunkApi);
|
|
18250
18240
|
};
|
|
18251
18241
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
18252
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
18242
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-M7VLLBZM.js");
|
|
18253
18243
|
return addDialogAgentAction(args, thunkApi);
|
|
18254
18244
|
};
|
|
18255
18245
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
18256
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
18246
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-F5GPTALR.js");
|
|
18257
18247
|
return removeDialogAgentAction(args, thunkApi);
|
|
18258
18248
|
};
|
|
18259
18249
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
18260
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
18250
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-HPMG7V3R.js");
|
|
18261
18251
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
18262
18252
|
};
|
|
18263
18253
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
18264
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
18254
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-HMDZTZ4I.js");
|
|
18265
18255
|
return switchDialogAgentAction(args, thunkApi);
|
|
18266
18256
|
};
|
|
18267
18257
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
18268
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
18258
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-AY4ZCF3A.js");
|
|
18269
18259
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18270
18260
|
};
|
|
18271
18261
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18272
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18262
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-ENUNMW3Z.js");
|
|
18273
18263
|
return handleSendMessageAction(args, thunkApi);
|
|
18274
18264
|
};
|
|
18275
18265
|
function clearDialogState() {
|
|
@@ -18282,7 +18272,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18282
18272
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18283
18273
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18284
18274
|
try {
|
|
18285
|
-
const { createDocState } = await import("./docStore-
|
|
18275
|
+
const { createDocState } = await import("./docStore-CIAYE5WP.js");
|
|
18286
18276
|
const pageKey = await createDocState(
|
|
18287
18277
|
{ slateData, title },
|
|
18288
18278
|
{ dispatch, getState }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isImageUrlPart,
|
|
3
3
|
isOllamaEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PUOC4YRO.js";
|
|
5
5
|
import {
|
|
6
6
|
AGENT_SELECTION_PRIORITY_INSTRUCTIONS
|
|
7
7
|
} from "./chunk-V3ZKNK5D.js";
|
|
8
8
|
import {
|
|
9
9
|
getModelContextWindow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DSRXPQWA.js";
|
|
11
11
|
import {
|
|
12
12
|
estimateTokenCount
|
|
13
13
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
PLATFORM_HOSTED_KIMI_K3_MODEL,
|
|
19
19
|
isFireworksKimiModel,
|
|
20
20
|
isNoloHostedProvider
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AJHEFRGJ.js";
|
|
22
22
|
import {
|
|
23
23
|
asTrimmedLowercaseString
|
|
24
24
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
compileCodingEffectiveTools,
|
|
18
18
|
resolveCodingBuiltinSlug,
|
|
19
19
|
resolveCodingEffectiveTools
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-3IT2PFHL.js";
|
|
21
|
+
import "./chunk-MYU3MJCF.js";
|
|
22
22
|
import "./chunk-AETZ7AD6.js";
|
|
23
23
|
import "./chunk-KHCLMKZZ.js";
|
|
24
24
|
import "./chunk-O6OSWFZQ.js";
|
|
@@ -7,46 +7,46 @@ import {
|
|
|
7
7
|
updateContentPinned,
|
|
8
8
|
updateContentTitle,
|
|
9
9
|
uploadAndAddFileToSpace
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BLCUMZNV.js";
|
|
11
11
|
import "./chunk-ZJ7UHBJS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZIUMSKK4.js";
|
|
13
13
|
import "./chunk-EVBFYPDC.js";
|
|
14
14
|
import "./chunk-HQUORJTM.js";
|
|
15
15
|
import "./chunk-YYLHWIW6.js";
|
|
16
16
|
import "./chunk-AGGIDPCZ.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-F657NADX.js";
|
|
18
|
+
import "./chunk-BJCWNHVU.js";
|
|
19
19
|
import "./chunk-5RGU3J7P.js";
|
|
20
20
|
import "./chunk-6YTOJY35.js";
|
|
21
21
|
import "./chunk-M76ECQRD.js";
|
|
22
22
|
import "./chunk-YDH3FDFQ.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DSRXPQWA.js";
|
|
24
|
+
import "./chunk-E36HZARC.js";
|
|
25
|
+
import "./chunk-K7AG465Q.js";
|
|
26
26
|
import "./chunk-PSCNXBYA.js";
|
|
27
27
|
import "./chunk-BYXBJQAS.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-UJ63UXGE.js";
|
|
29
29
|
import "./chunk-DWLEOOGR.js";
|
|
30
30
|
import "./chunk-3JQ2NRYU.js";
|
|
31
31
|
import "./chunk-ONXOABJR.js";
|
|
32
32
|
import "./chunk-W7XHHYWM.js";
|
|
33
33
|
import "./chunk-HNMXYYJR.js";
|
|
34
34
|
import "./chunk-BYEJ7K2Z.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-NG4UT4K4.js";
|
|
36
|
+
import "./chunk-AJHEFRGJ.js";
|
|
37
|
+
import "./chunk-XWNRAIUL.js";
|
|
38
38
|
import "./chunk-Y5GCAMGP.js";
|
|
39
39
|
import "./chunk-UZ6XXCVR.js";
|
|
40
40
|
import "./chunk-KX6YBIHG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-ZZCJUXUI.js";
|
|
42
42
|
import "./chunk-UAD2WT54.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-YFADVSZE.js";
|
|
44
44
|
import "./chunk-NHRQCXIQ.js";
|
|
45
45
|
import "./chunk-WWC7I6TA.js";
|
|
46
46
|
import "./chunk-I42VC5KR.js";
|
|
47
47
|
import "./chunk-SREASRV5.js";
|
|
48
48
|
import "./chunk-QSJ3HFEF.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-5J7W2VWW.js";
|
|
50
50
|
import "./chunk-BJIRLHJR.js";
|
|
51
51
|
import "./chunk-3RAG2NAD.js";
|
|
52
52
|
import "./chunk-QOKAKDPE.js";
|