nolo-cli 0.69.0-alpha.3 → 0.70.0-alpha.2
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-DFUPTH24.js → _executeModel-GOV2OHC7.js} +12 -12
- package/{agentDeleteCommand-VNTOS6BE.js → agentDeleteCommand-FSIMTL4K.js} +1 -1
- package/{agentEmailCommands-5SUJUECH.js → agentEmailCommands-YZQ2VVHY.js} +12 -12
- package/{agentListCommands-RA5NNNII.js → agentListCommands-2YWZYH52.js} +1 -1
- package/{agentMachineCommands-Q3IGMXRD.js → agentMachineCommands-UCYM5RRQ.js} +2 -2
- package/{agentRecordCommands-NSGMEUHK.js → agentRecordCommands-TPBYOPMA.js} +12 -12
- package/{agentRunCommand-BO77DK64.js → agentRunCommand-XUMZAHKJ.js} +12 -12
- package/{agentRuntimeLocal-WDIBAXHF.js → agentRuntimeLocal-O6DZDTK4.js} +1 -1
- package/{agentSlice-FT52UJXF.js → agentSlice-ZPODGT3P.js} +1 -1
- package/{appDeleteCommands-OVJIOW2J.js → appDeleteCommands-HIJNWSK7.js} +1 -1
- package/{appDeployCommands-BF3I5ZYA.js → appDeployCommands-XULV2ZN6.js} +1 -1
- package/{appDeployStatusCommands-EYEKXIWI.js → appDeployStatusCommands-ETY4Z7K6.js} +1 -1
- package/{appGetCommands-HIGRIFZO.js → appGetCommands-M253LKDA.js} +1 -1
- package/{appListCommands-BIP7SMU4.js → appListCommands-XYFXJMNP.js} +1 -1
- package/{chatQueueReduxAdapter-K5KB3KAK.js → chatQueueReduxAdapter-Z67OC4WO.js} +2 -2
- package/{chunk-RW76G3YN.js → chunk-3IT2PFHL.js} +1 -1
- package/{chunk-CLUJ44KW.js → chunk-3NVAU4WZ.js} +1 -1
- package/{chunk-ZW7BZH2L.js → chunk-AAWBX67U.js} +5 -5
- package/{chunk-3BIRZJCI.js → chunk-BLCUMZNV.js} +1 -1
- package/{chunk-ETVDF66U.js → chunk-BVHTMYTM.js} +9 -9
- package/{chunk-LWFMRMP2.js → chunk-CJ23A7U4.js} +1 -1
- package/{chunk-VD2NV6C5.js → chunk-DQAEUZSQ.js} +2 -2
- package/{chunk-R2PJ4WKV.js → chunk-F657NADX.js} +3 -3
- package/{chunk-GUR5O7MB.js → chunk-FCCT2LU2.js} +98 -10
- package/{chunk-AJF6YRN7.js → chunk-MYU3MJCF.js} +5 -1
- package/{chunk-WGBSEJ5K.js → chunk-NUTDASGX.js} +2 -2
- package/{chunk-I5N43M6M.js → chunk-PWGW5JTK.js} +1 -1
- package/{chunk-5CCXNZTD.js → chunk-SPQ7GSUX.js} +6 -6
- package/{chunk-62NIW5JP.js → chunk-TVDZABBT.js} +4 -4
- package/{chunk-FUZRQKU2.js → chunk-VLX45P4L.js} +3 -3
- package/{chunk-L77RUZVI.js → chunk-YYLLD6H6.js} +3 -3
- package/{chunk-LW2BWHRM.js → chunk-ZIUMSKK4.js} +8 -8
- package/{codingSkills-DB4QPUND.js → codingSkills-E6KSDNSJ.js} +2 -2
- package/{contentThunks-EAWBISNO.js → contentThunks-VGXYTSKU.js} +3 -3
- package/{createAgentAutomationAction-QSJZAWUD.js → createAgentAutomationAction-6YBZFLET.js} +3 -3
- package/{createDialogAction-7OMDWUQ2.js → createDialogAction-N7CTNKB5.js} +5 -5
- package/{createPageAction-5YRHFLR5.js → createPageAction-RXOOVKVO.js} +3 -3
- package/{dialogCommands-J6JW5543.js → dialogCommands-PE5FEFJ5.js} +1 -1
- package/{dialogSlice-7S2IE53T.js → dialogSlice-NLSKRXBN.js} +2 -2
- package/{docCreateCommands-OKBRNLDP.js → docCreateCommands-IPDFZVPG.js} +1 -1
- package/{docDeleteCommands-G7L466BF.js → docDeleteCommands-VQ4Y66CM.js} +1 -1
- package/{docReadCommands-LR77KH6M.js → docReadCommands-PD33VV27.js} +1 -1
- package/{docStore-AETL5FRN.js → docStore-CIAYE5WP.js} +1 -1
- package/{docUpdateCommands-ZOICHED3.js → docUpdateCommands-CGUQ2JY3.js} +1 -1
- package/{handleSendMessageAction-2BZIEE2M.js → handleSendMessageAction-ENUNMW3Z.js} +2 -2
- package/index.js +40 -40
- package/{machineCommands-XW5Y7WIZ.js → machineCommands-APIJY7UA.js} +12 -12
- package/{machineWsRunDispatch-W5CWYIMG.js → machineWsRunDispatch-42WKRDE7.js} +12 -12
- package/package.json +1 -1
- package/{readlineWorkspace-UPNB3WUE.js → readlineWorkspace-5HKD2RQP.js} +12 -12
- package/{runAgentClientLoop-CAS5IJWE.js → runAgentClientLoop-A4OXYOCL.js} +10 -10
- package/{spaceCommands-FZXF2UST.js → spaceCommands-Y47DDAQD.js} +1 -1
- package/{streamAgentChatTurn-3RGW4I7T.js → streamAgentChatTurn-YHKNJEFR.js} +11 -11
- package/{tools-YFW6QGIZ.js → tools-S5RSWF3R.js} +8 -8
- package/{updateDialogTitleAction-QAUF6YRW.js → updateDialogTitleAction-BU2VPE5B.js} +3 -3
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-DQAEUZSQ.js";
|
|
85
85
|
import {
|
|
86
86
|
BUILTIN_OBJECT_SKILL_IDS,
|
|
87
87
|
buildBuiltinObjectSkillConfig,
|
|
88
88
|
buildBuiltinObjectSkillDbKey,
|
|
89
89
|
buildBuiltinObjectSkillPageContent,
|
|
90
90
|
createDialogAction
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-VLX45P4L.js";
|
|
92
92
|
import {
|
|
93
93
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
94
94
|
addContentToSpace,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
updateContentCategory,
|
|
107
107
|
updateContentTitle,
|
|
108
108
|
writeStoredCollapsedCategories
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-BLCUMZNV.js";
|
|
110
110
|
import {
|
|
111
111
|
getCurrentSpaceId,
|
|
112
112
|
getCurrentSpaceIdRaw,
|
|
@@ -128,14 +128,14 @@ import {
|
|
|
128
128
|
selectMsgById,
|
|
129
129
|
uiAskChoiceFunc,
|
|
130
130
|
uiAskChoiceFunctionSchema
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ZIUMSKK4.js";
|
|
132
132
|
import {
|
|
133
133
|
createAgent,
|
|
134
134
|
deleteServerSyncedCredential,
|
|
135
135
|
runLlm,
|
|
136
136
|
streamAgentChatTurn,
|
|
137
137
|
updateAgent
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-F657NADX.js";
|
|
139
139
|
import {
|
|
140
140
|
getActiveDialogKey,
|
|
141
141
|
selectCurrentDialogKey,
|
|
@@ -150,10 +150,10 @@ import {
|
|
|
150
150
|
buildCodingSkillContentBySlug,
|
|
151
151
|
buildCodingSkillId,
|
|
152
152
|
buildCodingSkillPageKey
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-3IT2PFHL.js";
|
|
154
154
|
import {
|
|
155
155
|
CAPABILITY_PACKS
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-MYU3MJCF.js";
|
|
157
157
|
import {
|
|
158
158
|
buildSkillDocMarkdown,
|
|
159
159
|
normalizeSkillModalities,
|
|
@@ -4672,7 +4672,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4672
4672
|
const deletedDialogIds = [];
|
|
4673
4673
|
const deletedDialogKeys = [];
|
|
4674
4674
|
const failures = [];
|
|
4675
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
4675
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-NLSKRXBN.js");
|
|
4676
4676
|
for (const target of targets) {
|
|
4677
4677
|
try {
|
|
4678
4678
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -9653,6 +9653,82 @@ async function wereadGatewayFunc(args, thunkApi) {
|
|
|
9653
9653
|
return callToolApi(thunkApi, "/api/weread/gateway", args, { withAuth: true });
|
|
9654
9654
|
}
|
|
9655
9655
|
|
|
9656
|
+
// packages/ai/tools/watchCompletionTool.ts
|
|
9657
|
+
var WATCH_COMPLETION_API_PATH = "/api/watch-completion";
|
|
9658
|
+
var watchCompletionFunctionSchema = {
|
|
9659
|
+
name: "watchCompletion",
|
|
9660
|
+
description: "\u767B\u8BB0\u4E00\u6B21\u300C\u4EFB\u52A1\u5B8C\u6210\u8BA2\u9605\u300D\u540E\u7ACB\u5373\u8FD4\u56DE\uFF1A\u88AB\u8FFD\u8E2A\u7684 nolo-ci \u4EFB\u52A1\uFF08\u5982 push \u89E6\u53D1\u7684\u90E8\u7F72\uFF09\u5230\u8FBE\u7EC8\u6001\u65F6\uFF0C\u670D\u52A1\u7AEF\u4F1A\u81EA\u52A8\u5524\u9192\u672C\u5BF9\u8BDD\u5E76\u4EA4\u4ED8\u7ED3\u679C\u3002\u8C03\u7528\u540E\u4E0D\u8981\u8F6E\u8BE2\u72B6\u6001\u3001\u4E0D\u8981\u7B49\u5F85\u2014\u2014\u76F4\u63A5\u5411\u7528\u6237\u786E\u8BA4\u8BA2\u9605\u5DF2\u5EFA\u7ACB\u5373\u53EF\u3002ref \u4F20 jobId \u6216\u76EE\u6807 commit sha\uFF1Benvironment \u662F\u76EE\u6807\u90E8\u7F72\u73AF\u5883\u3002",
|
|
9661
|
+
parameters: {
|
|
9662
|
+
type: "object",
|
|
9663
|
+
properties: {
|
|
9664
|
+
kind: {
|
|
9665
|
+
type: "string",
|
|
9666
|
+
enum: ["nolo-ci-job"],
|
|
9667
|
+
description: "\u8BA2\u9605\u6765\u6E90\u7C7B\u578B\u3002\u5F53\u524D\u652F\u6301 nolo-ci-job\uFF08push \u89E6\u53D1\u7684 nolo-ci \u90E8\u7F72/\u53D1\u5E03\u4EFB\u52A1\uFF09\u3002"
|
|
9668
|
+
},
|
|
9669
|
+
ref: {
|
|
9670
|
+
type: "string",
|
|
9671
|
+
description: "\u7CBE\u786E\u8FFD\u8E2A\u76EE\u6807\uFF1Anolo-ci \u7684 jobId\uFF0C\u6216\u671F\u671B\u4E0A\u7EBF\u7684 commit sha\uFF08\u5B8C\u6574\u6216 \u22657 \u4F4D\u77ED sha\uFF09\u3002"
|
|
9672
|
+
},
|
|
9673
|
+
environment: {
|
|
9674
|
+
type: "string",
|
|
9675
|
+
enum: ["alpha", "main"],
|
|
9676
|
+
description: "\u76EE\u6807\u73AF\u5883\uFF1Aalpha\uFF08us.nolo.chat\uFF09\u6216 main\uFF08nolo.chat\uFF09\u3002"
|
|
9677
|
+
}
|
|
9678
|
+
},
|
|
9679
|
+
required: ["kind", "ref", "environment"]
|
|
9680
|
+
}
|
|
9681
|
+
};
|
|
9682
|
+
var normalizeArgs = (rawArgs) => ({
|
|
9683
|
+
kind: typeof rawArgs?.kind === "string" ? rawArgs.kind.trim() : "",
|
|
9684
|
+
ref: typeof rawArgs?.ref === "string" ? rawArgs.ref.trim() : "",
|
|
9685
|
+
environment: typeof rawArgs?.environment === "string" ? rawArgs.environment.trim() : ""
|
|
9686
|
+
});
|
|
9687
|
+
var findMissingWatchCompletionArg = (args) => !args.kind ? "kind" : !args.ref ? "ref" : !args.environment ? "environment" : null;
|
|
9688
|
+
function buildWatchCompletionRequestBody(args) {
|
|
9689
|
+
const body = {
|
|
9690
|
+
kind: args.kind,
|
|
9691
|
+
ref: args.ref,
|
|
9692
|
+
environment: args.environment
|
|
9693
|
+
};
|
|
9694
|
+
const parentDialogId = typeof args.dialogId === "string" && args.dialogId.trim() || null;
|
|
9695
|
+
if (parentDialogId) body.parentDialogId = parentDialogId;
|
|
9696
|
+
return body;
|
|
9697
|
+
}
|
|
9698
|
+
async function watchCompletionFunc(rawArgs, thunkApi, context) {
|
|
9699
|
+
const args = normalizeArgs(rawArgs);
|
|
9700
|
+
const invalid = findMissingWatchCompletionArg(args);
|
|
9701
|
+
if (invalid) {
|
|
9702
|
+
const display = `watchCompletion: \u7F3A\u5C11\u5FC5\u586B\u53C2\u6570 ${invalid}\u3002`;
|
|
9703
|
+
return { rawData: { ok: false, error: display }, displayData: display };
|
|
9704
|
+
}
|
|
9705
|
+
const body = buildWatchCompletionRequestBody({
|
|
9706
|
+
kind: args.kind,
|
|
9707
|
+
ref: args.ref,
|
|
9708
|
+
environment: args.environment,
|
|
9709
|
+
dialogId: typeof context?.dialogId === "string" ? context.dialogId : null
|
|
9710
|
+
});
|
|
9711
|
+
try {
|
|
9712
|
+
const data = await callToolApi(
|
|
9713
|
+
thunkApi,
|
|
9714
|
+
WATCH_COMPLETION_API_PATH,
|
|
9715
|
+
body,
|
|
9716
|
+
{ withAuth: true }
|
|
9717
|
+
);
|
|
9718
|
+
if (!data?.ok) {
|
|
9719
|
+
const display = `watchCompletion: \u8BA2\u9605\u767B\u8BB0\u5931\u8D25${data?.error ? `\uFF1A${data.error}` : "\u3002"}`;
|
|
9720
|
+
return { rawData: data ?? { ok: false }, displayData: display };
|
|
9721
|
+
}
|
|
9722
|
+
return {
|
|
9723
|
+
rawData: data,
|
|
9724
|
+
displayData: data.message ?? "\u2705 \u5DF2\u767B\u8BB0\u4EFB\u52A1\u5B8C\u6210\u8BA2\u9605\uFF0C\u4EFB\u52A1\u7EC8\u6001\u540E\u672C\u5BF9\u8BDD\u4F1A\u88AB\u81EA\u52A8\u5524\u9192\u3002\u7B49\u5F85\u671F\u95F4\u65E0\u9700\u8F6E\u8BE2\u3002"
|
|
9725
|
+
};
|
|
9726
|
+
} catch (error) {
|
|
9727
|
+
const display = `watchCompletion: \u8BA2\u9605\u767B\u8BB0\u8BF7\u6C42\u5931\u8D25\uFF1A${error?.message ?? String(error)}`;
|
|
9728
|
+
return { rawData: { ok: false, error: display }, displayData: display };
|
|
9729
|
+
}
|
|
9730
|
+
}
|
|
9731
|
+
|
|
9656
9732
|
// packages/ai/tools/browserTools/common.ts
|
|
9657
9733
|
async function executeBrowserTool(toolName, parameters, thunkApi) {
|
|
9658
9734
|
try {
|
|
@@ -15429,7 +15505,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
15429
15505
|
if (!executionInput) {
|
|
15430
15506
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
15431
15507
|
}
|
|
15432
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
15508
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-S5RSWF3R.js");
|
|
15433
15509
|
const { executor } = findToolExecutor2(run.toolName);
|
|
15434
15510
|
toolRunStarted({
|
|
15435
15511
|
id: run.id,
|
|
@@ -17936,7 +18012,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17936
18012
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17937
18013
|
};
|
|
17938
18014
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17939
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18015
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-CIAYE5WP.js");
|
|
17940
18016
|
if (getDocState().pageKey === id) {
|
|
17941
18017
|
applyExternalDocUpdate({
|
|
17942
18018
|
slateData: finalSlateData,
|
|
@@ -19884,6 +19960,18 @@ var baseToolDefinitions = [
|
|
|
19884
19960
|
behavior: "data",
|
|
19885
19961
|
uiGroup: "general"
|
|
19886
19962
|
},
|
|
19963
|
+
{
|
|
19964
|
+
id: "watchCompletion",
|
|
19965
|
+
schema: watchCompletionFunctionSchema,
|
|
19966
|
+
executor: watchCompletionFunc,
|
|
19967
|
+
description: {
|
|
19968
|
+
name: "watchCompletion",
|
|
19969
|
+
description: "\u767B\u8BB0\u4E00\u6B21\u4E1A\u52A1\u7EC8\u6001\u8BA2\u9605\uFF08nolo-ci \u90E8\u7F72\u4EFB\u52A1\u7B49\uFF09\uFF0C\u4EFB\u52A1\u7ED3\u675F\u65F6\u81EA\u52A8\u5524\u9192\u672C\u5BF9\u8BDD\u4EA4\u4ED8\u7ED3\u679C\uFF0C\u7B49\u5F85\u671F\u95F4\u96F6\u8F6E\u8BE2\u3002",
|
|
19970
|
+
category: "\u5E94\u7528\u90E8\u7F72"
|
|
19971
|
+
},
|
|
19972
|
+
behavior: "data",
|
|
19973
|
+
uiGroup: "general"
|
|
19974
|
+
},
|
|
19887
19975
|
{
|
|
19888
19976
|
id: "appList",
|
|
19889
19977
|
schema: appListFunctionSchema,
|
|
@@ -75,7 +75,11 @@ var TOOL_PACKS = {
|
|
|
75
75
|
"taskWait",
|
|
76
76
|
"taskLogs",
|
|
77
77
|
"taskStop",
|
|
78
|
-
"tasks"
|
|
78
|
+
"tasks",
|
|
79
|
+
// watchCompletion:push 后登记「业务终态订阅」,部署结束时服务端唤醒父对话
|
|
80
|
+
// (等待期间 0 轮询 0 token)。与代码工作流同链路(push → CI → 通知),随
|
|
81
|
+
// 「代码执行」能力包走。
|
|
82
|
+
"watchCompletion"
|
|
79
83
|
],
|
|
80
84
|
// 表格读写。唯一真相源——app-builder 能力包与 table object skill 都从这里取,
|
|
81
85
|
// 以前两边各抄一份,改一个忘另一个就会静默不同步。
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
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,
|
|
@@ -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";
|
|
@@ -29,18 +29,18 @@ 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,
|
|
@@ -1,17 +1,17 @@
|
|
|
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";
|
|
@@ -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,7 +13,7 @@ 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
19
|
} from "./chunk-BJCWNHVU.js";
|
|
@@ -17086,7 +17086,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17086
17086
|
runtimeOptions: args.runtimeOptions
|
|
17087
17087
|
});
|
|
17088
17088
|
if (agentKeyToUse) {
|
|
17089
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17089
|
+
const { streamAgentChatTurn } = await import("./agentSlice-ZPODGT3P.js");
|
|
17090
17090
|
await dispatch(
|
|
17091
17091
|
streamAgentChatTurn({
|
|
17092
17092
|
agentKey: agentKeyToUse,
|
|
@@ -18219,7 +18219,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18219
18219
|
}
|
|
18220
18220
|
if (isCurrentDialog) {
|
|
18221
18221
|
await thunkApi.dispatch(resetMsgs());
|
|
18222
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18222
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-NLSKRXBN.js");
|
|
18223
18223
|
dispatch(clearPendingAttachments2());
|
|
18224
18224
|
}
|
|
18225
18225
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18227,15 +18227,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18227
18227
|
|
|
18228
18228
|
// packages/chat/dialog/dialogSlice.ts
|
|
18229
18229
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18230
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18230
|
+
const { createDialogAction } = await import("./createDialogAction-N7CTNKB5.js");
|
|
18231
18231
|
return createDialogAction(args, thunkApi);
|
|
18232
18232
|
};
|
|
18233
18233
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18234
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18234
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-6YBZFLET.js");
|
|
18235
18235
|
return createAgentAutomationAction(args, thunkApi);
|
|
18236
18236
|
};
|
|
18237
18237
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18238
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18238
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-BU2VPE5B.js");
|
|
18239
18239
|
return updateDialogTitleAction(args, thunkApi);
|
|
18240
18240
|
};
|
|
18241
18241
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -18259,7 +18259,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
18259
18259
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18260
18260
|
};
|
|
18261
18261
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18262
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18262
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-ENUNMW3Z.js");
|
|
18263
18263
|
return handleSendMessageAction(args, thunkApi);
|
|
18264
18264
|
};
|
|
18265
18265
|
function clearDialogState() {
|
|
@@ -18272,7 +18272,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18272
18272
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18273
18273
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18274
18274
|
try {
|
|
18275
|
-
const { createDocState } = await import("./docStore-
|
|
18275
|
+
const { createDocState } = await import("./docStore-CIAYE5WP.js");
|
|
18276
18276
|
const pageKey = await createDocState(
|
|
18277
18277
|
{ slateData, title },
|
|
18278
18278
|
{ dispatch, getState }
|
|
@@ -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,14 +7,14 @@ 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-
|
|
17
|
+
import "./chunk-F657NADX.js";
|
|
18
18
|
import "./chunk-BJCWNHVU.js";
|
|
19
19
|
import "./chunk-5RGU3J7P.js";
|
|
20
20
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BLCUMZNV.js";
|
|
4
4
|
import "./chunk-ZJ7UHBJS.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-ZIUMSKK4.js";
|
|
6
6
|
import "./chunk-EVBFYPDC.js";
|
|
7
7
|
import "./chunk-HQUORJTM.js";
|
|
8
8
|
import "./chunk-YYLHWIW6.js";
|
|
9
9
|
import "./chunk-AGGIDPCZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-F657NADX.js";
|
|
11
11
|
import "./chunk-BJCWNHVU.js";
|
|
12
12
|
import "./chunk-5RGU3J7P.js";
|
|
13
13
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-VLX45P4L.js";
|
|
5
|
+
import "./chunk-BLCUMZNV.js";
|
|
6
6
|
import "./chunk-ZJ7UHBJS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ZIUMSKK4.js";
|
|
8
8
|
import "./chunk-EVBFYPDC.js";
|
|
9
9
|
import "./chunk-HQUORJTM.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-AGGIDPCZ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-F657NADX.js";
|
|
13
13
|
import "./chunk-BJCWNHVU.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import "./chunk-6YTOJY35.js";
|
|
16
16
|
import "./chunk-M76ECQRD.js";
|
|
17
17
|
import "./chunk-YDH3FDFQ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-MYU3MJCF.js";
|
|
19
19
|
import "./chunk-AETZ7AD6.js";
|
|
20
20
|
import "./chunk-KHCLMKZZ.js";
|
|
21
21
|
import "./chunk-DSRXPQWA.js";
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace,
|
|
16
16
|
client_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BLCUMZNV.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentSpaceId
|
|
20
20
|
} from "./chunk-ZJ7UHBJS.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-ZIUMSKK4.js";
|
|
22
22
|
import "./chunk-EVBFYPDC.js";
|
|
23
23
|
import "./chunk-HQUORJTM.js";
|
|
24
24
|
import "./chunk-YYLHWIW6.js";
|
|
25
25
|
import "./chunk-AGGIDPCZ.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-F657NADX.js";
|
|
27
27
|
import "./chunk-BJCWNHVU.js";
|
|
28
28
|
import "./chunk-5RGU3J7P.js";
|
|
29
29
|
import "./chunk-6YTOJY35.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-KQHGZWSV.js";
|
|
|
23
23
|
import "./chunk-HQUORJTM.js";
|
|
24
24
|
import "./chunk-URMS4XY2.js";
|
|
25
25
|
import "./chunk-GLKOYSRU.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-CJ23A7U4.js";
|
|
27
27
|
import "./chunk-HXAINXPQ.js";
|
|
28
28
|
import "./chunk-ZNFJWEN4.js";
|
|
29
29
|
import "./chunk-KIS76A2P.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZIUMSKK4.js";
|
|
24
24
|
import "./chunk-EVBFYPDC.js";
|
|
25
25
|
import "./chunk-HQUORJTM.js";
|
|
26
26
|
import "./chunk-YYLHWIW6.js";
|
|
27
27
|
import "./chunk-AGGIDPCZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-F657NADX.js";
|
|
29
29
|
import "./chunk-BJCWNHVU.js";
|
|
30
30
|
import {
|
|
31
31
|
getActiveDialogAgentId
|
|
@@ -28,7 +28,7 @@ import "./chunk-SPAQ4PVV.js";
|
|
|
28
28
|
import "./chunk-VF4K2QE6.js";
|
|
29
29
|
import "./chunk-AETZ7AD6.js";
|
|
30
30
|
import "./chunk-KHCLMKZZ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-CJ23A7U4.js";
|
|
32
32
|
import "./chunk-HXAINXPQ.js";
|
|
33
33
|
import "./chunk-ZNFJWEN4.js";
|
|
34
34
|
import "./chunk-KIS76A2P.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-KQHGZWSV.js";
|
|
|
21
21
|
import "./chunk-VF4K2QE6.js";
|
|
22
22
|
import "./chunk-AETZ7AD6.js";
|
|
23
23
|
import "./chunk-KHCLMKZZ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CJ23A7U4.js";
|
|
25
25
|
import "./chunk-HXAINXPQ.js";
|
|
26
26
|
import "./chunk-ZNFJWEN4.js";
|
|
27
27
|
import "./chunk-KIS76A2P.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-SPAQ4PVV.js";
|
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
17
|
import "./chunk-AETZ7AD6.js";
|
|
18
18
|
import "./chunk-KHCLMKZZ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-CJ23A7U4.js";
|
|
20
20
|
import "./chunk-HXAINXPQ.js";
|
|
21
21
|
import "./chunk-ZNFJWEN4.js";
|
|
22
22
|
import "./chunk-KIS76A2P.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolvePageSkillMetadata
|
|
31
31
|
} from "./chunk-AETZ7AD6.js";
|
|
32
32
|
import "./chunk-KHCLMKZZ.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-CJ23A7U4.js";
|
|
34
34
|
import "./chunk-HXAINXPQ.js";
|
|
35
35
|
import "./chunk-ZNFJWEN4.js";
|
|
36
36
|
import "./chunk-KIS76A2P.js";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
prepareAndPersistUserMessage,
|
|
7
7
|
resolveHandleSendMessageContext,
|
|
8
8
|
selectAllMsgs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZIUMSKK4.js";
|
|
10
10
|
import "./chunk-EVBFYPDC.js";
|
|
11
11
|
import "./chunk-HQUORJTM.js";
|
|
12
12
|
import "./chunk-YYLHWIW6.js";
|
|
13
13
|
import "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
streamAgentChatTurn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F657NADX.js";
|
|
17
17
|
import "./chunk-BJCWNHVU.js";
|
|
18
18
|
import "./chunk-5RGU3J7P.js";
|
|
19
19
|
import {
|