nolo-cli 0.169.0-alpha.1 → 0.170.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-7J6IIHWQ.js → _executeModel-6PME6D4C.js} +25 -25
- package/{agentDeleteCommand-4RAEG26P.js → agentDeleteCommand-EKJD2CUS.js} +33 -33
- package/{agentEmailCommands-MS6MACO5.js → agentEmailCommands-RJTAA4BU.js} +35 -35
- package/{agentListCommands-4BBFWXHX.js → agentListCommands-NRNBGHJT.js} +21 -21
- package/{agentMachineCommands-4OQUFTD2.js → agentMachineCommands-E3SC3UEK.js} +19 -19
- package/{agentProviderCommands-4USYTCL3.js → agentProviderCommands-TWVILNAN.js} +2 -2
- package/{agentRecordCommands-YNLE7IBY.js → agentRecordCommands-N6SAR2LT.js} +33 -33
- package/{agentRunCommand-76DUQVWC.js → agentRunCommand-L5SRXCUP.js} +34 -34
- package/{agentRunControl-QBONJVI4.js → agentRunControl-SBHIICUQ.js} +7 -5
- package/{agentRuntimeLocal-7EZYBR6X.js → agentRuntimeLocal-JHIG3HF7.js} +17 -17
- package/{agentSlice-UN7ZHCAM.js → agentSlice-2ZMQ4KVG.js} +1 -1
- package/{appDeleteCommands-WS3UFMCB.js → appDeleteCommands-E2UE3R24.js} +20 -20
- package/{appDeployCommands-W5B7I73P.js → appDeployCommands-BOF6NBNC.js} +20 -20
- package/{appDeployStatusCommands-UEHNV2GU.js → appDeployStatusCommands-YYN4TQOV.js} +20 -20
- package/{appGetCommands-XJOBVREN.js → appGetCommands-7IPMVGR3.js} +20 -20
- package/{appListCommands-BISQV6BQ.js → appListCommands-2T4KQCAO.js} +20 -20
- package/{authCommand-H35CPF25.js → authCommand-V426ZGG2.js} +8 -8
- package/{chunk-BSKTDOGA.js → chunk-24WNRCCO.js} +3 -3
- package/{chunk-FQU23S3P.js → chunk-3DV3V7RI.js} +11 -11
- package/{chunk-AIHY74D3.js → chunk-47NIK3N5.js} +3 -3
- package/{chunk-WLPUUBFR.js → chunk-4OZD67JO.js} +2 -2
- package/{chunk-QW6SSF7V.js → chunk-4S4FWSMN.js} +12 -12
- package/{chunk-2DXGW4UO.js → chunk-5ESQFL6P.js} +9 -9
- package/{chunk-JPPQ3GUO.js → chunk-5Y3KXG5K.js} +1 -1
- package/{chunk-ASSNAASW.js → chunk-7ZGMQZ5D.js} +3 -3
- package/{chunk-URO44BCD.js → chunk-BLCK4HGZ.js} +1 -1
- package/{chunk-O4R4M4M5.js → chunk-CAAH5LNN.js} +2 -2
- package/{chunk-WO5P2HTX.js → chunk-CI5DVWU7.js} +70 -26
- package/{chunk-I7S63QUU.js → chunk-DPCJTC5B.js} +1 -1
- package/{chunk-IOFLVIKF.js → chunk-EWLPIR2S.js} +1 -1
- package/{chunk-6EQD4AQL.js → chunk-GC64WGMD.js} +1 -1
- package/{chunk-FYYSDHVQ.js → chunk-HLAL63BZ.js} +1 -1
- package/{chunk-3USFOET4.js → chunk-HQDLNI57.js} +3 -3
- package/{chunk-PIG2IUVZ.js → chunk-I2QHI2XM.js} +2 -2
- package/{chunk-46OQD3AP.js → chunk-IRXW3ZGE.js} +3 -3
- package/{chunk-CEXJ6Y3C.js → chunk-JNPJ67TZ.js} +1 -1
- package/{chunk-DI7ZFGDQ.js → chunk-K7BBHQH7.js} +2 -2
- package/{chunk-B4VCTNZL.js → chunk-KZGUC5N4.js} +22 -22
- package/{chunk-2AZSL4GL.js → chunk-L3L2HDHT.js} +3 -3
- package/{chunk-7VWWGKEQ.js → chunk-O53IEDAL.js} +3 -3
- package/{chunk-KJETBEEN.js → chunk-OPNHKULV.js} +1 -1
- package/{chunk-EWO77ZGF.js → chunk-OQ3DOBYB.js} +3 -3
- package/{chunk-TOUKACDK.js → chunk-RATR6VCP.js} +1 -1
- package/{chunk-HZMWJUSD.js → chunk-RP6YUMFM.js} +2 -2
- package/{chunk-LEZLJTQ4.js → chunk-SUBKVXFM.js} +1 -1
- package/{chunk-SAZSXMTR.js → chunk-SZGJEMTC.js} +4 -4
- package/{chunk-ZPKUJROL.js → chunk-TDNAAXUQ.js} +2 -2
- package/{chunk-SQX235S2.js → chunk-TSCI6X6C.js} +1 -1
- package/{chunk-V7PCFWX3.js → chunk-TVGX5QIN.js} +2 -2
- package/{chunk-XLBQQ5SB.js → chunk-TWOTBHEN.js} +3 -3
- package/{chunk-XLQFVHNX.js → chunk-TYQZRSL6.js} +1 -1
- package/{chunk-3URJF2TW.js → chunk-VAS64JGT.js} +3 -3
- package/{chunk-DHNQA4VI.js → chunk-VEOTS5RX.js} +1 -1
- package/{chunk-HEC32F3G.js → chunk-VN44QPWB.js} +1 -1
- package/{chunk-MFVOJ6KF.js → chunk-W6E5IXIP.js} +3 -3
- package/{chunk-XITIONPS.js → chunk-WEMVPAYW.js} +4 -4
- package/{chunk-3ELX6JK5.js → chunk-WU4JTQRE.js} +8 -8
- package/{chunk-G3VYRPTV.js → chunk-XHH46PLP.js} +1 -1
- package/{chunk-7NKZA46B.js → chunk-XVO6M6W2.js} +4 -4
- package/{chunk-KMDDG73K.js → chunk-XWX5ZGWR.js} +1 -1
- package/{chunk-45IOFLGH.js → chunk-XZJLEVFG.js} +10 -10
- package/{chunk-CMRP4XHV.js → chunk-YIPWD7ZO.js} +12 -12
- package/{chunk-RKKJ6SVM.js → chunk-Z4XD4IR7.js} +18 -16
- package/{chunk-CEQFVBI2.js → chunk-ZMMGRJAJ.js} +2 -2
- package/{commandRegistry-PDKCQHG3.js → commandRegistry-STXOC6TH.js} +55 -55
- package/{contentThunks-OO3MJAED.js → contentThunks-VUSRUMEN.js} +9 -9
- package/{createAgentAutomationAction-F3O6FJ5W.js → createAgentAutomationAction-I4N55IOA.js} +9 -9
- package/{createDialogAction-UBQKDUK5.js → createDialogAction-4SH55WZK.js} +10 -10
- package/{createPageAction-RDEDO4GF.js → createPageAction-EXFA5U3J.js} +9 -9
- package/{dialogCommands-6POPB6FB.js → dialogCommands-TFQ2565H.js} +21 -21
- package/{dialogSlice-WZCWWYR3.js → dialogSlice-ADJ3IIBU.js} +8 -8
- package/{docCreateCommands-B2M3MGX7.js → docCreateCommands-YGPCBD7R.js} +19 -19
- package/{docDeleteCommands-NHCUX4XL.js → docDeleteCommands-GPZQZBRG.js} +20 -20
- package/{docReadCommands-FOLST4JD.js → docReadCommands-KL4TEA2P.js} +19 -19
- package/{docStore-PTSCGC6T.js → docStore-6SKEPSKB.js} +1 -1
- package/{docUpdateCommands-YZT2PQP2.js → docUpdateCommands-NVPR2H5R.js} +19 -19
- package/{getPricing-XQ3N3RBP.js → getPricing-2UPNNW3Y.js} +3 -3
- package/{handleSendMessageAction-3YMQS6XO.js → handleSendMessageAction-T4PCH565.js} +19 -19
- package/index.js +4 -4
- package/{localRuntimeAdapter-6P7JHQOK.js → localRuntimeAdapter-IOYT4WQZ.js} +31 -31
- package/{machineCommands-CTE5QJBU.js → machineCommands-T3VQ5ZSC.js} +32 -32
- package/{machineWsRunDispatch-7CRVOKDC.js → machineWsRunDispatch-MC2ATAN6.js} +32 -32
- package/{models-PZQC7VV4.js → models-UUNO6DOL.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-PKUOHQJT.js → providerPresetApply-5K4PBX4J.js} +6 -6
- package/{providerRegistry-HNQLIFN2.js → providerRegistry-K5MSZ3Y5.js} +6 -6
- package/{readlineWorkspace-3WLNCNV4.js → readlineWorkspace-VWGKBL65.js} +40 -40
- package/{runAgentClientLoop-F6EQK26A.js → runAgentClientLoop-V6N5TFJ5.js} +23 -23
- package/{runtimeDoctorCommands-LYMJEM4F.js → runtimeDoctorCommands-MRIVZU4W.js} +5 -5
- package/{spaceCommands-XESXH5CW.js → spaceCommands-PDXZVD6O.js} +19 -19
- package/{streamAgentChatTurn-KXELVHFR.js → streamAgentChatTurn-RGSV5DZS.js} +29 -29
- package/{tools-FMNDEVTZ.js → tools-UOB4UXHK.js} +17 -17
- package/{tuiSummaryLlmCaller-FQOEF4IE.js → tuiSummaryLlmCaller-M2AORGW6.js} +8 -8
- package/{updateDialogTitleAction-65R3Y22L.js → updateDialogTitleAction-KTZFCYF2.js} +9 -9
- /package/{chunk-CGFNDIKK.js → chunk-5KTQVMCX.js} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
} from "./chunk-WWC7I6TA.js";
|
|
13
13
|
import {
|
|
14
14
|
getModelConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GC64WGMD.js";
|
|
16
16
|
import {
|
|
17
17
|
isPlatformHostedImageModel,
|
|
18
18
|
isPlatformManagedProvider,
|
|
19
19
|
resolvePlatformEffectiveModel
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5KTQVMCX.js";
|
|
21
21
|
|
|
22
22
|
// packages/ai/llm/getPricing.ts
|
|
23
23
|
var MAX_OUTPUT_TOKENS = 8192;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GC64WGMD.js";
|
|
4
4
|
import {
|
|
5
5
|
isPlatformHostedDeepseekModel,
|
|
6
6
|
isPlatformHostedOpenAIImageModel,
|
|
7
7
|
resolvePlatformHostedRouting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5KTQVMCX.js";
|
|
9
9
|
import {
|
|
10
10
|
asTrimmedLowercaseString
|
|
11
11
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -347,7 +347,7 @@ var slice = createSliceWithThunks({
|
|
|
347
347
|
const overrides = {};
|
|
348
348
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
349
349
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
350
|
-
const { _executeModel } = await import("./_executeModel-
|
|
350
|
+
const { _executeModel } = await import("./_executeModel-6PME6D4C.js");
|
|
351
351
|
return _executeModel(
|
|
352
352
|
{
|
|
353
353
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -368,7 +368,7 @@ var slice = createSliceWithThunks({
|
|
|
368
368
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
369
369
|
*/
|
|
370
370
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
371
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
371
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-V6N5TFJ5.js");
|
|
372
372
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
373
373
|
{
|
|
374
374
|
agentKey: args.agentKey,
|
|
@@ -384,7 +384,7 @@ var slice = createSliceWithThunks({
|
|
|
384
384
|
* 聊天轮次流式 Agent 调用
|
|
385
385
|
*/
|
|
386
386
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
387
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
387
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-RGSV5DZS.js");
|
|
388
388
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
389
389
|
}),
|
|
390
390
|
/**
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-62TBKWTV.js";
|
|
7
7
|
import {
|
|
8
8
|
clearCliLocalRuntimePreparedAgentCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KZGUC5N4.js";
|
|
10
10
|
import {
|
|
11
11
|
readCredentialAvailability
|
|
12
12
|
} from "./chunk-R4BMKAR5.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveAgentRecordFromHybridStore,
|
|
20
20
|
sanitizeAgentRecordForCliOutput,
|
|
21
21
|
writeAgentRecord
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OPNHKULV.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCliAgentKeyInput
|
|
25
25
|
} from "./chunk-NBTY7YJF.js";
|
|
@@ -244,7 +244,7 @@ async function runAgentCreateCommand(args, deps = {}) {
|
|
|
244
244
|
let verifyResult;
|
|
245
245
|
if (parsed.verify) {
|
|
246
246
|
try {
|
|
247
|
-
const { verifyCustomProvider } = await import("./agentProviderCommands-
|
|
247
|
+
const { verifyCustomProvider } = await import("./agentProviderCommands-TWVILNAN.js");
|
|
248
248
|
const rec = built.nextRecord;
|
|
249
249
|
verifyResult = await verifyCustomProvider({
|
|
250
250
|
providerUrl: rec.customProviderUrl,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelPricing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TDNAAXUQ.js";
|
|
4
4
|
import {
|
|
5
5
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
|
|
6
6
|
PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
} from "./chunk-M2EJHDJP.js";
|
|
24
24
|
import {
|
|
25
25
|
getModelConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GC64WGMD.js";
|
|
27
27
|
import {
|
|
28
28
|
isRecord
|
|
29
29
|
} from "./chunk-KUG52IAP.js";
|
|
30
30
|
import {
|
|
31
31
|
isNoloHostedProvider,
|
|
32
32
|
isPlatformHostedImageModel
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5KTQVMCX.js";
|
|
34
34
|
|
|
35
35
|
// packages/core/publicAgentSeeds.ts
|
|
36
36
|
var AGENT_SEED_DEFAULTS = {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-JLR5NWP2.js";
|
|
12
12
|
import {
|
|
13
13
|
isOAuthApiKeyRef
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VN44QPWB.js";
|
|
15
15
|
import {
|
|
16
16
|
isOwnedAgentKey,
|
|
17
17
|
ownedAgentKey,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
} from "./chunk-M2EJHDJP.js";
|
|
20
20
|
import {
|
|
21
21
|
getModelAbility
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HLAL63BZ.js";
|
|
23
23
|
import {
|
|
24
24
|
isSubscriptionEndpoint,
|
|
25
25
|
isSubscriptionOAuthCredential
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OQ3DOBYB.js";
|
|
27
27
|
import {
|
|
28
28
|
isAntigravityOAuthAgent
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TSCI6X6C.js";
|
|
30
30
|
|
|
31
31
|
// packages/ai/agent/agentBilling.ts
|
|
32
32
|
function resolveBillingSource(candidate) {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZMMGRJAJ.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TWOTBHEN.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillGuidancePromptBlock
|
|
12
12
|
} from "./chunk-SH3XD4E2.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
compileContextLayers,
|
|
24
24
|
detectDispatchIntentFromMessages,
|
|
25
25
|
resolveToolGuidedSections
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RATR6VCP.js";
|
|
27
27
|
import {
|
|
28
28
|
convertMessagesToResponsesInput,
|
|
29
29
|
getUsageRequestOptions,
|
|
@@ -32,11 +32,11 @@ import {
|
|
|
32
32
|
resolveReasoningReplayOptions,
|
|
33
33
|
shouldStripReasoningContentForOutbound,
|
|
34
34
|
stablePromptCacheKey
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-K7BBHQH7.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveAgentCallPlan,
|
|
38
38
|
resolveClientWire
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-SZGJEMTC.js";
|
|
40
40
|
import {
|
|
41
41
|
createFileCredentialBroker
|
|
42
42
|
} from "./chunk-UHTDNB5Y.js";
|
|
@@ -53,12 +53,12 @@ import {
|
|
|
53
53
|
} from "./chunk-LCBAMY2M.js";
|
|
54
54
|
import {
|
|
55
55
|
buildProviderAuthHeaders
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-I2QHI2XM.js";
|
|
57
57
|
import {
|
|
58
58
|
clampReasoningEffort,
|
|
59
59
|
getModelConfig,
|
|
60
60
|
isModelSupportReasoningEffort
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-GC64WGMD.js";
|
|
62
62
|
import {
|
|
63
63
|
isRecord
|
|
64
64
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
isFireworksKimiModel,
|
|
80
80
|
isPlatformMimoProviderModel,
|
|
81
81
|
resolveFireworksKimiModel
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-5KTQVMCX.js";
|
|
83
83
|
|
|
84
84
|
// packages/agent-runtime/responsesConversationState.ts
|
|
85
85
|
function supportsResponsesConversationState(agent) {
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
stablePromptCacheKey,
|
|
28
28
|
toOpenAiCompatibleMessages,
|
|
29
29
|
toResponsesTools
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K7BBHQH7.js";
|
|
31
31
|
import {
|
|
32
32
|
isMeaningfulChatCompletionOutput,
|
|
33
33
|
isMeaningfulResponsesOutput
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7ZGMQZ5D.js";
|
|
35
35
|
import {
|
|
36
36
|
clipCompactText
|
|
37
37
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
resolvePlatformAuthToken,
|
|
45
45
|
resolvePlatformServerUrl,
|
|
46
46
|
resolveProviderTransportDecision
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-I2QHI2XM.js";
|
|
48
48
|
import {
|
|
49
49
|
isRecord
|
|
50
50
|
} from "./chunk-KUG52IAP.js";
|
|
51
51
|
import {
|
|
52
52
|
NOLO_CLIENT_VERSION_HEADER,
|
|
53
53
|
isPlatformMimoProviderModel
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-5KTQVMCX.js";
|
|
55
55
|
|
|
56
56
|
// packages/ai/token/sseUsageExtract.ts
|
|
57
57
|
var TOKEN_FIELDS = [
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZMMGRJAJ.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
selectSpaceContextLevel,
|
|
21
21
|
selectUserTonePreset,
|
|
22
22
|
uiCardFallback
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4OZD67JO.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveToolBaseUrl
|
|
26
26
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -29,18 +29,18 @@ import {
|
|
|
29
29
|
getModelPricing,
|
|
30
30
|
getPrices,
|
|
31
31
|
hasExplicitAgentPricing
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TDNAAXUQ.js";
|
|
33
33
|
import {
|
|
34
34
|
getDocState
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-RP6YUMFM.js";
|
|
36
36
|
import {
|
|
37
37
|
getTableState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-BLCK4HGZ.js";
|
|
39
39
|
import {
|
|
40
40
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
41
41
|
buildPersonalizationDialogPolicyContext,
|
|
42
42
|
selectAllMsgs
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YIPWD7ZO.js";
|
|
44
44
|
import {
|
|
45
45
|
getCurrentSpaceIdRaw,
|
|
46
46
|
getViewMode
|
|
@@ -69,18 +69,18 @@ import {
|
|
|
69
69
|
} from "./chunk-YCRROBDY.js";
|
|
70
70
|
import {
|
|
71
71
|
projectToolMessageContent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-24WNRCCO.js";
|
|
73
73
|
import {
|
|
74
74
|
attachmentKind,
|
|
75
75
|
normalizeAttachmentPart
|
|
76
76
|
} from "./chunk-WJZOQR2J.js";
|
|
77
77
|
import {
|
|
78
78
|
extractReferenceKeysFromMessage
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-VN44QPWB.js";
|
|
80
80
|
import {
|
|
81
81
|
getModelContextWindow,
|
|
82
82
|
planContextUsage
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-7ZGMQZ5D.js";
|
|
84
84
|
import {
|
|
85
85
|
asRecordOrEmpty
|
|
86
86
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
import {
|
|
114
114
|
getModelConfig,
|
|
115
115
|
getProviderByModelName
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-GC64WGMD.js";
|
|
117
117
|
import {
|
|
118
118
|
isRecord
|
|
119
119
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-QYPE3TS3.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TWOTBHEN.js";
|
|
15
15
|
import {
|
|
16
16
|
getApproxPricePerImage
|
|
17
17
|
} from "./chunk-4JH2UMJR.js";
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
isOAuthApiKeyRef,
|
|
105
105
|
normalizeUsage,
|
|
106
106
|
resolveAutoExecutionProfile
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-VN44QPWB.js";
|
|
108
108
|
import {
|
|
109
109
|
isDevinOAuthAgent
|
|
110
110
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
getModelInfo,
|
|
122
122
|
planCompression,
|
|
123
123
|
serializeMessageContent
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-7ZGMQZ5D.js";
|
|
125
125
|
import {
|
|
126
126
|
asRecordOrEmpty
|
|
127
127
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
import {
|
|
161
161
|
findModelConfig,
|
|
162
162
|
getModelConfig
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-GC64WGMD.js";
|
|
164
164
|
import {
|
|
165
165
|
isRecord
|
|
166
166
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
isPlatformManagedProvider,
|
|
194
194
|
resolvePlatformEffectiveModel,
|
|
195
195
|
resolvePlatformHostedRouting
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-5KTQVMCX.js";
|
|
197
197
|
import {
|
|
198
198
|
asTrimmedLowercaseString
|
|
199
199
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -11062,7 +11062,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11062
11062
|
runtimeOptions: args.runtimeOptions
|
|
11063
11063
|
});
|
|
11064
11064
|
if (agentKeyToUse) {
|
|
11065
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11065
|
+
const { streamAgentChatTurn } = await import("./agentSlice-2ZMQ4KVG.js");
|
|
11066
11066
|
await dispatch(
|
|
11067
11067
|
streamAgentChatTurn({
|
|
11068
11068
|
agentKey: agentKeyToUse,
|
|
@@ -13879,7 +13879,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13879
13879
|
}
|
|
13880
13880
|
if (isCurrentDialog) {
|
|
13881
13881
|
await thunkApi.dispatch(resetMsgs());
|
|
13882
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13882
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-ADJ3IIBU.js");
|
|
13883
13883
|
dispatch(clearPendingAttachments2());
|
|
13884
13884
|
}
|
|
13885
13885
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13887,15 +13887,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13887
13887
|
|
|
13888
13888
|
// packages/chat/dialog/dialogSlice.ts
|
|
13889
13889
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13890
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13890
|
+
const { createDialogAction } = await import("./createDialogAction-4SH55WZK.js");
|
|
13891
13891
|
return createDialogAction(args, thunkApi);
|
|
13892
13892
|
};
|
|
13893
13893
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13894
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13894
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-I4N55IOA.js");
|
|
13895
13895
|
return createAgentAutomationAction(args, thunkApi);
|
|
13896
13896
|
};
|
|
13897
13897
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13898
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13898
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-KTZFCYF2.js");
|
|
13899
13899
|
return updateDialogTitleAction(args, thunkApi);
|
|
13900
13900
|
};
|
|
13901
13901
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13919,7 +13919,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13919
13919
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13920
13920
|
};
|
|
13921
13921
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13922
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13922
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-T4PCH565.js");
|
|
13923
13923
|
return handleSendMessageAction(args, thunkApi);
|
|
13924
13924
|
};
|
|
13925
13925
|
function clearDialogState() {
|
|
@@ -13932,7 +13932,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13932
13932
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13933
13933
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13934
13934
|
try {
|
|
13935
|
-
const { createDocState } = await import("./docStore-
|
|
13935
|
+
const { createDocState } = await import("./docStore-6SKEPSKB.js");
|
|
13936
13936
|
const pageKey = await createDocState(
|
|
13937
13937
|
{ slateData, title },
|
|
13938
13938
|
{ dispatch, getState }
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VEOTS5RX.js";
|
|
13
13
|
import {
|
|
14
14
|
getReadableCliDb
|
|
15
15
|
} from "./chunk-62TBKWTV.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveFileWriteGateEnabled,
|
|
32
32
|
resolveLocalUserId,
|
|
33
33
|
validateInstaboxWorkspaceSelection
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KZGUC5N4.js";
|
|
35
35
|
import {
|
|
36
36
|
clearCredentialAvailability,
|
|
37
37
|
readEffectiveCredentialEntry,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
readDbRecord,
|
|
66
66
|
resolveAgentRecordFromHybridStore
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-OPNHKULV.js";
|
|
68
68
|
import {
|
|
69
69
|
isLocalCliAgentKey
|
|
70
70
|
} from "./chunk-NBTY7YJF.js";
|
|
@@ -79,14 +79,14 @@ import {
|
|
|
79
79
|
} from "./chunk-BMQ2MJUK.js";
|
|
80
80
|
import {
|
|
81
81
|
resolveCliLocalRuntimeKeyCapability
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-4S4FWSMN.js";
|
|
83
83
|
import {
|
|
84
84
|
isTransientFetchError
|
|
85
85
|
} from "./chunk-KFHREHUQ.js";
|
|
86
86
|
import {
|
|
87
87
|
parseUiCard,
|
|
88
88
|
uiCardFallback
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-4OZD67JO.js";
|
|
90
90
|
import {
|
|
91
91
|
isGatewayHttpStatus
|
|
92
92
|
} from "./chunk-NF64D32W.js";
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
chooseMemoryOwners,
|
|
96
96
|
loadMemoryCandidatesFromDb,
|
|
97
97
|
resolveAgentMemoryPolicy
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-IRXW3ZGE.js";
|
|
99
99
|
import {
|
|
100
100
|
API_REPORTED_COST_MULTIPLIER,
|
|
101
101
|
estimateMessagesTokens,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
resolveAgentContextWindow,
|
|
104
104
|
resolveOccupancy,
|
|
105
105
|
resolveOccupancyWindow
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-YIPWD7ZO.js";
|
|
107
107
|
import {
|
|
108
108
|
buildSkillDiscoveryContextLayer
|
|
109
109
|
} from "./chunk-AU7AXHUL.js";
|
|
@@ -115,10 +115,10 @@ import {
|
|
|
115
115
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
116
116
|
LOCAL_TURN_ABORTED_CODE,
|
|
117
117
|
readActionGate
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-5ESQFL6P.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveAgentRuntimeConfigFromRecord
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-JNPJ67TZ.js";
|
|
122
122
|
import {
|
|
123
123
|
createThinkParserState,
|
|
124
124
|
flushThinkParser,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
import {
|
|
145
145
|
isOAuthApiKeyRef,
|
|
146
146
|
normalizeUsage
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-VN44QPWB.js";
|
|
148
148
|
import {
|
|
149
149
|
clipCompactText
|
|
150
150
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -182,13 +182,14 @@ import {
|
|
|
182
182
|
popSingleQueueMessage,
|
|
183
183
|
readRunRecord,
|
|
184
184
|
recordRunResultHeaderMeta,
|
|
185
|
+
reportRunProcessIdentity,
|
|
185
186
|
resolveResultServerMeta,
|
|
186
187
|
resolveRunQueuePath,
|
|
187
188
|
resolveRunsDir,
|
|
188
189
|
serverOriginForDialog,
|
|
189
190
|
settleRunTerminalAuthoritatively,
|
|
190
191
|
spawnLocalBackgroundRun
|
|
191
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-CI5DVWU7.js";
|
|
192
193
|
import {
|
|
193
194
|
formatAgentListCard,
|
|
194
195
|
formatFinishedRunCard,
|
|
@@ -220,13 +221,13 @@ import {
|
|
|
220
221
|
} from "./chunk-Y6ROFCZO.js";
|
|
221
222
|
import {
|
|
222
223
|
isAntigravityOAuthAgent
|
|
223
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-TSCI6X6C.js";
|
|
224
225
|
import {
|
|
225
226
|
resolveClientVersion
|
|
226
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-I2QHI2XM.js";
|
|
227
228
|
import {
|
|
228
229
|
findModelConfig
|
|
229
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-GC64WGMD.js";
|
|
230
231
|
import {
|
|
231
232
|
asTrimmedString
|
|
232
233
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -240,7 +241,7 @@ import {
|
|
|
240
241
|
CLIENT_VERSION_TOO_OLD_CODE,
|
|
241
242
|
NOLO_CLIENT_VERSION_HEADER,
|
|
242
243
|
buildClientVersionUpgradeMessage
|
|
243
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-5KTQVMCX.js";
|
|
244
245
|
import {
|
|
245
246
|
asTrimmedLowercaseString
|
|
246
247
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -11373,7 +11374,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11373
11374
|
|
|
11374
11375
|
// packages/cli/client/agentRun.ts
|
|
11375
11376
|
async function loadRunLocalAgentTurn() {
|
|
11376
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11377
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-JHIG3HF7.js");
|
|
11377
11378
|
return runLocalAgentTurn;
|
|
11378
11379
|
}
|
|
11379
11380
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -15600,6 +15601,7 @@ async function runAgentRunCommand(args, deps) {
|
|
|
15600
15601
|
const nowMs = () => deps.now ? deps.now().getTime() : Date.now();
|
|
15601
15602
|
const childRunId = env.NOLO_AGENT_RUN_ID;
|
|
15602
15603
|
const hasRegistry = typeof childRunId === "string" && childRunId.length > 0;
|
|
15604
|
+
if (hasRegistry) reportRunProcessIdentity(childRunId, { env, homedir: deps.homedir, fs: deps.fs, now: deps.now });
|
|
15603
15605
|
const processExit = deps.processExit ?? ((code) => process.exit(code));
|
|
15604
15606
|
const stallTimeoutMs = resolvePositiveMs(
|
|
15605
15607
|
deps.stallTimeoutMs ?? env.NOLO_LOCAL_RUN_STALL_TIMEOUT_MS,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4OZD67JO.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YIPWD7ZO.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|