@verboo/code 0.14.4 → 0.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.mjs +254 -223
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -135947,7 +135947,8 @@ function buildAuthUrl({
135947
135947
  inferenceOnly,
135948
135948
  orgUUID,
135949
135949
  loginHint,
135950
- loginMethod
135950
+ loginMethod,
135951
+ installationId
135951
135952
  }) {
135952
135953
  const authUrlBase = loginWithClaudeAi ? getOauthConfig().CLAUDE_AI_AUTHORIZE_URL : getOauthConfig().CONSOLE_AUTHORIZE_URL;
135953
135954
  const authUrl = new URL(authUrlBase);
@@ -135960,6 +135961,9 @@ function buildAuthUrl({
135960
135961
  authUrl.searchParams.append("code_challenge", codeChallenge);
135961
135962
  authUrl.searchParams.append("code_challenge_method", "S256");
135962
135963
  authUrl.searchParams.append("state", state);
135964
+ if (installationId) {
135965
+ authUrl.searchParams.append("installation_id", installationId);
135966
+ }
135963
135967
  if (orgUUID) {
135964
135968
  authUrl.searchParams.append("orgUUID", orgUUID);
135965
135969
  }
@@ -135974,14 +135978,15 @@ function buildAuthUrl({
135974
135978
  function getOAuthRedirectUri(port2) {
135975
135979
  return `http://localhost:${port2}/callback`;
135976
135980
  }
135977
- async function exchangeCodeForTokens(authorizationCode, state, codeVerifier, port2, _useManualRedirect = false, expiresIn) {
135981
+ async function exchangeCodeForTokens(authorizationCode, state, codeVerifier, port2, _useManualRedirect = false, expiresIn, installationId) {
135978
135982
  const requestBody = {
135979
135983
  grant_type: "authorization_code",
135980
135984
  code: authorizationCode,
135981
135985
  redirect_uri: getOAuthRedirectUri(port2),
135982
135986
  client_id: getOauthConfig().CLIENT_ID,
135983
135987
  code_verifier: codeVerifier,
135984
- state
135988
+ state,
135989
+ installation_id: installationId
135985
135990
  };
135986
135991
  if (expiresIn !== undefined) {
135987
135992
  requestBody.expires_in = expiresIn;
@@ -136023,11 +136028,12 @@ async function postOAuthForm(body) {
136023
136028
  }
136024
136029
  return normalizeOAuthTokenResponse(response.data);
136025
136030
  }
136026
- async function refreshOAuthToken(refreshToken, { scopes: requestedScopes } = {}) {
136031
+ async function refreshOAuthToken(refreshToken, { scopes: requestedScopes, installationId } = {}) {
136027
136032
  const requestBody = {
136028
136033
  grant_type: "refresh_token",
136029
136034
  refresh_token: refreshToken,
136030
136035
  client_id: getOauthConfig().CLIENT_ID,
136036
+ installation_id: installationId,
136031
136037
  scope: ((requestedScopes?.length) ? requestedScopes : CLAUDE_AI_OAUTH_SCOPES).join(" ")
136032
136038
  };
136033
136039
  try {
@@ -144151,6 +144157,21 @@ var init_toolSchemaCache = __esm(() => {
144151
144157
  TOOL_SCHEMA_CACHE = new Map;
144152
144158
  });
144153
144159
 
144160
+ // src/utils/verbooInstallation.ts
144161
+ import { randomUUID as randomUUID3 } from "crypto";
144162
+ function getOrCreateVerbooInstallationId() {
144163
+ const storage = getSecureStorage();
144164
+ const current = storage.read() ?? {};
144165
+ if (current.verbooInstallationId)
144166
+ return current.verbooInstallationId;
144167
+ const installationId = randomUUID3();
144168
+ storage.update({ ...current, verbooInstallationId: installationId });
144169
+ return installationId;
144170
+ }
144171
+ var init_verbooInstallation = __esm(() => {
144172
+ init_secureStorage();
144173
+ });
144174
+
144154
144175
  // src/utils/auth.ts
144155
144176
  var exports_auth = {};
144156
144177
  __export(exports_auth, {
@@ -145073,7 +145094,8 @@ async function checkAndRefreshOAuthTokenIfNeededImpl(retryCount, force, failedAc
145073
145094
  logEvent("tengu_oauth_token_refresh_starting", {});
145074
145095
  attemptedRefreshToken = lockedTokens.refreshToken;
145075
145096
  const refreshedTokens = await refreshOAuthToken(attemptedRefreshToken, {
145076
- scopes: shouldUseClaudeAIAuth(lockedTokens.scopes) ? undefined : lockedTokens.scopes
145097
+ scopes: shouldUseClaudeAIAuth(lockedTokens.scopes) ? undefined : lockedTokens.scopes,
145098
+ installationId: isVerbooMode() ? getOrCreateVerbooInstallationId() : undefined
145077
145099
  });
145078
145100
  const persisted = await persistRefreshedOAuthTokens(refreshedTokens);
145079
145101
  if (!persisted) {
@@ -145369,6 +145391,7 @@ var init_auth = __esm(() => {
145369
145391
  init_settings2();
145370
145392
  init_slowOperations();
145371
145393
  init_toolSchemaCache();
145394
+ init_verbooInstallation();
145372
145395
  DEFAULT_API_KEY_HELPER_TTL = 5 * 60 * 1000;
145373
145396
  DEFAULT_AWS_STS_TTL = 60 * 60 * 1000;
145374
145397
  AWS_AUTH_REFRESH_TIMEOUT_MS = 3 * 60 * 1000;
@@ -173910,7 +173933,7 @@ function getClaudeCodeUserAgent() {
173910
173933
  return `claude-code/${"99.0.0"}`;
173911
173934
  }
173912
173935
  function getVerbooCodeUserAgent() {
173913
- const version2 = "0.14.4";
173936
+ const version2 = "0.14.5";
173914
173937
  return `verboo-code/${version2}`;
173915
173938
  }
173916
173939
 
@@ -176837,9 +176860,9 @@ var init_toolArgumentNormalization = __esm(() => {
176837
176860
  });
176838
176861
 
176839
176862
  // src/utils/requestLogging.ts
176840
- import { randomUUID as randomUUID3 } from "crypto";
176863
+ import { randomUUID as randomUUID4 } from "crypto";
176841
176864
  function createCorrelationId() {
176842
- return randomUUID3();
176865
+ return randomUUID4();
176843
176866
  }
176844
176867
  function logApiCallStart(provider, model2) {
176845
176868
  const correlationId = createCorrelationId();
@@ -176997,7 +177020,7 @@ __export(exports_openaiShim, {
176997
177020
  setOpenAIShimRouterStatusHandler: () => setOpenAIShimRouterStatusHandler,
176998
177021
  createOpenAIShimClient: () => createOpenAIShimClient
176999
177022
  });
177000
- import { randomUUID as randomUUID4 } from "crypto";
177023
+ import { randomUUID as randomUUID5 } from "crypto";
177001
177024
  function isGithubModelsMode() {
177002
177025
  return isEnvTruthy(process.env.CLAUDE_CODE_USE_GITHUB);
177003
177026
  }
@@ -177328,7 +177351,7 @@ function convertMessages(messages, system, options2) {
177328
177351
  }
177329
177352
  if (toolUses.length > 0) {
177330
177353
  const mappedToolCalls = toolUses.map((tu) => {
177331
- const id = tu.id ?? `call_${randomUUID4().replace(/-/g, "")}`;
177354
+ const id = tu.id ?? `call_${randomUUID5().replace(/-/g, "")}`;
177332
177355
  if (!toolResultIds.has(id) && !isLastInHistory) {
177333
177356
  return null;
177334
177357
  }
@@ -177478,7 +177501,7 @@ function convertTools(tools, options2 = {}) {
177478
177501
  });
177479
177502
  }
177480
177503
  function makeMessageId2() {
177481
- return `msg_${randomUUID4().replace(/-/g, "")}`;
177504
+ return `msg_${randomUUID5().replace(/-/g, "")}`;
177482
177505
  }
177483
177506
  function convertChunkUsage(usage) {
177484
177507
  if (!usage)
@@ -192356,7 +192379,7 @@ var init_bedrock_sdk = __esm(() => {
192356
192379
  });
192357
192380
 
192358
192381
  // src/services/api/client.ts
192359
- import { randomUUID as randomUUID5 } from "crypto";
192382
+ import { randomUUID as randomUUID6 } from "crypto";
192360
192383
  function createStderrLogger() {
192361
192384
  return {
192362
192385
  error: (msg, ...args) => console.error("[Verboo SDK ERROR]", msg, ...args),
@@ -192665,7 +192688,7 @@ function buildFetch(fetchOverride, source) {
192665
192688
  return (input, init) => {
192666
192689
  const headers = new Headers(init?.headers);
192667
192690
  if (injectClientRequestId && !headers.has(CLIENT_REQUEST_ID_HEADER)) {
192668
- headers.set(CLIENT_REQUEST_ID_HEADER, randomUUID5());
192691
+ headers.set(CLIENT_REQUEST_ID_HEADER, randomUUID6());
192669
192692
  }
192670
192693
  try {
192671
192694
  const url3 = input instanceof Request ? input.url : String(input);
@@ -199133,7 +199156,7 @@ var init_queryHelpers = __esm(() => {
199133
199156
  });
199134
199157
 
199135
199158
  // src/services/PromptSuggestion/speculation.ts
199136
- import { randomUUID as randomUUID6 } from "crypto";
199159
+ import { randomUUID as randomUUID7 } from "crypto";
199137
199160
  import { rm as rm2 } from "fs";
199138
199161
  import { appendFile as appendFile3, copyFile, mkdir as mkdir6 } from "fs/promises";
199139
199162
  import { dirname as dirname21, isAbsolute as isAbsolute10, join as join39, relative as relative7 } from "path";
@@ -199323,7 +199346,7 @@ async function startSpeculation(suggestionText, context, setAppState, isPipeline
199323
199346
  if (!isSpeculationEnabled())
199324
199347
  return;
199325
199348
  abortSpeculation(setAppState);
199326
- const id = randomUUID6().slice(0, 8);
199349
+ const id = randomUUID7().slice(0, 8);
199327
199350
  const abortController = createChildAbortController(context.toolUseContext.abortController);
199328
199351
  if (abortController.signal.aborted)
199329
199352
  return;
@@ -199703,7 +199726,7 @@ var init_speculation = __esm(() => {
199703
199726
  });
199704
199727
 
199705
199728
  // src/utils/sdkEventQueue.ts
199706
- import { randomUUID as randomUUID7 } from "crypto";
199729
+ import { randomUUID as randomUUID8 } from "crypto";
199707
199730
  function enqueueSdkEvent(event) {
199708
199731
  if (!getIsNonInteractiveSession()) {
199709
199732
  return;
@@ -199720,7 +199743,7 @@ function drainSdkEvents() {
199720
199743
  const events = queue.splice(0);
199721
199744
  return events.map((e) => ({
199722
199745
  ...e,
199723
- uuid: randomUUID7(),
199746
+ uuid: randomUUID8(),
199724
199747
  session_id: getSessionId()
199725
199748
  }));
199726
199749
  }
@@ -206597,7 +206620,7 @@ var init_cron = __esm(() => {
206597
206620
  });
206598
206621
 
206599
206622
  // src/utils/cronTasks.ts
206600
- import { randomUUID as randomUUID8 } from "crypto";
206623
+ import { randomUUID as randomUUID9 } from "crypto";
206601
206624
  import { readFileSync as readFileSync9 } from "fs";
206602
206625
  import { mkdir as mkdir7, writeFile as writeFile6 } from "fs/promises";
206603
206626
  import { join as join40 } from "path";
@@ -206666,7 +206689,7 @@ async function writeCronTasks(tasks, dir) {
206666
206689
  `, "utf-8");
206667
206690
  }
206668
206691
  async function addCronTask(cron, prompt, recurring, durable, agentId) {
206669
- const id = randomUUID8().slice(0, 8);
206692
+ const id = randomUUID9().slice(0, 8);
206670
206693
  const task = {
206671
206694
  id,
206672
206695
  cron,
@@ -220556,7 +220579,7 @@ var init_xaaIdpLogin = __esm(() => {
220556
220579
  });
220557
220580
 
220558
220581
  // src/services/mcp/auth.ts
220559
- import { createHash as createHash8, randomBytes as randomBytes3, randomUUID as randomUUID9 } from "crypto";
220582
+ import { createHash as createHash8, randomBytes as randomBytes3, randomUUID as randomUUID10 } from "crypto";
220560
220583
  import { mkdir as mkdir8 } from "fs/promises";
220561
220584
  import { createServer as createServer3 } from "http";
220562
220585
  import { join as join46 } from "path";
@@ -220995,7 +221018,7 @@ async function performMCPOAuthFlow(serverName, serverConfig, onAuthorizationUrl,
220995
221018
  scope: cachedStepUpScope,
220996
221019
  resourceMetadataUrl
220997
221020
  };
220998
- const flowAttemptId = randomUUID9();
221021
+ const flowAttemptId = randomUUID10();
220999
221022
  logEvent("tengu_mcp_oauth_flow_start", {
221000
221023
  flowAttemptId,
221001
221024
  isOAuthFlow: true,
@@ -296715,6 +296738,7 @@ class OAuthService {
296715
296738
  this.port = await this.authCodeListener.start();
296716
296739
  const codeChallenge = await generateCodeChallenge(this.codeVerifier);
296717
296740
  const state = generateState();
296741
+ const installationId = isVerbooMode() ? getOrCreateVerbooInstallationId() : undefined;
296718
296742
  const opts = {
296719
296743
  codeChallenge,
296720
296744
  state,
@@ -296723,7 +296747,8 @@ class OAuthService {
296723
296747
  inferenceOnly: options2?.inferenceOnly,
296724
296748
  orgUUID: options2?.orgUUID,
296725
296749
  loginHint: options2?.loginHint,
296726
- loginMethod: options2?.loginMethod
296750
+ loginMethod: options2?.loginMethod,
296751
+ installationId
296727
296752
  };
296728
296753
  const manualFlowUrl = buildAuthUrl({ ...opts, isManual: true });
296729
296754
  const automaticFlowUrl = buildAuthUrl({ ...opts, isManual: false });
@@ -296738,7 +296763,7 @@ class OAuthService {
296738
296763
  const isAutomaticFlow = this.authCodeListener?.hasPendingResponse() ?? false;
296739
296764
  logEvent("tengu_oauth_auth_code_received", { automatic: isAutomaticFlow });
296740
296765
  try {
296741
- const tokenResponse = await exchangeCodeForTokens(authorizationCode, state, this.codeVerifier, this.port, !isAutomaticFlow, options2?.expiresIn);
296766
+ const tokenResponse = await exchangeCodeForTokens(authorizationCode, state, this.codeVerifier, this.port, !isAutomaticFlow, options2?.expiresIn, installationId);
296742
296767
  const profileInfo = await fetchProfileInfo(tokenResponse.access_token);
296743
296768
  if (isAutomaticFlow) {
296744
296769
  const scopes = parseScopes(tokenResponse.scope);
@@ -296795,7 +296820,9 @@ class OAuthService {
296795
296820
  }
296796
296821
  }
296797
296822
  var init_oauth2 = __esm(() => {
296823
+ init_oauth();
296798
296824
  init_browser();
296825
+ init_verbooInstallation();
296799
296826
  init_auth_code_listener();
296800
296827
  init_client2();
296801
296828
  init_crypto2();
@@ -300153,7 +300180,10 @@ async function authLogin({
300153
300180
  const scopes = envScopes.split(/\s+/).filter(Boolean);
300154
300181
  try {
300155
300182
  logEvent("tengu_login_from_refresh_token", {});
300156
- const tokens = await refreshOAuthToken(envRefreshToken, { scopes });
300183
+ const tokens = await refreshOAuthToken(envRefreshToken, {
300184
+ scopes,
300185
+ installationId: isVerbooMode() ? getOrCreateVerbooInstallationId() : undefined
300186
+ });
300157
300187
  await installOAuthTokens(tokens);
300158
300188
  const orgResult = await validateForceLoginOrg();
300159
300189
  if (!orgResult.valid) {
@@ -300411,6 +300441,7 @@ var init_auth6 = __esm(() => {
300411
300441
  init_providers();
300412
300442
  init_settings2();
300413
300443
  init_slowOperations();
300444
+ init_verbooInstallation();
300414
300445
  init_status();
300415
300446
  init_oauth();
300416
300447
  init_crypto2();
@@ -305938,7 +305969,7 @@ __export(exports_api, {
305938
305969
  CodeSessionSchema: () => CodeSessionSchema,
305939
305970
  CCR_BYOC_BETA: () => CCR_BYOC_BETA
305940
305971
  });
305941
- import { randomUUID as randomUUID10 } from "crypto";
305972
+ import { randomUUID as randomUUID11 } from "crypto";
305942
305973
  function isTransientNetworkError(error42) {
305943
305974
  if (!axios_default.isAxiosError(error42)) {
305944
305975
  return false;
@@ -306081,7 +306112,7 @@ async function sendEventToRemoteSession(sessionId, messageContent, opts) {
306081
306112
  "x-organization-uuid": orgUUID
306082
306113
  };
306083
306114
  const userEvent = {
306084
- uuid: opts?.uuid ?? randomUUID10(),
306115
+ uuid: opts?.uuid ?? randomUUID11(),
306085
306116
  session_id: sessionId,
306086
306117
  type: "user",
306087
306118
  parent_tool_use_id: null,
@@ -316460,7 +316491,7 @@ __export(exports_processSlashCommand, {
316460
316491
  looksLikeCommand: () => looksLikeCommand,
316461
316492
  formatSkillLoadingMetadata: () => formatSkillLoadingMetadata
316462
316493
  });
316463
- import { randomUUID as randomUUID11 } from "crypto";
316494
+ import { randomUUID as randomUUID12 } from "crypto";
316464
316495
  async function executeForkedSlashCommand(command, args, context, precedingInputBlocks, setToolJSX, canUseTool) {
316465
316496
  const agentId = createAgentId();
316466
316497
  const pluginMarketplace = command.pluginInfo ? parsePluginIdentifier(command.pluginInfo.repository).marketplace : undefined;
@@ -316504,7 +316535,7 @@ async function executeForkedSlashCommand(command, args, context, precedingInputB
316504
316535
  parentToolUseID,
316505
316536
  toolUseID: `${parentToolUseID}-${toolUseCounter}`,
316506
316537
  timestamp: new Date().toISOString(),
316507
- uuid: randomUUID11()
316538
+ uuid: randomUUID12()
316508
316539
  };
316509
316540
  };
316510
316541
  const updateProgress = () => {
@@ -316629,7 +316660,7 @@ async function processSlashCommand(inputString, precedingInputBlocks, imageConte
316629
316660
  resultText: unknownMessage
316630
316661
  };
316631
316662
  }
316632
- const promptId = randomUUID11();
316663
+ const promptId = randomUUID12();
316633
316664
  setPromptId(promptId);
316634
316665
  logEvent("tengu_input_prompt", {});
316635
316666
  logOTelEvent("user_prompt", {
@@ -317139,7 +317170,7 @@ var init_MonitorMcpTask = __esm(() => {
317139
317170
  });
317140
317171
 
317141
317172
  // src/tools/AgentTool/runAgent.ts
317142
- import { randomUUID as randomUUID12 } from "crypto";
317173
+ import { randomUUID as randomUUID13 } from "crypto";
317143
317174
  async function initializeAgentMcpServers(agentDefinition, parentClients) {
317144
317175
  if (!agentDefinition.mcpServers?.length) {
317145
317176
  return {
@@ -317324,7 +317355,7 @@ async function* runAgent({
317324
317355
  type: "hook_additional_context",
317325
317356
  content: additionalContexts,
317326
317357
  hookName: "SubagentStart",
317327
- toolUseID: randomUUID12(),
317358
+ toolUseID: randomUUID13(),
317328
317359
  hookEvent: "SubagentStart"
317329
317360
  });
317330
317361
  initialMessages.push(contextMessage);
@@ -320262,7 +320293,7 @@ var init_words = __esm(() => {
320262
320293
  });
320263
320294
 
320264
320295
  // src/utils/plans.ts
320265
- import { randomUUID as randomUUID13 } from "crypto";
320296
+ import { randomUUID as randomUUID14 } from "crypto";
320266
320297
  import { copyFile as copyFile4, writeFile as writeFile18 } from "fs/promises";
320267
320298
  import { homedir as homedir22 } from "os";
320268
320299
  import { join as join68, resolve as resolve21, sep as sep13 } from "path";
@@ -320455,7 +320486,7 @@ async function persistFileSnapshotIfRemote() {
320455
320486
  level: "info",
320456
320487
  isMeta: true,
320457
320488
  timestamp: new Date().toISOString(),
320458
- uuid: randomUUID13(),
320489
+ uuid: randomUUID14(),
320459
320490
  snapshotFiles
320460
320491
  };
320461
320492
  const { recordTranscript: recordTranscript2 } = await Promise.resolve().then(() => (init_sessionStorage(), exports_sessionStorage));
@@ -321421,7 +321452,7 @@ var init_conversationRecovery = __esm(() => {
321421
321452
  });
321422
321453
 
321423
321454
  // src/services/api/filesApi.ts
321424
- import { randomUUID as randomUUID14 } from "crypto";
321455
+ import { randomUUID as randomUUID15 } from "crypto";
321425
321456
  import * as fs2 from "fs/promises";
321426
321457
  import * as path12 from "path";
321427
321458
  function getDefaultApiBaseUrl() {
@@ -321605,7 +321636,7 @@ async function uploadFile(filePath, relativePath, config2, opts) {
321605
321636
  success: false
321606
321637
  };
321607
321638
  }
321608
- const boundary = `----FormBoundary${randomUUID14()}`;
321639
+ const boundary = `----FormBoundary${randomUUID15()}`;
321609
321640
  const filename = path12.basename(relativePath);
321610
321641
  const bodyParts = [];
321611
321642
  bodyParts.push(Buffer.from(`--${boundary}\r
@@ -321909,7 +321940,7 @@ __export(exports_teleport, {
321909
321940
  checkOutTeleportedSessionBranch: () => checkOutTeleportedSessionBranch,
321910
321941
  archiveRemoteSession: () => archiveRemoteSession
321911
321942
  });
321912
- import { randomUUID as randomUUID15 } from "crypto";
321943
+ import { randomUUID as randomUUID16 } from "crypto";
321913
321944
  function createTeleportResumeSystemMessage(branchError) {
321914
321945
  if (branchError === null) {
321915
321946
  return createSystemMessage("Session resumed", "suggestion");
@@ -322626,7 +322657,7 @@ async function teleportToRemote(options2) {
322626
322657
  type: "event",
322627
322658
  data: {
322628
322659
  type: "control_request",
322629
- request_id: `set-mode-${randomUUID15()}`,
322660
+ request_id: `set-mode-${randomUUID16()}`,
322630
322661
  request: {
322631
322662
  subtype: "set_permission_mode",
322632
322663
  mode: options2.permissionMode,
@@ -322639,7 +322670,7 @@ async function teleportToRemote(options2) {
322639
322670
  events.push({
322640
322671
  type: "event",
322641
322672
  data: {
322642
- uuid: randomUUID15(),
322673
+ uuid: randomUUID16(),
322643
322674
  session_id: "",
322644
322675
  type: "user",
322645
322676
  parent_tool_use_id: null,
@@ -323958,12 +323989,12 @@ ${result.result}`
323958
323989
  });
323959
323990
 
323960
323991
  // src/services/lsp/LSPDiagnosticRegistry.ts
323961
- import { randomUUID as randomUUID16 } from "crypto";
323992
+ import { randomUUID as randomUUID17 } from "crypto";
323962
323993
  function registerPendingLSPDiagnostic({
323963
323994
  serverName,
323964
323995
  files
323965
323996
  }) {
323966
- const diagnosticId = randomUUID16();
323997
+ const diagnosticId = randomUUID17();
323967
323998
  logForDebugging(`LSP Diagnostics: Registering ${files.length} diagnostic file(s) from ${serverName} (ID: ${diagnosticId})`);
323968
323999
  pendingDiagnostics.set(diagnosticId, {
323969
324000
  serverName,
@@ -337760,7 +337791,7 @@ var init_PowerShellTool = __esm(() => {
337760
337791
  });
337761
337792
 
337762
337793
  // src/utils/promptShellExecution.ts
337763
- import { randomUUID as randomUUID17 } from "crypto";
337794
+ import { randomUUID as randomUUID18 } from "crypto";
337764
337795
  async function executeShellCommandsInPrompt(text, context, slashCommandName, shell) {
337765
337796
  let result = text;
337766
337797
  const shellTool = shell === "powershell" && isPowerShellToolEnabled() ? getPowerShellTool() : BashTool;
@@ -337781,7 +337812,7 @@ async function executeShellCommandsInPrompt(text, context, slashCommandName, she
337781
337812
  stdout: typeof data.stdout === "string" ? data.stdout : "",
337782
337813
  stderr: typeof data.stderr === "string" ? data.stderr : ""
337783
337814
  };
337784
- const toolResultBlock = await processToolResultBlock(shellTool, normalizedData, randomUUID17());
337815
+ const toolResultBlock = await processToolResultBlock(shellTool, normalizedData, randomUUID18());
337785
337816
  const output = typeof toolResultBlock.content === "string" ? toolResultBlock.content : formatBashOutput(normalizedData.stdout, normalizedData.stderr);
337786
337817
  result = result.replace(match[0], () => output);
337787
337818
  } catch (e) {
@@ -382090,7 +382121,7 @@ var init_systemPrompt = __esm(() => {
382090
382121
  });
382091
382122
 
382092
382123
  // src/tools/AgentTool/forkSubagent.ts
382093
- import { randomUUID as randomUUID18 } from "crypto";
382124
+ import { randomUUID as randomUUID19 } from "crypto";
382094
382125
  function isForkSubagentEnabled() {
382095
382126
  if (false) {}
382096
382127
  return false;
@@ -382108,7 +382139,7 @@ function isInForkChild(messages) {
382108
382139
  function buildForkedMessages(directive, assistantMessage2) {
382109
382140
  const fullAssistantMessage = {
382110
382141
  ...assistantMessage2,
382111
- uuid: randomUUID18(),
382142
+ uuid: randomUUID19(),
382112
382143
  message: {
382113
382144
  ...assistantMessage2.message,
382114
382145
  content: [...assistantMessage2.message.content]
@@ -394760,13 +394791,13 @@ var init_config4 = __esm(() => {
394760
394791
  });
394761
394792
 
394762
394793
  // src/query/deps.ts
394763
- import { randomUUID as randomUUID19 } from "crypto";
394794
+ import { randomUUID as randomUUID20 } from "crypto";
394764
394795
  function productionDeps() {
394765
394796
  return {
394766
394797
  callModel: queryModelWithStreaming,
394767
394798
  microcompact: microcompactMessages,
394768
394799
  autocompact: autoCompactIfNeeded,
394769
- uuid: randomUUID19
394800
+ uuid: randomUUID20
394770
394801
  };
394771
394802
  }
394772
394803
  var init_deps = __esm(() => {
@@ -395891,7 +395922,7 @@ function getAnthropicEnvMetadata() {
395891
395922
  function getBuildAgeMinutes() {
395892
395923
  if (false)
395893
395924
  ;
395894
- const buildTime = new Date("2026-07-22T14:10:51.823Z").getTime();
395925
+ const buildTime = new Date("2026-07-26T19:55:07.255Z").getTime();
395895
395926
  if (isNaN(buildTime))
395896
395927
  return;
395897
395928
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -396288,7 +396319,7 @@ var init_denialTracking = __esm(() => {
396288
396319
  });
396289
396320
 
396290
396321
  // src/utils/forkedAgent.ts
396291
- import { randomUUID as randomUUID20 } from "crypto";
396322
+ import { randomUUID as randomUUID21 } from "crypto";
396292
396323
  function saveCacheSafeParams(params) {
396293
396324
  lastCacheSafeParams = params;
396294
396325
  }
@@ -396397,7 +396428,7 @@ function createSubagentContext(parentContext, overrides) {
396397
396428
  agentId: overrides?.agentId ?? createAgentId(),
396398
396429
  agentType: overrides?.agentType,
396399
396430
  queryTracking: {
396400
- chainId: randomUUID20(),
396431
+ chainId: randomUUID21(),
396401
396432
  depth: (parentContext.queryTracking?.depth ?? -1) + 1
396402
396433
  },
396403
396434
  fileReadingLimits: parentContext.fileReadingLimits,
@@ -399515,7 +399546,7 @@ var init_toolSearch = __esm(() => {
399515
399546
  });
399516
399547
 
399517
399548
  // src/services/vcr.ts
399518
- import { createHash as createHash18, randomUUID as randomUUID21 } from "crypto";
399549
+ import { createHash as createHash18, randomUUID as randomUUID22 } from "crypto";
399519
399550
  import { mkdir as mkdir25, readFile as readFile29, writeFile as writeFile25 } from "fs/promises";
399520
399551
  import { dirname as dirname36, join as join86 } from "path";
399521
399552
  function shouldUseVCR() {
@@ -399568,7 +399599,7 @@ async function withVCR(messages, f) {
399568
399599
  try {
399569
399600
  const cached3 = jsonParse(await readFile29(filename, { encoding: "utf8" }));
399570
399601
  cached3.output.forEach(addCachedCostToTotalSessionCost);
399571
- return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID21()));
399602
+ return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID22()));
399572
399603
  } catch (e2) {
399573
399604
  const code = getErrnoCode(e2);
399574
399605
  if (code !== "ENOENT") {
@@ -400029,7 +400060,7 @@ var init_tokenEstimation = __esm(() => {
400029
400060
  });
400030
400061
 
400031
400062
  // src/utils/pdf.ts
400032
- import { randomUUID as randomUUID22 } from "crypto";
400063
+ import { randomUUID as randomUUID23 } from "crypto";
400033
400064
  import { mkdir as mkdir26, readdir as readdir15, readFile as readFile30 } from "fs/promises";
400034
400065
  import { join as join87 } from "path";
400035
400066
  async function readPDF(filePath) {
@@ -400140,7 +400171,7 @@ async function extractPDFPages(filePath, options2) {
400140
400171
  }
400141
400172
  };
400142
400173
  }
400143
- const uuid3 = randomUUID22();
400174
+ const uuid3 = randomUUID23();
400144
400175
  const outputDir = join87(getToolResultsDir(), `pdf-${uuid3}`);
400145
400176
  await mkdir26(outputDir, { recursive: true });
400146
400177
  const prefix = join87(outputDir, "page");
@@ -401708,7 +401739,7 @@ var init_findRelevantMemories = __esm(() => {
401708
401739
  // src/utils/attachments.ts
401709
401740
  import { readdir as readdir17, stat as stat34 } from "fs/promises";
401710
401741
  import { dirname as dirname37, parse as parse13, relative as relative20, resolve as resolve30 } from "path";
401711
- import { randomUUID as randomUUID23 } from "crypto";
401742
+ import { randomUUID as randomUUID24 } from "crypto";
401712
401743
  async function getAttachments(input, toolUseContext, ideSelection, queuedCommands, messages, querySource, options2) {
401713
401744
  if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_ATTACHMENTS) || isEnvTruthy(process.env.CLAUDE_CODE_SIMPLE)) {
401714
401745
  return getQueuedCommandAttachments(queuedCommands);
@@ -402935,7 +402966,7 @@ function createAttachmentMessage(attachment) {
402935
402966
  return {
402936
402967
  attachment,
402937
402968
  type: "attachment",
402938
- uuid: randomUUID23(),
402969
+ uuid: randomUUID24(),
402939
402970
  timestamp: new Date().toISOString()
402940
402971
  };
402941
402972
  }
@@ -408813,7 +408844,7 @@ ${EXPLANATORY_FEATURE_PROMPT}`
408813
408844
  });
408814
408845
 
408815
408846
  // src/utils/messages.ts
408816
- import { randomUUID as randomUUID24 } from "crypto";
408847
+ import { randomUUID as randomUUID25 } from "crypto";
408817
408848
  function getTeammateMailbox() {
408818
408849
  return init_teammateMailbox(), __toCommonJS(exports_teammateMailbox);
408819
408850
  }
@@ -408893,10 +408924,10 @@ function baseCreateAssistantMessage({
408893
408924
  }) {
408894
408925
  return {
408895
408926
  type: "assistant",
408896
- uuid: randomUUID24(),
408927
+ uuid: randomUUID25(),
408897
408928
  timestamp: new Date().toISOString(),
408898
408929
  message: {
408899
- id: randomUUID24(),
408930
+ id: randomUUID25(),
408900
408931
  container: null,
408901
408932
  model: SYNTHETIC_MODEL,
408902
408933
  role: "assistant",
@@ -408977,7 +409008,7 @@ function createUserMessage({
408977
409008
  isVirtual,
408978
409009
  isCompactSummary,
408979
409010
  summarizeMetadata,
408980
- uuid: uuid3 || randomUUID24(),
409011
+ uuid: uuid3 || randomUUID25(),
408981
409012
  timestamp: timestamp ?? new Date().toISOString(),
408982
409013
  toolUseResult,
408983
409014
  mcpMeta,
@@ -409046,7 +409077,7 @@ function createProgressMessage({
409046
409077
  data,
409047
409078
  toolUseID,
409048
409079
  parentToolUseID,
409049
- uuid: randomUUID24(),
409080
+ uuid: randomUUID25(),
409050
409081
  timestamp: new Date().toISOString()
409051
409082
  };
409052
409083
  }
@@ -411363,7 +411394,7 @@ function createSystemMessage(content, level, toolUseID, preventContinuation) {
411363
411394
  content,
411364
411395
  isMeta: false,
411365
411396
  timestamp: new Date().toISOString(),
411366
- uuid: randomUUID24(),
411397
+ uuid: randomUUID25(),
411367
411398
  toolUseID,
411368
411399
  level,
411369
411400
  ...preventContinuation && { preventContinuation }
@@ -411378,7 +411409,7 @@ function createPermissionRetryMessage(commands) {
411378
411409
  level: "info",
411379
411410
  isMeta: false,
411380
411411
  timestamp: new Date().toISOString(),
411381
- uuid: randomUUID24()
411412
+ uuid: randomUUID25()
411382
411413
  };
411383
411414
  }
411384
411415
  function createScheduledTaskFireMessage(content) {
@@ -411388,7 +411419,7 @@ function createScheduledTaskFireMessage(content) {
411388
411419
  content,
411389
411420
  isMeta: false,
411390
411421
  timestamp: new Date().toISOString(),
411391
- uuid: randomUUID24()
411422
+ uuid: randomUUID25()
411392
411423
  };
411393
411424
  }
411394
411425
  function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, preventedContinuation, stopReason, hasOutput, level, toolUseID, hookLabel, totalDurationMs) {
@@ -411403,7 +411434,7 @@ function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, prevente
411403
411434
  hasOutput,
411404
411435
  level,
411405
411436
  timestamp: new Date().toISOString(),
411406
- uuid: randomUUID24(),
411437
+ uuid: randomUUID25(),
411407
411438
  toolUseID,
411408
411439
  hookLabel,
411409
411440
  totalDurationMs
@@ -411419,7 +411450,7 @@ function createTurnDurationMessage(durationMs, budget, messageCount) {
411419
411450
  budgetNudges: budget?.nudges,
411420
411451
  messageCount,
411421
411452
  timestamp: new Date().toISOString(),
411422
- uuid: randomUUID24(),
411453
+ uuid: randomUUID25(),
411423
411454
  isMeta: false
411424
411455
  };
411425
411456
  }
@@ -411429,7 +411460,7 @@ function createAwaySummaryMessage(content) {
411429
411460
  subtype: "away_summary",
411430
411461
  content,
411431
411462
  timestamp: new Date().toISOString(),
411432
- uuid: randomUUID24(),
411463
+ uuid: randomUUID25(),
411433
411464
  isMeta: false
411434
411465
  };
411435
411466
  }
@@ -411439,7 +411470,7 @@ function createMemorySavedMessage(writtenPaths) {
411439
411470
  subtype: "memory_saved",
411440
411471
  writtenPaths,
411441
411472
  timestamp: new Date().toISOString(),
411442
- uuid: randomUUID24(),
411473
+ uuid: randomUUID25(),
411443
411474
  isMeta: false
411444
411475
  };
411445
411476
  }
@@ -411448,7 +411479,7 @@ function createAgentsKilledMessage() {
411448
411479
  type: "system",
411449
411480
  subtype: "agents_killed",
411450
411481
  timestamp: new Date().toISOString(),
411451
- uuid: randomUUID24(),
411482
+ uuid: randomUUID25(),
411452
411483
  isMeta: false
411453
411484
  };
411454
411485
  }
@@ -411459,7 +411490,7 @@ function createCommandInputMessage(content) {
411459
411490
  content,
411460
411491
  level: "info",
411461
411492
  timestamp: new Date().toISOString(),
411462
- uuid: randomUUID24(),
411493
+ uuid: randomUUID25(),
411463
411494
  isMeta: false
411464
411495
  };
411465
411496
  }
@@ -411470,7 +411501,7 @@ function createCompactBoundaryMessage(trigger, preTokens, lastPreCompactMessageU
411470
411501
  content: `Conversation compacted`,
411471
411502
  isMeta: false,
411472
411503
  timestamp: new Date().toISOString(),
411473
- uuid: randomUUID24(),
411504
+ uuid: randomUUID25(),
411474
411505
  level: "info",
411475
411506
  compactMetadata: {
411476
411507
  trigger,
@@ -411491,7 +411522,7 @@ function createMicrocompactBoundaryMessage(trigger, preTokens, tokensSaved, comp
411491
411522
  content: "Context microcompacted",
411492
411523
  isMeta: false,
411493
411524
  timestamp: new Date().toISOString(),
411494
- uuid: randomUUID24(),
411525
+ uuid: randomUUID25(),
411495
411526
  level: "info",
411496
411527
  microcompactMetadata: {
411497
411528
  trigger,
@@ -411513,7 +411544,7 @@ function createSystemAPIErrorMessage(error42, retryInMs, retryAttempt, maxRetrie
411513
411544
  retryAttempt,
411514
411545
  maxRetries,
411515
411546
  timestamp: new Date().toISOString(),
411516
- uuid: randomUUID24()
411547
+ uuid: randomUUID25()
411517
411548
  };
411518
411549
  }
411519
411550
  function isCompactBoundaryMessage(message) {
@@ -411782,7 +411813,7 @@ function createToolUseSummaryMessage(summary, precedingToolUseIds) {
411782
411813
  type: "tool_use_summary",
411783
411814
  summary,
411784
411815
  precedingToolUseIds,
411785
- uuid: randomUUID24(),
411816
+ uuid: randomUUID25(),
411786
411817
  timestamp: new Date().toISOString()
411787
411818
  };
411788
411819
  }
@@ -422057,7 +422088,7 @@ var exports_conversation = {};
422057
422088
  __export(exports_conversation, {
422058
422089
  clearConversation: () => clearConversation
422059
422090
  });
422060
- import { randomUUID as randomUUID25 } from "crypto";
422091
+ import { randomUUID as randomUUID26 } from "crypto";
422061
422092
  async function clearConversation({
422062
422093
  setMessages,
422063
422094
  readFileState,
@@ -422106,7 +422137,7 @@ async function clearConversation({
422106
422137
  setMessages(() => []);
422107
422138
  if (false) {}
422108
422139
  if (setConversationId) {
422109
- setConversationId(randomUUID25());
422140
+ setConversationId(randomUUID26());
422110
422141
  }
422111
422142
  clearSessionCaches(preservedAgentIds);
422112
422143
  setCwd(getOriginalCwd());
@@ -424151,7 +424182,7 @@ function buildPrimarySection() {
424151
424182
  });
424152
424183
  return [{
424153
424184
  label: "Version",
424154
- value: "0.14.4"
424185
+ value: "0.14.5"
424155
424186
  }, {
424156
424187
  label: "Session name",
424157
424188
  value: nameValue
@@ -437080,7 +437111,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
437080
437111
  return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
437081
437112
  }
437082
437113
  function getPublicBuildVersion() {
437083
- return "0.14.4";
437114
+ return "0.14.5";
437084
437115
  }
437085
437116
  var import_semver10, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
437086
437117
  var init_version = __esm(() => {
@@ -471210,7 +471241,7 @@ var init_InProcessTeammateDetailDialog = __esm(() => {
471210
471241
  });
471211
471242
 
471212
471243
  // src/utils/messages/mappers.ts
471213
- import { randomUUID as randomUUID26 } from "crypto";
471244
+ import { randomUUID as randomUUID27 } from "crypto";
471214
471245
  function toInternalMessages(messages) {
471215
471246
  return messages.flatMap((message) => {
471216
471247
  switch (message.type) {
@@ -471229,7 +471260,7 @@ function toInternalMessages(messages) {
471229
471260
  {
471230
471261
  type: "user",
471231
471262
  message: message.message,
471232
- uuid: message.uuid ?? randomUUID26(),
471263
+ uuid: message.uuid ?? randomUUID27(),
471233
471264
  timestamp: message.timestamp ?? new Date().toISOString(),
471234
471265
  isMeta: message.isSynthetic
471235
471266
  }
@@ -481415,7 +481446,7 @@ __export(exports_branch, {
481415
481446
  deriveFirstPrompt: () => deriveFirstPrompt,
481416
481447
  call: () => call57
481417
481448
  });
481418
- import { randomUUID as randomUUID27 } from "crypto";
481449
+ import { randomUUID as randomUUID28 } from "crypto";
481419
481450
  import { mkdir as mkdir35, readFile as readFile43, writeFile as writeFile39 } from "fs/promises";
481420
481451
  function deriveFirstPrompt(firstUserMessage) {
481421
481452
  const content = firstUserMessage?.message?.content;
@@ -481427,7 +481458,7 @@ function deriveFirstPrompt(firstUserMessage) {
481427
481458
  return raw.replace(/\s+/g, " ").trim().slice(0, 100) || "Branched conversation";
481428
481459
  }
481429
481460
  async function createFork(customTitle) {
481430
- const forkSessionId = randomUUID27();
481461
+ const forkSessionId = randomUUID28();
481431
481462
  const originalSessionId = getSessionId();
481432
481463
  const projectDir = getProjectDir3(getOriginalCwd());
481433
481464
  const forkSessionPath = getTranscriptPathForSession(forkSessionId);
@@ -488473,7 +488504,7 @@ var init_bridge_kick = __esm(() => {
488473
488504
  var call64 = async () => {
488474
488505
  return {
488475
488506
  type: "text",
488476
- value: `${"99.0.0"} (built ${"2026-07-22T14:10:51.823Z"})`
488507
+ value: `${"99.0.0"} (built ${"2026-07-26T19:55:07.255Z"})`
488477
488508
  };
488478
488509
  }, version2, version_default;
488479
488510
  var init_version2 = __esm(() => {
@@ -506056,9 +506087,9 @@ var init_hookHelpers = __esm(() => {
506056
506087
  });
506057
506088
 
506058
506089
  // src/utils/hooks/execPromptHook.ts
506059
- import { randomUUID as randomUUID28 } from "crypto";
506090
+ import { randomUUID as randomUUID29 } from "crypto";
506060
506091
  async function execPromptHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, messages, toolUseID) {
506061
- const effectiveToolUseID = toolUseID || `hook-${randomUUID28()}`;
506092
+ const effectiveToolUseID = toolUseID || `hook-${randomUUID29()}`;
506062
506093
  try {
506063
506094
  const processedPrompt = addArgumentsToPrompt(hook.prompt, jsonInput);
506064
506095
  logForDebugging(`Hooks: Processing prompt hook with prompt: ${processedPrompt}`);
@@ -506212,9 +506243,9 @@ var init_execPromptHook = __esm(() => {
506212
506243
  });
506213
506244
 
506214
506245
  // src/utils/hooks/execAgentHook.ts
506215
- import { randomUUID as randomUUID29 } from "crypto";
506246
+ import { randomUUID as randomUUID30 } from "crypto";
506216
506247
  async function execAgentHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, toolUseID, _messages, agentName) {
506217
- const effectiveToolUseID = toolUseID || `hook-${randomUUID29()}`;
506248
+ const effectiveToolUseID = toolUseID || `hook-${randomUUID30()}`;
506218
506249
  const transcriptPath = toolUseContext.agentId ? getAgentTranscriptPath(toolUseContext.agentId) : getTranscriptPath();
506219
506250
  const hookStartTime = Date.now();
506220
506251
  try {
@@ -506249,7 +506280,7 @@ When done, return your result using the ${SYNTHETIC_OUTPUT_TOOL_NAME} tool with:
506249
506280
  ]);
506250
506281
  const model2 = hook.model ?? getSmallFastModel();
506251
506282
  const MAX_AGENT_TURNS = 50;
506252
- const hookAgentId = asAgentId(`hook-agent-${randomUUID29()}`);
506283
+ const hookAgentId = asAgentId(`hook-agent-${randomUUID30()}`);
506253
506284
  const agentToolUseContext = {
506254
506285
  ...toolUseContext,
506255
506286
  agentId: hookAgentId,
@@ -507633,7 +507664,7 @@ __export(exports_hooks2, {
507633
507664
  });
507634
507665
  import { basename as basename47 } from "path";
507635
507666
  import { spawn as spawn10 } from "child_process";
507636
- import { randomUUID as randomUUID30 } from "crypto";
507667
+ import { randomUUID as randomUUID31 } from "crypto";
507637
507668
  function dedupeRegisteredPluginHooks(registeredHooks) {
507638
507669
  const seenPluginMatchers = new Set;
507639
507670
  const deduped = [];
@@ -508768,7 +508799,7 @@ async function* executeHooks({
508768
508799
  parentToolUseID: toolUseID,
508769
508800
  toolUseID,
508770
508801
  timestamp: new Date().toISOString(),
508771
- uuid: randomUUID30()
508802
+ uuid: randomUUID31()
508772
508803
  }
508773
508804
  };
508774
508805
  }
@@ -508830,7 +508861,7 @@ async function* executeHooks({
508830
508861
  const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, {
508831
508862
  timeoutMs: commandTimeoutMs
508832
508863
  });
508833
- const hookId = randomUUID30();
508864
+ const hookId = randomUUID31();
508834
508865
  const hookStartMs = Date.now();
508835
508866
  const hookCommand = getHookDisplayText(hook);
508836
508867
  try {
@@ -509478,7 +509509,7 @@ async function executeHooksOutsideREPL({
509478
509509
  const callbackTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
509479
509510
  const { signal: abortSignal2, cleanup: cleanup2 } = createCombinedAbortSignal(signal, { timeoutMs: callbackTimeoutMs });
509480
509511
  try {
509481
- const toolUseID = randomUUID30();
509512
+ const toolUseID = randomUUID31();
509482
509513
  const json2 = await hook.callback(hookInput, toolUseID, abortSignal2, hookIndex);
509483
509514
  cleanup2?.();
509484
509515
  if (isAsyncHookJSONOutput(json2)) {
@@ -509589,7 +509620,7 @@ async function executeHooksOutsideREPL({
509589
509620
  const commandTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
509590
509621
  const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, { timeoutMs: commandTimeoutMs });
509591
509622
  try {
509592
- const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal, randomUUID30(), hookIndex, pluginRoot, pluginId);
509623
+ const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal, randomUUID31(), hookIndex, pluginRoot, pluginId);
509593
509624
  cleanup?.();
509594
509625
  if (result.aborted) {
509595
509626
  logForDebugging(`${hookName} [${hook.command}] cancelled`);
@@ -509807,7 +509838,7 @@ async function* executeStopHooks(permissionMode, signal, timeoutMs = TOOL_HOOK_E
509807
509838
  };
509808
509839
  yield* executeHooks({
509809
509840
  hookInput,
509810
- toolUseID: randomUUID30(),
509841
+ toolUseID: randomUUID31(),
509811
509842
  signal,
509812
509843
  timeoutMs,
509813
509844
  toolUseContext,
@@ -509824,7 +509855,7 @@ async function* executeTeammateIdleHooks(teammateName, teamName, permissionMode,
509824
509855
  };
509825
509856
  yield* executeHooks({
509826
509857
  hookInput,
509827
- toolUseID: randomUUID30(),
509858
+ toolUseID: randomUUID31(),
509828
509859
  signal,
509829
509860
  timeoutMs
509830
509861
  });
@@ -509841,7 +509872,7 @@ async function* executeTaskCreatedHooks(taskId, taskSubject, taskDescription, te
509841
509872
  };
509842
509873
  yield* executeHooks({
509843
509874
  hookInput,
509844
- toolUseID: randomUUID30(),
509875
+ toolUseID: randomUUID31(),
509845
509876
  signal,
509846
509877
  timeoutMs,
509847
509878
  toolUseContext
@@ -509861,7 +509892,7 @@ async function* executeTaskCompletedHooks(taskId, taskSubject, taskDescription,
509861
509892
  let preventedContinuation = false;
509862
509893
  for await (const result of executeHooks({
509863
509894
  hookInput,
509864
- toolUseID: randomUUID30(),
509895
+ toolUseID: randomUUID31(),
509865
509896
  signal,
509866
509897
  timeoutMs,
509867
509898
  toolUseContext
@@ -509899,7 +509930,7 @@ async function* executeUserPromptSubmitHooks(prompt, permissionMode, toolUseCont
509899
509930
  };
509900
509931
  yield* executeHooks({
509901
509932
  hookInput,
509902
- toolUseID: randomUUID30(),
509933
+ toolUseID: randomUUID31(),
509903
509934
  signal: toolUseContext.abortController.signal,
509904
509935
  timeoutMs: TOOL_HOOK_EXECUTION_TIMEOUT_MS,
509905
509936
  toolUseContext,
@@ -509916,7 +509947,7 @@ async function* executeSessionStartHooks(source, sessionId, agentType, model2, s
509916
509947
  };
509917
509948
  yield* executeHooks({
509918
509949
  hookInput,
509919
- toolUseID: randomUUID30(),
509950
+ toolUseID: randomUUID31(),
509920
509951
  matchQuery: source,
509921
509952
  signal,
509922
509953
  timeoutMs,
@@ -509931,7 +509962,7 @@ async function* executeSetupHooks(trigger, signal, timeoutMs = TOOL_HOOK_EXECUTI
509931
509962
  };
509932
509963
  yield* executeHooks({
509933
509964
  hookInput,
509934
- toolUseID: randomUUID30(),
509965
+ toolUseID: randomUUID31(),
509935
509966
  matchQuery: trigger,
509936
509967
  signal,
509937
509968
  timeoutMs,
@@ -509947,7 +509978,7 @@ async function* executeSubagentStartHooks(agentId, agentType, signal, timeoutMs
509947
509978
  };
509948
509979
  yield* executeHooks({
509949
509980
  hookInput,
509950
- toolUseID: randomUUID30(),
509981
+ toolUseID: randomUUID31(),
509951
509982
  matchQuery: agentType,
509952
509983
  signal,
509953
509984
  timeoutMs
@@ -510310,7 +510341,7 @@ async function executeStatusLineCommand(statusLineInput, signal, timeoutMs = 500
510310
510341
  const { signal: abortSignal, cleanup } = signal ? { signal, cleanup: () => {} } : createCombinedAbortSignal(undefined, { timeoutMs });
510311
510342
  try {
510312
510343
  const jsonInput = jsonStringify(statusLineInput);
510313
- const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal, randomUUID30());
510344
+ const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal, randomUUID31());
510314
510345
  if (result.aborted) {
510315
510346
  return;
510316
510347
  }
@@ -510356,7 +510387,7 @@ async function executeFileSuggestionCommand(fileSuggestionInput, signal, timeout
510356
510387
  try {
510357
510388
  const jsonInput = jsonStringify(fileSuggestionInput);
510358
510389
  const hook = { type: "command", command: fileSuggestion.command };
510359
- const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal, randomUUID30());
510390
+ const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal, randomUUID31());
510360
510391
  if (result.aborted || result.status !== 0) {
510361
510392
  return [];
510362
510393
  }
@@ -512515,7 +512546,7 @@ function insertBlockAfterToolResults(content, block2) {
512515
512546
  }
512516
512547
 
512517
512548
  // src/services/api/claude.ts
512518
- import { randomUUID as randomUUID31 } from "crypto";
512549
+ import { randomUUID as randomUUID32 } from "crypto";
512519
512550
  function getExtraBodyParams(betaHeaders) {
512520
512551
  const extraBodyStr = process.env.CLAUDE_CODE_EXTRA_BODY;
512521
512552
  let result = {};
@@ -513336,7 +513367,7 @@ ${deferredToolList}
513336
513367
  if (!options2.agentId) {
513337
513368
  headlessProfilerCheckpoint("api_request_sent");
513338
513369
  }
513339
- clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ? randomUUID31() : undefined;
513370
+ clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ? randomUUID32() : undefined;
513340
513371
  const result = await anthropic.beta.messages.create({ ...params, stream: true }, {
513341
513372
  signal,
513342
513373
  ...clientRequestId && {
@@ -513581,7 +513612,7 @@ ${deferredToolList}
513581
513612
  },
513582
513613
  requestId: streamRequestId ?? undefined,
513583
513614
  type: "assistant",
513584
- uuid: randomUUID31(),
513615
+ uuid: randomUUID32(),
513585
513616
  timestamp: new Date().toISOString(),
513586
513617
  ...process.env.USER_TYPE === "ant" && research !== undefined && { research },
513587
513618
  ...advisorModel && { advisorModel }
@@ -513763,7 +513794,7 @@ ${deferredToolList}
513763
513794
  },
513764
513795
  requestId: streamRequestId ?? undefined,
513765
513796
  type: "assistant",
513766
- uuid: randomUUID31(),
513797
+ uuid: randomUUID32(),
513767
513798
  timestamp: new Date().toISOString(),
513768
513799
  ...process.env.USER_TYPE === "ant" && research !== undefined && {
513769
513800
  research
@@ -513817,7 +513848,7 @@ ${deferredToolList}
513817
513848
  },
513818
513849
  requestId: streamRequestId ?? undefined,
513819
513850
  type: "assistant",
513820
- uuid: randomUUID31(),
513851
+ uuid: randomUUID32(),
513821
513852
  timestamp: new Date().toISOString(),
513822
513853
  ...process.env.USER_TYPE === "ant" && research !== undefined && { research },
513823
513854
  ...advisorModel && { advisorModel }
@@ -514410,9 +514441,9 @@ function matchesKeepGoingKeyword(input) {
514410
514441
  }
514411
514442
 
514412
514443
  // src/utils/processUserInput/processTextPrompt.ts
514413
- import { randomUUID as randomUUID32 } from "crypto";
514444
+ import { randomUUID as randomUUID33 } from "crypto";
514414
514445
  function processTextPrompt(input, imageContentBlocks, imagePasteIds, attachmentMessages, uuid3, permissionMode, isMeta) {
514415
- const promptId = randomUUID32();
514446
+ const promptId = randomUUID33();
514416
514447
  setPromptId(promptId);
514417
514448
  const userPromptText = typeof input === "string" ? input : input.find((block2) => block2.type === "text")?.text || "";
514418
514449
  startInteractionSpan(userPromptText);
@@ -514544,7 +514575,7 @@ var exports_processBashCommand = {};
514544
514575
  __export(exports_processBashCommand, {
514545
514576
  processBashCommand: () => processBashCommand
514546
514577
  });
514547
- import { randomUUID as randomUUID33 } from "crypto";
514578
+ import { randomUUID as randomUUID34 } from "crypto";
514548
514579
  async function processBashCommand(inputString, precedingInputBlocks, attachmentMessages, context2, setToolJSX) {
514549
514580
  const usePowerShell = isPowerShellToolEnabled() && resolveDefaultShell() === "powershell";
514550
514581
  logEvent("tengu_input_bash", {
@@ -514610,7 +514641,7 @@ async function processBashCommand(inputString, precedingInputBlocks, attachmentM
514610
514641
  const mapped = await processToolResultBlock(shellTool, {
514611
514642
  ...data,
514612
514643
  stderr: ""
514613
- }, randomUUID33());
514644
+ }, randomUUID34());
514614
514645
  const stdout = typeof mapped.content === "string" ? mapped.content : escapeXml(data.stdout);
514615
514646
  return {
514616
514647
  messages: [createSyntheticUserCaveatMessage(), userMessage, ...attachmentMessages, createUserMessage({
@@ -514658,7 +514689,7 @@ var init_processBashCommand = __esm(() => {
514658
514689
  });
514659
514690
 
514660
514691
  // src/utils/processUserInput/processUserInput.ts
514661
- import { randomUUID as randomUUID34 } from "crypto";
514692
+ import { randomUUID as randomUUID35 } from "crypto";
514662
514693
  async function processUserInput({
514663
514694
  input,
514664
514695
  preExpansionInput,
@@ -514720,7 +514751,7 @@ Original prompt: ${input}`, "warning")
514720
514751
  type: "hook_additional_context",
514721
514752
  content: hookResult.additionalContexts.map(applyTruncation),
514722
514753
  hookName: "UserPromptSubmit",
514723
- toolUseID: `hook-${randomUUID34()}`,
514754
+ toolUseID: `hook-${randomUUID35()}`,
514724
514755
  hookEvent: "UserPromptSubmit"
514725
514756
  }));
514726
514757
  }
@@ -515058,7 +515089,7 @@ var init_messageFilters = __esm(() => {
515058
515089
  });
515059
515090
 
515060
515091
  // src/utils/messages/systemInit.ts
515061
- import { randomUUID as randomUUID35 } from "crypto";
515092
+ import { randomUUID as randomUUID36 } from "crypto";
515062
515093
  function sdkCompatToolName(name) {
515063
515094
  return name === AGENT_TOOL_NAME ? LEGACY_AGENT_TOOL_NAME : name;
515064
515095
  }
@@ -515089,7 +515120,7 @@ function buildSystemInitMessage(inputs) {
515089
515120
  path: plugin2.path,
515090
515121
  source: plugin2.source
515091
515122
  })),
515092
- uuid: randomUUID35()
515123
+ uuid: randomUUID36()
515093
515124
  };
515094
515125
  if (false) {}
515095
515126
  initMessage.fast_mode_state = getFastModeState(inputs.model, inputs.fastMode);
@@ -515106,7 +515137,7 @@ var init_systemInit = __esm(() => {
515106
515137
  });
515107
515138
 
515108
515139
  // src/QueryEngine.ts
515109
- import { randomUUID as randomUUID36 } from "crypto";
515140
+ import { randomUUID as randomUUID37 } from "crypto";
515110
515141
 
515111
515142
  class QueryEngine {
515112
515143
  config;
@@ -515415,7 +515446,7 @@ class QueryEngine {
515415
515446
  modelUsage: getModelUsage(),
515416
515447
  permission_denials: this.permissionDenials,
515417
515448
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
515418
- uuid: randomUUID36()
515449
+ uuid: randomUUID37()
515419
515450
  };
515420
515451
  return;
515421
515452
  }
@@ -515538,7 +515569,7 @@ class QueryEngine {
515538
515569
  event: message.event,
515539
515570
  session_id: getSessionId(),
515540
515571
  parent_tool_use_id: null,
515541
- uuid: randomUUID36()
515572
+ uuid: randomUUID37()
515542
515573
  };
515543
515574
  }
515544
515575
  break;
@@ -515570,7 +515601,7 @@ class QueryEngine {
515570
515601
  modelUsage: getModelUsage(),
515571
515602
  permission_denials: this.permissionDenials,
515572
515603
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
515573
- uuid: randomUUID36(),
515604
+ uuid: randomUUID37(),
515574
515605
  errors: [
515575
515606
  `Reached maximum number of turns (${message.attachment.maxTurns})`
515576
515607
  ]
@@ -515665,7 +515696,7 @@ class QueryEngine {
515665
515696
  modelUsage: getModelUsage(),
515666
515697
  permission_denials: this.permissionDenials,
515667
515698
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
515668
- uuid: randomUUID36(),
515699
+ uuid: randomUUID37(),
515669
515700
  errors: [`Reached maximum budget ($${maxBudgetUsd})`]
515670
515701
  };
515671
515702
  return;
@@ -515695,7 +515726,7 @@ class QueryEngine {
515695
515726
  modelUsage: getModelUsage(),
515696
515727
  permission_denials: this.permissionDenials,
515697
515728
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
515698
- uuid: randomUUID36(),
515729
+ uuid: randomUUID37(),
515699
515730
  errors: [
515700
515731
  `Failed to provide valid structured output after ${maxRetries} attempts`
515701
515732
  ]
@@ -515727,7 +515758,7 @@ class QueryEngine {
515727
515758
  modelUsage: getModelUsage(),
515728
515759
  permission_denials: this.permissionDenials,
515729
515760
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
515730
- uuid: randomUUID36(),
515761
+ uuid: randomUUID37(),
515731
515762
  errors: (() => {
515732
515763
  const all4 = getInMemoryErrors();
515733
515764
  const start = errorLogWatermark ? all4.lastIndexOf(errorLogWatermark) + 1 : 0;
@@ -515764,7 +515795,7 @@ class QueryEngine {
515764
515795
  permission_denials: this.permissionDenials,
515765
515796
  structured_output: structuredOutputFromTool,
515766
515797
  fast_mode_state: getFastModeState(mainLoopModel, initialAppState.fastMode),
515767
- uuid: randomUUID36()
515798
+ uuid: randomUUID37()
515768
515799
  };
515769
515800
  }
515770
515801
  interrupt() {
@@ -516984,7 +517015,7 @@ var init_shared3 = __esm(() => {
516984
517015
  });
516985
517016
 
516986
517017
  // src/entrypoints/sdk/sessions.ts
516987
- import { randomUUID as randomUUID37 } from "crypto";
517018
+ import { randomUUID as randomUUID38 } from "crypto";
516988
517019
  import { appendFile as appendFile6, mkdir as mkdir46, unlink as unlink24, writeFile as writeFile49 } from "fs/promises";
516989
517020
  import { dirname as dirname59, join as join145 } from "path";
516990
517021
  function toSDKSessionInfo(info) {
@@ -517038,7 +517069,7 @@ async function forkSession(sessionId, options2) {
517038
517069
  if (entries.length === 0) {
517039
517070
  throw new Error(`Session is empty: ${sessionId}`);
517040
517071
  }
517041
- const forkSessionId = randomUUID37();
517072
+ const forkSessionId = randomUUID38();
517042
517073
  const targetDir = dirname59(resolved.filePath);
517043
517074
  const forkPath = join145(targetDir, `${forkSessionId}.jsonl`);
517044
517075
  const uuidMap = new Map;
@@ -517057,7 +517088,7 @@ async function forkSession(sessionId, options2) {
517057
517088
  metadataEntries.push(entry);
517058
517089
  continue;
517059
517090
  }
517060
- const newUuid = randomUUID37();
517091
+ const newUuid = randomUUID38();
517061
517092
  uuidMap.set(entry.uuid, newUuid);
517062
517093
  mainEntries.push(entry);
517063
517094
  if (options2?.upToMessageId && entry.uuid === options2.upToMessageId) {
@@ -517357,7 +517388,7 @@ function stripExtraFields(messages) {
517357
517388
  }
517358
517389
 
517359
517390
  // src/entrypoints/sdk/query.ts
517360
- import { randomUUID as randomUUID38 } from "crypto";
517391
+ import { randomUUID as randomUUID39 } from "crypto";
517361
517392
  import { dirname as dirname60 } from "path";
517362
517393
  import { stat as stat50 } from "fs/promises";
517363
517394
  async function loadAndInjectSessionMessages(sessionId, cwd2, engine, upToUuid) {
@@ -517525,7 +517556,7 @@ var init_query3 = __esm(() => {
517525
517556
  this.appStateStore = appStateStore;
517526
517557
  this.envOverrides = envOverrides;
517527
517558
  this._sessionIdExplicitlyProvided = sessionId !== undefined;
517528
- this._sessionId = sessionId ?? randomUUID38();
517559
+ this._sessionId = sessionId ?? randomUUID39();
517529
517560
  this.shouldFork = fork;
517530
517561
  this.continueSession = continueSession;
517531
517562
  this.cwd = cwd2;
@@ -521548,7 +521579,7 @@ function printStartupScreen(modelOverride) {
521548
521579
  const home = process.env.HOME || process.env.USERPROFILE || "";
521549
521580
  const cwd2 = process.cwd();
521550
521581
  const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
521551
- const version3 = "0.14.4";
521582
+ const version3 = "0.14.5";
521552
521583
  const bold2 = `${ESC4}1m`;
521553
521584
  const PURPLE = rgb3(...ACCENT);
521554
521585
  const SOFT = rgb3(...CREAM);
@@ -524590,7 +524621,7 @@ var init_useReplBridge = __esm(() => {
524590
524621
  });
524591
524622
 
524592
524623
  // src/components/MessageSelector.tsx
524593
- import { randomUUID as randomUUID39 } from "crypto";
524624
+ import { randomUUID as randomUUID40 } from "crypto";
524594
524625
  import * as path21 from "path";
524595
524626
  function isTextBlock3(block2) {
524596
524627
  return block2.type === "text";
@@ -524610,7 +524641,7 @@ function MessageSelector({
524610
524641
  const fileHistory = useAppState((s) => s.fileHistory);
524611
524642
  const [error42, setError] = import_react196.useState(undefined);
524612
524643
  const isFileHistoryEnabled = fileHistoryEnabled();
524613
- const currentUUID = import_react196.useMemo(randomUUID39, []);
524644
+ const currentUUID = import_react196.useMemo(randomUUID40, []);
524614
524645
  const messageOptions = import_react196.useMemo(() => [...messages.filter(selectableUserMessagesFilter), {
524615
524646
  ...createUserMessage({
524616
524647
  content: ""
@@ -530404,7 +530435,7 @@ var init_FileEditToolDiff = __esm(() => {
530404
530435
  });
530405
530436
 
530406
530437
  // src/hooks/useDiffInIDE.ts
530407
- import { randomUUID as randomUUID40 } from "crypto";
530438
+ import { randomUUID as randomUUID41 } from "crypto";
530408
530439
  import { basename as basename51 } from "path";
530409
530440
  async function runAllPendingDiffCleanups() {
530410
530441
  const cleanups = Array.from(pendingDiffCleanups);
@@ -530434,7 +530465,7 @@ function useDiffInIDE({
530434
530465
  }) {
530435
530466
  const isUnmounted = import_react207.useRef(false);
530436
530467
  const [hasError, setHasError] = import_react207.useState(false);
530437
- const sha = import_react207.useMemo(() => randomUUID40().slice(0, 6), []);
530468
+ const sha = import_react207.useMemo(() => randomUUID41().slice(0, 6), []);
530438
530469
  const tabName = import_react207.useMemo(() => `✻ [Verboo Code] ${basename51(filePath)} (${sha}) ⧉`, [filePath, sha]);
530439
530470
  const shouldShowDiffInIDE = hasAccessToIDEExtensionDiffFeature(toolUseContext.options.mcpClients) && getGlobalConfig().diffTool === "auto" && !filePath.endsWith(".ipynb");
530440
530471
  const ideName = getConnectedIdeName(toolUseContext.options.mcpClients) ?? "IDE";
@@ -539840,7 +539871,7 @@ var init_routerRateLimitHook = __esm(() => {
539840
539871
  function getSemverPart(version3) {
539841
539872
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
539842
539873
  }
539843
- function useUpdateNotification(updatedVersion, initialVersion = "0.14.4") {
539874
+ function useUpdateNotification(updatedVersion, initialVersion = "0.14.5") {
539844
539875
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react225.useState(() => getSemverPart(initialVersion));
539845
539876
  const [pendingNotification2, setPendingNotification] = import_react225.useState(null);
539846
539877
  if (updatedVersion) {
@@ -539880,7 +539911,7 @@ function AutoUpdater({
539880
539911
  return;
539881
539912
  }
539882
539913
  if (false) {}
539883
- const currentVersion = "0.14.4";
539914
+ const currentVersion = "0.14.5";
539884
539915
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
539885
539916
  let latestVersion = await getLatestVersion(channel2);
539886
539917
  const isDisabled = isAutoUpdaterDisabled();
@@ -540233,17 +540264,17 @@ function PackageManagerAutoUpdater(t0) {
540233
540264
  const maxVersion = await getMaxVersion();
540234
540265
  if (maxVersion && latest && gt(latest, maxVersion)) {
540235
540266
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
540236
- if (gte("0.14.4", maxVersion)) {
540237
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.14.4"} is already at or above maxVersion ${maxVersion}, skipping update`);
540267
+ if (gte("0.14.5", maxVersion)) {
540268
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.14.5"} is already at or above maxVersion ${maxVersion}, skipping update`);
540238
540269
  setUpdateAvailable(false);
540239
540270
  return;
540240
540271
  }
540241
540272
  latest = maxVersion;
540242
540273
  }
540243
- const hasUpdate = latest && !gte("0.14.4", latest) && !shouldSkipVersion(latest);
540274
+ const hasUpdate = latest && !gte("0.14.5", latest) && !shouldSkipVersion(latest);
540244
540275
  setUpdateAvailable(!!hasUpdate);
540245
540276
  if (hasUpdate) {
540246
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.14.4"} -> ${latest}`);
540277
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.14.5"} -> ${latest}`);
540247
540278
  }
540248
540279
  };
540249
540280
  $2[0] = t1;
@@ -540277,7 +540308,7 @@ function PackageManagerAutoUpdater(t0) {
540277
540308
  wrap: "truncate",
540278
540309
  children: [
540279
540310
  "currentVersion: ",
540280
- "0.14.4"
540311
+ "0.14.5"
540281
540312
  ]
540282
540313
  });
540283
540314
  $2[3] = verbose;
@@ -547106,7 +547137,7 @@ var init_teamDiscovery = __esm(() => {
547106
547137
  });
547107
547138
 
547108
547139
  // src/components/teams/TeamsDialog.tsx
547109
- import { randomUUID as randomUUID41 } from "crypto";
547140
+ import { randomUUID as randomUUID42 } from "crypto";
547110
547141
  function TeamsDialog({
547111
547142
  initialTeams,
547112
547143
  onDone
@@ -547730,7 +547761,7 @@ async function killTeammate(paneId, backendType, teamName, teammateId, teammateN
547730
547761
  },
547731
547762
  inbox: {
547732
547763
  messages: [...prev.inbox.messages, {
547733
- id: randomUUID41(),
547764
+ id: randomUUID42(),
547734
547765
  from: "system",
547735
547766
  text: jsonStringify({
547736
547767
  type: "teammate_terminated",
@@ -553687,7 +553718,7 @@ function normalizeControlMessageKeys(obj) {
553687
553718
  }
553688
553719
 
553689
553720
  // src/bridge/bridgeMessaging.ts
553690
- import { randomUUID as randomUUID42 } from "crypto";
553721
+ import { randomUUID as randomUUID43 } from "crypto";
553691
553722
  function isSDKMessage(value) {
553692
553723
  return value !== null && typeof value === "object" && "type" in value && typeof value.type === "string";
553693
553724
  }
@@ -553895,7 +553926,7 @@ function makeResultMessage(sessionId) {
553895
553926
  modelUsage: {},
553896
553927
  permission_denials: [],
553897
553928
  session_id: sessionId,
553898
- uuid: randomUUID42()
553929
+ uuid: randomUUID43()
553899
553930
  };
553900
553931
  }
553901
553932
 
@@ -553938,7 +553969,7 @@ var init_bridgeMessaging = __esm(() => {
553938
553969
  });
553939
553970
 
553940
553971
  // src/remote/SessionsWebSocket.ts
553941
- import { randomUUID as randomUUID43 } from "crypto";
553972
+ import { randomUUID as randomUUID44 } from "crypto";
553942
553973
  function isSessionsMessage(value) {
553943
553974
  if (typeof value !== "object" || value === null || !("type" in value)) {
553944
553975
  return false;
@@ -554163,7 +554194,7 @@ class SessionsWebSocket {
554163
554194
  }
554164
554195
  const controlRequest = {
554165
554196
  type: "control_request",
554166
- request_id: randomUUID43(),
554197
+ request_id: randomUUID44(),
554167
554198
  request
554168
554199
  };
554169
554200
  logForDebugging(`[SessionsWebSocket] Sending control request: ${request.subtype}`);
@@ -554352,11 +554383,11 @@ var init_RemoteSessionManager = __esm(() => {
554352
554383
  });
554353
554384
 
554354
554385
  // src/remote/remotePermissionBridge.ts
554355
- import { randomUUID as randomUUID44 } from "crypto";
554386
+ import { randomUUID as randomUUID45 } from "crypto";
554356
554387
  function createSyntheticAssistantMessage(request, requestId) {
554357
554388
  return {
554358
554389
  type: "assistant",
554359
- uuid: randomUUID44(),
554390
+ uuid: randomUUID45(),
554360
554391
  message: {
554361
554392
  id: `remote-${requestId}`,
554362
554393
  type: "message",
@@ -555174,7 +555205,7 @@ var init_useDirectConnect = __esm(() => {
555174
555205
  });
555175
555206
 
555176
555207
  // src/hooks/useSSHSession.ts
555177
- import { randomUUID as randomUUID45 } from "crypto";
555208
+ import { randomUUID as randomUUID46 } from "crypto";
555178
555209
  function useSSHSession({
555179
555210
  session: session2,
555180
555211
  setMessages,
@@ -555272,7 +555303,7 @@ function useSSHSession({
555272
555303
  subtype: "informational",
555273
555304
  content: `SSH connection dropped — reconnecting (attempt ${attempt}/${max2})...`,
555274
555305
  timestamp: new Date().toISOString(),
555275
- uuid: randomUUID45(),
555306
+ uuid: randomUUID46(),
555276
555307
  level: "warning"
555277
555308
  };
555278
555309
  setMessages((prev) => [...prev, msg]);
@@ -556228,10 +556259,10 @@ async function autoUpdateCliInBackground() {
556228
556259
  return;
556229
556260
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
556230
556261
  const latest = await getLatestVersion(channel2);
556231
- if (!latest || gte("0.14.4", latest))
556262
+ if (!latest || gte("0.14.5", latest))
556232
556263
  return;
556233
556264
  writeToStdout(`
556234
- Nova versão disponível: ${latest} (atual: ${"0.14.4"})
556265
+ Nova versão disponível: ${latest} (atual: ${"0.14.5"})
556235
556266
  `);
556236
556267
  writeToStdout(`Atualizando automaticamente...
556237
556268
  `);
@@ -557476,7 +557507,7 @@ var init_PermissionContext = __esm(() => {
557476
557507
  });
557477
557508
 
557478
557509
  // src/hooks/toolPermission/handlers/interactiveHandler.ts
557479
- import { randomUUID as randomUUID46 } from "crypto";
557510
+ import { randomUUID as randomUUID47 } from "crypto";
557480
557511
  function handleInteractivePermission(params, resolve45) {
557481
557512
  const {
557482
557513
  ctx,
@@ -557490,7 +557521,7 @@ function handleInteractivePermission(params, resolve45) {
557490
557521
  let userInteracted = false;
557491
557522
  let checkmarkTransitionTimer;
557492
557523
  let checkmarkAbortHandler;
557493
- const bridgeRequestId = bridgeCallbacks ? randomUUID46() : undefined;
557524
+ const bridgeRequestId = bridgeCallbacks ? randomUUID47() : undefined;
557494
557525
  let channelUnsubscribe;
557495
557526
  const permissionPromptStartTimeMs = Date.now();
557496
557527
  const displayInput = result.updatedInput ?? ctx.input;
@@ -559253,7 +559284,7 @@ var init_sessionRestore = __esm(() => {
559253
559284
  });
559254
559285
 
559255
559286
  // src/hooks/useInboxPoller.ts
559256
- import { randomUUID as randomUUID47 } from "crypto";
559287
+ import { randomUUID as randomUUID48 } from "crypto";
559257
559288
  function getAgentNameToPoll(appState) {
559258
559289
  if (isInProcessTeammate()) {
559259
559290
  return;
@@ -559670,7 +559701,7 @@ function useInboxPoller({
559670
559701
  messages: [
559671
559702
  ...prev.inbox.messages,
559672
559703
  {
559673
- id: randomUUID47(),
559704
+ id: randomUUID48(),
559674
559705
  from: "system",
559675
559706
  text: jsonStringify({
559676
559707
  type: "teammate_terminated",
@@ -559710,7 +559741,7 @@ ${messageContent}
559710
559741
  messages: [
559711
559742
  ...prev.inbox.messages,
559712
559743
  ...regularMessages.map((m) => ({
559713
- id: randomUUID47(),
559744
+ id: randomUUID48(),
559714
559745
  from: m.from,
559715
559746
  text: m.text,
559716
559747
  timestamp: m.timestamp,
@@ -560549,7 +560580,7 @@ async function submitTranscriptShare() {
560549
560580
  }
560550
560581
 
560551
560582
  // src/components/FeedbackSurvey/useSurveyState.tsx
560552
- import { randomUUID as randomUUID48 } from "crypto";
560583
+ import { randomUUID as randomUUID49 } from "crypto";
560553
560584
  function useSurveyState({
560554
560585
  hideThanksAfterMs,
560555
560586
  onOpen,
@@ -560560,7 +560591,7 @@ function useSurveyState({
560560
560591
  }) {
560561
560592
  const [state3, setState] = import_react291.useState("closed");
560562
560593
  const [lastResponse, setLastResponse] = import_react291.useState(null);
560563
- const appearanceId = import_react291.useRef(randomUUID48());
560594
+ const appearanceId = import_react291.useRef(randomUUID49());
560564
560595
  const lastResponseRef = import_react291.useRef(null);
560565
560596
  const showThanksThenClose = import_react291.useCallback(() => {
560566
560597
  setState("thanks");
@@ -560578,7 +560609,7 @@ function useSurveyState({
560578
560609
  return;
560579
560610
  }
560580
560611
  setState("open");
560581
- appearanceId.current = randomUUID48();
560612
+ appearanceId.current = randomUUID49();
560582
560613
  onOpen(appearanceId.current);
560583
560614
  }, [state3, onOpen]);
560584
560615
  const handleSelect = import_react291.useCallback((selected) => {
@@ -563182,7 +563213,7 @@ var init_ndjsonSafeStringify = __esm(() => {
563182
563213
  });
563183
563214
 
563184
563215
  // src/cli/structuredIO.ts
563185
- import { randomUUID as randomUUID49 } from "crypto";
563216
+ import { randomUUID as randomUUID50 } from "crypto";
563186
563217
  function serializeDecisionReason(reason) {
563187
563218
  if (!reason) {
563188
563219
  return;
@@ -563432,7 +563463,7 @@ class StructuredIO {
563432
563463
  writeToStdout(ndjsonSafeStringify(message) + `
563433
563464
  `);
563434
563465
  }
563435
- async sendRequest(request, schema, signal, requestId = randomUUID49()) {
563466
+ async sendRequest(request, schema, signal, requestId = randomUUID50()) {
563436
563467
  const message = {
563437
563468
  type: "control_request",
563438
563469
  request_id: requestId,
@@ -563498,7 +563529,7 @@ class StructuredIO {
563498
563529
  parentSignal.addEventListener("abort", onParentAbort, { once: true });
563499
563530
  try {
563500
563531
  const hookPromise = executePermissionRequestHooksForSDK(tool2.name, toolUseID, input, toolUseContext, mainPermissionResult.suggestions).then((decision) => ({ source: "hook", decision }));
563501
- const requestId = randomUUID49();
563532
+ const requestId = randomUUID50();
563502
563533
  onPermissionPrompt?.(buildRequiresActionDetails(tool2, input, toolUseID, requestId));
563503
563534
  const sdkPromise = this.sendRequest({
563504
563535
  subtype: "can_use_tool",
@@ -563578,7 +563609,7 @@ class StructuredIO {
563578
563609
  subtype: "can_use_tool",
563579
563610
  tool_name: SANDBOX_NETWORK_ACCESS_TOOL_NAME,
563580
563611
  input: { host: hostPattern.host },
563581
- tool_use_id: randomUUID49(),
563612
+ tool_use_id: randomUUID50(),
563582
563613
  description: `Allow network connection to ${hostPattern.host}?`
563583
563614
  }, outputSchema35());
563584
563615
  return result.behavior === "allow";
@@ -568937,7 +568968,7 @@ __export(exports_REPL, {
568937
568968
  import { dirname as dirname65, join as join157 } from "path";
568938
568969
  import { tmpdir as tmpdir10 } from "os";
568939
568970
  import { writeFile as writeFile52 } from "fs/promises";
568940
- import { randomUUID as randomUUID50 } from "crypto";
568971
+ import { randomUUID as randomUUID51 } from "crypto";
568941
568972
  function TranscriptModeFooter(t0) {
568942
568973
  const $2 = import_react_compiler_runtime353.c(9);
568943
568974
  const {
@@ -569747,7 +569778,7 @@ function REPL({
569747
569778
  const [isMessageSelectorVisible, setIsMessageSelectorVisible] = import_react320.useState(false);
569748
569779
  const [messageSelectorPreselect, setMessageSelectorPreselect] = import_react320.useState(undefined);
569749
569780
  const [showCostDialog, setShowCostDialog] = import_react320.useState(false);
569750
- const [conversationId, setConversationId] = import_react320.useState(randomUUID50());
569781
+ const [conversationId, setConversationId] = import_react320.useState(randomUUID51());
569751
569782
  const [idleReturnPending, setIdleReturnPending] = import_react320.useState(null);
569752
569783
  const skipIdleCheckRef = import_react320.useRef(false);
569753
569784
  const lastQueryCompletionTimeRef = import_react320.useRef(lastQueryCompletionTime);
@@ -570513,7 +570544,7 @@ Error: sandbox required but unavailable: ${reason}
570513
570544
  } else {
570514
570545
  setMessages(() => [newMessage]);
570515
570546
  }
570516
- setConversationId(randomUUID50());
570547
+ setConversationId(randomUUID51());
570517
570548
  if (false) {}
570518
570549
  } else if (newMessage.type === "progress" && isEphemeralToolProgress(newMessage.data.type)) {
570519
570550
  setMessages((oldMessages) => {
@@ -570589,7 +570620,7 @@ Error: sandbox required but unavailable: ${reason}
570589
570620
  });
570590
570621
  if (!shouldQuery) {
570591
570622
  if (newMessages.some(isCompactBoundaryMessage)) {
570592
- setConversationId(randomUUID50());
570623
+ setConversationId(randomUUID51());
570593
570624
  if (false) {}
570594
570625
  }
570595
570626
  resetLoadingState();
@@ -571237,7 +571268,7 @@ Error: sandbox required but unavailable: ${reason}
571237
571268
  rewindToMessageIndex: messageIndex
571238
571269
  });
571239
571270
  setMessages(prev.slice(0, messageIndex));
571240
- setConversationId(randomUUID50());
571271
+ setConversationId(randomUUID51());
571241
571272
  resetMicrocompactState();
571242
571273
  if (false) {}
571243
571274
  setAppState((prev2) => ({
@@ -572421,7 +572452,7 @@ Note: ctrl + z now suspends Verboo Code, ctrl + _ undoes input.
572421
572452
  setMessages(postCompact);
572422
572453
  }
572423
572454
  if (false) {}
572424
- setConversationId(randomUUID50());
572455
+ setConversationId(randomUUID51());
572425
572456
  runPostCompactCleanup(context2.options.querySource);
572426
572457
  if (direction === "from") {
572427
572458
  const r = textForResubmit(message);
@@ -573925,7 +573956,7 @@ function WelcomeV2() {
573925
573956
  dimColor: true,
573926
573957
  children: [
573927
573958
  "v",
573928
- "0.14.4",
573959
+ "0.14.5",
573929
573960
  " "
573930
573961
  ]
573931
573962
  })
@@ -574112,7 +574143,7 @@ function WelcomeV2() {
574112
574143
  dimColor: true,
574113
574144
  children: [
574114
574145
  "v",
574115
- "0.14.4",
574146
+ "0.14.5",
574116
574147
  " "
574117
574148
  ]
574118
574149
  })
@@ -574328,7 +574359,7 @@ function AppleTerminalWelcomeV2(t0) {
574328
574359
  dimColor: true,
574329
574360
  children: [
574330
574361
  "v",
574331
- "0.14.4",
574362
+ "0.14.5",
574332
574363
  " "
574333
574364
  ]
574334
574365
  });
@@ -574537,7 +574568,7 @@ function AppleTerminalWelcomeV2(t0) {
574537
574568
  dimColor: true,
574538
574569
  children: [
574539
574570
  "v",
574540
- "0.14.4",
574571
+ "0.14.5",
574541
574572
  " "
574542
574573
  ]
574543
574574
  });
@@ -583032,7 +583063,7 @@ function coalescePatches(base2, overlay) {
583032
583063
  var init_WorkerStateUploader = () => {};
583033
583064
 
583034
583065
  // src/cli/transports/ccrClient.ts
583035
- import { randomUUID as randomUUID51 } from "crypto";
583066
+ import { randomUUID as randomUUID52 } from "crypto";
583036
583067
  function alwaysValidStatus() {
583037
583068
  return true;
583038
583069
  }
@@ -583391,7 +583422,7 @@ class CCRClient {
583391
583422
  return {
583392
583423
  payload: {
583393
583424
  ...msg,
583394
- uuid: typeof msg.uuid === "string" ? msg.uuid : randomUUID51()
583425
+ uuid: typeof msg.uuid === "string" ? msg.uuid : randomUUID52()
583395
583426
  }
583396
583427
  };
583397
583428
  }
@@ -583415,7 +583446,7 @@ class CCRClient {
583415
583446
  payload: {
583416
583447
  type: eventType,
583417
583448
  ...payload,
583418
- uuid: typeof payload.uuid === "string" ? payload.uuid : randomUUID51()
583449
+ uuid: typeof payload.uuid === "string" ? payload.uuid : randomUUID52()
583419
583450
  },
583420
583451
  ...isCompaction && { is_compaction: true },
583421
583452
  ...agentId && { agent_id: agentId }
@@ -584884,7 +584915,7 @@ var init_idleTimeout = __esm(() => {
584884
584915
  });
584885
584916
 
584886
584917
  // src/bridge/inboundAttachments.ts
584887
- import { randomUUID as randomUUID52 } from "crypto";
584918
+ import { randomUUID as randomUUID53 } from "crypto";
584888
584919
  import { mkdir as mkdir49, writeFile as writeFile54 } from "fs/promises";
584889
584920
  import { basename as basename63, join as join161 } from "path";
584890
584921
  function debug(msg) {
@@ -584929,7 +584960,7 @@ async function resolveOne(att) {
584929
584960
  return;
584930
584961
  }
584931
584962
  const safeName = sanitizeFileName(att.file_name);
584932
- const prefix = (att.file_uuid.slice(0, 8) || randomUUID52().slice(0, 8)).replace(/[^a-zA-Z0-9_-]/g, "_");
584963
+ const prefix = (att.file_uuid.slice(0, 8) || randomUUID53().slice(0, 8)).replace(/[^a-zA-Z0-9_-]/g, "_");
584933
584964
  const dir = uploadsDir();
584934
584965
  const outPath = join161(dir, `${prefix}-${safeName}`);
584935
584966
  try {
@@ -584993,11 +585024,11 @@ var init_inboundAttachments = __esm(() => {
584993
585024
  });
584994
585025
 
584995
585026
  // src/utils/sessionUrl.ts
584996
- import { randomUUID as randomUUID53 } from "crypto";
585027
+ import { randomUUID as randomUUID54 } from "crypto";
584997
585028
  function parseSessionIdentifier(resumeIdentifier) {
584998
585029
  if (resumeIdentifier.toLowerCase().endsWith(".jsonl")) {
584999
585030
  return {
585000
- sessionId: randomUUID53(),
585031
+ sessionId: randomUUID54(),
585001
585032
  ingressUrl: null,
585002
585033
  isUrl: false,
585003
585034
  jsonlFile: resumeIdentifier,
@@ -585016,7 +585047,7 @@ function parseSessionIdentifier(resumeIdentifier) {
585016
585047
  try {
585017
585048
  const url3 = new URL(resumeIdentifier);
585018
585049
  return {
585019
- sessionId: randomUUID53(),
585050
+ sessionId: randomUUID54(),
585020
585051
  ingressUrl: url3.href,
585021
585052
  isUrl: true,
585022
585053
  jsonlFile: null,
@@ -585626,7 +585657,7 @@ var init_bridgePointer = __esm(() => {
585626
585657
  });
585627
585658
 
585628
585659
  // src/bridge/replBridge.ts
585629
- import { randomUUID as randomUUID54 } from "crypto";
585660
+ import { randomUUID as randomUUID55 } from "crypto";
585630
585661
  async function initBridgeCore(params) {
585631
585662
  const {
585632
585663
  dir,
@@ -585683,9 +585714,9 @@ async function initBridgeCore(params) {
585683
585714
  spawnMode: "single-session",
585684
585715
  verbose: false,
585685
585716
  sandbox: false,
585686
- bridgeId: randomUUID54(),
585717
+ bridgeId: randomUUID55(),
585687
585718
  workerType,
585688
- environmentId: randomUUID54(),
585719
+ environmentId: randomUUID55(),
585689
585720
  reuseEnvironmentId: prior?.environmentId,
585690
585721
  apiBaseUrl: baseUrl,
585691
585722
  sessionIngressUrl
@@ -587553,7 +587584,7 @@ __export(exports_print, {
587553
587584
  import { readFile as readFile57, stat as stat58 } from "fs/promises";
587554
587585
  import { dirname as dirname69 } from "path";
587555
587586
  import { cwd as cwd3 } from "process";
587556
- import { randomUUID as randomUUID55 } from "crypto";
587587
+ import { randomUUID as randomUUID56 } from "crypto";
587557
587588
  function trackReceivedMessageUuid(uuid3) {
587558
587589
  if (receivedMessageUuids.has(uuid3)) {
587559
587590
  return false;
@@ -587673,7 +587704,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
587673
587704
  hook_id: event.hookId,
587674
587705
  hook_name: event.hookName,
587675
587706
  hook_event: event.hookEvent,
587676
- uuid: randomUUID55(),
587707
+ uuid: randomUUID56(),
587677
587708
  session_id: getSessionId()
587678
587709
  };
587679
587710
  case "progress":
@@ -587686,7 +587717,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
587686
587717
  stdout: event.stdout,
587687
587718
  stderr: event.stderr,
587688
587719
  output: event.output,
587689
- uuid: randomUUID55(),
587720
+ uuid: randomUUID56(),
587690
587721
  session_id: getSessionId()
587691
587722
  };
587692
587723
  case "response":
@@ -587701,7 +587732,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
587701
587732
  stderr: event.stderr,
587702
587733
  exit_code: event.exitCode,
587703
587734
  outcome: event.outcome,
587704
- uuid: randomUUID55(),
587735
+ uuid: randomUUID56(),
587705
587736
  session_id: getSessionId()
587706
587737
  };
587707
587738
  }
@@ -587900,7 +587931,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
587900
587931
  subtype: "status",
587901
587932
  status: null,
587902
587933
  permissionMode: newMode,
587903
- uuid: randomUUID55(),
587934
+ uuid: randomUUID56(),
587904
587935
  session_id: getSessionId()
587905
587936
  });
587906
587937
  }
@@ -587921,7 +587952,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
587921
587952
  isAuthenticating: status2.isAuthenticating,
587922
587953
  output: status2.output,
587923
587954
  error: status2.error,
587924
- uuid: randomUUID55(),
587955
+ uuid: randomUUID56(),
587925
587956
  session_id: getSessionId()
587926
587957
  });
587927
587958
  });
@@ -587932,7 +587963,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
587932
587963
  output.enqueue({
587933
587964
  type: "rate_limit_event",
587934
587965
  rate_limit_info: rateLimitInfo,
587935
- uuid: randomUUID55(),
587966
+ uuid: randomUUID56(),
587936
587967
  session_id: getSessionId()
587937
587968
  });
587938
587969
  }
@@ -587948,7 +587979,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
587948
587979
  enqueue({
587949
587980
  mode: "prompt",
587950
587981
  value: turnInterruptionState.message.message.content,
587951
- uuid: randomUUID55()
587982
+ uuid: randomUUID56()
587952
587983
  });
587953
587984
  }
587954
587985
  const modelOptions = getModelOptions();
@@ -588041,7 +588072,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
588041
588072
  subtype: "elicitation_complete",
588042
588073
  mcp_server_name: serverName,
588043
588074
  elicitation_id: elicitationId,
588044
- uuid: randomUUID55(),
588075
+ uuid: randomUUID56(),
588045
588076
  session_id: getSessionId()
588046
588077
  });
588047
588078
  });
@@ -588386,7 +588417,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
588386
588417
  duration_ms: durationMsMatch ? parseInt(durationMsMatch[1], 10) : 0
588387
588418
  } : undefined,
588388
588419
  session_id: getSessionId(),
588389
- uuid: randomUUID55()
588420
+ uuid: randomUUID56()
588390
588421
  });
588391
588422
  }
588392
588423
  }
@@ -588460,7 +588491,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
588460
588491
  subtype: "status",
588461
588492
  status: status2,
588462
588493
  session_id: getSessionId(),
588463
- uuid: randomUUID55()
588494
+ uuid: randomUUID56()
588464
588495
  });
588465
588496
  }
588466
588497
  })) {
@@ -588508,7 +588539,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
588508
588539
  const suggestionMsg = {
588509
588540
  type: "prompt_suggestion",
588510
588541
  suggestion: result.suggestion,
588511
- uuid: randomUUID55(),
588542
+ uuid: randomUUID56(),
588512
588543
  session_id: getSessionId()
588513
588544
  };
588514
588545
  const lastEmittedEntry = {
@@ -588598,7 +588629,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
588598
588629
  usage: EMPTY_USAGE,
588599
588630
  modelUsage: {},
588600
588631
  permission_denials: [],
588601
- uuid: randomUUID55(),
588632
+ uuid: randomUUID56(),
588602
588633
  errors: [
588603
588634
  errorMessage(error42),
588604
588635
  ...getInMemoryErrors().map((_) => _.error)
@@ -588682,7 +588713,7 @@ ${m.text}
588682
588713
  enqueue({
588683
588714
  mode: "prompt",
588684
588715
  value: formatted,
588685
- uuid: randomUUID55()
588716
+ uuid: randomUUID56()
588686
588717
  });
588687
588718
  run();
588688
588719
  return;
@@ -588693,7 +588724,7 @@ ${m.text}
588693
588724
  enqueue({
588694
588725
  mode: "prompt",
588695
588726
  value: SHUTDOWN_TEAM_PROMPT,
588696
- uuid: randomUUID55()
588727
+ uuid: randomUUID56()
588697
588728
  });
588698
588729
  run();
588699
588730
  return;
@@ -588717,7 +588748,7 @@ ${m.text}
588717
588748
  enqueue({
588718
588749
  mode: "prompt",
588719
588750
  value: SHUTDOWN_TEAM_PROMPT,
588720
- uuid: randomUUID55()
588751
+ uuid: randomUUID56()
588721
588752
  });
588722
588753
  run();
588723
588754
  } else {
@@ -588744,7 +588775,7 @@ ${m.text}
588744
588775
  enqueue({
588745
588776
  mode: "prompt",
588746
588777
  value: prompt,
588747
- uuid: randomUUID55(),
588778
+ uuid: randomUUID56(),
588748
588779
  priority: "later",
588749
588780
  isMeta: true,
588750
588781
  workload: WORKLOAD_CRON
@@ -589486,7 +589517,7 @@ ${m.text}
589486
589517
  subtype: "bridge_state",
589487
589518
  state: state3,
589488
589519
  detail,
589489
- uuid: randomUUID55(),
589520
+ uuid: randomUUID56(),
589490
589521
  session_id: getSessionId()
589491
589522
  });
589492
589523
  },
@@ -589794,7 +589825,7 @@ async function handleInitializeRequest(request, requestId, initialized5, output,
589794
589825
  isAuthenticating: status2.isAuthenticating,
589795
589826
  output: status2.output,
589796
589827
  error: status2.error,
589797
- uuid: randomUUID55(),
589828
+ uuid: randomUUID56(),
589798
589829
  session_id: getSessionId()
589799
589830
  });
589800
589831
  }
@@ -589993,7 +590024,7 @@ function emitLoadError(message, outputFormat) {
589993
590024
  usage: EMPTY_USAGE,
589994
590025
  modelUsage: {},
589995
590026
  permission_denials: [],
589996
- uuid: randomUUID55(),
590027
+ uuid: randomUUID56(),
589997
590028
  errors: [message]
589998
590029
  };
589999
590030
  process.stdout.write(jsonStringify(errorResult) + `
@@ -591939,7 +591970,7 @@ __export(exports_update, {
591939
591970
  });
591940
591971
  async function update() {
591941
591972
  logEvent("tengu_update_check", {});
591942
- writeToStdout(`Current version: ${"0.14.4"}
591973
+ writeToStdout(`Current version: ${"0.14.5"}
591943
591974
  `);
591944
591975
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
591945
591976
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -592024,8 +592055,8 @@ async function update() {
592024
592055
  writeToStdout(`Verboo Code is managed by Homebrew.
592025
592056
  `);
592026
592057
  const latest = await getLatestVersion(channel2);
592027
- if (latest && !gte("0.14.4", latest)) {
592028
- writeToStdout(`Update available: ${"0.14.4"} → ${latest}
592058
+ if (latest && !gte("0.14.5", latest)) {
592059
+ writeToStdout(`Update available: ${"0.14.5"} → ${latest}
592029
592060
  `);
592030
592061
  writeToStdout(`
592031
592062
  `);
@@ -592041,8 +592072,8 @@ async function update() {
592041
592072
  writeToStdout(`Verboo Code is managed by winget.
592042
592073
  `);
592043
592074
  const latest = await getLatestVersion(channel2);
592044
- if (latest && !gte("0.14.4", latest)) {
592045
- writeToStdout(`Update available: ${"0.14.4"} → ${latest}
592075
+ if (latest && !gte("0.14.5", latest)) {
592076
+ writeToStdout(`Update available: ${"0.14.5"} → ${latest}
592046
592077
  `);
592047
592078
  writeToStdout(`
592048
592079
  `);
@@ -592058,8 +592089,8 @@ async function update() {
592058
592089
  writeToStdout(`Verboo Code is managed by apk.
592059
592090
  `);
592060
592091
  const latest = await getLatestVersion(channel2);
592061
- if (latest && !gte("0.14.4", latest)) {
592062
- writeToStdout(`Update available: ${"0.14.4"} → ${latest}
592092
+ if (latest && !gte("0.14.5", latest)) {
592093
+ writeToStdout(`Update available: ${"0.14.5"} → ${latest}
592063
592094
  `);
592064
592095
  writeToStdout(`
592065
592096
  `);
@@ -592112,11 +592143,11 @@ async function update() {
592112
592143
  `);
592113
592144
  await gracefulShutdown(1);
592114
592145
  }
592115
- if (result.latestVersion === "0.14.4") {
592116
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.4"})`) + `
592146
+ if (result.latestVersion === "0.14.5") {
592147
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.5"})`) + `
592117
592148
  `);
592118
592149
  } else {
592119
- writeToStdout(source_default.green(`Successfully updated from ${"0.14.4"} to version ${result.latestVersion}`) + `
592150
+ writeToStdout(source_default.green(`Successfully updated from ${"0.14.5"} to version ${result.latestVersion}`) + `
592120
592151
  `);
592121
592152
  await regenerateCompletionCache();
592122
592153
  }
@@ -592176,12 +592207,12 @@ async function update() {
592176
592207
  `);
592177
592208
  await gracefulShutdown(1);
592178
592209
  }
592179
- if (latestVersion === "0.14.4") {
592180
- writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.4"})`) + `
592210
+ if (latestVersion === "0.14.5") {
592211
+ writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.5"})`) + `
592181
592212
  `);
592182
592213
  await gracefulShutdown(0);
592183
592214
  }
592184
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.14.4"})
592215
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.14.5"})
592185
592216
  `);
592186
592217
  writeToStdout(`Installing update...
592187
592218
  `);
@@ -592226,7 +592257,7 @@ async function update() {
592226
592257
  logForDebugging(`update: Installation status: ${status2}`);
592227
592258
  switch (status2) {
592228
592259
  case "success":
592229
- writeToStdout(source_default.green(`Successfully updated from ${"0.14.4"} to version ${latestVersion}`) + `
592260
+ writeToStdout(source_default.green(`Successfully updated from ${"0.14.5"} to version ${latestVersion}`) + `
592230
592261
  `);
592231
592262
  await regenerateCompletionCache();
592232
592263
  break;
@@ -593510,7 +593541,7 @@ ${customInstructions}` : customInstructions;
593510
593541
  is_native_binary: isInBundledMode()
593511
593542
  });
593512
593543
  logMemoryDiagnostics("start", {
593513
- version: "0.14.4",
593544
+ version: "0.14.5",
593514
593545
  debug: debug2,
593515
593546
  debugToStderr,
593516
593547
  print: print ?? false,
@@ -594321,7 +594352,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
594321
594352
  pendingHookMessages
594322
594353
  }, renderAndRun);
594323
594354
  }
594324
- }).version(`0.14.4 (${cliDesc})`, "-v, --version", "Output the version number");
594355
+ }).version(`0.14.5 (${cliDesc})`, "-v, --version", "Output the version number");
594325
594356
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
594326
594357
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
594327
594358
  if (canUserConfigureAdvisor()) {
@@ -594897,7 +594928,7 @@ if (false) {}
594897
594928
  async function main2() {
594898
594929
  const args = process.argv.slice(2);
594899
594930
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
594900
- console.log(`${"0.14.4"} (Verboo Code)`);
594931
+ console.log(`${"0.14.5"} (Verboo Code)`);
594901
594932
  return;
594902
594933
  }
594903
594934
  if (!IS_VERBOO_CLI && args.includes("--provider")) {
@@ -595071,4 +595102,4 @@ async function main2() {
595071
595102
  }
595072
595103
  main2();
595073
595104
 
595074
- //# debugId=C12D97D25723522B64756E2164756E21
595105
+ //# debugId=292E3C301BA7E2A364756E2164756E21