nolo-cli 0.16.0-alpha.2 → 0.16.0-alpha.3

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 (67) hide show
  1. package/{_executeModel-QAUS6B7J.js → _executeModel-TZUDMB24.js} +14 -13
  2. package/{agentDeleteCommand-365DMKHW.js → agentDeleteCommand-EMXLYNAH.js} +9 -8
  3. package/{agentEmailCommands-TQMXL36I.js → agentEmailCommands-H3VL4WUZ.js} +19 -18
  4. package/{agentListCommands-6B5X4RC6.js → agentListCommands-HQZNTYEG.js} +10 -9
  5. package/{agentMachineCommands-LOEARB6V.js → agentMachineCommands-QJPXHLIG.js} +9 -8
  6. package/{agentRecordCommands-DCH2WBL2.js → agentRecordCommands-VABNJQU5.js} +18 -17
  7. package/{agentRunCommand-SGMH67WT.js → agentRunCommand-37H22M3U.js} +18 -17
  8. package/{agentRuntimeLocal-YSYZ33ER.js → agentRuntimeLocal-WGVEZMXW.js} +6 -5
  9. package/{agentSlice-IVE735EV.js → agentSlice-ILWKFTS5.js} +1 -1
  10. package/{appDeleteCommands-6QYOO3JB.js → appDeleteCommands-N5AHOOHG.js} +10 -9
  11. package/{appDeployCommands-WTCT6XO6.js → appDeployCommands-GDD4CHRI.js} +10 -9
  12. package/{appDeployStatusCommands-CGWGZJKB.js → appDeployStatusCommands-3ZQH2E2A.js} +10 -9
  13. package/{appGetCommands-O4OCAMRW.js → appGetCommands-U4BGN2SW.js} +10 -9
  14. package/{appListCommands-UENFP4XY.js → appListCommands-S5BF2T4A.js} +10 -9
  15. package/{authCommand-YFTR3347.js → authCommand-WKMPIXR6.js} +8 -2
  16. package/{chunk-HRQCKQA5.js → chunk-27DJM3CW.js} +1 -242
  17. package/{chunk-RKM3K52F.js → chunk-2L6OCZ6Z.js} +1 -1
  18. package/{chunk-Z24FGIU2.js → chunk-36GPBUJ2.js} +1 -1
  19. package/{chunk-J55UHASN.js → chunk-3GSNWWY3.js} +1 -1
  20. package/{chunk-6565R2TI.js → chunk-3SCCWSA3.js} +10 -8
  21. package/{chunk-YNHQIXX5.js → chunk-463YM7CS.js} +8 -8
  22. package/chunk-4MSDMVUW.js +247 -0
  23. package/{chunk-QLFCNUVQ.js → chunk-64E4G62G.js} +11 -11
  24. package/{chunk-YC3DJILJ.js → chunk-7LFS3UL6.js} +8 -6
  25. package/{chunk-GRTFNYLR.js → chunk-AO2YB7PG.js} +2 -2
  26. package/{chunk-VE6XMVKG.js → chunk-CT3XKUX4.js} +8 -8
  27. package/{chunk-4IJYA27C.js → chunk-I4NUTIXT.js} +1 -1
  28. package/{chunk-RSYUDGGZ.js → chunk-LTZL7WC3.js} +1 -1
  29. package/{chunk-WRN5EQT7.js → chunk-MEZVPVXM.js} +1 -1
  30. package/{chunk-6MHDWKOT.js → chunk-MRDODOWX.js} +1 -1
  31. package/{chunk-I66RU7P7.js → chunk-NY6KTTLA.js} +1 -1
  32. package/{chunk-QZVGMD5F.js → chunk-ONELX7AM.js} +1 -1
  33. package/{chunk-EMXI3N3Z.js → chunk-R2PO4VB4.js} +2 -2
  34. package/{chunk-WPN6RMDF.js → chunk-TKNX6GFV.js} +3 -3
  35. package/{chunk-O53CP2QR.js → chunk-TY27RYCD.js} +2 -2
  36. package/{chunk-BFRVXJJJ.js → chunk-VD24AND2.js} +6 -6
  37. package/{chunk-OQMPU2ML.js → chunk-VOVNQ4YU.js} +3 -3
  38. package/{chunk-ISYE6GZB.js → chunk-W3574B3G.js} +1 -1
  39. package/{chunk-E237VE6U.js → chunk-WFFFQD6S.js} +1 -1
  40. package/{chunk-G2MKOQCB.js → chunk-WIZX3ACC.js} +1 -1
  41. package/{chunk-4NLUNENX.js → chunk-WNUSEMPU.js} +1 -1
  42. package/{chunk-EHLHSX7R.js → chunk-XXUNUXCS.js} +9 -2
  43. package/{chunk-YYIRR6QC.js → chunk-Y6G5CIAW.js} +11 -11
  44. package/{chunk-WA6KZL5V.js → chunk-ZODEA6YR.js} +9 -7
  45. package/{createAgentAutomationAction-TS6NNZ4X.js → createAgentAutomationAction-QHGTCNTZ.js} +2 -2
  46. package/{createDialogAction-5HVQ33EX.js → createDialogAction-BEO3QLUA.js} +3 -3
  47. package/{createPageAction-4F3ZGQJD.js → createPageAction-35EGISA5.js} +2 -2
  48. package/{dialogCommands-ZL6L24BS.js → dialogCommands-V7UHKTXT.js} +10 -9
  49. package/{dialogSlice-FAWUQDJW.js → dialogSlice-PWTRW5CX.js} +2 -2
  50. package/{docCreateCommands-LYROQTFH.js → docCreateCommands-TNC5RGE6.js} +9 -8
  51. package/{docDeleteCommands-6TWGTZNR.js → docDeleteCommands-PDMKS5KK.js} +10 -9
  52. package/{docReadCommands-PRULNF26.js → docReadCommands-GGAFPAUO.js} +9 -8
  53. package/{docStore-2UHVWLTV.js → docStore-BIJALNX5.js} +3 -3
  54. package/{docUpdateCommands-NNYYWJBI.js → docUpdateCommands-NCZK5UPH.js} +9 -8
  55. package/{handleSendMessageAction-LJPUYNOH.js → handleSendMessageAction-EN7ZJLBM.js} +190 -4
  56. package/index.js +47 -47
  57. package/{machineCommands-JQPEQFSE.js → machineCommands-3XWBAXZL.js} +17 -16
  58. package/{machineWsRunDispatch-FFFNWVEW.js → machineWsRunDispatch-OZMHQJ43.js} +17 -16
  59. package/package.json +1 -1
  60. package/{readlineWorkspace-QSXHSBHA.js → readlineWorkspace-3FRNDMQP.js} +21 -20
  61. package/{runAgentClientLoop-A75BUU6D.js → runAgentClientLoop-ZAZSFAAO.js} +11 -10
  62. package/{spaceCommands-4LE45GB7.js → spaceCommands-IASX6FPL.js} +9 -8
  63. package/{spaceSlice-444MFUP6.js → spaceSlice-HGDO7QJK.js} +2 -2
  64. package/{streamAgentChatTurn-DJAE7USZ.js → streamAgentChatTurn-KTDBTZUL.js} +13 -12
  65. package/{tools-YB6LXSVN.js → tools-IUKU5H6C.js} +5 -5
  66. package/{tuiSummaryLlmCaller-QQL3JA5I.js → tuiSummaryLlmCaller-RV6ZXCLV.js} +3 -2
  67. package/{updateDialogTitleAction-6HGFBM64.js → updateDialogTitleAction-6R62F4XS.js} +2 -2
@@ -3,12 +3,12 @@ import {
3
3
  refreshAntigravityOAuthToken,
4
4
  refreshOpenAiCodexToken,
5
5
  refreshXaiOAuthToken
6
- } from "./chunk-EHLHSX7R.js";
6
+ } from "./chunk-XXUNUXCS.js";
7
7
  import {
8
8
  buildLocalAgentLookupKeys,
9
9
  normalizeAgentHandle,
10
10
  shouldReadAgentKeyRemotely
11
- } from "./chunk-QZVGMD5F.js";
11
+ } from "./chunk-ONELX7AM.js";
12
12
  import {
13
13
  LOCAL_CODEX_AGENT_ID,
14
14
  LOCAL_CODEX_AGENT_KEY,
@@ -21,13 +21,13 @@ import {
21
21
  import {
22
22
  inlineImageUrlsForCustomProvider,
23
23
  prepareTools
24
- } from "./chunk-WRN5EQT7.js";
24
+ } from "./chunk-MEZVPVXM.js";
25
25
  import {
26
26
  getAntigravityUserAgent,
27
27
  isAntigravityOAuthAgent,
28
28
  readAntigravityProjectId,
29
29
  resolveAntigravityCloudCodeBaseUrl
30
- } from "./chunk-ISYE6GZB.js";
30
+ } from "./chunk-W3574B3G.js";
31
31
  import {
32
32
  FORCED_TOOLS,
33
33
  addDefaultLightWebToolsForConfiguredAgents,
@@ -47,7 +47,7 @@ import {
47
47
  readXhsProfileFunctionSchema,
48
48
  rememberMemoryFunctionSchema,
49
49
  resolveEffectiveEnabledPacks
50
- } from "./chunk-VE6XMVKG.js";
50
+ } from "./chunk-CT3XKUX4.js";
51
51
  import {
52
52
  createDrainExhaustedResponse,
53
53
  isCoreDrainingBody,
@@ -59,13 +59,13 @@ import {
59
59
  } from "./chunk-OWOHNGCN.js";
60
60
  import {
61
61
  prepareTokenUsageData
62
- } from "./chunk-YNHQIXX5.js";
62
+ } from "./chunk-463YM7CS.js";
63
63
  import {
64
64
  BUILTIN_TITLE_LLM_CONFIG
65
65
  } from "./chunk-V2J635L5.js";
66
66
  import {
67
67
  fetchServerSyncedCredential
68
- } from "./chunk-OQMPU2ML.js";
68
+ } from "./chunk-VOVNQ4YU.js";
69
69
  import {
70
70
  buildAgentRuntimeDialogWritePlan,
71
71
  buildLocalWorkspaceOpenAiTools,
@@ -78,7 +78,7 @@ import {
78
78
  parseSseDataLineJson,
79
79
  readOpenAiCompatibleSseCompletion,
80
80
  resolveOpenAiCompatibleProviderConfig
81
- } from "./chunk-YC3DJILJ.js";
81
+ } from "./chunk-7LFS3UL6.js";
82
82
  import {
83
83
  buildPlatformChatCompletionRequest,
84
84
  canUsePlatformChatProvider,
@@ -88,17 +88,17 @@ import {
88
88
  resolveLegacyDeepSeekProxyChatFallback,
89
89
  resolvePlatformChatProviderConfig,
90
90
  shouldUsePlatformChatProvider
91
- } from "./chunk-WA6KZL5V.js";
91
+ } from "./chunk-ZODEA6YR.js";
92
92
  import {
93
93
  resolveAgentRuntimeConfigFromRecord
94
94
  } from "./chunk-OIQPORYI.js";
95
95
  import {
96
96
  parseToolArgumentsJson,
97
97
  summarizeToolArguments
98
- } from "./chunk-6MHDWKOT.js";
98
+ } from "./chunk-MRDODOWX.js";
99
99
  import {
100
100
  resolvePlatformAuthToken
101
- } from "./chunk-HRQCKQA5.js";
101
+ } from "./chunk-27DJM3CW.js";
102
102
  import {
103
103
  buildLoadSkillExecutor,
104
104
  buildNoloWorkspaceCliToolExecutors,
@@ -4,10 +4,10 @@ import {
4
4
  providerHttpFailure,
5
5
  readSseFrames,
6
6
  throwIfChatCompletionStreamFailed
7
- } from "./chunk-WA6KZL5V.js";
7
+ } from "./chunk-ZODEA6YR.js";
8
8
  import {
9
9
  parseToolArgumentsJson
10
- } from "./chunk-6MHDWKOT.js";
10
+ } from "./chunk-MRDODOWX.js";
11
11
  import {
12
12
  createThinkParserState,
13
13
  createToolCallAccumulator,
@@ -18,12 +18,14 @@ import {
18
18
  import {
19
19
  requiresBareImageUrl,
20
20
  toBareImageUrlMessages
21
- } from "./chunk-RKM3K52F.js";
21
+ } from "./chunk-2L6OCZ6Z.js";
22
22
  import {
23
- buildProviderAuthHeaders,
24
- buildProviderExecutionPlan,
25
23
  toOpenAiCompatibleMessages
26
- } from "./chunk-HRQCKQA5.js";
24
+ } from "./chunk-4MSDMVUW.js";
25
+ import {
26
+ buildProviderAuthHeaders,
27
+ buildProviderExecutionPlan
28
+ } from "./chunk-27DJM3CW.js";
27
29
  import {
28
30
  canonicalizeToolName,
29
31
  createGlob,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-J55UHASN.js";
4
+ } from "./chunk-3GSNWWY3.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-4NLUNENX.js";
7
+ } from "./chunk-WNUSEMPU.js";
8
8
  import {
9
9
  toSafeAgentSummary
10
10
  } from "./chunk-OOIN7HSO.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KQHGZWSV.js";
16
16
  import {
17
17
  createDocState
18
- } from "./chunk-O53CP2QR.js";
18
+ } from "./chunk-TY27RYCD.js";
19
19
  import {
20
20
  readDocFunc,
21
21
  readDocFunctionSchema,
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-VF4K2QE6.js";
38
38
  import {
39
39
  createDialogAction
40
- } from "./chunk-Z24FGIU2.js";
40
+ } from "./chunk-36GPBUJ2.js";
41
41
  import {
42
42
  buildSkillDocMarkdown,
43
43
  normalizeSkillBudgetTier,
@@ -76,13 +76,13 @@ import {
76
76
  updateContentCategory,
77
77
  updateContentTitle,
78
78
  updateStep
79
- } from "./chunk-YNHQIXX5.js";
79
+ } from "./chunk-463YM7CS.js";
80
80
  import {
81
81
  createAgent,
82
82
  runLlm,
83
83
  streamAgentChatTurn,
84
84
  updateAgent
85
- } from "./chunk-OQMPU2ML.js";
85
+ } from "./chunk-VOVNQ4YU.js";
86
86
  import {
87
87
  NOLO_WORKSPACE_TOOL_NAMES,
88
88
  buildNoloSubjectRefQueryTarget,
@@ -14154,7 +14154,7 @@ async function deleteDialogsFunc(args, thunkApi) {
14154
14154
  const deletedDialogIds = [];
14155
14155
  const deletedDialogKeys = [];
14156
14156
  const failures = [];
14157
- const { deleteDialog } = await import("./dialogSlice-FAWUQDJW.js");
14157
+ const { deleteDialog } = await import("./dialogSlice-PWTRW5CX.js");
14158
14158
  for (const target of targets) {
14159
14159
  try {
14160
14160
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -23404,7 +23404,7 @@ var executeToolRun = createAsyncThunk(
23404
23404
  if (!executionInput) {
23405
23405
  throw new Error(`ToolRun ${id} has no input to execute with.`);
23406
23406
  }
23407
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-YB6LXSVN.js");
23407
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-IUKU5H6C.js");
23408
23408
  const { executor } = findToolExecutor2(run.toolName);
23409
23409
  toolRunStarted({
23410
23410
  id: run.id,
@@ -23428,7 +23428,7 @@ var executeToolRun = createAsyncThunk(
23428
23428
  const latestState = thunkApi.getState();
23429
23429
  const userId = latestState.auth?.currentUser?.userId;
23430
23430
  if (userId) {
23431
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-444MFUP6.js");
23431
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-HGDO7QJK.js");
23432
23432
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
23433
23433
  }
23434
23434
  }
@@ -25911,7 +25911,7 @@ async function updateDocFunc(args, thunkApi) {
25911
25911
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
25912
25912
  };
25913
25913
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
25914
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-2UHVWLTV.js");
25914
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-BIJALNX5.js");
25915
25915
  if (getDocState().pageKey === id) {
25916
25916
  applyExternalDocUpdate({
25917
25917
  slateData: finalSlateData,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-EHLHSX7R.js";
4
+ } from "./chunk-XXUNUXCS.js";
5
5
  import {
6
6
  toErrorMessage
7
7
  } from "./chunk-HNMXYYJR.js";
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-J55UHASN.js";
10
+ } from "./chunk-3GSNWWY3.js";
11
11
  import {
12
12
  buildDialogAttachmentPlan,
13
13
  extractFileContentIds
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-VE6XMVKG.js";
4
+ } from "./chunk-CT3XKUX4.js";
5
5
  import {
6
6
  canonicalizeToolNames
7
7
  } from "./chunk-B4KT7RN2.js";
@@ -2,7 +2,7 @@ import {
2
2
  buildCurrentTimeBlock,
3
3
  buildIdentityBlock,
4
4
  buildRuntimeGuidanceBlocks
5
- } from "./chunk-RKM3K52F.js";
5
+ } from "./chunk-2L6OCZ6Z.js";
6
6
  import {
7
7
  canonicalizeToolNames
8
8
  } from "./chunk-B4KT7RN2.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-E237VE6U.js";
3
+ } from "./chunk-WFFFQD6S.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-YC3DJILJ.js";
4
+ } from "./chunk-7LFS3UL6.js";
5
5
 
6
6
  // packages/cli/client/localAgentRecords.ts
7
7
  var buildLocalAgentLookupKeys = buildAgentRuntimeAgentLookupKeys;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearCliLocalRuntimePreparedAgentCache
3
- } from "./chunk-QLFCNUVQ.js";
3
+ } from "./chunk-64E4G62G.js";
4
4
  import {
5
5
  getReadableCliDb
6
6
  } from "./chunk-W4NVOSFF.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolveAgentRecordFromHybridStore,
13
13
  sanitizeAgentRecordForCliOutput,
14
14
  writeAgentRecord
15
- } from "./chunk-4NLUNENX.js";
15
+ } from "./chunk-WNUSEMPU.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
18
  } from "./chunk-VHBWHNVT.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-QLFCNUVQ.js";
4
+ } from "./chunk-64E4G62G.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-VE6XMVKG.js";
7
+ } from "./chunk-CT3XKUX4.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-6MHDWKOT.js";
10
+ } from "./chunk-MRDODOWX.js";
11
11
  import {
12
12
  resolveLocalRuntimeEnvFromPolicy
13
13
  } from "./chunk-5CS33IBL.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  updateContentTitle
3
- } from "./chunk-YNHQIXX5.js";
3
+ } from "./chunk-463YM7CS.js";
4
4
  import {
5
5
  require_date_fns
6
6
  } from "./chunk-M76ECQRD.js";
@@ -367,7 +367,7 @@ async function saveDocState(arg, { dispatch, getState }) {
367
367
  }
368
368
  }
369
369
  async function createDocState(args, thunkApi) {
370
- const { createPageAction } = await import("./createPageAction-4F3ZGQJD.js");
370
+ const { createPageAction } = await import("./createPageAction-35EGISA5.js");
371
371
  return createPageAction(args, thunkApi);
372
372
  }
373
373
  function subscribe(listener) {
@@ -5,10 +5,10 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-WRN5EQT7.js";
8
+ } from "./chunk-MEZVPVXM.js";
9
9
  import {
10
10
  performFetchRequest
11
- } from "./chunk-6565R2TI.js";
11
+ } from "./chunk-3SCCWSA3.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-VE6XMVKG.js";
22
+ } from "./chunk-CT3XKUX4.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-YNHQIXX5.js";
32
+ } from "./chunk-463YM7CS.js";
33
33
  import {
34
34
  streamAgentChatTurn
35
- } from "./chunk-OQMPU2ML.js";
35
+ } from "./chunk-VOVNQ4YU.js";
36
36
  import {
37
37
  EMPTY_ASSISTANT_REPAIR_PROMPT
38
- } from "./chunk-6MHDWKOT.js";
38
+ } from "./chunk-MRDODOWX.js";
39
39
  import {
40
40
  accumulateToolCallDelta,
41
41
  createThinkParserState,
@@ -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-QAUS6B7J.js");
303
+ const { _executeModel } = await import("./_executeModel-TZUDMB24.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-A75BUU6D.js");
324
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-ZAZSFAAO.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-DJAE7USZ.js");
340
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-KTDBTZUL.js");
341
341
  return streamAgentChatTurnHandler(args, thunkApi);
342
342
  }),
343
343
  /**
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  trimTrailingSlash
3
- } from "./chunk-HRQCKQA5.js";
3
+ } from "./chunk-27DJM3CW.js";
4
4
  import {
5
5
  asTrimmedLowercaseString
6
6
  } from "./chunk-QSJ3HFEF.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readDbRecord,
3
3
  writeAgentRecord
4
- } from "./chunk-4NLUNENX.js";
4
+ } from "./chunk-WNUSEMPU.js";
5
5
  import {
6
6
  buildSkillSummaryMarker
7
7
  } from "./chunk-VF4K2QE6.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-6565R2TI.js";
4
+ } from "./chunk-3SCCWSA3.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -2,7 +2,7 @@ import {
2
2
  buildLocalAgentLookupKeys,
3
3
  normalizeAgentHandle,
4
4
  shouldReadAgentKeyRemotely
5
- } from "./chunk-QZVGMD5F.js";
5
+ } from "./chunk-ONELX7AM.js";
6
6
  import {
7
7
  resolveCliAgentKeyInput
8
8
  } from "./chunk-VHBWHNVT.js";
@@ -1,3 +1,6 @@
1
+ import {
2
+ getAntigravityUserAgent
3
+ } from "./chunk-W3574B3G.js";
1
4
  import {
2
5
  writeOAuthCredential
3
6
  } from "./chunk-JZPBVBIY.js";
@@ -167,7 +170,7 @@ var SCOPES = [
167
170
  var AUTH_URL = "https://accounts.google.com/o/oauth2/v2/auth";
168
171
  var TOKEN_URL = "https://oauth2.googleapis.com/token";
169
172
  var USERINFO_URL = "https://www.googleapis.com/oauth2/v1/userinfo?alt=json";
170
- var CLOUD_CODE_ENDPOINT = "https://cloudcode-pa.googleapis.com";
173
+ var CLOUD_CODE_ENDPOINT = "https://daily-cloudcode-pa.googleapis.com";
171
174
  var TIER_LEGACY = "legacy-tier";
172
175
  var PROJECT_ONBOARD_MAX_ATTEMPTS = 5;
173
176
  var PROJECT_ONBOARD_INTERVAL_MS = 2e3;
@@ -241,7 +244,11 @@ async function onboardProjectWithRetries(fetchImpl, endpoint, headers, onboardBo
241
244
  async function discoverProject(fetchImpl, accessToken, onProgress) {
242
245
  const headers = {
243
246
  Authorization: `Bearer ${accessToken}`,
244
- "Content-Type": "application/json"
247
+ "Content-Type": "application/json",
248
+ // Google's Cloud Code Assist API validates the Antigravity client
249
+ // User-Agent; requests without it are rejected even with a valid token.
250
+ // (Matches oh-my-pi's google-antigravity.ts discoverProject.)
251
+ "User-Agent": getAntigravityUserAgent()
245
252
  };
246
253
  onProgress?.("Checking for existing project...");
247
254
  const endpoint = CLOUD_CODE_ENDPOINT;
@@ -18,17 +18,17 @@ import {
18
18
  isBuiltinNoloAgentRef,
19
19
  t,
20
20
  toolLabel
21
- } from "./chunk-QLFCNUVQ.js";
21
+ } from "./chunk-64E4G62G.js";
22
22
  import {
23
23
  getReadableCliDb
24
24
  } from "./chunk-W4NVOSFF.js";
25
25
  import {
26
26
  readDbRecord,
27
27
  resolveAgentRecordFromHybridStore
28
- } from "./chunk-4NLUNENX.js";
28
+ } from "./chunk-WNUSEMPU.js";
29
29
  import {
30
30
  normalizeAgentHandle
31
- } from "./chunk-QZVGMD5F.js";
31
+ } from "./chunk-ONELX7AM.js";
32
32
  import {
33
33
  NOLO_PROJECT_MANAGER_AGENT_KEY,
34
34
  isLocalCliAgentKey
@@ -45,7 +45,7 @@ import {
45
45
  formatStatusRunCard,
46
46
  formatStopRunCard,
47
47
  isAgentRunTerminalStatus
48
- } from "./chunk-VE6XMVKG.js";
48
+ } from "./chunk-CT3XKUX4.js";
49
49
  import {
50
50
  isGatewayHttpStatus
51
51
  } from "./chunk-RQSOAMPJ.js";
@@ -54,7 +54,7 @@ import {
54
54
  chooseMemoryOwners,
55
55
  loadMemoryCandidatesFromDb,
56
56
  resolveAgentMemoryPolicy
57
- } from "./chunk-Z24FGIU2.js";
57
+ } from "./chunk-36GPBUJ2.js";
58
58
  import {
59
59
  parseExternalSkillMarkdown,
60
60
  parseSkillDocProtocol
@@ -63,14 +63,14 @@ import {
63
63
  API_REPORTED_COST_MULTIPLIER,
64
64
  normalizeUsage,
65
65
  parseUiAskChoiceContent
66
- } from "./chunk-YNHQIXX5.js";
66
+ } from "./chunk-463YM7CS.js";
67
67
  import {
68
68
  buildSkillDiscoveryContextBlock
69
69
  } from "./chunk-AS3ZQ3O2.js";
70
70
  import {
71
71
  buildPlatformChatCompletionRequest,
72
72
  parsePlatformChatCompletionData
73
- } from "./chunk-WA6KZL5V.js";
73
+ } from "./chunk-ZODEA6YR.js";
74
74
  import {
75
75
  resolveAgentRuntimeConfigFromRecord
76
76
  } from "./chunk-OIQPORYI.js";
@@ -79,7 +79,7 @@ import {
79
79
  LOCAL_TURN_ABORTED_CODE,
80
80
  readActionGate,
81
81
  readCommandActionGatePayload
82
- } from "./chunk-6MHDWKOT.js";
82
+ } from "./chunk-MRDODOWX.js";
83
83
  import {
84
84
  createThinkParserState,
85
85
  flushThinkParser,
@@ -88,7 +88,7 @@ import {
88
88
  import {
89
89
  resolvePlatformAuthToken,
90
90
  resolvePlatformChatCompletionsEndpoint
91
- } from "./chunk-HRQCKQA5.js";
91
+ } from "./chunk-27DJM3CW.js";
92
92
  import {
93
93
  DEFAULT_CONTEXT_WINDOW,
94
94
  getModelContextWindow
@@ -3557,7 +3557,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
3557
3557
  // packages/cli/client/agentRun.ts
3558
3558
  import { ulid } from "ulid";
3559
3559
  async function loadRunLocalAgentTurn() {
3560
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-YSYZ33ER.js");
3560
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-WGVEZMXW.js");
3561
3561
  return runLocalAgentTurn;
3562
3562
  }
3563
3563
  async function resolveCurrentMachineId(options) {
@@ -3993,7 +3993,7 @@ async function runLocalAgentTurnForCli(options, settings) {
3993
3993
  } : void 0;
3994
3994
  const currentDialogId = options.continueDialogId ?? ulid();
3995
3995
  const runChildTurn = async (input) => {
3996
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-YSYZ33ER.js");
3996
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-WGVEZMXW.js");
3997
3997
  return runLocalAgentTurn(input);
3998
3998
  };
3999
3999
  const createFreshChildBaseAdapter = () => {
@@ -7,21 +7,23 @@ import {
7
7
  processThinkChunk
8
8
  } from "./chunk-LSFAWXKC.js";
9
9
  import {
10
- buildProviderExecutionPlan,
11
- canUsePlatformChatProvider,
12
10
  convertMessagesToResponsesInput,
13
11
  extractTextFromResponseOutput,
14
12
  extractToolCallsFromResponseOutput,
15
- hasDirectOpenAiCompatibleProvider,
16
13
  hasImageParts,
14
+ toOpenAiCompatibleMessages,
15
+ toResponsesTools
16
+ } from "./chunk-4MSDMVUW.js";
17
+ import {
18
+ buildProviderExecutionPlan,
19
+ canUsePlatformChatProvider,
20
+ hasDirectOpenAiCompatibleProvider,
17
21
  resolveAgentRuntimeLocation,
18
22
  resolvePlatformAuthToken,
19
23
  resolvePlatformChatCompletionsEndpoint,
20
24
  resolvePlatformServerUrl,
21
- resolveProviderTransportDecision,
22
- toOpenAiCompatibleMessages,
23
- toResponsesTools
24
- } from "./chunk-HRQCKQA5.js";
25
+ resolveProviderTransportDecision
26
+ } from "./chunk-27DJM3CW.js";
25
27
  import {
26
28
  clipCompactText
27
29
  } from "./chunk-5MMAK75Q.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-YNHQIXX5.js";
3
+ } from "./chunk-463YM7CS.js";
4
4
  import "./chunk-V2J635L5.js";
5
5
  import "./chunk-MRC4Q34M.js";
6
6
  import "./chunk-MTU75CZ2.js";
7
7
  import "./chunk-CWMSB67P.js";
8
- import "./chunk-OQMPU2ML.js";
8
+ import "./chunk-VOVNQ4YU.js";
9
9
  import "./chunk-JS33TCQ3.js";
10
10
  import "./chunk-SOTZ6RDN.js";
11
11
  import "./chunk-Z4NR32XR.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  createDialogAction,
3
3
  isLocalOwnerDialogAgents
4
- } from "./chunk-Z24FGIU2.js";
4
+ } from "./chunk-36GPBUJ2.js";
5
5
  import "./chunk-VC6OZXO5.js";
6
- import "./chunk-YNHQIXX5.js";
6
+ import "./chunk-463YM7CS.js";
7
7
  import "./chunk-V2J635L5.js";
8
8
  import "./chunk-MRC4Q34M.js";
9
9
  import "./chunk-MTU75CZ2.js";
10
10
  import "./chunk-CWMSB67P.js";
11
- import "./chunk-OQMPU2ML.js";
11
+ import "./chunk-VOVNQ4YU.js";
12
12
  import "./chunk-JS33TCQ3.js";
13
13
  import "./chunk-SOTZ6RDN.js";
14
14
  import "./chunk-Z4NR32XR.js";
@@ -18,12 +18,12 @@ import {
18
18
  addContentToSpace,
19
19
  client_default,
20
20
  selectCurrentSpaceId
21
- } from "./chunk-YNHQIXX5.js";
21
+ } from "./chunk-463YM7CS.js";
22
22
  import "./chunk-V2J635L5.js";
23
23
  import "./chunk-MRC4Q34M.js";
24
24
  import "./chunk-MTU75CZ2.js";
25
25
  import "./chunk-CWMSB67P.js";
26
- import "./chunk-OQMPU2ML.js";
26
+ import "./chunk-VOVNQ4YU.js";
27
27
  import "./chunk-JS33TCQ3.js";
28
28
  import "./chunk-SOTZ6RDN.js";
29
29
  import "./chunk-Z4NR32XR.js";
@@ -8,22 +8,23 @@ import {
8
8
  runDialogReadCommand,
9
9
  runDialogStatusCommand,
10
10
  sortDialogs
11
- } from "./chunk-RSYUDGGZ.js";
11
+ } from "./chunk-LTZL7WC3.js";
12
12
  import "./chunk-ID4G2MAR.js";
13
- import "./chunk-J55UHASN.js";
14
- import "./chunk-4NLUNENX.js";
15
- import "./chunk-QZVGMD5F.js";
13
+ import "./chunk-3GSNWWY3.js";
14
+ import "./chunk-WNUSEMPU.js";
15
+ import "./chunk-ONELX7AM.js";
16
16
  import "./chunk-VHBWHNVT.js";
17
17
  import "./chunk-KQHGZWSV.js";
18
18
  import "./chunk-MTU75CZ2.js";
19
- import "./chunk-YC3DJILJ.js";
20
- import "./chunk-WA6KZL5V.js";
19
+ import "./chunk-7LFS3UL6.js";
20
+ import "./chunk-ZODEA6YR.js";
21
21
  import "./chunk-ZNFJWEN4.js";
22
22
  import "./chunk-OIQPORYI.js";
23
- import "./chunk-6MHDWKOT.js";
23
+ import "./chunk-MRDODOWX.js";
24
24
  import "./chunk-LSFAWXKC.js";
25
- import "./chunk-RKM3K52F.js";
26
- import "./chunk-HRQCKQA5.js";
25
+ import "./chunk-2L6OCZ6Z.js";
26
+ import "./chunk-4MSDMVUW.js";
27
+ import "./chunk-27DJM3CW.js";
27
28
  import "./chunk-B4KT7RN2.js";
28
29
  import "./chunk-4QQFLN5C.js";
29
30
  import "./chunk-5MMAK75Q.js";