nolo-cli 0.24.0-alpha.18 → 0.24.0-alpha.20

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.
Files changed (62) hide show
  1. package/{_executeModel-GBJY45QW.js → _executeModel-SD32Z22H.js} +12 -12
  2. package/{agentDeleteCommand-VFHDZJG3.js → agentDeleteCommand-BUM7GAXC.js} +7 -7
  3. package/{agentEmailCommands-NV64EI7G.js → agentEmailCommands-66V4UD5T.js} +14 -14
  4. package/{agentListCommands-BDDUYHLP.js → agentListCommands-EZRVAV7P.js} +8 -8
  5. package/{agentMachineCommands-2KYBYNLE.js → agentMachineCommands-WIXR74MK.js} +7 -7
  6. package/{agentRecordCommands-3OX576G3.js → agentRecordCommands-2OMDO2T4.js} +14 -14
  7. package/{agentRunCommand-FZOGN67Y.js → agentRunCommand-NZYVRXOU.js} +15 -15
  8. package/{agentRuntimeLocal-552R4CZA.js → agentRuntimeLocal-6WAMC2AW.js} +4 -4
  9. package/{agentSlice-7AEBCNVZ.js → agentSlice-NGCEAL4R.js} +1 -1
  10. package/{appDeleteCommands-IPJT6IYW.js → appDeleteCommands-ZN4IB7RY.js} +8 -8
  11. package/{appDeployCommands-24P4CADQ.js → appDeployCommands-GOW4SCEJ.js} +8 -8
  12. package/{appDeployStatusCommands-3DRZOUAG.js → appDeployStatusCommands-SV35AEVN.js} +8 -8
  13. package/{appGetCommands-JEOSBLUL.js → appGetCommands-WHXOXL3U.js} +8 -8
  14. package/{appListCommands-EIBM54WR.js → appListCommands-AEPT6BSL.js} +8 -8
  15. package/{chunk-4FRIAKSZ.js → chunk-2BWIDRH4.js} +1 -1
  16. package/{chunk-N32A423D.js → chunk-2XAOVVN2.js} +1 -1
  17. package/{chunk-QCUS52YR.js → chunk-3WBYKGOF.js} +3 -3
  18. package/{chunk-NCRWA6ZB.js → chunk-BSX7KP52.js} +2 -2
  19. package/{chunk-ZNFZGHKL.js → chunk-COETPCCX.js} +1 -1
  20. package/{chunk-W2IOPRHX.js → chunk-FSRXOT4V.js} +3 -3
  21. package/{chunk-J7PB5GXH.js → chunk-GJ2BB7RJ.js} +1 -1
  22. package/{chunk-YZV4676I.js → chunk-KVECTZ2W.js} +2 -2
  23. package/{chunk-O5VFD7V6.js → chunk-LBN4NXNT.js} +1 -1
  24. package/{chunk-HQFXBRI2.js → chunk-MT6Y3LVX.js} +8 -8
  25. package/{chunk-AL2V7U3E.js → chunk-QBJEEKS6.js} +1 -1
  26. package/{chunk-KXEWHQAW.js → chunk-QDMWI73I.js} +1 -1
  27. package/{chunk-TTPVLL5F.js → chunk-QJQOKLI4.js} +4 -4
  28. package/{chunk-PVWFM7JP.js → chunk-ROF35MSI.js} +1 -1
  29. package/{chunk-7OYLPHDL.js → chunk-SPO7SK7R.js} +7 -7
  30. package/{chunk-56CPK6JE.js → chunk-TH53RGA2.js} +13 -11
  31. package/{chunk-Z3ORPMOA.js → chunk-U42XTKTT.js} +6 -6
  32. package/{chunk-Q4TAIQTA.js → chunk-UGKOCFBW.js} +8 -8
  33. package/{chunk-X43U4JUJ.js → chunk-UYL5QZBK.js} +1 -1
  34. package/{chunk-ZJ7WLPDP.js → chunk-VM7NEH6B.js} +58 -73
  35. package/{chunk-7OBMZCRD.js → chunk-WBDUUSC2.js} +1 -1
  36. package/{chunk-UADEEVDX.js → chunk-XJM57IDM.js} +4 -4
  37. package/{chunk-3X4IYB22.js → chunk-YSSVEJRV.js} +2 -2
  38. package/{chunk-7WMLPRXP.js → chunk-ZJVGYG2R.js} +1 -1
  39. package/{chunk-V7BUGVT2.js → chunk-ZT2QXVTM.js} +2 -2
  40. package/{createAgentAutomationAction-YB65NAU5.js → createAgentAutomationAction-32PL7GTE.js} +2 -2
  41. package/{createDialogAction-6USRBKKL.js → createDialogAction-7XHHBPQ7.js} +3 -3
  42. package/{createPageAction-ZGE3SG6J.js → createPageAction-H67HPRL7.js} +2 -2
  43. package/{dialogCommands-O4CJJRTQ.js → dialogCommands-ILK2Y5TR.js} +8 -8
  44. package/{dialogSlice-HMRBZCSE.js → dialogSlice-OBHDAKDY.js} +2 -2
  45. package/{docCreateCommands-2U5AIF3O.js → docCreateCommands-NCNCUBEG.js} +7 -7
  46. package/{docDeleteCommands-EDCAUQEF.js → docDeleteCommands-SSDF5SIC.js} +8 -8
  47. package/{docReadCommands-KFMBFGPY.js → docReadCommands-YHJ2HXBY.js} +7 -7
  48. package/{docStore-ZGGDZFCC.js → docStore-CBVWCF72.js} +3 -3
  49. package/{docUpdateCommands-57M4XOT7.js → docUpdateCommands-2FJL2DND.js} +7 -7
  50. package/{handleSendMessageAction-ANCZXLQY.js → handleSendMessageAction-H3NSL6HR.js} +2 -2
  51. package/index.js +40 -40
  52. package/{machineCommands-6EG5U6TU.js → machineCommands-JYGJ7MDL.js} +13 -13
  53. package/{machineWsRunDispatch-SFIKRI4G.js → machineWsRunDispatch-B376RUSB.js} +13 -13
  54. package/package.json +1 -1
  55. package/{readlineWorkspace-TVIHBRN2.js → readlineWorkspace-XYD3KW7O.js} +24 -29
  56. package/{runAgentClientLoop-SJ6QQ3ZS.js → runAgentClientLoop-HKQT3PIG.js} +8 -8
  57. package/{skillDiscovery-KJWT7JBU.js → skillDiscovery-T4MZJSHT.js} +2 -2
  58. package/{spaceCommands-XK46FRYG.js → spaceCommands-SANTGFTL.js} +7 -7
  59. package/{spaceSlice-FNFNVXPQ.js → spaceSlice-3TMCBTE2.js} +2 -2
  60. package/{streamAgentChatTurn-HHIWP44U.js → streamAgentChatTurn-XPG3GVFU.js} +11 -11
  61. package/{tools-CT7AFBI3.js → tools-NBVGSWBR.js} +5 -5
  62. package/{updateDialogTitleAction-7RFN5GA4.js → updateDialogTitleAction-LAZA6Y7U.js} +2 -2
@@ -5,22 +5,22 @@ import {
5
5
  pickDefined,
6
6
  printCliError,
7
7
  resolveCliContext
8
- } from "./chunk-O5VFD7V6.js";
8
+ } from "./chunk-LBN4NXNT.js";
9
9
  import {
10
10
  hasFlag,
11
11
  hasHelpArg
12
- } from "./chunk-X43U4JUJ.js";
13
- import "./chunk-ZNFZGHKL.js";
14
- import "./chunk-7WMLPRXP.js";
12
+ } from "./chunk-UYL5QZBK.js";
13
+ import "./chunk-COETPCCX.js";
14
+ import "./chunk-ZJVGYG2R.js";
15
15
  import "./chunk-VHBWHNVT.js";
16
16
  import "./chunk-VF4K2QE6.js";
17
- import "./chunk-TTPVLL5F.js";
17
+ import "./chunk-QJQOKLI4.js";
18
18
  import "./chunk-ZNFJWEN4.js";
19
19
  import "./chunk-HALKDXKP.js";
20
20
  import "./chunk-OIQPORYI.js";
21
- import "./chunk-YZV4676I.js";
21
+ import "./chunk-KVECTZ2W.js";
22
22
  import "./chunk-N7J63Q6C.js";
23
- import "./chunk-ZJ7WLPDP.js";
23
+ import "./chunk-VM7NEH6B.js";
24
24
  import "./chunk-D34RI6NI.js";
25
25
  import "./chunk-XS7UPVR7.js";
26
26
  import "./chunk-WCP5FDTF.js";
@@ -31,7 +31,7 @@ import "./chunk-5CS33IBL.js";
31
31
  import "./chunk-JZPBVBIY.js";
32
32
  import "./chunk-GT3GG2H7.js";
33
33
  import "./chunk-ZHXJ6M7T.js";
34
- import "./chunk-AL2V7U3E.js";
34
+ import "./chunk-QBJEEKS6.js";
35
35
  import "./chunk-4PWB7JRR.js";
36
36
  import "./chunk-ZZ2MH7LE.js";
37
37
  import "./chunk-DWLEOOGR.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-UADEEVDX.js";
4
+ } from "./chunk-XJM57IDM.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -3,7 +3,7 @@ import {
3
3
  prepareAndPersistMessage,
4
4
  uiAskChoiceFunc,
5
5
  uiAskChoiceFunctionSchema
6
- } from "./chunk-Q4TAIQTA.js";
6
+ } from "./chunk-UGKOCFBW.js";
7
7
  import {
8
8
  require_date_fns
9
9
  } from "./chunk-M76ECQRD.js";
@@ -300,7 +300,7 @@ var slice = createSliceWithThunks({
300
300
  const overrides = {};
301
301
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
302
302
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
303
- const { _executeModel } = await import("./_executeModel-GBJY45QW.js");
303
+ const { _executeModel } = await import("./_executeModel-SD32Z22H.js");
304
304
  return _executeModel(
305
305
  {
306
306
  isStreaming: args.isStreaming ?? false,
@@ -321,7 +321,7 @@ var slice = createSliceWithThunks({
321
321
  * - 循环直到无工具调用或触发其他运行时停止条件
322
322
  */
323
323
  runAgent: create.asyncThunk(async (args, thunkApi) => {
324
- const { runAgentClientLoop } = await import("./runAgentClientLoop-SJ6QQ3ZS.js");
324
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-HKQT3PIG.js");
325
325
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
326
326
  {
327
327
  agentKey: args.agentKey,
@@ -337,7 +337,7 @@ var slice = createSliceWithThunks({
337
337
  * 聊天轮次流式 Agent 调用
338
338
  */
339
339
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
340
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-HHIWP44U.js");
340
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-XPG3GVFU.js");
341
341
  return streamAgentChatTurnHandler(args, thunkApi);
342
342
  }),
343
343
  /**
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-KXEWHQAW.js";
4
+ } from "./chunk-QDMWI73I.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-ZNFZGHKL.js";
7
+ } from "./chunk-COETPCCX.js";
8
8
  import {
9
9
  toSafeAgentSummary
10
10
  } from "./chunk-H7N2NOJF.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildLocalAgentLookupKeys,
3
3
  shouldReadAgentKeyRemotely
4
- } from "./chunk-7WMLPRXP.js";
4
+ } from "./chunk-ZJVGYG2R.js";
5
5
  import {
6
6
  resolveCliAgentKeyInput
7
7
  } from "./chunk-VHBWHNVT.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-7OYLPHDL.js";
4
+ } from "./chunk-SPO7SK7R.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-HQFXBRI2.js";
7
+ } from "./chunk-MT6Y3LVX.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-YZV4676I.js";
10
+ } from "./chunk-KVECTZ2W.js";
11
11
  import {
12
12
  resolveLocalRuntimeEnvFromPolicy
13
13
  } from "./chunk-5CS33IBL.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-HQFXBRI2.js";
4
+ } from "./chunk-MT6Y3LVX.js";
5
5
  import {
6
6
  canonicalizeToolNames
7
7
  } from "./chunk-ZZ2MH7LE.js";
@@ -3,7 +3,7 @@ import {
3
3
  buildIdentityBlock,
4
4
  buildRuntimeGuidanceBlocks,
5
5
  resolveToolGuidedSections
6
- } from "./chunk-ZJ7WLPDP.js";
6
+ } from "./chunk-VM7NEH6B.js";
7
7
  import {
8
8
  estimateTokenCount,
9
9
  getModelContextWindow,
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-GT3GG2H7.js";
21
21
  import {
22
22
  buildDialogSummaryLayer
23
- } from "./chunk-AL2V7U3E.js";
23
+ } from "./chunk-QBJEEKS6.js";
24
24
  import {
25
25
  canonicalizeToolName,
26
26
  canonicalizeToolNames
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-X43U4JUJ.js";
3
+ } from "./chunk-UYL5QZBK.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-VF4K2QE6.js";
29
29
  import {
30
30
  createDocState
31
- } from "./chunk-3X4IYB22.js";
31
+ } from "./chunk-YSSVEJRV.js";
32
32
  import {
33
33
  setDialogExtraReferencesAction
34
34
  } from "./chunk-MALVZUYL.js";
@@ -44,7 +44,7 @@ import {
44
44
  buildBuiltinObjectSkillDbKey,
45
45
  buildBuiltinObjectSkillPageContent,
46
46
  createDialogAction
47
- } from "./chunk-N32A423D.js";
47
+ } from "./chunk-2XAOVVN2.js";
48
48
  import {
49
49
  addCategory,
50
50
  addContentToSpace,
@@ -75,13 +75,13 @@ import {
75
75
  updateContentCategory,
76
76
  updateContentTitle,
77
77
  updateStep
78
- } from "./chunk-Q4TAIQTA.js";
78
+ } from "./chunk-UGKOCFBW.js";
79
79
  import {
80
80
  createAgent,
81
81
  runLlm,
82
82
  streamAgentChatTurn,
83
83
  updateAgent
84
- } from "./chunk-QCUS52YR.js";
84
+ } from "./chunk-3WBYKGOF.js";
85
85
  import {
86
86
  CODING_SKILL_SLUGS,
87
87
  buildCodingSkillConfig,
@@ -14773,7 +14773,7 @@ async function deleteDialogsFunc(args, thunkApi) {
14773
14773
  const deletedDialogIds = [];
14774
14774
  const deletedDialogKeys = [];
14775
14775
  const failures = [];
14776
- const { deleteDialog } = await import("./dialogSlice-HMRBZCSE.js");
14776
+ const { deleteDialog } = await import("./dialogSlice-OBHDAKDY.js");
14777
14777
  for (const target of targets) {
14778
14778
  try {
14779
14779
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -24175,7 +24175,7 @@ var executeToolRun = createAsyncThunk(
24175
24175
  if (!executionInput) {
24176
24176
  throw new Error(`ToolRun ${id} has no input to execute with.`);
24177
24177
  }
24178
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-CT7AFBI3.js");
24178
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-NBVGSWBR.js");
24179
24179
  const { executor } = findToolExecutor2(run.toolName);
24180
24180
  toolRunStarted({
24181
24181
  id: run.id,
@@ -24199,7 +24199,7 @@ var executeToolRun = createAsyncThunk(
24199
24199
  const latestState = thunkApi.getState();
24200
24200
  const userId = latestState.auth?.currentUser?.userId;
24201
24201
  if (userId) {
24202
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-FNFNVXPQ.js");
24202
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-3TMCBTE2.js");
24203
24203
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
24204
24204
  }
24205
24205
  }
@@ -26682,7 +26682,7 @@ async function updateDocFunc(args, thunkApi) {
26682
26682
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
26683
26683
  };
26684
26684
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
26685
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-ZGGDZFCC.js");
26685
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-CBVWCF72.js");
26686
26686
  if (getDocState().pageKey === id) {
26687
26687
  applyExternalDocUpdate({
26688
26688
  slateData: finalSlateData,
@@ -90,7 +90,7 @@ var buildSkillDiscoveryLayer = (skills, boundFolder) => {
90
90
  path: ${s.relativePath}`
91
91
  )
92
92
  ];
93
- return makeLayer("skill-discovery", lines.join("\n"));
93
+ return makeLayer("skill-discovery", lines.join("\n"), "session");
94
94
  };
95
95
  var buildLinkedSpacesSection = async (args) => {
96
96
  const ids = (args.linkedSpaceIds ?? []).filter(
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-ZNFZGHKL.js";
5
+ } from "./chunk-COETPCCX.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-KQHGZWSV.js";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  parseToolArgumentsJson,
10
10
  resolveHistoricalToolContentCap
11
- } from "./chunk-YZV4676I.js";
11
+ } from "./chunk-KVECTZ2W.js";
12
12
  import {
13
13
  createThinkParserState,
14
14
  createToolCallAccumulator,
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  requiresBareImageUrl,
21
21
  toBareImageUrlMessages
22
- } from "./chunk-ZJ7WLPDP.js";
22
+ } from "./chunk-VM7NEH6B.js";
23
23
  import {
24
24
  shouldStripReasoningContentForOutbound,
25
25
  toOpenAiCompatibleMessages
@@ -4091,7 +4091,7 @@ function buildLoadSkillExecutor(args) {
4091
4091
  metadata: { loadSkill: true, resolved: false }
4092
4092
  };
4093
4093
  }
4094
- const { resolveSkillByName } = await import("./skillDiscovery-KJWT7JBU.js");
4094
+ const { resolveSkillByName } = await import("./skillDiscovery-T4MZJSHT.js");
4095
4095
  const resolved = resolveSkillByName(args.cwd, name);
4096
4096
  if (!resolved) {
4097
4097
  const { resolveCodingBuiltinSlug, buildCodingSkillContentBySlug } = await import("./codingSkills-EN6Z6G6U.js");
@@ -4129,7 +4129,7 @@ ${body}`,
4129
4129
  };
4130
4130
  }
4131
4131
  async function formatUnknownSkillMessage(cwd, requestedName) {
4132
- const { discoverSkills } = await import("./skillDiscovery-KJWT7JBU.js");
4132
+ const { discoverSkills } = await import("./skillDiscovery-T4MZJSHT.js");
4133
4133
  let available = [];
4134
4134
  try {
4135
4135
  available = discoverSkills(cwd).map((s) => s.name);
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-KXEWHQAW.js";
10
+ } from "./chunk-QDMWI73I.js";
11
11
  import {
12
12
  buildDialogAttachmentPlan,
13
13
  extractFileContentIds
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-VV4TYWNV.js";
7
7
  import {
8
8
  buildLocalAgentLookupKeys
9
- } from "./chunk-7WMLPRXP.js";
9
+ } from "./chunk-ZJVGYG2R.js";
10
10
  import {
11
11
  LOCAL_CODEX_AGENT_ID,
12
12
  LOCAL_CODEX_AGENT_KEY,
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  inlineImageUrlsForCustomProvider,
21
21
  prepareTools
22
- } from "./chunk-J7PB5GXH.js";
22
+ } from "./chunk-GJ2BB7RJ.js";
23
23
  import {
24
24
  getAntigravityUserAgent,
25
25
  isAntigravityOAuthAgent,
@@ -34,7 +34,7 @@ import {
34
34
  rememberMemoryFunctionSchema,
35
35
  resolveAgentRequiredPackIds,
36
36
  setTodoListFunc
37
- } from "./chunk-HQFXBRI2.js";
37
+ } from "./chunk-MT6Y3LVX.js";
38
38
  import {
39
39
  createDrainExhaustedResponse,
40
40
  isCoreDrainingBody,
@@ -49,13 +49,13 @@ import {
49
49
  prepareTokenUsageData,
50
50
  resolveBuiltinPlatformAgentConfig,
51
51
  runKeyed
52
- } from "./chunk-Q4TAIQTA.js";
52
+ } from "./chunk-UGKOCFBW.js";
53
53
  import {
54
54
  BUILTIN_TITLE_LLM_CONFIG
55
55
  } from "./chunk-XOIF2TNF.js";
56
56
  import {
57
57
  fetchServerSyncedCredential
58
- } from "./chunk-QCUS52YR.js";
58
+ } from "./chunk-3WBYKGOF.js";
59
59
  import {
60
60
  require_date_fns
61
61
  } from "./chunk-M76ECQRD.js";
@@ -89,7 +89,7 @@ import {
89
89
  readOpenAiCompatibleSseCompletion,
90
90
  resolveAgentNextAvailableAt,
91
91
  resolveOpenAiCompatibleProviderConfig
92
- } from "./chunk-TTPVLL5F.js";
92
+ } from "./chunk-QJQOKLI4.js";
93
93
  import {
94
94
  buildPlatformChatCompletionRequest,
95
95
  canUsePlatformChatProvider,
@@ -106,7 +106,7 @@ import {
106
106
  import {
107
107
  resolveHistoricalToolContentCap,
108
108
  summarizeToolArguments
109
- } from "./chunk-YZV4676I.js";
109
+ } from "./chunk-KVECTZ2W.js";
110
110
  import {
111
111
  convertMessagesToResponsesInput,
112
112
  toResponsesTools
@@ -19,7 +19,7 @@ import {
19
19
  parseAgentRunEvent,
20
20
  t,
21
21
  toolLabel
22
- } from "./chunk-7OYLPHDL.js";
22
+ } from "./chunk-SPO7SK7R.js";
23
23
  import {
24
24
  getReadableCliDb
25
25
  } from "./chunk-WFHXMLHZ.js";
@@ -27,7 +27,7 @@ import {
27
27
  normalizeAgentHandle,
28
28
  readDbRecord,
29
29
  resolveAgentRecordFromHybridStore
30
- } from "./chunk-ZNFZGHKL.js";
30
+ } from "./chunk-COETPCCX.js";
31
31
  import {
32
32
  NOLO_PROJECT_MANAGER_AGENT_KEY,
33
33
  isLocalCliAgentKey
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-LTRXGFMS.js";
39
39
  import {
40
40
  formatAgentListCard
41
- } from "./chunk-HQFXBRI2.js";
41
+ } from "./chunk-MT6Y3LVX.js";
42
42
  import {
43
43
  isGatewayHttpStatus
44
44
  } from "./chunk-RQSOAMPJ.js";
@@ -50,15 +50,15 @@ import {
50
50
  chooseMemoryOwners,
51
51
  loadMemoryCandidatesFromDb,
52
52
  resolveAgentMemoryPolicy
53
- } from "./chunk-N32A423D.js";
53
+ } from "./chunk-2XAOVVN2.js";
54
54
  import {
55
55
  API_REPORTED_COST_MULTIPLIER,
56
56
  normalizeUsage,
57
57
  parseUiAskChoiceContent
58
- } from "./chunk-Q4TAIQTA.js";
58
+ } from "./chunk-UGKOCFBW.js";
59
59
  import {
60
60
  buildSkillDiscoveryContextBlock
61
- } from "./chunk-7OBMZCRD.js";
61
+ } from "./chunk-WBDUUSC2.js";
62
62
  import {
63
63
  parseExternalSkillMarkdown,
64
64
  parseSkillDocProtocol
@@ -71,7 +71,7 @@ import {
71
71
  LOCAL_TURN_ABORTED_CODE,
72
72
  readActionGate,
73
73
  readCommandActionGatePayload
74
- } from "./chunk-YZV4676I.js";
74
+ } from "./chunk-KVECTZ2W.js";
75
75
  import {
76
76
  createThinkParserState,
77
77
  flushThinkParser,
@@ -93,7 +93,7 @@ import {
93
93
  import {
94
94
  buildMemoryOverlayLayer,
95
95
  buildMemoryUseGuidanceLayer
96
- } from "./chunk-AL2V7U3E.js";
96
+ } from "./chunk-QBJEEKS6.js";
97
97
  import {
98
98
  compactWhitespace
99
99
  } from "./chunk-DWLEOOGR.js";
@@ -3480,7 +3480,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
3480
3480
  // packages/cli/client/agentRun.ts
3481
3481
  import { ulid } from "ulid";
3482
3482
  async function loadRunLocalAgentTurn() {
3483
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-552R4CZA.js");
3483
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-6WAMC2AW.js");
3484
3484
  return runLocalAgentTurn;
3485
3485
  }
3486
3486
  async function resolveCurrentMachineId(options) {
@@ -5042,8 +5042,10 @@ ${mdContent}`);
5042
5042
  memoryOverlayLayer = buildMemoryOverlayLayer({ promptBlock: memoryPromptBlock });
5043
5043
  memoryUseGuidanceLayer = buildMemoryUseGuidanceLayer({ promptBlock: memoryPromptBlock });
5044
5044
  const agentsMdMarker = "--- \u9879\u76EE\u6307\u4EE4\uFF08";
5045
+ const skillDiscoveryMarker = "--- \u53EF\u7528\u6280\u80FD\uFF08Skills\uFF09---";
5046
+ const isSessionScoped = (block) => block.startsWith(agentsMdMarker) || block.startsWith(skillDiscoveryMarker);
5045
5047
  for (const block of extraContextBlocks) {
5046
- if (block.startsWith(agentsMdMarker)) {
5048
+ if (isSessionScoped(block)) {
5047
5049
  contextBlockScopes.push({ content: block, cacheScope: "session" });
5048
5050
  }
5049
5051
  }
@@ -5051,7 +5053,7 @@ ${mdContent}`);
5051
5053
  contextBlockScopes.push({ content: memoryUseGuidanceLayer.content, cacheScope: "session" });
5052
5054
  }
5053
5055
  for (const block of extraContextBlocks) {
5054
- if (!block.startsWith(agentsMdMarker)) {
5056
+ if (!isSessionScoped(block)) {
5055
5057
  contextBlockScopes.push({ content: block, cacheScope: "turn" });
5056
5058
  }
5057
5059
  }
@@ -5,10 +5,10 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-J7PB5GXH.js";
8
+ } from "./chunk-GJ2BB7RJ.js";
9
9
  import {
10
10
  performFetchRequest
11
- } from "./chunk-UADEEVDX.js";
11
+ } from "./chunk-XJM57IDM.js";
12
12
  import {
13
13
  createSSEParser,
14
14
  createToolRunId,
@@ -19,7 +19,7 @@ import {
19
19
  toolRunSetPending,
20
20
  toolRunStarted,
21
21
  toolRunSucceeded
22
- } from "./chunk-HQFXBRI2.js";
22
+ } from "./chunk-MT6Y3LVX.js";
23
23
  import {
24
24
  getPublicImageAgentMode
25
25
  } from "./chunk-VIDPVFP3.js";
@@ -29,13 +29,13 @@ import {
29
29
  messageStreaming,
30
30
  selectCurrentSpaceId,
31
31
  updateToolMessage
32
- } from "./chunk-Q4TAIQTA.js";
32
+ } from "./chunk-UGKOCFBW.js";
33
33
  import {
34
34
  streamAgentChatTurn
35
- } from "./chunk-QCUS52YR.js";
35
+ } from "./chunk-3WBYKGOF.js";
36
36
  import {
37
37
  EMPTY_ASSISTANT_REPAIR_PROMPT
38
- } from "./chunk-YZV4676I.js";
38
+ } from "./chunk-KVECTZ2W.js";
39
39
  import {
40
40
  accumulateToolCallDelta,
41
41
  createThinkParserState,
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  deleteServerSyncedCredential,
14
14
  runLlm
15
- } from "./chunk-QCUS52YR.js";
15
+ } from "./chunk-3WBYKGOF.js";
16
16
  import {
17
17
  isOAuthApiKeyRef
18
18
  } from "./chunk-YYLHWIW6.js";
@@ -5635,7 +5635,7 @@ var messageSlice = createSliceWithThunks({
5635
5635
  runtimeOptions: args.runtimeOptions
5636
5636
  });
5637
5637
  if (agentKeyToUse) {
5638
- const { streamAgentChatTurn } = await import("./agentSlice-7AEBCNVZ.js");
5638
+ const { streamAgentChatTurn } = await import("./agentSlice-NGCEAL4R.js");
5639
5639
  await dispatch(
5640
5640
  streamAgentChatTurn({
5641
5641
  agentKey: agentKeyToUse,
@@ -8374,7 +8374,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8374
8374
  }
8375
8375
  if (isCurrentDialog) {
8376
8376
  await thunkApi.dispatch(resetMsgs());
8377
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-HMRBZCSE.js");
8377
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-OBHDAKDY.js");
8378
8378
  dispatch(clearPendingAttachments2());
8379
8379
  clearWorkflow();
8380
8380
  }
@@ -8383,15 +8383,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8383
8383
 
8384
8384
  // packages/chat/dialog/dialogSlice.ts
8385
8385
  var runCreateDialogAction = async (args, thunkApi) => {
8386
- const { createDialogAction } = await import("./createDialogAction-6USRBKKL.js");
8386
+ const { createDialogAction } = await import("./createDialogAction-7XHHBPQ7.js");
8387
8387
  return createDialogAction(args, thunkApi);
8388
8388
  };
8389
8389
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
8390
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-YB65NAU5.js");
8390
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-32PL7GTE.js");
8391
8391
  return createAgentAutomationAction(args, thunkApi);
8392
8392
  };
8393
8393
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
8394
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-7RFN5GA4.js");
8394
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-LAZA6Y7U.js");
8395
8395
  return updateDialogTitleAction(args, thunkApi);
8396
8396
  };
8397
8397
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -8415,7 +8415,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
8415
8415
  return setDialogExtraReferencesAction(args, thunkApi);
8416
8416
  };
8417
8417
  var runHandleSendMessageAction = async (args, thunkApi) => {
8418
- const { handleSendMessageAction } = await import("./handleSendMessageAction-ANCZXLQY.js");
8418
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-H3NSL6HR.js");
8419
8419
  return handleSendMessageAction(args, thunkApi);
8420
8420
  };
8421
8421
  function clearDialogState() {
@@ -8428,7 +8428,7 @@ var createPageAndAddReference = createAsyncThunk(
8428
8428
  async (payload, { dispatch, getState, rejectWithValue }) => {
8429
8429
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
8430
8430
  try {
8431
- const { createDocState } = await import("./docStore-ZGGDZFCC.js");
8431
+ const { createDocState } = await import("./docStore-CBVWCF72.js");
8432
8432
  const pageKey = await createDocState(
8433
8433
  { slateData, title },
8434
8434
  { dispatch, getState }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readDbRecord,
3
3
  writeAgentRecord
4
- } from "./chunk-ZNFZGHKL.js";
4
+ } from "./chunk-COETPCCX.js";
5
5
  import {
6
6
  buildSkillSummaryMarker
7
7
  } from "./chunk-VF4K2QE6.js";