nolo-cli 0.33.0-alpha.13 → 0.33.0-alpha.14
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-S346WSM5.js → _executeModel-7JTMK4RG.js} +28 -28
- package/{action-OQWPNKAH.js → action-Q4KO7DDW.js} +4 -4
- package/{addContentAction-YVINZQTF.js → addContentAction-FRXDZKSI.js} +3 -3
- package/{addDialogAgentAction-6IOCIEPI.js → addDialogAgentAction-XL5G3LPR.js} +2 -2
- package/{agentDeleteCommand-6TTPXGS3.js → agentDeleteCommand-2TZHJ3RQ.js} +13 -13
- package/{agentEmailCommands-JIXFG6AM.js → agentEmailCommands-DPSDC3HD.js} +32 -32
- package/{agentListCommands-ZTT3KU35.js → agentListCommands-DTAXH3J6.js} +15 -15
- package/{agentMachineCommands-25DROOMX.js → agentMachineCommands-AZQTRWSO.js} +14 -14
- package/{agentRecordCommands-N4L55KRX.js → agentRecordCommands-MJM6ZF2G.js} +31 -31
- package/{agentRunCommand-4CKVVQ4P.js → agentRunCommand-PTOU5ADW.js} +31 -31
- package/{agentRuntimeLocal-O4IDDLPA.js → agentRuntimeLocal-Q7UJUPCH.js} +13 -13
- package/{agentSlice-47VUR2ZD.js → agentSlice-UU62MB3X.js} +3 -3
- package/{appDeleteCommands-SWXRVOE4.js → appDeleteCommands-GK2VPNKO.js} +15 -15
- package/{appDeployCommands-WQ3ZXXQH.js → appDeployCommands-VQLBLXQ4.js} +15 -15
- package/{appDeployStatusCommands-BM5CVBFC.js → appDeployStatusCommands-QBCR22M6.js} +15 -15
- package/{appGetCommands-SHI5HG4U.js → appGetCommands-XKKIUK2X.js} +15 -15
- package/{appListCommands-5IKTBNWH.js → appListCommands-H4H6BAIG.js} +15 -15
- package/{authCommand-VIHTCZDN.js → authCommand-EX5G5PF4.js} +7 -7
- package/{chatQueueReduxAdapter-GBGNFB7U.js → chatQueueReduxAdapter-HU54G64R.js} +13 -13
- package/{chunk-GJXRIOLS.js → chunk-2CNX3CJE.js} +4 -84
- package/{chunk-DF22DYA4.js → chunk-33TKEKZL.js} +3 -3
- package/{chunk-SHOLLFRN.js → chunk-3F66RTMA.js} +12 -12
- package/{chunk-SNFD447J.js → chunk-4GRUSXSX.js} +24 -24
- package/{chunk-PIDDBIHR.js → chunk-6BNXAFZD.js} +14 -215
- package/{chunk-3WXRAHCG.js → chunk-6MSSX7FI.js} +1 -1
- package/{chunk-UM4H3URE.js → chunk-6YH4UR3E.js} +3 -3
- package/{chunk-OR2HNLVO.js → chunk-7EPNNOL4.js} +6 -6
- package/{chunk-RPRRIFXV.js → chunk-7OGIWPNK.js} +1 -1
- package/{chunk-DFUPZE6V.js → chunk-7SLMYTSF.js} +1 -1
- package/{chunk-3GZXL6FM.js → chunk-AOWETAXX.js} +1 -1
- package/{chunk-2IVEXF7P.js → chunk-BHILFABL.js} +1 -1
- package/{chunk-3RUW3ONU.js → chunk-DDET6246.js} +1 -1
- package/{chunk-RJKIB55Y.js → chunk-EQ6HOWEJ.js} +2 -2
- package/{chunk-6YXDOOSH.js → chunk-FH7VUJN5.js} +2 -2
- package/{chunk-IXTC74NZ.js → chunk-FLUK32AS.js} +4 -4
- package/{chunk-AVO73UMB.js → chunk-FS5HQTXA.js} +102 -23
- package/{chunk-6KOS7ZBZ.js → chunk-FV63ICZC.js} +1 -1
- package/{chunk-4EKYN24Q.js → chunk-G3IZYZYL.js} +1 -1
- package/{chunk-MIRUCHZP.js → chunk-GHDWBVDC.js} +11 -17
- package/{chunk-3UG2IIZ3.js → chunk-GTEHJWXU.js} +1 -1
- package/{chunk-DKMOY3QI.js → chunk-HCOIKLSH.js} +2 -2
- package/{chunk-TIX6O4IC.js → chunk-HLDRWLQT.js} +11 -11
- package/{chunk-VBUQYOX7.js → chunk-IEHZHWN7.js} +1 -1
- package/{chunk-CSNOI72O.js → chunk-IPVRJ7YP.js} +4 -4
- package/{chunk-2QTEYCR7.js → chunk-JFUW3UTO.js} +1 -1
- package/{chunk-75U775RZ.js → chunk-KIL7V27H.js} +1 -1
- package/{chunk-7XSIRXOO.js → chunk-KJRULCTO.js} +8 -8
- package/{chunk-4F5M2MW5.js → chunk-KMMQFY5O.js} +1 -1
- package/{chunk-ZZV52MOO.js → chunk-KT4XMX76.js} +1 -1
- package/{chunk-IR6W62Q6.js → chunk-KZB5SNYH.js} +1 -14
- package/{chunk-ASDXPOJH.js → chunk-L5XKDBSH.js} +1 -1
- package/{chunk-SCUETSRP.js → chunk-LAZTMWIU.js} +1 -1
- package/{chunk-PQQXQV6V.js → chunk-MNG4T5EG.js} +3 -3
- package/{chunk-7YYHKBJP.js → chunk-OQVRTSZ5.js} +1 -1
- package/{chunk-PWI34D3P.js → chunk-PXNTCR3F.js} +3 -3
- package/{chunk-UNOTBWZZ.js → chunk-QKCMP3LU.js} +2 -2
- package/{chunk-IKWTTKWG.js → chunk-V4MT7AEN.js} +1 -1
- package/{chunk-CPYYM4RJ.js → chunk-VIRTYWWE.js} +4 -5
- package/{chunk-5WEQKEFO.js → chunk-WO42AOGQ.js} +2 -2
- package/{chunk-GUC65EFO.js → chunk-XSFNKLAP.js} +16 -18
- package/{createAgentAutomationAction-7DWATWIT.js → createAgentAutomationAction-UUB7I2IZ.js} +14 -14
- package/{createDialogAction-3CPIR267.js → createDialogAction-6L4UPVOM.js} +15 -15
- package/{createPageAction-5GUFQTAW.js → createPageAction-YHKPY27S.js} +14 -14
- package/{dbSlice-UI2VCBLG.js → dbSlice-2YD2PZER.js} +2 -2
- package/{dialogCommands-XKC5TIAA.js → dialogCommands-4CM7WLJU.js} +13 -13
- package/{dialogSlice-YFWNV3JJ.js → dialogSlice-IGMZSFYT.js} +13 -13
- package/{docCreateCommands-MRH4H6DW.js → docCreateCommands-J73A5E4E.js} +14 -14
- package/{docDeleteCommands-KJJU6NLM.js → docDeleteCommands-OQARRE6H.js} +14 -14
- package/{docReadCommands-JXOSUS5I.js → docReadCommands-EOF3SUF3.js} +14 -14
- package/{docStore-SGQ6EE5P.js → docStore-XAICS4VA.js} +15 -15
- package/{docUpdateCommands-AGUFF52W.js → docUpdateCommands-3NBWWIX3.js} +14 -14
- package/{getPricing-L2ENXWHV.js → getPricing-J4VXWR5B.js} +3 -3
- package/{handleSendMessageAction-RGCSLENY.js → handleSendMessageAction-ET2RT4YC.js} +13 -13
- package/index.js +47 -47
- package/{machineCommands-P5DVPETV.js → machineCommands-SJTKJRAK.js} +31 -31
- package/{machineWsRunDispatch-66ZCBLIC.js → machineWsRunDispatch-RDRIH27N.js} +31 -31
- package/{models-OX2S5C6Q.js → models-SQFOI4FI.js} +2 -2
- package/package.json +1 -1
- package/{read-2VHEHCAN.js → read-526GJR3R.js} +1 -1
- package/{readDocTool-CSWD6NPC.js → readDocTool-JNEZUOSM.js} +1 -1
- package/{readlineWorkspace-U2LVP43X.js → readlineWorkspace-T2MLNAVK.js} +32 -32
- package/{removeDialogAgentAction-2T7BPM3T.js → removeDialogAgentAction-NPMEFEJW.js} +4 -4
- package/{runAgentClientLoop-WVL2KOS5.js → runAgentClientLoop-H7HEYRIW.js} +25 -25
- package/{setDialogExtraReferencesAction-GPT37HTW.js → setDialogExtraReferencesAction-ZZ6QWAG2.js} +3 -3
- package/{setPrimaryDialogAgentAction-3746P7IW.js → setPrimaryDialogAgentAction-BG72QA6S.js} +4 -4
- package/{settingSlice-FIFOQ6OR.js → settingSlice-JCCLCXZB.js} +3 -3
- package/{spaceCommands-O33WUJEV.js → spaceCommands-EWIIKS7T.js} +13 -13
- package/{spaceSlice-R5X62SG3.js → spaceSlice-IEUHVARG.js} +14 -14
- package/{streamAgentChatTurn-CLC5VQYO.js → streamAgentChatTurn-DXKMGZTX.js} +36 -46
- package/{switchDialogAgentAction-MQTUTQHL.js → switchDialogAgentAction-YPGPM2LL.js} +2 -2
- package/{tools-4QHXZBRQ.js → tools-36F2CQ4F.js} +21 -21
- package/{tuiSummaryLlmCaller-EAWQ3IZX.js → tuiSummaryLlmCaller-WUVAOIYU.js} +9 -9
- package/{updateDialogTitleAction-IOSJSJ5S.js → updateDialogTitleAction-N7UF3L3R.js} +14 -14
|
@@ -1,89 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MODEL_LOOKUP_MAP
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7SLMYTSF.js";
|
|
4
4
|
import {
|
|
5
5
|
ALL_MODELS
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JFUW3UTO.js";
|
|
7
7
|
import {
|
|
8
|
-
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY
|
|
9
|
-
|
|
10
|
-
builtinRuntimeFallbackEntries,
|
|
11
|
-
isBuiltinPlatformAgentKey
|
|
12
|
-
} from "./chunk-IR6W62Q6.js";
|
|
13
|
-
import {
|
|
14
|
-
parsePublicAgentId,
|
|
15
|
-
publicAgentKey
|
|
16
|
-
} from "./chunk-BJIRLHJR.js";
|
|
17
|
-
|
|
18
|
-
// packages/agent-runtime/builtinPlatformAgentRoute.ts
|
|
19
|
-
function resolveBuiltinAgentRuntimeFields(agentKey) {
|
|
20
|
-
if (!isBuiltinPlatformAgentKey(agentKey)) return null;
|
|
21
|
-
const entry = builtinAgentCatalogEntryById(parsePublicAgentId(agentKey));
|
|
22
|
-
if (!entry) return null;
|
|
23
|
-
return { provider: entry.provider, model: entry.model };
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// packages/agent-runtime/builtinPlatformAgentConfigs.ts
|
|
27
|
-
function buildConfig(e) {
|
|
28
|
-
const key = publicAgentKey(e.id);
|
|
29
|
-
const rawRecord = {
|
|
30
|
-
dbKey: key,
|
|
31
|
-
isPublic: true,
|
|
32
|
-
provider: e.provider,
|
|
33
|
-
model: e.model,
|
|
34
|
-
apiSource: e.apiSource ?? "platform",
|
|
35
|
-
useServerProxy: e.useServerProxy ?? true
|
|
36
|
-
};
|
|
37
|
-
if (e.hasImageOutput) rawRecord.hasImageOutput = true;
|
|
38
|
-
if (e.imageModel) rawRecord.imageModel = e.imageModel;
|
|
39
|
-
if (e.imageWorkflow) rawRecord.imageWorkflow = e.imageWorkflow;
|
|
40
|
-
if (e.imageConfig) rawRecord.imageConfig = e.imageConfig;
|
|
41
|
-
return {
|
|
42
|
-
key,
|
|
43
|
-
name: e.name,
|
|
44
|
-
provider: e.provider,
|
|
45
|
-
model: e.model,
|
|
46
|
-
apiSource: e.apiSource ?? "platform",
|
|
47
|
-
useServerProxy: e.useServerProxy ?? true,
|
|
48
|
-
rawRecord
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
var BUILTIN_PLATFORM_AGENT_CONFIGS = Object.fromEntries(
|
|
52
|
-
builtinRuntimeFallbackEntries().map((e) => [publicAgentKey(e.id), buildConfig(e)])
|
|
53
|
-
);
|
|
54
|
-
function resolveBuiltinPlatformAgentConfig(agentRef) {
|
|
55
|
-
return BUILTIN_PLATFORM_AGENT_CONFIGS[agentRef] ?? null;
|
|
56
|
-
}
|
|
57
|
-
function resolveBuiltinPlatformAgentRecord(agentRef) {
|
|
58
|
-
const config = resolveBuiltinPlatformAgentConfig(agentRef);
|
|
59
|
-
if (!config) return null;
|
|
60
|
-
return {
|
|
61
|
-
...config.rawRecord,
|
|
62
|
-
dbKey: agentRef,
|
|
63
|
-
...config.name ? { name: config.name } : {}
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function applyBuiltinAgentRuntimeOverride(agentKey, record) {
|
|
67
|
-
const fields = resolveBuiltinAgentRuntimeFields(agentKey);
|
|
68
|
-
if (!fields) return record;
|
|
69
|
-
const current = record;
|
|
70
|
-
const rawNeedsOverride = current.rawRecord != null && (current.rawRecord.provider !== fields.provider || current.rawRecord.model !== fields.model);
|
|
71
|
-
if (current.provider === fields.provider && current.model === fields.model && !rawNeedsOverride) {
|
|
72
|
-
return record;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
...record,
|
|
76
|
-
provider: fields.provider,
|
|
77
|
-
model: fields.model,
|
|
78
|
-
...current.rawRecord ? {
|
|
79
|
-
rawRecord: {
|
|
80
|
-
...current.rawRecord,
|
|
81
|
-
provider: fields.provider,
|
|
82
|
-
model: fields.model
|
|
83
|
-
}
|
|
84
|
-
} : {}
|
|
85
|
-
};
|
|
86
|
-
}
|
|
8
|
+
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY
|
|
9
|
+
} from "./chunk-KZB5SNYH.js";
|
|
87
10
|
|
|
88
11
|
// packages/ai/llm/getModelContextWindow.ts
|
|
89
12
|
var DEFAULT_CONTEXT_WINDOW = 256e3;
|
|
@@ -230,9 +153,6 @@ var DEFAULT_AUTO_EXECUTION_PROFILE = AUTO_EXECUTION_PROFILES[DEFAULT_AUTO_EXECUT
|
|
|
230
153
|
var resolveAutoExecutionProfile = (tier) => AUTO_EXECUTION_PROFILES[tier ?? DEFAULT_AUTO_EXECUTION_TIER] ?? DEFAULT_AUTO_EXECUTION_PROFILE;
|
|
231
154
|
|
|
232
155
|
export {
|
|
233
|
-
resolveBuiltinPlatformAgentConfig,
|
|
234
|
-
resolveBuiltinPlatformAgentRecord,
|
|
235
|
-
applyBuiltinAgentRuntimeOverride,
|
|
236
156
|
DEFAULT_CONTEXT_WINDOW,
|
|
237
157
|
getModelContextWindow,
|
|
238
158
|
getModelInfo,
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
providerHttpFailure,
|
|
8
8
|
readSseFrames,
|
|
9
9
|
throwIfChatCompletionStreamFailed
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EQ6HOWEJ.js";
|
|
11
11
|
import {
|
|
12
12
|
sanitizeForOutbound
|
|
13
13
|
} from "./chunk-T27IEBNQ.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveHistoricalToolContentCap
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6BNXAFZD.js";
|
|
17
17
|
import {
|
|
18
18
|
createThinkParserState,
|
|
19
19
|
createToolCallAccumulator,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
buildProviderAuthHeaders,
|
|
40
40
|
buildProviderExecutionPlan
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OQVRTSZ5.js";
|
|
42
42
|
import {
|
|
43
43
|
NOLO_WORKSPACE_TOOL_NAMES,
|
|
44
44
|
buildNoloWorkspaceCommandArgs,
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
6
6
|
isAntigravityOAuthAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LAZTMWIU.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText,
|
|
10
10
|
fetchAndSerializeTable,
|
|
11
11
|
resolveBuiltinSkillPage,
|
|
12
12
|
waitForAbortableDelay
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4GRUSXSX.js";
|
|
14
14
|
import {
|
|
15
15
|
createDrainExhaustedResponse,
|
|
16
16
|
isCoreDrainingBody,
|
|
@@ -20,19 +20,19 @@ import {
|
|
|
20
20
|
} from "./chunk-RQSOAMPJ.js";
|
|
21
21
|
import {
|
|
22
22
|
slateToSimplifiedMarkdown
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KIL7V27H.js";
|
|
24
24
|
import {
|
|
25
25
|
extractCategorizedMentions
|
|
26
26
|
} from "./chunk-GM6PU7B6.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchAndCacheMessages
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FS5HQTXA.js";
|
|
30
30
|
import {
|
|
31
31
|
shouldUseServerProxy
|
|
32
32
|
} from "./chunk-YYLHWIW6.js";
|
|
33
33
|
import {
|
|
34
34
|
fetchServerSyncedCredential
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FLUK32AS.js";
|
|
36
36
|
import {
|
|
37
37
|
buildCurrentTimeBlock,
|
|
38
38
|
buildIdentityBlock,
|
|
@@ -48,20 +48,20 @@ import {
|
|
|
48
48
|
} from "./chunk-NNWHHCVP.js";
|
|
49
49
|
import {
|
|
50
50
|
buildProviderAuthHeaders
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-OQVRTSZ5.js";
|
|
52
52
|
import {
|
|
53
53
|
estimateTokenCount
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-HCOIKLSH.js";
|
|
55
55
|
import {
|
|
56
56
|
isOpenAiResponsesModel,
|
|
57
57
|
resolvePlatformChatCompletionsEndpoint,
|
|
58
58
|
resolvePlatformResponsesEndpoint
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VIRTYWWE.js";
|
|
60
60
|
import {
|
|
61
61
|
clampReasoningEffort,
|
|
62
62
|
getModelConfig,
|
|
63
63
|
isModelSupportReasoningEffort
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-7SLMYTSF.js";
|
|
65
65
|
import {
|
|
66
66
|
createFileCredentialBroker
|
|
67
67
|
} from "./chunk-RQFO3CAF.js";
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
isDeepInfraKimiModel,
|
|
86
86
|
isFireworksKimiModel,
|
|
87
87
|
resolveFireworksKimiModel
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-7EPNNOL4.js";
|
|
89
89
|
import {
|
|
90
90
|
createSpaceKey
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-KMMQFY5O.js";
|
|
92
92
|
import {
|
|
93
93
|
read
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-6YH4UR3E.js";
|
|
95
95
|
import {
|
|
96
96
|
asTrimmedLowercaseString
|
|
97
97
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isAgentUnavailableNow,
|
|
10
10
|
sortSafeAgentSummaries,
|
|
11
11
|
toSafeAgentSummary
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BHILFABL.js";
|
|
13
13
|
import {
|
|
14
14
|
getUserDataItemTimestamp,
|
|
15
15
|
mergeAndDedupUserData
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readPageFunc,
|
|
21
21
|
readPageFunctionSchema,
|
|
22
22
|
slateToSimplifiedMarkdown
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KIL7V27H.js";
|
|
24
24
|
import {
|
|
25
25
|
markdownToSlate
|
|
26
26
|
} from "./chunk-INZZJSQF.js";
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
} from "./chunk-VF4K2QE6.js";
|
|
36
36
|
import {
|
|
37
37
|
createDocState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MNG4T5EG.js";
|
|
39
39
|
import {
|
|
40
40
|
setDialogExtraReferencesAction
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-L5XKDBSH.js";
|
|
42
42
|
import {
|
|
43
43
|
BUILTIN_OBJECT_SKILL_IDS,
|
|
44
44
|
buildBuiltinObjectSkillConfig,
|
|
45
45
|
buildBuiltinObjectSkillDbKey,
|
|
46
46
|
buildBuiltinObjectSkillPageContent,
|
|
47
47
|
createDialogAction
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IPVRJ7YP.js";
|
|
49
49
|
import {
|
|
50
50
|
addCategory,
|
|
51
51
|
addContentToSpace,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
loadTableRows,
|
|
66
66
|
updateContentCategory,
|
|
67
67
|
updateContentTitle
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-KJRULCTO.js";
|
|
69
69
|
import {
|
|
70
70
|
incrementFailedSteps,
|
|
71
71
|
incrementStepsExecuted,
|
|
@@ -79,13 +79,13 @@ import {
|
|
|
79
79
|
uiAskChoiceFunc,
|
|
80
80
|
uiAskChoiceFunctionSchema,
|
|
81
81
|
updateStep
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-FS5HQTXA.js";
|
|
83
83
|
import {
|
|
84
84
|
createAgent,
|
|
85
85
|
runLlm,
|
|
86
86
|
streamAgentChatTurn,
|
|
87
87
|
updateAgent
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-FLUK32AS.js";
|
|
89
89
|
import {
|
|
90
90
|
NOLO_WORKSPACE_TOOL_NAMES,
|
|
91
91
|
buildAgentRuntimeAgentLookupKeys,
|
|
@@ -103,10 +103,10 @@ import {
|
|
|
103
103
|
} from "./chunk-ADLYMQB6.js";
|
|
104
104
|
import {
|
|
105
105
|
buildDatabaseFileContentUrl
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-HCOIKLSH.js";
|
|
107
107
|
import {
|
|
108
108
|
DEFAULT_MODEL
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-7SLMYTSF.js";
|
|
110
110
|
import {
|
|
111
111
|
CODING_SKILL_SLUGS,
|
|
112
112
|
buildCodingSkillConfig,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
} from "./chunk-HNMXYYJR.js";
|
|
161
161
|
import {
|
|
162
162
|
shareResourceAction
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-DDET6246.js";
|
|
164
164
|
import {
|
|
165
165
|
AGENT_UPDATE_FIELD_NAMES,
|
|
166
166
|
nolotusId,
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
selectAutoApproveSelfUpdateFields,
|
|
169
169
|
selectCurrentServer,
|
|
170
170
|
selectSyncServers
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-QKCMP3LU.js";
|
|
172
172
|
import {
|
|
173
173
|
asRecordOrEmpty
|
|
174
174
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
addContentAction,
|
|
177
177
|
createSpaceKey,
|
|
178
178
|
normalizeSpaceId
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-KMMQFY5O.js";
|
|
180
180
|
import {
|
|
181
181
|
patch,
|
|
182
182
|
read,
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
selectById,
|
|
186
186
|
toTimestampMs,
|
|
187
187
|
write
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-6YH4UR3E.js";
|
|
189
189
|
import {
|
|
190
190
|
SEPARATOR,
|
|
191
191
|
createAgentKey,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
import {
|
|
212
212
|
DEFAULT_CODE_PLANNER_EXECUTOR_CANDIDATE_KEYS,
|
|
213
213
|
readAction
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-KZB5SNYH.js";
|
|
215
215
|
import {
|
|
216
216
|
createAsyncThunk,
|
|
217
217
|
getRuntimeServerContext,
|
|
@@ -11383,7 +11383,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
11383
11383
|
workspace: { mode: "lease" }
|
|
11384
11384
|
};
|
|
11385
11385
|
var findModelConfig = async (modelName, provider) => {
|
|
11386
|
-
const { ALL_MODELS } = await import("./models-
|
|
11386
|
+
const { ALL_MODELS } = await import("./models-SQFOI4FI.js");
|
|
11387
11387
|
const name = toTrimmedString(modelName);
|
|
11388
11388
|
const prov = toTrimmedString(provider ?? "");
|
|
11389
11389
|
if (!name) return null;
|
|
@@ -11624,7 +11624,7 @@ var buildFormDataFromArgs = async (args) => {
|
|
|
11624
11624
|
const trimmedModel = toTrimmedString(model);
|
|
11625
11625
|
const trimmedProvider = toTrimmedString(provider);
|
|
11626
11626
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
11627
|
-
const { getModelPricing } = await import("./getPricing-
|
|
11627
|
+
const { getModelPricing } = await import("./getPricing-J4VXWR5B.js");
|
|
11628
11628
|
const normalizedTools = tools ?? [];
|
|
11629
11629
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
11630
11630
|
const formData = {
|
|
@@ -14907,7 +14907,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
14907
14907
|
const deletedDialogIds = [];
|
|
14908
14908
|
const deletedDialogKeys = [];
|
|
14909
14909
|
const failures = [];
|
|
14910
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
14910
|
+
const { deleteDialog } = await import("./dialogSlice-IGMZSFYT.js");
|
|
14911
14911
|
for (const target of targets) {
|
|
14912
14912
|
try {
|
|
14913
14913
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -15182,7 +15182,7 @@ var readSkillDocFunctionSchema = {
|
|
|
15182
15182
|
}
|
|
15183
15183
|
};
|
|
15184
15184
|
async function readSkillDocFunc(args, thunkApi) {
|
|
15185
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
15185
|
+
const { buildReadDocResult } = await import("./readDocTool-JNEZUOSM.js");
|
|
15186
15186
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
15187
15187
|
if (typeof id !== "string" || !id.trim()) {
|
|
15188
15188
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -20637,7 +20637,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
|
|
|
20637
20637
|
var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
|
|
20638
20638
|
async function addImageContentToSpace(input) {
|
|
20639
20639
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
20640
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
20640
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-FRXDZKSI.js")).addContentAction;
|
|
20641
20641
|
await addContentAction2(
|
|
20642
20642
|
{
|
|
20643
20643
|
spaceId: input.spaceId,
|
|
@@ -24434,7 +24434,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
24434
24434
|
if (!executionInput) {
|
|
24435
24435
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
24436
24436
|
}
|
|
24437
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
24437
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-36F2CQ4F.js");
|
|
24438
24438
|
const { executor } = findToolExecutor2(run.toolName);
|
|
24439
24439
|
toolRunStarted({
|
|
24440
24440
|
id: run.id,
|
|
@@ -24458,7 +24458,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
24458
24458
|
const latestState = thunkApi.getState();
|
|
24459
24459
|
const userId = latestState.auth?.currentUser?.userId;
|
|
24460
24460
|
if (userId) {
|
|
24461
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
24461
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-IEUHVARG.js");
|
|
24462
24462
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
24463
24463
|
}
|
|
24464
24464
|
}
|
|
@@ -26941,7 +26941,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
26941
26941
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
26942
26942
|
};
|
|
26943
26943
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
26944
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
26944
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-XAICS4VA.js");
|
|
26945
26945
|
if (getDocState().pageKey === id) {
|
|
26946
26946
|
applyExternalDocUpdate({
|
|
26947
26947
|
slateData: finalSlateData,
|
|
@@ -26966,7 +26966,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
26966
26966
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
26967
26967
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
26968
26968
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
26969
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
26969
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-JCCLCXZB.js")).setSettings;
|
|
26970
26970
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
26971
26971
|
}
|
|
26972
26972
|
var updateUserPreferenceProfileFunctionSchema = {
|