@verboo/code 0.7.25 → 0.7.27

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/dist/cli.mjs CHANGED
@@ -9536,7 +9536,10 @@ import { cwd } from "process";
9536
9536
  function getInitialState() {
9537
9537
  let resolvedCwd = "";
9538
9538
  if (typeof process !== "undefined" && typeof process.cwd === "function" && typeof realpathSync === "function") {
9539
- const rawCwd = cwd();
9539
+ let rawCwd = "";
9540
+ try {
9541
+ rawCwd = cwd();
9542
+ } catch {}
9540
9543
  try {
9541
9544
  resolvedCwd = realpathSync(rawCwd).normalize("NFC");
9542
9545
  } catch {
@@ -139401,7 +139404,7 @@ class VirtualScreen {
139401
139404
  this.cursor.y += next.dy;
139402
139405
  }
139403
139406
  }
139404
- var CARRIAGE_RETURN, NEWLINE, MAX_MAIN_SCREEN_REWRITE_ROWS = 6;
139407
+ var CARRIAGE_RETURN, NEWLINE, MAX_MAIN_SCREEN_REWRITE_ROWS = 15;
139405
139408
  var init_log_update = __esm(() => {
139406
139409
  init_build();
139407
139410
  init_debug();
@@ -193290,6 +193293,7 @@ var exports_openaiShim = {};
193290
193293
  __export(exports_openaiShim, {
193291
193294
  createOpenAIShimClient: () => createOpenAIShimClient
193292
193295
  });
193296
+ import { randomUUID as randomUUID6 } from "crypto";
193293
193297
  function isGithubModelsMode() {
193294
193298
  return isEnvTruthy(process.env.CLAUDE_CODE_USE_GITHUB);
193295
193299
  }
@@ -193563,7 +193567,7 @@ function convertMessages(messages, system, options2) {
193563
193567
  }
193564
193568
  if (toolUses.length > 0) {
193565
193569
  const mappedToolCalls = toolUses.map((tu) => {
193566
- const id = tu.id ?? `call_${crypto.randomUUID().replace(/-/g, "")}`;
193570
+ const id = tu.id ?? `call_${randomUUID6().replace(/-/g, "")}`;
193567
193571
  if (!toolResultIds.has(id) && !isLastInHistory) {
193568
193572
  return null;
193569
193573
  }
@@ -193710,7 +193714,7 @@ function convertTools(tools) {
193710
193714
  });
193711
193715
  }
193712
193716
  function makeMessageId2() {
193713
- return `msg_${crypto.randomUUID().replace(/-/g, "")}`;
193717
+ return `msg_${randomUUID6().replace(/-/g, "")}`;
193714
193718
  }
193715
193719
  function convertChunkUsage(usage) {
193716
193720
  if (!usage)
@@ -201275,7 +201279,7 @@ var init_bedrock_sdk = __esm(() => {
201275
201279
  });
201276
201280
 
201277
201281
  // src/services/api/client.ts
201278
- import { randomUUID as randomUUID6 } from "crypto";
201282
+ import { randomUUID as randomUUID7 } from "crypto";
201279
201283
  function createStderrLogger() {
201280
201284
  return {
201281
201285
  error: (msg, ...args) => console.error("[Verboo SDK ERROR]", msg, ...args),
@@ -201504,7 +201508,7 @@ function buildFetch(fetchOverride, source) {
201504
201508
  return (input, init) => {
201505
201509
  const headers = new Headers(init?.headers);
201506
201510
  if (injectClientRequestId && !headers.has(CLIENT_REQUEST_ID_HEADER)) {
201507
- headers.set(CLIENT_REQUEST_ID_HEADER, randomUUID6());
201511
+ headers.set(CLIENT_REQUEST_ID_HEADER, randomUUID7());
201508
201512
  }
201509
201513
  try {
201510
201514
  const url3 = input instanceof Request ? input.url : String(input);
@@ -254052,7 +254056,7 @@ var init_queryHelpers = __esm(() => {
254052
254056
  });
254053
254057
 
254054
254058
  // src/services/PromptSuggestion/speculation.ts
254055
- import { randomUUID as randomUUID7 } from "crypto";
254059
+ import { randomUUID as randomUUID8 } from "crypto";
254056
254060
  import { rm as rm2 } from "fs";
254057
254061
  import { appendFile as appendFile3, copyFile, mkdir as mkdir7 } from "fs/promises";
254058
254062
  import { dirname as dirname23, isAbsolute as isAbsolute11, join as join46, relative as relative7 } from "path";
@@ -254242,7 +254246,7 @@ async function startSpeculation(suggestionText, context3, setAppState, isPipelin
254242
254246
  if (!isSpeculationEnabled())
254243
254247
  return;
254244
254248
  abortSpeculation(setAppState);
254245
- const id = randomUUID7().slice(0, 8);
254249
+ const id = randomUUID8().slice(0, 8);
254246
254250
  const abortController = createChildAbortController(context3.toolUseContext.abortController);
254247
254251
  if (abortController.signal.aborted)
254248
254252
  return;
@@ -254622,7 +254626,7 @@ var init_speculation = __esm(() => {
254622
254626
  });
254623
254627
 
254624
254628
  // src/utils/sdkEventQueue.ts
254625
- import { randomUUID as randomUUID8 } from "crypto";
254629
+ import { randomUUID as randomUUID9 } from "crypto";
254626
254630
  function enqueueSdkEvent(event) {
254627
254631
  if (!getIsNonInteractiveSession()) {
254628
254632
  return;
@@ -254639,7 +254643,7 @@ function drainSdkEvents() {
254639
254643
  const events = queue.splice(0);
254640
254644
  return events.map((e) => ({
254641
254645
  ...e,
254642
- uuid: randomUUID8(),
254646
+ uuid: randomUUID9(),
254643
254647
  session_id: getSessionId()
254644
254648
  }));
254645
254649
  }
@@ -275708,7 +275712,7 @@ var init_spinnerVerbs = __esm(() => {
275708
275712
  "Channelling",
275709
275713
  "Choreographing",
275710
275714
  "Churning",
275711
- "Clauding",
275715
+ "Scaring",
275712
275716
  "Coalescing",
275713
275717
  "Cogitating",
275714
275718
  "Combobulating",
@@ -277698,7 +277702,7 @@ function SpinnerAnimationRow({
277698
277702
  const sep12 = SEP_WIDTH;
277699
277703
  const wantsThinking = thinkingStatus !== null;
277700
277704
  const wantsTimerAndTokens = verbose || hasRunningTeammates || effectiveElapsedMs > SHOW_TOKENS_AFTER_MS;
277701
- const availableSpace = columns - messageWidth - 5;
277705
+ const availableSpace = columns - messageWidth - 6;
277702
277706
  let showThinking = wantsThinking && availableSpace > thinkingWidthValue;
277703
277707
  if (!showThinking && wantsThinking && thinkingStatus === "thinking" && effortSuffix) {
277704
277708
  if (availableSpace > THINKING_BARE_WIDTH) {
@@ -277778,7 +277782,7 @@ function SpinnerAnimationRow({
277778
277782
  children: /* @__PURE__ */ jsx_dev_runtime62.jsxDEV(ThemedBox_default, {
277779
277783
  ref: viewportRef,
277780
277784
  flexDirection: "row",
277781
- flexWrap: "wrap",
277785
+ flexWrap: "nowrap",
277782
277786
  marginTop: 1,
277783
277787
  children: [
277784
277788
  /* @__PURE__ */ jsx_dev_runtime62.jsxDEV(SpinnerGlyph, {
@@ -284828,7 +284832,7 @@ __export(exports_api, {
284828
284832
  CodeSessionSchema: () => CodeSessionSchema,
284829
284833
  CCR_BYOC_BETA: () => CCR_BYOC_BETA
284830
284834
  });
284831
- import { randomUUID as randomUUID9 } from "crypto";
284835
+ import { randomUUID as randomUUID10 } from "crypto";
284832
284836
  function isTransientNetworkError(error42) {
284833
284837
  if (!axios_default.isAxiosError(error42)) {
284834
284838
  return false;
@@ -284971,7 +284975,7 @@ async function sendEventToRemoteSession(sessionId, messageContent, opts) {
284971
284975
  "x-organization-uuid": orgUUID
284972
284976
  };
284973
284977
  const userEvent = {
284974
- uuid: opts?.uuid ?? randomUUID9(),
284978
+ uuid: opts?.uuid ?? randomUUID10(),
284975
284979
  session_id: sessionId,
284976
284980
  type: "user",
284977
284981
  parent_tool_use_id: null,
@@ -295376,7 +295380,7 @@ __export(exports_processSlashCommand, {
295376
295380
  looksLikeCommand: () => looksLikeCommand,
295377
295381
  formatSkillLoadingMetadata: () => formatSkillLoadingMetadata
295378
295382
  });
295379
- import { randomUUID as randomUUID10 } from "crypto";
295383
+ import { randomUUID as randomUUID11 } from "crypto";
295380
295384
  async function executeForkedSlashCommand(command, args, context4, precedingInputBlocks, setToolJSX, canUseTool) {
295381
295385
  const agentId = createAgentId();
295382
295386
  const pluginMarketplace = command.pluginInfo ? parsePluginIdentifier(command.pluginInfo.repository).marketplace : undefined;
@@ -295420,7 +295424,7 @@ async function executeForkedSlashCommand(command, args, context4, precedingInput
295420
295424
  parentToolUseID,
295421
295425
  toolUseID: `${parentToolUseID}-${toolUseCounter}`,
295422
295426
  timestamp: new Date().toISOString(),
295423
- uuid: randomUUID10()
295427
+ uuid: randomUUID11()
295424
295428
  };
295425
295429
  };
295426
295430
  const updateProgress = () => {
@@ -295545,7 +295549,7 @@ async function processSlashCommand(inputString, precedingInputBlocks, imageConte
295545
295549
  resultText: unknownMessage
295546
295550
  };
295547
295551
  }
295548
- const promptId = randomUUID10();
295552
+ const promptId = randomUUID11();
295549
295553
  setPromptId(promptId);
295550
295554
  logEvent("tengu_input_prompt", {});
295551
295555
  logOTelEvent("user_prompt", {
@@ -296056,7 +296060,7 @@ var init_MonitorMcpTask = __esm(() => {
296056
296060
  });
296057
296061
 
296058
296062
  // src/tools/AgentTool/runAgent.ts
296059
- import { randomUUID as randomUUID11 } from "crypto";
296063
+ import { randomUUID as randomUUID12 } from "crypto";
296060
296064
  async function initializeAgentMcpServers(agentDefinition, parentClients) {
296061
296065
  if (!agentDefinition.mcpServers?.length) {
296062
296066
  return {
@@ -296245,7 +296249,7 @@ async function* runAgent({
296245
296249
  type: "hook_additional_context",
296246
296250
  content: additionalContexts,
296247
296251
  hookName: "SubagentStart",
296248
- toolUseID: randomUUID11(),
296252
+ toolUseID: randomUUID12(),
296249
296253
  hookEvent: "SubagentStart"
296250
296254
  });
296251
296255
  initialMessages.push(contextMessage);
@@ -299260,7 +299264,7 @@ var init_words = __esm(() => {
299260
299264
  });
299261
299265
 
299262
299266
  // src/utils/plans.ts
299263
- import { randomUUID as randomUUID12 } from "crypto";
299267
+ import { randomUUID as randomUUID13 } from "crypto";
299264
299268
  import { copyFile as copyFile4, writeFile as writeFile16 } from "fs/promises";
299265
299269
  import { join as join69, resolve as resolve23, sep as sep14 } from "path";
299266
299270
  function getPlanSlug(sessionId) {
@@ -299443,7 +299447,7 @@ async function persistFileSnapshotIfRemote() {
299443
299447
  level: "info",
299444
299448
  isMeta: true,
299445
299449
  timestamp: new Date().toISOString(),
299446
- uuid: randomUUID12(),
299450
+ uuid: randomUUID13(),
299447
299451
  snapshotFiles
299448
299452
  };
299449
299453
  const { recordTranscript: recordTranscript2 } = await Promise.resolve().then(() => (init_sessionStorage(), exports_sessionStorage));
@@ -300404,7 +300408,7 @@ var init_conversationRecovery = __esm(() => {
300404
300408
  });
300405
300409
 
300406
300410
  // src/services/api/filesApi.ts
300407
- import { randomUUID as randomUUID13 } from "crypto";
300411
+ import { randomUUID as randomUUID14 } from "crypto";
300408
300412
  import * as fs2 from "fs/promises";
300409
300413
  import * as path12 from "path";
300410
300414
  function getDefaultApiBaseUrl() {
@@ -300588,7 +300592,7 @@ async function uploadFile(filePath, relativePath, config2, opts) {
300588
300592
  success: false
300589
300593
  };
300590
300594
  }
300591
- const boundary = `----FormBoundary${randomUUID13()}`;
300595
+ const boundary = `----FormBoundary${randomUUID14()}`;
300592
300596
  const filename = path12.basename(relativePath);
300593
300597
  const bodyParts = [];
300594
300598
  bodyParts.push(Buffer.from(`--${boundary}\r
@@ -300892,7 +300896,7 @@ __export(exports_teleport, {
300892
300896
  checkOutTeleportedSessionBranch: () => checkOutTeleportedSessionBranch,
300893
300897
  archiveRemoteSession: () => archiveRemoteSession
300894
300898
  });
300895
- import { randomUUID as randomUUID14 } from "crypto";
300899
+ import { randomUUID as randomUUID15 } from "crypto";
300896
300900
  function createTeleportResumeSystemMessage(branchError) {
300897
300901
  if (branchError === null) {
300898
300902
  return createSystemMessage("Session resumed", "suggestion");
@@ -301609,7 +301613,7 @@ async function teleportToRemote(options2) {
301609
301613
  type: "event",
301610
301614
  data: {
301611
301615
  type: "control_request",
301612
- request_id: `set-mode-${randomUUID14()}`,
301616
+ request_id: `set-mode-${randomUUID15()}`,
301613
301617
  request: {
301614
301618
  subtype: "set_permission_mode",
301615
301619
  mode: options2.permissionMode,
@@ -301622,7 +301626,7 @@ async function teleportToRemote(options2) {
301622
301626
  events.push({
301623
301627
  type: "event",
301624
301628
  data: {
301625
- uuid: randomUUID14(),
301629
+ uuid: randomUUID15(),
301626
301630
  session_id: "",
301627
301631
  type: "user",
301628
301632
  parent_tool_use_id: null,
@@ -302941,12 +302945,12 @@ ${result.result}`
302941
302945
  });
302942
302946
 
302943
302947
  // src/services/lsp/LSPDiagnosticRegistry.ts
302944
- import { randomUUID as randomUUID15 } from "crypto";
302948
+ import { randomUUID as randomUUID16 } from "crypto";
302945
302949
  function registerPendingLSPDiagnostic({
302946
302950
  serverName,
302947
302951
  files
302948
302952
  }) {
302949
- const diagnosticId = randomUUID15();
302953
+ const diagnosticId = randomUUID16();
302950
302954
  logForDebugging2(`LSP Diagnostics: Registering ${files.length} diagnostic file(s) from ${serverName} (ID: ${diagnosticId})`);
302951
302955
  pendingDiagnostics.set(diagnosticId, {
302952
302956
  serverName,
@@ -316795,7 +316799,7 @@ var init_PowerShellTool = __esm(() => {
316795
316799
  });
316796
316800
 
316797
316801
  // src/utils/promptShellExecution.ts
316798
- import { randomUUID as randomUUID16 } from "crypto";
316802
+ import { randomUUID as randomUUID17 } from "crypto";
316799
316803
  async function executeShellCommandsInPrompt(text, context4, slashCommandName, shell) {
316800
316804
  let result = text;
316801
316805
  const shellTool = shell === "powershell" && isPowerShellToolEnabled() ? getPowerShellTool() : BashTool;
@@ -316816,7 +316820,7 @@ async function executeShellCommandsInPrompt(text, context4, slashCommandName, sh
316816
316820
  stdout: typeof data.stdout === "string" ? data.stdout : "",
316817
316821
  stderr: typeof data.stderr === "string" ? data.stderr : ""
316818
316822
  };
316819
- const toolResultBlock = await processToolResultBlock(shellTool, normalizedData, randomUUID16());
316823
+ const toolResultBlock = await processToolResultBlock(shellTool, normalizedData, randomUUID17());
316820
316824
  const output = typeof toolResultBlock.content === "string" ? toolResultBlock.content : formatBashOutput(normalizedData.stdout, normalizedData.stderr);
316821
316825
  result = result.replace(match[0], () => output);
316822
316826
  } catch (e) {
@@ -357933,6 +357937,54 @@ var init_linkup = __esm(() => {
357933
357937
  };
357934
357938
  });
357935
357939
 
357940
+ // src/tools/WebSearchTool/providers/verbooRouter.ts
357941
+ var verbooRouterProvider;
357942
+ var init_verbooRouter = __esm(() => {
357943
+ init_types10();
357944
+ init_oauth();
357945
+ init_auth();
357946
+ verbooRouterProvider = {
357947
+ name: "verboo-router",
357948
+ isConfigured() {
357949
+ return getClaudeAIOAuthTokens() !== null;
357950
+ },
357951
+ async search(input, signal) {
357952
+ const start = performance.now();
357953
+ const tokens = getClaudeAIOAuthTokens();
357954
+ if (!tokens?.accessToken)
357955
+ throw new Error("verboo-router: unauthenticated");
357956
+ const res = await fetch(`${VERBOO_ROUTER_URL}/search`, {
357957
+ method: "POST",
357958
+ headers: {
357959
+ "Content-Type": "application/json",
357960
+ Authorization: `Bearer ${tokens.accessToken}`
357961
+ },
357962
+ body: JSON.stringify({
357963
+ query: input.query,
357964
+ allowed_domains: input.allowed_domains,
357965
+ blocked_domains: input.blocked_domains
357966
+ }),
357967
+ signal
357968
+ });
357969
+ if (!res.ok) {
357970
+ throw new Error(`verboo-router search error ${res.status}: ${await res.text().catch(() => "")}`);
357971
+ }
357972
+ const data = await res.json();
357973
+ const hits = (data.results ?? []).map((r) => ({
357974
+ title: r.title ?? "",
357975
+ url: r.url ?? "",
357976
+ description: r.content,
357977
+ source: safeHostname(r.url)
357978
+ }));
357979
+ return {
357980
+ hits: applyDomainFilters(hits, input),
357981
+ providerName: "verboo-router",
357982
+ durationSeconds: (performance.now() - start) / 1000
357983
+ };
357984
+ }
357985
+ };
357986
+ });
357987
+
357936
357988
  // src/tools/WebSearchTool/providers/index.ts
357937
357989
  function getAvailableProviders() {
357938
357990
  return ALL_PROVIDERS.filter((p) => p.isConfigured());
@@ -358004,9 +358056,11 @@ var init_providers2 = __esm(() => {
358004
358056
  init_bing();
358005
358057
  init_mojeek();
358006
358058
  init_linkup();
358059
+ init_verbooRouter();
358007
358060
  init_types10();
358008
358061
  init_custom2();
358009
358062
  ALL_PROVIDERS = [
358063
+ verbooRouterProvider,
358010
358064
  firecrawlProvider,
358011
358065
  tavilyProvider,
358012
358066
  exaProvider,
@@ -358019,6 +358073,7 @@ var init_providers2 = __esm(() => {
358019
358073
  ];
358020
358074
  PROVIDER_BY_NAME = {
358021
358075
  custom: customProvider,
358076
+ "verboo-router": verbooRouterProvider,
358022
358077
  firecrawl: firecrawlProvider,
358023
358078
  ddg: duckduckgoProvider,
358024
358079
  tavily: tavilyProvider,
@@ -358330,6 +358385,8 @@ function shouldUseAdapterProvider() {
358330
358385
  return false;
358331
358386
  const provider = getAPIProvider();
358332
358387
  if (provider === "firstParty" || provider === "vertex" || provider === "foundry") {
358388
+ if (isVerbooMode())
358389
+ return getAvailableProviders().length > 0;
358333
358390
  return false;
358334
358391
  }
358335
358392
  return getAvailableProviders().length > 0;
@@ -358343,6 +358400,7 @@ function hasNativeSearchFallback() {
358343
358400
  var inputSchema17, searchResultSchema, outputSchema14, WebSearchTool;
358344
358401
  var init_WebSearchTool = __esm(() => {
358345
358402
  init_providers();
358403
+ init_oauth();
358346
358404
  init_v4();
358347
358405
  init_growthbook();
358348
358406
  init_claude();
@@ -376432,13 +376490,13 @@ var init_config5 = __esm(() => {
376432
376490
  });
376433
376491
 
376434
376492
  // src/query/deps.ts
376435
- import { randomUUID as randomUUID17 } from "crypto";
376493
+ import { randomUUID as randomUUID18 } from "crypto";
376436
376494
  function productionDeps() {
376437
376495
  return {
376438
376496
  callModel: queryModelWithStreaming,
376439
376497
  microcompact: microcompactMessages,
376440
376498
  autocompact: autoCompactIfNeeded,
376441
- uuid: randomUUID17
376499
+ uuid: randomUUID18
376442
376500
  };
376443
376501
  }
376444
376502
  var init_deps = __esm(() => {
@@ -377520,7 +377578,7 @@ function getAnthropicEnvMetadata() {
377520
377578
  function getBuildAgeMinutes() {
377521
377579
  if (false)
377522
377580
  ;
377523
- const buildTime = new Date("2026-05-04T18:52:00.779Z").getTime();
377581
+ const buildTime = new Date("2026-05-05T22:56:15.594Z").getTime();
377524
377582
  if (isNaN(buildTime))
377525
377583
  return;
377526
377584
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -377971,7 +378029,7 @@ var init_denialTracking = __esm(() => {
377971
378029
  });
377972
378030
 
377973
378031
  // src/utils/forkedAgent.ts
377974
- import { randomUUID as randomUUID18 } from "crypto";
378032
+ import { randomUUID as randomUUID19 } from "crypto";
377975
378033
  function saveCacheSafeParams(params) {
377976
378034
  lastCacheSafeParams = params;
377977
378035
  }
@@ -378080,7 +378138,7 @@ function createSubagentContext(parentContext, overrides) {
378080
378138
  agentId: overrides?.agentId ?? createAgentId(),
378081
378139
  agentType: overrides?.agentType,
378082
378140
  queryTracking: {
378083
- chainId: randomUUID18(),
378141
+ chainId: randomUUID19(),
378084
378142
  depth: (parentContext.queryTracking?.depth ?? -1) + 1
378085
378143
  },
378086
378144
  fileReadingLimits: parentContext.fileReadingLimits,
@@ -381177,7 +381235,7 @@ var init_toolSearch = __esm(() => {
381177
381235
  });
381178
381236
 
381179
381237
  // src/services/vcr.ts
381180
- import { createHash as createHash14, randomUUID as randomUUID19 } from "crypto";
381238
+ import { createHash as createHash14, randomUUID as randomUUID20 } from "crypto";
381181
381239
  import { mkdir as mkdir23, readFile as readFile27, writeFile as writeFile24 } from "fs/promises";
381182
381240
  import { dirname as dirname35, join as join88 } from "path";
381183
381241
  function shouldUseVCR() {
@@ -381230,7 +381288,7 @@ async function withVCR(messages, f) {
381230
381288
  try {
381231
381289
  const cached3 = jsonParse(await readFile27(filename, { encoding: "utf8" }));
381232
381290
  cached3.output.forEach(addCachedCostToTotalSessionCost);
381233
- return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID19()));
381291
+ return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID20()));
381234
381292
  } catch (e2) {
381235
381293
  const code = getErrnoCode(e2);
381236
381294
  if (code !== "ENOENT") {
@@ -381691,7 +381749,7 @@ var init_tokenEstimation = __esm(() => {
381691
381749
  });
381692
381750
 
381693
381751
  // src/utils/pdf.ts
381694
- import { randomUUID as randomUUID20 } from "crypto";
381752
+ import { randomUUID as randomUUID21 } from "crypto";
381695
381753
  import { mkdir as mkdir24, readdir as readdir15, readFile as readFile28 } from "fs/promises";
381696
381754
  import { join as join89 } from "path";
381697
381755
  async function readPDF(filePath) {
@@ -381802,7 +381860,7 @@ async function extractPDFPages(filePath, options2) {
381802
381860
  }
381803
381861
  };
381804
381862
  }
381805
- const uuid3 = randomUUID20();
381863
+ const uuid3 = randomUUID21();
381806
381864
  const outputDir = join89(getToolResultsDir(), `pdf-${uuid3}`);
381807
381865
  await mkdir24(outputDir, { recursive: true });
381808
381866
  const prefix = join89(outputDir, "page");
@@ -383370,7 +383428,7 @@ var init_findRelevantMemories = __esm(() => {
383370
383428
  // src/utils/attachments.ts
383371
383429
  import { readdir as readdir17, stat as stat34 } from "fs/promises";
383372
383430
  import { dirname as dirname36, parse as parse10, relative as relative20, resolve as resolve32 } from "path";
383373
- import { randomUUID as randomUUID21 } from "crypto";
383431
+ import { randomUUID as randomUUID22 } from "crypto";
383374
383432
  async function getAttachments(input, toolUseContext, ideSelection, queuedCommands, messages, querySource, options2) {
383375
383433
  if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_ATTACHMENTS) || isEnvTruthy(process.env.CLAUDE_CODE_SIMPLE)) {
383376
383434
  return getQueuedCommandAttachments(queuedCommands);
@@ -384597,7 +384655,7 @@ function createAttachmentMessage(attachment) {
384597
384655
  return {
384598
384656
  attachment,
384599
384657
  type: "attachment",
384600
- uuid: randomUUID21(),
384658
+ uuid: randomUUID22(),
384601
384659
  timestamp: new Date().toISOString()
384602
384660
  };
384603
384661
  }
@@ -390296,7 +390354,7 @@ ${EXPLANATORY_FEATURE_PROMPT}`
390296
390354
  });
390297
390355
 
390298
390356
  // src/utils/messages.ts
390299
- import { randomUUID as randomUUID22 } from "crypto";
390357
+ import { randomUUID as randomUUID23 } from "crypto";
390300
390358
  function getTeammateMailbox() {
390301
390359
  return init_teammateMailbox(), __toCommonJS(exports_teammateMailbox);
390302
390360
  }
@@ -390370,10 +390428,10 @@ function baseCreateAssistantMessage({
390370
390428
  }) {
390371
390429
  return {
390372
390430
  type: "assistant",
390373
- uuid: randomUUID22(),
390431
+ uuid: randomUUID23(),
390374
390432
  timestamp: new Date().toISOString(),
390375
390433
  message: {
390376
- id: randomUUID22(),
390434
+ id: randomUUID23(),
390377
390435
  container: null,
390378
390436
  model: SYNTHETIC_MODEL,
390379
390437
  role: "assistant",
@@ -390454,7 +390512,7 @@ function createUserMessage({
390454
390512
  isVirtual,
390455
390513
  isCompactSummary,
390456
390514
  summarizeMetadata,
390457
- uuid: uuid3 || randomUUID22(),
390515
+ uuid: uuid3 || randomUUID23(),
390458
390516
  timestamp: timestamp ?? new Date().toISOString(),
390459
390517
  toolUseResult,
390460
390518
  mcpMeta,
@@ -390523,7 +390581,7 @@ function createProgressMessage({
390523
390581
  data,
390524
390582
  toolUseID,
390525
390583
  parentToolUseID,
390526
- uuid: randomUUID22(),
390584
+ uuid: randomUUID23(),
390527
390585
  timestamp: new Date().toISOString()
390528
390586
  };
390529
390587
  }
@@ -392840,7 +392898,7 @@ function createSystemMessage(content, level, toolUseID, preventContinuation) {
392840
392898
  content,
392841
392899
  isMeta: false,
392842
392900
  timestamp: new Date().toISOString(),
392843
- uuid: randomUUID22(),
392901
+ uuid: randomUUID23(),
392844
392902
  toolUseID,
392845
392903
  level,
392846
392904
  ...preventContinuation && { preventContinuation }
@@ -392855,7 +392913,7 @@ function createPermissionRetryMessage(commands) {
392855
392913
  level: "info",
392856
392914
  isMeta: false,
392857
392915
  timestamp: new Date().toISOString(),
392858
- uuid: randomUUID22()
392916
+ uuid: randomUUID23()
392859
392917
  };
392860
392918
  }
392861
392919
  function createScheduledTaskFireMessage(content) {
@@ -392865,7 +392923,7 @@ function createScheduledTaskFireMessage(content) {
392865
392923
  content,
392866
392924
  isMeta: false,
392867
392925
  timestamp: new Date().toISOString(),
392868
- uuid: randomUUID22()
392926
+ uuid: randomUUID23()
392869
392927
  };
392870
392928
  }
392871
392929
  function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, preventedContinuation, stopReason, hasOutput, level, toolUseID, hookLabel, totalDurationMs) {
@@ -392880,7 +392938,7 @@ function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, prevente
392880
392938
  hasOutput,
392881
392939
  level,
392882
392940
  timestamp: new Date().toISOString(),
392883
- uuid: randomUUID22(),
392941
+ uuid: randomUUID23(),
392884
392942
  toolUseID,
392885
392943
  hookLabel,
392886
392944
  totalDurationMs
@@ -392896,7 +392954,7 @@ function createTurnDurationMessage(durationMs, budget, messageCount) {
392896
392954
  budgetNudges: budget?.nudges,
392897
392955
  messageCount,
392898
392956
  timestamp: new Date().toISOString(),
392899
- uuid: randomUUID22(),
392957
+ uuid: randomUUID23(),
392900
392958
  isMeta: false
392901
392959
  };
392902
392960
  }
@@ -392906,7 +392964,7 @@ function createAwaySummaryMessage(content) {
392906
392964
  subtype: "away_summary",
392907
392965
  content,
392908
392966
  timestamp: new Date().toISOString(),
392909
- uuid: randomUUID22(),
392967
+ uuid: randomUUID23(),
392910
392968
  isMeta: false
392911
392969
  };
392912
392970
  }
@@ -392916,7 +392974,7 @@ function createMemorySavedMessage(writtenPaths) {
392916
392974
  subtype: "memory_saved",
392917
392975
  writtenPaths,
392918
392976
  timestamp: new Date().toISOString(),
392919
- uuid: randomUUID22(),
392977
+ uuid: randomUUID23(),
392920
392978
  isMeta: false
392921
392979
  };
392922
392980
  }
@@ -392925,7 +392983,7 @@ function createAgentsKilledMessage() {
392925
392983
  type: "system",
392926
392984
  subtype: "agents_killed",
392927
392985
  timestamp: new Date().toISOString(),
392928
- uuid: randomUUID22(),
392986
+ uuid: randomUUID23(),
392929
392987
  isMeta: false
392930
392988
  };
392931
392989
  }
@@ -392936,7 +392994,7 @@ function createCommandInputMessage(content) {
392936
392994
  content,
392937
392995
  level: "info",
392938
392996
  timestamp: new Date().toISOString(),
392939
- uuid: randomUUID22(),
392997
+ uuid: randomUUID23(),
392940
392998
  isMeta: false
392941
392999
  };
392942
393000
  }
@@ -392947,7 +393005,7 @@ function createCompactBoundaryMessage(trigger, preTokens, lastPreCompactMessageU
392947
393005
  content: `Conversation compacted`,
392948
393006
  isMeta: false,
392949
393007
  timestamp: new Date().toISOString(),
392950
- uuid: randomUUID22(),
393008
+ uuid: randomUUID23(),
392951
393009
  level: "info",
392952
393010
  compactMetadata: {
392953
393011
  trigger,
@@ -392968,7 +393026,7 @@ function createMicrocompactBoundaryMessage(trigger, preTokens, tokensSaved, comp
392968
393026
  content: "Context microcompacted",
392969
393027
  isMeta: false,
392970
393028
  timestamp: new Date().toISOString(),
392971
- uuid: randomUUID22(),
393029
+ uuid: randomUUID23(),
392972
393030
  level: "info",
392973
393031
  microcompactMetadata: {
392974
393032
  trigger,
@@ -392990,7 +393048,7 @@ function createSystemAPIErrorMessage(error42, retryInMs, retryAttempt, maxRetrie
392990
393048
  retryAttempt,
392991
393049
  maxRetries,
392992
393050
  timestamp: new Date().toISOString(),
392993
- uuid: randomUUID22()
393051
+ uuid: randomUUID23()
392994
393052
  };
392995
393053
  }
392996
393054
  function isCompactBoundaryMessage(message) {
@@ -393259,7 +393317,7 @@ function createToolUseSummaryMessage(summary, precedingToolUseIds) {
393259
393317
  type: "tool_use_summary",
393260
393318
  summary,
393261
393319
  precedingToolUseIds,
393262
- uuid: randomUUID22(),
393320
+ uuid: randomUUID23(),
393263
393321
  timestamp: new Date().toISOString()
393264
393322
  };
393265
393323
  }
@@ -396796,7 +396854,7 @@ var init_xaaIdpLogin = __esm(() => {
396796
396854
  });
396797
396855
 
396798
396856
  // src/services/mcp/auth.ts
396799
- import { createHash as createHash16, randomBytes as randomBytes11, randomUUID as randomUUID23 } from "crypto";
396857
+ import { createHash as createHash16, randomBytes as randomBytes11, randomUUID as randomUUID24 } from "crypto";
396800
396858
  import { mkdir as mkdir26 } from "fs/promises";
396801
396859
  import { createServer as createServer4 } from "http";
396802
396860
  import { join as join99 } from "path";
@@ -397250,7 +397308,7 @@ async function performMCPOAuthFlow(serverName, serverConfig, onAuthorizationUrl,
397250
397308
  scope: cachedStepUpScope,
397251
397309
  resourceMetadataUrl
397252
397310
  };
397253
- const flowAttemptId = randomUUID23();
397311
+ const flowAttemptId = randomUUID24();
397254
397312
  logEvent("tengu_mcp_oauth_flow_start", {
397255
397313
  flowAttemptId,
397256
397314
  isOAuthFlow: true,
@@ -405221,7 +405279,7 @@ function insertBlockAfterToolResults(content, block2) {
405221
405279
  }
405222
405280
 
405223
405281
  // src/services/api/claude.ts
405224
- import { randomUUID as randomUUID24 } from "crypto";
405282
+ import { randomUUID as randomUUID25 } from "crypto";
405225
405283
  function getExtraBodyParams(betaHeaders) {
405226
405284
  const extraBodyStr = process.env.CLAUDE_CODE_EXTRA_BODY;
405227
405285
  let result = {};
@@ -406047,7 +406105,7 @@ ${deferredToolList}
406047
406105
  if (!options2.agentId) {
406048
406106
  headlessProfilerCheckpoint("api_request_sent");
406049
406107
  }
406050
- clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ? randomUUID24() : undefined;
406108
+ clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ? randomUUID25() : undefined;
406051
406109
  const result = await anthropic.beta.messages.create({ ...params, stream: true }, {
406052
406110
  signal,
406053
406111
  ...clientRequestId && {
@@ -406290,7 +406348,7 @@ ${deferredToolList}
406290
406348
  },
406291
406349
  requestId: streamRequestId ?? undefined,
406292
406350
  type: "assistant",
406293
- uuid: randomUUID24(),
406351
+ uuid: randomUUID25(),
406294
406352
  timestamp: new Date().toISOString(),
406295
406353
  ...process.env.USER_TYPE === "ant" && research !== undefined && { research },
406296
406354
  ...advisorModel && { advisorModel }
@@ -406472,7 +406530,7 @@ ${deferredToolList}
406472
406530
  },
406473
406531
  requestId: streamRequestId ?? undefined,
406474
406532
  type: "assistant",
406475
- uuid: randomUUID24(),
406533
+ uuid: randomUUID25(),
406476
406534
  timestamp: new Date().toISOString(),
406477
406535
  ...process.env.USER_TYPE === "ant" && research !== undefined && {
406478
406536
  research
@@ -406526,7 +406584,7 @@ ${deferredToolList}
406526
406584
  },
406527
406585
  requestId: streamRequestId ?? undefined,
406528
406586
  type: "assistant",
406529
- uuid: randomUUID24(),
406587
+ uuid: randomUUID25(),
406530
406588
  timestamp: new Date().toISOString(),
406531
406589
  ...process.env.USER_TYPE === "ant" && research !== undefined && { research },
406532
406590
  ...advisorModel && { advisorModel }
@@ -416246,7 +416304,7 @@ var exports_conversation = {};
416246
416304
  __export(exports_conversation, {
416247
416305
  clearConversation: () => clearConversation
416248
416306
  });
416249
- import { randomUUID as randomUUID25 } from "crypto";
416307
+ import { randomUUID as randomUUID26 } from "crypto";
416250
416308
  async function clearConversation({
416251
416309
  setMessages,
416252
416310
  readFileState,
@@ -416288,7 +416346,7 @@ async function clearConversation({
416288
416346
  setMessages(() => []);
416289
416347
  if (false) {}
416290
416348
  if (setConversationId) {
416291
- setConversationId(randomUUID25());
416349
+ setConversationId(randomUUID26());
416292
416350
  }
416293
416351
  clearSessionCaches(preservedAgentIds);
416294
416352
  setCwd(getOriginalCwd());
@@ -418162,7 +418220,7 @@ function buildPrimarySection() {
418162
418220
  }, undefined, false, undefined, this);
418163
418221
  return [{
418164
418222
  label: "Version",
418165
- value: "0.7.25"
418223
+ value: "0.7.27"
418166
418224
  }, {
418167
418225
  label: "Session name",
418168
418226
  value: nameValue
@@ -468954,7 +469012,7 @@ var init_InProcessTeammateDetailDialog = __esm(() => {
468954
469012
  });
468955
469013
 
468956
469014
  // src/utils/messages/mappers.ts
468957
- import { randomUUID as randomUUID26 } from "crypto";
469015
+ import { randomUUID as randomUUID27 } from "crypto";
468958
469016
  function toInternalMessages(messages) {
468959
469017
  return messages.flatMap((message) => {
468960
469018
  switch (message.type) {
@@ -468973,7 +469031,7 @@ function toInternalMessages(messages) {
468973
469031
  {
468974
469032
  type: "user",
468975
469033
  message: message.message,
468976
- uuid: message.uuid ?? randomUUID26(),
469034
+ uuid: message.uuid ?? randomUUID27(),
468977
469035
  timestamp: message.timestamp ?? new Date().toISOString(),
468978
469036
  isMeta: message.isSynthetic
468979
469037
  }
@@ -478951,7 +479009,7 @@ __export(exports_branch, {
478951
479009
  deriveFirstPrompt: () => deriveFirstPrompt,
478952
479010
  call: () => call53
478953
479011
  });
478954
- import { randomUUID as randomUUID27 } from "crypto";
479012
+ import { randomUUID as randomUUID28 } from "crypto";
478955
479013
  import { mkdir as mkdir35, readFile as readFile42, writeFile as writeFile39 } from "fs/promises";
478956
479014
  function deriveFirstPrompt(firstUserMessage) {
478957
479015
  const content = firstUserMessage?.message?.content;
@@ -478963,7 +479021,7 @@ function deriveFirstPrompt(firstUserMessage) {
478963
479021
  return raw.replace(/\s+/g, " ").trim().slice(0, 100) || "Branched conversation";
478964
479022
  }
478965
479023
  async function createFork(customTitle) {
478966
- const forkSessionId = randomUUID27();
479024
+ const forkSessionId = randomUUID28();
478967
479025
  const originalSessionId = getSessionId();
478968
479026
  const projectDir = getProjectDir2(getOriginalCwd());
478969
479027
  const forkSessionPath = getTranscriptPathForSession(forkSessionId);
@@ -486113,7 +486171,7 @@ var init_bridge_kick = __esm(() => {
486113
486171
  var call60 = async () => {
486114
486172
  return {
486115
486173
  type: "text",
486116
- value: `${"99.0.0"} (built ${"2026-05-04T18:52:00.779Z"})`
486174
+ value: `${"99.0.0"} (built ${"2026-05-05T22:56:15.594Z"})`
486117
486175
  };
486118
486176
  }, version2, version_default;
486119
486177
  var init_version = __esm(() => {
@@ -494847,7 +494905,7 @@ var init_buddy2 = __esm(() => {
494847
494905
  var exports_insights = {};
494848
494906
  __export(exports_insights, {
494849
494907
  generateUsageReport: () => generateUsageReport,
494850
- detectMultiClauding: () => detectMultiClauding,
494908
+ detectMultiScaring: () => detectMultiScaring,
494851
494909
  default: () => insights_default,
494852
494910
  deduplicateSessionBranches: () => deduplicateSessionBranches,
494853
494911
  buildExportData: () => buildExportData
@@ -495308,7 +495366,7 @@ RESPOND WITH ONLY A VALID JSON OBJECT matching this schema:
495308
495366
  return null;
495309
495367
  }
495310
495368
  }
495311
- function detectMultiClauding(sessions) {
495369
+ function detectMultiScaring(sessions) {
495312
495370
  const OVERLAP_WINDOW_MS = 30 * 60000;
495313
495371
  const allSessionMessages = [];
495314
495372
  for (const session2 of sessions) {
@@ -495401,7 +495459,7 @@ function aggregateData(sessions, facets) {
495401
495459
  days_active: 0,
495402
495460
  messages_per_day: 0,
495403
495461
  message_hours: [],
495404
- multi_clauding: {
495462
+ multi_scaring: {
495405
495463
  overlap_events: 0,
495406
495464
  sessions_involved: 0,
495407
495465
  user_messages_during: 0
@@ -495491,7 +495549,7 @@ function aggregateData(sessions, facets) {
495491
495549
  result.days_active = uniqueDays.size;
495492
495550
  result.messages_per_day = result.days_active > 0 ? Math.round(result.total_messages / result.days_active * 10) / 10 : 0;
495493
495551
  result.message_hours = allMessageHours;
495494
- result.multi_clauding = detectMultiClauding(sessions);
495552
+ result.multi_scaring = detectMultiScaring(sessions);
495495
495553
  return result;
495496
495554
  }
495497
495555
  async function generateSectionInsight(section, dataContext) {
@@ -496222,30 +496280,30 @@ function generateHtmlReport(data, insights) {
496222
496280
  </div>
496223
496281
  </div>
496224
496282
 
496225
- <!-- Multi-clauding Section (matching Python reference) -->
496283
+ <!-- Multi-scaring Section (matching Python reference) -->
496226
496284
  <div class="chart-card" style="margin: 24px 0;">
496227
- <div class="chart-title">Multi-Clauding (Parallel Sessions)</div>
496228
- ${data.multi_clauding.overlap_events === 0 ? `
496285
+ <div class="chart-title">Multi-Scaring (Parallel Sessions)</div>
496286
+ ${data.multi_scaring.overlap_events === 0 ? `
496229
496287
  <p style="font-size: 14px; color: #64748b; padding: 8px 0;">
496230
496288
  No parallel session usage detected. You typically work with one Verboo Code session at a time.
496231
496289
  </p>
496232
496290
  ` : `
496233
496291
  <div style="display: flex; gap: 24px; margin: 12px 0;">
496234
496292
  <div style="text-align: center;">
496235
- <div style="font-size: 24px; font-weight: 700; color: #7c3aed;">${data.multi_clauding.overlap_events}</div>
496293
+ <div style="font-size: 24px; font-weight: 700; color: #7c3aed;">${data.multi_scaring.overlap_events}</div>
496236
496294
  <div style="font-size: 11px; color: #64748b; text-transform: uppercase;">Overlap Events</div>
496237
496295
  </div>
496238
496296
  <div style="text-align: center;">
496239
- <div style="font-size: 24px; font-weight: 700; color: #7c3aed;">${data.multi_clauding.sessions_involved}</div>
496297
+ <div style="font-size: 24px; font-weight: 700; color: #7c3aed;">${data.multi_scaring.sessions_involved}</div>
496240
496298
  <div style="font-size: 11px; color: #64748b; text-transform: uppercase;">Sessions Involved</div>
496241
496299
  </div>
496242
496300
  <div style="text-align: center;">
496243
- <div style="font-size: 24px; font-weight: 700; color: #7c3aed;">${data.total_messages > 0 ? Math.round(100 * data.multi_clauding.user_messages_during / data.total_messages) : 0}%</div>
496301
+ <div style="font-size: 24px; font-weight: 700; color: #7c3aed;">${data.total_messages > 0 ? Math.round(100 * data.multi_scaring.user_messages_during / data.total_messages) : 0}%</div>
496244
496302
  <div style="font-size: 11px; color: #64748b; text-transform: uppercase;">Of Messages</div>
496245
496303
  </div>
496246
496304
  </div>
496247
496305
  <p style="font-size: 13px; color: #475569; margin-top: 12px;">
496248
- You run multiple Verboo Code sessions simultaneously. Multi-clauding is detected when sessions
496306
+ You run multiple Verboo Code sessions simultaneously. Multi-scaring is detected when sessions
496249
496307
  overlap in time, suggesting parallel workflows.
496250
496308
  </p>
496251
496309
  `}
@@ -502556,9 +502614,9 @@ var init_hookHelpers = __esm(() => {
502556
502614
  });
502557
502615
 
502558
502616
  // src/utils/hooks/execPromptHook.ts
502559
- import { randomUUID as randomUUID28 } from "crypto";
502617
+ import { randomUUID as randomUUID29 } from "crypto";
502560
502618
  async function execPromptHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, messages, toolUseID) {
502561
- const effectiveToolUseID = toolUseID || `hook-${randomUUID28()}`;
502619
+ const effectiveToolUseID = toolUseID || `hook-${randomUUID29()}`;
502562
502620
  try {
502563
502621
  const processedPrompt = addArgumentsToPrompt(hook.prompt, jsonInput);
502564
502622
  logForDebugging2(`Hooks: Processing prompt hook with prompt: ${processedPrompt}`);
@@ -502712,9 +502770,9 @@ var init_execPromptHook = __esm(() => {
502712
502770
  });
502713
502771
 
502714
502772
  // src/utils/hooks/execAgentHook.ts
502715
- import { randomUUID as randomUUID29 } from "crypto";
502773
+ import { randomUUID as randomUUID30 } from "crypto";
502716
502774
  async function execAgentHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, toolUseID, _messages, agentName) {
502717
- const effectiveToolUseID = toolUseID || `hook-${randomUUID29()}`;
502775
+ const effectiveToolUseID = toolUseID || `hook-${randomUUID30()}`;
502718
502776
  const transcriptPath = toolUseContext.agentId ? getAgentTranscriptPath(toolUseContext.agentId) : getTranscriptPath();
502719
502777
  const hookStartTime = Date.now();
502720
502778
  try {
@@ -502749,7 +502807,7 @@ When done, return your result using the ${SYNTHETIC_OUTPUT_TOOL_NAME} tool with:
502749
502807
  ]);
502750
502808
  const model = hook.model ?? getSmallFastModel();
502751
502809
  const MAX_AGENT_TURNS = 50;
502752
- const hookAgentId = asAgentId(`hook-agent-${randomUUID29()}`);
502810
+ const hookAgentId = asAgentId(`hook-agent-${randomUUID30()}`);
502753
502811
  const agentToolUseContext = {
502754
502812
  ...toolUseContext,
502755
502813
  agentId: hookAgentId,
@@ -504294,7 +504352,7 @@ __export(exports_hooks2, {
504294
504352
  });
504295
504353
  import { basename as basename47 } from "path";
504296
504354
  import { spawn as spawn9 } from "child_process";
504297
- import { randomUUID as randomUUID30 } from "crypto";
504355
+ import { randomUUID as randomUUID31 } from "crypto";
504298
504356
  function normalizeFallbackAgentModel(model) {
504299
504357
  if (model === "sonnet" || model === "opus" || model === "haiku") {
504300
504358
  return model;
@@ -505408,7 +505466,7 @@ async function* executeHooks({
505408
505466
  parentToolUseID: toolUseID,
505409
505467
  toolUseID,
505410
505468
  timestamp: new Date().toISOString(),
505411
- uuid: randomUUID30()
505469
+ uuid: randomUUID31()
505412
505470
  }
505413
505471
  };
505414
505472
  }
@@ -505470,7 +505528,7 @@ async function* executeHooks({
505470
505528
  const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, {
505471
505529
  timeoutMs: commandTimeoutMs
505472
505530
  });
505473
- const hookId = randomUUID30();
505531
+ const hookId = randomUUID31();
505474
505532
  const hookStartMs = Date.now();
505475
505533
  const hookCommand = getHookDisplayText(hook);
505476
505534
  try {
@@ -506118,7 +506176,7 @@ async function executeHooksOutsideREPL({
506118
506176
  const callbackTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
506119
506177
  const { signal: abortSignal2, cleanup: cleanup2 } = createCombinedAbortSignal(signal, { timeoutMs: callbackTimeoutMs });
506120
506178
  try {
506121
- const toolUseID = randomUUID30();
506179
+ const toolUseID = randomUUID31();
506122
506180
  const json2 = await hook.callback(hookInput, toolUseID, abortSignal2, hookIndex);
506123
506181
  cleanup2?.();
506124
506182
  if (isAsyncHookJSONOutput(json2)) {
@@ -506229,7 +506287,7 @@ async function executeHooksOutsideREPL({
506229
506287
  const commandTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
506230
506288
  const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, { timeoutMs: commandTimeoutMs });
506231
506289
  try {
506232
- const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal, randomUUID30(), hookIndex, pluginRoot, pluginId);
506290
+ const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal, randomUUID31(), hookIndex, pluginRoot, pluginId);
506233
506291
  cleanup?.();
506234
506292
  if (result.aborted) {
506235
506293
  logForDebugging2(`${hookName} [${hook.command}] cancelled`);
@@ -506447,7 +506505,7 @@ async function* executeStopHooks(permissionMode, signal, timeoutMs = TOOL_HOOK_E
506447
506505
  };
506448
506506
  yield* executeHooks({
506449
506507
  hookInput,
506450
- toolUseID: randomUUID30(),
506508
+ toolUseID: randomUUID31(),
506451
506509
  signal,
506452
506510
  timeoutMs,
506453
506511
  toolUseContext,
@@ -506464,7 +506522,7 @@ async function* executeTeammateIdleHooks(teammateName, teamName, permissionMode,
506464
506522
  };
506465
506523
  yield* executeHooks({
506466
506524
  hookInput,
506467
- toolUseID: randomUUID30(),
506525
+ toolUseID: randomUUID31(),
506468
506526
  signal,
506469
506527
  timeoutMs
506470
506528
  });
@@ -506481,7 +506539,7 @@ async function* executeTaskCreatedHooks(taskId, taskSubject, taskDescription, te
506481
506539
  };
506482
506540
  yield* executeHooks({
506483
506541
  hookInput,
506484
- toolUseID: randomUUID30(),
506542
+ toolUseID: randomUUID31(),
506485
506543
  signal,
506486
506544
  timeoutMs,
506487
506545
  toolUseContext
@@ -506501,7 +506559,7 @@ async function* executeTaskCompletedHooks(taskId, taskSubject, taskDescription,
506501
506559
  let preventedContinuation = false;
506502
506560
  for await (const result of executeHooks({
506503
506561
  hookInput,
506504
- toolUseID: randomUUID30(),
506562
+ toolUseID: randomUUID31(),
506505
506563
  signal,
506506
506564
  timeoutMs,
506507
506565
  toolUseContext
@@ -506539,7 +506597,7 @@ async function* executeUserPromptSubmitHooks(prompt, permissionMode, toolUseCont
506539
506597
  };
506540
506598
  yield* executeHooks({
506541
506599
  hookInput,
506542
- toolUseID: randomUUID30(),
506600
+ toolUseID: randomUUID31(),
506543
506601
  signal: toolUseContext.abortController.signal,
506544
506602
  timeoutMs: TOOL_HOOK_EXECUTION_TIMEOUT_MS,
506545
506603
  toolUseContext,
@@ -506556,7 +506614,7 @@ async function* executeSessionStartHooks(source, sessionId, agentType, model, si
506556
506614
  };
506557
506615
  yield* executeHooks({
506558
506616
  hookInput,
506559
- toolUseID: randomUUID30(),
506617
+ toolUseID: randomUUID31(),
506560
506618
  matchQuery: source,
506561
506619
  signal,
506562
506620
  timeoutMs,
@@ -506571,7 +506629,7 @@ async function* executeSetupHooks(trigger, signal, timeoutMs = TOOL_HOOK_EXECUTI
506571
506629
  };
506572
506630
  yield* executeHooks({
506573
506631
  hookInput,
506574
- toolUseID: randomUUID30(),
506632
+ toolUseID: randomUUID31(),
506575
506633
  matchQuery: trigger,
506576
506634
  signal,
506577
506635
  timeoutMs,
@@ -506587,7 +506645,7 @@ async function* executeSubagentStartHooks(agentId, agentType, signal, timeoutMs
506587
506645
  };
506588
506646
  yield* executeHooks({
506589
506647
  hookInput,
506590
- toolUseID: randomUUID30(),
506648
+ toolUseID: randomUUID31(),
506591
506649
  matchQuery: agentType,
506592
506650
  signal,
506593
506651
  timeoutMs
@@ -506950,7 +507008,7 @@ async function executeStatusLineCommand(statusLineInput, signal, timeoutMs = 500
506950
507008
  const abortSignal = signal || AbortSignal.timeout(timeoutMs);
506951
507009
  try {
506952
507010
  const jsonInput = jsonStringify(statusLineInput);
506953
- const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal, randomUUID30());
507011
+ const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal, randomUUID31());
506954
507012
  if (result.aborted) {
506955
507013
  return;
506956
507014
  }
@@ -506994,7 +507052,7 @@ async function executeFileSuggestionCommand(fileSuggestionInput, signal, timeout
506994
507052
  try {
506995
507053
  const jsonInput = jsonStringify(fileSuggestionInput);
506996
507054
  const hook = { type: "command", command: fileSuggestion.command };
506997
- const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal, randomUUID30());
507055
+ const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal, randomUUID31());
506998
507056
  if (result.aborted || result.status !== 0) {
506999
507057
  return [];
507000
507058
  }
@@ -509118,7 +509176,7 @@ function printStartupScreen(modelOverride) {
509118
509176
  const home = process.env.HOME || process.env.USERPROFILE || "";
509119
509177
  const cwd2 = process.cwd();
509120
509178
  const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
509121
- const version3 = "0.7.25";
509179
+ const version3 = "0.7.27";
509122
509180
  const bold2 = `${ESC3}1m`;
509123
509181
  const PURPLE = rgb3(...ACCENT);
509124
509182
  const SOFT = rgb3(...CREAM);
@@ -512989,7 +513047,7 @@ var init_inboundMessages = __esm(() => {
512989
513047
  });
512990
513048
 
512991
513049
  // src/utils/messages/systemInit.ts
512992
- import { randomUUID as randomUUID31 } from "crypto";
513050
+ import { randomUUID as randomUUID32 } from "crypto";
512993
513051
  function sdkCompatToolName(name) {
512994
513052
  return name === AGENT_TOOL_NAME ? LEGACY_AGENT_TOOL_NAME : name;
512995
513053
  }
@@ -513020,7 +513078,7 @@ function buildSystemInitMessage(inputs) {
513020
513078
  path: plugin2.path,
513021
513079
  source: plugin2.source
513022
513080
  })),
513023
- uuid: randomUUID31()
513081
+ uuid: randomUUID32()
513024
513082
  };
513025
513083
  if (false) {}
513026
513084
  initMessage.fast_mode_state = getFastModeState(inputs.model, inputs.fastMode);
@@ -513104,7 +513162,7 @@ __export(exports_MessageSelector, {
513104
513162
  messagesAfterAreOnlySynthetic: () => messagesAfterAreOnlySynthetic,
513105
513163
  MessageSelector: () => MessageSelector
513106
513164
  });
513107
- import { randomUUID as randomUUID32 } from "crypto";
513165
+ import { randomUUID as randomUUID33 } from "crypto";
513108
513166
  import * as path21 from "path";
513109
513167
  function isTextBlock2(block2) {
513110
513168
  return block2.type === "text";
@@ -513124,7 +513182,7 @@ function MessageSelector({
513124
513182
  const fileHistory = useAppState((s) => s.fileHistory);
513125
513183
  const [error42, setError] = import_react197.useState(undefined);
513126
513184
  const isFileHistoryEnabled = fileHistoryEnabled();
513127
- const currentUUID = import_react197.useMemo(randomUUID32, []);
513185
+ const currentUUID = import_react197.useMemo(randomUUID33, []);
513128
513186
  const messageOptions = import_react197.useMemo(() => [...messages.filter(selectableUserMessagesFilter), {
513129
513187
  ...createUserMessage({
513130
513188
  content: ""
@@ -518973,7 +519031,7 @@ var init_FileEditToolDiff = __esm(() => {
518973
519031
  });
518974
519032
 
518975
519033
  // src/hooks/useDiffInIDE.ts
518976
- import { randomUUID as randomUUID33 } from "crypto";
519034
+ import { randomUUID as randomUUID34 } from "crypto";
518977
519035
  import { basename as basename50 } from "path";
518978
519036
  async function runAllPendingDiffCleanups() {
518979
519037
  const cleanups = Array.from(pendingDiffCleanups);
@@ -519003,7 +519061,7 @@ function useDiffInIDE({
519003
519061
  }) {
519004
519062
  const isUnmounted = import_react208.useRef(false);
519005
519063
  const [hasError, setHasError] = import_react208.useState(false);
519006
- const sha = import_react208.useMemo(() => randomUUID33().slice(0, 6), []);
519064
+ const sha = import_react208.useMemo(() => randomUUID34().slice(0, 6), []);
519007
519065
  const tabName = import_react208.useMemo(() => `✻ [Verboo Code] ${basename50(filePath)} (${sha}) ⧉`, [filePath, sha]);
519008
519066
  const shouldShowDiffInIDE = hasAccessToIDEExtensionDiffFeature(toolUseContext.options.mcpClients) && getGlobalConfig().diffTool === "auto" && !filePath.endsWith(".ipynb");
519009
519067
  const ideName = getConnectedIdeName(toolUseContext.options.mcpClients) ?? "IDE";
@@ -528391,7 +528449,7 @@ function AutoUpdater({
528391
528449
  return;
528392
528450
  }
528393
528451
  if (false) {}
528394
- const currentVersion = "0.7.25";
528452
+ const currentVersion = "0.7.27";
528395
528453
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
528396
528454
  let latestVersion = await getLatestVersion(channel);
528397
528455
  const isDisabled = isAutoUpdaterDisabled();
@@ -528744,17 +528802,17 @@ function PackageManagerAutoUpdater(t0) {
528744
528802
  const maxVersion = await getMaxVersion();
528745
528803
  if (maxVersion && latest && gt(latest, maxVersion)) {
528746
528804
  logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
528747
- if (gte("0.7.25", maxVersion)) {
528748
- logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.7.25"} is already at or above maxVersion ${maxVersion}, skipping update`);
528805
+ if (gte("0.7.27", maxVersion)) {
528806
+ logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.7.27"} is already at or above maxVersion ${maxVersion}, skipping update`);
528749
528807
  setUpdateAvailable(false);
528750
528808
  return;
528751
528809
  }
528752
528810
  latest = maxVersion;
528753
528811
  }
528754
- const hasUpdate = latest && !gte("0.7.25", latest) && !shouldSkipVersion(latest);
528812
+ const hasUpdate = latest && !gte("0.7.27", latest) && !shouldSkipVersion(latest);
528755
528813
  setUpdateAvailable(!!hasUpdate);
528756
528814
  if (hasUpdate) {
528757
- logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.25"} -> ${latest}`);
528815
+ logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.7.27"} -> ${latest}`);
528758
528816
  }
528759
528817
  };
528760
528818
  $2[0] = t1;
@@ -528788,7 +528846,7 @@ function PackageManagerAutoUpdater(t0) {
528788
528846
  wrap: "truncate",
528789
528847
  children: [
528790
528848
  "currentVersion: ",
528791
- "0.7.25"
528849
+ "0.7.27"
528792
528850
  ]
528793
528851
  }, undefined, true, undefined, this);
528794
528852
  $2[3] = verbose;
@@ -535512,7 +535570,7 @@ var init_teamDiscovery = __esm(() => {
535512
535570
  });
535513
535571
 
535514
535572
  // src/components/teams/TeamsDialog.tsx
535515
- import { randomUUID as randomUUID34 } from "crypto";
535573
+ import { randomUUID as randomUUID35 } from "crypto";
535516
535574
  function TeamsDialog({
535517
535575
  initialTeams,
535518
535576
  onDone
@@ -536136,7 +536194,7 @@ async function killTeammate(paneId, backendType, teamName, teammateId, teammateN
536136
536194
  },
536137
536195
  inbox: {
536138
536196
  messages: [...prev.inbox.messages, {
536139
- id: randomUUID34(),
536197
+ id: randomUUID35(),
536140
536198
  from: "system",
536141
536199
  text: jsonStringify({
536142
536200
  type: "teammate_terminated",
@@ -541771,28 +541829,48 @@ function PromptInput({
541771
541829
  }, undefined, false, undefined, this)
541772
541830
  ]
541773
541831
  }, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedBox_default, {
541774
- flexDirection: "row",
541775
- alignItems: "flex-start",
541776
- justifyContent: "flex-start",
541777
- borderColor: getBorderColor(),
541778
- borderStyle: "round",
541779
- borderLeft: false,
541780
- borderRight: false,
541781
- borderBottom: true,
541832
+ flexDirection: "column",
541782
541833
  width: "100%",
541783
- borderText: buildBorderText(showFastIcon ?? false, showFastIconHint, fastModeCooldown),
541784
541834
  children: [
541785
- /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(PromptInputModeIndicator, {
541786
- mode,
541787
- isLoading,
541788
- viewingAgentName,
541789
- viewingAgentColor
541835
+ /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedText, {
541836
+ color: "rgb(45,45,45)",
541837
+ children: "▄".repeat(columns)
541790
541838
  }, undefined, false, undefined, this),
541791
541839
  /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedBox_default, {
541792
- flexGrow: 1,
541793
- flexShrink: 1,
541794
- onClick: handleInputClick,
541795
- children: textInputElement
541840
+ flexDirection: "row",
541841
+ alignItems: "flex-start",
541842
+ justifyContent: "flex-start",
541843
+ backgroundColor: "rgb(45,45,45)",
541844
+ children: [
541845
+ /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(PromptInputModeIndicator, {
541846
+ mode,
541847
+ isLoading,
541848
+ viewingAgentName,
541849
+ viewingAgentColor
541850
+ }, undefined, false, undefined, this),
541851
+ showFastIcon && /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedText, {
541852
+ color: getBorderColor(),
541853
+ children: [
541854
+ " ",
541855
+ getFastIconString(true, fastModeCooldown),
541856
+ " ",
541857
+ showFastIconHint && /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedText, {
541858
+ dimColor: true,
541859
+ children: "/fast"
541860
+ }, undefined, false, undefined, this)
541861
+ ]
541862
+ }, undefined, true, undefined, this),
541863
+ /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedBox_default, {
541864
+ flexGrow: 1,
541865
+ flexShrink: 1,
541866
+ onClick: handleInputClick,
541867
+ children: textInputElement
541868
+ }, undefined, false, undefined, this)
541869
+ ]
541870
+ }, undefined, true, undefined, this),
541871
+ /* @__PURE__ */ jsx_dev_runtime433.jsxDEV(ThemedText, {
541872
+ color: "rgb(45,45,45)",
541873
+ children: "▀".repeat(columns)
541796
541874
  }, undefined, false, undefined, this)
541797
541875
  ]
541798
541876
  }, undefined, true, undefined, this),
@@ -541883,20 +541961,8 @@ function getInitialPasteId(messages) {
541883
541961
  }
541884
541962
  return maxId + 1;
541885
541963
  }
541886
- function buildBorderText(showFastIcon, showFastIconHint, fastModeCooldown) {
541887
- if (!showFastIcon)
541888
- return;
541889
- const fastSeg = showFastIconHint ? `${getFastIconString(true, fastModeCooldown)} ${source_default.dim("/fast")}` : getFastIconString(true, fastModeCooldown);
541890
- return {
541891
- content: ` ${fastSeg} `,
541892
- position: "top",
541893
- align: "end",
541894
- offset: 0
541895
- };
541896
- }
541897
541964
  var React148, import_react258, jsx_dev_runtime433, PROMPT_FOOTER_LINES = 5, MIN_INPUT_VIEWPORT_LINES = 3, PromptInput_default;
541898
541965
  var init_PromptInput = __esm(() => {
541899
- init_source2();
541900
541966
  init_notifications();
541901
541967
  init_useCommandQueue();
541902
541968
  init_useIdeAtMentioned();
@@ -542016,7 +542082,7 @@ function normalizeControlMessageKeys(obj) {
542016
542082
  }
542017
542083
 
542018
542084
  // src/bridge/bridgeMessaging.ts
542019
- import { randomUUID as randomUUID35 } from "crypto";
542085
+ import { randomUUID as randomUUID36 } from "crypto";
542020
542086
  function isSDKMessage(value) {
542021
542087
  return value !== null && typeof value === "object" && "type" in value && typeof value.type === "string";
542022
542088
  }
@@ -542224,7 +542290,7 @@ function makeResultMessage(sessionId) {
542224
542290
  modelUsage: {},
542225
542291
  permission_denials: [],
542226
542292
  session_id: sessionId,
542227
- uuid: randomUUID35()
542293
+ uuid: randomUUID36()
542228
542294
  };
542229
542295
  }
542230
542296
 
@@ -542267,7 +542333,7 @@ var init_bridgeMessaging = __esm(() => {
542267
542333
  });
542268
542334
 
542269
542335
  // src/remote/SessionsWebSocket.ts
542270
- import { randomUUID as randomUUID36 } from "crypto";
542336
+ import { randomUUID as randomUUID37 } from "crypto";
542271
542337
  function isSessionsMessage(value) {
542272
542338
  if (typeof value !== "object" || value === null || !("type" in value)) {
542273
542339
  return false;
@@ -542492,7 +542558,7 @@ class SessionsWebSocket {
542492
542558
  }
542493
542559
  const controlRequest = {
542494
542560
  type: "control_request",
542495
- request_id: randomUUID36(),
542561
+ request_id: randomUUID37(),
542496
542562
  request
542497
542563
  };
542498
542564
  logForDebugging2(`[SessionsWebSocket] Sending control request: ${request.subtype}`);
@@ -542681,11 +542747,11 @@ var init_RemoteSessionManager = __esm(() => {
542681
542747
  });
542682
542748
 
542683
542749
  // src/remote/remotePermissionBridge.ts
542684
- import { randomUUID as randomUUID37 } from "crypto";
542750
+ import { randomUUID as randomUUID38 } from "crypto";
542685
542751
  function createSyntheticAssistantMessage(request, requestId) {
542686
542752
  return {
542687
542753
  type: "assistant",
542688
- uuid: randomUUID37(),
542754
+ uuid: randomUUID38(),
542689
542755
  message: {
542690
542756
  id: `remote-${requestId}`,
542691
542757
  type: "message",
@@ -543488,7 +543554,7 @@ var init_useDirectConnect = __esm(() => {
543488
543554
  });
543489
543555
 
543490
543556
  // src/hooks/useSSHSession.ts
543491
- import { randomUUID as randomUUID38 } from "crypto";
543557
+ import { randomUUID as randomUUID39 } from "crypto";
543492
543558
  function useSSHSession({
543493
543559
  session: session2,
543494
543560
  setMessages,
@@ -543586,7 +543652,7 @@ function useSSHSession({
543586
543652
  subtype: "informational",
543587
543653
  content: `SSH connection dropped — reconnecting (attempt ${attempt}/${max2})...`,
543588
543654
  timestamp: new Date().toISOString(),
543589
- uuid: randomUUID38(),
543655
+ uuid: randomUUID39(),
543590
543656
  level: "warning"
543591
543657
  };
543592
543658
  setMessages((prev) => [...prev, msg]);
@@ -545726,7 +545792,7 @@ var init_PermissionContext = __esm(() => {
545726
545792
  });
545727
545793
 
545728
545794
  // src/hooks/toolPermission/handlers/interactiveHandler.ts
545729
- import { randomUUID as randomUUID39 } from "crypto";
545795
+ import { randomUUID as randomUUID40 } from "crypto";
545730
545796
  function handleInteractivePermission(params, resolve44) {
545731
545797
  const {
545732
545798
  ctx,
@@ -545740,7 +545806,7 @@ function handleInteractivePermission(params, resolve44) {
545740
545806
  let userInteracted = false;
545741
545807
  let checkmarkTransitionTimer;
545742
545808
  let checkmarkAbortHandler;
545743
- const bridgeRequestId = bridgeCallbacks ? randomUUID39() : undefined;
545809
+ const bridgeRequestId = bridgeCallbacks ? randomUUID40() : undefined;
545744
545810
  let channelUnsubscribe;
545745
545811
  const permissionPromptStartTimeMs = Date.now();
545746
545812
  const displayInput = result.updatedInput ?? ctx.input;
@@ -546162,9 +546228,9 @@ function matchesKeepGoingKeyword(input) {
546162
546228
  }
546163
546229
 
546164
546230
  // src/utils/processUserInput/processTextPrompt.ts
546165
- import { randomUUID as randomUUID40 } from "crypto";
546231
+ import { randomUUID as randomUUID41 } from "crypto";
546166
546232
  function processTextPrompt(input, imageContentBlocks, imagePasteIds, attachmentMessages, uuid3, permissionMode, isMeta) {
546167
- const promptId = randomUUID40();
546233
+ const promptId = randomUUID41();
546168
546234
  setPromptId(promptId);
546169
546235
  const userPromptText = typeof input === "string" ? input : input.find((block2) => block2.type === "text")?.text || "";
546170
546236
  startInteractionSpan(userPromptText);
@@ -546297,7 +546363,7 @@ var exports_processBashCommand = {};
546297
546363
  __export(exports_processBashCommand, {
546298
546364
  processBashCommand: () => processBashCommand
546299
546365
  });
546300
- import { randomUUID as randomUUID41 } from "crypto";
546366
+ import { randomUUID as randomUUID42 } from "crypto";
546301
546367
  async function processBashCommand(inputString, precedingInputBlocks, attachmentMessages, context7, setToolJSX) {
546302
546368
  const usePowerShell = isPowerShellToolEnabled() && resolveDefaultShell() === "powershell";
546303
546369
  logEvent("tengu_input_bash", {
@@ -546363,7 +546429,7 @@ async function processBashCommand(inputString, precedingInputBlocks, attachmentM
546363
546429
  const mapped = await processToolResultBlock(shellTool, {
546364
546430
  ...data,
546365
546431
  stderr: ""
546366
- }, randomUUID41());
546432
+ }, randomUUID42());
546367
546433
  const stdout = typeof mapped.content === "string" ? mapped.content : escapeXml(data.stdout);
546368
546434
  return {
546369
546435
  messages: [createSyntheticUserCaveatMessage(), userMessage, ...attachmentMessages, createUserMessage({
@@ -546411,7 +546477,7 @@ var init_processBashCommand = __esm(() => {
546411
546477
  });
546412
546478
 
546413
546479
  // src/utils/processUserInput/processUserInput.ts
546414
- import { randomUUID as randomUUID42 } from "crypto";
546480
+ import { randomUUID as randomUUID43 } from "crypto";
546415
546481
  async function processUserInput({
546416
546482
  input,
546417
546483
  preExpansionInput,
@@ -546473,7 +546539,7 @@ Original prompt: ${input}`, "warning")
546473
546539
  type: "hook_additional_context",
546474
546540
  content: hookResult.additionalContexts.map(applyTruncation),
546475
546541
  hookName: "UserPromptSubmit",
546476
- toolUseID: `hook-${randomUUID42()}`,
546542
+ toolUseID: `hook-${randomUUID43()}`,
546477
546543
  hookEvent: "UserPromptSubmit"
546478
546544
  }));
546479
546545
  }
@@ -548018,7 +548084,7 @@ var init_sessionRestore = __esm(() => {
548018
548084
  });
548019
548085
 
548020
548086
  // src/hooks/useInboxPoller.ts
548021
- import { randomUUID as randomUUID43 } from "crypto";
548087
+ import { randomUUID as randomUUID44 } from "crypto";
548022
548088
  function getAgentNameToPoll(appState) {
548023
548089
  if (isInProcessTeammate()) {
548024
548090
  return;
@@ -548435,7 +548501,7 @@ function useInboxPoller({
548435
548501
  messages: [
548436
548502
  ...prev.inbox.messages,
548437
548503
  {
548438
- id: randomUUID43(),
548504
+ id: randomUUID44(),
548439
548505
  from: "system",
548440
548506
  text: jsonStringify({
548441
548507
  type: "teammate_terminated",
@@ -548475,7 +548541,7 @@ ${messageContent}
548475
548541
  messages: [
548476
548542
  ...prev.inbox.messages,
548477
548543
  ...regularMessages.map((m) => ({
548478
- id: randomUUID43(),
548544
+ id: randomUUID44(),
548479
548545
  from: m.from,
548480
548546
  text: m.text,
548481
548547
  timestamp: m.timestamp,
@@ -549314,7 +549380,7 @@ async function submitTranscriptShare() {
549314
549380
  }
549315
549381
 
549316
549382
  // src/components/FeedbackSurvey/useSurveyState.tsx
549317
- import { randomUUID as randomUUID44 } from "crypto";
549383
+ import { randomUUID as randomUUID45 } from "crypto";
549318
549384
  function useSurveyState({
549319
549385
  hideThanksAfterMs,
549320
549386
  onOpen,
@@ -549325,7 +549391,7 @@ function useSurveyState({
549325
549391
  }) {
549326
549392
  const [state3, setState] = import_react290.useState("closed");
549327
549393
  const [lastResponse, setLastResponse] = import_react290.useState(null);
549328
- const appearanceId = import_react290.useRef(randomUUID44());
549394
+ const appearanceId = import_react290.useRef(randomUUID45());
549329
549395
  const lastResponseRef = import_react290.useRef(null);
549330
549396
  const showThanksThenClose = import_react290.useCallback(() => {
549331
549397
  setState("thanks");
@@ -549343,7 +549409,7 @@ function useSurveyState({
549343
549409
  return;
549344
549410
  }
549345
549411
  setState("open");
549346
- appearanceId.current = randomUUID44();
549412
+ appearanceId.current = randomUUID45();
549347
549413
  onOpen(appearanceId.current);
549348
549414
  }, [state3, onOpen]);
549349
549415
  const handleSelect = import_react290.useCallback((selected) => {
@@ -551398,7 +551464,7 @@ var init_tipRegistry = __esm(() => {
551398
551464
  }
551399
551465
  },
551400
551466
  {
551401
- id: "color-when-multi-clauding",
551467
+ id: "color-when-multi-scaring",
551402
551468
  content: async () => "Running multiple Verboo Code sessions? Use /color and /rename to tell them apart at a glance.",
551403
551469
  cooldownSessions: 10,
551404
551470
  isRelevant: async () => {
@@ -552272,7 +552338,7 @@ var init_ndjsonSafeStringify = __esm(() => {
552272
552338
  });
552273
552339
 
552274
552340
  // src/cli/structuredIO.ts
552275
- import { randomUUID as randomUUID45 } from "crypto";
552341
+ import { randomUUID as randomUUID46 } from "crypto";
552276
552342
  function serializeDecisionReason(reason) {
552277
552343
  if (!reason) {
552278
552344
  return;
@@ -552522,7 +552588,7 @@ class StructuredIO {
552522
552588
  writeToStdout(ndjsonSafeStringify(message) + `
552523
552589
  `);
552524
552590
  }
552525
- async sendRequest(request, schema, signal, requestId = randomUUID45()) {
552591
+ async sendRequest(request, schema, signal, requestId = randomUUID46()) {
552526
552592
  const message = {
552527
552593
  type: "control_request",
552528
552594
  request_id: requestId,
@@ -552588,7 +552654,7 @@ class StructuredIO {
552588
552654
  parentSignal.addEventListener("abort", onParentAbort, { once: true });
552589
552655
  try {
552590
552656
  const hookPromise = executePermissionRequestHooksForSDK(tool.name, toolUseID, input, toolUseContext, mainPermissionResult.suggestions).then((decision) => ({ source: "hook", decision }));
552591
- const requestId = randomUUID45();
552657
+ const requestId = randomUUID46();
552592
552658
  onPermissionPrompt?.(buildRequiresActionDetails(tool, input, toolUseID, requestId));
552593
552659
  const sdkPromise = this.sendRequest({
552594
552660
  subtype: "can_use_tool",
@@ -552668,7 +552734,7 @@ class StructuredIO {
552668
552734
  subtype: "can_use_tool",
552669
552735
  tool_name: SANDBOX_NETWORK_ACCESS_TOOL_NAME,
552670
552736
  input: { host: hostPattern.host },
552671
- tool_use_id: randomUUID45(),
552737
+ tool_use_id: randomUUID46(),
552672
552738
  description: `Allow network connection to ${hostPattern.host}?`
552673
552739
  }, outputSchema35());
552674
552740
  return result.behavior === "allow";
@@ -557279,7 +557345,7 @@ __export(exports_REPL, {
557279
557345
  import { dirname as dirname59, join as join150 } from "path";
557280
557346
  import { tmpdir as tmpdir10 } from "os";
557281
557347
  import { writeFile as writeFile51 } from "fs/promises";
557282
- import { randomUUID as randomUUID46 } from "crypto";
557348
+ import { randomUUID as randomUUID47 } from "crypto";
557283
557349
  function TranscriptModeFooter(t0) {
557284
557350
  const $2 = import_react_compiler_runtime355.c(9);
557285
557351
  const {
@@ -558051,7 +558117,7 @@ function REPL({
558051
558117
  const [isMessageSelectorVisible, setIsMessageSelectorVisible] = import_react317.useState(false);
558052
558118
  const [messageSelectorPreselect, setMessageSelectorPreselect] = import_react317.useState(undefined);
558053
558119
  const [showCostDialog, setShowCostDialog] = import_react317.useState(false);
558054
- const [conversationId, setConversationId] = import_react317.useState(randomUUID46());
558120
+ const [conversationId, setConversationId] = import_react317.useState(randomUUID47());
558055
558121
  const [idleReturnPending, setIdleReturnPending] = import_react317.useState(null);
558056
558122
  const skipIdleCheckRef = import_react317.useRef(false);
558057
558123
  const lastQueryCompletionTimeRef = import_react317.useRef(lastQueryCompletionTime);
@@ -558810,7 +558876,7 @@ Error: sandbox required but unavailable: ${reason}
558810
558876
  } else {
558811
558877
  setMessages(() => [newMessage]);
558812
558878
  }
558813
- setConversationId(randomUUID46());
558879
+ setConversationId(randomUUID47());
558814
558880
  if (false) {}
558815
558881
  } else if (newMessage.type === "progress" && isEphemeralToolProgress(newMessage.data.type)) {
558816
558882
  setMessages((oldMessages) => {
@@ -558886,7 +558952,7 @@ Error: sandbox required but unavailable: ${reason}
558886
558952
  });
558887
558953
  if (!shouldQuery) {
558888
558954
  if (newMessages.some(isCompactBoundaryMessage)) {
558889
- setConversationId(randomUUID46());
558955
+ setConversationId(randomUUID47());
558890
558956
  if (false) {}
558891
558957
  }
558892
558958
  resetLoadingState();
@@ -559541,7 +559607,7 @@ Error: sandbox required but unavailable: ${reason}
559541
559607
  rewindToMessageIndex: messageIndex
559542
559608
  });
559543
559609
  setMessages(prev.slice(0, messageIndex));
559544
- setConversationId(randomUUID46());
559610
+ setConversationId(randomUUID47());
559545
559611
  resetMicrocompactState();
559546
559612
  if (false) {}
559547
559613
  setAppState((prev2) => ({
@@ -560719,7 +560785,7 @@ Note: ctrl + z now suspends Verboo Code, ctrl + _ undoes input.
560719
560785
  setMessages(postCompact);
560720
560786
  }
560721
560787
  if (false) {}
560722
- setConversationId(randomUUID46());
560788
+ setConversationId(randomUUID47());
560723
560789
  runPostCompactCleanup(context7.options.querySource);
560724
560790
  if (direction === "from") {
560725
560791
  const r = textForResubmit(message);
@@ -562183,7 +562249,7 @@ function WelcomeV2() {
562183
562249
  dimColor: true,
562184
562250
  children: [
562185
562251
  "v",
562186
- "0.7.25",
562252
+ "0.7.27",
562187
562253
  " "
562188
562254
  ]
562189
562255
  }, undefined, true, undefined, this)
@@ -562370,7 +562436,7 @@ function WelcomeV2() {
562370
562436
  dimColor: true,
562371
562437
  children: [
562372
562438
  "v",
562373
- "0.7.25",
562439
+ "0.7.27",
562374
562440
  " "
562375
562441
  ]
562376
562442
  }, undefined, true, undefined, this)
@@ -562586,7 +562652,7 @@ function AppleTerminalWelcomeV2(t0) {
562586
562652
  dimColor: true,
562587
562653
  children: [
562588
562654
  "v",
562589
- "0.7.25",
562655
+ "0.7.27",
562590
562656
  " "
562591
562657
  ]
562592
562658
  }, undefined, true, undefined, this);
@@ -562795,7 +562861,7 @@ function AppleTerminalWelcomeV2(t0) {
562795
562861
  dimColor: true,
562796
562862
  children: [
562797
562863
  "v",
562798
- "0.7.25",
562864
+ "0.7.27",
562799
562865
  " "
562800
562866
  ]
562801
562867
  }, undefined, true, undefined, this);
@@ -571170,7 +571236,7 @@ function coalescePatches(base2, overlay) {
571170
571236
  var init_WorkerStateUploader = () => {};
571171
571237
 
571172
571238
  // src/cli/transports/ccrClient.ts
571173
- import { randomUUID as randomUUID47 } from "crypto";
571239
+ import { randomUUID as randomUUID48 } from "crypto";
571174
571240
  function alwaysValidStatus() {
571175
571241
  return true;
571176
571242
  }
@@ -571529,7 +571595,7 @@ class CCRClient {
571529
571595
  return {
571530
571596
  payload: {
571531
571597
  ...msg,
571532
- uuid: typeof msg.uuid === "string" ? msg.uuid : randomUUID47()
571598
+ uuid: typeof msg.uuid === "string" ? msg.uuid : randomUUID48()
571533
571599
  }
571534
571600
  };
571535
571601
  }
@@ -571553,7 +571619,7 @@ class CCRClient {
571553
571619
  payload: {
571554
571620
  type: eventType,
571555
571621
  ...payload,
571556
- uuid: typeof payload.uuid === "string" ? payload.uuid : randomUUID47()
571622
+ uuid: typeof payload.uuid === "string" ? payload.uuid : randomUUID48()
571557
571623
  },
571558
571624
  ...isCompaction && { is_compaction: true },
571559
571625
  ...agentId && { agent_id: agentId }
@@ -573060,7 +573126,7 @@ var init_queryContext = __esm(() => {
573060
573126
  });
573061
573127
 
573062
573128
  // src/QueryEngine.ts
573063
- import { randomUUID as randomUUID48 } from "crypto";
573129
+ import { randomUUID as randomUUID49 } from "crypto";
573064
573130
 
573065
573131
  class QueryEngine {
573066
573132
  config;
@@ -573369,7 +573435,7 @@ class QueryEngine {
573369
573435
  modelUsage: getModelUsage(),
573370
573436
  permission_denials: this.permissionDenials,
573371
573437
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
573372
- uuid: randomUUID48()
573438
+ uuid: randomUUID49()
573373
573439
  };
573374
573440
  return;
573375
573441
  }
@@ -573492,7 +573558,7 @@ class QueryEngine {
573492
573558
  event: message.event,
573493
573559
  session_id: getSessionId(),
573494
573560
  parent_tool_use_id: null,
573495
- uuid: randomUUID48()
573561
+ uuid: randomUUID49()
573496
573562
  };
573497
573563
  }
573498
573564
  break;
@@ -573524,7 +573590,7 @@ class QueryEngine {
573524
573590
  modelUsage: getModelUsage(),
573525
573591
  permission_denials: this.permissionDenials,
573526
573592
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
573527
- uuid: randomUUID48(),
573593
+ uuid: randomUUID49(),
573528
573594
  errors: [
573529
573595
  `Reached maximum number of turns (${message.attachment.maxTurns})`
573530
573596
  ]
@@ -573619,7 +573685,7 @@ class QueryEngine {
573619
573685
  modelUsage: getModelUsage(),
573620
573686
  permission_denials: this.permissionDenials,
573621
573687
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
573622
- uuid: randomUUID48(),
573688
+ uuid: randomUUID49(),
573623
573689
  errors: [`Reached maximum budget ($${maxBudgetUsd})`]
573624
573690
  };
573625
573691
  return;
@@ -573648,7 +573714,7 @@ class QueryEngine {
573648
573714
  modelUsage: getModelUsage(),
573649
573715
  permission_denials: this.permissionDenials,
573650
573716
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
573651
- uuid: randomUUID48(),
573717
+ uuid: randomUUID49(),
573652
573718
  errors: [
573653
573719
  `Failed to provide valid structured output after ${maxRetries} attempts`
573654
573720
  ]
@@ -573680,7 +573746,7 @@ class QueryEngine {
573680
573746
  modelUsage: getModelUsage(),
573681
573747
  permission_denials: this.permissionDenials,
573682
573748
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
573683
- uuid: randomUUID48(),
573749
+ uuid: randomUUID49(),
573684
573750
  errors: (() => {
573685
573751
  const all6 = getInMemoryErrors();
573686
573752
  const start = errorLogWatermark ? all6.lastIndexOf(errorLogWatermark) + 1 : 0;
@@ -573717,7 +573783,7 @@ class QueryEngine {
573717
573783
  permission_denials: this.permissionDenials,
573718
573784
  structured_output: structuredOutputFromTool,
573719
573785
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
573720
- uuid: randomUUID48()
573786
+ uuid: randomUUID49()
573721
573787
  };
573722
573788
  }
573723
573789
  interrupt() {
@@ -573895,7 +573961,7 @@ var init_idleTimeout = __esm(() => {
573895
573961
  });
573896
573962
 
573897
573963
  // src/bridge/inboundAttachments.ts
573898
- import { randomUUID as randomUUID49 } from "crypto";
573964
+ import { randomUUID as randomUUID50 } from "crypto";
573899
573965
  import { mkdir as mkdir48, writeFile as writeFile53 } from "fs/promises";
573900
573966
  import { basename as basename61, join as join154 } from "path";
573901
573967
  function debug(msg) {
@@ -573940,7 +574006,7 @@ async function resolveOne(att) {
573940
574006
  return;
573941
574007
  }
573942
574008
  const safeName = sanitizeFileName(att.file_name);
573943
- const prefix = (att.file_uuid.slice(0, 8) || randomUUID49().slice(0, 8)).replace(/[^a-zA-Z0-9_-]/g, "_");
574009
+ const prefix = (att.file_uuid.slice(0, 8) || randomUUID50().slice(0, 8)).replace(/[^a-zA-Z0-9_-]/g, "_");
573944
574010
  const dir = uploadsDir();
573945
574011
  const outPath = join154(dir, `${prefix}-${safeName}`);
573946
574012
  try {
@@ -574004,11 +574070,11 @@ var init_inboundAttachments = __esm(() => {
574004
574070
  });
574005
574071
 
574006
574072
  // src/utils/sessionUrl.ts
574007
- import { randomUUID as randomUUID50 } from "crypto";
574073
+ import { randomUUID as randomUUID51 } from "crypto";
574008
574074
  function parseSessionIdentifier(resumeIdentifier) {
574009
574075
  if (resumeIdentifier.toLowerCase().endsWith(".jsonl")) {
574010
574076
  return {
574011
- sessionId: randomUUID50(),
574077
+ sessionId: randomUUID51(),
574012
574078
  ingressUrl: null,
574013
574079
  isUrl: false,
574014
574080
  jsonlFile: resumeIdentifier,
@@ -574027,7 +574093,7 @@ function parseSessionIdentifier(resumeIdentifier) {
574027
574093
  try {
574028
574094
  const url4 = new URL(resumeIdentifier);
574029
574095
  return {
574030
- sessionId: randomUUID50(),
574096
+ sessionId: randomUUID51(),
574031
574097
  ingressUrl: url4.href,
574032
574098
  isUrl: true,
574033
574099
  jsonlFile: null,
@@ -574636,7 +574702,7 @@ var init_bridgePointer = __esm(() => {
574636
574702
  });
574637
574703
 
574638
574704
  // src/bridge/replBridge.ts
574639
- import { randomUUID as randomUUID51 } from "crypto";
574705
+ import { randomUUID as randomUUID52 } from "crypto";
574640
574706
  async function initBridgeCore(params) {
574641
574707
  const {
574642
574708
  dir,
@@ -574693,9 +574759,9 @@ async function initBridgeCore(params) {
574693
574759
  spawnMode: "single-session",
574694
574760
  verbose: false,
574695
574761
  sandbox: false,
574696
- bridgeId: randomUUID51(),
574762
+ bridgeId: randomUUID52(),
574697
574763
  workerType,
574698
- environmentId: randomUUID51(),
574764
+ environmentId: randomUUID52(),
574699
574765
  reuseEnvironmentId: prior?.environmentId,
574700
574766
  apiBaseUrl: baseUrl,
574701
574767
  sessionIngressUrl
@@ -576543,7 +576609,7 @@ __export(exports_print, {
576543
576609
  import { readFile as readFile55, stat as stat56 } from "fs/promises";
576544
576610
  import { dirname as dirname63 } from "path";
576545
576611
  import { cwd as cwd3 } from "process";
576546
- import { randomUUID as randomUUID52 } from "crypto";
576612
+ import { randomUUID as randomUUID53 } from "crypto";
576547
576613
  function trackReceivedMessageUuid(uuid3) {
576548
576614
  if (receivedMessageUuids.has(uuid3)) {
576549
576615
  return false;
@@ -576663,7 +576729,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
576663
576729
  hook_id: event.hookId,
576664
576730
  hook_name: event.hookName,
576665
576731
  hook_event: event.hookEvent,
576666
- uuid: randomUUID52(),
576732
+ uuid: randomUUID53(),
576667
576733
  session_id: getSessionId()
576668
576734
  };
576669
576735
  case "progress":
@@ -576676,7 +576742,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
576676
576742
  stdout: event.stdout,
576677
576743
  stderr: event.stderr,
576678
576744
  output: event.output,
576679
- uuid: randomUUID52(),
576745
+ uuid: randomUUID53(),
576680
576746
  session_id: getSessionId()
576681
576747
  };
576682
576748
  case "response":
@@ -576691,7 +576757,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
576691
576757
  stderr: event.stderr,
576692
576758
  exit_code: event.exitCode,
576693
576759
  outcome: event.outcome,
576694
- uuid: randomUUID52(),
576760
+ uuid: randomUUID53(),
576695
576761
  session_id: getSessionId()
576696
576762
  };
576697
576763
  }
@@ -576890,7 +576956,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
576890
576956
  subtype: "status",
576891
576957
  status: null,
576892
576958
  permissionMode: newMode,
576893
- uuid: randomUUID52(),
576959
+ uuid: randomUUID53(),
576894
576960
  session_id: getSessionId()
576895
576961
  });
576896
576962
  }
@@ -576911,7 +576977,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
576911
576977
  isAuthenticating: status2.isAuthenticating,
576912
576978
  output: status2.output,
576913
576979
  error: status2.error,
576914
- uuid: randomUUID52(),
576980
+ uuid: randomUUID53(),
576915
576981
  session_id: getSessionId()
576916
576982
  });
576917
576983
  });
@@ -576922,7 +576988,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
576922
576988
  output.enqueue({
576923
576989
  type: "rate_limit_event",
576924
576990
  rate_limit_info: rateLimitInfo,
576925
- uuid: randomUUID52(),
576991
+ uuid: randomUUID53(),
576926
576992
  session_id: getSessionId()
576927
576993
  });
576928
576994
  }
@@ -576938,7 +577004,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
576938
577004
  enqueue({
576939
577005
  mode: "prompt",
576940
577006
  value: turnInterruptionState.message.message.content,
576941
- uuid: randomUUID52()
577007
+ uuid: randomUUID53()
576942
577008
  });
576943
577009
  }
576944
577010
  const modelOptions = getModelOptions();
@@ -577031,7 +577097,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
577031
577097
  subtype: "elicitation_complete",
577032
577098
  mcp_server_name: serverName,
577033
577099
  elicitation_id: elicitationId,
577034
- uuid: randomUUID52(),
577100
+ uuid: randomUUID53(),
577035
577101
  session_id: getSessionId()
577036
577102
  });
577037
577103
  });
@@ -577376,7 +577442,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
577376
577442
  duration_ms: durationMsMatch ? parseInt(durationMsMatch[1], 10) : 0
577377
577443
  } : undefined,
577378
577444
  session_id: getSessionId(),
577379
- uuid: randomUUID52()
577445
+ uuid: randomUUID53()
577380
577446
  });
577381
577447
  }
577382
577448
  }
@@ -577450,7 +577516,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
577450
577516
  subtype: "status",
577451
577517
  status: status2,
577452
577518
  session_id: getSessionId(),
577453
- uuid: randomUUID52()
577519
+ uuid: randomUUID53()
577454
577520
  });
577455
577521
  }
577456
577522
  })) {
@@ -577498,7 +577564,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
577498
577564
  const suggestionMsg = {
577499
577565
  type: "prompt_suggestion",
577500
577566
  suggestion: result.suggestion,
577501
- uuid: randomUUID52(),
577567
+ uuid: randomUUID53(),
577502
577568
  session_id: getSessionId()
577503
577569
  };
577504
577570
  const lastEmittedEntry = {
@@ -577588,7 +577654,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
577588
577654
  usage: EMPTY_USAGE,
577589
577655
  modelUsage: {},
577590
577656
  permission_denials: [],
577591
- uuid: randomUUID52(),
577657
+ uuid: randomUUID53(),
577592
577658
  errors: [
577593
577659
  errorMessage(error42),
577594
577660
  ...getInMemoryErrors().map((_) => _.error)
@@ -577672,7 +577738,7 @@ ${m.text}
577672
577738
  enqueue({
577673
577739
  mode: "prompt",
577674
577740
  value: formatted,
577675
- uuid: randomUUID52()
577741
+ uuid: randomUUID53()
577676
577742
  });
577677
577743
  run();
577678
577744
  return;
@@ -577683,7 +577749,7 @@ ${m.text}
577683
577749
  enqueue({
577684
577750
  mode: "prompt",
577685
577751
  value: SHUTDOWN_TEAM_PROMPT,
577686
- uuid: randomUUID52()
577752
+ uuid: randomUUID53()
577687
577753
  });
577688
577754
  run();
577689
577755
  return;
@@ -577707,7 +577773,7 @@ ${m.text}
577707
577773
  enqueue({
577708
577774
  mode: "prompt",
577709
577775
  value: SHUTDOWN_TEAM_PROMPT,
577710
- uuid: randomUUID52()
577776
+ uuid: randomUUID53()
577711
577777
  });
577712
577778
  run();
577713
577779
  } else {
@@ -577734,7 +577800,7 @@ ${m.text}
577734
577800
  enqueue({
577735
577801
  mode: "prompt",
577736
577802
  value: prompt,
577737
- uuid: randomUUID52(),
577803
+ uuid: randomUUID53(),
577738
577804
  priority: "later",
577739
577805
  isMeta: true,
577740
577806
  workload: WORKLOAD_CRON
@@ -578476,7 +578542,7 @@ ${m.text}
578476
578542
  subtype: "bridge_state",
578477
578543
  state: state3,
578478
578544
  detail,
578479
- uuid: randomUUID52(),
578545
+ uuid: randomUUID53(),
578480
578546
  session_id: getSessionId()
578481
578547
  });
578482
578548
  },
@@ -578784,7 +578850,7 @@ async function handleInitializeRequest(request, requestId, initialized5, output,
578784
578850
  isAuthenticating: status2.isAuthenticating,
578785
578851
  output: status2.output,
578786
578852
  error: status2.error,
578787
- uuid: randomUUID52(),
578853
+ uuid: randomUUID53(),
578788
578854
  session_id: getSessionId()
578789
578855
  });
578790
578856
  }
@@ -578983,7 +579049,7 @@ function emitLoadError(message, outputFormat) {
578983
579049
  usage: EMPTY_USAGE,
578984
579050
  modelUsage: {},
578985
579051
  permission_denials: [],
578986
- uuid: randomUUID52(),
579052
+ uuid: randomUUID53(),
578987
579053
  errors: [message]
578988
579054
  };
578989
579055
  process.stdout.write(jsonStringify(errorResult) + `
@@ -580926,7 +580992,7 @@ __export(exports_update, {
580926
580992
  async function update() {
580927
580993
  if (getAPIProvider() !== "firstParty") {
580928
580994
  writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
580929
- `) + `Current version: ${"0.7.25"}
580995
+ `) + `Current version: ${"0.7.27"}
580930
580996
 
580931
580997
  ` + `To update, reinstall from npm:
580932
580998
  ` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
@@ -580937,7 +581003,7 @@ async function update() {
580937
581003
  await gracefulShutdown(0);
580938
581004
  }
580939
581005
  logEvent("tengu_update_check", {});
580940
- writeToStdout(`Current version: ${"0.7.25"}
581006
+ writeToStdout(`Current version: ${"0.7.27"}
580941
581007
  `);
580942
581008
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
580943
581009
  writeToStdout(`Checking for updates to ${channel} version...
@@ -581022,8 +581088,8 @@ async function update() {
581022
581088
  writeToStdout(`Verboo Code is managed by Homebrew.
581023
581089
  `);
581024
581090
  const latest = await getLatestVersion(channel);
581025
- if (latest && !gte("0.7.25", latest)) {
581026
- writeToStdout(`Update available: ${"0.7.25"} → ${latest}
581091
+ if (latest && !gte("0.7.27", latest)) {
581092
+ writeToStdout(`Update available: ${"0.7.27"} → ${latest}
581027
581093
  `);
581028
581094
  writeToStdout(`
581029
581095
  `);
@@ -581039,8 +581105,8 @@ async function update() {
581039
581105
  writeToStdout(`Verboo Code is managed by winget.
581040
581106
  `);
581041
581107
  const latest = await getLatestVersion(channel);
581042
- if (latest && !gte("0.7.25", latest)) {
581043
- writeToStdout(`Update available: ${"0.7.25"} → ${latest}
581108
+ if (latest && !gte("0.7.27", latest)) {
581109
+ writeToStdout(`Update available: ${"0.7.27"} → ${latest}
581044
581110
  `);
581045
581111
  writeToStdout(`
581046
581112
  `);
@@ -581056,8 +581122,8 @@ async function update() {
581056
581122
  writeToStdout(`Verboo Code is managed by apk.
581057
581123
  `);
581058
581124
  const latest = await getLatestVersion(channel);
581059
- if (latest && !gte("0.7.25", latest)) {
581060
- writeToStdout(`Update available: ${"0.7.25"} → ${latest}
581125
+ if (latest && !gte("0.7.27", latest)) {
581126
+ writeToStdout(`Update available: ${"0.7.27"} → ${latest}
581061
581127
  `);
581062
581128
  writeToStdout(`
581063
581129
  `);
@@ -581122,11 +581188,11 @@ async function update() {
581122
581188
  `);
581123
581189
  await gracefulShutdown(1);
581124
581190
  }
581125
- if (result.latestVersion === "0.7.25") {
581126
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.25"})`) + `
581191
+ if (result.latestVersion === "0.7.27") {
581192
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.27"})`) + `
581127
581193
  `);
581128
581194
  } else {
581129
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.25"} to version ${result.latestVersion}`) + `
581195
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.27"} to version ${result.latestVersion}`) + `
581130
581196
  `);
581131
581197
  await regenerateCompletionCache();
581132
581198
  }
@@ -581186,12 +581252,12 @@ async function update() {
581186
581252
  `);
581187
581253
  await gracefulShutdown(1);
581188
581254
  }
581189
- if (latestVersion === "0.7.25") {
581190
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.25"})`) + `
581255
+ if (latestVersion === "0.7.27") {
581256
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.7.27"})`) + `
581191
581257
  `);
581192
581258
  await gracefulShutdown(0);
581193
581259
  }
581194
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.25"})
581260
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.27"})
581195
581261
  `);
581196
581262
  writeToStdout(`Installing update...
581197
581263
  `);
@@ -581236,7 +581302,7 @@ async function update() {
581236
581302
  logForDebugging2(`update: Installation status: ${status2}`);
581237
581303
  switch (status2) {
581238
581304
  case "success":
581239
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.25"} to version ${latestVersion}`) + `
581305
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.27"} to version ${latestVersion}`) + `
581240
581306
  `);
581241
581307
  await regenerateCompletionCache();
581242
581308
  break;
@@ -582495,7 +582561,7 @@ ${customInstructions}` : customInstructions;
582495
582561
  is_native_binary: isInBundledMode()
582496
582562
  });
582497
582563
  logMemoryDiagnostics("start", {
582498
- version: "0.7.25",
582564
+ version: "0.7.27",
582499
582565
  debug: debug2,
582500
582566
  debugToStderr,
582501
582567
  print: print ?? false,
@@ -583301,7 +583367,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
583301
583367
  pendingHookMessages
583302
583368
  }, renderAndRun);
583303
583369
  }
583304
- }).version(`0.7.25 (${cliDesc})`, "-v, --version", "Output the version number");
583370
+ }).version(`0.7.27 (${cliDesc})`, "-v, --version", "Output the version number");
583305
583371
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
583306
583372
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
583307
583373
  if (canUserConfigureAdvisor()) {
@@ -583873,7 +583939,7 @@ if (false) {}
583873
583939
  async function main2() {
583874
583940
  const args = process.argv.slice(2);
583875
583941
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
583876
- console.log(`${"0.7.25"} (Verboo Code)`);
583942
+ console.log(`${"0.7.27"} (Verboo Code)`);
583877
583943
  return;
583878
583944
  }
583879
583945
  if (!IS_VERBOO_CLI && args.includes("--provider")) {
@@ -584038,4 +584104,4 @@ async function main2() {
584038
584104
  }
584039
584105
  main2();
584040
584106
 
584041
- //# debugId=D0FC38439517A6B164756E2164756E21
584107
+ //# debugId=04E4745FAA2B7B6C64756E2164756E21