nolo-cli 0.244.0-alpha.4 → 0.246.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-CXOFYVHC.js → _executeModel-5FOV5A3C.js} +20 -20
- package/{agentDeleteCommand-VFSZPEQ5.js → agentDeleteCommand-EKGFL4M7.js} +24 -24
- package/{agentEmailCommands-KRUIF4EH.js → agentEmailCommands-YHEW42IW.js} +24 -24
- package/{agentListCommands-TDFOLWN3.js → agentListCommands-CVYNO54Q.js} +11 -11
- package/{agentMachineCommands-PSH7Q5PF.js → agentMachineCommands-2XWZXMAN.js} +9 -9
- package/{agentRecordCommands-KCKCW2QU.js → agentRecordCommands-25R5YL5N.js} +24 -24
- package/{agentRunCommand-EF2T2QWD.js → agentRunCommand-TW4YOXIV.js} +24 -24
- package/{agentRuntimeLocal-6QXQS3TS.js → agentRuntimeLocal-NC6CTZED.js} +6 -6
- package/{agentSlice-IZ5ANAF7.js → agentSlice-6V2DXM4I.js} +1 -1
- package/{appDeleteCommands-4M7ETEEG.js → appDeleteCommands-LH7LQ6IZ.js} +10 -10
- package/{appDeployCommands-2VJ2NDW5.js → appDeployCommands-HLXUS5WI.js} +10 -10
- package/{appDeployStatusCommands-LDFSWOPQ.js → appDeployStatusCommands-6IGCM32K.js} +10 -10
- package/{appGetCommands-RHVNOPT4.js → appGetCommands-G7PYU6CW.js} +10 -10
- package/{appListCommands-U3XEVTL4.js → appListCommands-YWFISFO3.js} +10 -10
- package/{builtinSkillRegistry-LRVAQCPW.js → builtinSkillRegistry-K7XDZWQJ.js} +1 -1
- package/{chunk-LOF2EFUE.js → chunk-2DWSICJH.js} +1 -1
- package/{chunk-KW72WVHO.js → chunk-2TIH3JQK.js} +8 -8
- package/{chunk-56PB7FEN.js → chunk-3Z7YM7RQ.js} +2 -2
- package/{chunk-53AEDFBL.js → chunk-5QX6DBZP.js} +1 -1
- package/{chunk-6YYTTLJV.js → chunk-7GZY6HB7.js} +2 -2
- package/{chunk-W5OJBZLZ.js → chunk-7VNVB4OY.js} +2 -2
- package/{chunk-TKE4OJ4B.js → chunk-AKKID57M.js} +43 -2
- package/{chunk-RDPAIR67.js → chunk-E4BAGLDK.js} +2 -2
- package/{chunk-HIDVLMZC.js → chunk-EJYSKGP2.js} +2 -2
- package/{chunk-6PXFEPHL.js → chunk-EQ7LQZ6U.js} +4 -5
- package/{chunk-YHWMKGOX.js → chunk-EXZBHOTV.js} +4 -4
- package/{chunk-GVTFSLNI.js → chunk-IOIWS357.js} +5 -5
- package/{chunk-FDZ2GBWO.js → chunk-JRRDP7EB.js} +9 -1
- package/{chunk-3YYFU6H7.js → chunk-MU2PJQ4K.js} +6 -6
- package/{chunk-CX2LYFZQ.js → chunk-NYLA6SRJ.js} +2 -2
- package/{chunk-F4XIS5DL.js → chunk-O72CE7QS.js} +6 -6
- package/{chunk-ZP26NIZE.js → chunk-PPIQDGJT.js} +8 -8
- package/{chunk-J45ACAOQ.js → chunk-PUNGLYNR.js} +15 -15
- package/{chunk-XYRTC2Y3.js → chunk-QE5WJFUT.js} +7 -7
- package/{chunk-SF4GMDZO.js → chunk-QRZZV4NY.js} +1 -1
- package/{chunk-CT5JXREL.js → chunk-R7PFDD5L.js} +3 -3
- package/{chunk-L6BLA6BT.js → chunk-RC3ZT4AH.js} +3 -3
- package/{chunk-QWSH3UAQ.js → chunk-TCQ27BXD.js} +3 -3
- package/{chunk-7DXFOL5B.js → chunk-TGFFUUVC.js} +16 -16
- package/{chunk-NJJK3PDA.js → chunk-TIZSX3UY.js} +3 -3
- package/{chunk-T4QY3HZ5.js → chunk-UJUDZCJ7.js} +1 -1
- package/{chunk-KZKMH374.js → chunk-UTGHPMQL.js} +1 -1
- package/{chunk-JV5FHHF7.js → chunk-VHXADZ32.js} +1 -1
- package/{chunk-AO6T7U62.js → chunk-VX5ABJWX.js} +1 -1
- package/{chunk-5UAKGCQG.js → chunk-WPXDXATD.js} +1 -1
- package/{chunk-IDFGIROZ.js → chunk-X3XNXLHF.js} +2 -2
- package/{chunk-AKPKOI5Z.js → chunk-X5QZF3ZS.js} +2 -2
- package/{chunk-2COM7SAH.js → chunk-XOZNL36S.js} +2 -2
- package/{chunk-22YUCKMK.js → chunk-XWJXQLQB.js} +3 -3
- package/{chunk-FNT5VENS.js → chunk-Y7N45DS6.js} +2 -2
- package/{chunk-SQRKAYQW.js → chunk-YRIRQSEP.js} +1 -1
- package/{chunk-N7MXFYLU.js → chunk-ZMRPZPEZ.js} +1 -1
- package/{cliLocalAgentRecordReader-53773JID.js → cliLocalAgentRecordReader-P2DQNSEC.js} +8 -8
- package/{commandRegistry-RJUO2VOD.js → commandRegistry-LDTVFRZB.js} +41 -41
- package/{contentThunks-4EFHLUTB.js → contentThunks-7NW3FSQG.js} +3 -3
- package/{createAgentAutomationAction-ZFFGJ7CZ.js → createAgentAutomationAction-TGVXPVGN.js} +3 -3
- package/{createDialogAction-SDUGVTPS.js → createDialogAction-RJHKOVR6.js} +4 -4
- package/{createPageAction-NNM3OFLY.js → createPageAction-ITSOI5CP.js} +4 -4
- package/{dialogCommands-SJK5KWXU.js → dialogCommands-NL4R34MT.js} +10 -10
- package/{dialogSlice-2KLMHECR.js → dialogSlice-Q7G57NZU.js} +2 -2
- package/{docCreateCommands-K7CDL2HY.js → docCreateCommands-ZBB6DEY3.js} +9 -9
- package/{docDeleteCommands-ZEY5YCSP.js → docDeleteCommands-2Z5BTK3R.js} +10 -10
- package/{docReadCommands-A4ROLIQG.js → docReadCommands-GQIS4TGE.js} +9 -9
- package/{docStore-A4O6YJAM.js → docStore-623WNKKR.js} +1 -1
- package/{docUpdateCommands-6HTFQY4O.js → docUpdateCommands-NZ7B235E.js} +9 -9
- package/{handleSendMessageAction-6WEFYBUC.js → handleSendMessageAction-JR7DIXB3.js} +12 -12
- package/{hostCredentialCreate-WOWCNOYM.js → hostCredentialCreate-TNV4AR2P.js} +24 -24
- package/index.js +3 -3
- package/{localRuntimeAdapter-7EDBDRYW.js → localRuntimeAdapter-AE5LKWC7.js} +23 -23
- package/{machineCommands-XRPC67LL.js → machineCommands-Q62F6WLR.js} +24 -24
- package/{machineWsRunDispatch-SOGFW472.js → machineWsRunDispatch-N23VJDOE.js} +24 -24
- package/{mcpLocalAuthorizeCommand-VOJARP3M.js → mcpLocalAuthorizeCommand-DA6DT6B6.js} +2 -2
- package/package.json +1 -1
- package/{projectArchive-GDVPIZX2.js → projectArchive-SJ72VBM2.js} +4 -4
- package/{readlineWorkspace-OWQIIUGH.js → readlineWorkspace-YCPJTRW5.js} +30 -30
- package/{runAgentClientLoop-SJREK2B7.js → runAgentClientLoop-4Y6A5RP2.js} +18 -18
- package/{settingThunks-C2YWCNYI.js → settingThunks-VP3E3JRQ.js} +4 -4
- package/{spaceCommands-YRBQ52PG.js → spaceCommands-DT7C6IJY.js} +9 -9
- package/{streamAgentChatTurn-NCA4BKDZ.js → streamAgentChatTurn-CO345TNB.js} +21 -21
- package/{tools-6WQVUGKV.js → tools-DYRSY7A7.js} +14 -14
- package/{updateDialogTitleAction-QCSN3RYO.js → updateDialogTitleAction-SHVYVWSO.js} +3 -3
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AGENT_SELECTION_PRIORITY_INSTRUCTIONS,
|
|
3
3
|
DIFFICULTY_GRADING_ORDER,
|
|
4
4
|
DIFFICULTY_GRADING_TIERS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2DWSICJH.js";
|
|
6
6
|
import {
|
|
7
7
|
estimateTokenCount
|
|
8
8
|
} from "./chunk-PSCNXBYA.js";
|
|
9
9
|
import {
|
|
10
10
|
WORKTREE_ISOLATION_PRELUDE
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AKKID57M.js";
|
|
12
12
|
import {
|
|
13
13
|
canonicalizeToolNames
|
|
14
14
|
} from "./chunk-YLAHYLDQ.js";
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
WORKFLOW_GUIDANCE_SKILL_SLUGS
|
|
3
|
-
} from "./chunk-TKE4OJ4B.js";
|
|
4
|
-
|
|
5
1
|
// packages/ai/policy/types.ts
|
|
6
2
|
var DEFAULT_USER_PREFERENCE_PROFILE = {
|
|
7
3
|
version: 1,
|
|
@@ -37,7 +33,10 @@ function normalizeEnabledPromptSkills(value) {
|
|
|
37
33
|
}
|
|
38
34
|
|
|
39
35
|
// packages/ai/skills/userSkills.ts
|
|
40
|
-
var NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS =
|
|
36
|
+
var NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS = [
|
|
37
|
+
"response-presentation",
|
|
38
|
+
"external-copywriting"
|
|
39
|
+
];
|
|
41
40
|
function isAccountOnDemandWorkflowSkill(slug) {
|
|
42
41
|
return typeof slug === "string" && NEW_ACCOUNT_DEFAULT_WORKFLOW_SKILLS.some((candidate) => candidate === slug.trim());
|
|
43
42
|
}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RC3ZT4AH.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchServerSyncedCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XWJXQLQB.js";
|
|
10
10
|
import {
|
|
11
11
|
buildIdentityBlock,
|
|
12
12
|
buildPlatformStaticContextLayers,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
compileContextLayers,
|
|
16
16
|
detectDispatchIntentFromMessages,
|
|
17
17
|
resolveToolGuidedSections
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EJYSKGP2.js";
|
|
19
19
|
import {
|
|
20
20
|
convertMessagesToResponsesInput,
|
|
21
21
|
getUsageRequestOptions,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2SXN7LAY.js";
|
|
42
42
|
import {
|
|
43
43
|
buildSkillGuidancePromptBlock
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-AKKID57M.js";
|
|
45
45
|
import {
|
|
46
46
|
canonicalizeToolNames
|
|
47
47
|
} from "./chunk-YLAHYLDQ.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-SESKIWB4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YRIRQSEP.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveDialogRuntimeAgentKey
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PPIQDGJT.js";
|
|
13
13
|
import {
|
|
14
14
|
createSpaceKey
|
|
15
15
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
} from "./chunk-PXYBUFDB.js";
|
|
31
31
|
import {
|
|
32
32
|
isAgentSkillDisabled
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VHXADZ32.js";
|
|
34
34
|
import {
|
|
35
35
|
listBuiltinSkills,
|
|
36
36
|
resolveBuiltinSkillByName
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AKKID57M.js";
|
|
38
38
|
import {
|
|
39
39
|
parseSkillDocProtocol
|
|
40
40
|
} from "./chunk-AETZ7AD6.js";
|
|
@@ -791,7 +791,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
791
791
|
if (!executionInput) {
|
|
792
792
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
793
793
|
}
|
|
794
|
-
const { findToolExecutor } = await import("./tools-
|
|
794
|
+
const { findToolExecutor } = await import("./tools-DYRSY7A7.js");
|
|
795
795
|
const { executor } = findToolExecutor(run.toolName);
|
|
796
796
|
toolRunStarted({
|
|
797
797
|
id: run.id,
|
|
@@ -16,6 +16,14 @@ var MCP_PRESET_SPECS = Object.freeze([
|
|
|
16
16
|
defaultAuthKind: "bearer",
|
|
17
17
|
endpointPlaceholder: "https://ha.example.com/api/mcp",
|
|
18
18
|
note: "\u670D\u52A1\u7AEF\u8FDE\u63A5\u4EC5\u8BBF\u95EE\u516C\u7F51 HTTPS\uFF08\u81EA\u52A8\u62E6\u622A\u5185\u7F51/\u79C1\u7F51\u5730\u5740\uFF09\uFF0C\u9700\u63D0\u4F9B\u957F\u671F\u8BBF\u95EE\u4EE4\u724C\uFF08Bearer Token\uFF09\u3002"
|
|
19
|
+
}),
|
|
20
|
+
Object.freeze({
|
|
21
|
+
id: "github",
|
|
22
|
+
title: "GitHub MCP",
|
|
23
|
+
summary: "\u63A5\u5165 GitHub \u5B98\u65B9\u6258\u7BA1\u7684\u8FDC\u7A0B MCP Server\uFF08\u65E0\u9700\u81EA\u5EFA\uFF09\uFF0C\u53EF\u8BBF\u95EE\u4ED3\u5E93\u3001Issue\u3001PR \u7B49\u8D44\u6E90\uFF0C\u5DE5\u5177\u8C03\u7528\u4ECD\u53D7\u767D\u540D\u5355\u4E0E\u6BCF\u6B21\u8C03\u7528\u786E\u8BA4\u95E8\u7EA6\u675F\u3002",
|
|
24
|
+
defaultAuthKind: "bearer",
|
|
25
|
+
endpointPlaceholder: "https://api.githubcopilot.com/mcp/",
|
|
26
|
+
note: "\u8BF7\u586B\u5199\u4E0A\u65B9\u63D0\u793A\u7684\u5B98\u65B9\u5730\u5740\uFF0C\u5E76\u4F7F\u7528 GitHub \u4E2A\u4EBA\u8BBF\u95EE\u4EE4\u724C\uFF08PAT\uFF09\u4F5C\u4E3A Bearer Token\uFF0C\u6682\u4E0D\u652F\u6301 OAuth\u3002\u53EF\u4F7F\u7528\u7EC6\u7C92\u5EA6 PAT\uFF0C\u4EC5\u6388\u6743\u9700\u8981\u8BBF\u95EE\u7684\u4ED3\u5E93\uFF1B\u53EA\u8BFB\u573A\u666F\u6309\u9700\u6388\u4E88 Contents\u3001Issues\u3001Pull requests \u7B49\u4ED3\u5E93\u6743\u9650\u7684\u53EA\u8BFB\u7EA7\u522B\u3002\u5B9E\u9645\u6743\u9650\u53D6\u51B3\u4E8E PAT \u6388\u4E88\u7684\u4ED3\u5E93\u8303\u56F4\u548C\u6743\u9650\uFF0C\u9884\u8BBE\u4E0D\u4F1A\u628A\u4EE4\u724C\u9650\u5236\u4E3A\u53EA\u8BFB\u3002\u4EE4\u724C\u4FDD\u5B58\u65F6\u4F1A\u52A0\u5BC6\u5B58\u5165\u53D7\u63A7\u5BC6\u6587\u5E93\uFF0C\u4E0D\u4F1A\u4EE5\u660E\u6587\u56DE\u663E\u3002"
|
|
19
27
|
})
|
|
20
28
|
]);
|
|
21
29
|
var failure = (code) => ({ ok: false, error: { code } });
|
|
@@ -45,7 +53,7 @@ var MCP_CONNECTION_WRITE_SCHEMA = {
|
|
|
45
53
|
schemaVersion: { const: 1 },
|
|
46
54
|
label: { type: "string", minLength: 1, maxLength: 160, pattern: "^[^:/\\\\\\r\\n]+$" },
|
|
47
55
|
enabled: { type: "boolean" },
|
|
48
|
-
presetId: { enum:
|
|
56
|
+
presetId: { enum: MCP_PRESET_SPECS.map((preset) => preset.id) },
|
|
49
57
|
placement: placements,
|
|
50
58
|
allowedToolNames: { type: "array", maxItems: 256, items: text(160) },
|
|
51
59
|
readPolicies: { type: "array", maxItems: 256, items: { type: "object", required: ["toolName", "arguments"], properties: { toolName: text(160), arguments: { type: "object", maxProperties: 128, additionalProperties: { type: "array", maxItems: 256 } } }, additionalProperties: false } },
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7VNVB4OY.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EXZBHOTV.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PUNGLYNR.js";
|
|
22
22
|
import {
|
|
23
23
|
createSSEParser,
|
|
24
24
|
createToolRunId,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
toolRunSetPending,
|
|
28
28
|
toolRunStarted,
|
|
29
29
|
toolRunSucceeded
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IOIWS357.js";
|
|
31
31
|
import {
|
|
32
32
|
addToolMessage,
|
|
33
33
|
messageStreamEnd,
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
toast,
|
|
36
36
|
toolResultNeedsUserConfirmation,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PPIQDGJT.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-XWJXQLQB.js";
|
|
42
42
|
import {
|
|
43
43
|
getCurrentSpaceId
|
|
44
44
|
} from "./chunk-RXTZB2DH.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WPXDXATD.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
boundSummaryText,
|
|
42
42
|
buildDialogReadEnvelope,
|
|
43
43
|
projectDialogReadForAgent
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2DWSICJH.js";
|
|
45
45
|
import {
|
|
46
46
|
asRecordOrEmpty
|
|
47
47
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
hashStablePrefixContent,
|
|
63
63
|
resolveResponseGuidelines,
|
|
64
64
|
resolveToolGuidedSections
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-EJYSKGP2.js";
|
|
66
66
|
import {
|
|
67
67
|
BRIDGE_STREAM_MAX_CHARS,
|
|
68
68
|
CLI_NOLO_WORKSPACE_TOOL_NAMES,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
parseNoloWorkspaceToolArguments,
|
|
78
78
|
readTextStreamUpToChars,
|
|
79
79
|
resolveNoloDialogInput
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-2DWSICJH.js";
|
|
81
81
|
import {
|
|
82
82
|
classifyUnparsableToolArgs,
|
|
83
83
|
collectStablePromptPrefix,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
} from "./chunk-WFGNWWJI.js";
|
|
143
143
|
import {
|
|
144
144
|
isAgentSkillDisabled
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-VHXADZ32.js";
|
|
146
146
|
import {
|
|
147
147
|
buildDialogFallbackTitleFromUserInput
|
|
148
148
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -23718,7 +23718,7 @@ async function saveCliPendingUserMessages(args2) {
|
|
|
23718
23718
|
if (ops.length) await args2.store.batch(ops);
|
|
23719
23719
|
}
|
|
23720
23720
|
async function readCliPendingUserMessages(store, dialogId) {
|
|
23721
|
-
const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-
|
|
23721
|
+
const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-P2DQNSEC.js");
|
|
23722
23722
|
const rows = await readDialogMessageRecords({ store, dialogId });
|
|
23723
23723
|
const uncertain = rows.filter(({ record: record2 }) => record2.metadata?.cliBatchPhase === "requested" && !record2.metadata?.cliBatchResolution);
|
|
23724
23724
|
const recovery = uncertain.length ? {
|
|
@@ -24020,7 +24020,7 @@ function buildLoadSkillExecutor(args2) {
|
|
|
24020
24020
|
const { resolveSkillByName } = await import("./skillDiscovery-MDDKPTW3.js");
|
|
24021
24021
|
const resolved = resolveSkillByName(args2.cwd, name);
|
|
24022
24022
|
if (!resolved) {
|
|
24023
|
-
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-
|
|
24023
|
+
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-K7XDZWQJ.js");
|
|
24024
24024
|
const builtin = resolveBuiltinSkillByName(name);
|
|
24025
24025
|
if (builtin) {
|
|
24026
24026
|
const denied = await rejectDisabledBuiltin(args2.agentSkillSource, builtin.slug, name, args2.resolveAgentSkillSource);
|
|
@@ -24099,7 +24099,7 @@ async function loadPreciseSkill(cwd, parsed, agentSkillSource, resolveAgentSkill
|
|
|
24099
24099
|
if (!nonEmpty(parsed.slug) || has2("projectBinding") || has2("relativePath")) {
|
|
24100
24100
|
return reject("builtin requires only an exact slug.");
|
|
24101
24101
|
}
|
|
24102
|
-
const { listBuiltinSkills } = await import("./builtinSkillRegistry-
|
|
24102
|
+
const { listBuiltinSkills } = await import("./builtinSkillRegistry-K7XDZWQJ.js");
|
|
24103
24103
|
const builtin = listBuiltinSkills().find((entry) => entry.slug === parsed.slug);
|
|
24104
24104
|
if (!builtin) return reject("builtin slug not found.");
|
|
24105
24105
|
const denied = await rejectDisabledBuiltin(agentSkillSource, builtin.slug, builtin.slug, resolveAgentSkillSource);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-523DITKR.js";
|
|
11
11
|
import {
|
|
12
12
|
runLlm
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XWJXQLQB.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanupCliSessionForDialog
|
|
16
16
|
} from "./chunk-AVSZ6PBM.js";
|
|
@@ -14680,7 +14680,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
14680
14680
|
runtimeOptions: args.runtimeOptions
|
|
14681
14681
|
});
|
|
14682
14682
|
if (agentKeyToUse) {
|
|
14683
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
14683
|
+
const { streamAgentChatTurn } = await import("./agentSlice-6V2DXM4I.js");
|
|
14684
14684
|
await dispatch(
|
|
14685
14685
|
streamAgentChatTurn({
|
|
14686
14686
|
agentKey: agentKeyToUse,
|
|
@@ -15826,7 +15826,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
15826
15826
|
}
|
|
15827
15827
|
if (isCurrentDialog) {
|
|
15828
15828
|
await thunkApi.dispatch(resetMsgs());
|
|
15829
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
15829
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-Q7G57NZU.js");
|
|
15830
15830
|
dispatch(clearPendingAttachments2());
|
|
15831
15831
|
}
|
|
15832
15832
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -15834,15 +15834,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
15834
15834
|
|
|
15835
15835
|
// packages/chat/dialog/dialogSlice.ts
|
|
15836
15836
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
15837
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
15837
|
+
const { createDialogAction } = await import("./createDialogAction-RJHKOVR6.js");
|
|
15838
15838
|
return createDialogAction(args, thunkApi);
|
|
15839
15839
|
};
|
|
15840
15840
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
15841
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
15841
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-TGVXPVGN.js");
|
|
15842
15842
|
return createAgentAutomationAction(args, thunkApi);
|
|
15843
15843
|
};
|
|
15844
15844
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
15845
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
15845
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-SHVYVWSO.js");
|
|
15846
15846
|
return updateDialogTitleAction(args, thunkApi);
|
|
15847
15847
|
};
|
|
15848
15848
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -15866,7 +15866,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
15866
15866
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
15867
15867
|
};
|
|
15868
15868
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
15869
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
15869
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-JR7DIXB3.js");
|
|
15870
15870
|
return handleSendMessageAction(args, thunkApi);
|
|
15871
15871
|
};
|
|
15872
15872
|
function clearDialogState() {
|
|
@@ -15879,7 +15879,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
15879
15879
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
15880
15880
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
15881
15881
|
try {
|
|
15882
|
-
const { createDocState } = await import("./docStore-
|
|
15882
|
+
const { createDocState } = await import("./docStore-623WNKKR.js");
|
|
15883
15883
|
const pageKey = await createDocState(
|
|
15884
15884
|
{ slateData, title },
|
|
15885
15885
|
{ dispatch, getState }
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveDiscoveryScope,
|
|
7
7
|
resolvePaginationArgs,
|
|
8
8
|
toDiscoverySafeAgentSummary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VX5ABJWX.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeTopicKey
|
|
12
12
|
} from "./chunk-MVOZ22RZ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
normalizeAgentUpdateFieldList,
|
|
20
20
|
normalizeSystemBuiltinSkills,
|
|
21
21
|
normalizeUiPlugins
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QRZZV4NY.js";
|
|
23
23
|
import {
|
|
24
24
|
applyFetchSpaceFulfilled,
|
|
25
25
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -38,16 +38,16 @@ import {
|
|
|
38
38
|
toolRunUpdated,
|
|
39
39
|
uiCardFallback,
|
|
40
40
|
waitForAbortableDelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IOIWS357.js";
|
|
42
42
|
import {
|
|
43
43
|
isGatewayHttpStatus
|
|
44
44
|
} from "./chunk-NF64D32W.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveUserEnabledSkills
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-EQ7LQZ6U.js";
|
|
48
48
|
import {
|
|
49
49
|
createDocState
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-X5QZF3ZS.js";
|
|
51
51
|
import {
|
|
52
52
|
readDocFunc,
|
|
53
53
|
readDocFunctionSchema,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
createDialogAction,
|
|
60
60
|
uiAskChoiceFunc,
|
|
61
61
|
uiAskChoiceFunctionSchema
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-E4BAGLDK.js";
|
|
63
63
|
import {
|
|
64
64
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
65
65
|
addContentToSpace,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
updateContentCategory,
|
|
77
77
|
updateContentTitle,
|
|
78
78
|
writeStoredCollapsedCategories
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-YRIRQSEP.js";
|
|
80
80
|
import {
|
|
81
81
|
buildDatabaseFileContentUrl,
|
|
82
82
|
deleteDialog,
|
|
@@ -85,14 +85,14 @@ import {
|
|
|
85
85
|
selectCurrentDialogConfig,
|
|
86
86
|
selectCurrentDialogId,
|
|
87
87
|
selectMsgById
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-PPIQDGJT.js";
|
|
89
89
|
import {
|
|
90
90
|
createAgent,
|
|
91
91
|
deleteServerSyncedCredential,
|
|
92
92
|
runLlm,
|
|
93
93
|
streamAgentChatTurn,
|
|
94
94
|
updateAgent
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-XWJXQLQB.js";
|
|
96
96
|
import {
|
|
97
97
|
addMemberSpace,
|
|
98
98
|
getAllMemberSpaces,
|
|
@@ -234,12 +234,12 @@ import {
|
|
|
234
234
|
normalizeNoloSpaceInput,
|
|
235
235
|
resolveNoloDialogInput,
|
|
236
236
|
verifyNoloDialogSubjectRefQuery
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-2DWSICJH.js";
|
|
238
238
|
import {
|
|
239
239
|
MCP_CALL_TOOL_INPUT_SCHEMA,
|
|
240
240
|
MCP_LIST_CONNECTIONS_INPUT_SCHEMA,
|
|
241
241
|
MCP_LIST_TOOLS_INPUT_SCHEMA
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-JRRDP7EB.js";
|
|
243
243
|
import {
|
|
244
244
|
mergeAvailabilityDeadline,
|
|
245
245
|
resolveCredentialKeyWithFallback
|
|
@@ -270,7 +270,7 @@ import {
|
|
|
270
270
|
PLUGIN_MANAGEMENT_TOOL_NAMES,
|
|
271
271
|
managementFailure,
|
|
272
272
|
parsePluginManagementInput
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-AKKID57M.js";
|
|
274
274
|
import {
|
|
275
275
|
buildSkillDocMarkdown,
|
|
276
276
|
normalizeSkillModalities,
|
|
@@ -4012,7 +4012,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4012
4012
|
const deletedDialogIds = [];
|
|
4013
4013
|
const deletedDialogKeys = [];
|
|
4014
4014
|
const failures = [];
|
|
4015
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
4015
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-Q7G57NZU.js");
|
|
4016
4016
|
for (const target of targets) {
|
|
4017
4017
|
try {
|
|
4018
4018
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -19396,7 +19396,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19396
19396
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
19397
19397
|
};
|
|
19398
19398
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
19399
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
19399
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-623WNKKR.js");
|
|
19400
19400
|
if (getDocState().pageKey === id) {
|
|
19401
19401
|
applyExternalDocUpdate({
|
|
19402
19402
|
slateData: finalSlateData,
|
|
@@ -19421,7 +19421,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
19421
19421
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
19422
19422
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
19423
19423
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
19424
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
19424
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-VP3E3JRQ.js")).setSettings;
|
|
19425
19425
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
19426
19426
|
}
|
|
19427
19427
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
mergeReferences,
|
|
4
4
|
resolveReferenceAssets,
|
|
5
5
|
resolveToolsFromKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RC3ZT4AH.js";
|
|
7
7
|
import {
|
|
8
8
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
9
9
|
getAllToolRuns,
|
|
10
10
|
parseUiCard,
|
|
11
11
|
uiCardFallback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IOIWS357.js";
|
|
13
13
|
import {
|
|
14
14
|
getDocState
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X5QZF3ZS.js";
|
|
16
16
|
import {
|
|
17
17
|
getTableState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YRIRQSEP.js";
|
|
19
19
|
import {
|
|
20
20
|
selectAllMsgs
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PPIQDGJT.js";
|
|
22
22
|
import {
|
|
23
23
|
getCurrentSpaceIdRaw,
|
|
24
24
|
getViewMode
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
resolveAgentRecommendedSkillNames,
|
|
45
45
|
resolveAgentRequiredPackIds
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VHXADZ32.js";
|
|
47
47
|
import {
|
|
48
48
|
attachmentKind,
|
|
49
49
|
extractReferenceKeysFromMessage,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
expandEnabledPackPromptPatches,
|
|
66
66
|
expandEnabledPacks,
|
|
67
67
|
resolveEffectiveEnabledPacks
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-AKKID57M.js";
|
|
69
69
|
import {
|
|
70
70
|
metaKey
|
|
71
71
|
} from "./chunk-SYTHYBMI.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TGFFUUVC.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IOIWS357.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O72CE7QS.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
13
|
} from "./chunk-USGHJSGO.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IOIWS357.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-AGIM7IMJ.js";
|
|
16
16
|
import {
|
|
17
17
|
fetchAndCacheMessages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PPIQDGJT.js";
|
|
19
19
|
import {
|
|
20
20
|
createSpaceKey
|
|
21
21
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
resolveBuiltinSkillEntry,
|
|
50
50
|
resolveBuiltinSkillPage,
|
|
51
51
|
resolveSkillGraphFromRoots
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-AKKID57M.js";
|
|
53
53
|
import {
|
|
54
54
|
resolvePageSkillMetadata
|
|
55
55
|
} from "./chunk-AETZ7AD6.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deriveCredentialGroup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VX5ABJWX.js";
|
|
4
4
|
import {
|
|
5
5
|
listUserRecordsFromServers,
|
|
6
6
|
readLiveDbRecordAfterTombstoneMerge
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WPXDXATD.js";
|
|
8
8
|
import {
|
|
9
9
|
agentRecordHasConfiguredCredential
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X3XNXLHF.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-BV3FLP2L.js";
|