nolo-cli 0.49.1 → 0.50.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-KE4PQSZ3.js → _executeModel-JKEH7ACW.js} +48 -42
- package/{action-IU6ON7ZB.js → action-VSG2IYP3.js} +8 -8
- package/{addContentAction-5V5CCI3I.js → addContentAction-2HJJITDI.js} +8 -7
- package/{addDialogAgentAction-KF3KZZNZ.js → addDialogAgentAction-7BSQVVL5.js} +10 -9
- package/{agentDeleteCommand-Z67TJG3W.js → agentDeleteCommand-SVXKS5SC.js} +30 -28
- package/{agentEmailCommands-7LPIK7JE.js → agentEmailCommands-WN7QBTP3.js} +57 -52
- package/{agentListCommands-5J2IM3IT.js → agentListCommands-2BEBOQIG.js} +42 -33
- package/{agentMachineCommands-YXH6FXUQ.js → agentMachineCommands-WALP3ONU.js} +30 -28
- package/{agentRecordCommands-GZLCDVUS.js → agentRecordCommands-E652SW57.js} +55 -50
- package/{agentRunCommand-WYH5Q54Q.js → agentRunCommand-6VXWXKCS.js} +60 -53
- package/{agentRunControl-4GHHSXFZ.js → agentRunControl-LJVFDJGU.js} +3 -1
- package/{agentRuntimeLocal-A6EF3RUY.js → agentRuntimeLocal-SBG7BDFQ.js} +30 -26
- package/{agentSlice-ARTDF6VD.js → agentSlice-3WYXIGEO.js} +8 -8
- package/{agentSuperviseCommands-VB6BUS5H.js → agentSuperviseCommands-F3RFAL7K.js} +2 -2
- package/{appDeleteCommands-V2B7ZCLC.js → appDeleteCommands-NTUNMEXY.js} +31 -29
- package/{appDeployCommands-AXQU44RD.js → appDeployCommands-DISWXRTL.js} +31 -29
- package/{appDeployStatusCommands-FWGSC2UM.js → appDeployStatusCommands-IKRA6B6F.js} +31 -29
- package/{appGetCommands-67R3RFZK.js → appGetCommands-UMOP2DFV.js} +31 -29
- package/{appListCommands-TTASJPGV.js → appListCommands-ZKFD2AKS.js} +31 -29
- package/{authCommand-QOPOEYEK.js → authCommand-BS3CQC6I.js} +11 -11
- package/{chatQueueReduxAdapter-6CAHUQ4O.js → chatQueueReduxAdapter-A3YH4MT4.js} +24 -21
- package/{chunk-76UA7376.js → chunk-273FJUYI.js} +6 -6
- package/{chunk-7CH6U3FL.js → chunk-2GRGFCF6.js} +2 -4
- package/{chunk-T27IEBNQ.js → chunk-2QDDKFG5.js} +74 -1
- package/{chunk-IRJVFYOH.js → chunk-2TLYVDTN.js} +321 -1100
- package/{chunk-6BYAXNH5.js → chunk-3QOCS5IF.js} +11 -2
- package/chunk-6IGD47IC.js +19 -0
- package/{chunk-GFD7TIZU.js → chunk-6TUT5ZJD.js} +4 -6
- package/chunk-6YTOJY35.js +352 -0
- package/{chunk-B54WOZ77.js → chunk-7H7GQL6V.js} +2 -2
- package/{chunk-OYNDYVSE.js → chunk-B45YNDAE.js} +1 -1
- package/{chunk-UQWFIWHX.js → chunk-BKIDF5LV.js} +1 -1
- package/{chunk-5XCW6RQG.js → chunk-BUBPRCIU.js} +1 -1
- package/chunk-BYXBJQAS.js +0 -0
- package/{chunk-X7S7OFUX.js → chunk-CEVCRRHU.js} +4 -4
- package/{chunk-SP3DPVBH.js → chunk-DEIGUGP6.js} +2 -2
- package/{chunk-V2IPBG5U.js → chunk-DGEPT6FH.js} +1 -1
- package/{chunk-3AOLVADY.js → chunk-DVINR3PL.js} +1 -1
- package/{chunk-NN3AMBY3.js → chunk-DXOELY7S.js} +64 -69
- package/{chunk-OFZPJ3NT.js → chunk-E4MARS3Q.js} +1 -1
- package/{chunk-QUCSAM43.js → chunk-EAYBPWHX.js} +87 -66
- package/{chunk-DQLYEGP7.js → chunk-EGVY3GMT.js} +1 -1
- package/{chunk-2JYSSXLY.js → chunk-EJFW7TRP.js} +5 -26
- package/{chunk-HPZL4IBN.js → chunk-FGRCSLPV.js} +34 -45
- package/{chunk-WL3UOGYO.js → chunk-G4WSLTQF.js} +31 -97
- package/{chunk-HR5XDXYM.js → chunk-G5SQVIFZ.js} +3 -3
- package/{chunk-J3UALFHL.js → chunk-GHE5XMVR.js} +1 -1
- package/{chunk-6SMMK7MD.js → chunk-GKB4AZKV.js} +440 -2981
- package/{chunk-IKSFDJXB.js → chunk-GKNGRBE6.js} +150 -27
- package/{chunk-Q24S4NDF.js → chunk-HQTK2SFT.js} +1 -1
- package/{chunk-GDGIEGHV.js → chunk-IPTZ5TVU.js} +7 -6
- package/{chunk-4RXXP6WD.js → chunk-J7KDNHUO.js} +5 -64
- package/{chunk-QDHZCAH3.js → chunk-KNQ5LYVZ.js} +57 -2
- package/{chunk-VRJUIUIY.js → chunk-KVVNC5V3.js} +2 -2
- package/{chunk-CVT7L2WZ.js → chunk-LVCAWHI5.js} +4 -4
- package/{chunk-WX5E6HZS.js → chunk-N6SLQMSA.js} +6 -6
- package/{chunk-SQTVMYMU.js → chunk-NTZO3KX2.js} +3 -3
- package/{chunk-LGUQHYAL.js → chunk-O5FLGN2L.js} +3 -2
- package/{chunk-WKOEOQCI.js → chunk-OSUZKICS.js} +1600 -190
- package/{chunk-EXDR5D6X.js → chunk-Q2QN2RHG.js} +7 -7
- package/{chunk-L3JWI7WX.js → chunk-QOKAKDPE.js} +15 -11
- package/{chunk-757BGY6Y.js → chunk-RFYXK6KI.js} +1 -1
- package/chunk-RQSN75DW.js +1766 -0
- package/{chunk-HCMFFI2G.js → chunk-S3JNURSO.js} +2 -2
- package/{chunk-YZ2WE6CW.js → chunk-SAJSBPI2.js} +2 -2
- package/{chunk-WHVQA7PJ.js → chunk-SCBBGS2N.js} +23 -5
- package/chunk-SGSJBBKP.js +297 -0
- package/{chunk-GFUOVFQA.js → chunk-TUBNQ3OF.js} +2 -2
- package/{chunk-BANYWEYY.js → chunk-TY3ADTX5.js} +1 -1
- package/chunk-UAD2WT54.js +64 -0
- package/{chunk-SW7RCUGA.js → chunk-UEV5WVQV.js} +3 -3
- package/{chunk-EURF2SV6.js → chunk-UMCMW5R3.js} +51 -34
- package/{chunk-K524MUQC.js → chunk-VFDRZHPM.js} +16 -16
- package/{chunk-5WADL4O7.js → chunk-W22UTILW.js} +3 -3
- package/{chunk-IKTHA3JH.js → chunk-WERPP2S7.js} +2 -2
- package/{chunk-GBADO3SM.js → chunk-WSUHBABG.js} +1 -1
- package/{chunk-U5Z7LFZF.js → chunk-X3OGKR5Q.js} +4 -4
- package/{chunk-AVKUDHJO.js → chunk-X5LRMXTS.js} +10 -10
- package/{chunk-DIQCV4FR.js → chunk-X665UCNM.js} +1 -1
- package/{chunk-HCBQVVFZ.js → chunk-X7P6EJUY.js} +4 -4
- package/{chunk-HHBXCRJS.js → chunk-XOJRZUPF.js} +4 -4
- package/{chunk-MRWGHF56.js → chunk-YDH3FDFQ.js} +12 -356
- package/{chunk-TNPCQNGQ.js → chunk-YEFRCO5N.js} +4 -9
- package/{chunk-RO2IUWZE.js → chunk-YUKTCDVN.js} +1 -1
- package/{chunk-56W233KG.js → chunk-YWY25N4V.js} +1 -1
- package/{chunk-RU5D3B22.js → chunk-ZDS63Y4O.js} +2 -2
- package/chunk-ZJ7UHBJS.js +89 -0
- package/{chunk-SG65C33A.js → chunk-ZLMG6NRV.js} +4 -4
- package/{codingSkills-BYQI6EPT.js → codingSkills-FQPCEIWL.js} +2 -2
- package/contentThunks-J33BZB3E.js +71 -0
- package/{createAgentAutomationAction-7BBF5YXN.js → createAgentAutomationAction-HTMTGX6Q.js} +25 -21
- package/{createDialogAction-B5URPHP4.js → createDialogAction-WYQBSN6A.js} +27 -23
- package/{createPageAction-ISJKM5Q3.js → createPageAction-ICRRK3SA.js} +27 -22
- package/{dbSlice-FWF5F4L7.js → dbSlice-YORO4VL4.js} +6 -6
- package/{deleteFile-NPZ64DFN.js → deleteFile-JYKRT7C3.js} +4 -4
- package/{dialogCommands-XHH4MVA4.js → dialogCommands-FRSIAPKY.js} +31 -29
- package/{dialogSlice-NRAN5X7F.js → dialogSlice-5KPVIAWH.js} +24 -21
- package/{docCreateCommands-FUN2Z7HQ.js → docCreateCommands-DBRJMPDX.js} +30 -28
- package/{docDeleteCommands-OZDPFXPF.js → docDeleteCommands-BCYPLWXN.js} +31 -29
- package/{docReadCommands-FIPK7LE3.js → docReadCommands-L5JX4Q7G.js} +30 -28
- package/{docStore-LUS7SWC3.js → docStore-34NXLCEO.js} +8 -33
- package/{docUpdateCommands-BZ5GKAN4.js → docUpdateCommands-RELG7XJD.js} +30 -28
- package/fetchMessages-KZQVBXKY.js +1 -1
- package/{getPricing-HAU62AFM.js → getPricing-FM7TJZFV.js} +4 -4
- package/{handleSendMessageAction-RA4OD2ZH.js → handleSendMessageAction-MEYK7RPD.js} +25 -22
- package/index.js +64 -64
- package/{machineCommands-WDAYEFBE.js → machineCommands-YSXTOWHQ.js} +59 -54
- package/{machineWsRunDispatch-TPQ2FQVS.js → machineWsRunDispatch-DNAYOPQT.js} +54 -49
- package/memberThunks-KVPBG4V7.js +638 -0
- package/{models-4QF4BJVY.js → models-CW5EL6Z7.js} +2 -2
- package/package.json +2 -3
- package/{read-J7RVVCHH.js → read-NIOV5F7W.js} +4 -4
- package/{readDocTool-G2WBM4IH.js → readDocTool-ULKJ5BEM.js} +1 -1
- package/{readlineWorkspace-HN44KGIF.js → readlineWorkspace-KZ3LPQG2.js} +829 -393
- package/{removeDialogAgentAction-RMPISD42.js → removeDialogAgentAction-JGSCPML3.js} +12 -11
- package/{runAgentClientLoop-ZYUI22EA.js → runAgentClientLoop-O2AUHIJT.js} +46 -40
- package/{setDialogExtraReferencesAction-7BUTHDAL.js → setDialogExtraReferencesAction-CORU64NM.js} +9 -8
- package/{setPrimaryDialogAgentAction-WCYIBGZ4.js → setPrimaryDialogAgentAction-5VS2VKLZ.js} +12 -11
- package/{settingSlice-7NN2MI6Y.js → settingSlice-3GNGTC2T.js} +7 -7
- package/{skillDiscovery-COX56OBO.js → skillDiscovery-CYUCJMAG.js} +3 -3
- package/{spaceCommands-OJ2567D4.js → spaceCommands-OI7RIB2T.js} +30 -28
- package/{streamAgentChatTurn-FNFMMGNN.js → streamAgentChatTurn-TA3PGS6C.js} +61 -54
- package/{switchDialogAgentAction-WGMMQHDI.js → switchDialogAgentAction-LP433X4D.js} +10 -9
- package/{tableCommands-P2TXJ3CF.js → tableCommands-R6WFRDYF.js} +1 -1
- package/{toolApiClient-B2MFXMEG.js → toolApiClient-53U4UDFF.js} +3 -2
- package/{tools-QCDR3UMD.js → tools-6ZPQ75XA.js} +37 -32
- package/{tuiSummaryLlmCaller-LCGT62QC.js → tuiSummaryLlmCaller-YKYQB4ZL.js} +17 -15
- package/{updateDialogTitleAction-Y3OGJWDB.js → updateDialogTitleAction-LRJ7NSOS.js} +26 -22
- package/chunk-EUG45QJR.js +0 -6104
- package/spaceSlice-F7JCOZEF.js +0 -127
- package/{chunk-NQ4N4IGO.js → chunk-CS6TCJ7E.js} +3 -3
|
@@ -8,23 +8,20 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
isOAuthApiKeyRef
|
|
10
10
|
} from "./chunk-YYLHWIW6.js";
|
|
11
|
-
import {
|
|
12
|
-
runLlm
|
|
13
|
-
} from "./chunk-WX5E6HZS.js";
|
|
14
11
|
import {
|
|
15
12
|
getApproxPricePerImage
|
|
16
13
|
} from "./chunk-AGGIDPCZ.js";
|
|
14
|
+
import {
|
|
15
|
+
runLlm
|
|
16
|
+
} from "./chunk-N6SLQMSA.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupCliSessionForDialog
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZLMG6NRV.js";
|
|
20
20
|
import {
|
|
21
21
|
getActiveDialogAgentId,
|
|
22
22
|
getDialogAgentIds,
|
|
23
23
|
getPrimaryDialogAgentId
|
|
24
24
|
} from "./chunk-5RGU3J7P.js";
|
|
25
|
-
import {
|
|
26
|
-
require_date_fns
|
|
27
|
-
} from "./chunk-M76ECQRD.js";
|
|
28
25
|
import {
|
|
29
26
|
abortActiveControllers,
|
|
30
27
|
addPageReferenceToRuntime,
|
|
@@ -34,12 +31,17 @@ import {
|
|
|
34
31
|
deleteDialogRuntime,
|
|
35
32
|
getActiveDialogKey,
|
|
36
33
|
getDialogRuntimeTokens,
|
|
37
|
-
require_react,
|
|
38
34
|
resetDialogRuntimeSessionState,
|
|
39
35
|
selectCurrentDialogKey,
|
|
40
36
|
setActiveDialogKey,
|
|
41
37
|
setDialogConfigError
|
|
42
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6YTOJY35.js";
|
|
39
|
+
import {
|
|
40
|
+
require_date_fns
|
|
41
|
+
} from "./chunk-M76ECQRD.js";
|
|
42
|
+
import {
|
|
43
|
+
require_react
|
|
44
|
+
} from "./chunk-YDH3FDFQ.js";
|
|
43
45
|
import {
|
|
44
46
|
DEFAULT_AUTO_EXECUTION_PROFILE,
|
|
45
47
|
DEFAULT_CONTEXT_WINDOW,
|
|
@@ -51,7 +53,7 @@ import {
|
|
|
51
53
|
getModelContextWindow,
|
|
52
54
|
getModelInfo,
|
|
53
55
|
resolveAutoExecutionProfile
|
|
54
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-UEV5WVQV.js";
|
|
55
57
|
import {
|
|
56
58
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
57
59
|
buildCompactionMetricsFromPlan,
|
|
@@ -63,11 +65,11 @@ import {
|
|
|
63
65
|
normalizeAssistantContentBuffer,
|
|
64
66
|
planCompression,
|
|
65
67
|
serializeMessageContent
|
|
66
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-G5SQVIFZ.js";
|
|
67
69
|
import {
|
|
68
70
|
findModelConfig,
|
|
69
71
|
getModelConfig
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-KNQ5LYVZ.js";
|
|
71
73
|
import {
|
|
72
74
|
toErrorMessage
|
|
73
75
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -75,14 +77,16 @@ import {
|
|
|
75
77
|
fetchMessages
|
|
76
78
|
} from "./chunk-FA4SY4F5.js";
|
|
77
79
|
import {
|
|
80
|
+
PLATFORM_HOSTED_GLM_53_FLASH_MODEL,
|
|
78
81
|
getPlatformHostedDeepSeekV4Price,
|
|
82
|
+
isPlatformHostedClaudeModel,
|
|
79
83
|
isPlatformHostedDeepSeekV4Model,
|
|
80
84
|
isPlatformHostedImageModel,
|
|
81
85
|
isPlatformHostedOpenAIImageModel
|
|
82
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-G4WSLTQF.js";
|
|
83
87
|
import {
|
|
84
88
|
nolotusId
|
|
85
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-CEVCRRHU.js";
|
|
86
90
|
import {
|
|
87
91
|
asRecordOrEmpty
|
|
88
92
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -92,7 +96,7 @@ import {
|
|
|
92
96
|
remove,
|
|
93
97
|
selectById,
|
|
94
98
|
write
|
|
95
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-273FJUYI.js";
|
|
96
100
|
import {
|
|
97
101
|
buildDialogAgentListIndexDeleteOps,
|
|
98
102
|
createDialogMessageKeyAndId,
|
|
@@ -117,7 +121,7 @@ import {
|
|
|
117
121
|
builtinAgentCatalogEntryById,
|
|
118
122
|
builtinRuntimeFallbackEntries,
|
|
119
123
|
isBuiltinPlatformAgentKey
|
|
120
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-EJFW7TRP.js";
|
|
121
125
|
import {
|
|
122
126
|
extractCustomId,
|
|
123
127
|
extractUserId,
|
|
@@ -134,21 +138,21 @@ import {
|
|
|
134
138
|
parseOwnerUserIdFromDbKey,
|
|
135
139
|
scheduleDeleteReplication,
|
|
136
140
|
selectIdentityUserId
|
|
137
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-XOJRZUPF.js";
|
|
138
142
|
import {
|
|
139
143
|
createClientLogger,
|
|
140
144
|
isAbortError
|
|
141
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-QOKAKDPE.js";
|
|
142
146
|
import {
|
|
143
147
|
isTombstoneRecord,
|
|
144
148
|
shouldReplaceWithNextRecord
|
|
145
149
|
} from "./chunk-GBRG75BQ.js";
|
|
146
|
-
import {
|
|
147
|
-
isRecord
|
|
148
|
-
} from "./chunk-KUG52IAP.js";
|
|
149
150
|
import {
|
|
150
151
|
asTrimmedString
|
|
151
152
|
} from "./chunk-3EUW3WEO.js";
|
|
153
|
+
import {
|
|
154
|
+
isRecord
|
|
155
|
+
} from "./chunk-KUG52IAP.js";
|
|
152
156
|
import {
|
|
153
157
|
asOptionalTrimmedString
|
|
154
158
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -3584,7 +3588,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
3584
3588
|
runtimeOptions: args.runtimeOptions
|
|
3585
3589
|
});
|
|
3586
3590
|
if (agentKeyToUse) {
|
|
3587
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
3591
|
+
const { streamAgentChatTurn } = await import("./agentSlice-3WYXIGEO.js");
|
|
3588
3592
|
await dispatch(
|
|
3589
3593
|
streamAgentChatTurn({
|
|
3590
3594
|
agentKey: agentKeyToUse,
|
|
@@ -4079,6 +4083,19 @@ var calculatePrice = ({
|
|
|
4079
4083
|
const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
|
|
4080
4084
|
return { cost: sanitizeCost(costs3.charge), pay: pay3 };
|
|
4081
4085
|
}
|
|
4086
|
+
if (provider === "nolo" && isPlatformHostedClaudeModel(modelName)) {
|
|
4087
|
+
const compatModel = getModelConfig("nolo", PLATFORM_HOSTED_GLM_53_FLASH_MODEL);
|
|
4088
|
+
const costs3 = calculateBasicCost(
|
|
4089
|
+
compatModel,
|
|
4090
|
+
usage,
|
|
4091
|
+
provider,
|
|
4092
|
+
externalPrice,
|
|
4093
|
+
billingServiceTier,
|
|
4094
|
+
nowMs
|
|
4095
|
+
);
|
|
4096
|
+
const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
|
|
4097
|
+
return { cost: sanitizeCost(costs3.charge), pay: pay3 };
|
|
4098
|
+
}
|
|
4082
4099
|
const zeroCostModel = {
|
|
4083
4100
|
name: modelName,
|
|
4084
4101
|
hasVision: false,
|
|
@@ -4786,7 +4803,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
4786
4803
|
metadataReadFailures
|
|
4787
4804
|
});
|
|
4788
4805
|
if (!plan.deleteCandidates.length) return plan;
|
|
4789
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
4806
|
+
const { deleteFileAction } = await import("./deleteFile-JYKRT7C3.js");
|
|
4790
4807
|
for (const candidate of plan.deleteCandidates) {
|
|
4791
4808
|
if (candidate.fileDbKey) {
|
|
4792
4809
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -4848,7 +4865,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
4848
4865
|
}
|
|
4849
4866
|
if (isCurrentDialog) {
|
|
4850
4867
|
await thunkApi.dispatch(resetMsgs());
|
|
4851
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
4868
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-5KPVIAWH.js");
|
|
4852
4869
|
dispatch(clearPendingAttachments2());
|
|
4853
4870
|
}
|
|
4854
4871
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -4856,39 +4873,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
4856
4873
|
|
|
4857
4874
|
// packages/chat/dialog/dialogSlice.ts
|
|
4858
4875
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
4859
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
4876
|
+
const { createDialogAction } = await import("./createDialogAction-WYQBSN6A.js");
|
|
4860
4877
|
return createDialogAction(args, thunkApi);
|
|
4861
4878
|
};
|
|
4862
4879
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
4863
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
4880
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-HTMTGX6Q.js");
|
|
4864
4881
|
return createAgentAutomationAction(args, thunkApi);
|
|
4865
4882
|
};
|
|
4866
4883
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
4867
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
4884
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-LRJ7NSOS.js");
|
|
4868
4885
|
return updateDialogTitleAction(args, thunkApi);
|
|
4869
4886
|
};
|
|
4870
4887
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
4871
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
4888
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-7BSQVVL5.js");
|
|
4872
4889
|
return addDialogAgentAction(args, thunkApi);
|
|
4873
4890
|
};
|
|
4874
4891
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
4875
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
4892
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-JGSCPML3.js");
|
|
4876
4893
|
return removeDialogAgentAction(args, thunkApi);
|
|
4877
4894
|
};
|
|
4878
4895
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
4879
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
4896
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-5VS2VKLZ.js");
|
|
4880
4897
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
4881
4898
|
};
|
|
4882
4899
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
4883
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
4900
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-LP433X4D.js");
|
|
4884
4901
|
return switchDialogAgentAction(args, thunkApi);
|
|
4885
4902
|
};
|
|
4886
4903
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
4887
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
4904
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-CORU64NM.js");
|
|
4888
4905
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
4889
4906
|
};
|
|
4890
4907
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
4891
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
4908
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-MEYK7RPD.js");
|
|
4892
4909
|
return handleSendMessageAction(args, thunkApi);
|
|
4893
4910
|
};
|
|
4894
4911
|
function clearDialogState() {
|
|
@@ -4901,7 +4918,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
4901
4918
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
4902
4919
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
4903
4920
|
try {
|
|
4904
|
-
const { createDocState } = await import("./docStore-
|
|
4921
|
+
const { createDocState } = await import("./docStore-34NXLCEO.js");
|
|
4905
4922
|
const pageKey = await createDocState(
|
|
4906
4923
|
{ slateData, title },
|
|
4907
4924
|
{ dispatch, getState }
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S3JNURSO.js";
|
|
9
9
|
import {
|
|
10
10
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
11
11
|
buildInvalidToolCallSelfHealResult,
|
|
12
12
|
parseToolCallArguments,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundMessages
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FGRCSLPV.js";
|
|
16
16
|
import {
|
|
17
17
|
createSSEParser,
|
|
18
18
|
createToolRunId,
|
|
@@ -23,27 +23,27 @@ import {
|
|
|
23
23
|
toolRunSetPending,
|
|
24
24
|
toolRunStarted,
|
|
25
25
|
toolRunSucceeded
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OSUZKICS.js";
|
|
27
27
|
import {
|
|
28
28
|
getPublicImageAgentMode
|
|
29
29
|
} from "./chunk-VIDPVFP3.js";
|
|
30
30
|
import {
|
|
31
31
|
getCurrentSpaceId
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZJ7UHBJS.js";
|
|
33
33
|
import {
|
|
34
34
|
addToolMessage,
|
|
35
35
|
messageStreamEnd,
|
|
36
36
|
messageStreaming,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UMCMW5R3.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-N6SLQMSA.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
45
45
|
tokenUsageLiveUpdate
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6YTOJY35.js";
|
|
47
47
|
import {
|
|
48
48
|
accumulateToolCallDelta,
|
|
49
49
|
createThinkParserState,
|
|
@@ -56,19 +56,19 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
EMPTY_ASSISTANT_REPAIR_PROMPT,
|
|
58
58
|
getModelInfo
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-UEV5WVQV.js";
|
|
60
60
|
import {
|
|
61
61
|
getApiEndpoint
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-KNQ5LYVZ.js";
|
|
63
63
|
import {
|
|
64
64
|
toErrorMessage
|
|
65
65
|
} from "./chunk-HNMXYYJR.js";
|
|
66
66
|
import {
|
|
67
67
|
selectCurrentServer
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-CEVCRRHU.js";
|
|
69
69
|
import {
|
|
70
70
|
write
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-273FJUYI.js";
|
|
72
72
|
import {
|
|
73
73
|
createDialogMessageKeyAndId,
|
|
74
74
|
dialogMessageKey,
|
|
@@ -80,16 +80,16 @@ import {
|
|
|
80
80
|
import {
|
|
81
81
|
createAsyncThunk,
|
|
82
82
|
selectIdentityToken
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-XOJRZUPF.js";
|
|
84
84
|
import {
|
|
85
85
|
isAbortError
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import {
|
|
88
|
-
isRecord
|
|
89
|
-
} from "./chunk-KUG52IAP.js";
|
|
86
|
+
} from "./chunk-QOKAKDPE.js";
|
|
90
87
|
import {
|
|
91
88
|
asTrimmedString
|
|
92
89
|
} from "./chunk-3EUW3WEO.js";
|
|
90
|
+
import {
|
|
91
|
+
isRecord
|
|
92
|
+
} from "./chunk-KUG52IAP.js";
|
|
93
93
|
import {
|
|
94
94
|
asOptionalTrimmedString
|
|
95
95
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HQTK2SFT.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EGVY3GMT.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZDS63Y4O.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-AGGIDPCZ.js";
|
|
7
7
|
import {
|
|
8
8
|
getModelConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KNQ5LYVZ.js";
|
|
10
10
|
import {
|
|
11
11
|
isPlatformHostedImageModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-G4WSLTQF.js";
|
|
13
13
|
import {
|
|
14
14
|
asOptionalFiniteNumber
|
|
15
15
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getAntigravityUserAgent,
|
|
12
12
|
normalizeAntigravityTokenPayload,
|
|
13
13
|
refreshAntigravityToken
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RFYXK6KI.js";
|
|
15
15
|
import {
|
|
16
16
|
writeOAuthCredential
|
|
17
17
|
} from "./chunk-FD36SCCD.js";
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
asOptionalFiniteNumber
|
|
23
23
|
} from "./chunk-WWC7I6TA.js";
|
|
24
|
-
import {
|
|
25
|
-
isRecord
|
|
26
|
-
} from "./chunk-KUG52IAP.js";
|
|
27
24
|
import {
|
|
28
25
|
asTrimmedString
|
|
29
26
|
} from "./chunk-3EUW3WEO.js";
|
|
27
|
+
import {
|
|
28
|
+
isRecord
|
|
29
|
+
} from "./chunk-KUG52IAP.js";
|
|
30
30
|
|
|
31
31
|
// packages/cli/oauth/callback-server.ts
|
|
32
32
|
import { createServer } from "node:http";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GKB4AZKV.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UMCMW5R3.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-O5FLGN2L.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-G4WSLTQF.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-273FJUYI.js";
|
|
29
29
|
import {
|
|
30
30
|
createAgentKey,
|
|
31
31
|
createDialogKey,
|
|
@@ -40,19 +40,19 @@ import {
|
|
|
40
40
|
} from "./chunk-BJIRLHJR.js";
|
|
41
41
|
import {
|
|
42
42
|
selectIdentityUserId
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XOJRZUPF.js";
|
|
44
44
|
import {
|
|
45
45
|
isDevelopment
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import {
|
|
48
|
-
isRecord
|
|
49
|
-
} from "./chunk-KUG52IAP.js";
|
|
46
|
+
} from "./chunk-QOKAKDPE.js";
|
|
50
47
|
import {
|
|
51
48
|
asTrimmedString
|
|
52
49
|
} from "./chunk-3EUW3WEO.js";
|
|
53
50
|
import {
|
|
54
51
|
asOptionalPositiveFiniteNumber
|
|
55
52
|
} from "./chunk-U6VC4MU4.js";
|
|
53
|
+
import {
|
|
54
|
+
isRecord
|
|
55
|
+
} from "./chunk-KUG52IAP.js";
|
|
56
56
|
import {
|
|
57
57
|
asOptionalTrimmedString
|
|
58
58
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getActiveDialogKey
|
|
3
|
+
} from "./chunk-6YTOJY35.js";
|
|
1
4
|
import {
|
|
2
5
|
require_date_fns
|
|
3
6
|
} from "./chunk-M76ECQRD.js";
|
|
4
|
-
import {
|
|
5
|
-
getActiveDialogKey
|
|
6
|
-
} from "./chunk-MRWGHF56.js";
|
|
7
7
|
import {
|
|
8
8
|
patch,
|
|
9
9
|
selectById
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-273FJUYI.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./chunk-4VNS5WPM.js";
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getAllServers,
|
|
3
3
|
getIsDesktopApp,
|
|
4
4
|
isAbortError
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
isRecord
|
|
8
|
-
} from "./chunk-KUG52IAP.js";
|
|
5
|
+
} from "./chunk-QOKAKDPE.js";
|
|
9
6
|
import {
|
|
10
7
|
asTrimmedString
|
|
11
8
|
} from "./chunk-3EUW3WEO.js";
|
|
12
9
|
import {
|
|
13
10
|
asOptionalPositiveFiniteNumber
|
|
14
11
|
} from "./chunk-U6VC4MU4.js";
|
|
12
|
+
import {
|
|
13
|
+
isRecord
|
|
14
|
+
} from "./chunk-KUG52IAP.js";
|
|
15
15
|
import {
|
|
16
16
|
API_ENDPOINTS,
|
|
17
17
|
SERVERS,
|