@botpress/adk-cli 1.12.2 → 1.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -348619,7 +348619,7 @@ var init_internal = __esm(() => {
348619
348619
  });
348620
348620
  init_define_PACKAGE_VERSIONS = __esm2({
348621
348621
  "<define:__PACKAGE_VERSIONS__>"() {
348622
- define_PACKAGE_VERSIONS_default = { runtime: "1.12.2", adk: "1.12.2", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
348622
+ define_PACKAGE_VERSIONS_default = { runtime: "1.12.4", adk: "1.12.4", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
348623
348623
  }
348624
348624
  });
348625
348625
  init_asset = __esm2({
@@ -655137,7 +655137,7 @@ var init_library2 = __esm(() => {
655137
655137
  });
655138
655138
  init_define_PACKAGE_VERSIONS2 = __esm4({
655139
655139
  "<define:__PACKAGE_VERSIONS__>"() {
655140
- define_PACKAGE_VERSIONS_default2 = { runtime: "1.12.2", adk: "1.12.2", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
655140
+ define_PACKAGE_VERSIONS_default2 = { runtime: "1.12.4", adk: "1.12.4", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
655141
655141
  }
655142
655142
  });
655143
655143
  init_assets2 = __esm4({
@@ -696806,8 +696806,8 @@ import { mkdir, writeFile as writeFile2 } from "fs/promises";
696806
696806
  import { parse as parse6 } from "path";
696807
696807
  import path102 from "path";
696808
696808
  import { format as format4 } from "prettier";
696809
- import path30 from "path";
696810
696809
  import path31 from "path";
696810
+ import path322 from "path";
696811
696811
  import fs32 from "fs/promises";
696812
696812
  import path34 from "path";
696813
696813
  import os22 from "os";
@@ -696850,9 +696850,9 @@ import * as path15 from "path";
696850
696850
  import path16 from "path";
696851
696851
  import crypto24 from "crypto";
696852
696852
  import path17 from "path";
696853
- import { existsSync as existsSync6 } from "fs";
696854
- import fs15 from "fs/promises";
696855
- import path322 from "path";
696853
+ import { existsSync as existsSync7 } from "fs";
696854
+ import fs16 from "fs/promises";
696855
+ import path332 from "path";
696856
696856
  import crypto32 from "crypto";
696857
696857
  import path18 from "path";
696858
696858
  import path19 from "path";
@@ -696863,30 +696863,33 @@ import path232 from "path";
696863
696863
  import * as path242 from "path";
696864
696864
  import path25 from "path";
696865
696865
  import path26 from "path";
696866
- import path27 from "path";
696866
+ import { existsSync as existsSync32, realpathSync as realpathSync4 } from "fs";
696867
696867
  import fs12 from "fs/promises";
696868
- import { existsSync as existsSync32 } from "fs";
696868
+ import path27 from "path";
696869
696869
  import path28 from "path";
696870
696870
  import fs13 from "fs/promises";
696871
696871
  import { existsSync as existsSync42 } from "fs";
696872
696872
  import path29 from "path";
696873
696873
  import fs14 from "fs/promises";
696874
696874
  import { existsSync as existsSync52 } from "fs";
696875
+ import path30 from "path";
696876
+ import fs15 from "fs/promises";
696877
+ import { existsSync as existsSync6 } from "fs";
696875
696878
  import crypto42 from "crypto";
696876
- import path332 from "path";
696877
- import fs16 from "fs/promises";
696879
+ import path342 from "path";
696880
+ import fs17 from "fs/promises";
696878
696881
  import { readFileSync as readFileSync6 } from "fs";
696879
696882
  import { join as join72 } from "path";
696880
696883
  import { watch as watch2, readdirSync as readdirSync22 } from "fs";
696881
696884
  import { EventEmitter as EventEmitter32 } from "events";
696882
696885
  import { join as join82, relative as relative3 } from "path";
696883
- import { existsSync as existsSync7 } from "fs";
696884
- import path342 from "path";
696885
- import { readFileSync as readFileSync22 } from "fs";
696886
- import { join as join9 } from "path";
696887
696886
  import { existsSync as existsSync8 } from "fs";
696888
- import fs17 from "fs/promises";
696889
696887
  import path35 from "path";
696888
+ import { readFileSync as readFileSync22 } from "fs";
696889
+ import { join as join9 } from "path";
696890
+ import { existsSync as existsSync9 } from "fs";
696891
+ import fs18 from "fs/promises";
696892
+ import path36 from "path";
696890
696893
  import { spawn as spawn2 } from "child_process";
696891
696894
 
696892
696895
  class ValidationErrors {
@@ -696894,24 +696897,24 @@ class ValidationErrors {
696894
696897
  static isValidationError(error) {
696895
696898
  return error !== null && typeof error === "object" && "$type" in error && error.$type === "ValidationError";
696896
696899
  }
696897
- static directoryNotFound(path36) {
696900
+ static directoryNotFound(path37) {
696898
696901
  return {
696899
696902
  $type: ValidationErrors.$type,
696900
696903
  code: "DIRECTORY_NOT_FOUND",
696901
696904
  severity: "error",
696902
- message: `Project directory not found: ${path36}`,
696905
+ message: `Project directory not found: ${path37}`,
696903
696906
  hint: "Ensure the directory exists and you have permission to access it",
696904
- context: { path: path36 }
696907
+ context: { path: path37 }
696905
696908
  };
696906
696909
  }
696907
- static directoryAccessError(path36, error) {
696910
+ static directoryAccessError(path37, error) {
696908
696911
  return {
696909
696912
  $type: ValidationErrors.$type,
696910
696913
  code: "DIRECTORY_ACCESS_ERROR",
696911
696914
  severity: "error",
696912
696915
  message: `Cannot access project directory: ${error}`,
696913
696916
  hint: "Check file system permissions",
696914
- context: { path: path36, error }
696917
+ context: { path: path37, error }
696915
696918
  };
696916
696919
  }
696917
696920
  static requiredFileMissing(file) {
@@ -697406,7 +697409,7 @@ async function generateActionTypes(project) {
697406
697409
  };`);
697407
697410
  continue;
697408
697411
  }
697409
- const absolutePath = path30.join(project.path, action.path);
697412
+ const absolutePath = path31.join(project.path, action.path);
697410
697413
  const actionModule = await import(`${absolutePath}?t=${Date.now()}`);
697411
697414
  const actionInstance = actionModule[action.export] || actionModule.default;
697412
697415
  if (actionInstance && actionInstance.input && actionInstance.output) {
@@ -697451,7 +697454,7 @@ ${actionDefs.join(`
697451
697454
  };
697452
697455
  }
697453
697456
  `;
697454
- const actionTypesPath = path30.join(project.path, ".adk", "action-types.d.ts");
697457
+ const actionTypesPath = path31.join(project.path, ".adk", "action-types.d.ts");
697455
697458
  await createFile(actionTypesPath, await formatCode(content));
697456
697459
  }
697457
697460
  async function generateIntegrationActionTypes(project) {
@@ -697487,7 +697490,7 @@ type IntegrationsMap<T> = {
697487
697490
  export type IntegrationActions = IntegrationsMap<Integrations>;
697488
697491
  }
697489
697492
  `;
697490
- const integrationActionTypesPath = path31.join(project.path, ".adk", "integration-action-types.d.ts");
697493
+ const integrationActionTypesPath = path322.join(project.path, ".adk", "integration-action-types.d.ts");
697491
697494
  await createFile(integrationActionTypesPath, await formatCode(content));
697492
697495
  }
697493
697496
 
@@ -699422,6 +699425,12 @@ class IntegrationChecker {
699422
699425
  return result;
699423
699426
  }
699424
699427
  }
699428
+ function normalizeConfigurationType(configType) {
699429
+ if (configType === "default" || configType === null) {
699430
+ return;
699431
+ }
699432
+ return configType;
699433
+ }
699425
699434
 
699426
699435
  class IntegrationSyncManager {
699427
699436
  projectPath;
@@ -699481,7 +699490,7 @@ class IntegrationSyncManager {
699481
699490
  integrationId: result.desiredIntegrationId || result.definition.id,
699482
699491
  enabled: result.desiredInstallStatus === "enabled",
699483
699492
  configuration: result.desiredConfiguration || {},
699484
- configurationType: result.desiredConfigurationType
699493
+ configurationType: normalizeConfigurationType(result.desiredConfigurationType)
699485
699494
  }
699486
699495
  }
699487
699496
  });
@@ -699500,7 +699509,7 @@ class IntegrationSyncManager {
699500
699509
  integrationId: result.desiredIntegrationId || result.definition.id,
699501
699510
  enabled: result.desiredInstallStatus === "enabled",
699502
699511
  configuration: result.desiredConfiguration || {},
699503
- configurationType: result.desiredConfigurationType
699512
+ configurationType: normalizeConfigurationType(result.desiredConfigurationType)
699504
699513
  }
699505
699514
  }
699506
699515
  });
@@ -700055,7 +700064,7 @@ class AgentProjectGenerator {
700055
700064
  deploy: "adk deploy"
700056
700065
  },
700057
700066
  dependencies: {
700058
- "@botpress/runtime": "^1.12.2"
700067
+ "@botpress/runtime": "^1.12.4"
700059
700068
  },
700060
700069
  devDependencies: {
700061
700070
  typescript: "^5.9.3"
@@ -701291,6 +701300,42 @@ ${integrationEvents.join(`
701291
701300
  const eventTypesPath = path26.join(project.path, ".adk", "event-types.d.ts");
701292
701301
  await createFile(eventTypesPath, await formatCode(content));
701293
701302
  }
701303
+ function findPackage(name2, startDir) {
701304
+ let current;
701305
+ try {
701306
+ current = realpathSync4(startDir);
701307
+ } catch {
701308
+ current = startDir;
701309
+ }
701310
+ while (current !== path27.dirname(current)) {
701311
+ const pkgPath = path27.join(current, "node_modules", name2);
701312
+ if (existsSync32(pkgPath)) {
701313
+ return pkgPath;
701314
+ }
701315
+ current = path27.dirname(current);
701316
+ }
701317
+ return null;
701318
+ }
701319
+ async function linkSdk(agentDir, botDir) {
701320
+ const targetSdkPath = path27.join(botDir, "node_modules", "@botpress", "sdk");
701321
+ if (existsSync32(targetSdkPath)) {
701322
+ return;
701323
+ }
701324
+ const runtimePath = findPackage("@botpress/runtime", agentDir);
701325
+ if (!runtimePath) {
701326
+ console.warn("Warning: Could not find @botpress/runtime in agent directory");
701327
+ return;
701328
+ }
701329
+ let sdkPath = findPackage("@botpress/sdk", runtimePath);
701330
+ if (!sdkPath) {
701331
+ console.warn(`Warning: Could not find @botpress/sdk from @botpress/runtime location (${runtimePath})`);
701332
+ return;
701333
+ }
701334
+ const targetBotpressDir = path27.join(botDir, "node_modules", "@botpress");
701335
+ await fs12.mkdir(targetBotpressDir, { recursive: true });
701336
+ const symlinkType = process.platform === "win32" ? "junction" : undefined;
701337
+ await fs12.symlink(sdkPath, targetSdkPath, symlinkType);
701338
+ }
701294
701339
 
701295
701340
  class DevIdManager {
701296
701341
  projectPath;
@@ -701300,7 +701345,7 @@ class DevIdManager {
701300
701345
  constructor(projectPath, botProjectPath) {
701301
701346
  this.projectPath = projectPath;
701302
701347
  this.botProjectPath = botProjectPath;
701303
- this.projectCachePath = path27.join(botProjectPath, ".botpress", "project.cache.json");
701348
+ this.projectCachePath = path28.join(botProjectPath, ".botpress", "project.cache.json");
701304
701349
  }
701305
701350
  async getClient() {
701306
701351
  if (!this.client) {
@@ -701326,8 +701371,8 @@ class DevIdManager {
701326
701371
  }
701327
701372
  async readProjectCache() {
701328
701373
  try {
701329
- if (existsSync32(this.projectCachePath)) {
701330
- const content = await fs12.readFile(this.projectCachePath, "utf-8");
701374
+ if (existsSync42(this.projectCachePath)) {
701375
+ const content = await fs13.readFile(this.projectCachePath, "utf-8");
701331
701376
  return JSON.parse(content);
701332
701377
  }
701333
701378
  } catch (error) {
@@ -701337,8 +701382,8 @@ class DevIdManager {
701337
701382
  }
701338
701383
  async saveProjectCache(cache22) {
701339
701384
  try {
701340
- await fs12.mkdir(path27.dirname(this.projectCachePath), { recursive: true });
701341
- await fs12.writeFile(this.projectCachePath, JSON.stringify(cache22, null, 2));
701385
+ await fs13.mkdir(path28.dirname(this.projectCachePath), { recursive: true });
701386
+ await fs13.writeFile(this.projectCachePath, JSON.stringify(cache22, null, 2));
701342
701387
  } catch (error) {
701343
701388
  console.error("Error saving project.cache.json:", error);
701344
701389
  }
@@ -701392,7 +701437,7 @@ class IntegrationSync {
701392
701437
  constructor(projectPath, botProjectPath) {
701393
701438
  this.projectPath = projectPath;
701394
701439
  this.botProjectPath = botProjectPath;
701395
- this.bpModulesPath = path28.join(botProjectPath, "bp_modules");
701440
+ this.bpModulesPath = path29.join(botProjectPath, "bp_modules");
701396
701441
  }
701397
701442
  async parseIntegrations() {
701398
701443
  const project = await AgentProject.load(this.projectPath);
@@ -701423,16 +701468,16 @@ class IntegrationSync {
701423
701468
  return integrations;
701424
701469
  }
701425
701470
  async isIntegrationSynced(integration) {
701426
- const targetFolder = path28.join(this.bpModulesPath, `integration_${integration.alias}`);
701427
- if (!existsSync42(targetFolder)) {
701471
+ const targetFolder = path29.join(this.bpModulesPath, `integration_${integration.alias}`);
701472
+ if (!existsSync52(targetFolder)) {
701428
701473
  return false;
701429
701474
  }
701430
701475
  try {
701431
- const indexPath = path28.join(targetFolder, "index.ts");
701432
- if (!existsSync42(indexPath)) {
701476
+ const indexPath = path29.join(targetFolder, "index.ts");
701477
+ if (!existsSync52(indexPath)) {
701433
701478
  return false;
701434
701479
  }
701435
- const indexContent = await fs13.readFile(indexPath, "utf-8");
701480
+ const indexContent = await fs14.readFile(indexPath, "utf-8");
701436
701481
  const versionMatch = indexContent.match(/version:\s*["']([^"']+)["']/);
701437
701482
  if (!versionMatch) {
701438
701483
  return false;
@@ -701460,20 +701505,20 @@ class IntegrationSync {
701460
701505
  await command.output();
701461
701506
  }
701462
701507
  async renameIntegrationFolder(integration) {
701463
- const sourceFolder = path28.join(this.bpModulesPath, integration.name.replace("/", "-"));
701464
- const targetFolder = path28.join(this.bpModulesPath, `integration_${integration.alias}`);
701465
- if (!existsSync42(sourceFolder)) {
701508
+ const sourceFolder = path29.join(this.bpModulesPath, integration.name.replace("/", "-"));
701509
+ const targetFolder = path29.join(this.bpModulesPath, `integration_${integration.alias}`);
701510
+ if (!existsSync52(sourceFolder)) {
701466
701511
  throw new Error(`Integration folder not found: ${sourceFolder}`);
701467
701512
  }
701468
- if (existsSync42(targetFolder)) {
701469
- await fs13.rm(targetFolder, { recursive: true, force: true });
701513
+ if (existsSync52(targetFolder)) {
701514
+ await fs14.rm(targetFolder, { recursive: true, force: true });
701470
701515
  }
701471
- await fs13.rename(sourceFolder, targetFolder);
701516
+ await fs14.rename(sourceFolder, targetFolder);
701472
701517
  }
701473
701518
  async removeIntegrationFolder(alias) {
701474
- const targetFolder = path28.join(this.bpModulesPath, `integration_${alias}`);
701475
- if (existsSync42(targetFolder)) {
701476
- await fs13.rm(targetFolder, { recursive: true, force: true });
701519
+ const targetFolder = path29.join(this.bpModulesPath, `integration_${alias}`);
701520
+ if (existsSync52(targetFolder)) {
701521
+ await fs14.rm(targetFolder, { recursive: true, force: true });
701477
701522
  }
701478
701523
  }
701479
701524
  async syncIntegrations() {
@@ -701483,7 +701528,7 @@ class IntegrationSync {
701483
701528
  if (integrations.length === 0) {
701484
701529
  return { synced, errors };
701485
701530
  }
701486
- await fs13.mkdir(this.bpModulesPath, { recursive: true });
701531
+ await fs14.mkdir(this.bpModulesPath, { recursive: true });
701487
701532
  for (const integration of integrations) {
701488
701533
  try {
701489
701534
  const isAlreadySynced = await this.isIntegrationSynced(integration);
@@ -701511,7 +701556,7 @@ class InterfaceSync {
701511
701556
  constructor(projectPath, botProjectPath) {
701512
701557
  this.projectPath = projectPath;
701513
701558
  this.botProjectPath = botProjectPath;
701514
- this.bpModulesPath = path29.join(botProjectPath, "bp_modules");
701559
+ this.bpModulesPath = path30.join(botProjectPath, "bp_modules");
701515
701560
  }
701516
701561
  async parseInterfaces() {
701517
701562
  const interfaces = [];
@@ -701529,16 +701574,16 @@ class InterfaceSync {
701529
701574
  return interfaces;
701530
701575
  }
701531
701576
  async isInterfaceSynced(interfaceInfo) {
701532
- const targetFolder = path29.join(this.bpModulesPath, `interface_${pascalCase(interfaceInfo.alias)}`);
701533
- if (!existsSync52(targetFolder)) {
701577
+ const targetFolder = path30.join(this.bpModulesPath, `interface_${pascalCase(interfaceInfo.alias)}`);
701578
+ if (!existsSync6(targetFolder)) {
701534
701579
  return false;
701535
701580
  }
701536
701581
  try {
701537
- const indexPath = path29.join(targetFolder, "index.ts");
701538
- if (!existsSync52(indexPath)) {
701582
+ const indexPath = path30.join(targetFolder, "index.ts");
701583
+ if (!existsSync6(indexPath)) {
701539
701584
  return false;
701540
701585
  }
701541
- const indexContent = await fs14.readFile(indexPath, "utf-8");
701586
+ const indexContent = await fs15.readFile(indexPath, "utf-8");
701542
701587
  const versionMatch = indexContent.match(/version:\s*["']([^"']+)["']/);
701543
701588
  if (!versionMatch) {
701544
701589
  return false;
@@ -701580,20 +701625,20 @@ class InterfaceSync {
701580
701625
  });
701581
701626
  }
701582
701627
  async renameInterfaceFolder(interfaceInfo) {
701583
- const sourceFolder = path29.join(this.bpModulesPath, interfaceInfo.name);
701584
- const targetFolder = path29.join(this.bpModulesPath, `interface_${pascalCase(interfaceInfo.alias)}`);
701585
- if (!existsSync52(sourceFolder)) {
701628
+ const sourceFolder = path30.join(this.bpModulesPath, interfaceInfo.name);
701629
+ const targetFolder = path30.join(this.bpModulesPath, `interface_${pascalCase(interfaceInfo.alias)}`);
701630
+ if (!existsSync6(sourceFolder)) {
701586
701631
  throw new Error(`Interface folder not found: ${sourceFolder}`);
701587
701632
  }
701588
- if (existsSync52(targetFolder)) {
701589
- await fs14.rm(targetFolder, { recursive: true, force: true });
701633
+ if (existsSync6(targetFolder)) {
701634
+ await fs15.rm(targetFolder, { recursive: true, force: true });
701590
701635
  }
701591
- await fs14.rename(sourceFolder, targetFolder);
701636
+ await fs15.rename(sourceFolder, targetFolder);
701592
701637
  }
701593
701638
  async removeInterfaceFolder(alias) {
701594
- const targetFolder = path29.join(this.bpModulesPath, `interface_${pascalCase(alias)}`);
701595
- if (existsSync52(targetFolder)) {
701596
- await fs14.rm(targetFolder, { recursive: true, force: true });
701639
+ const targetFolder = path30.join(this.bpModulesPath, `interface_${pascalCase(alias)}`);
701640
+ if (existsSync6(targetFolder)) {
701641
+ await fs15.rm(targetFolder, { recursive: true, force: true });
701597
701642
  }
701598
701643
  }
701599
701644
  async syncInterfaces() {
@@ -701603,7 +701648,7 @@ class InterfaceSync {
701603
701648
  if (interfaces.length === 0) {
701604
701649
  return { synced, errors };
701605
701650
  }
701606
- await fs14.mkdir(this.bpModulesPath, { recursive: true });
701651
+ await fs15.mkdir(this.bpModulesPath, { recursive: true });
701607
701652
  for (const interfaceInfo of interfaces) {
701608
701653
  try {
701609
701654
  const isAlreadySynced = await this.isInterfaceSynced(interfaceInfo);
@@ -701630,26 +701675,26 @@ function isBuiltinAction(name2) {
701630
701675
  return !!Object.values(BuiltInActions).find((x) => x.name === name2);
701631
701676
  }
701632
701677
  function getImportPath(from, to3) {
701633
- return path322.relative(path322.dirname(from), to3).replace(/\.ts$/, "").replace(/\\/g, "/");
701678
+ return path332.relative(path332.dirname(from), to3).replace(/\.ts$/, "").replace(/\\/g, "/");
701634
701679
  }
701635
701680
 
701636
701681
  class BotGenerator {
701637
701682
  projectPath;
701638
701683
  outputPath;
701639
701684
  constructor(options) {
701640
- this.projectPath = path322.resolve(options.projectPath);
701641
- this.outputPath = path322.resolve(options.outputPath || path322.join(this.projectPath, ".adk"));
701685
+ this.projectPath = path332.resolve(options.projectPath);
701686
+ this.outputPath = path332.resolve(options.outputPath || path332.join(this.projectPath, ".adk"));
701642
701687
  }
701643
701688
  async listFilesRecursive(rootDir) {
701644
701689
  try {
701645
- if (!existsSync6(rootDir))
701690
+ if (!existsSync7(rootDir))
701646
701691
  return [];
701647
701692
  const result = [];
701648
701693
  const walk = async (dir, relativeBase) => {
701649
- const entries = await fs15.readdir(dir, { withFileTypes: true });
701694
+ const entries = await fs16.readdir(dir, { withFileTypes: true });
701650
701695
  for (const entry of entries) {
701651
- const abs = path322.join(dir, entry.name);
701652
- const rel = path322.join(relativeBase, entry.name);
701696
+ const abs = path332.join(dir, entry.name);
701697
+ const rel = path332.join(relativeBase, entry.name);
701653
701698
  if (entry.isDirectory()) {
701654
701699
  await walk(abs, rel);
701655
701700
  } else {
@@ -701664,20 +701709,20 @@ class BotGenerator {
701664
701709
  }
701665
701710
  }
701666
701711
  async removeEmptyDirectories(rootDir) {
701667
- if (!existsSync6(rootDir))
701712
+ if (!existsSync7(rootDir))
701668
701713
  return;
701669
701714
  const removeIfEmpty = async (dir) => {
701670
- const entries = await fs15.readdir(dir, { withFileTypes: true });
701715
+ const entries = await fs16.readdir(dir, { withFileTypes: true });
701671
701716
  for (const entry of entries) {
701672
701717
  if (entry.isDirectory()) {
701673
- const subdir = path322.join(dir, entry.name);
701718
+ const subdir = path332.join(dir, entry.name);
701674
701719
  await removeIfEmpty(subdir);
701675
701720
  }
701676
701721
  }
701677
- const after = await fs15.readdir(dir);
701722
+ const after = await fs16.readdir(dir);
701678
701723
  if (after.length === 0 && dir !== rootDir) {
701679
701724
  try {
701680
- await fs15.rmdir(dir, { recursive: false });
701725
+ await fs16.rmdir(dir, { recursive: false });
701681
701726
  } catch {}
701682
701727
  }
701683
701728
  };
@@ -701685,7 +701730,7 @@ class BotGenerator {
701685
701730
  }
701686
701731
  async generate() {
701687
701732
  const project = await AgentProject.load(this.projectPath);
701688
- await fs15.mkdir(this.outputPath, { recursive: true });
701733
+ await fs16.mkdir(this.outputPath, { recursive: true });
701689
701734
  await this.generateBotDefinition();
701690
701735
  await this.generateIntegrationsDefinition();
701691
701736
  await this.generateInterfacesDefinition();
@@ -701714,19 +701759,19 @@ class BotGenerator {
701714
701759
  workspaceId: project.agentInfo?.workspaceId
701715
701760
  });
701716
701761
  const integrations = await manager3.loadIntegrations(project.dependencies || {});
701717
- const integrationsDir = path322.join(this.projectPath, ".adk", "integrations");
701762
+ const integrationsDir = path332.join(this.projectPath, ".adk", "integrations");
701718
701763
  const existingIntegrationFiles = await this.listFilesRecursive(integrationsDir);
701719
701764
  let aliases = new Set;
701720
701765
  let files = new Set;
701721
701766
  for (const integration of integrations.integrations) {
701722
701767
  if (integration.definition) {
701723
701768
  const types62 = await generateIntegrationTypes(integration);
701724
- const importPath = `./${path322.join("integrations", types62.names.paths.index).replace(/\\/g, "/")}`;
701769
+ const importPath = `./${path332.join("integrations", types62.names.paths.index).replace(/\\/g, "/")}`;
701725
701770
  aliases.add(`"${integration.alias}": import("${importPath}").${types62.names.typings.index}`);
701726
701771
  for (const [filePath, content] of Object.entries(types62.files)) {
701727
- const fullPath = path322.join(this.projectPath, ".adk", "integrations", filePath);
701728
- const dir = path322.dirname(fullPath);
701729
- await fs15.mkdir(dir, { recursive: true });
701772
+ const fullPath = path332.join(this.projectPath, ".adk", "integrations", filePath);
701773
+ const dir = path332.dirname(fullPath);
701774
+ await fs16.mkdir(dir, { recursive: true });
701730
701775
  await createFile(fullPath, content);
701731
701776
  files.add(filePath);
701732
701777
  }
@@ -701746,13 +701791,13 @@ class BotGenerator {
701746
701791
  };
701747
701792
  }
701748
701793
  `;
701749
- await createFile(path322.join(this.projectPath, ".adk", "integrations-types.d.ts"), await formatCode(types52));
701794
+ await createFile(path332.join(this.projectPath, ".adk", "integrations-types.d.ts"), await formatCode(types52));
701750
701795
  const staleIntegrationFiles = existingIntegrationFiles.filter((f) => !files.has(f));
701751
701796
  if (staleIntegrationFiles.length > 0) {
701752
701797
  for (const rel of staleIntegrationFiles) {
701753
- const abs = path322.join(integrationsDir, rel);
701798
+ const abs = path332.join(integrationsDir, rel);
701754
701799
  try {
701755
- await fs15.rm(abs, { force: true });
701800
+ await fs16.rm(abs, { force: true });
701756
701801
  } catch {}
701757
701802
  }
701758
701803
  }
@@ -701819,7 +701864,7 @@ class BotGenerator {
701819
701864
  let botStateType = "{}";
701820
701865
  let userStateType = "{}";
701821
701866
  try {
701822
- const configPath = path322.join(project.path, "agent.config.ts");
701867
+ const configPath = path332.join(project.path, "agent.config.ts");
701823
701868
  const configModule = await import(`${configPath}?t=${Date.now()}`);
701824
701869
  const config3 = configModule.default;
701825
701870
  if (config3?.bot?.state) {
@@ -701855,7 +701900,7 @@ declare module "@botpress/runtime/_types/state" {
701855
701900
  export type UserState = ${userStateType};
701856
701901
  }
701857
701902
  `;
701858
- await createFile(path322.join(this.projectPath, ".adk", "runtime.d.ts"), await formatCode(types52));
701903
+ await createFile(path332.join(this.projectPath, ".adk", "runtime.d.ts"), await formatCode(types52));
701859
701904
  }
701860
701905
  async generateInterfacesTypes() {
701861
701906
  const project = await AgentProject.load(this.projectPath);
@@ -701863,7 +701908,7 @@ declare module "@botpress/runtime/_types/state" {
701863
701908
  workspaceId: project.agentInfo?.workspaceId
701864
701909
  });
701865
701910
  const manager3 = new InterfaceManager;
701866
- const interfacesDir = path322.join(this.projectPath, ".adk", "interfaces");
701911
+ const interfacesDir = path332.join(this.projectPath, ".adk", "interfaces");
701867
701912
  const existingInterfaceFiles = await this.listFilesRecursive(interfacesDir);
701868
701913
  const interfaces = await manager3.loadInterfaces(project.dependencies || {}).then((result) => result.interfaces.filter((int2) => int2.definition).map((x) => x.definition));
701869
701914
  const integrations = await integrationManager.loadIntegrations(project.dependencies || {}).then((result) => result.integrations.filter((int2) => int2.enabled && int2.definition).map((x) => x.definition));
@@ -701872,12 +701917,12 @@ declare module "@botpress/runtime/_types/state" {
701872
701917
  let files = new Set;
701873
701918
  for (const int2 of interfaces) {
701874
701919
  const types62 = await generateInterfaceTypes(int2, integrations);
701875
- imports.add(`import { ${types62.names.typings.index} } from "./${path322.join("interfaces", types62.names.paths.index).replace(/\\/g, "/")}";`);
701920
+ imports.add(`import { ${types62.names.typings.index} } from "./${path332.join("interfaces", types62.names.paths.index).replace(/\\/g, "/")}";`);
701876
701921
  aliases.add(`"${types62.names.name}": ${types62.names.typings.index}`);
701877
701922
  for (const [filePath, content] of Object.entries(types62.files)) {
701878
- const fullPath = path322.join(this.projectPath, ".adk", "interfaces", filePath);
701879
- const dir = path322.dirname(fullPath);
701880
- await fs15.mkdir(dir, { recursive: true });
701923
+ const fullPath = path332.join(this.projectPath, ".adk", "interfaces", filePath);
701924
+ const dir = path332.dirname(fullPath);
701925
+ await fs16.mkdir(dir, { recursive: true });
701881
701926
  await createFile(fullPath, content);
701882
701927
  files.add(filePath);
701883
701928
  }
@@ -701913,14 +701958,14 @@ declare module "@botpress/runtime/_types/state" {
701913
701958
  `)}
701914
701959
  };
701915
701960
  `;
701916
- await createFile(path322.join(this.projectPath, ".adk", "interfaces.d.ts"), await formatCode(types52));
701917
- await createFile(path322.join(this.projectPath, ".adk", "interfaces.ts"), await formatCode(consts));
701961
+ await createFile(path332.join(this.projectPath, ".adk", "interfaces.d.ts"), await formatCode(types52));
701962
+ await createFile(path332.join(this.projectPath, ".adk", "interfaces.ts"), await formatCode(consts));
701918
701963
  const staleInterfaceFiles = existingInterfaceFiles.filter((f) => !files.has(f));
701919
701964
  if (staleInterfaceFiles.length > 0) {
701920
701965
  for (const rel of staleInterfaceFiles) {
701921
- const abs = path322.join(interfacesDir, rel);
701966
+ const abs = path332.join(interfacesDir, rel);
701922
701967
  try {
701923
- await fs15.rm(abs, { force: true });
701968
+ await fs16.rm(abs, { force: true });
701924
701969
  } catch {}
701925
701970
  }
701926
701971
  }
@@ -701951,7 +701996,7 @@ declare module "@botpress/runtime/_types/state" {
701951
701996
  `) : ""}
701952
701997
  } as Record<string, IntegrationPackage>;
701953
701998
  `;
701954
- await createFile(path322.join(this.outputPath, "src", "integrations.ts"), content);
701999
+ await createFile(path332.join(this.outputPath, "src", "integrations.ts"), content);
701955
702000
  }
701956
702001
  async generateInterfacesDefinition() {
701957
702002
  const interfaces = BUILTIN_INTERFACES;
@@ -701974,7 +702019,7 @@ declare module "@botpress/runtime/_types/state" {
701974
702019
  `) : ""}
701975
702020
  } as Record<string, InterfacePackage>;
701976
702021
  `;
701977
- await createFile(path322.join(this.outputPath, "src", "interfaces.ts"), await formatCode(content));
702022
+ await createFile(path332.join(this.outputPath, "src", "interfaces.ts"), await formatCode(content));
701978
702023
  }
701979
702024
  async generateBotDefinition() {
701980
702025
  const project = await AgentProject.load(this.projectPath);
@@ -701985,7 +702030,7 @@ declare module "@botpress/runtime/_types/state" {
701985
702030
  const { alias, configurationType, config: config3 } = integration;
701986
702031
  const importName = `integration_${getIntegrationAlias(alias)}`;
701987
702032
  imports.push(`import ${importName} from "./bp_modules/${importName}";`);
701988
- const configType = configurationType ? `, configurationType: "${configurationType}"` : "";
702033
+ const configType = configurationType && configurationType !== "default" ? `, configurationType: "${configurationType}"` : "";
701989
702034
  const configData = config3 && Object.keys(config3).length > 0 ? `, configuration: ${JSON.stringify(config3)}` : "";
701990
702035
  addIntegrations.push(`bot.addIntegration(${importName}, { alias: "${alias}", enabled: true${configType}${configData} });`);
701991
702036
  }
@@ -702029,7 +702074,7 @@ declare module "@botpress/runtime/_types/state" {
702029
702074
  if (isBuiltinWorkflow2(workflow.definition.name)) {
702030
702075
  continue;
702031
702076
  }
702032
- const workflowPath = path322.join(project.path, workflow.path);
702077
+ const workflowPath = path332.join(project.path, workflow.path);
702033
702078
  const workflowModule = await import(`${workflowPath}?t=${Date.now()}`);
702034
702079
  const workflowInstance = workflowModule.default || workflowModule[workflow.export];
702035
702080
  if (workflowInstance) {
@@ -702267,7 +702312,7 @@ configuration: {
702267
702312
  const fullContent = content + integrationsSection + `
702268
702313
 
702269
702314
  export default bot;`;
702270
- await createFile(path322.join(this.outputPath, "bot.definition.ts"), await formatCode(fullContent));
702315
+ await createFile(path332.join(this.outputPath, "bot.definition.ts"), await formatCode(fullContent));
702271
702316
  }
702272
702317
  async generateBotIndex() {
702273
702318
  const content = dedent_default`
@@ -702301,7 +702346,7 @@ export default bot;`;
702301
702346
 
702302
702347
  export default bot
702303
702348
  `;
702304
- await createFile(path322.join(this.outputPath, "src", "index.ts"), await formatCode(content));
702349
+ await createFile(path332.join(this.outputPath, "src", "index.ts"), await formatCode(content));
702305
702350
  }
702306
702351
  async generatePackageJson(project) {
702307
702352
  const packageJson = {
@@ -702315,7 +702360,7 @@ export default bot;`;
702315
702360
  typescript: "^5.9.3"
702316
702361
  }
702317
702362
  };
702318
- await createFile(path322.join(this.outputPath, "package.json"), JSON.stringify(packageJson, null, 2));
702363
+ await createFile(path332.join(this.outputPath, "package.json"), JSON.stringify(packageJson, null, 2));
702319
702364
  }
702320
702365
  async generateTsConfig() {
702321
702366
  const tsConfig = {
@@ -702346,7 +702391,7 @@ export default bot;`;
702346
702391
  },
702347
702392
  include: [".botpress/**/*", "src/**/*", "bp_modules/**/*", "./*.ts", "./*.json", "../*.d.ts"]
702348
702393
  };
702349
- await createFile(path322.join(this.outputPath, "tsconfig.json"), JSON.stringify(tsConfig, null, 2));
702394
+ await createFile(path332.join(this.outputPath, "tsconfig.json"), JSON.stringify(tsConfig, null, 2));
702350
702395
  }
702351
702396
  async generateGlobalTypes() {
702352
702397
  const content = dedent_default`
@@ -702369,42 +702414,42 @@ export default bot;`;
702369
702414
 
702370
702415
  export {};
702371
702416
  `;
702372
- await createFile(path322.join(this.outputPath, "global.d.ts"), await formatCode(content));
702417
+ await createFile(path332.join(this.outputPath, "global.d.ts"), await formatCode(content));
702373
702418
  }
702374
702419
  async copyAssets() {
702375
- const assetsPath = path322.join(this.projectPath, "assets");
702376
- const targetPath = path322.join(this.outputPath, "assets");
702377
- if (existsSync6(assetsPath)) {
702378
- await fs15.mkdir(targetPath, { recursive: true });
702420
+ const assetsPath = path332.join(this.projectPath, "assets");
702421
+ const targetPath = path332.join(this.outputPath, "assets");
702422
+ if (existsSync7(assetsPath)) {
702423
+ await fs16.mkdir(targetPath, { recursive: true });
702379
702424
  await this.copyDirectory(assetsPath, targetPath);
702380
702425
  }
702381
702426
  }
702382
702427
  async copyDirectory(src, dest) {
702383
- const entries = await fs15.readdir(src, { withFileTypes: true });
702428
+ const entries = await fs16.readdir(src, { withFileTypes: true });
702384
702429
  for (const entry of entries) {
702385
- const srcPath = path322.join(src, entry.name);
702386
- const destPath = path322.join(dest, entry.name);
702430
+ const srcPath = path332.join(src, entry.name);
702431
+ const destPath = path332.join(dest, entry.name);
702387
702432
  if (entry.isDirectory()) {
702388
- await fs15.mkdir(destPath, { recursive: true });
702433
+ await fs16.mkdir(destPath, { recursive: true });
702389
702434
  await this.copyDirectory(srcPath, destPath);
702390
702435
  } else {
702391
- await fs15.copyFile(srcPath, destPath);
702436
+ await fs16.copyFile(srcPath, destPath);
702392
702437
  }
702393
702438
  }
702394
702439
  }
702395
702440
  async generateAdkRuntime() {
702396
702441
  const project = new AgentProject(this.projectPath);
702397
702442
  await project.reload();
702398
- const srcDir = path322.join(this.outputPath, "src");
702443
+ const srcDir = path332.join(this.outputPath, "src");
702399
702444
  {
702400
- const dest = path322.join(srcDir, "conversations.ts");
702445
+ const dest = path332.join(srcDir, "conversations.ts");
702401
702446
  const imports = new Map;
702402
702447
  const exports7 = new Set;
702403
702448
  let index = 1;
702404
702449
  for (const conversation3 of project.conversations) {
702405
702450
  if (!imports.has(conversation3.path)) {
702406
702451
  const name2 = `conversations_${index++}`;
702407
- const importPath = getImportPath(dest, path322.join(project.path, conversation3.path));
702452
+ const importPath = getImportPath(dest, path332.join(project.path, conversation3.path));
702408
702453
  imports.set(conversation3.path, {
702409
702454
  name: name2,
702410
702455
  statement: `import * as ${name2} from "${importPath}";`
@@ -702430,14 +702475,14 @@ export default bot;`;
702430
702475
  await createFile(dest, await formatCode(content2));
702431
702476
  }
702432
702477
  {
702433
- const dest = path322.join(srcDir, "knowledge.ts");
702478
+ const dest = path332.join(srcDir, "knowledge.ts");
702434
702479
  const imports = new Map;
702435
702480
  const exports7 = new Set;
702436
702481
  let index = 1;
702437
702482
  for (const knowledge of project.knowledge) {
702438
702483
  if (!imports.has(knowledge.path)) {
702439
702484
  const name2 = `knowledge_${index++}`;
702440
- const importPath = getImportPath(dest, path322.join(project.path, knowledge.path));
702485
+ const importPath = getImportPath(dest, path332.join(project.path, knowledge.path));
702441
702486
  imports.set(knowledge.path, {
702442
702487
  name: name2,
702443
702488
  statement: `import * as ${name2} from "${importPath}";`
@@ -702463,7 +702508,7 @@ export default bot;`;
702463
702508
  await createFile(dest, await formatCode(content2));
702464
702509
  }
702465
702510
  {
702466
- const dest = path322.join(srcDir, "triggers.ts");
702511
+ const dest = path332.join(srcDir, "triggers.ts");
702467
702512
  const { transforms: transforms4 } = await Promise.resolve().then(() => (init_dist6(), exports_dist2));
702468
702513
  const imports = new Map;
702469
702514
  const exports7 = new Set;
@@ -702472,7 +702517,7 @@ export default bot;`;
702472
702517
  for (const trigger of project.triggers) {
702473
702518
  if (!imports.has(trigger.path)) {
702474
702519
  const name2 = `triggers_${index++}`;
702475
- const importPath = getImportPath(dest, path322.join(project.path, trigger.path));
702520
+ const importPath = getImportPath(dest, path332.join(project.path, trigger.path));
702476
702521
  imports.set(trigger.path, {
702477
702522
  name: name2,
702478
702523
  statement: `import * as ${name2} from "${importPath}";`
@@ -702482,7 +702527,7 @@ export default bot;`;
702482
702527
  }
702483
702528
  for (const trigger of project.triggers) {
702484
702529
  try {
702485
- const absolutePath = path322.join(project.path, trigger.path);
702530
+ const absolutePath = path332.join(project.path, trigger.path);
702486
702531
  const triggerModule = await import(`${absolutePath}?t=${Date.now()}`);
702487
702532
  const triggerInstance = triggerModule[trigger.export] || triggerModule.default;
702488
702533
  if (triggerInstance && triggerInstance.payload) {
@@ -702525,7 +702570,7 @@ export default bot;`;
702525
702570
  await createFile(dest, await formatCode(content2));
702526
702571
  }
702527
702572
  {
702528
- const dest = path322.join(srcDir, "workflows.ts");
702573
+ const dest = path332.join(srcDir, "workflows.ts");
702529
702574
  const imports = new Map;
702530
702575
  const exports7 = new Set;
702531
702576
  let index = 1;
@@ -702535,7 +702580,7 @@ export default bot;`;
702535
702580
  }
702536
702581
  if (!imports.has(workflow.path)) {
702537
702582
  const name2 = `workflows_${index++}`;
702538
- const importPath = getImportPath(dest, path322.join(project.path, workflow.path));
702583
+ const importPath = getImportPath(dest, path332.join(project.path, workflow.path));
702539
702584
  const statement = `import * as ${name2} from "${importPath}";`;
702540
702585
  imports.set(workflow.path, {
702541
702586
  name: name2,
@@ -702569,7 +702614,7 @@ export default bot;`;
702569
702614
  await createFile(dest, await formatCode(content2));
702570
702615
  }
702571
702616
  {
702572
- const dest = path322.join(srcDir, "actions.ts");
702617
+ const dest = path332.join(srcDir, "actions.ts");
702573
702618
  const imports = new Map;
702574
702619
  const exports7 = new Set;
702575
702620
  let index = 1;
@@ -702579,7 +702624,7 @@ export default bot;`;
702579
702624
  }
702580
702625
  if (!imports.has(action.path)) {
702581
702626
  const name2 = `actions_${index++}`;
702582
- const importPath = getImportPath(dest, path322.join(project.path, action.path));
702627
+ const importPath = getImportPath(dest, path332.join(project.path, action.path));
702583
702628
  imports.set(action.path, {
702584
702629
  name: name2,
702585
702630
  statement: `import * as ${name2} from "${importPath}";`
@@ -702605,14 +702650,14 @@ export default bot;`;
702605
702650
  await createFile(dest, await formatCode(content2));
702606
702651
  }
702607
702652
  {
702608
- const dest = path322.join(srcDir, "tables.ts");
702653
+ const dest = path332.join(srcDir, "tables.ts");
702609
702654
  const imports = new Map;
702610
702655
  const exports7 = new Set;
702611
702656
  let index = 1;
702612
702657
  for (const table3 of project.tables) {
702613
702658
  if (!imports.has(table3.path)) {
702614
702659
  const name2 = `tables_${index++}`;
702615
- const importPath = getImportPath(dest, path322.join(project.path, table3.path));
702660
+ const importPath = getImportPath(dest, path332.join(project.path, table3.path));
702616
702661
  imports.set(table3.path, {
702617
702662
  name: name2,
702618
702663
  statement: `import * as ${name2} from "${importPath}";`
@@ -702638,8 +702683,8 @@ export default bot;`;
702638
702683
  await createFile(dest, await formatCode(content2));
702639
702684
  }
702640
702685
  {
702641
- const dest = path322.join(srcDir, "config.ts");
702642
- const importPath = getImportPath(dest, path322.join(project.path, "agent.config.ts"));
702686
+ const dest = path332.join(srcDir, "config.ts");
702687
+ const importPath = getImportPath(dest, path332.join(project.path, "agent.config.ts"));
702643
702688
  const content2 = `
702644
702689
  ////////////////////////////////////////////////////////
702645
702690
  // DO NOT EDIT THIS FILE DIRECTLY
@@ -702705,13 +702750,13 @@ export default bot;`;
702705
702750
  handlers.actions.setup(bot);
702706
702751
  }
702707
702752
  `;
702708
- await createFile(path322.join(this.outputPath, "src", "adk-runtime.ts"), await formatCode(content));
702753
+ await createFile(path332.join(this.outputPath, "src", "adk-runtime.ts"), await formatCode(content));
702709
702754
  }
702710
702755
  async copyAssetsRuntime() {
702711
- const assetsRuntimePath = path322.join(this.projectPath, ".adk", "assets-runtime.ts");
702712
- if (existsSync6(assetsRuntimePath)) {
702713
- const content = await fs15.readFile(assetsRuntimePath, "utf-8");
702714
- await createFile(path322.join(this.outputPath, "src", "assets-runtime.ts"), await formatCode(content));
702756
+ const assetsRuntimePath = path332.join(this.projectPath, ".adk", "assets-runtime.ts");
702757
+ if (existsSync7(assetsRuntimePath)) {
702758
+ const content = await fs16.readFile(assetsRuntimePath, "utf-8");
702759
+ await createFile(path332.join(this.outputPath, "src", "assets-runtime.ts"), await formatCode(content));
702715
702760
  }
702716
702761
  }
702717
702762
  }
@@ -702720,9 +702765,11 @@ async function generateBotProject(options) {
702720
702765
  await generator.generate();
702721
702766
  await generator.generateAdkRuntime();
702722
702767
  await generator.copyAssetsRuntime();
702723
- const devIdManager = new DevIdManager(options.projectPath, options.outputPath || path322.join(options.projectPath, ".adk", "bot"));
702768
+ const botPath = options.outputPath || path332.join(options.projectPath, ".adk", "bot");
702769
+ await linkSdk(options.projectPath, botPath);
702770
+ const devIdManager = new DevIdManager(options.projectPath, options.outputPath || path332.join(options.projectPath, ".adk", "bot"));
702724
702771
  await devIdManager.restoreDevId();
702725
- const integrationSync = new IntegrationSync(options.projectPath, options.outputPath || path322.join(options.projectPath, ".adk", "bot"));
702772
+ const integrationSync = new IntegrationSync(options.projectPath, options.outputPath || path332.join(options.projectPath, ".adk", "bot"));
702726
702773
  const integrationSyncResult = await integrationSync.syncIntegrations();
702727
702774
  if (integrationSyncResult.errors.length > 0) {
702728
702775
  console.warn(`\u26A0\uFE0F Some integrations failed to sync:`);
@@ -702730,7 +702777,7 @@ async function generateBotProject(options) {
702730
702777
  console.warn(` - ${alias}: ${error}`);
702731
702778
  });
702732
702779
  }
702733
- const interfaceSync = new InterfaceSync(options.projectPath, options.outputPath || path322.join(options.projectPath, ".adk", "bot"));
702780
+ const interfaceSync = new InterfaceSync(options.projectPath, options.outputPath || path332.join(options.projectPath, ".adk", "bot"));
702734
702781
  const interfaceSyncResult = await interfaceSync.syncInterfaces();
702735
702782
  if (interfaceSyncResult.errors.length > 0) {
702736
702783
  console.warn(`\u26A0\uFE0F Some interfaces failed to sync:`);
@@ -703661,15 +703708,15 @@ class KnowledgeManager {
703661
703708
  }
703662
703709
  async scanLocalFileHashes(directoryPath, filterFn) {
703663
703710
  const projectDir = this.project.path;
703664
- const directory = path332.resolve(projectDir, directoryPath);
703711
+ const directory = path342.resolve(projectDir, directoryPath);
703665
703712
  if (this.fileHashCache.has(directory)) {
703666
703713
  return this.fileHashCache.get(directory);
703667
703714
  }
703668
703715
  const files = glob2.sync(directory + "/**/*.*", { absolute: true, nodir: true }).filter((file) => !filterFn || filterFn(file));
703669
703716
  const hashes = {};
703670
703717
  for (const file of files) {
703671
- const relPath = path332.relative(directory, file);
703672
- const content = await fs16.readFile(file);
703718
+ const relPath = path342.relative(directory, file);
703719
+ const content = await fs17.readFile(file);
703673
703720
  hashes[relPath] = crypto42.createHash("sha256").update(content).digest("hex");
703674
703721
  }
703675
703722
  this.fileHashCache.set(directory, hashes);
@@ -703776,7 +703823,7 @@ class KnowledgeManager {
703776
703823
  }
703777
703824
  async syncDirectorySource(client3, kbName, kbId, dsId, directoryPath, filterFn, force) {
703778
703825
  const projectDir = this.project.path;
703779
- const directory = path332.resolve(projectDir, directoryPath);
703826
+ const directory = path342.resolve(projectDir, directoryPath);
703780
703827
  if (!directory.startsWith(projectDir)) {
703781
703828
  throw new Error("Directory path must be within the agent's directory");
703782
703829
  }
@@ -703798,8 +703845,8 @@ class KnowledgeManager {
703798
703845
  return true;
703799
703846
  }).map((f) => ({
703800
703847
  abs: f,
703801
- rel: path332.relative(directory, f),
703802
- name: path332.basename(f)
703848
+ rel: path342.relative(directory, f),
703849
+ name: path342.basename(f)
703803
703850
  }));
703804
703851
  console.log(` Found ${allFiles.length} files in ${directoryPath}`);
703805
703852
  const cachedHashes = await this.scanLocalFileHashes(directoryPath, filterFn);
@@ -703873,7 +703920,7 @@ class KnowledgeManager {
703873
703920
  }
703874
703921
  async upsertFile(client3, local, dsId, tags, force, cachedHash) {
703875
703922
  const key = `data_source://document/${dsId}/${local.rel}`;
703876
- const content = await fs16.readFile(local.abs);
703923
+ const content = await fs17.readFile(local.abs);
703877
703924
  const hash = cachedHash ?? crypto42.createHash("sha256").update(content).digest("hex");
703878
703925
  try {
703879
703926
  const { file } = await client3.getFile({ id: key });
@@ -703881,7 +703928,7 @@ class KnowledgeManager {
703881
703928
  return null;
703882
703929
  }
703883
703930
  } catch {}
703884
- const title3 = path332.basename(local.name, path332.extname(local.name));
703931
+ const title3 = path342.basename(local.name, path342.extname(local.name));
703885
703932
  const metadata = {
703886
703933
  hash,
703887
703934
  dsId,
@@ -704327,7 +704374,7 @@ class PreflightChecker {
704327
704374
  options?.onProgress?.("Regenerating bot project...");
704328
704375
  await generateBotProject({
704329
704376
  projectPath: this.projectPath,
704330
- outputPath: path342.join(this.projectPath, ".adk", "bot")
704377
+ outputPath: path35.join(this.projectPath, ".adk", "bot")
704331
704378
  });
704332
704379
  options?.onSuccess?.("Bot project regenerated");
704333
704380
  }
@@ -704339,7 +704386,7 @@ class ScriptRunner {
704339
704386
  prod;
704340
704387
  credentials;
704341
704388
  constructor(options) {
704342
- this.projectPath = path35.resolve(options.projectPath);
704389
+ this.projectPath = path36.resolve(options.projectPath);
704343
704390
  this.forceRegenerate = options.forceRegenerate ?? false;
704344
704391
  this.prod = options.prod ?? false;
704345
704392
  this.credentials = options.credentials;
@@ -704348,10 +704395,10 @@ class ScriptRunner {
704348
704395
  const project = await AgentProject.load(this.projectPath, {
704349
704396
  adkCommand: "adk-build"
704350
704397
  });
704351
- const botPath = path35.join(this.projectPath, ".adk", "bot");
704352
- const runnerPath = path35.join(botPath, "src", "script-runner.ts");
704353
- const botpressTypesPath = path35.join(botPath, ".botpress", "implementation", "index.ts");
704354
- const needsRegenerate = this.forceRegenerate || !existsSync8(runnerPath) || !existsSync8(botpressTypesPath);
704398
+ const botPath = path36.join(this.projectPath, ".adk", "bot");
704399
+ const runnerPath = path36.join(botPath, "src", "script-runner.ts");
704400
+ const botpressTypesPath = path36.join(botPath, ".botpress", "implementation", "index.ts");
704401
+ const needsRegenerate = this.forceRegenerate || !existsSync9(runnerPath) || !existsSync9(botpressTypesPath);
704355
704402
  if (needsRegenerate) {
704356
704403
  try {
704357
704404
  await generateAssetsTypes(project.path);
@@ -704435,12 +704482,12 @@ class ScriptRunner {
704435
704482
 
704436
704483
  runScript()
704437
704484
  `;
704438
- await fs17.writeFile(path35.join(botPath, "src", "script-runner.ts"), await formatCode(content), "utf-8");
704485
+ await fs18.writeFile(path36.join(botPath, "src", "script-runner.ts"), await formatCode(content), "utf-8");
704439
704486
  }
704440
704487
  async run(scriptPath, options = {}) {
704441
704488
  const { botPath, runnerPath, project } = await this.prepare();
704442
- const absoluteScriptPath = path35.isAbsolute(scriptPath) ? scriptPath : path35.resolve(this.projectPath, scriptPath);
704443
- if (!existsSync8(absoluteScriptPath)) {
704489
+ const absoluteScriptPath = path36.isAbsolute(scriptPath) ? scriptPath : path36.resolve(this.projectPath, scriptPath);
704490
+ if (!existsSync9(absoluteScriptPath)) {
704444
704491
  throw new Error(`Script not found: ${absoluteScriptPath}`);
704445
704492
  }
704446
704493
  const botId = this.prod ? project.agentInfo?.botId : project.agentInfo?.devId || project.agentInfo?.botId;
@@ -704520,7 +704567,7 @@ var import_ts_morph, __defProp11, __commonJS7 = (cb4, mod) => () => (mod || cb4(
704520
704567
  `));
704521
704568
  return code;
704522
704569
  }
704523
- }, ADK_VERSION = "1.12.2", relative22 = (from, to3) => {
704570
+ }, ADK_VERSION = "1.12.4", relative22 = (from, to3) => {
704524
704571
  const fromDir = path102.dirname(from);
704525
704572
  const relative32 = path102.relative(fromDir, to3);
704526
704573
  return relative32.startsWith(".") ? relative32 : `./${relative32}`;
@@ -705997,7 +706044,7 @@ var init_dist17 = __esm(() => {
705997
706044
  require_package3 = __commonJS7((exports7, module) => {
705998
706045
  module.exports = {
705999
706046
  name: "@botpress/adk",
706000
- version: "1.12.2",
706047
+ version: "1.12.4",
706001
706048
  description: "Core ADK library for building AI agents on Botpress",
706002
706049
  type: "module",
706003
706050
  main: "dist/index.js",
@@ -706044,7 +706091,7 @@ var init_dist17 = __esm(() => {
706044
706091
  "@botpress/cli": "^4.27.3",
706045
706092
  "@botpress/client": "^1.28.0",
706046
706093
  "@botpress/cognitive": "^0.2.0",
706047
- "@botpress/runtime": "^1.12.2",
706094
+ "@botpress/runtime": "^1.12.4",
706048
706095
  "@botpress/sdk": "^4.18.1",
706049
706096
  "@bpinternal/jex": "^1.2.4",
706050
706097
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -707459,12 +707506,12 @@ ${this.stderrLines.join(`
707459
707506
  const rootFiles = ["package.json", "agent.json", "agent.config.ts"];
707460
707507
  for (const file of rootFiles) {
707461
707508
  const filePath = join82(this.projectPath, file);
707462
- if (existsSync7(filePath)) {
707509
+ if (existsSync8(filePath)) {
707463
707510
  this.watchFile(filePath);
707464
707511
  }
707465
707512
  }
707466
707513
  const srcPath = join82(this.projectPath, "src");
707467
- if (existsSync7(srcPath)) {
707514
+ if (existsSync8(srcPath)) {
707468
707515
  this.initializeDirectoryState(srcPath);
707469
707516
  this.watchDirectory(srcPath);
707470
707517
  }
@@ -707513,7 +707560,7 @@ ${this.stderrLines.join(`
707513
707560
  }
707514
707561
  }
707515
707562
  handleFileChange(filePath) {
707516
- const fileExists = existsSync7(filePath);
707563
+ const fileExists = existsSync8(filePath);
707517
707564
  const previousState = this.fileStates.get(filePath);
707518
707565
  let changeType;
707519
707566
  if (!fileExists && previousState !== undefined) {
@@ -707553,7 +707600,7 @@ ${this.stderrLines.join(`
707553
707600
  this.emit("change", event3);
707554
707601
  }
707555
707602
  updateFileState(filePath) {
707556
- if (existsSync7(filePath)) {
707603
+ if (existsSync8(filePath)) {
707557
707604
  this.fileStates.set(filePath, Date.now());
707558
707605
  }
707559
707606
  }
@@ -707712,10 +707759,10 @@ var init_Select = __esm(async () => {
707712
707759
  });
707713
707760
 
707714
707761
  // ../../node_modules/is-docker/index.js
707715
- import fs18 from "fs";
707762
+ import fs19 from "fs";
707716
707763
  function hasDockerEnv() {
707717
707764
  try {
707718
- fs18.statSync("/.dockerenv");
707765
+ fs19.statSync("/.dockerenv");
707719
707766
  return true;
707720
707767
  } catch {
707721
707768
  return false;
@@ -707723,7 +707770,7 @@ function hasDockerEnv() {
707723
707770
  }
707724
707771
  function hasDockerCGroup() {
707725
707772
  try {
707726
- return fs18.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
707773
+ return fs19.readFileSync("/proc/self/cgroup", "utf8").includes("docker");
707727
707774
  } catch {
707728
707775
  return false;
707729
707776
  }
@@ -707738,7 +707785,7 @@ var isDockerCached;
707738
707785
  var init_is_docker = () => {};
707739
707786
 
707740
707787
  // ../../node_modules/is-inside-container/index.js
707741
- import fs20 from "fs";
707788
+ import fs21 from "fs";
707742
707789
  function isInsideContainer() {
707743
707790
  if (cachedResult === undefined) {
707744
707791
  cachedResult = hasContainerEnv() || isDocker();
@@ -707747,7 +707794,7 @@ function isInsideContainer() {
707747
707794
  }
707748
707795
  var cachedResult, hasContainerEnv = () => {
707749
707796
  try {
707750
- fs20.statSync("/run/.containerenv");
707797
+ fs21.statSync("/run/.containerenv");
707751
707798
  return true;
707752
707799
  } catch {
707753
707800
  return false;
@@ -707760,7 +707807,7 @@ var init_is_inside_container = __esm(() => {
707760
707807
  // ../../node_modules/is-wsl/index.js
707761
707808
  import process24 from "process";
707762
707809
  import os8 from "os";
707763
- import fs21 from "fs";
707810
+ import fs25 from "fs";
707764
707811
  var isWsl = () => {
707765
707812
  if (process24.platform !== "linux") {
707766
707813
  return false;
@@ -707772,7 +707819,7 @@ var isWsl = () => {
707772
707819
  return true;
707773
707820
  }
707774
707821
  try {
707775
- return fs21.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isInsideContainer() : false;
707822
+ return fs25.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft") ? !isInsideContainer() : false;
707776
707823
  } catch {
707777
707824
  return false;
707778
707825
  }
@@ -707811,7 +707858,7 @@ function pathKey2(options = {}) {
707811
707858
 
707812
707859
  // ../../node_modules/clipboardy/node_modules/execa/node_modules/npm-run-path/index.js
707813
707860
  import process26 from "process";
707814
- import path36 from "path";
707861
+ import path37 from "path";
707815
707862
  import { fileURLToPath as fileURLToPath7 } from "url";
707816
707863
  var npmRunPath2 = ({
707817
707864
  cwd: cwd4 = process26.cwd(),
@@ -707821,7 +707868,7 @@ var npmRunPath2 = ({
707821
707868
  addExecPath = true
707822
707869
  } = {}) => {
707823
707870
  const cwdString = cwd4 instanceof URL ? fileURLToPath7(cwd4) : cwd4;
707824
- const cwdPath = path36.resolve(cwdString);
707871
+ const cwdPath = path37.resolve(cwdString);
707825
707872
  const result = [];
707826
707873
  if (preferLocal) {
707827
707874
  applyPreferLocal2(result, cwdPath);
@@ -707829,17 +707876,17 @@ var npmRunPath2 = ({
707829
707876
  if (addExecPath) {
707830
707877
  applyExecPath2(result, execPath3, cwdPath);
707831
707878
  }
707832
- return [...result, pathOption].join(path36.delimiter);
707879
+ return [...result, pathOption].join(path37.delimiter);
707833
707880
  }, applyPreferLocal2 = (result, cwdPath) => {
707834
707881
  let previous;
707835
707882
  while (previous !== cwdPath) {
707836
- result.push(path36.join(cwdPath, "node_modules/.bin"));
707883
+ result.push(path37.join(cwdPath, "node_modules/.bin"));
707837
707884
  previous = cwdPath;
707838
- cwdPath = path36.resolve(cwdPath, "..");
707885
+ cwdPath = path37.resolve(cwdPath, "..");
707839
707886
  }
707840
707887
  }, applyExecPath2 = (result, execPath3, cwdPath) => {
707841
707888
  const execPathString = execPath3 instanceof URL ? fileURLToPath7(execPath3) : execPath3;
707842
- result.push(path36.resolve(cwdPath, execPathString, ".."));
707889
+ result.push(path37.resolve(cwdPath, execPathString, ".."));
707843
707890
  }, npmRunPathEnv2 = ({ env: env6 = process26.env, ...options } = {}) => {
707844
707891
  env6 = { ...env6 };
707845
707892
  const pathName = pathKey2({ env: env6 });
@@ -708913,7 +708960,7 @@ var init_verbose = __esm(() => {
708913
708960
 
708914
708961
  // ../../node_modules/clipboardy/node_modules/execa/index.js
708915
708962
  import { Buffer as Buffer7 } from "buffer";
708916
- import path38 from "path";
708963
+ import path39 from "path";
708917
708964
  import childProcess from "child_process";
708918
708965
  import process29 from "process";
708919
708966
  function execa2(file, args, options) {
@@ -709095,7 +709142,7 @@ var import_cross_spawn2, DEFAULT_MAX_BUFFER, getEnv2 = ({ env: envOption, extend
709095
709142
  };
709096
709143
  options.env = getEnv2(options);
709097
709144
  options.stdio = normalizeStdio(options);
709098
- if (process29.platform === "win32" && path38.basename(file, ".exe") === "cmd") {
709145
+ if (process29.platform === "win32" && path39.basename(file, ".exe") === "cmd") {
709099
709146
  args.unshift("/q");
709100
709147
  }
709101
709148
  return { file, args, options, parsed };
@@ -709172,7 +709219,7 @@ var init_termux = __esm(() => {
709172
709219
  });
709173
709220
 
709174
709221
  // ../../node_modules/clipboardy/lib/linux.js
709175
- import path39 from "path";
709222
+ import path40 from "path";
709176
709223
  import { fileURLToPath as fileURLToPath8 } from "url";
709177
709224
  var __dirname2, xsel = "xsel", xselFallback, copyArguments, pasteArguments, makeError3 = (xselError, fallbackError) => {
709178
709225
  let error;
@@ -709209,8 +709256,8 @@ var __dirname2, xsel = "xsel", xselFallback, copyArguments, pasteArguments, make
709209
709256
  }, clipboard2, linux_default;
709210
709257
  var init_linux = __esm(() => {
709211
709258
  init_execa2();
709212
- __dirname2 = path39.dirname(fileURLToPath8(import.meta.url));
709213
- xselFallback = path39.join(__dirname2, "../fallbacks/linux/xsel");
709259
+ __dirname2 = path40.dirname(fileURLToPath8(import.meta.url));
709260
+ xselFallback = path40.join(__dirname2, "../fallbacks/linux/xsel");
709214
709261
  copyArguments = ["--clipboard", "--input"];
709215
709262
  pasteArguments = ["--clipboard", "--output"];
709216
709263
  clipboard2 = {
@@ -709290,15 +709337,15 @@ var init_is64bit = __esm(() => {
709290
709337
  });
709291
709338
 
709292
709339
  // ../../node_modules/clipboardy/lib/windows.js
709293
- import path40 from "path";
709340
+ import path41 from "path";
709294
709341
  import { fileURLToPath as fileURLToPath9 } from "url";
709295
709342
  var __dirname3, binarySuffix, windowBinaryPath, clipboard4, windows_default;
709296
709343
  var init_windows = __esm(() => {
709297
709344
  init_execa2();
709298
709345
  init_is64bit();
709299
- __dirname3 = path40.dirname(fileURLToPath9(import.meta.url));
709346
+ __dirname3 = path41.dirname(fileURLToPath9(import.meta.url));
709300
709347
  binarySuffix = is64bitSync() ? "x86_64" : "i686";
709301
- windowBinaryPath = path40.join(__dirname3, `../fallbacks/windows/clipboard_${binarySuffix}.exe`);
709348
+ windowBinaryPath = path41.join(__dirname3, `../fallbacks/windows/clipboard_${binarySuffix}.exe`);
709302
709349
  clipboard4 = {
709303
709350
  copy: async (options) => execa2(windowBinaryPath, ["--copy"], options),
709304
709351
  async paste(options) {
@@ -710832,7 +710879,7 @@ var init_package_manager = () => {};
710832
710879
 
710833
710880
  // ../../node_modules/wsl-utils/index.js
710834
710881
  import process32 from "process";
710835
- import fs25, { constants as fsConstants } from "fs/promises";
710882
+ import fs27, { constants as fsConstants } from "fs/promises";
710836
710883
  var wslDrivesMountPoint, powerShellPathFromWsl = async () => {
710837
710884
  const mountPoint = await wslDrivesMountPoint();
710838
710885
  return `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`;
@@ -710855,13 +710902,13 @@ var init_wsl_utils = __esm(() => {
710855
710902
  const configFilePath = "/etc/wsl.conf";
710856
710903
  let isConfigFileExists = false;
710857
710904
  try {
710858
- await fs25.access(configFilePath, fsConstants.F_OK);
710905
+ await fs27.access(configFilePath, fsConstants.F_OK);
710859
710906
  isConfigFileExists = true;
710860
710907
  } catch {}
710861
710908
  if (!isConfigFileExists) {
710862
710909
  return defaultMountPoint;
710863
710910
  }
710864
- const configContent = await fs25.readFile(configFilePath, { encoding: "utf8" });
710911
+ const configContent = await fs27.readFile(configFilePath, { encoding: "utf8" });
710865
710912
  const configMountPoint = /(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(configContent);
710866
710913
  if (!configMountPoint) {
710867
710914
  return defaultMountPoint;
@@ -711009,11 +711056,11 @@ var init_default_browser = __esm(() => {
711009
711056
  // ../../node_modules/open/index.js
711010
711057
  import process36 from "process";
711011
711058
  import { Buffer as Buffer8 } from "buffer";
711012
- import path41 from "path";
711059
+ import path44 from "path";
711013
711060
  import { fileURLToPath as fileURLToPath10 } from "url";
711014
711061
  import { promisify as promisify9 } from "util";
711015
711062
  import childProcess3 from "child_process";
711016
- import fs27, { constants as fsConstants2 } from "fs/promises";
711063
+ import fs28, { constants as fsConstants2 } from "fs/promises";
711017
711064
  async function getWindowsDefaultBrowserFromWsl() {
711018
711065
  const powershellPath = await powerShellPath();
711019
711066
  const rawCommand = String.raw`(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice").ProgId`;
@@ -711170,7 +711217,7 @@ var execFile5, __dirname4, localXdgOpenPath, platform4, arch3, pTryEach = async
711170
711217
  const isBundled = !__dirname4 || __dirname4 === "/";
711171
711218
  let exeLocalXdgOpen = false;
711172
711219
  try {
711173
- await fs27.access(localXdgOpenPath, fsConstants2.X_OK);
711220
+ await fs28.access(localXdgOpenPath, fsConstants2.X_OK);
711174
711221
  exeLocalXdgOpen = true;
711175
711222
  } catch {}
711176
711223
  const useSystemXdgOpen = process36.versions.electron ?? (platform4 === "android" || isBundled || !exeLocalXdgOpen);
@@ -711219,8 +711266,8 @@ var init_open = __esm(() => {
711219
711266
  init_default_browser();
711220
711267
  init_is_inside_container();
711221
711268
  execFile5 = promisify9(childProcess3.execFile);
711222
- __dirname4 = path41.dirname(fileURLToPath10(import.meta.url));
711223
- localXdgOpenPath = path41.join(__dirname4, "xdg-open");
711269
+ __dirname4 = path44.dirname(fileURLToPath10(import.meta.url));
711270
+ localXdgOpenPath = path44.join(__dirname4, "xdg-open");
711224
711271
  ({ platform: platform4, arch: arch3 } = process36);
711225
711272
  apps = {};
711226
711273
  defineLazyProperty(apps, "chrome", () => detectPlatformBinary({
@@ -712394,7 +712441,7 @@ function isElementOfLoose(node, type) {
712394
712441
  return false;
712395
712442
  return unwrapType(node.type) === unwrapType(type);
712396
712443
  }
712397
- function sumTextStringsIn(children, TextComp, path37 = ["<root>"]) {
712444
+ function sumTextStringsIn(children, TextComp, path38 = ["<root>"]) {
712398
712445
  const nodes = import_react35.default.Children.toArray(children);
712399
712446
  return nodes.reduce((acc, node) => {
712400
712447
  if (typeof node === "string")
@@ -712405,9 +712452,9 @@ function sumTextStringsIn(children, TextComp, path37 = ["<root>"]) {
712405
712452
  return acc;
712406
712453
  if (isElementOfLoose(node, TextComp)) {
712407
712454
  const next = getDisplayName(unwrapType(node.type));
712408
- return acc + sumTextStringsIn(node.props.children, TextComp, path37.concat(`<${next}>`));
712455
+ return acc + sumTextStringsIn(node.props.children, TextComp, path38.concat(`<${next}>`));
712409
712456
  }
712410
- throw new Error(`Unsupported child in Text tree at ${path37.join(" \u2192 ")}: ${describeNode(node)}`);
712457
+ throw new Error(`Unsupported child in Text tree at ${path38.join(" \u2192 ")}: ${describeNode(node)}`);
712411
712458
  }, 0);
712412
712459
  }
712413
712460
  function flattenChildren(children) {
@@ -712595,7 +712642,7 @@ var init_Separator = __esm(async () => {
712595
712642
  var require_package4 = __commonJS((exports7, module) => {
712596
712643
  module.exports = {
712597
712644
  name: "@botpress/adk",
712598
- version: "1.12.2",
712645
+ version: "1.12.4",
712599
712646
  description: "Core ADK library for building AI agents on Botpress",
712600
712647
  type: "module",
712601
712648
  main: "dist/index.js",
@@ -712642,7 +712689,7 @@ var require_package4 = __commonJS((exports7, module) => {
712642
712689
  "@botpress/cli": "^4.27.3",
712643
712690
  "@botpress/client": "^1.28.0",
712644
712691
  "@botpress/cognitive": "^0.2.0",
712645
- "@botpress/runtime": "^1.12.2",
712692
+ "@botpress/runtime": "^1.12.4",
712646
712693
  "@botpress/sdk": "^4.18.1",
712647
712694
  "@bpinternal/jex": "^1.2.4",
712648
712695
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -713536,7 +713583,7 @@ var init_DevStatus = __esm(async () => {
713536
713583
  });
713537
713584
 
713538
713585
  // src/components/LogsView.tsx
713539
- import { readFileSync as readFileSync9, existsSync as existsSync9, statSync as statSync2, watchFile, unwatchFile } from "fs";
713586
+ import { readFileSync as readFileSync9, existsSync as existsSync10, statSync as statSync2, watchFile, unwatchFile } from "fs";
713540
713587
  var import_react37, jsx_dev_runtime18, parseLogLine = (line, lineNumber) => {
713541
713588
  try {
713542
713589
  const parsed = JSON.parse(line);
@@ -713580,7 +713627,7 @@ var import_react37, jsx_dev_runtime18, parseLogLine = (line, lineNumber) => {
713580
713627
  });
713581
713628
  }
713582
713629
  import_react37.useEffect(() => {
713583
- if (!existsSync9(logFilePath)) {
713630
+ if (!existsSync10(logFilePath)) {
713584
713631
  return;
713585
713632
  }
713586
713633
  const checkForNewLogs = () => {
@@ -714536,12 +714583,12 @@ __export(exports_runtime_version_check, {
714536
714583
  getInstalledRuntimeVersion: () => getInstalledRuntimeVersion,
714537
714584
  checkRuntimeVersion: () => checkRuntimeVersion
714538
714585
  });
714539
- import { readFileSync as readFileSync10, existsSync as existsSync11 } from "fs";
714586
+ import { readFileSync as readFileSync10, existsSync as existsSync12 } from "fs";
714540
714587
  import { join as join12 } from "path";
714541
714588
  function getInstalledRuntimeVersion(agentRoot) {
714542
714589
  try {
714543
714590
  const runtimePackagePath = join12(agentRoot, "node_modules", "@botpress", "runtime", "package.json");
714544
- if (!existsSync11(runtimePackagePath)) {
714591
+ if (!existsSync12(runtimePackagePath)) {
714545
714592
  return null;
714546
714593
  }
714547
714594
  const packageJson = JSON.parse(readFileSync10(runtimePackagePath, "utf-8"));
@@ -714582,7 +714629,7 @@ function checkRuntimeVersion(agentRoot) {
714582
714629
  `));
714583
714630
  }
714584
714631
  }
714585
- var semver2, EXPECTED_RUNTIME_VERSION = "1.12.2", SUPPORTED_RUNTIME_RANGE = ">=1.11.0";
714632
+ var semver2, EXPECTED_RUNTIME_VERSION = "1.12.4", SUPPORTED_RUNTIME_RANGE = ">=1.11.0";
714586
714633
  var init_runtime_version_check = __esm(() => {
714587
714634
  init_source();
714588
714635
  semver2 = __toESM(require_semver2(), 1);
@@ -714616,7 +714663,7 @@ function updateWorkerStats(stats) {
714616
714663
  var serverConfig, serverStartTime, devCommandStatus = "running", latestWorkerStats = null;
714617
714664
 
714618
714665
  // src/utils/trace-reader.ts
714619
- import { existsSync as existsSync12, readFileSync as readFileSync11 } from "fs";
714666
+ import { existsSync as existsSync13, readFileSync as readFileSync11 } from "fs";
714620
714667
  import { join as join13 } from "path";
714621
714668
  import { Transform as Transform3 } from "stream";
714622
714669
 
@@ -714640,7 +714687,7 @@ class TraceReader {
714640
714687
  const indexedAttributes = ["conversationId", "messageId", "eventId", "userId", "workflowId"];
714641
714688
  if (indexedAttributes.includes(attributeName)) {
714642
714689
  const indexFile3 = this.getIndexFile();
714643
- if (existsSync12(indexFile3)) {
714690
+ if (existsSync13(indexFile3)) {
714644
714691
  const lines = readFileSync11(indexFile3, "utf-8").split(`
714645
714692
  `).filter(Boolean);
714646
714693
  for (let i2 = lines.length - 1;i2 >= 0; i2--) {
@@ -714660,7 +714707,7 @@ class TraceReader {
714660
714707
  }
714661
714708
  } else {
714662
714709
  const dayFile3 = this.getDayFile();
714663
- if (existsSync12(dayFile3)) {
714710
+ if (existsSync13(dayFile3)) {
714664
714711
  const lines = readFileSync11(dayFile3, "utf-8").split(`
714665
714712
  `).filter(Boolean);
714666
714713
  for (let i2 = lines.length - 1;i2 >= 0; i2--) {
@@ -714681,7 +714728,7 @@ class TraceReader {
714681
714728
  }
714682
714729
  for (const traceId of relatedTraceIds) {
714683
714730
  const traceFile = join13(this.byTraceDir, `${traceId}.ndjson`);
714684
- if (existsSync12(traceFile)) {
714731
+ if (existsSync13(traceFile)) {
714685
714732
  const traceLines = readFileSync11(traceFile, "utf-8").split(`
714686
714733
  `).filter(Boolean);
714687
714734
  for (const line of traceLines) {
@@ -714696,7 +714743,7 @@ class TraceReader {
714696
714743
  async getTraceById(traceId) {
714697
714744
  const spans = [];
714698
714745
  const traceFile = join13(this.byTraceDir, `${traceId}.ndjson`);
714699
- if (existsSync12(traceFile)) {
714746
+ if (existsSync13(traceFile)) {
714700
714747
  const lines = readFileSync11(traceFile, "utf-8").split(`
714701
714748
  `).filter(Boolean);
714702
714749
  for (const line of lines) {
@@ -714710,7 +714757,7 @@ class TraceReader {
714710
714757
  async getRecentTraces(limit = 100) {
714711
714758
  const spans = [];
714712
714759
  const dayFile3 = this.getDayFile();
714713
- if (existsSync12(dayFile3)) {
714760
+ if (existsSync13(dayFile3)) {
714714
714761
  const lines = readFileSync11(dayFile3, "utf-8").split(`
714715
714762
  `).filter(Boolean);
714716
714763
  const recentLines = lines.slice(-limit);
@@ -714725,7 +714772,7 @@ class TraceReader {
714725
714772
  async getAllTodayTraces() {
714726
714773
  const spans = [];
714727
714774
  const dayFile3 = this.getDayFile();
714728
- if (existsSync12(dayFile3)) {
714775
+ if (existsSync13(dayFile3)) {
714729
714776
  const lines = readFileSync11(dayFile3, "utf-8").split(`
714730
714777
  `).filter(Boolean);
714731
714778
  for (const line of lines) {
@@ -714744,11 +714791,11 @@ class TraceReader {
714744
714791
  callback();
714745
714792
  }
714746
714793
  });
714747
- if (existsSync12(this.liveFile)) {
714794
+ if (existsSync13(this.liveFile)) {
714748
714795
  let lastSize = 0;
714749
714796
  const watcher = setInterval(() => {
714750
714797
  try {
714751
- const stats = existsSync12(this.liveFile) ? __require("fs").statSync(this.liveFile) : null;
714798
+ const stats = existsSync13(this.liveFile) ? __require("fs").statSync(this.liveFile) : null;
714752
714799
  if (stats && stats.size > lastSize) {
714753
714800
  const newContent = readFileSync11(this.liveFile, "utf-8");
714754
714801
  const lines = newContent.split(`
@@ -714793,12 +714840,12 @@ class TraceReader {
714793
714840
 
714794
714841
  `));
714795
714842
  let id3 = 0;
714796
- if (existsSync12(this.liveFile)) {
714843
+ if (existsSync13(this.liveFile)) {
714797
714844
  const stats = __require("fs").statSync(this.liveFile);
714798
714845
  filePosition = stats.size;
714799
714846
  }
714800
714847
  watchTimer = setInterval(async () => {
714801
- if (!existsSync12(this.liveFile))
714848
+ if (!existsSync13(this.liveFile))
714802
714849
  return;
714803
714850
  try {
714804
714851
  const stats = __require("fs").statSync(this.liveFile);
@@ -714807,8 +714854,8 @@ class TraceReader {
714807
714854
  partialLine = "";
714808
714855
  }
714809
714856
  if (stats.size > filePosition) {
714810
- const fs19 = __require("fs");
714811
- const stream7 = fs19.createReadStream(this.liveFile, {
714857
+ const fs20 = __require("fs");
714858
+ const stream7 = fs20.createReadStream(this.liveFile, {
714812
714859
  encoding: "utf-8",
714813
714860
  start: filePosition,
714814
714861
  end: stats.size - 1
@@ -715007,13 +715054,13 @@ var init_validation2 = __esm(() => {
715007
715054
  });
715008
715055
 
715009
715056
  // src/server/handlers/health.ts
715010
- import { existsSync as existsSync13, readFileSync as readFileSync12 } from "fs";
715057
+ import { existsSync as existsSync14, readFileSync as readFileSync12 } from "fs";
715011
715058
  import { join as join14 } from "path";
715012
715059
  async function handleHealth() {
715013
715060
  let adkVersion = "unknown";
715014
715061
  try {
715015
715062
  const adkPackagePath = join14(process.cwd(), "node_modules/@botpress/adk/package.json");
715016
- if (existsSync13(adkPackagePath)) {
715063
+ if (existsSync14(adkPackagePath)) {
715017
715064
  const pkg = JSON.parse(readFileSync12(adkPackagePath, "utf-8"));
715018
715065
  adkVersion = pkg.version;
715019
715066
  }
@@ -715065,7 +715112,7 @@ var init_worker_stats = __esm(() => {
715065
715112
  });
715066
715113
 
715067
715114
  // src/server/handlers/agent.ts
715068
- import { existsSync as existsSync14, readFileSync as readFileSync13 } from "fs";
715115
+ import { existsSync as existsSync15, readFileSync as readFileSync13 } from "fs";
715069
715116
  import { join as join15 } from "path";
715070
715117
  function handleAgentInfo() {
715071
715118
  const serverConfig2 = getServerConfig();
@@ -715075,14 +715122,14 @@ function handleAgentInfo() {
715075
715122
  let agentInfo = {
715076
715123
  path: serverConfig2.agentPath
715077
715124
  };
715078
- if (existsSync14(agentConfigPath)) {
715125
+ if (existsSync15(agentConfigPath)) {
715079
715126
  const configContent = readFileSync13(agentConfigPath, "utf-8");
715080
715127
  const nameMatch = configContent.match(/name:\s*['"`]([^'"`]+)['"`]/);
715081
715128
  const versionMatch = configContent.match(/version:\s*['"`]([^'"`]+)['"`]/);
715082
715129
  agentInfo.name = nameMatch?.[1] || "unknown";
715083
715130
  agentInfo.version = versionMatch?.[1] || "0.0.0";
715084
715131
  }
715085
- if (existsSync14(agentJsonPath)) {
715132
+ if (existsSync15(agentJsonPath)) {
715086
715133
  try {
715087
715134
  const agentJson = JSON.parse(readFileSync13(agentJsonPath, "utf-8"));
715088
715135
  agentInfo = { ...agentInfo, ...agentJson };
@@ -715264,7 +715311,7 @@ var init_inspector = __esm(() => {
715264
715311
  });
715265
715312
 
715266
715313
  // src/server/routes/streaming.ts
715267
- import { existsSync as existsSync15, createReadStream as createReadStream4, statSync as statSync3, watch as watch3 } from "fs";
715314
+ import { existsSync as existsSync16, createReadStream as createReadStream4, statSync as statSync3, watch as watch3 } from "fs";
715268
715315
  import { createInterface as createInterface2 } from "readline";
715269
715316
  function handleSSEStream(req) {
715270
715317
  const headers = {
@@ -715303,7 +715350,7 @@ function streamLogs(logFilePath) {
715303
715350
  `));
715304
715351
  };
715305
715352
  try {
715306
- if (existsSync15(logFilePath)) {
715353
+ if (existsSync16(logFilePath)) {
715307
715354
  const fileStream = createReadStream4(logFilePath, { encoding: "utf-8" });
715308
715355
  const rl = createInterface2({
715309
715356
  input: fileStream,
@@ -715318,9 +715365,9 @@ function streamLogs(logFilePath) {
715318
715365
  }
715319
715366
  }
715320
715367
  }
715321
- let lastSize = existsSync15(logFilePath) ? statSync3(logFilePath).size : 0;
715368
+ let lastSize = existsSync16(logFilePath) ? statSync3(logFilePath).size : 0;
715322
715369
  const watcher = watch3(logFilePath, async (eventType) => {
715323
- if (eventType === "change" && existsSync15(logFilePath)) {
715370
+ if (eventType === "change" && existsSync16(logFilePath)) {
715324
715371
  const currentSize = statSync3(logFilePath).size;
715325
715372
  if (currentSize > lastSize) {
715326
715373
  const fileStream = createReadStream4(logFilePath, {
@@ -715441,8 +715488,8 @@ var init_api = __esm(() => {
715441
715488
  });
715442
715489
 
715443
715490
  // src/utils/embedded-assets.ts
715444
- function getEmbeddedAsset(path37) {
715445
- return embeddedAssets.find((asset) => asset.path === path37);
715491
+ function getEmbeddedAsset(path38) {
715492
+ return embeddedAssets.find((asset) => asset.path === path38);
715446
715493
  }
715447
715494
  function hasEmbeddedAssets() {
715448
715495
  return embeddedAssets.length > 0;
@@ -718357,16 +718404,16 @@ function getContentType(pathname) {
718357
718404
  }
718358
718405
 
718359
718406
  // src/server/routes/static.ts
718360
- import { readFileSync as readFileSync14, existsSync as existsSync16 } from "fs";
718407
+ import { readFileSync as readFileSync14, existsSync as existsSync17 } from "fs";
718361
718408
  import { join as join16, resolve as resolve5 } from "path";
718362
- import path44 from "path";
718409
+ import path46 from "path";
718363
718410
  import { fileURLToPath as fileURLToPath11 } from "url";
718364
718411
  function getUIDistPath() {
718365
718412
  const __filename2 = fileURLToPath11(import.meta.url);
718366
- const __dirname5 = path44.dirname(__filename2);
718413
+ const __dirname5 = path46.dirname(__filename2);
718367
718414
  const isBinary = !__filename2.endsWith(".js") && !__filename2.endsWith(".ts");
718368
718415
  if (isBinary) {
718369
- const execDir = path44.dirname(process.execPath);
718416
+ const execDir = path46.dirname(process.execPath);
718370
718417
  return resolve5(execDir, "assets/ui-dist");
718371
718418
  } else {
718372
718419
  const isCompiledDist = __filename2.includes("/dist/");
@@ -718388,7 +718435,7 @@ function serveStaticFile(pathname, uiDistPath) {
718388
718435
  }
718389
718436
  }
718390
718437
  const indexPath2 = join16(uiDistPath, "index.html");
718391
- if (existsSync16(indexPath2)) {
718438
+ if (existsSync17(indexPath2)) {
718392
718439
  return new Response(readFileSync14(indexPath2), {
718393
718440
  headers: {
718394
718441
  "Content-Type": "text/html",
@@ -718416,7 +718463,7 @@ function serveStaticFile(pathname, uiDistPath) {
718416
718463
  if (pathname.startsWith("/assets/")) {
718417
718464
  filePath = join16(uiDistPath, pathname);
718418
718465
  }
718419
- if (existsSync16(filePath)) {
718466
+ if (existsSync17(filePath)) {
718420
718467
  const file = readFileSync14(filePath);
718421
718468
  return new Response(file, {
718422
718469
  headers: {
@@ -718437,7 +718484,7 @@ function serveStaticFile(pathname, uiDistPath) {
718437
718484
  }
718438
718485
  }
718439
718486
  const indexPath = join16(uiDistPath, "index.html");
718440
- if (existsSync16(indexPath)) {
718487
+ if (existsSync17(indexPath)) {
718441
718488
  return new Response(readFileSync14(indexPath), {
718442
718489
  headers: {
718443
718490
  "Content-Type": "text/html",
@@ -718506,7 +718553,7 @@ var init_server = __esm(() => {
718506
718553
  // src/utils/node-inspector.ts
718507
718554
  import { spawn as spawn3 } from "child_process";
718508
718555
  import os11 from "os";
718509
- import path46 from "path";
718556
+ import path47 from "path";
718510
718557
  function openDevtools(url4) {
718511
718558
  const platform5 = os11.platform();
718512
718559
  if (platform5 === "darwin") {
@@ -718525,9 +718572,9 @@ function openDevtools(url4) {
718525
718572
  }).unref();
718526
718573
  };
718527
718574
  const candidates = [
718528
- path46.join(process.env["ProgramFiles"] ?? "", "Google/Chrome/Application/chrome.exe"),
718529
- path46.join(process.env["ProgramFiles(x86)"] ?? "", "Google/Chrome/Application/chrome.exe"),
718530
- path46.join(process.env["LocalAppData"] ?? "", "Google/Chrome/Application/chrome.exe")
718575
+ path47.join(process.env["ProgramFiles"] ?? "", "Google/Chrome/Application/chrome.exe"),
718576
+ path47.join(process.env["ProgramFiles(x86)"] ?? "", "Google/Chrome/Application/chrome.exe"),
718577
+ path47.join(process.env["LocalAppData"] ?? "", "Google/Chrome/Application/chrome.exe")
718531
718578
  ].filter(Boolean);
718532
718579
  return tryStart(candidates.find(() => true));
718533
718580
  }
@@ -718626,7 +718673,7 @@ var init_debugger = __esm(() => {
718626
718673
  });
718627
718674
 
718628
718675
  // src/utils/inspector-pid-cache.ts
718629
- import { existsSync as existsSync17, readFileSync as readFileSync15, writeFileSync as writeFileSync5, mkdirSync as mkdirSync2 } from "fs";
718676
+ import { existsSync as existsSync18, readFileSync as readFileSync15, writeFileSync as writeFileSync5, mkdirSync as mkdirSync2 } from "fs";
718630
718677
  import { join as join17 } from "path";
718631
718678
  function getCachePath(agentRoot) {
718632
718679
  const adkDir = join17(agentRoot, ".adk");
@@ -718635,7 +718682,7 @@ function getCachePath(agentRoot) {
718635
718682
  }
718636
718683
  function readCache2(agentRoot) {
718637
718684
  const cachePath = getCachePath(agentRoot);
718638
- if (!existsSync17(cachePath)) {
718685
+ if (!existsSync18(cachePath)) {
718639
718686
  return { pids: [] };
718640
718687
  }
718641
718688
  try {
@@ -718687,7 +718734,7 @@ __export(exports_adk_dev, {
718687
718734
  adkDev: () => adkDev
718688
718735
  });
718689
718736
  import { createWriteStream as createWriteStream3, mkdirSync as mkdirSync3 } from "fs";
718690
- import path47 from "path";
718737
+ import path48 from "path";
718691
718738
  async function adkDev(port = "3000", options = {
718692
718739
  ui: true,
718693
718740
  logs: false
@@ -718706,9 +718753,9 @@ async function adkDev(port = "3000", options = {
718706
718753
  const dateStr = now2.toISOString().replace(/[:.]/g, "-").split("T")[0];
718707
718754
  const timeStr = now2.toTimeString().split(" ")[0].replace(/:/g, "-");
718708
718755
  const logFileName = `adk-dev-${dateStr}-${timeStr}.log`;
718709
- const logsDir = path47.join(agentRoot, ".adk", "logs");
718756
+ const logsDir = path48.join(agentRoot, ".adk", "logs");
718710
718757
  mkdirSync3(logsDir, { recursive: true });
718711
- const logFilePath = path47.join(logsDir, logFileName);
718758
+ const logFilePath = path48.join(logsDir, logFileName);
718712
718759
  const { unmount, waitUntilExit } = render_default(/* @__PURE__ */ jsx_dev_runtime23.jsxDEV(DevUI, {
718713
718760
  port,
718714
718761
  portConsole,
@@ -718958,7 +719005,7 @@ var import_react39, jsx_dev_runtime23, DevUI = ({ port, portConsole, options, lo
718958
719005
  };
718959
719006
  const setupLogging = () => {
718960
719007
  const agentRoot = debuggerRef.current.agentRoot;
718961
- const logsDir = path47.join(agentRoot, ".adk", "logs");
719008
+ const logsDir = path48.join(agentRoot, ".adk", "logs");
718962
719009
  mkdirSync3(logsDir, { recursive: true });
718963
719010
  const logStream = createWriteStream3(logFilePath, { flags: "a" });
718964
719011
  return logStream;
@@ -718975,7 +719022,7 @@ var import_react39, jsx_dev_runtime23, DevUI = ({ port, portConsole, options, lo
718975
719022
  };
718976
719023
  const generateBot = async (agentProject2) => {
718977
719024
  addActivity("Generating bot project...");
718978
- const botPath = path47.join(agentProject2.path, ".adk", "bot");
719025
+ const botPath = path48.join(agentProject2.path, ".adk", "bot");
718979
719026
  await generateBotProject({
718980
719027
  projectPath: agentProject2.path,
718981
719028
  outputPath: botPath
@@ -719709,7 +719756,7 @@ var exports_adk_build = {};
719709
719756
  __export(exports_adk_build, {
719710
719757
  adkBuild: () => adkBuild
719711
719758
  });
719712
- import path48 from "path";
719759
+ import path49 from "path";
719713
719760
  async function adkBuild(options = {}) {
719714
719761
  const { silent = false } = options;
719715
719762
  const log4 = silent ? () => {} : console.log;
@@ -719735,7 +719782,7 @@ async function adkBuild(options = {}) {
719735
719782
  log4(source_default.yellow("\u26A0\uFE0F No assets directory found, skipping asset type generation"));
719736
719783
  }
719737
719784
  log4(source_default.cyan("\uD83D\uDD28 Generating Botpress bot project..."));
719738
- const botPath = path48.join(project.path, ".adk", "bot");
719785
+ const botPath = path49.join(project.path, ".adk", "bot");
719739
719786
  await generateBotProject({
719740
719787
  projectPath: project.path,
719741
719788
  outputPath: botPath
@@ -719747,7 +719794,7 @@ async function adkBuild(options = {}) {
719747
719794
  await buildCommand.output();
719748
719795
  log4(source_default.green(`
719749
719796
  \u2705 Build completed successfully!`));
719750
- log4(source_default.gray(`\uD83D\uDCE6 Output directory: ${path48.join(botPath, ".botpress", "dist")}`));
719797
+ log4(source_default.gray(`\uD83D\uDCE6 Output directory: ${path49.join(botPath, ".botpress", "dist")}`));
719751
719798
  log4(source_default.gray(`
719752
719799
  Next steps:`));
719753
719800
  log4(source_default.gray(" - Run `adk deploy` to deploy your agent"));
@@ -720078,7 +720125,7 @@ var exports_adk_deploy = {};
720078
720125
  __export(exports_adk_deploy, {
720079
720126
  adkDeploy: () => adkDeploy
720080
720127
  });
720081
- import path49 from "path";
720128
+ import path50 from "path";
720082
720129
  import readline from "readline";
720083
720130
  async function promptUserApproval() {
720084
720131
  const readlineInterface = readline.createInterface({
@@ -720162,7 +720209,7 @@ async function adkDeploy(environment = "production", options = {}) {
720162
720209
  }
720163
720210
  const credentials = await auth.getAgentCredentials(agentRoot);
720164
720211
  const workspaceId = credentials.workspaceId;
720165
- const botPath = path49.join(project.path, ".adk", "bot");
720212
+ const botPath = path50.join(project.path, ".adk", "bot");
720166
720213
  console.log(source_default.cyan(`
720167
720214
  \uD83D\uDCE4 Deploying bot to Botpress...`));
720168
720215
  const deployCommand = new BpDeployCommand({
@@ -722533,11 +722580,11 @@ var init_adk_integration = __esm(async () => {
722533
722580
 
722534
722581
  // ../../node_modules/@isaacs/fs-minipass/dist/esm/index.js
722535
722582
  import EE3 from "events";
722536
- import fs28 from "fs";
722583
+ import fs29 from "fs";
722537
722584
  var writev, _autoClose, _close, _ended, _fd, _finished, _flags, _flush, _handleChunk, _makeBuf, _mode, _needDrain, _onerror, _onopen, _onread, _onwrite, _open, _path, _pos, _queue, _read, _readSize, _reading, _remain, _size, _write, _writing, _defaultFlag, _errored, ReadStream, ReadStreamSync, WriteStream, WriteStreamSync;
722538
722585
  var init_esm17 = __esm(() => {
722539
722586
  init_esm13();
722540
- writev = fs28.writev;
722587
+ writev = fs29.writev;
722541
722588
  _autoClose = Symbol("_autoClose");
722542
722589
  _close = Symbol("_close");
722543
722590
  _ended = Symbol("_ended");
@@ -722575,17 +722622,17 @@ var init_esm17 = __esm(() => {
722575
722622
  [_size];
722576
722623
  [_remain];
722577
722624
  [_autoClose];
722578
- constructor(path37, opt) {
722625
+ constructor(path38, opt) {
722579
722626
  opt = opt || {};
722580
722627
  super(opt);
722581
722628
  this.readable = true;
722582
722629
  this.writable = false;
722583
- if (typeof path37 !== "string") {
722630
+ if (typeof path38 !== "string") {
722584
722631
  throw new TypeError("path must be a string");
722585
722632
  }
722586
722633
  this[_errored] = false;
722587
722634
  this[_fd] = typeof opt.fd === "number" ? opt.fd : undefined;
722588
- this[_path] = path37;
722635
+ this[_path] = path38;
722589
722636
  this[_readSize] = opt.readSize || 16 * 1024 * 1024;
722590
722637
  this[_reading] = false;
722591
722638
  this[_size] = typeof opt.size === "number" ? opt.size : Infinity;
@@ -722610,7 +722657,7 @@ var init_esm17 = __esm(() => {
722610
722657
  throw new TypeError("this is a readable stream");
722611
722658
  }
722612
722659
  [_open]() {
722613
- fs28.open(this[_path], "r", (er3, fd4) => this[_onopen](er3, fd4));
722660
+ fs29.open(this[_path], "r", (er3, fd4) => this[_onopen](er3, fd4));
722614
722661
  }
722615
722662
  [_onopen](er3, fd4) {
722616
722663
  if (er3) {
@@ -722631,7 +722678,7 @@ var init_esm17 = __esm(() => {
722631
722678
  if (buf.length === 0) {
722632
722679
  return process.nextTick(() => this[_onread](null, 0, buf));
722633
722680
  }
722634
- fs28.read(this[_fd], buf, 0, buf.length, null, (er3, br3, b5) => this[_onread](er3, br3, b5));
722681
+ fs29.read(this[_fd], buf, 0, buf.length, null, (er3, br3, b5) => this[_onread](er3, br3, b5));
722635
722682
  }
722636
722683
  }
722637
722684
  [_onread](er3, br3, buf) {
@@ -722646,7 +722693,7 @@ var init_esm17 = __esm(() => {
722646
722693
  if (this[_autoClose] && typeof this[_fd] === "number") {
722647
722694
  const fd4 = this[_fd];
722648
722695
  this[_fd] = undefined;
722649
- fs28.close(fd4, (er3) => er3 ? this.emit("error", er3) : this.emit("close"));
722696
+ fs29.close(fd4, (er3) => er3 ? this.emit("error", er3) : this.emit("close"));
722650
722697
  }
722651
722698
  }
722652
722699
  [_onerror](er3) {
@@ -722692,7 +722739,7 @@ var init_esm17 = __esm(() => {
722692
722739
  [_open]() {
722693
722740
  let threw = true;
722694
722741
  try {
722695
- this[_onopen](null, fs28.openSync(this[_path], "r"));
722742
+ this[_onopen](null, fs29.openSync(this[_path], "r"));
722696
722743
  threw = false;
722697
722744
  } finally {
722698
722745
  if (threw) {
@@ -722707,7 +722754,7 @@ var init_esm17 = __esm(() => {
722707
722754
  this[_reading] = true;
722708
722755
  do {
722709
722756
  const buf = this[_makeBuf]();
722710
- const br3 = buf.length === 0 ? 0 : fs28.readSync(this[_fd], buf, 0, buf.length, null);
722757
+ const br3 = buf.length === 0 ? 0 : fs29.readSync(this[_fd], buf, 0, buf.length, null);
722711
722758
  if (!this[_handleChunk](br3, buf)) {
722712
722759
  break;
722713
722760
  }
@@ -722725,7 +722772,7 @@ var init_esm17 = __esm(() => {
722725
722772
  if (this[_autoClose] && typeof this[_fd] === "number") {
722726
722773
  const fd4 = this[_fd];
722727
722774
  this[_fd] = undefined;
722728
- fs28.closeSync(fd4);
722775
+ fs29.closeSync(fd4);
722729
722776
  this.emit("close");
722730
722777
  }
722731
722778
  }
@@ -722746,10 +722793,10 @@ var init_esm17 = __esm(() => {
722746
722793
  [_flags];
722747
722794
  [_finished] = false;
722748
722795
  [_pos];
722749
- constructor(path37, opt) {
722796
+ constructor(path38, opt) {
722750
722797
  opt = opt || {};
722751
722798
  super(opt);
722752
- this[_path] = path37;
722799
+ this[_path] = path38;
722753
722800
  this[_fd] = typeof opt.fd === "number" ? opt.fd : undefined;
722754
722801
  this[_mode] = opt.mode === undefined ? 438 : opt.mode;
722755
722802
  this[_pos] = typeof opt.start === "number" ? opt.start : undefined;
@@ -722782,7 +722829,7 @@ var init_esm17 = __esm(() => {
722782
722829
  this.emit("error", er3);
722783
722830
  }
722784
722831
  [_open]() {
722785
- fs28.open(this[_path], this[_flags], this[_mode], (er3, fd4) => this[_onopen](er3, fd4));
722832
+ fs29.open(this[_path], this[_flags], this[_mode], (er3, fd4) => this[_onopen](er3, fd4));
722786
722833
  }
722787
722834
  [_onopen](er3, fd4) {
722788
722835
  if (this[_defaultFlag] && this[_flags] === "r+" && er3 && er3.code === "ENOENT") {
@@ -722826,7 +722873,7 @@ var init_esm17 = __esm(() => {
722826
722873
  return true;
722827
722874
  }
722828
722875
  [_write](buf) {
722829
- fs28.write(this[_fd], buf, 0, buf.length, this[_pos], (er3, bw3) => this[_onwrite](er3, bw3));
722876
+ fs29.write(this[_fd], buf, 0, buf.length, this[_pos], (er3, bw3) => this[_onwrite](er3, bw3));
722830
722877
  }
722831
722878
  [_onwrite](er3, bw3) {
722832
722879
  if (er3) {
@@ -722867,7 +722914,7 @@ var init_esm17 = __esm(() => {
722867
722914
  if (this[_autoClose] && typeof this[_fd] === "number") {
722868
722915
  const fd4 = this[_fd];
722869
722916
  this[_fd] = undefined;
722870
- fs28.close(fd4, (er3) => er3 ? this.emit("error", er3) : this.emit("close"));
722917
+ fs29.close(fd4, (er3) => er3 ? this.emit("error", er3) : this.emit("close"));
722871
722918
  }
722872
722919
  }
722873
722920
  };
@@ -722876,7 +722923,7 @@ var init_esm17 = __esm(() => {
722876
722923
  let fd4;
722877
722924
  if (this[_defaultFlag] && this[_flags] === "r+") {
722878
722925
  try {
722879
- fd4 = fs28.openSync(this[_path], this[_flags], this[_mode]);
722926
+ fd4 = fs29.openSync(this[_path], this[_flags], this[_mode]);
722880
722927
  } catch (er3) {
722881
722928
  if (er3?.code === "ENOENT") {
722882
722929
  this[_flags] = "w";
@@ -722886,7 +722933,7 @@ var init_esm17 = __esm(() => {
722886
722933
  }
722887
722934
  }
722888
722935
  } else {
722889
- fd4 = fs28.openSync(this[_path], this[_flags], this[_mode]);
722936
+ fd4 = fs29.openSync(this[_path], this[_flags], this[_mode]);
722890
722937
  }
722891
722938
  this[_onopen](null, fd4);
722892
722939
  }
@@ -722894,14 +722941,14 @@ var init_esm17 = __esm(() => {
722894
722941
  if (this[_autoClose] && typeof this[_fd] === "number") {
722895
722942
  const fd4 = this[_fd];
722896
722943
  this[_fd] = undefined;
722897
- fs28.closeSync(fd4);
722944
+ fs29.closeSync(fd4);
722898
722945
  this.emit("close");
722899
722946
  }
722900
722947
  }
722901
722948
  [_write](buf) {
722902
722949
  let threw = true;
722903
722950
  try {
722904
- this[_onwrite](null, fs28.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
722951
+ this[_onwrite](null, fs29.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
722905
722952
  threw = false;
722906
722953
  } finally {
722907
722954
  if (threw) {
@@ -723607,10 +723654,10 @@ class Header {
723607
723654
  }
723608
723655
  const prefixSize = this.ctime || this.atime ? 130 : 155;
723609
723656
  const split = splitPrefix(this.path || "", prefixSize);
723610
- const path37 = split[0];
723657
+ const path38 = split[0];
723611
723658
  const prefix = split[1];
723612
723659
  this.needPax = !!split[2];
723613
- this.needPax = encString(buf, off3, 100, path37) || this.needPax;
723660
+ this.needPax = encString(buf, off3, 100, path38) || this.needPax;
723614
723661
  this.needPax = encNumber(buf, off3 + 100, 8, this.mode) || this.needPax;
723615
723662
  this.needPax = encNumber(buf, off3 + 108, 8, this.uid) || this.needPax;
723616
723663
  this.needPax = encNumber(buf, off3 + 116, 8, this.gid) || this.needPax;
@@ -724462,7 +724509,7 @@ var stripTrailingSlashes = (str) => {
724462
724509
  };
724463
724510
 
724464
724511
  // ../../node_modules/tar/dist/esm/list.js
724465
- import fs29 from "fs";
724512
+ import fs30 from "fs";
724466
724513
  import { dirname as dirname4, parse as parse9 } from "path";
724467
724514
  var onReadEntryFunction = (opt) => {
724468
724515
  const onReadEntry = opt.onReadEntry;
@@ -724495,18 +724542,18 @@ var onReadEntryFunction = (opt) => {
724495
724542
  const file = opt.file;
724496
724543
  let fd4;
724497
724544
  try {
724498
- fd4 = fs29.openSync(file, "r");
724499
- const stat2 = fs29.fstatSync(fd4);
724545
+ fd4 = fs30.openSync(file, "r");
724546
+ const stat2 = fs30.fstatSync(fd4);
724500
724547
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
724501
724548
  if (stat2.size < readSize) {
724502
724549
  const buf = Buffer.allocUnsafe(stat2.size);
724503
- fs29.readSync(fd4, buf, 0, stat2.size, 0);
724550
+ fs30.readSync(fd4, buf, 0, stat2.size, 0);
724504
724551
  p.end(buf);
724505
724552
  } else {
724506
724553
  let pos2 = 0;
724507
724554
  const buf = Buffer.allocUnsafe(readSize);
724508
724555
  while (pos2 < stat2.size) {
724509
- const bytesRead = fs29.readSync(fd4, buf, 0, readSize, pos2);
724556
+ const bytesRead = fs30.readSync(fd4, buf, 0, readSize, pos2);
724510
724557
  pos2 += bytesRead;
724511
724558
  p.write(buf.subarray(0, bytesRead));
724512
724559
  }
@@ -724515,7 +724562,7 @@ var onReadEntryFunction = (opt) => {
724515
724562
  } finally {
724516
724563
  if (typeof fd4 === "number") {
724517
724564
  try {
724518
- fs29.closeSync(fd4);
724565
+ fs30.closeSync(fd4);
724519
724566
  } catch (er3) {}
724520
724567
  }
724521
724568
  }
@@ -724526,7 +724573,7 @@ var onReadEntryFunction = (opt) => {
724526
724573
  const p = new Promise((resolve6, reject) => {
724527
724574
  parse10.on("error", reject);
724528
724575
  parse10.on("end", resolve6);
724529
- fs29.stat(file, (er3, stat2) => {
724576
+ fs30.stat(file, (er3, stat2) => {
724530
724577
  if (er3) {
724531
724578
  reject(er3);
724532
724579
  } else {
@@ -724575,16 +724622,16 @@ var modeFix = (mode, isDir, portable) => {
724575
724622
 
724576
724623
  // ../../node_modules/tar/dist/esm/strip-absolute-path.js
724577
724624
  import { win32 as win325 } from "path";
724578
- var isAbsolute3, parse10, stripAbsolutePath = (path37) => {
724625
+ var isAbsolute3, parse10, stripAbsolutePath = (path38) => {
724579
724626
  let r = "";
724580
- let parsed = parse10(path37);
724581
- while (isAbsolute3(path37) || parsed.root) {
724582
- const root5 = path37.charAt(0) === "/" && path37.slice(0, 4) !== "//?/" ? "/" : parsed.root;
724583
- path37 = path37.slice(root5.length);
724627
+ let parsed = parse10(path38);
724628
+ while (isAbsolute3(path38) || parsed.root) {
724629
+ const root5 = path38.charAt(0) === "/" && path38.slice(0, 4) !== "//?/" ? "/" : parsed.root;
724630
+ path38 = path38.slice(root5.length);
724584
724631
  r += root5;
724585
- parsed = parse10(path37);
724632
+ parsed = parse10(path38);
724586
724633
  }
724587
- return [r, path37];
724634
+ return [r, path38];
724588
724635
  };
724589
724636
  var init_strip_absolute_path = __esm(() => {
724590
724637
  ({ isAbsolute: isAbsolute3, parse: parse10 } = win325);
@@ -724600,14 +724647,14 @@ var init_winchars = __esm(() => {
724600
724647
  });
724601
724648
 
724602
724649
  // ../../node_modules/tar/dist/esm/write-entry.js
724603
- import fs30 from "fs";
724604
- import path50 from "path";
724605
- var prefixPath = (path37, prefix) => {
724650
+ import fs31 from "fs";
724651
+ import path51 from "path";
724652
+ var prefixPath = (path38, prefix) => {
724606
724653
  if (!prefix) {
724607
- return normalizeWindowsPath2(path37);
724654
+ return normalizeWindowsPath2(path38);
724608
724655
  }
724609
- path37 = normalizeWindowsPath2(path37).replace(/^\.(\/|$)/, "");
724610
- return stripTrailingSlashes(prefix) + "/" + path37;
724656
+ path38 = normalizeWindowsPath2(path38).replace(/^\.(\/|$)/, "");
724657
+ return stripTrailingSlashes(prefix) + "/" + path38;
724611
724658
  }, maxReadSize, PROCESS4, FILE, DIRECTORY, SYMLINK, HARDLINK, HEADER, READ4, LSTAT, ONLSTAT, ONREAD, ONREADLINK, OPENFILE, ONOPENFILE, CLOSE, MODE, AWAITDRAIN, ONDRAIN, PREFIX, WriteEntry, WriteEntrySync, WriteEntryTar, getType = (stat2) => stat2.isFile() ? "File" : stat2.isDirectory() ? "Directory" : stat2.isSymbolicLink() ? "SymbolicLink" : "Unsupported";
724612
724659
  var init_write_entry = __esm(() => {
724613
724660
  init_esm13();
@@ -724699,7 +724746,7 @@ var init_write_entry = __esm(() => {
724699
724746
  this.path = decode(this.path.replace(/\\/g, "/"));
724700
724747
  p = p.replace(/\\/g, "/");
724701
724748
  }
724702
- this.absolute = normalizeWindowsPath2(opt.absolute || path50.resolve(this.cwd, p));
724749
+ this.absolute = normalizeWindowsPath2(opt.absolute || path51.resolve(this.cwd, p));
724703
724750
  if (this.path === "") {
724704
724751
  this.path = "./";
724705
724752
  }
@@ -724726,7 +724773,7 @@ var init_write_entry = __esm(() => {
724726
724773
  return super.emit(ev4, ...data);
724727
724774
  }
724728
724775
  [LSTAT]() {
724729
- fs30.lstat(this.absolute, (er3, stat2) => {
724776
+ fs31.lstat(this.absolute, (er3, stat2) => {
724730
724777
  if (er3) {
724731
724778
  return this.emit("error", er3);
724732
724779
  }
@@ -724758,8 +724805,8 @@ var init_write_entry = __esm(() => {
724758
724805
  [MODE](mode) {
724759
724806
  return modeFix(mode, this.type === "Directory", this.portable);
724760
724807
  }
724761
- [PREFIX](path37) {
724762
- return prefixPath(path37, this.prefix);
724808
+ [PREFIX](path38) {
724809
+ return prefixPath(path38, this.prefix);
724763
724810
  }
724764
724811
  [HEADER]() {
724765
724812
  if (!this.stat) {
@@ -724816,7 +724863,7 @@ var init_write_entry = __esm(() => {
724816
724863
  this.end();
724817
724864
  }
724818
724865
  [SYMLINK]() {
724819
- fs30.readlink(this.absolute, (er3, linkpath) => {
724866
+ fs31.readlink(this.absolute, (er3, linkpath) => {
724820
724867
  if (er3) {
724821
724868
  return this.emit("error", er3);
724822
724869
  }
@@ -724833,7 +724880,7 @@ var init_write_entry = __esm(() => {
724833
724880
  throw new Error("cannot create link entry without stat");
724834
724881
  }
724835
724882
  this.type = "Link";
724836
- this.linkpath = normalizeWindowsPath2(path50.relative(this.cwd, linkpath));
724883
+ this.linkpath = normalizeWindowsPath2(path51.relative(this.cwd, linkpath));
724837
724884
  this.stat.size = 0;
724838
724885
  this[HEADER]();
724839
724886
  this.end();
@@ -724857,7 +724904,7 @@ var init_write_entry = __esm(() => {
724857
724904
  this[OPENFILE]();
724858
724905
  }
724859
724906
  [OPENFILE]() {
724860
- fs30.open(this.absolute, "r", (er3, fd4) => {
724907
+ fs31.open(this.absolute, "r", (er3, fd4) => {
724861
724908
  if (er3) {
724862
724909
  return this.emit("error", er3);
724863
724910
  }
@@ -724887,7 +724934,7 @@ var init_write_entry = __esm(() => {
724887
724934
  if (fd4 === undefined || buf === undefined) {
724888
724935
  throw new Error("cannot read file without first opening");
724889
724936
  }
724890
- fs30.read(fd4, buf, offset2, length, pos2, (er3, bytesRead) => {
724937
+ fs31.read(fd4, buf, offset2, length, pos2, (er3, bytesRead) => {
724891
724938
  if (er3) {
724892
724939
  return this[CLOSE](() => this.emit("error", er3));
724893
724940
  }
@@ -724896,7 +724943,7 @@ var init_write_entry = __esm(() => {
724896
724943
  }
724897
724944
  [CLOSE](cb4 = () => {}) {
724898
724945
  if (this.fd !== undefined)
724899
- fs30.close(this.fd, cb4);
724946
+ fs31.close(this.fd, cb4);
724900
724947
  }
724901
724948
  [ONREAD](bytesRead) {
724902
724949
  if (bytesRead <= 0 && this.remain > 0) {
@@ -724977,13 +725024,13 @@ var init_write_entry = __esm(() => {
724977
725024
  WriteEntrySync = class WriteEntrySync extends WriteEntry {
724978
725025
  sync = true;
724979
725026
  [LSTAT]() {
724980
- this[ONLSTAT](fs30.lstatSync(this.absolute));
725027
+ this[ONLSTAT](fs31.lstatSync(this.absolute));
724981
725028
  }
724982
725029
  [SYMLINK]() {
724983
- this[ONREADLINK](fs30.readlinkSync(this.absolute));
725030
+ this[ONREADLINK](fs31.readlinkSync(this.absolute));
724984
725031
  }
724985
725032
  [OPENFILE]() {
724986
- this[ONOPENFILE](fs30.openSync(this.absolute, "r"));
725033
+ this[ONOPENFILE](fs31.openSync(this.absolute, "r"));
724987
725034
  }
724988
725035
  [READ4]() {
724989
725036
  let threw = true;
@@ -724992,7 +725039,7 @@ var init_write_entry = __esm(() => {
724992
725039
  if (fd4 === undefined || buf === undefined) {
724993
725040
  throw new Error("fd and buf must be set in READ method");
724994
725041
  }
724995
- const bytesRead = fs30.readSync(fd4, buf, offset2, length, pos2);
725042
+ const bytesRead = fs31.readSync(fd4, buf, offset2, length, pos2);
724996
725043
  this[ONREAD](bytesRead);
724997
725044
  threw = false;
724998
725045
  } finally {
@@ -725008,7 +725055,7 @@ var init_write_entry = __esm(() => {
725008
725055
  }
725009
725056
  [CLOSE](cb4 = () => {}) {
725010
725057
  if (this.fd !== undefined)
725011
- fs30.closeSync(this.fd);
725058
+ fs31.closeSync(this.fd);
725012
725059
  cb4();
725013
725060
  }
725014
725061
  };
@@ -725128,8 +725175,8 @@ var init_write_entry = __esm(() => {
725128
725175
  super.write(b5);
725129
725176
  readEntry.pipe(this);
725130
725177
  }
725131
- [PREFIX](path37) {
725132
- return prefixPath(path37, this.prefix);
725178
+ [PREFIX](path38) {
725179
+ return prefixPath(path38, this.prefix);
725133
725180
  }
725134
725181
  [MODE](mode) {
725135
725182
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -725547,8 +725594,8 @@ var init_esm19 = __esm(() => {
725547
725594
  });
725548
725595
 
725549
725596
  // ../../node_modules/tar/dist/esm/pack.js
725550
- import fs31 from "fs";
725551
- import path51 from "path";
725597
+ import fs33 from "fs";
725598
+ import path53 from "path";
725552
725599
 
725553
725600
  class PackJob {
725554
725601
  path;
@@ -725559,8 +725606,8 @@ class PackJob {
725559
725606
  pending = false;
725560
725607
  ignore = false;
725561
725608
  piped = false;
725562
- constructor(path37, absolute) {
725563
- this.path = path37 || "./";
725609
+ constructor(path38, absolute) {
725610
+ this.path = path38 || "./";
725564
725611
  this.absolute = absolute;
725565
725612
  }
725566
725613
  }
@@ -725688,21 +725735,21 @@ var init_pack = __esm(() => {
725688
725735
  [WRITE](chunk2) {
725689
725736
  return super.write(chunk2);
725690
725737
  }
725691
- add(path37) {
725692
- this.write(path37);
725738
+ add(path38) {
725739
+ this.write(path38);
725693
725740
  return this;
725694
725741
  }
725695
- end(path37, encoding, cb4) {
725696
- if (typeof path37 === "function") {
725697
- cb4 = path37;
725698
- path37 = undefined;
725742
+ end(path38, encoding, cb4) {
725743
+ if (typeof path38 === "function") {
725744
+ cb4 = path38;
725745
+ path38 = undefined;
725699
725746
  }
725700
725747
  if (typeof encoding === "function") {
725701
725748
  cb4 = encoding;
725702
725749
  encoding = undefined;
725703
725750
  }
725704
- if (path37) {
725705
- this.add(path37);
725751
+ if (path38) {
725752
+ this.add(path38);
725706
725753
  }
725707
725754
  this[ENDED2] = true;
725708
725755
  this[PROCESS5]();
@@ -725710,19 +725757,19 @@ var init_pack = __esm(() => {
725710
725757
  cb4();
725711
725758
  return this;
725712
725759
  }
725713
- write(path37) {
725760
+ write(path38) {
725714
725761
  if (this[ENDED2]) {
725715
725762
  throw new Error("write after end");
725716
725763
  }
725717
- if (path37 instanceof ReadEntry) {
725718
- this[ADDTARENTRY](path37);
725764
+ if (path38 instanceof ReadEntry) {
725765
+ this[ADDTARENTRY](path38);
725719
725766
  } else {
725720
- this[ADDFSENTRY](path37);
725767
+ this[ADDFSENTRY](path38);
725721
725768
  }
725722
725769
  return this.flowing;
725723
725770
  }
725724
725771
  [ADDTARENTRY](p) {
725725
- const absolute = normalizeWindowsPath2(path51.resolve(this.cwd, p.path));
725772
+ const absolute = normalizeWindowsPath2(path53.resolve(this.cwd, p.path));
725726
725773
  if (!this.filter(p.path, p)) {
725727
725774
  p.resume();
725728
725775
  } else {
@@ -725735,7 +725782,7 @@ var init_pack = __esm(() => {
725735
725782
  this[PROCESS5]();
725736
725783
  }
725737
725784
  [ADDFSENTRY](p) {
725738
- const absolute = normalizeWindowsPath2(path51.resolve(this.cwd, p));
725785
+ const absolute = normalizeWindowsPath2(path53.resolve(this.cwd, p));
725739
725786
  this[QUEUE2].push(new PackJob(p, absolute));
725740
725787
  this[PROCESS5]();
725741
725788
  }
@@ -725743,7 +725790,7 @@ var init_pack = __esm(() => {
725743
725790
  job.pending = true;
725744
725791
  this[JOBS] += 1;
725745
725792
  const stat2 = this.follow ? "stat" : "lstat";
725746
- fs31[stat2](job.absolute, (er3, stat3) => {
725793
+ fs33[stat2](job.absolute, (er3, stat3) => {
725747
725794
  job.pending = false;
725748
725795
  this[JOBS] -= 1;
725749
725796
  if (er3) {
@@ -725764,7 +725811,7 @@ var init_pack = __esm(() => {
725764
725811
  [READDIR](job) {
725765
725812
  job.pending = true;
725766
725813
  this[JOBS] += 1;
725767
- fs31.readdir(job.absolute, (er3, entries) => {
725814
+ fs33.readdir(job.absolute, (er3, entries) => {
725768
725815
  job.pending = false;
725769
725816
  this[JOBS] -= 1;
725770
725817
  if (er3) {
@@ -725932,10 +725979,10 @@ var init_pack = __esm(() => {
725932
725979
  resume() {}
725933
725980
  [STAT](job) {
725934
725981
  const stat2 = this.follow ? "statSync" : "lstatSync";
725935
- this[ONSTAT](job, fs31[stat2](job.absolute));
725982
+ this[ONSTAT](job, fs33[stat2](job.absolute));
725936
725983
  }
725937
725984
  [READDIR](job) {
725938
- this[ONREADDIR](job, fs31.readdirSync(job.absolute));
725985
+ this[ONREADDIR](job, fs33.readdirSync(job.absolute));
725939
725986
  }
725940
725987
  [PIPE](job) {
725941
725988
  const source = job.entry;
@@ -725963,7 +726010,7 @@ var init_pack = __esm(() => {
725963
726010
  });
725964
726011
 
725965
726012
  // ../../node_modules/tar/dist/esm/create.js
725966
- import path53 from "path";
726013
+ import path55 from "path";
725967
726014
  var createFileSync = (opt, files) => {
725968
726015
  const p = new PackSync(opt);
725969
726016
  const stream7 = new WriteStreamSync(opt.file, {
@@ -725988,7 +726035,7 @@ var createFileSync = (opt, files) => {
725988
726035
  files.forEach((file) => {
725989
726036
  if (file.charAt(0) === "@") {
725990
726037
  list({
725991
- file: path53.resolve(p.cwd, file.slice(1)),
726038
+ file: path55.resolve(p.cwd, file.slice(1)),
725992
726039
  sync: true,
725993
726040
  noResume: true,
725994
726041
  onReadEntry: (entry) => p.add(entry)
@@ -726003,7 +726050,7 @@ var createFileSync = (opt, files) => {
726003
726050
  const file = String(files[i2]);
726004
726051
  if (file.charAt(0) === "@") {
726005
726052
  await list({
726006
- file: path53.resolve(String(p.cwd), file.slice(1)),
726053
+ file: path55.resolve(String(p.cwd), file.slice(1)),
726007
726054
  noResume: true,
726008
726055
  onReadEntry: (entry) => {
726009
726056
  p.add(entry);
@@ -726036,13 +726083,13 @@ var init_create2 = __esm(() => {
726036
726083
  });
726037
726084
 
726038
726085
  // ../../node_modules/tar/dist/esm/get-write-flag.js
726039
- import fs33 from "fs";
726086
+ import fs35 from "fs";
726040
726087
  var platform6, isWindows3, O_CREAT, O_TRUNC, O_WRONLY, UV_FS_O_FILEMAP, fMapEnabled, fMapLimit, fMapFlag, getWriteFlag;
726041
726088
  var init_get_write_flag = __esm(() => {
726042
726089
  platform6 = process.env.__FAKE_PLATFORM__ || process.platform;
726043
726090
  isWindows3 = platform6 === "win32";
726044
- ({ O_CREAT, O_TRUNC, O_WRONLY } = fs33.constants);
726045
- UV_FS_O_FILEMAP = Number(process.env.__FAKE_FS_O_FILENAME__) || fs33.constants.UV_FS_O_FILEMAP || 0;
726091
+ ({ O_CREAT, O_TRUNC, O_WRONLY } = fs35.constants);
726092
+ UV_FS_O_FILEMAP = Number(process.env.__FAKE_FS_O_FILENAME__) || fs35.constants.UV_FS_O_FILEMAP || 0;
726046
726093
  fMapEnabled = isWindows3 && !!UV_FS_O_FILEMAP;
726047
726094
  fMapLimit = 512 * 1024;
726048
726095
  fMapFlag = UV_FS_O_FILEMAP | O_TRUNC | O_CREAT | O_WRONLY;
@@ -726050,33 +726097,33 @@ var init_get_write_flag = __esm(() => {
726050
726097
  });
726051
726098
 
726052
726099
  // ../../node_modules/chownr/dist/esm/index.js
726053
- import fs35 from "fs";
726054
- import path55 from "path";
726055
- var lchownSync = (path37, uid, gid) => {
726100
+ import fs36 from "fs";
726101
+ import path56 from "path";
726102
+ var lchownSync = (path38, uid, gid) => {
726056
726103
  try {
726057
- return fs35.lchownSync(path37, uid, gid);
726104
+ return fs36.lchownSync(path38, uid, gid);
726058
726105
  } catch (er3) {
726059
726106
  if (er3?.code !== "ENOENT")
726060
726107
  throw er3;
726061
726108
  }
726062
726109
  }, chown = (cpath, uid, gid, cb4) => {
726063
- fs35.lchown(cpath, uid, gid, (er3) => {
726110
+ fs36.lchown(cpath, uid, gid, (er3) => {
726064
726111
  cb4(er3 && er3?.code !== "ENOENT" ? er3 : null);
726065
726112
  });
726066
726113
  }, chownrKid = (p, child, uid, gid, cb4) => {
726067
726114
  if (child.isDirectory()) {
726068
- chownr(path55.resolve(p, child.name), uid, gid, (er3) => {
726115
+ chownr(path56.resolve(p, child.name), uid, gid, (er3) => {
726069
726116
  if (er3)
726070
726117
  return cb4(er3);
726071
- const cpath = path55.resolve(p, child.name);
726118
+ const cpath = path56.resolve(p, child.name);
726072
726119
  chown(cpath, uid, gid, cb4);
726073
726120
  });
726074
726121
  } else {
726075
- const cpath = path55.resolve(p, child.name);
726122
+ const cpath = path56.resolve(p, child.name);
726076
726123
  chown(cpath, uid, gid, cb4);
726077
726124
  }
726078
726125
  }, chownr = (p, uid, gid, cb4) => {
726079
- fs35.readdir(p, { withFileTypes: true }, (er3, children) => {
726126
+ fs36.readdir(p, { withFileTypes: true }, (er3, children) => {
726080
726127
  if (er3) {
726081
726128
  if (er3.code === "ENOENT")
726082
726129
  return cb4();
@@ -726101,12 +726148,12 @@ var lchownSync = (path37, uid, gid) => {
726101
726148
  });
726102
726149
  }, chownrKidSync = (p, child, uid, gid) => {
726103
726150
  if (child.isDirectory())
726104
- chownrSync(path55.resolve(p, child.name), uid, gid);
726105
- lchownSync(path55.resolve(p, child.name), uid, gid);
726151
+ chownrSync(path56.resolve(p, child.name), uid, gid);
726152
+ lchownSync(path56.resolve(p, child.name), uid, gid);
726106
726153
  }, chownrSync = (p, uid, gid) => {
726107
726154
  let children;
726108
726155
  try {
726109
- children = fs35.readdirSync(p, { withFileTypes: true });
726156
+ children = fs36.readdirSync(p, { withFileTypes: true });
726110
726157
  } catch (er3) {
726111
726158
  const e6 = er3;
726112
726159
  if (e6?.code === "ENOENT")
@@ -726130,9 +726177,9 @@ var init_cwd_error = __esm(() => {
726130
726177
  path;
726131
726178
  code;
726132
726179
  syscall = "chdir";
726133
- constructor(path37, code2) {
726134
- super(`${code2}: Cannot cd into '${path37}'`);
726135
- this.path = path37;
726180
+ constructor(path38, code2) {
726181
+ super(`${code2}: Cannot cd into '${path38}'`);
726182
+ this.path = path38;
726136
726183
  this.code = code2;
726137
726184
  }
726138
726185
  get name() {
@@ -726149,10 +726196,10 @@ var init_symlink_error = __esm(() => {
726149
726196
  symlink;
726150
726197
  syscall = "symlink";
726151
726198
  code = "TAR_SYMLINK_ERROR";
726152
- constructor(symlink, path37) {
726199
+ constructor(symlink, path38) {
726153
726200
  super("TAR_SYMLINK_ERROR: Cannot extract through symbolic link");
726154
726201
  this.symlink = symlink;
726155
- this.path = path37;
726202
+ this.path = path38;
726156
726203
  }
726157
726204
  get name() {
726158
726205
  return "SymlinkError";
@@ -726161,11 +726208,11 @@ var init_symlink_error = __esm(() => {
726161
726208
  });
726162
726209
 
726163
726210
  // ../../node_modules/tar/dist/esm/mkdir.js
726164
- import fs36 from "fs";
726211
+ import fs37 from "fs";
726165
726212
  import fsp from "fs/promises";
726166
- import path56 from "path";
726213
+ import path57 from "path";
726167
726214
  var checkCwd = (dir, cb4) => {
726168
- fs36.stat(dir, (er3, st4) => {
726215
+ fs37.stat(dir, (er3, st4) => {
726169
726216
  if (er3 || !st4.isDirectory()) {
726170
726217
  er3 = new CwdError(dir, er3?.code || "ENOTDIR");
726171
726218
  }
@@ -726189,7 +726236,7 @@ var checkCwd = (dir, cb4) => {
726189
726236
  if (created && doChown) {
726190
726237
  chownr(created, uid, gid, (er4) => done(er4));
726191
726238
  } else if (needChmod) {
726192
- fs36.chmod(dir, mode, cb4);
726239
+ fs37.chmod(dir, mode, cb4);
726193
726240
  } else {
726194
726241
  cb4();
726195
726242
  }
@@ -726201,7 +726248,7 @@ var checkCwd = (dir, cb4) => {
726201
726248
  if (preserve) {
726202
726249
  return fsp.mkdir(dir, { mode, recursive: true }).then((made) => done(null, made ?? undefined), done);
726203
726250
  }
726204
- const sub = normalizeWindowsPath2(path56.relative(cwd4, dir));
726251
+ const sub = normalizeWindowsPath2(path57.relative(cwd4, dir));
726205
726252
  const parts = sub.split("/");
726206
726253
  mkdir_(cwd4, parts, mode, unlink2, cwd4, undefined, done);
726207
726254
  }, mkdir_ = (base3, parts, mode, unlink2, cwd4, created, cb4) => {
@@ -726209,22 +726256,22 @@ var checkCwd = (dir, cb4) => {
726209
726256
  return cb4(null, created);
726210
726257
  }
726211
726258
  const p = parts.shift();
726212
- const part = normalizeWindowsPath2(path56.resolve(base3 + "/" + p));
726213
- fs36.mkdir(part, mode, onmkdir(part, parts, mode, unlink2, cwd4, created, cb4));
726259
+ const part = normalizeWindowsPath2(path57.resolve(base3 + "/" + p));
726260
+ fs37.mkdir(part, mode, onmkdir(part, parts, mode, unlink2, cwd4, created, cb4));
726214
726261
  }, onmkdir = (part, parts, mode, unlink2, cwd4, created, cb4) => (er3) => {
726215
726262
  if (er3) {
726216
- fs36.lstat(part, (statEr, st4) => {
726263
+ fs37.lstat(part, (statEr, st4) => {
726217
726264
  if (statEr) {
726218
726265
  statEr.path = statEr.path && normalizeWindowsPath2(statEr.path);
726219
726266
  cb4(statEr);
726220
726267
  } else if (st4.isDirectory()) {
726221
726268
  mkdir_(part, parts, mode, unlink2, cwd4, created, cb4);
726222
726269
  } else if (unlink2) {
726223
- fs36.unlink(part, (er4) => {
726270
+ fs37.unlink(part, (er4) => {
726224
726271
  if (er4) {
726225
726272
  return cb4(er4);
726226
726273
  }
726227
- fs36.mkdir(part, mode, onmkdir(part, parts, mode, unlink2, cwd4, created, cb4));
726274
+ fs37.mkdir(part, mode, onmkdir(part, parts, mode, unlink2, cwd4, created, cb4));
726228
726275
  });
726229
726276
  } else if (st4.isSymbolicLink()) {
726230
726277
  return cb4(new SymlinkError(part, part + "/" + parts.join("/")));
@@ -726240,7 +726287,7 @@ var checkCwd = (dir, cb4) => {
726240
726287
  let ok3 = false;
726241
726288
  let code2 = undefined;
726242
726289
  try {
726243
- ok3 = fs36.statSync(dir).isDirectory();
726290
+ ok3 = fs37.statSync(dir).isDirectory();
726244
726291
  } catch (er3) {
726245
726292
  code2 = er3?.code;
726246
726293
  } finally {
@@ -726264,7 +726311,7 @@ var checkCwd = (dir, cb4) => {
726264
726311
  chownrSync(created2, uid, gid);
726265
726312
  }
726266
726313
  if (needChmod) {
726267
- fs36.chmodSync(dir, mode);
726314
+ fs37.chmodSync(dir, mode);
726268
726315
  }
726269
726316
  };
726270
726317
  if (dir === cwd4) {
@@ -726272,23 +726319,23 @@ var checkCwd = (dir, cb4) => {
726272
726319
  return done();
726273
726320
  }
726274
726321
  if (preserve) {
726275
- return done(fs36.mkdirSync(dir, { mode, recursive: true }) ?? undefined);
726322
+ return done(fs37.mkdirSync(dir, { mode, recursive: true }) ?? undefined);
726276
726323
  }
726277
- const sub = normalizeWindowsPath2(path56.relative(cwd4, dir));
726324
+ const sub = normalizeWindowsPath2(path57.relative(cwd4, dir));
726278
726325
  const parts = sub.split("/");
726279
726326
  let created = undefined;
726280
726327
  for (let p = parts.shift(), part = cwd4;p && (part += "/" + p); p = parts.shift()) {
726281
- part = normalizeWindowsPath2(path56.resolve(part));
726328
+ part = normalizeWindowsPath2(path57.resolve(part));
726282
726329
  try {
726283
- fs36.mkdirSync(part, mode);
726330
+ fs37.mkdirSync(part, mode);
726284
726331
  created = created || part;
726285
726332
  } catch (er3) {
726286
- const st4 = fs36.lstatSync(part);
726333
+ const st4 = fs37.lstatSync(part);
726287
726334
  if (st4.isDirectory()) {
726288
726335
  continue;
726289
726336
  } else if (unlink2) {
726290
- fs36.unlinkSync(part);
726291
- fs36.mkdirSync(part, mode);
726337
+ fs37.unlinkSync(part);
726338
+ fs37.mkdirSync(part, mode);
726292
726339
  created = created || part;
726293
726340
  continue;
726294
726341
  } else if (st4.isSymbolicLink()) {
@@ -726341,7 +726388,7 @@ class PathReservations {
726341
726388
  paths = isWindows4 ? ["win32 parallelization disabled"] : paths.map((p) => {
726342
726389
  return stripTrailingSlashes(join18(normalizeUnicode(p))).toLowerCase();
726343
726390
  });
726344
- const dirs = new Set(paths.map((path37) => getDirs(path37)).reduce((a2, b5) => a2.concat(b5)));
726391
+ const dirs = new Set(paths.map((path38) => getDirs(path38)).reduce((a2, b5) => a2.concat(b5)));
726345
726392
  this.#reservations.set(fn4, { dirs, paths });
726346
726393
  for (const p of paths) {
726347
726394
  const q3 = this.#queues.get(p);
@@ -726372,8 +726419,8 @@ class PathReservations {
726372
726419
  throw new Error("function does not have any path reservations");
726373
726420
  }
726374
726421
  return {
726375
- paths: res.paths.map((path37) => this.#queues.get(path37)),
726376
- dirs: [...res.dirs].map((path37) => this.#queues.get(path37))
726422
+ paths: res.paths.map((path38) => this.#queues.get(path38)),
726423
+ dirs: [...res.dirs].map((path38) => this.#queues.get(path38))
726377
726424
  };
726378
726425
  }
726379
726426
  check(fn4) {
@@ -726398,14 +726445,14 @@ class PathReservations {
726398
726445
  }
726399
726446
  const { paths, dirs } = res;
726400
726447
  const next = new Set;
726401
- for (const path37 of paths) {
726402
- const q3 = this.#queues.get(path37);
726448
+ for (const path38 of paths) {
726449
+ const q3 = this.#queues.get(path38);
726403
726450
  if (!q3 || q3?.[0] !== fn4) {
726404
726451
  continue;
726405
726452
  }
726406
726453
  const q0 = q3[1];
726407
726454
  if (!q0) {
726408
- this.#queues.delete(path37);
726455
+ this.#queues.delete(path38);
726409
726456
  continue;
726410
726457
  }
726411
726458
  q3.shift();
@@ -726440,8 +726487,8 @@ class PathReservations {
726440
726487
  return true;
726441
726488
  }
726442
726489
  }
726443
- var platform7, isWindows4, getDirs = (path37) => {
726444
- const dirs = path37.split("/").slice(0, -1).reduce((set, path45) => {
726490
+ var platform7, isWindows4, getDirs = (path38) => {
726491
+ const dirs = path38.split("/").slice(0, -1).reduce((set, path45) => {
726445
726492
  const s2 = set[set.length - 1];
726446
726493
  if (s2 !== undefined) {
726447
726494
  path45 = join18(s2, path45);
@@ -726460,26 +726507,26 @@ var init_path_reservations = __esm(() => {
726460
726507
  // ../../node_modules/tar/dist/esm/unpack.js
726461
726508
  import assert6 from "assert";
726462
726509
  import { randomBytes as randomBytes3 } from "crypto";
726463
- import fs37 from "fs";
726464
- import path57 from "path";
726465
- var ONENTRY, CHECKFS, CHECKFS2, ISREUSABLE, MAKEFS, FILE2, DIRECTORY2, LINK, SYMLINK2, HARDLINK2, UNSUPPORTED, CHECKPATH, MKDIR, ONERROR, PENDING, PEND, UNPEND, ENDED3, MAYBECLOSE, SKIP, DOCHOWN, UID, GID, CHECKED_CWD, platform8, isWindows5, DEFAULT_MAX_DEPTH = 1024, unlinkFile = (path37, cb4) => {
726510
+ import fs38 from "fs";
726511
+ import path58 from "path";
726512
+ var ONENTRY, CHECKFS, CHECKFS2, ISREUSABLE, MAKEFS, FILE2, DIRECTORY2, LINK, SYMLINK2, HARDLINK2, UNSUPPORTED, CHECKPATH, MKDIR, ONERROR, PENDING, PEND, UNPEND, ENDED3, MAYBECLOSE, SKIP, DOCHOWN, UID, GID, CHECKED_CWD, platform8, isWindows5, DEFAULT_MAX_DEPTH = 1024, unlinkFile = (path38, cb4) => {
726466
726513
  if (!isWindows5) {
726467
- return fs37.unlink(path37, cb4);
726514
+ return fs38.unlink(path38, cb4);
726468
726515
  }
726469
- const name3 = path37 + ".DELETE." + randomBytes3(16).toString("hex");
726470
- fs37.rename(path37, name3, (er3) => {
726516
+ const name3 = path38 + ".DELETE." + randomBytes3(16).toString("hex");
726517
+ fs38.rename(path38, name3, (er3) => {
726471
726518
  if (er3) {
726472
726519
  return cb4(er3);
726473
726520
  }
726474
- fs37.unlink(name3, cb4);
726521
+ fs38.unlink(name3, cb4);
726475
726522
  });
726476
- }, unlinkFileSync = (path37) => {
726523
+ }, unlinkFileSync = (path38) => {
726477
726524
  if (!isWindows5) {
726478
- return fs37.unlinkSync(path37);
726525
+ return fs38.unlinkSync(path38);
726479
726526
  }
726480
- const name3 = path37 + ".DELETE." + randomBytes3(16).toString("hex");
726481
- fs37.renameSync(path37, name3);
726482
- fs37.unlinkSync(name3);
726527
+ const name3 = path38 + ".DELETE." + randomBytes3(16).toString("hex");
726528
+ fs38.renameSync(path38, name3);
726529
+ fs38.unlinkSync(name3);
726483
726530
  }, uint32 = (a2, b5, c4) => a2 !== undefined && a2 === a2 >>> 0 ? a2 : b5 !== undefined && b5 === b5 >>> 0 ? b5 : c4, Unpack, callSync = (fn4) => {
726484
726531
  try {
726485
726532
  return [null, fn4()];
@@ -726589,7 +726636,7 @@ var init_unpack = __esm(() => {
726589
726636
  this.noMtime = !!opt.noMtime;
726590
726637
  this.preservePaths = !!opt.preservePaths;
726591
726638
  this.unlink = !!opt.unlink;
726592
- this.cwd = normalizeWindowsPath2(path57.resolve(opt.cwd || process.cwd()));
726639
+ this.cwd = normalizeWindowsPath2(path58.resolve(opt.cwd || process.cwd()));
726593
726640
  this.strip = Number(opt.strip) || 0;
726594
726641
  this.processUmask = !this.chmod ? 0 : typeof opt.processUmask === "number" ? opt.processUmask : process.umask();
726595
726642
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -726654,10 +726701,10 @@ var init_unpack = __esm(() => {
726654
726701
  });
726655
726702
  }
726656
726703
  }
726657
- if (path57.isAbsolute(entry.path)) {
726658
- entry.absolute = normalizeWindowsPath2(path57.resolve(entry.path));
726704
+ if (path58.isAbsolute(entry.path)) {
726705
+ entry.absolute = normalizeWindowsPath2(path58.resolve(entry.path));
726659
726706
  } else {
726660
- entry.absolute = normalizeWindowsPath2(path57.resolve(this.cwd, entry.path));
726707
+ entry.absolute = normalizeWindowsPath2(path58.resolve(this.cwd, entry.path));
726661
726708
  }
726662
726709
  if (!this.preservePaths && typeof entry.absolute === "string" && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
726663
726710
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
@@ -726672,9 +726719,9 @@ var init_unpack = __esm(() => {
726672
726719
  return false;
726673
726720
  }
726674
726721
  if (this.win32) {
726675
- const { root: aRoot } = path57.win32.parse(String(entry.absolute));
726722
+ const { root: aRoot } = path58.win32.parse(String(entry.absolute));
726676
726723
  entry.absolute = aRoot + encode6(String(entry.absolute).slice(aRoot.length));
726677
- const { root: pRoot } = path57.win32.parse(entry.path);
726724
+ const { root: pRoot } = path58.win32.parse(entry.path);
726678
726725
  entry.path = pRoot + encode6(entry.path.slice(pRoot.length));
726679
726726
  }
726680
726727
  return true;
@@ -726743,7 +726790,7 @@ var init_unpack = __esm(() => {
726743
726790
  });
726744
726791
  stream7.on("error", (er3) => {
726745
726792
  if (stream7.fd) {
726746
- fs37.close(stream7.fd, () => {});
726793
+ fs38.close(stream7.fd, () => {});
726747
726794
  }
726748
726795
  stream7.write = () => true;
726749
726796
  this[ONERROR](er3, entry);
@@ -726753,7 +726800,7 @@ var init_unpack = __esm(() => {
726753
726800
  const done = (er3) => {
726754
726801
  if (er3) {
726755
726802
  if (stream7.fd) {
726756
- fs37.close(stream7.fd, () => {});
726803
+ fs38.close(stream7.fd, () => {});
726757
726804
  }
726758
726805
  this[ONERROR](er3, entry);
726759
726806
  fullyDone();
@@ -726761,7 +726808,7 @@ var init_unpack = __esm(() => {
726761
726808
  }
726762
726809
  if (--actions3 === 0) {
726763
726810
  if (stream7.fd !== undefined) {
726764
- fs37.close(stream7.fd, (er4) => {
726811
+ fs38.close(stream7.fd, (er4) => {
726765
726812
  if (er4) {
726766
726813
  this[ONERROR](er4, entry);
726767
726814
  } else {
@@ -726779,14 +726826,14 @@ var init_unpack = __esm(() => {
726779
726826
  actions3++;
726780
726827
  const atime = entry.atime || new Date;
726781
726828
  const mtime = entry.mtime;
726782
- fs37.futimes(fd4, atime, mtime, (er3) => er3 ? fs37.utimes(abs, atime, mtime, (er22) => done(er22 && er3)) : done());
726829
+ fs38.futimes(fd4, atime, mtime, (er3) => er3 ? fs38.utimes(abs, atime, mtime, (er22) => done(er22 && er3)) : done());
726783
726830
  }
726784
726831
  if (typeof fd4 === "number" && this[DOCHOWN](entry)) {
726785
726832
  actions3++;
726786
726833
  const uid = this[UID](entry);
726787
726834
  const gid = this[GID](entry);
726788
726835
  if (typeof uid === "number" && typeof gid === "number") {
726789
- fs37.fchown(fd4, uid, gid, (er3) => er3 ? fs37.chown(abs, uid, gid, (er22) => done(er22 && er3)) : done());
726836
+ fs38.fchown(fd4, uid, gid, (er3) => er3 ? fs38.chown(abs, uid, gid, (er22) => done(er22 && er3)) : done());
726790
726837
  }
726791
726838
  }
726792
726839
  done();
@@ -726819,11 +726866,11 @@ var init_unpack = __esm(() => {
726819
726866
  };
726820
726867
  if (entry.mtime && !this.noMtime) {
726821
726868
  actions3++;
726822
- fs37.utimes(String(entry.absolute), entry.atime || new Date, entry.mtime, done);
726869
+ fs38.utimes(String(entry.absolute), entry.atime || new Date, entry.mtime, done);
726823
726870
  }
726824
726871
  if (this[DOCHOWN](entry)) {
726825
726872
  actions3++;
726826
- fs37.chown(String(entry.absolute), Number(this[UID](entry)), Number(this[GID](entry)), done);
726873
+ fs38.chown(String(entry.absolute), Number(this[UID](entry)), Number(this[GID](entry)), done);
726827
726874
  }
726828
726875
  done();
726829
726876
  });
@@ -726837,7 +726884,7 @@ var init_unpack = __esm(() => {
726837
726884
  this[LINK](entry, String(entry.linkpath), "symlink", done);
726838
726885
  }
726839
726886
  [HARDLINK2](entry, done) {
726840
- const linkpath = normalizeWindowsPath2(path57.resolve(this.cwd, String(entry.linkpath)));
726887
+ const linkpath = normalizeWindowsPath2(path58.resolve(this.cwd, String(entry.linkpath)));
726841
726888
  this[LINK](entry, linkpath, "link", done);
726842
726889
  }
726843
726890
  [PEND]() {
@@ -726879,7 +726926,7 @@ var init_unpack = __esm(() => {
726879
726926
  };
726880
726927
  const start = () => {
726881
726928
  if (entry.absolute !== this.cwd) {
726882
- const parent2 = normalizeWindowsPath2(path57.dirname(String(entry.absolute)));
726929
+ const parent2 = normalizeWindowsPath2(path58.dirname(String(entry.absolute)));
726883
726930
  if (parent2 !== this.cwd) {
726884
726931
  return this[MKDIR](parent2, this.dmode, (er3) => {
726885
726932
  if (er3) {
@@ -726894,7 +726941,7 @@ var init_unpack = __esm(() => {
726894
726941
  afterMakeParent();
726895
726942
  };
726896
726943
  const afterMakeParent = () => {
726897
- fs37.lstat(String(entry.absolute), (lstatEr, st4) => {
726944
+ fs38.lstat(String(entry.absolute), (lstatEr, st4) => {
726898
726945
  if (st4 && (this.keep || this.newer && st4.mtime > (entry.mtime ?? st4.mtime))) {
726899
726946
  this[SKIP](entry);
726900
726947
  done();
@@ -726910,10 +726957,10 @@ var init_unpack = __esm(() => {
726910
726957
  if (!needChmod) {
726911
726958
  return afterChmod();
726912
726959
  }
726913
- return fs37.chmod(String(entry.absolute), Number(entry.mode), afterChmod);
726960
+ return fs38.chmod(String(entry.absolute), Number(entry.mode), afterChmod);
726914
726961
  }
726915
726962
  if (entry.absolute !== this.cwd) {
726916
- return fs37.rmdir(String(entry.absolute), (er3) => this[MAKEFS](er3 ?? null, entry, done));
726963
+ return fs38.rmdir(String(entry.absolute), (er3) => this[MAKEFS](er3 ?? null, entry, done));
726917
726964
  }
726918
726965
  }
726919
726966
  if (entry.absolute === this.cwd) {
@@ -726949,7 +726996,7 @@ var init_unpack = __esm(() => {
726949
726996
  }
726950
726997
  }
726951
726998
  [LINK](entry, linkpath, link2, done) {
726952
- fs37[link2](linkpath, String(entry.absolute), (er3) => {
726999
+ fs38[link2](linkpath, String(entry.absolute), (er3) => {
726953
727000
  if (er3) {
726954
727001
  this[ONERROR](er3, entry);
726955
727002
  } else {
@@ -726974,7 +727021,7 @@ var init_unpack = __esm(() => {
726974
727021
  this[CHECKED_CWD] = true;
726975
727022
  }
726976
727023
  if (entry.absolute !== this.cwd) {
726977
- const parent2 = normalizeWindowsPath2(path57.dirname(String(entry.absolute)));
727024
+ const parent2 = normalizeWindowsPath2(path58.dirname(String(entry.absolute)));
726978
727025
  if (parent2 !== this.cwd) {
726979
727026
  const mkParent = this[MKDIR](parent2, this.dmode);
726980
727027
  if (mkParent) {
@@ -726982,7 +727029,7 @@ var init_unpack = __esm(() => {
726982
727029
  }
726983
727030
  }
726984
727031
  }
726985
- const [lstatEr, st4] = callSync(() => fs37.lstatSync(String(entry.absolute)));
727032
+ const [lstatEr, st4] = callSync(() => fs38.lstatSync(String(entry.absolute)));
726986
727033
  if (st4 && (this.keep || this.newer && st4.mtime > (entry.mtime ?? st4.mtime))) {
726987
727034
  return this[SKIP](entry);
726988
727035
  }
@@ -726993,11 +727040,11 @@ var init_unpack = __esm(() => {
726993
727040
  if (entry.type === "Directory") {
726994
727041
  const needChmod = this.chmod && entry.mode && (st4.mode & 4095) !== entry.mode;
726995
727042
  const [er5] = needChmod ? callSync(() => {
726996
- fs37.chmodSync(String(entry.absolute), Number(entry.mode));
727043
+ fs38.chmodSync(String(entry.absolute), Number(entry.mode));
726997
727044
  }) : [];
726998
727045
  return this[MAKEFS](er5, entry);
726999
727046
  }
727000
- const [er4] = callSync(() => fs37.rmdirSync(String(entry.absolute)));
727047
+ const [er4] = callSync(() => fs38.rmdirSync(String(entry.absolute)));
727001
727048
  this[MAKEFS](er4, entry);
727002
727049
  }
727003
727050
  const [er3] = entry.absolute === this.cwd ? [] : callSync(() => unlinkFileSync(String(entry.absolute)));
@@ -727008,7 +727055,7 @@ var init_unpack = __esm(() => {
727008
727055
  const oner = (er3) => {
727009
727056
  let closeError;
727010
727057
  try {
727011
- fs37.closeSync(fd4);
727058
+ fs38.closeSync(fd4);
727012
727059
  } catch (e6) {
727013
727060
  closeError = e6;
727014
727061
  }
@@ -727019,7 +727066,7 @@ var init_unpack = __esm(() => {
727019
727066
  };
727020
727067
  let fd4;
727021
727068
  try {
727022
- fd4 = fs37.openSync(String(entry.absolute), getWriteFlag(entry.size), mode);
727069
+ fd4 = fs38.openSync(String(entry.absolute), getWriteFlag(entry.size), mode);
727023
727070
  } catch (er3) {
727024
727071
  return oner(er3);
727025
727072
  }
@@ -727030,7 +727077,7 @@ var init_unpack = __esm(() => {
727030
727077
  }
727031
727078
  tx4.on("data", (chunk2) => {
727032
727079
  try {
727033
- fs37.writeSync(fd4, chunk2, 0, chunk2.length);
727080
+ fs38.writeSync(fd4, chunk2, 0, chunk2.length);
727034
727081
  } catch (er3) {
727035
727082
  oner(er3);
727036
727083
  }
@@ -727041,10 +727088,10 @@ var init_unpack = __esm(() => {
727041
727088
  const atime = entry.atime || new Date;
727042
727089
  const mtime = entry.mtime;
727043
727090
  try {
727044
- fs37.futimesSync(fd4, atime, mtime);
727091
+ fs38.futimesSync(fd4, atime, mtime);
727045
727092
  } catch (futimeser) {
727046
727093
  try {
727047
- fs37.utimesSync(String(entry.absolute), atime, mtime);
727094
+ fs38.utimesSync(String(entry.absolute), atime, mtime);
727048
727095
  } catch (utimeser) {
727049
727096
  er3 = futimeser;
727050
727097
  }
@@ -727054,10 +727101,10 @@ var init_unpack = __esm(() => {
727054
727101
  const uid = this[UID](entry);
727055
727102
  const gid = this[GID](entry);
727056
727103
  try {
727057
- fs37.fchownSync(fd4, Number(uid), Number(gid));
727104
+ fs38.fchownSync(fd4, Number(uid), Number(gid));
727058
727105
  } catch (fchowner) {
727059
727106
  try {
727060
- fs37.chownSync(String(entry.absolute), Number(uid), Number(gid));
727107
+ fs38.chownSync(String(entry.absolute), Number(uid), Number(gid));
727061
727108
  } catch (chowner) {
727062
727109
  er3 = er3 || fchowner;
727063
727110
  }
@@ -727076,12 +727123,12 @@ var init_unpack = __esm(() => {
727076
727123
  }
727077
727124
  if (entry.mtime && !this.noMtime) {
727078
727125
  try {
727079
- fs37.utimesSync(String(entry.absolute), entry.atime || new Date, entry.mtime);
727126
+ fs38.utimesSync(String(entry.absolute), entry.atime || new Date, entry.mtime);
727080
727127
  } catch (er4) {}
727081
727128
  }
727082
727129
  if (this[DOCHOWN](entry)) {
727083
727130
  try {
727084
- fs37.chownSync(String(entry.absolute), Number(this[UID](entry)), Number(this[GID](entry)));
727131
+ fs38.chownSync(String(entry.absolute), Number(this[UID](entry)), Number(this[GID](entry)));
727085
727132
  } catch (er4) {}
727086
727133
  }
727087
727134
  done();
@@ -727107,7 +727154,7 @@ var init_unpack = __esm(() => {
727107
727154
  [LINK](entry, linkpath, link2, done) {
727108
727155
  const ls4 = `${link2}Sync`;
727109
727156
  try {
727110
- fs37[ls4](linkpath, String(entry.absolute));
727157
+ fs38[ls4](linkpath, String(entry.absolute));
727111
727158
  done();
727112
727159
  entry.resume();
727113
727160
  } catch (er3) {
@@ -727118,11 +727165,11 @@ var init_unpack = __esm(() => {
727118
727165
  });
727119
727166
 
727120
727167
  // ../../node_modules/tar/dist/esm/extract.js
727121
- import fs38 from "fs";
727168
+ import fs39 from "fs";
727122
727169
  var extractFileSync = (opt) => {
727123
727170
  const u2 = new UnpackSync(opt);
727124
727171
  const file = opt.file;
727125
- const stat2 = fs38.statSync(file);
727172
+ const stat2 = fs39.statSync(file);
727126
727173
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
727127
727174
  const stream7 = new ReadStreamSync(file, {
727128
727175
  readSize,
@@ -727136,7 +727183,7 @@ var extractFileSync = (opt) => {
727136
727183
  const p = new Promise((resolve6, reject) => {
727137
727184
  u2.on("error", reject);
727138
727185
  u2.on("close", resolve6);
727139
- fs38.stat(file, (er3, stat2) => {
727186
+ fs39.stat(file, (er3, stat2) => {
727140
727187
  if (er3) {
727141
727188
  reject(er3);
727142
727189
  } else {
@@ -727163,8 +727210,8 @@ var init_extract2 = __esm(() => {
727163
727210
  });
727164
727211
 
727165
727212
  // ../../node_modules/tar/dist/esm/replace.js
727166
- import fs39 from "fs";
727167
- import path58 from "path";
727213
+ import fs40 from "fs";
727214
+ import path59 from "path";
727168
727215
  var replaceSync = (opt, files) => {
727169
727216
  const p = new PackSync(opt);
727170
727217
  let threw = true;
@@ -727172,20 +727219,20 @@ var replaceSync = (opt, files) => {
727172
727219
  let position;
727173
727220
  try {
727174
727221
  try {
727175
- fd4 = fs39.openSync(opt.file, "r+");
727222
+ fd4 = fs40.openSync(opt.file, "r+");
727176
727223
  } catch (er3) {
727177
727224
  if (er3?.code === "ENOENT") {
727178
- fd4 = fs39.openSync(opt.file, "w+");
727225
+ fd4 = fs40.openSync(opt.file, "w+");
727179
727226
  } else {
727180
727227
  throw er3;
727181
727228
  }
727182
727229
  }
727183
- const st4 = fs39.fstatSync(fd4);
727230
+ const st4 = fs40.fstatSync(fd4);
727184
727231
  const headBuf = Buffer.alloc(512);
727185
727232
  POSITION:
727186
727233
  for (position = 0;position < st4.size; position += 512) {
727187
727234
  for (let bufPos = 0, bytes3 = 0;bufPos < 512; bufPos += bytes3) {
727188
- bytes3 = fs39.readSync(fd4, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
727235
+ bytes3 = fs40.readSync(fd4, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
727189
727236
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) {
727190
727237
  throw new Error("cannot append to compressed archives");
727191
727238
  }
@@ -727211,7 +727258,7 @@ var replaceSync = (opt, files) => {
727211
727258
  } finally {
727212
727259
  if (threw) {
727213
727260
  try {
727214
- fs39.closeSync(fd4);
727261
+ fs40.closeSync(fd4);
727215
727262
  } catch (er3) {}
727216
727263
  }
727217
727264
  }
@@ -727228,7 +727275,7 @@ var replaceSync = (opt, files) => {
727228
727275
  const getPos = (fd4, size, cb_) => {
727229
727276
  const cb4 = (er3, pos2) => {
727230
727277
  if (er3) {
727231
- fs39.close(fd4, (_2) => cb_(er3));
727278
+ fs40.close(fd4, (_2) => cb_(er3));
727232
727279
  } else {
727233
727280
  cb_(null, pos2);
727234
727281
  }
@@ -727245,7 +727292,7 @@ var replaceSync = (opt, files) => {
727245
727292
  }
727246
727293
  bufPos += bytes3;
727247
727294
  if (bufPos < 512 && bytes3) {
727248
- return fs39.read(fd4, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
727295
+ return fs40.read(fd4, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
727249
727296
  }
727250
727297
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) {
727251
727298
  return cb4(new Error("cannot append to compressed archives"));
@@ -727269,9 +727316,9 @@ var replaceSync = (opt, files) => {
727269
727316
  opt.mtimeCache.set(String(h3.path), h3.mtime);
727270
727317
  }
727271
727318
  bufPos = 0;
727272
- fs39.read(fd4, headBuf, 0, 512, position, onread);
727319
+ fs40.read(fd4, headBuf, 0, 512, position, onread);
727273
727320
  };
727274
- fs39.read(fd4, headBuf, 0, 512, position, onread);
727321
+ fs40.read(fd4, headBuf, 0, 512, position, onread);
727275
727322
  };
727276
727323
  const promise = new Promise((resolve6, reject) => {
727277
727324
  p.on("error", reject);
@@ -727279,14 +727326,14 @@ var replaceSync = (opt, files) => {
727279
727326
  const onopen = (er3, fd4) => {
727280
727327
  if (er3 && er3.code === "ENOENT" && flag === "r+") {
727281
727328
  flag = "w+";
727282
- return fs39.open(opt.file, flag, onopen);
727329
+ return fs40.open(opt.file, flag, onopen);
727283
727330
  }
727284
727331
  if (er3 || !fd4) {
727285
727332
  return reject(er3);
727286
727333
  }
727287
- fs39.fstat(fd4, (er4, st4) => {
727334
+ fs40.fstat(fd4, (er4, st4) => {
727288
727335
  if (er4) {
727289
- return fs39.close(fd4, () => reject(er4));
727336
+ return fs40.close(fd4, () => reject(er4));
727290
727337
  }
727291
727338
  getPos(fd4, st4.size, (er5, position) => {
727292
727339
  if (er5) {
@@ -727303,14 +727350,14 @@ var replaceSync = (opt, files) => {
727303
727350
  });
727304
727351
  });
727305
727352
  };
727306
- fs39.open(opt.file, flag, onopen);
727353
+ fs40.open(opt.file, flag, onopen);
727307
727354
  });
727308
727355
  return promise;
727309
727356
  }, addFilesSync2 = (p, files) => {
727310
727357
  files.forEach((file) => {
727311
727358
  if (file.charAt(0) === "@") {
727312
727359
  list({
727313
- file: path58.resolve(p.cwd, file.slice(1)),
727360
+ file: path59.resolve(p.cwd, file.slice(1)),
727314
727361
  sync: true,
727315
727362
  noResume: true,
727316
727363
  onReadEntry: (entry) => p.add(entry)
@@ -727325,7 +727372,7 @@ var replaceSync = (opt, files) => {
727325
727372
  const file = String(files[i2]);
727326
727373
  if (file.charAt(0) === "@") {
727327
727374
  await list({
727328
- file: path58.resolve(String(p.cwd), file.slice(1)),
727375
+ file: path59.resolve(String(p.cwd), file.slice(1)),
727329
727376
  noResume: true,
727330
727377
  onReadEntry: (entry) => p.add(entry)
727331
727378
  });
@@ -727365,7 +727412,7 @@ var update, mtimeFilter = (opt) => {
727365
727412
  if (!opt.mtimeCache) {
727366
727413
  opt.mtimeCache = new Map;
727367
727414
  }
727368
- opt.filter = filter5 ? (path37, stat2) => filter5(path37, stat2) && !((opt.mtimeCache?.get(path37) ?? stat2.mtime ?? 0) > (stat2.mtime ?? 0)) : (path37, stat2) => !((opt.mtimeCache?.get(path37) ?? stat2.mtime ?? 0) > (stat2.mtime ?? 0));
727415
+ opt.filter = filter5 ? (path38, stat2) => filter5(path38, stat2) && !((opt.mtimeCache?.get(path38) ?? stat2.mtime ?? 0) > (stat2.mtime ?? 0)) : (path38, stat2) => !((opt.mtimeCache?.get(path38) ?? stat2.mtime ?? 0) > (stat2.mtime ?? 0));
727369
727416
  };
727370
727417
  var init_update = __esm(() => {
727371
727418
  init_make_command();
@@ -727614,26 +727661,26 @@ var require_utils8 = __commonJS((exports7, module) => {
727614
727661
  }
727615
727662
  mkdirSync5(folder);
727616
727663
  };
727617
- Utils.prototype.writeFileTo = function(path37, content, overwrite, attr) {
727664
+ Utils.prototype.writeFileTo = function(path38, content, overwrite, attr) {
727618
727665
  const self2 = this;
727619
- if (self2.fs.existsSync(path37)) {
727666
+ if (self2.fs.existsSync(path38)) {
727620
727667
  if (!overwrite)
727621
727668
  return false;
727622
- var stat2 = self2.fs.statSync(path37);
727669
+ var stat2 = self2.fs.statSync(path38);
727623
727670
  if (stat2.isDirectory()) {
727624
727671
  return false;
727625
727672
  }
727626
727673
  }
727627
- var folder = pth.dirname(path37);
727674
+ var folder = pth.dirname(path38);
727628
727675
  if (!self2.fs.existsSync(folder)) {
727629
727676
  self2.makeDir(folder);
727630
727677
  }
727631
727678
  var fd4;
727632
727679
  try {
727633
- fd4 = self2.fs.openSync(path37, "w", 438);
727680
+ fd4 = self2.fs.openSync(path38, "w", 438);
727634
727681
  } catch (e6) {
727635
- self2.fs.chmodSync(path37, 438);
727636
- fd4 = self2.fs.openSync(path37, "w", 438);
727682
+ self2.fs.chmodSync(path38, 438);
727683
+ fd4 = self2.fs.openSync(path38, "w", 438);
727637
727684
  }
727638
727685
  if (fd4) {
727639
727686
  try {
@@ -727642,33 +727689,33 @@ var require_utils8 = __commonJS((exports7, module) => {
727642
727689
  self2.fs.closeSync(fd4);
727643
727690
  }
727644
727691
  }
727645
- self2.fs.chmodSync(path37, attr || 438);
727692
+ self2.fs.chmodSync(path38, attr || 438);
727646
727693
  return true;
727647
727694
  };
727648
- Utils.prototype.writeFileToAsync = function(path37, content, overwrite, attr, callback) {
727695
+ Utils.prototype.writeFileToAsync = function(path38, content, overwrite, attr, callback) {
727649
727696
  if (typeof attr === "function") {
727650
727697
  callback = attr;
727651
727698
  attr = undefined;
727652
727699
  }
727653
727700
  const self2 = this;
727654
- self2.fs.exists(path37, function(exist) {
727701
+ self2.fs.exists(path38, function(exist) {
727655
727702
  if (exist && !overwrite)
727656
727703
  return callback(false);
727657
- self2.fs.stat(path37, function(err, stat2) {
727704
+ self2.fs.stat(path38, function(err, stat2) {
727658
727705
  if (exist && stat2.isDirectory()) {
727659
727706
  return callback(false);
727660
727707
  }
727661
- var folder = pth.dirname(path37);
727708
+ var folder = pth.dirname(path38);
727662
727709
  self2.fs.exists(folder, function(exists2) {
727663
727710
  if (!exists2)
727664
727711
  self2.makeDir(folder);
727665
- self2.fs.open(path37, "w", 438, function(err2, fd4) {
727712
+ self2.fs.open(path38, "w", 438, function(err2, fd4) {
727666
727713
  if (err2) {
727667
- self2.fs.chmod(path37, 438, function() {
727668
- self2.fs.open(path37, "w", 438, function(err3, fd5) {
727714
+ self2.fs.chmod(path38, 438, function() {
727715
+ self2.fs.open(path38, "w", 438, function(err3, fd5) {
727669
727716
  self2.fs.write(fd5, content, 0, content.length, 0, function() {
727670
727717
  self2.fs.close(fd5, function() {
727671
- self2.fs.chmod(path37, attr || 438, function() {
727718
+ self2.fs.chmod(path38, attr || 438, function() {
727672
727719
  callback(true);
727673
727720
  });
727674
727721
  });
@@ -727678,13 +727725,13 @@ var require_utils8 = __commonJS((exports7, module) => {
727678
727725
  } else if (fd4) {
727679
727726
  self2.fs.write(fd4, content, 0, content.length, 0, function() {
727680
727727
  self2.fs.close(fd4, function() {
727681
- self2.fs.chmod(path37, attr || 438, function() {
727728
+ self2.fs.chmod(path38, attr || 438, function() {
727682
727729
  callback(true);
727683
727730
  });
727684
727731
  });
727685
727732
  });
727686
727733
  } else {
727687
- self2.fs.chmod(path37, attr || 438, function() {
727734
+ self2.fs.chmod(path38, attr || 438, function() {
727688
727735
  callback(true);
727689
727736
  });
727690
727737
  }
@@ -727693,7 +727740,7 @@ var require_utils8 = __commonJS((exports7, module) => {
727693
727740
  });
727694
727741
  });
727695
727742
  };
727696
- Utils.prototype.findFiles = function(path37) {
727743
+ Utils.prototype.findFiles = function(path38) {
727697
727744
  const self2 = this;
727698
727745
  function findSync(dir, pattern, recursive) {
727699
727746
  if (typeof pattern === "boolean") {
@@ -727712,7 +727759,7 @@ var require_utils8 = __commonJS((exports7, module) => {
727712
727759
  });
727713
727760
  return files;
727714
727761
  }
727715
- return findSync(path37, undefined, true);
727762
+ return findSync(path38, undefined, true);
727716
727763
  };
727717
727764
  Utils.prototype.findFilesAsync = function(dir, cb4) {
727718
727765
  const self2 = this;
@@ -727772,16 +727819,16 @@ var require_utils8 = __commonJS((exports7, module) => {
727772
727819
  return "UNSUPPORTED (" + method + ")";
727773
727820
  }
727774
727821
  };
727775
- Utils.canonical = function(path37) {
727776
- if (!path37)
727822
+ Utils.canonical = function(path38) {
727823
+ if (!path38)
727777
727824
  return "";
727778
- const safeSuffix = pth.posix.normalize("/" + path37.split("\\").join("/"));
727825
+ const safeSuffix = pth.posix.normalize("/" + path38.split("\\").join("/"));
727779
727826
  return pth.join(".", safeSuffix);
727780
727827
  };
727781
- Utils.zipnamefix = function(path37) {
727782
- if (!path37)
727828
+ Utils.zipnamefix = function(path38) {
727829
+ if (!path38)
727783
727830
  return "";
727784
- const safeSuffix = pth.posix.normalize("/" + path37.split("\\").join("/"));
727831
+ const safeSuffix = pth.posix.normalize("/" + path38.split("\\").join("/"));
727785
727832
  return pth.posix.join(".", safeSuffix);
727786
727833
  };
727787
727834
  Utils.findLast = function(arr, callback) {
@@ -727799,9 +727846,9 @@ var require_utils8 = __commonJS((exports7, module) => {
727799
727846
  prefix = pth.resolve(pth.normalize(prefix));
727800
727847
  var parts = name3.split("/");
727801
727848
  for (var i2 = 0, l3 = parts.length;i2 < l3; i2++) {
727802
- var path37 = pth.normalize(pth.join(prefix, parts.slice(i2, l3).join(pth.sep)));
727803
- if (path37.indexOf(prefix) === 0) {
727804
- return path37;
727849
+ var path38 = pth.normalize(pth.join(prefix, parts.slice(i2, l3).join(pth.sep)));
727850
+ if (path38.indexOf(prefix) === 0) {
727851
+ return path38;
727805
727852
  }
727806
727853
  }
727807
727854
  return pth.normalize(pth.join(prefix, pth.basename(name3)));
@@ -727839,8 +727886,8 @@ var require_utils8 = __commonJS((exports7, module) => {
727839
727886
  // ../../node_modules/adm-zip/util/fattr.js
727840
727887
  var require_fattr = __commonJS((exports7, module) => {
727841
727888
  var pth = __require("path");
727842
- module.exports = function(path37, { fs: fs19 }) {
727843
- var _path2 = path37 || "", _obj = newAttr(), _stat = null;
727889
+ module.exports = function(path38, { fs: fs20 }) {
727890
+ var _path2 = path38 || "", _obj = newAttr(), _stat = null;
727844
727891
  function newAttr() {
727845
727892
  return {
727846
727893
  directory: false,
@@ -727851,8 +727898,8 @@ var require_fattr = __commonJS((exports7, module) => {
727851
727898
  atime: 0
727852
727899
  };
727853
727900
  }
727854
- if (_path2 && fs19.existsSync(_path2)) {
727855
- _stat = fs19.statSync(_path2);
727901
+ if (_path2 && fs20.existsSync(_path2)) {
727902
+ _stat = fs20.statSync(_path2);
727856
727903
  _obj.directory = _stat.isDirectory();
727857
727904
  _obj.mtime = _stat.mtime;
727858
727905
  _obj.atime = _stat.atime;
@@ -729695,7 +729742,7 @@ var exports_upgrade = {};
729695
729742
  __export(exports_upgrade, {
729696
729743
  adkSelfUpgrade: () => adkSelfUpgrade
729697
729744
  });
729698
- import { existsSync as existsSync18, writeFileSync as writeFileSync6, chmodSync, renameSync, unlinkSync, readFileSync as readFileSync16, mkdirSync as mkdirSync5, rmdirSync, accessSync, constants as constants8 } from "fs";
729745
+ import { existsSync as existsSync19, writeFileSync as writeFileSync6, chmodSync, renameSync, unlinkSync, readFileSync as readFileSync16, mkdirSync as mkdirSync5, rmdirSync, accessSync, constants as constants8 } from "fs";
729699
729746
  import { join as join19, dirname as dirname5 } from "path";
729700
729747
  import { tmpdir } from "os";
729701
729748
  import { execSync as execSync4 } from "child_process";
@@ -729782,12 +729829,12 @@ async function downloadBinaryWindows(version3, target, extension) {
729782
729829
  function getCurrentBinaryPath() {
729783
729830
  return process.execPath;
729784
729831
  }
729785
- function checkWritePermissions(path37) {
729832
+ function checkWritePermissions(path38) {
729786
729833
  try {
729787
- const dir = dirname5(path37);
729834
+ const dir = dirname5(path38);
729788
729835
  accessSync(dir, constants8.W_OK);
729789
- if (existsSync18(path37)) {
729790
- accessSync(path37, constants8.W_OK);
729836
+ if (existsSync19(path38)) {
729837
+ accessSync(path38, constants8.W_OK);
729791
729838
  }
729792
729839
  return true;
729793
729840
  } catch {
@@ -729818,7 +729865,7 @@ del "%~f0"
729818
729865
  unlinkSync(backupPath);
729819
729866
  console.log("\u2705 Successfully upgraded!");
729820
729867
  } catch (error) {
729821
- if (existsSync18(backupPath)) {
729868
+ if (existsSync19(backupPath)) {
729822
729869
  try {
729823
729870
  renameSync(backupPath, currentPath);
729824
729871
  } catch {}
@@ -730134,10 +730181,10 @@ function assignProp(target, prop, value2) {
730134
730181
  configurable: true
730135
730182
  });
730136
730183
  }
730137
- function getElementAtPath(obj, path37) {
730138
- if (!path37)
730184
+ function getElementAtPath(obj, path38) {
730185
+ if (!path38)
730139
730186
  return obj;
730140
- return path37.reduce((acc, key) => acc?.[key], obj);
730187
+ return path38.reduce((acc, key) => acc?.[key], obj);
730141
730188
  }
730142
730189
  function promiseAllObject(promisesObj) {
730143
730190
  const keys4 = Object.keys(promisesObj);
@@ -730383,11 +730430,11 @@ function aborted2(x, startIndex = 0) {
730383
730430
  }
730384
730431
  return false;
730385
730432
  }
730386
- function prefixIssues(path37, issues) {
730433
+ function prefixIssues(path38, issues) {
730387
730434
  return issues.map((iss) => {
730388
730435
  var _a4;
730389
730436
  (_a4 = iss).path ?? (_a4.path = []);
730390
- iss.path.unshift(path37);
730437
+ iss.path.unshift(path38);
730391
730438
  return iss;
730392
730439
  });
730393
730440
  }
@@ -739055,8 +739102,8 @@ var require_utils9 = __commonJS((exports7, module) => {
739055
739102
  }
739056
739103
  return ind;
739057
739104
  }
739058
- function removeDotSegments(path37) {
739059
- let input = path37;
739105
+ function removeDotSegments(path38) {
739106
+ let input = path38;
739060
739107
  const output = [];
739061
739108
  let nextSlash = -1;
739062
739109
  let len = 0;
@@ -739246,8 +739293,8 @@ var require_schemes = __commonJS((exports7, module) => {
739246
739293
  wsComponent.secure = undefined;
739247
739294
  }
739248
739295
  if (wsComponent.resourceName) {
739249
- const [path37, query] = wsComponent.resourceName.split("?");
739250
- wsComponent.path = path37 && path37 !== "/" ? path37 : undefined;
739296
+ const [path38, query] = wsComponent.resourceName.split("?");
739297
+ wsComponent.path = path38 && path38 !== "/" ? path38 : undefined;
739251
739298
  wsComponent.query = query;
739252
739299
  wsComponent.resourceName = undefined;
739253
739300
  }
@@ -742382,12 +742429,12 @@ var require_dist5 = __commonJS((exports7, module) => {
742382
742429
  throw new Error(`Unknown format "${name3}"`);
742383
742430
  return f;
742384
742431
  };
742385
- function addFormats(ajv, list3, fs19, exportName) {
742432
+ function addFormats(ajv, list3, fs20, exportName) {
742386
742433
  var _a4;
742387
742434
  var _b4;
742388
742435
  (_a4 = (_b4 = ajv.opts.code).formats) !== null && _a4 !== undefined || (_b4.formats = (0, codegen_1._)`require("ajv-formats/dist/formats").${exportName}`);
742389
742436
  for (const f of list3)
742390
- ajv.addFormat(f, fs19[f]);
742437
+ ajv.addFormat(f, fs20[f]);
742391
742438
  }
742392
742439
  module.exports = exports7 = formatsPlugin;
742393
742440
  Object.defineProperty(exports7, "__esModule", { value: true });
@@ -742950,15 +742997,15 @@ var init_stdio4 = __esm(() => {
742950
742997
  });
742951
742998
 
742952
742999
  // src/mcp/context.ts
742953
- import { existsSync as existsSync19 } from "fs";
743000
+ import { existsSync as existsSync20 } from "fs";
742954
743001
  import { resolve as resolve6, join as join20 } from "path";
742955
743002
  async function resolveContext(cwd4) {
742956
743003
  const resolvedCwd = resolve6(cwd4 ?? process.cwd());
742957
- if (!existsSync19(resolvedCwd)) {
743004
+ if (!existsSync20(resolvedCwd)) {
742958
743005
  throw new Error(`Directory not found: ${resolvedCwd}`);
742959
743006
  }
742960
743007
  const configPath = join20(resolvedCwd, "agent.config.ts");
742961
- const isAdkProject = existsSync19(configPath);
743008
+ const isAdkProject = existsSync20(configPath);
742962
743009
  let project;
742963
743010
  if (isAdkProject) {
742964
743011
  try {
@@ -744519,11 +744566,11 @@ function Oo4(t9) {
744519
744566
  function hs4(t9) {
744520
744567
  return Object.prototype.toString.call(t9);
744521
744568
  }
744522
- function fs40(t9) {
744569
+ function fs41(t9) {
744523
744570
  return t9 < 10 ? "0" + t9.toString(10) : t9.toString(10);
744524
744571
  }
744525
744572
  function yE3() {
744526
- var t9 = new Date, e6 = [fs40(t9.getHours()), fs40(t9.getMinutes()), fs40(t9.getSeconds())].join(":");
744573
+ var t9 = new Date, e6 = [fs41(t9.getHours()), fs41(t9.getMinutes()), fs41(t9.getSeconds())].join(":");
744527
744574
  return [t9.getDate(), gE3[t9.getMonth()], e6].join(" ");
744528
744575
  }
744529
744576
  function Am3(t9, e6) {
@@ -755464,7 +755511,7 @@ var init_schemas4 = __esm(() => {
755464
755511
 
755465
755512
  // src/mcp/tools/init-project.ts
755466
755513
  import { join as join21 } from "path";
755467
- import { existsSync as existsSync20 } from "fs";
755514
+ import { existsSync as existsSync21 } from "fs";
755468
755515
  async function initProjectHandler(args, context4) {
755469
755516
  const validation = validateInput(InitProjectInputSchema, args);
755470
755517
  if (!validation.success) {
@@ -755478,7 +755525,7 @@ async function initProjectHandler(args, context4) {
755478
755525
  };
755479
755526
  }
755480
755527
  const projectPath = join21(context4.cwd, name3);
755481
- if (existsSync20(projectPath)) {
755528
+ if (existsSync21(projectPath)) {
755482
755529
  return {
755483
755530
  success: false,
755484
755531
  error: `Directory "${name3}" already exists in ${context4.cwd}`
@@ -870270,9 +870317,9 @@ function getPathFromURLPosix$1(url5) {
870270
870317
  return decodeURIComponent(pathname);
870271
870318
  }
870272
870319
  function pathToFileURL$1(filepath) {
870273
- let resolved = path59.resolve(filepath);
870320
+ let resolved = path60.resolve(filepath);
870274
870321
  const filePathLast = filepath.charCodeAt(filepath.length - 1);
870275
- if ((filePathLast === CHAR_FORWARD_SLASH$1 || isWindows$1 && filePathLast === CHAR_BACKWARD_SLASH$1) && resolved[resolved.length - 1] !== path59.sep) {
870322
+ if ((filePathLast === CHAR_FORWARD_SLASH$1 || isWindows$1 && filePathLast === CHAR_BACKWARD_SLASH$1) && resolved[resolved.length - 1] !== path60.sep) {
870276
870323
  resolved += "/";
870277
870324
  }
870278
870325
  const outURL = new URL("file://");
@@ -874783,7 +874830,7 @@ var __create7, __defProp12, __getOwnPropDesc6, __getOwnPropNames7, __getProtoOf7
874783
874830
  __defProp12(to4, key, { get: () => from[key], enumerable: !(desc2 = __getOwnPropDesc6(from, key)) || desc2.enumerable });
874784
874831
  }
874785
874832
  return to4;
874786
- }, __toESM7 = (mod, isNodeMode, target) => (target = mod != null ? __create7(__getProtoOf7(mod)) : {}, __copyProps6(isNodeMode || !mod || !mod.__esModule ? __defProp12(target, "default", { value: mod, enumerable: true }) : target, mod)), __toCommonJS4 = (mod) => __copyProps6(__defProp12({}, "__esModule", { value: true }), mod), init_dirname2, process_exports2, queue3, draining3, currentQueue3, queueIndex3, title3, arch5, platform9, env7, argv3, execArgv3, version4, versions5, emitWarning5, binding3, umask3, cwd4, chdir3, release3, browser2, _rawDebug3, moduleLoadList3, domain3, _exiting3, config5, reallyExit3, _kill3, cpuUsage3, resourceUsage3, memoryUsage3, kill3, exit3, openStdin3, allowedNodeEnvironmentFlags3, features3, _fatalExceptions3, setUncaughtExceptionCaptureCallback3, _tickCallback3, _debugProcess3, _debugEnd3, _startProfilerIdleNotifier3, _stopProfilerIdleNotifier3, stdout3, stderr3, stdin3, abort3, pid3, ppid3, execPath3, debugPort3, argv03, _preload_modules3, setSourceMapsEnabled3, _performance3, nowOffset2, nanoPerSec3, _maxListeners3, _events3, _eventsCount3, addListener3, once10, off3, removeListener3, removeAllListeners3, emit3, prependListener3, prependOnceListener3, process38, init_process3, init_process22, exports$24, _dewExec$24, exports$15, _dewExec$14, exports7, _dewExec6, init_chunk_DtuTasat2, buffer_exports, exports23, Buffer26, INSPECT_MAX_BYTES2, kMaxLength2, init_buffer5, init_buffer22, require_browser4, exports$k2, _dewExec$k2, exports$j2, _dewExec$j2, exports$i2, _dewExec$i2, exports$h2, _dewExec$h2, exports$g2, _dewExec$g2, exports$f2, _dewExec$f2, exports$e2, _dewExec$e2, exports$d2, _dewExec$d2, exports$c3, _dewExec$c2, exports$b3, _dewExec$b3, exports$a3, _dewExec$a3, exports$93, _dewExec$93, exports$83, _dewExec$83, exports$73, _dewExec$73, exports$63, _dewExec$63, exports$53, _dewExec$53, exports$43, _dewExec$43, exports$33, _dewExec$33, exports$222, _dewExec$222, exports$122, _dewExec$122, exports32, _dewExec22, init_chunk_DtcTpLWz2, exports42, _dewExec32, init_chunk_CkFCi_G12, queue22, draining22, currentQueue22, queueIndex22, title22, arch22, platform23, env23, argv22, execArgv23, version23, versions22, emitWarning23, binding22, umask22, cwd23, chdir22, release22, _rawDebug22, moduleLoadList22, domain22, _exiting22, config22, reallyExit22, _kill22, cpuUsage22, resourceUsage22, memoryUsage22, kill22, exit22, openStdin22, allowedNodeEnvironmentFlags22, features22, _fatalExceptions22, setUncaughtExceptionCaptureCallback22, _tickCallback22, _debugProcess22, _debugEnd22, _startProfilerIdleNotifier22, _stopProfilerIdleNotifier22, stdout22, stderr22, stdin22, abort22, pid22, ppid22, execPath23, debugPort22, argv022, _preload_modules22, setSourceMapsEnabled22, _performance22, nowOffset2, nanoPerSec22, _maxListeners22, _events22, _eventsCount22, addListener22, once23, off22, removeListener22, removeAllListeners22, emit22, prependListener22, prependOnceListener22, process25, init_chunk_DEMDiNwt2, util_exports2, exports$c22, _dewExec$b22, exports$b22, _dewExec$a22, exports$a22, _dewExec$922, exports$922, _dewExec$822, exports$822, _dewExec$722, exports$722, _dewExec$622, exports$622, _dewExec$522, _global$22, exports$522, _dewExec$422, _global$12, exports$422, _dewExec$322, exports$322, _dewExec$232, exports$232, _dewExec$132, exports$132, _dewExec42, _global24, exports52, _extend2, callbackify9, debuglog4, deprecate2, format5, inherits22, inspect5, isArray22, isBoolean22, isBuffer22, isDate22, isError3, isFunction24, isNull2, isNullOrUndefined2, isNumber24, isObject22, isPrimitive6, isRegExp22, isString22, isSymbol6, isUndefined22, log4, promisify11, types7, TextEncoder4, TextDecoder3, init_util5, assert_exports, exports$i22, _dewExec$h22, exports$h22, _dewExec$g22, exports$g22, _dewExec$f22, exports$f22, _dewExec$e22, exports$e22, _dewExec$d22, exports$d22, _dewExec$c22, exports$c32, _dewExec$b32, exports$b32, _dewExec$a32, exports$a32, _dewExec$932, exports$932, _dewExec$832, exports$832, _dewExec$732, exports$732, _dewExec$632, exports$632, _dewExec$532, exports$532, _dewExec$432, exports$432, _dewExec$332, exports$332, _dewExec$242, exports$242, _dewExec$142, exports$142, _dewExec52, exports62, AssertionError, deepEqual, deepStrictEqual, doesNotReject, doesNotThrow, equal, fail, ifError, notDeepEqual, notDeepStrictEqual, notEqual, notStrictEqual, ok4, rejects, strict, strictEqual, throws, init_assert, events_exports, exports$152, _dewExec62, exports72, EventEmitter10, defaultMaxListeners, init4, listenerCount, on32, once32, init_events5, exports$25, _dewExec$15, exports$16, _dewExec7, exports8, StringDecoder6, init_chunk_CcCWfKp1, stream_exports, exports$p, _dewExec$o, exports$o, _dewExec$n, exports$n, _dewExec$m, exports$m, _dewExec$l, exports$l, _dewExec$k22, exports$k22, _dewExec$j22, exports$j22, _dewExec$i22, exports$i3, _dewExec$h3, exports$h3, _dewExec$g3, exports$g3, _dewExec$f3, exports$f3, _dewExec$e3, exports$e3, _dewExec$d3, exports$d3, _dewExec$c3, exports$c4, _dewExec$b4, _global$222, exports$b4, _dewExec$a4, _global$122, exports$a4, _dewExec$94, exports$94, _dewExec$84, exports$84, _dewExec$74, exports$74, _dewExec$64, exports$64, _dewExec$54, exports$54, _dewExec$44, exports$44, _dewExec$34, exports$34, _dewExec$25, exports$26, _dewExec$16, _global32, exports$17, _dewExec8, exports9, Readable8, Writable4, Duplex4, Transform4, PassThrough3, finished7, pipeline2, Stream5, promises, init_stream3, require_assert, require_extsprintf, require_util8, require_verror, e7, t13, n6, r, i5, s4, y3, init_chunk_tHuMsdT0, init_chunk_DtDiafJB, e$2, t$3, n$2, r$2, o$3, l$2, s$1, f$1, a$1, T$1, t23, e22, o22, n22, r2, l22, t$1, o$1, n$1, e$1, r$1, c22, u22, i22, t$2, i$1, o$2, u$1, f22, a22, s22, p22, y22, l$1, d7, m3, h22, j3, A6, Q2, X4, Y3, ee, te4, re5, ne6, ie2, Se, Ee4, promisify22, init_chunk_D3uu3VYh, exports10, _dewExec9, _global42, process39, init_chunk_b0rmRow7, r$14, t$14, e$24, n$24, o$24, a$14, h$14, a$1$1, e$1$1, n$1$1, i$12, o$1$1, j22, Y22, e32, n32, o3, u32, e$12, s32, i32, exports$2$1, _dewExec$2$1, exports$1$1, _dewExec$1$1, exports$g4, _dewExec$g4, buffer, exports$f4, _dewExec$f4, exports$e4, _dewExec$e4, exports$d4, _dewExec$d4, exports$c5, _dewExec$c4, exports$b5, _dewExec$b5, exports$a5, _dewExec$a5, exports$95, _dewExec$95, _global$23, exports$85, _dewExec$85, _global$13, exports$75, _dewExec$75, exports$65, _dewExec$65, exports$55, _dewExec$55, exports$45, _dewExec$45, exports$35, _dewExec$35, _global5, exports$27, _dewExec$26, exports$18, _dewExec$17, exports11, _dewExec10, init_chunk_B738Er4n, promisify32, init_chunk_CbQqNoLO, exports$19, _dewExec11, _global6, exports12, Readable22, init_chunk_B6_G_Ftj, exports13, _dewExec12, init_chunk_C4rKjYLo, exports14, _dewExec13, _global7, init_chunk_BsRZ0PEC, exports$110, _dewExec14, _global8, exports15, Script2, createContext11, createScript, isContext, runInContext, runInNewContext, runInThisContext, init_vm, crypto_exports, exports$3H, _dewExec$3G, _global$1e, exports$3G, _dewExec$3F, exports$3F, _dewExec$3E, exports$3E, _dewExec$3D, exports$3D, _dewExec$3C, _global$1d, exports$3C, _dewExec$3B, _global$1c, exports$3B, _dewExec$3A, _global$1b, exports$3A, _dewExec$3z, _global$1a, exports$3z, _dewExec$3y, _global$19, exports$3y, _dewExec$3x, _global$18, exports$3x, _dewExec$3w, _global$17, exports$3w, _dewExec$3v, module$f, exports$3v, _dewExec$3u, _global$16, exports$3u, _dewExec$3t, exports$3t, _dewExec$3s, exports$3s, _dewExec$3r, exports$3r, _dewExec$3q, _algorithms$2, exports$3q, _dewExec$3p, exports$3p, _dewExec$3o, exports$3o, _dewExec$3n, _global$15, exports$3n, _dewExec$3m, exports$3m, _dewExec$3l, _global$14, exports$3l, _dewExec$3k, _global$132, exports$3k, _dewExec$3j, exports$3j, _dewExec$3i, exports$3i, _dewExec$3h, exports$3h, _dewExec$3g, exports$3g, _dewExec$3f, exports$3f, _dewExec$3e, exports$3e, _dewExec$3d, exports$3d, _dewExec$3c, exports$3c, _dewExec$3b, _global$1222, exports$3b, _dewExec$3a, exports$3a, _dewExec$39, exports$39, _dewExec$38, exports$38, _dewExec$37, exports$37, _dewExec$36, exports$36, _dewExec$352, exports$352, _dewExec$342, exports$342, _dewExec$3322, exports$3322, _dewExec$3222, _list$2, exports$3222, _dewExec$31, exports$31, _dewExec$30, _global$11, exports$30, _dewExec$2$, _global$10, exports$2$, _dewExec$2_, _global$$, exports$2_, _dewExec$2Z, _global$_, exports$2Z, _dewExec$2Y, exports$2Y, _dewExec$2X, _global$Z, exports$2X, _dewExec$2W, _global$Y, exports$2W, _dewExec$2V, exports$2V, _dewExec$2U, exports$2U, _dewExec$2T, exports$2T, _dewExec$2S, module$e, _global$X, exports$2S, _dewExec$2R, module$d, _global$W, exports$2Q, _dewExec$2P, exports$2P, _dewExec$2O, _global$U, exports$2O, _dewExec$2N, exports$2N, _dewExec$2M, exports$2M, _dewExec$2L, exports$2L, _dewExec$2K, exports$2K, _dewExec$2J, _global$T, exports$2J, _dewExec$2I, _global$S, exports$2I, _dewExec$2H, _global$R, exports$2H, _dewExec$2G, _global$Q, exports$2G, _dewExec$2F, _global$P, exports$2F, _dewExec$2E, _global$O, exports$2E, _dewExec$2D, _global$N, exports$2D, _dewExec$2C, module$b, exports$f$2, _dewExec$f$2, exports$e$2, _dewExec$e$2, exports$d$2, _dewExec$d$2, exports$c$2, _dewExec$c$2, exports$b$2, _dewExec$b$2, exports$a$2, _dewExec$a$2, exports$9$2, _dewExec$9$2, _global$2$2, exports$8$2, _dewExec$8$2, _global$1$2, exports$7$2, _dewExec$7$2, exports$6$2, _dewExec$6$2, exports$5$2, _dewExec$5$2, exports$4$2, _dewExec$4$2, exports$3$2, _dewExec$3$2, _global$M, exports$2$2, _dewExec$2$2, exports$1$2, _dewExec$1$2, exports$2C, _dewExec$2B, exports$2B, _dewExec$2A, _global$L, stream7, exports$2A, _dewExec$2z, _global$K, exports$2z, _dewExec$2y, exports$2y, _dewExec$2x, exports$2x, _dewExec$2w, exports$2w, _dewExec$2v, _algorithms$1, exports$2v, _dewExec$2u, exports$2u, _dewExec$2t, exports$2t, _dewExec$2s, _global$J, exports$2s, _dewExec$2r, exports$2r, _dewExec$2q, _global$I, exports$2q, _dewExec$2p, _global$H, exports$2p, _dewExec$2o, exports$2o, _dewExec$2n, exports$2n, _dewExec$2m, exports$2m, _dewExec$2l, exports$2l, _dewExec$2k, exports$2k, _dewExec$2j, exports$2j, _dewExec$2i, exports$2i, _dewExec$2h, exports$2h, _dewExec$2g, _global$G, exports$2g, _dewExec$2f, exports$2f, _dewExec$2e, exports$2e, _dewExec$2d, exports$2d, _dewExec$2c, exports$2c, _dewExec$2b, exports$2b, _dewExec$2a, exports$2a, _dewExec$29, exports$29, _dewExec$28, exports$28, _dewExec$27, _list$1, exports$272, _dewExec$262, exports$262, _dewExec$252, _global$F, exports$252, _dewExec$2422, _global$E, exports$2422, _dewExec$2322, _global$D, exports$2322, _dewExec$2222, _global$C, exports$2222, _dewExec$21, exports$21, _dewExec$20, _global$B, exports$20, _dewExec$1$, _global$A, exports$1$, _dewExec$1_, exports$1_, _dewExec$1Z, exports$1Z, _dewExec$1Y, exports$1Y, _dewExec$1X, module$a, _global$z, exports$1X, _dewExec$1W, module$9, _global$y, exports$1W, _dewExec$1V, exports$1U, _dewExec$1T, exports$1T, _dewExec$1S, _global$w, exports$1S, _dewExec$1R, exports$1R, _dewExec$1Q, exports$1Q, _dewExec$1P, exports$1P, _dewExec$1O, _global$v, exports$1O, _dewExec$1N, _global$u, exports$1N, _dewExec$1M, _global$t, exports$1M, _dewExec$1L, _global$s, exports$1L, _dewExec$1K, _global$r, exports$1K, _dewExec$1J, _global$q, exports$1J, _dewExec$1I, _global$p, exports$1I, _dewExec$1H, module$7, e$g, e$1$12, t$c, r$1$1, r$2$1, t$1$1, c$n, b$j, p$s, g$h, y$n, m$m, S$e, R$7, k$g, M$a, j$a, O$8, P$8, x$a, L$8, D$9, C$9, A$c, q$8, W$5, U$a, H$7, F$8, V$6, G$5, Y$4, z$9, J$5, Q$4, Z$3, $$3, t$2$1, r$3$1, n$1$12, b$1$1, p$1$1, g$1$1, y$1$1, w$1$1, S$1$1, R$1$1, k$1$1, E$1$1, M$1$1, O$1$1, T$1$1, x$1$1, P$1$1, D$1$1, L$1$1, C$1$1, A$1$1, I$1$1, N$1$1, U$1$1, H$1$1, F$1$1, V$1$1, Y$1$1, K$1$1, z$1$1, Q$1$1, X$1$1, t$4$1, t$5$1, n$2$1, i$e, a$p, o$s, s$q, f$2$1, h$2$1, p$2$1, o$1$12, e$3$1, s$1$1, t$6$1, o$2$1, e$4$1, f$3$1, v$2$1, l$r, d$n, f$u, b$i, exports$1H, _dewExec$1G, _global$o, exports$1G, _dewExec$1F, exports$1F, _dewExec$1E, exports$1E, _dewExec$1D, exports$1D, _dewExec$1C, _algorithms, exports$1C, _dewExec$1B, exports$1B, _dewExec$1A, exports$1A, _dewExec$1z, _global$n, exports$1z, _dewExec$1y, exports$1y, _dewExec$1x, _global$m, exports$1x, _dewExec$1w, _global$l, exports$1w, _dewExec$1v, exports$1v, _dewExec$1u, exports$1u, _dewExec$1t, exports$1t, _dewExec$1s, exports$1s, _dewExec$1r, exports$1r, _dewExec$1q, exports$1q, _dewExec$1p, exports$1p, _dewExec$1o, exports$1o, _dewExec$1n, _global$k, exports$1n, _dewExec$1m, exports$1m, _dewExec$1l, exports$1l, _dewExec$1k, exports$1k, _dewExec$1j, exports$1j$1, _dewExec$1i$1, exports$1i$1, _dewExec$1h$1, exports$1h$1, _dewExec$1g$1, exports$1g$1, _dewExec$1f$1, exports$1f$1, _dewExec$1e$1, _list, exports$1e$1, _dewExec$1d$1, exports$1d$1, _dewExec$1c$1, _global$j$1, exports$1c$1, _dewExec$1b$1, _global$i$1, exports$1b$1, _dewExec$1a$1, _global$h$1, exports$1a$1, _dewExec$19$1, _global$g$1, exports$19$1, _dewExec$18$1, exports$18$1, _dewExec$17$1, _global$f$1, exports$17$1, _dewExec$16$1, _global$e$1, exports$16$1, _dewExec$15$1, exports$15$1, _dewExec$14$1, exports$14$1, _dewExec$13$1, exports$13$1, _dewExec$12$1, module$6, _global$d$1, exports$12$1, _dewExec$11$1, module$5, _global$c$1, _global$b$1, exports$11$1, indexOf2, Object_keys2, forEach32, defineProp2, globals2, Script3, o4, n42, t42, f4, a4, e62, o$13, f$13, h42, r4, _32, e$13, u42, h$12, _$1, r$12, e$22, n$22, o$32, f$3, c$13, a$22, l$13, I32, s$13, h$2, _$2, n$3, r$22, o$4, f$4, l$22, a$3, w$1, _$3, e$4, n$4, r$3, l$3, o$5, c$3, d$2, p$2, b$2, w$2, g32, B32, T32, m32, A32, U32, x32, j32, q22, L32, k$2, z32, D32, F32, G22, H22, W22, X22, Y32, Z22, $22, tt2, it4, st5, _t5, et5, nt5, e$5, n$5, s$2, h$3, f$6, m$12, n$6, p$3, s$3, h$4, e$6, r$4, o$6, h$5, n$7, p$4, l$4, d$3, c$4, _$4, m$2, u$4, g$1, v$1, w$3, s$4, f$8, a$7, u$5, h$6, c$5, l$5, p$5, d$4, m$3, y$2, b$3, v$2, w$4, g$2, B$1, k$3, S$1, A$1, H$1, E$2, P$1, U$1, K$1, x$1, z$1, I$2, F$1, M$1, r$5, o$7, r$6, i42, n$8, f$9, o$8, p$6, s$6, a$8, h$7, c$6, l$6, d$5, _$5, b$4, k$4, g$3, m$4, z$2, w$5, E$3, I$3, A$2, U$2, d$6, i$13, f$a, o$9, a$9, c$7, n$9, l$7, e$8, f$b, t$12, a$a, p$8, n$a, i$22, o$a, h$8, y$4, f$c, l$8, m$5, B$3, u$7, C$1, d$7, b$5, A$3, S$3, F$2, U$3, w$6, I$4, M$2, a$b, h$9, o$b, f$d, u$8, _$7, d$8, y$5, S$4, v$5, I$5, U$4, w$7, m$6, E$5, b$6, k$6, T$2, O$2, A$4, M$3, V$1, t$22, f$e, a$c, c$9, s$9, f$f, p$a, u$9, l$a, d$9, y$6, m$7, c$a, s$a, f$g, p$b, l$b, u$a, d$a, m$8, y$7, _$8, t$32, p$c, c$b, o$c, e$9, p$d, n$b, s$b, v$8, y$8, a$d, t$4, i$3, r$7, h$a, n$c, t$5, e$a, r$8, n$d, a$e, f$i, n$e, t$6, o$e, a$f, i$4, b$7, d$c, r$9, t$7, n$f, i$5, o$f, p$e, s$c, m$9, u$b, h$b, w$a, y$9, P$2, B$5, K$2, R$1, S$5, x$2, C$2, D$2, G$1, H$2, T$3, j$1, M$4, q$1, O$3, z$3, F$3, I$6, J$1, N$2, m$a, u$c, n$g, d$d, l$d, r$a, e$b, n$i, a$g, i$7, o$g, c$d, s$d, l$e, u$d, h$c, d$e, r$b, i$8, e$c, a$h, l$f, g$9, r$c, n$j, s$f, o$i, e$d, u$f, a$i, c$f, f$k, v$b, _$a, l$g, p$g, m$c, g$a, k$8, d$f, C$3, s$g, n$k, u$g, a$j, c$g, f$l, _$b, g$b, m$d, p$h, l$h, v$c, d$g, k$9, b$9, j$3, x$4, y$c, w$c, r$e, o$k, a$k, u$h, l$i, c$h, p$i, f$m, g$c, d$h, S$8, _$c, b$a, z$5, k$a, y$d, H$4, w$d, L$3, j$4, A$7, B$7, W$2, q$3, C$4, D$3, E$7, F$4, M$5, N$3, O$4, P$3, Q$1, R$2, T$4, V$2, X$2, Y$1, s$h, h$e, r$f, n$l, a$l, b$b, i$9, n$m, s$i, o$m, u$i, l$j, v$e, y$e, m$f, S$9, g$d, M$6, x$6, _$d, z$6, q$4, R$3, N$4, E$8, k$b, O$5, L$4, B$8, T$5, J$3, X$3, D$4, Y$2, W$3, K$4, U$6, G$3, H$5, Z$1, $$1, ee2, de22, ce22, te22, ae22, re22, be22, ie, ne22, se22, ue22, he22, pe22, le22, ve2, me22, Se2, ge22, Ae22, Ie4, we22, xe4, _e, ze, qe2, Re4, Pe2, je22, Ne4, Ee22, Oe2, Le4, Be2, o$n, s$j, a$m, u$j, c$i, f$n, p$k, d$i, g$e, _$e, v$f, b$c, m$g, S$a, j$6, w$f, B$9, k$c, D$5, U$7, N$5, O$6, A$9, x$7, I$9, q$5, F$6, K$5, R$4, G$4, L$5, M$7, J$4, V$4, z$7, H$6, Q$3, e$f, t$a, s$k, n$n, o$o, h$h, y$g, r$g, u$k, a$n, c$j, k$d, f$o, b$d, l$l, d$j, p$l, j$7, v$g, m$h, q$6, K$6, P$6, s$l, i$a, o$p, d$k, n$o, p$m, u$l, y$h, m$i, f$p, b$e, E$a, h$i, v$h, p$n, d$l, f$q, c$k, g$f, w$g, l$n, m$j, v$i, E$b, L$6, R$5, j$8, T$7, P$7, K$7, W$4, x$8, B$a, S$b, q$7, U$8, V$5, C$7, z$8, i$b, n$p, p$o, s$m, u$m, o$q, f$r, i$c, l$o, u$n, c$m, p$p, d$m, h$j, s$n, g$g, m$k, w$h, v$j, y$k, E$c, b$g, B$b, x$9, L$7, k$f, D$7, U$9, R$6, S$c, j$9, A$b, I$a, M$9, o$r, t$b, f$t, u$o, a$o, s$o, l$p, m$l, p$q, l$q, D$8, s$p, _$g, h$k, y$m, E$d, S$d, C$8, N$6, exports$10$1, _dewExec$10$1, _global$a$1, exports$$$1, _dewExec$$$1, _global$9$1, exports$_$1, _dewExec$_$1, _primes$1, exports$Z$1, _dewExec$Z$1, _global$8$1, exports$Y$1, _dewExec$Y$1, exports$X$1, _dewExec$X$1, module$4$1, _global$7$1, exports$W$1, _dewExec$W$1, _package$1, exports$V$1, _dewExec$V$1, module$3$1, _global$6$1, exports$U$1, _dewExec$U$1, exports$T$1, _dewExec$T$1, exports$S$1, _dewExec$S$1, exports$R$1, _dewExec$R$1, exports$Q$1, _dewExec$Q$1, exports$P$1, _dewExec$P$1, exports$O$1, _dewExec$O$1, exports$N$1, _dewExec$N$1, exports$M$1, _dewExec$M$1, exports$L$1, _dewExec$L$1, exports$K$1, _dewExec$K$1, exports$J$1, _dewExec$J$1, exports$I$1, _dewExec$I$1, exports$H$1, _dewExec$H$1, exports$G$1, _dewExec$G$1, exports$F$1, _dewExec$F$1, exports$E$1, _dewExec$E$1, exports$D$1, _dewExec$D$1, exports$C$1, _dewExec$C$1, exports$B$1, _dewExec$B$1, exports$A$1, _dewExec$A$1, exports$z$1, _dewExec$z$1, exports$y$1, _dewExec$y$1, exports$x$1, _dewExec$x$1, module$2$1, _global$5$1, exports$w$1, _dewExec$w$1, exports$v$1, _dewExec$v$1, exports$u$1, _dewExec$u$1, exports$t$1, _dewExec$t$1, exports$s$1, _dewExec$s$1, exports$r$1, _dewExec$r$1, exports$q$1, _dewExec$q$1, exports$p$1, _dewExec$p$1, exports$o$1, _dewExec$o$1, exports$n$1, _dewExec$n$1, exports$m$1, _dewExec$m$1, exports$l$1, _dewExec$l$1, exports$k$1, _dewExec$k$1, exports$j$1, _dewExec$j$1, exports$i$1, _dewExec$i$1, exports$h$1, _dewExec$h$1, exports$g$1, _dewExec$g$1, _aesid$1, exports$f$1, _dewExec$f$1, exports$e$1, _dewExec$e$1, _curves$1, exports$d$1, _dewExec$d$1, exports$c$1, _dewExec$c$1, exports$b$1, _dewExec$b$1, _global$4$1, exports$a$1, _dewExec$a$1, module$1$1, _global$3$1, exports$9$1, _dewExec$9$1, _global$2$1, exports$8$1, _dewExec$8$1, exports$7$1, _dewExec$7$1, exports$6$1, _dewExec$6$1, module$8, _global$1$1, exports$5$1, _dewExec$5$1, exports$4$1, _dewExec$4$1, exports$3$1, _dewExec$3$1, exports$2$12, _dewExec$2$12, exports$1$12, _dewExec$1$12, _global$x, exports$1V, _dewExec$1U, crypto7, exports$12$2, _dewExec$11$2, _global$a$2, exports$11$2, _dewExec$10$2, _global$9$2, exports$10$2, _dewExec$$$2, _primes$2, exports$$$2, _dewExec$_$2, _global$8$2, exports$_$2, _dewExec$Z$2, exports$Z$2, _dewExec$Y$2, exports$Y$2, _dewExec$X$2, module$4$2, _global$7$2, exports$X$2, _dewExec$W$2, _package$2, exports$W$2, _dewExec$V$2, module$3$2, _global$6$2, exports$V$2, _dewExec$U$2, exports$U$2, _dewExec$T$2, exports$T$2, _dewExec$S$2, exports$S$2, _dewExec$R$2, exports$R$2, _dewExec$Q$2, exports$Q$2, _dewExec$P$2, exports$P$2, _dewExec$O$2, exports$O$2, _dewExec$N$2, exports$N$2, _dewExec$M$2, exports$M$2, _dewExec$L$2, exports$L$2, _dewExec$K$2, exports$K$2, _dewExec$J$2, exports$J$2, _dewExec$I$2, exports$I$2, _dewExec$H$2, exports$H$2, _dewExec$G$2, exports$G$2, _dewExec$F$2, exports$F$2, _dewExec$E$2, exports$E$2, _dewExec$D$2, exports$D$2, _dewExec$C$2, exports$C$2, _dewExec$B$2, exports$B$2, _dewExec$A$2, exports$A$2, _dewExec$z$2, exports$z$2, _dewExec$y$2, exports$y$2, _dewExec$x$2, module$2$2, _global$5$2, exports$x$2, _dewExec$w$2, exports$w$2, _dewExec$v$2, exports$v$2, _dewExec$u$2, exports$u$2, _dewExec$t$2, exports$t$2, _dewExec$s$2, exports$s$2, _dewExec$r$2, exports$r$2, _dewExec$q$2, exports$q$2, _dewExec$p$2, exports$p$2, _dewExec$o$2, exports$o$2, _dewExec$n$2, exports$n$2, _dewExec$m$2, exports$m$2, _dewExec$l$2, exports$l$2, _dewExec$k$2, exports$k$2, _dewExec$j$2, exports$j$2, _dewExec$i$2, exports$i$2, _dewExec$h$2, exports$h$2, _dewExec$g$2, _aesid$2, exports$g$2, _dewExec$f$3, exports$f$3, _dewExec$e$3, _curves$2, exports$e$3, _dewExec$d$3, exports$d$3, _dewExec$c$3, exports$c$3, _dewExec$b$3, _global$4$2, exports$b$3, _dewExec$a$3, module$1$2, _global$3$2, exports$a$3, _dewExec$9$3, _global$2$3, exports$9$3, _dewExec$8$3, exports$8$3, _dewExec$7$3, exports$7$3, _dewExec$6$3, module$c, _global$1$3, exports$6$3, _dewExec$5$3, exports$5$3, _dewExec$4$3, exports$4$3, _dewExec$3$3, exports$3$3, _dewExec$2$3, exports$2$3, _dewExec$1$3, _global$V, exports$1$3, _dewExec$2Q, exports$2R, exports$1j, _dewExec$1i, _global$j, exports$1i, _dewExec$1h, _global$i, exports$1h, _dewExec$1g, _primes, exports$1g, _dewExec$1f, _global$h, exports$1f, _dewExec$1e, exports$1e, _dewExec$1d, exports$1d, _dewExec$1c, exports$1c, _dewExec$1b, exports$1b, _dewExec$1a, exports$1a, _dewExec$19, exports$192, _dewExec$18, exports$182, _dewExec$172, exports$172, _dewExec$162, _global$g, exports$162, _dewExec$152, exports$1522, _dewExec$1422, _global$f, exports$1422, _dewExec$1322, exports$1322, _dewExec$1222, exports$1222, _dewExec$11, exports$11, _dewExec$10, module$4, _global$e, exports$10, _dewExec$$, _package, exports$$, _dewExec$_, module$3, _global$d, exports$_, _dewExec$Z, exports$Z, _dewExec$Y, exports$Y, _dewExec$X, exports$X, _dewExec$W, exports$W, _dewExec$V, exports$V, _dewExec$U, exports$U, _dewExec$T, exports$T, _dewExec$S, exports$S, _dewExec$R, exports$R, _dewExec$Q, exports$Q, _dewExec$P, exports$P, _dewExec$O, exports$O, _dewExec$N, exports$N, _dewExec$M, exports$M, _dewExec$L, exports$L, _dewExec$K, exports$K, _dewExec$J, exports$J, _dewExec$I, exports$I, _dewExec$H, exports$H, _dewExec$G, exports$G, _dewExec$F, exports$F, _dewExec$E, exports$E, _dewExec$D, exports$D, _dewExec$C, exports$C, _dewExec$B, exports$B, _dewExec$A, exports$A, _dewExec$z, exports$z, _dewExec$y, exports$y, _dewExec$x, exports$x, _dewExec$w, module$2, _global$c, exports$w, _dewExec$v, _global$b, exports$v, _dewExec$u, _global$a, exports$u, _dewExec$t, _global$9, exports$t, _dewExec$s, _global$8, exports$s, _dewExec$r, exports$r, _dewExec$q, exports$q, _dewExec$p, exports$p2, _dewExec$o2, _global$7, exports$o2, _dewExec$n2, _global$6, exports$n2, _dewExec$m2, exports$m2, _dewExec$l2, _global$5, exports$l2, _dewExec$k3, _global$4, exports$k3, _dewExec$j3, exports$j3, _dewExec$i3, exports$i4, _dewExec$h4, exports$h4, _dewExec$g5, _aesid, exports$g5, _dewExec$f5, exports$f5, _dewExec$e5, _curves, exports$e5, _dewExec$d5, exports$d5, _dewExec$c5, exports$c6, _dewExec$b6, exports$b6, _dewExec$a6, module$1, _global$3, exports$a6, _dewExec$96, _global$24, exports$96, _dewExec$86, exports$86, _dewExec$76, exports$76, _dewExec$66, module, _global$110, exports$66, _dewExec$56, exports$56, _dewExec$46, exports$46, _dewExec$310, exports$310, _dewExec$210, exports$210, _dewExec$110, _global9, exports$111, _dewExec15, exports16, Cipher, Cipheriv, Decipher, Decipheriv, DiffieHellman, DiffieHellmanGroup, Hash4, Hmac, Sign, Verify, constants9, createCipher, createCipheriv, createCredentials, createDecipher, createDecipheriv, createDiffieHellman, createDiffieHellmanGroup, createECDH, createHash3, createHmac, createSign, createVerify, getCiphers, getDiffieHellman, getHashes, listCiphers, pbkdf2, pbkdf2Sync, privateDecrypt, privateEncrypt, prng, pseudoRandomBytes, publicDecrypt, publicEncrypt, randomBytes4, randomFill, randomFillSync, rng, webcrypto, getRandomValues, randomUUID, init_crypto2, require_lib32, require_es_object_atoms4, require_es_errors4, require_eval4, require_range5, require_ref6, require_syntax4, require_type5, require_uri5, require_abs4, require_floor4, require_max4, require_min4, require_pow4, require_round4, require_isNaN4, require_sign4, require_gOPD4, require_gopd4, require_es_define_property4, require_shams5, require_has_symbols4, require_Reflect_getPrototypeOf4, require_Object_getPrototypeOf4, require_implementation4, require_function_bind4, require_functionCall4, require_functionApply4, require_reflectApply4, require_actualApply4, require_call_bind_apply_helpers4, require_get4, require_get_proto4, require_hasown4, require_get_intrinsic4, require_es_object_atoms22, require_functionApply22, require_functionCall22, require_get_intrinsic22, require_define_data_property, require_has_property_descriptors, require_set_function_length, require_call_bind, require_callBound, require_util22, require_object_inspect, require_side_channel, require_formats2, require_utils10, require_stringify2, require_parse9, require_lib210, require_safe_buffer, require_data_stream, require_buffer_equal_constant_time, require_param_bytes_for_alg, require_ecdsa_sig_formatter, require_jwa, require_tostring, require_sign_stream, require_verify_stream, require_jws, require_decode, require_JsonWebTokenError, require_NotBeforeError, require_TokenExpiredError, require_ms4, require_timespan, require_constants8, require_debug6, require_re2, require_parse_options2, require_identifiers2, require_semver6, require_parse22, require_valid3, require_clean2, require_inc2, require_diff2, require_major2, require_minor2, require_patch2, require_prerelease2, require_compare2, require_rcompare2, require_compare_loose2, require_compare_build2, require_sort2, require_rsort2, require_gt2, require_lt2, require_eq2, require_neq2, require_gte2, require_lte2, require_cmp2, require_coerce2, require_lrucache2, require_range22, require_comparator2, require_satisfies2, require_to_comparators2, require_max_satisfying2, require_min_satisfying2, require_min_version2, require_valid22, require_outside2, require_gtr2, require_ltr2, require_intersects2, require_simplify2, require_subset2, require_semver22, require_asymmetricKeyDetailsSupported, require_rsaPssKeyDetailsSupported, require_validateAsymmetricKey, require_psSupported, require_verify, require_lodash4, require_lodash22, require_lodash32, require_lodash42, require_lodash5, require_lodash6, require_lodash7, require_sign22, require_jsonwebtoken, require_eventsource, exports$112, _dewExec16, exports17, decode2, encode32, toASCII, toUnicode, ucs2, version32, init_punycode, exports$113, _dewExec17, exports18, init_chunk_BlJi4mNy2, url_exports, empty, exports$87, _dewExec$77, _global10, exports$77, _dewExec$67, exports$67, _dewExec$57, exports$57, _dewExec$47, exports$47, _dewExec$311, exports$311, _dewExec$211, exports$211, _dewExec$111, exports$114, _dewExec18, exports19, processPlatform, Url, format23, resolve7, resolveObject, parse17, _URL, CHAR_BACKWARD_SLASH, CHAR_FORWARD_SLASH, CHAR_LOWERCASE_A, CHAR_LOWERCASE_Z, isWindows6, forwardSlashRegEx, percentRegEx, backslashRegEx, newlineRegEx, carriageReturnRegEx, tabRegEx, init_url, exports$115, _dewExec$112, exports$212, t$13, o$23, n$23, e$23, r$23, c$14, s5, u$14, a$13, d42, h$13, p$13, n$14, r$13, t52, o$14, h52, e72, a5, o5, n52, i52, l52, p5, c52, u5, f6, m4, v52, g42, y5, b42, exports20, _dewExec19, path59, processPlatform$1, CHAR_BACKWARD_SLASH$1, CHAR_FORWARD_SLASH$1, CHAR_LOWERCASE_A$1, CHAR_LOWERCASE_Z$1, isWindows$1, forwardSlashRegEx$1, percentRegEx$1, backslashRegEx$1, newlineRegEx$1, carriageReturnRegEx$1, tabRegEx$1, processPlatform2, CHAR_BACKWARD_SLASH2, CHAR_FORWARD_SLASH2, CHAR_LOWERCASE_A2, CHAR_LOWERCASE_Z2, isWindows22, forwardSlashRegEx2, percentRegEx2, backslashRegEx2, newlineRegEx2, carriageReturnRegEx2, tabRegEx2, init_chunk_DHWh_hmB, https_exports, exports$68, _dewExec$58, _global$32, exports$58, _dewExec$48, _global$25, exports$48, _dewExec$312, _global$111, exports$312, _dewExec$212, exports$213, _dewExec$113, exports$1$13, _dewExec$68, _global$42, exports$78, exports$116, _dewExec20, _global11, exports21, Agent, ClientRequest, IncomingMessage, METHODS, STATUS_CODES, get4, globalAgent, request, init_https, http_exports, exports$l3, _dewExec$k4, _global$52, exports$k4, _dewExec$j4, exports$j4, _dewExec$i4, exports$i5, _dewExec$h5, exports$h5, _dewExec$g6, exports$g6, _dewExec$f6, exports$f6, _dewExec$e6, _global$43, exports$e6, _dewExec$d6, exports$d6, _dewExec$c6, exports$c7, _dewExec$b7, exports$b7, _dewExec$a7, exports$a7, _dewExec$97, _global$33, exports$97, _dewExec$87, exports$88, _dewExec$78, exports$79, _dewExec$69, exports$69, _dewExec$59, exports$59, _dewExec$49, _global$26, exports$49, _dewExec$313, _global$112, exports$313, _dewExec$213, exports$214, _dewExec$114, exports$117, _dewExec21, _global12, exports222, Agent2, ClientRequest2, IncomingMessage2, METHODS2, STATUS_CODES2, get22, globalAgent2, request2, init_http4, require_eventsource2, axios_exports, toString10, getPrototypeOf4, kindOf4, kindOfTest4 = (type) => {
874833
+ }, __toESM7 = (mod, isNodeMode, target) => (target = mod != null ? __create7(__getProtoOf7(mod)) : {}, __copyProps6(isNodeMode || !mod || !mod.__esModule ? __defProp12(target, "default", { value: mod, enumerable: true }) : target, mod)), __toCommonJS4 = (mod) => __copyProps6(__defProp12({}, "__esModule", { value: true }), mod), init_dirname2, process_exports2, queue3, draining3, currentQueue3, queueIndex3, title3, arch5, platform9, env7, argv3, execArgv3, version4, versions5, emitWarning5, binding3, umask3, cwd4, chdir3, release3, browser2, _rawDebug3, moduleLoadList3, domain3, _exiting3, config5, reallyExit3, _kill3, cpuUsage3, resourceUsage3, memoryUsage3, kill3, exit3, openStdin3, allowedNodeEnvironmentFlags3, features3, _fatalExceptions3, setUncaughtExceptionCaptureCallback3, _tickCallback3, _debugProcess3, _debugEnd3, _startProfilerIdleNotifier3, _stopProfilerIdleNotifier3, stdout3, stderr3, stdin3, abort3, pid3, ppid3, execPath3, debugPort3, argv03, _preload_modules3, setSourceMapsEnabled3, _performance3, nowOffset2, nanoPerSec3, _maxListeners3, _events3, _eventsCount3, addListener3, once10, off3, removeListener3, removeAllListeners3, emit3, prependListener3, prependOnceListener3, process38, init_process3, init_process22, exports$24, _dewExec$24, exports$15, _dewExec$14, exports7, _dewExec6, init_chunk_DtuTasat2, buffer_exports, exports23, Buffer26, INSPECT_MAX_BYTES2, kMaxLength2, init_buffer5, init_buffer22, require_browser4, exports$k2, _dewExec$k2, exports$j2, _dewExec$j2, exports$i2, _dewExec$i2, exports$h2, _dewExec$h2, exports$g2, _dewExec$g2, exports$f2, _dewExec$f2, exports$e2, _dewExec$e2, exports$d2, _dewExec$d2, exports$c3, _dewExec$c2, exports$b3, _dewExec$b3, exports$a3, _dewExec$a3, exports$93, _dewExec$93, exports$83, _dewExec$83, exports$73, _dewExec$73, exports$63, _dewExec$63, exports$53, _dewExec$53, exports$43, _dewExec$43, exports$33, _dewExec$33, exports$222, _dewExec$222, exports$122, _dewExec$122, exports32, _dewExec22, init_chunk_DtcTpLWz2, exports42, _dewExec32, init_chunk_CkFCi_G12, queue22, draining22, currentQueue22, queueIndex22, title22, arch22, platform23, env23, argv22, execArgv23, version23, versions22, emitWarning23, binding22, umask22, cwd23, chdir22, release22, _rawDebug22, moduleLoadList22, domain22, _exiting22, config22, reallyExit22, _kill22, cpuUsage22, resourceUsage22, memoryUsage22, kill22, exit22, openStdin22, allowedNodeEnvironmentFlags22, features22, _fatalExceptions22, setUncaughtExceptionCaptureCallback22, _tickCallback22, _debugProcess22, _debugEnd22, _startProfilerIdleNotifier22, _stopProfilerIdleNotifier22, stdout22, stderr22, stdin22, abort22, pid22, ppid22, execPath23, debugPort22, argv022, _preload_modules22, setSourceMapsEnabled22, _performance22, nowOffset2, nanoPerSec22, _maxListeners22, _events22, _eventsCount22, addListener22, once23, off22, removeListener22, removeAllListeners22, emit22, prependListener22, prependOnceListener22, process25, init_chunk_DEMDiNwt2, util_exports2, exports$c22, _dewExec$b22, exports$b22, _dewExec$a22, exports$a22, _dewExec$922, exports$922, _dewExec$822, exports$822, _dewExec$722, exports$722, _dewExec$622, exports$622, _dewExec$522, _global$22, exports$522, _dewExec$422, _global$12, exports$422, _dewExec$322, exports$322, _dewExec$232, exports$232, _dewExec$132, exports$132, _dewExec42, _global24, exports52, _extend2, callbackify9, debuglog4, deprecate2, format5, inherits22, inspect5, isArray22, isBoolean22, isBuffer22, isDate22, isError3, isFunction24, isNull2, isNullOrUndefined2, isNumber24, isObject22, isPrimitive6, isRegExp22, isString22, isSymbol6, isUndefined22, log4, promisify11, types7, TextEncoder4, TextDecoder3, init_util5, assert_exports, exports$i22, _dewExec$h22, exports$h22, _dewExec$g22, exports$g22, _dewExec$f22, exports$f22, _dewExec$e22, exports$e22, _dewExec$d22, exports$d22, _dewExec$c22, exports$c32, _dewExec$b32, exports$b32, _dewExec$a32, exports$a32, _dewExec$932, exports$932, _dewExec$832, exports$832, _dewExec$732, exports$732, _dewExec$632, exports$632, _dewExec$532, exports$532, _dewExec$432, exports$432, _dewExec$332, exports$332, _dewExec$242, exports$242, _dewExec$142, exports$142, _dewExec52, exports62, AssertionError, deepEqual, deepStrictEqual, doesNotReject, doesNotThrow, equal, fail, ifError, notDeepEqual, notDeepStrictEqual, notEqual, notStrictEqual, ok4, rejects, strict, strictEqual, throws, init_assert, events_exports, exports$152, _dewExec62, exports72, EventEmitter10, defaultMaxListeners, init4, listenerCount, on32, once32, init_events5, exports$25, _dewExec$15, exports$16, _dewExec7, exports8, StringDecoder6, init_chunk_CcCWfKp1, stream_exports, exports$p, _dewExec$o, exports$o, _dewExec$n, exports$n, _dewExec$m, exports$m, _dewExec$l, exports$l, _dewExec$k22, exports$k22, _dewExec$j22, exports$j22, _dewExec$i22, exports$i3, _dewExec$h3, exports$h3, _dewExec$g3, exports$g3, _dewExec$f3, exports$f3, _dewExec$e3, exports$e3, _dewExec$d3, exports$d3, _dewExec$c3, exports$c4, _dewExec$b4, _global$222, exports$b4, _dewExec$a4, _global$122, exports$a4, _dewExec$94, exports$94, _dewExec$84, exports$84, _dewExec$74, exports$74, _dewExec$64, exports$64, _dewExec$54, exports$54, _dewExec$44, exports$44, _dewExec$34, exports$34, _dewExec$25, exports$26, _dewExec$16, _global32, exports$17, _dewExec8, exports9, Readable8, Writable4, Duplex4, Transform4, PassThrough3, finished7, pipeline2, Stream5, promises, init_stream3, require_assert, require_extsprintf, require_util8, require_verror, e7, t13, n6, r, i5, s4, y3, init_chunk_tHuMsdT0, init_chunk_DtDiafJB, e$2, t$3, n$2, r$2, o$3, l$2, s$1, f$1, a$1, T$1, t23, e22, o22, n22, r2, l22, t$1, o$1, n$1, e$1, r$1, c22, u22, i22, t$2, i$1, o$2, u$1, f22, a22, s22, p22, y22, l$1, d7, m3, h22, j3, A6, Q2, X4, Y3, ee, te4, re5, ne6, ie2, Se, Ee4, promisify22, init_chunk_D3uu3VYh, exports10, _dewExec9, _global42, process39, init_chunk_b0rmRow7, r$14, t$14, e$24, n$24, o$24, a$14, h$14, a$1$1, e$1$1, n$1$1, i$12, o$1$1, j22, Y22, e32, n32, o3, u32, e$12, s32, i32, exports$2$1, _dewExec$2$1, exports$1$1, _dewExec$1$1, exports$g4, _dewExec$g4, buffer, exports$f4, _dewExec$f4, exports$e4, _dewExec$e4, exports$d4, _dewExec$d4, exports$c5, _dewExec$c4, exports$b5, _dewExec$b5, exports$a5, _dewExec$a5, exports$95, _dewExec$95, _global$23, exports$85, _dewExec$85, _global$13, exports$75, _dewExec$75, exports$65, _dewExec$65, exports$55, _dewExec$55, exports$45, _dewExec$45, exports$35, _dewExec$35, _global5, exports$27, _dewExec$26, exports$18, _dewExec$17, exports11, _dewExec10, init_chunk_B738Er4n, promisify32, init_chunk_CbQqNoLO, exports$19, _dewExec11, _global6, exports12, Readable22, init_chunk_B6_G_Ftj, exports13, _dewExec12, init_chunk_C4rKjYLo, exports14, _dewExec13, _global7, init_chunk_BsRZ0PEC, exports$110, _dewExec14, _global8, exports15, Script2, createContext11, createScript, isContext, runInContext, runInNewContext, runInThisContext, init_vm, crypto_exports, exports$3H, _dewExec$3G, _global$1e, exports$3G, _dewExec$3F, exports$3F, _dewExec$3E, exports$3E, _dewExec$3D, exports$3D, _dewExec$3C, _global$1d, exports$3C, _dewExec$3B, _global$1c, exports$3B, _dewExec$3A, _global$1b, exports$3A, _dewExec$3z, _global$1a, exports$3z, _dewExec$3y, _global$19, exports$3y, _dewExec$3x, _global$18, exports$3x, _dewExec$3w, _global$17, exports$3w, _dewExec$3v, module$f, exports$3v, _dewExec$3u, _global$16, exports$3u, _dewExec$3t, exports$3t, _dewExec$3s, exports$3s, _dewExec$3r, exports$3r, _dewExec$3q, _algorithms$2, exports$3q, _dewExec$3p, exports$3p, _dewExec$3o, exports$3o, _dewExec$3n, _global$15, exports$3n, _dewExec$3m, exports$3m, _dewExec$3l, _global$14, exports$3l, _dewExec$3k, _global$132, exports$3k, _dewExec$3j, exports$3j, _dewExec$3i, exports$3i, _dewExec$3h, exports$3h, _dewExec$3g, exports$3g, _dewExec$3f, exports$3f, _dewExec$3e, exports$3e, _dewExec$3d, exports$3d, _dewExec$3c, exports$3c, _dewExec$3b, _global$1222, exports$3b, _dewExec$3a, exports$3a, _dewExec$39, exports$39, _dewExec$38, exports$38, _dewExec$37, exports$37, _dewExec$36, exports$36, _dewExec$352, exports$352, _dewExec$342, exports$342, _dewExec$3322, exports$3322, _dewExec$3222, _list$2, exports$3222, _dewExec$31, exports$31, _dewExec$30, _global$11, exports$30, _dewExec$2$, _global$10, exports$2$, _dewExec$2_, _global$$, exports$2_, _dewExec$2Z, _global$_, exports$2Z, _dewExec$2Y, exports$2Y, _dewExec$2X, _global$Z, exports$2X, _dewExec$2W, _global$Y, exports$2W, _dewExec$2V, exports$2V, _dewExec$2U, exports$2U, _dewExec$2T, exports$2T, _dewExec$2S, module$e, _global$X, exports$2S, _dewExec$2R, module$d, _global$W, exports$2Q, _dewExec$2P, exports$2P, _dewExec$2O, _global$U, exports$2O, _dewExec$2N, exports$2N, _dewExec$2M, exports$2M, _dewExec$2L, exports$2L, _dewExec$2K, exports$2K, _dewExec$2J, _global$T, exports$2J, _dewExec$2I, _global$S, exports$2I, _dewExec$2H, _global$R, exports$2H, _dewExec$2G, _global$Q, exports$2G, _dewExec$2F, _global$P, exports$2F, _dewExec$2E, _global$O, exports$2E, _dewExec$2D, _global$N, exports$2D, _dewExec$2C, module$b, exports$f$2, _dewExec$f$2, exports$e$2, _dewExec$e$2, exports$d$2, _dewExec$d$2, exports$c$2, _dewExec$c$2, exports$b$2, _dewExec$b$2, exports$a$2, _dewExec$a$2, exports$9$2, _dewExec$9$2, _global$2$2, exports$8$2, _dewExec$8$2, _global$1$2, exports$7$2, _dewExec$7$2, exports$6$2, _dewExec$6$2, exports$5$2, _dewExec$5$2, exports$4$2, _dewExec$4$2, exports$3$2, _dewExec$3$2, _global$M, exports$2$2, _dewExec$2$2, exports$1$2, _dewExec$1$2, exports$2C, _dewExec$2B, exports$2B, _dewExec$2A, _global$L, stream7, exports$2A, _dewExec$2z, _global$K, exports$2z, _dewExec$2y, exports$2y, _dewExec$2x, exports$2x, _dewExec$2w, exports$2w, _dewExec$2v, _algorithms$1, exports$2v, _dewExec$2u, exports$2u, _dewExec$2t, exports$2t, _dewExec$2s, _global$J, exports$2s, _dewExec$2r, exports$2r, _dewExec$2q, _global$I, exports$2q, _dewExec$2p, _global$H, exports$2p, _dewExec$2o, exports$2o, _dewExec$2n, exports$2n, _dewExec$2m, exports$2m, _dewExec$2l, exports$2l, _dewExec$2k, exports$2k, _dewExec$2j, exports$2j, _dewExec$2i, exports$2i, _dewExec$2h, exports$2h, _dewExec$2g, _global$G, exports$2g, _dewExec$2f, exports$2f, _dewExec$2e, exports$2e, _dewExec$2d, exports$2d, _dewExec$2c, exports$2c, _dewExec$2b, exports$2b, _dewExec$2a, exports$2a, _dewExec$29, exports$29, _dewExec$28, exports$28, _dewExec$27, _list$1, exports$272, _dewExec$262, exports$262, _dewExec$252, _global$F, exports$252, _dewExec$2422, _global$E, exports$2422, _dewExec$2322, _global$D, exports$2322, _dewExec$2222, _global$C, exports$2222, _dewExec$21, exports$21, _dewExec$20, _global$B, exports$20, _dewExec$1$, _global$A, exports$1$, _dewExec$1_, exports$1_, _dewExec$1Z, exports$1Z, _dewExec$1Y, exports$1Y, _dewExec$1X, module$a, _global$z, exports$1X, _dewExec$1W, module$9, _global$y, exports$1W, _dewExec$1V, exports$1U, _dewExec$1T, exports$1T, _dewExec$1S, _global$w, exports$1S, _dewExec$1R, exports$1R, _dewExec$1Q, exports$1Q, _dewExec$1P, exports$1P, _dewExec$1O, _global$v, exports$1O, _dewExec$1N, _global$u, exports$1N, _dewExec$1M, _global$t, exports$1M, _dewExec$1L, _global$s, exports$1L, _dewExec$1K, _global$r, exports$1K, _dewExec$1J, _global$q, exports$1J, _dewExec$1I, _global$p, exports$1I, _dewExec$1H, module$7, e$g, e$1$12, t$c, r$1$1, r$2$1, t$1$1, c$n, b$j, p$s, g$h, y$n, m$m, S$e, R$7, k$g, M$a, j$a, O$8, P$8, x$a, L$8, D$9, C$9, A$c, q$8, W$5, U$a, H$7, F$8, V$6, G$5, Y$4, z$9, J$5, Q$4, Z$3, $$3, t$2$1, r$3$1, n$1$12, b$1$1, p$1$1, g$1$1, y$1$1, w$1$1, S$1$1, R$1$1, k$1$1, E$1$1, M$1$1, O$1$1, T$1$1, x$1$1, P$1$1, D$1$1, L$1$1, C$1$1, A$1$1, I$1$1, N$1$1, U$1$1, H$1$1, F$1$1, V$1$1, Y$1$1, K$1$1, z$1$1, Q$1$1, X$1$1, t$4$1, t$5$1, n$2$1, i$e, a$p, o$s, s$q, f$2$1, h$2$1, p$2$1, o$1$12, e$3$1, s$1$1, t$6$1, o$2$1, e$4$1, f$3$1, v$2$1, l$r, d$n, f$u, b$i, exports$1H, _dewExec$1G, _global$o, exports$1G, _dewExec$1F, exports$1F, _dewExec$1E, exports$1E, _dewExec$1D, exports$1D, _dewExec$1C, _algorithms, exports$1C, _dewExec$1B, exports$1B, _dewExec$1A, exports$1A, _dewExec$1z, _global$n, exports$1z, _dewExec$1y, exports$1y, _dewExec$1x, _global$m, exports$1x, _dewExec$1w, _global$l, exports$1w, _dewExec$1v, exports$1v, _dewExec$1u, exports$1u, _dewExec$1t, exports$1t, _dewExec$1s, exports$1s, _dewExec$1r, exports$1r, _dewExec$1q, exports$1q, _dewExec$1p, exports$1p, _dewExec$1o, exports$1o, _dewExec$1n, _global$k, exports$1n, _dewExec$1m, exports$1m, _dewExec$1l, exports$1l, _dewExec$1k, exports$1k, _dewExec$1j, exports$1j$1, _dewExec$1i$1, exports$1i$1, _dewExec$1h$1, exports$1h$1, _dewExec$1g$1, exports$1g$1, _dewExec$1f$1, exports$1f$1, _dewExec$1e$1, _list, exports$1e$1, _dewExec$1d$1, exports$1d$1, _dewExec$1c$1, _global$j$1, exports$1c$1, _dewExec$1b$1, _global$i$1, exports$1b$1, _dewExec$1a$1, _global$h$1, exports$1a$1, _dewExec$19$1, _global$g$1, exports$19$1, _dewExec$18$1, exports$18$1, _dewExec$17$1, _global$f$1, exports$17$1, _dewExec$16$1, _global$e$1, exports$16$1, _dewExec$15$1, exports$15$1, _dewExec$14$1, exports$14$1, _dewExec$13$1, exports$13$1, _dewExec$12$1, module$6, _global$d$1, exports$12$1, _dewExec$11$1, module$5, _global$c$1, _global$b$1, exports$11$1, indexOf2, Object_keys2, forEach32, defineProp2, globals2, Script3, o4, n42, t42, f4, a4, e62, o$13, f$13, h42, r4, _32, e$13, u42, h$12, _$1, r$12, e$22, n$22, o$32, f$3, c$13, a$22, l$13, I32, s$13, h$2, _$2, n$3, r$22, o$4, f$4, l$22, a$3, w$1, _$3, e$4, n$4, r$3, l$3, o$5, c$3, d$2, p$2, b$2, w$2, g32, B32, T32, m32, A32, U32, x32, j32, q22, L32, k$2, z32, D32, F32, G22, H22, W22, X22, Y32, Z22, $22, tt2, it4, st5, _t5, et5, nt5, e$5, n$5, s$2, h$3, f$6, m$12, n$6, p$3, s$3, h$4, e$6, r$4, o$6, h$5, n$7, p$4, l$4, d$3, c$4, _$4, m$2, u$4, g$1, v$1, w$3, s$4, f$8, a$7, u$5, h$6, c$5, l$5, p$5, d$4, m$3, y$2, b$3, v$2, w$4, g$2, B$1, k$3, S$1, A$1, H$1, E$2, P$1, U$1, K$1, x$1, z$1, I$2, F$1, M$1, r$5, o$7, r$6, i42, n$8, f$9, o$8, p$6, s$6, a$8, h$7, c$6, l$6, d$5, _$5, b$4, k$4, g$3, m$4, z$2, w$5, E$3, I$3, A$2, U$2, d$6, i$13, f$a, o$9, a$9, c$7, n$9, l$7, e$8, f$b, t$12, a$a, p$8, n$a, i$22, o$a, h$8, y$4, f$c, l$8, m$5, B$3, u$7, C$1, d$7, b$5, A$3, S$3, F$2, U$3, w$6, I$4, M$2, a$b, h$9, o$b, f$d, u$8, _$7, d$8, y$5, S$4, v$5, I$5, U$4, w$7, m$6, E$5, b$6, k$6, T$2, O$2, A$4, M$3, V$1, t$22, f$e, a$c, c$9, s$9, f$f, p$a, u$9, l$a, d$9, y$6, m$7, c$a, s$a, f$g, p$b, l$b, u$a, d$a, m$8, y$7, _$8, t$32, p$c, c$b, o$c, e$9, p$d, n$b, s$b, v$8, y$8, a$d, t$4, i$3, r$7, h$a, n$c, t$5, e$a, r$8, n$d, a$e, f$i, n$e, t$6, o$e, a$f, i$4, b$7, d$c, r$9, t$7, n$f, i$5, o$f, p$e, s$c, m$9, u$b, h$b, w$a, y$9, P$2, B$5, K$2, R$1, S$5, x$2, C$2, D$2, G$1, H$2, T$3, j$1, M$4, q$1, O$3, z$3, F$3, I$6, J$1, N$2, m$a, u$c, n$g, d$d, l$d, r$a, e$b, n$i, a$g, i$7, o$g, c$d, s$d, l$e, u$d, h$c, d$e, r$b, i$8, e$c, a$h, l$f, g$9, r$c, n$j, s$f, o$i, e$d, u$f, a$i, c$f, f$k, v$b, _$a, l$g, p$g, m$c, g$a, k$8, d$f, C$3, s$g, n$k, u$g, a$j, c$g, f$l, _$b, g$b, m$d, p$h, l$h, v$c, d$g, k$9, b$9, j$3, x$4, y$c, w$c, r$e, o$k, a$k, u$h, l$i, c$h, p$i, f$m, g$c, d$h, S$8, _$c, b$a, z$5, k$a, y$d, H$4, w$d, L$3, j$4, A$7, B$7, W$2, q$3, C$4, D$3, E$7, F$4, M$5, N$3, O$4, P$3, Q$1, R$2, T$4, V$2, X$2, Y$1, s$h, h$e, r$f, n$l, a$l, b$b, i$9, n$m, s$i, o$m, u$i, l$j, v$e, y$e, m$f, S$9, g$d, M$6, x$6, _$d, z$6, q$4, R$3, N$4, E$8, k$b, O$5, L$4, B$8, T$5, J$3, X$3, D$4, Y$2, W$3, K$4, U$6, G$3, H$5, Z$1, $$1, ee2, de22, ce22, te22, ae22, re22, be22, ie, ne22, se22, ue22, he22, pe22, le22, ve2, me22, Se2, ge22, Ae22, Ie4, we22, xe4, _e, ze, qe2, Re4, Pe2, je22, Ne4, Ee22, Oe2, Le4, Be2, o$n, s$j, a$m, u$j, c$i, f$n, p$k, d$i, g$e, _$e, v$f, b$c, m$g, S$a, j$6, w$f, B$9, k$c, D$5, U$7, N$5, O$6, A$9, x$7, I$9, q$5, F$6, K$5, R$4, G$4, L$5, M$7, J$4, V$4, z$7, H$6, Q$3, e$f, t$a, s$k, n$n, o$o, h$h, y$g, r$g, u$k, a$n, c$j, k$d, f$o, b$d, l$l, d$j, p$l, j$7, v$g, m$h, q$6, K$6, P$6, s$l, i$a, o$p, d$k, n$o, p$m, u$l, y$h, m$i, f$p, b$e, E$a, h$i, v$h, p$n, d$l, f$q, c$k, g$f, w$g, l$n, m$j, v$i, E$b, L$6, R$5, j$8, T$7, P$7, K$7, W$4, x$8, B$a, S$b, q$7, U$8, V$5, C$7, z$8, i$b, n$p, p$o, s$m, u$m, o$q, f$r, i$c, l$o, u$n, c$m, p$p, d$m, h$j, s$n, g$g, m$k, w$h, v$j, y$k, E$c, b$g, B$b, x$9, L$7, k$f, D$7, U$9, R$6, S$c, j$9, A$b, I$a, M$9, o$r, t$b, f$t, u$o, a$o, s$o, l$p, m$l, p$q, l$q, D$8, s$p, _$g, h$k, y$m, E$d, S$d, C$8, N$6, exports$10$1, _dewExec$10$1, _global$a$1, exports$$$1, _dewExec$$$1, _global$9$1, exports$_$1, _dewExec$_$1, _primes$1, exports$Z$1, _dewExec$Z$1, _global$8$1, exports$Y$1, _dewExec$Y$1, exports$X$1, _dewExec$X$1, module$4$1, _global$7$1, exports$W$1, _dewExec$W$1, _package$1, exports$V$1, _dewExec$V$1, module$3$1, _global$6$1, exports$U$1, _dewExec$U$1, exports$T$1, _dewExec$T$1, exports$S$1, _dewExec$S$1, exports$R$1, _dewExec$R$1, exports$Q$1, _dewExec$Q$1, exports$P$1, _dewExec$P$1, exports$O$1, _dewExec$O$1, exports$N$1, _dewExec$N$1, exports$M$1, _dewExec$M$1, exports$L$1, _dewExec$L$1, exports$K$1, _dewExec$K$1, exports$J$1, _dewExec$J$1, exports$I$1, _dewExec$I$1, exports$H$1, _dewExec$H$1, exports$G$1, _dewExec$G$1, exports$F$1, _dewExec$F$1, exports$E$1, _dewExec$E$1, exports$D$1, _dewExec$D$1, exports$C$1, _dewExec$C$1, exports$B$1, _dewExec$B$1, exports$A$1, _dewExec$A$1, exports$z$1, _dewExec$z$1, exports$y$1, _dewExec$y$1, exports$x$1, _dewExec$x$1, module$2$1, _global$5$1, exports$w$1, _dewExec$w$1, exports$v$1, _dewExec$v$1, exports$u$1, _dewExec$u$1, exports$t$1, _dewExec$t$1, exports$s$1, _dewExec$s$1, exports$r$1, _dewExec$r$1, exports$q$1, _dewExec$q$1, exports$p$1, _dewExec$p$1, exports$o$1, _dewExec$o$1, exports$n$1, _dewExec$n$1, exports$m$1, _dewExec$m$1, exports$l$1, _dewExec$l$1, exports$k$1, _dewExec$k$1, exports$j$1, _dewExec$j$1, exports$i$1, _dewExec$i$1, exports$h$1, _dewExec$h$1, exports$g$1, _dewExec$g$1, _aesid$1, exports$f$1, _dewExec$f$1, exports$e$1, _dewExec$e$1, _curves$1, exports$d$1, _dewExec$d$1, exports$c$1, _dewExec$c$1, exports$b$1, _dewExec$b$1, _global$4$1, exports$a$1, _dewExec$a$1, module$1$1, _global$3$1, exports$9$1, _dewExec$9$1, _global$2$1, exports$8$1, _dewExec$8$1, exports$7$1, _dewExec$7$1, exports$6$1, _dewExec$6$1, module$8, _global$1$1, exports$5$1, _dewExec$5$1, exports$4$1, _dewExec$4$1, exports$3$1, _dewExec$3$1, exports$2$12, _dewExec$2$12, exports$1$12, _dewExec$1$12, _global$x, exports$1V, _dewExec$1U, crypto7, exports$12$2, _dewExec$11$2, _global$a$2, exports$11$2, _dewExec$10$2, _global$9$2, exports$10$2, _dewExec$$$2, _primes$2, exports$$$2, _dewExec$_$2, _global$8$2, exports$_$2, _dewExec$Z$2, exports$Z$2, _dewExec$Y$2, exports$Y$2, _dewExec$X$2, module$4$2, _global$7$2, exports$X$2, _dewExec$W$2, _package$2, exports$W$2, _dewExec$V$2, module$3$2, _global$6$2, exports$V$2, _dewExec$U$2, exports$U$2, _dewExec$T$2, exports$T$2, _dewExec$S$2, exports$S$2, _dewExec$R$2, exports$R$2, _dewExec$Q$2, exports$Q$2, _dewExec$P$2, exports$P$2, _dewExec$O$2, exports$O$2, _dewExec$N$2, exports$N$2, _dewExec$M$2, exports$M$2, _dewExec$L$2, exports$L$2, _dewExec$K$2, exports$K$2, _dewExec$J$2, exports$J$2, _dewExec$I$2, exports$I$2, _dewExec$H$2, exports$H$2, _dewExec$G$2, exports$G$2, _dewExec$F$2, exports$F$2, _dewExec$E$2, exports$E$2, _dewExec$D$2, exports$D$2, _dewExec$C$2, exports$C$2, _dewExec$B$2, exports$B$2, _dewExec$A$2, exports$A$2, _dewExec$z$2, exports$z$2, _dewExec$y$2, exports$y$2, _dewExec$x$2, module$2$2, _global$5$2, exports$x$2, _dewExec$w$2, exports$w$2, _dewExec$v$2, exports$v$2, _dewExec$u$2, exports$u$2, _dewExec$t$2, exports$t$2, _dewExec$s$2, exports$s$2, _dewExec$r$2, exports$r$2, _dewExec$q$2, exports$q$2, _dewExec$p$2, exports$p$2, _dewExec$o$2, exports$o$2, _dewExec$n$2, exports$n$2, _dewExec$m$2, exports$m$2, _dewExec$l$2, exports$l$2, _dewExec$k$2, exports$k$2, _dewExec$j$2, exports$j$2, _dewExec$i$2, exports$i$2, _dewExec$h$2, exports$h$2, _dewExec$g$2, _aesid$2, exports$g$2, _dewExec$f$3, exports$f$3, _dewExec$e$3, _curves$2, exports$e$3, _dewExec$d$3, exports$d$3, _dewExec$c$3, exports$c$3, _dewExec$b$3, _global$4$2, exports$b$3, _dewExec$a$3, module$1$2, _global$3$2, exports$a$3, _dewExec$9$3, _global$2$3, exports$9$3, _dewExec$8$3, exports$8$3, _dewExec$7$3, exports$7$3, _dewExec$6$3, module$c, _global$1$3, exports$6$3, _dewExec$5$3, exports$5$3, _dewExec$4$3, exports$4$3, _dewExec$3$3, exports$3$3, _dewExec$2$3, exports$2$3, _dewExec$1$3, _global$V, exports$1$3, _dewExec$2Q, exports$2R, exports$1j, _dewExec$1i, _global$j, exports$1i, _dewExec$1h, _global$i, exports$1h, _dewExec$1g, _primes, exports$1g, _dewExec$1f, _global$h, exports$1f, _dewExec$1e, exports$1e, _dewExec$1d, exports$1d, _dewExec$1c, exports$1c, _dewExec$1b, exports$1b, _dewExec$1a, exports$1a, _dewExec$19, exports$192, _dewExec$18, exports$182, _dewExec$172, exports$172, _dewExec$162, _global$g, exports$162, _dewExec$152, exports$1522, _dewExec$1422, _global$f, exports$1422, _dewExec$1322, exports$1322, _dewExec$1222, exports$1222, _dewExec$11, exports$11, _dewExec$10, module$4, _global$e, exports$10, _dewExec$$, _package, exports$$, _dewExec$_, module$3, _global$d, exports$_, _dewExec$Z, exports$Z, _dewExec$Y, exports$Y, _dewExec$X, exports$X, _dewExec$W, exports$W, _dewExec$V, exports$V, _dewExec$U, exports$U, _dewExec$T, exports$T, _dewExec$S, exports$S, _dewExec$R, exports$R, _dewExec$Q, exports$Q, _dewExec$P, exports$P, _dewExec$O, exports$O, _dewExec$N, exports$N, _dewExec$M, exports$M, _dewExec$L, exports$L, _dewExec$K, exports$K, _dewExec$J, exports$J, _dewExec$I, exports$I, _dewExec$H, exports$H, _dewExec$G, exports$G, _dewExec$F, exports$F, _dewExec$E, exports$E, _dewExec$D, exports$D, _dewExec$C, exports$C, _dewExec$B, exports$B, _dewExec$A, exports$A, _dewExec$z, exports$z, _dewExec$y, exports$y, _dewExec$x, exports$x, _dewExec$w, module$2, _global$c, exports$w, _dewExec$v, _global$b, exports$v, _dewExec$u, _global$a, exports$u, _dewExec$t, _global$9, exports$t, _dewExec$s, _global$8, exports$s, _dewExec$r, exports$r, _dewExec$q, exports$q, _dewExec$p, exports$p2, _dewExec$o2, _global$7, exports$o2, _dewExec$n2, _global$6, exports$n2, _dewExec$m2, exports$m2, _dewExec$l2, _global$5, exports$l2, _dewExec$k3, _global$4, exports$k3, _dewExec$j3, exports$j3, _dewExec$i3, exports$i4, _dewExec$h4, exports$h4, _dewExec$g5, _aesid, exports$g5, _dewExec$f5, exports$f5, _dewExec$e5, _curves, exports$e5, _dewExec$d5, exports$d5, _dewExec$c5, exports$c6, _dewExec$b6, exports$b6, _dewExec$a6, module$1, _global$3, exports$a6, _dewExec$96, _global$24, exports$96, _dewExec$86, exports$86, _dewExec$76, exports$76, _dewExec$66, module, _global$110, exports$66, _dewExec$56, exports$56, _dewExec$46, exports$46, _dewExec$310, exports$310, _dewExec$210, exports$210, _dewExec$110, _global9, exports$111, _dewExec15, exports16, Cipher, Cipheriv, Decipher, Decipheriv, DiffieHellman, DiffieHellmanGroup, Hash4, Hmac, Sign, Verify, constants9, createCipher, createCipheriv, createCredentials, createDecipher, createDecipheriv, createDiffieHellman, createDiffieHellmanGroup, createECDH, createHash3, createHmac, createSign, createVerify, getCiphers, getDiffieHellman, getHashes, listCiphers, pbkdf2, pbkdf2Sync, privateDecrypt, privateEncrypt, prng, pseudoRandomBytes, publicDecrypt, publicEncrypt, randomBytes4, randomFill, randomFillSync, rng, webcrypto, getRandomValues, randomUUID, init_crypto2, require_lib32, require_es_object_atoms4, require_es_errors4, require_eval4, require_range5, require_ref6, require_syntax4, require_type5, require_uri5, require_abs4, require_floor4, require_max4, require_min4, require_pow4, require_round4, require_isNaN4, require_sign4, require_gOPD4, require_gopd4, require_es_define_property4, require_shams5, require_has_symbols4, require_Reflect_getPrototypeOf4, require_Object_getPrototypeOf4, require_implementation4, require_function_bind4, require_functionCall4, require_functionApply4, require_reflectApply4, require_actualApply4, require_call_bind_apply_helpers4, require_get4, require_get_proto4, require_hasown4, require_get_intrinsic4, require_es_object_atoms22, require_functionApply22, require_functionCall22, require_get_intrinsic22, require_define_data_property, require_has_property_descriptors, require_set_function_length, require_call_bind, require_callBound, require_util22, require_object_inspect, require_side_channel, require_formats2, require_utils10, require_stringify2, require_parse9, require_lib210, require_safe_buffer, require_data_stream, require_buffer_equal_constant_time, require_param_bytes_for_alg, require_ecdsa_sig_formatter, require_jwa, require_tostring, require_sign_stream, require_verify_stream, require_jws, require_decode, require_JsonWebTokenError, require_NotBeforeError, require_TokenExpiredError, require_ms4, require_timespan, require_constants8, require_debug6, require_re2, require_parse_options2, require_identifiers2, require_semver6, require_parse22, require_valid3, require_clean2, require_inc2, require_diff2, require_major2, require_minor2, require_patch2, require_prerelease2, require_compare2, require_rcompare2, require_compare_loose2, require_compare_build2, require_sort2, require_rsort2, require_gt2, require_lt2, require_eq2, require_neq2, require_gte2, require_lte2, require_cmp2, require_coerce2, require_lrucache2, require_range22, require_comparator2, require_satisfies2, require_to_comparators2, require_max_satisfying2, require_min_satisfying2, require_min_version2, require_valid22, require_outside2, require_gtr2, require_ltr2, require_intersects2, require_simplify2, require_subset2, require_semver22, require_asymmetricKeyDetailsSupported, require_rsaPssKeyDetailsSupported, require_validateAsymmetricKey, require_psSupported, require_verify, require_lodash4, require_lodash22, require_lodash32, require_lodash42, require_lodash5, require_lodash6, require_lodash7, require_sign22, require_jsonwebtoken, require_eventsource, exports$112, _dewExec16, exports17, decode2, encode32, toASCII, toUnicode, ucs2, version32, init_punycode, exports$113, _dewExec17, exports18, init_chunk_BlJi4mNy2, url_exports, empty, exports$87, _dewExec$77, _global10, exports$77, _dewExec$67, exports$67, _dewExec$57, exports$57, _dewExec$47, exports$47, _dewExec$311, exports$311, _dewExec$211, exports$211, _dewExec$111, exports$114, _dewExec18, exports19, processPlatform, Url, format23, resolve7, resolveObject, parse17, _URL, CHAR_BACKWARD_SLASH, CHAR_FORWARD_SLASH, CHAR_LOWERCASE_A, CHAR_LOWERCASE_Z, isWindows6, forwardSlashRegEx, percentRegEx, backslashRegEx, newlineRegEx, carriageReturnRegEx, tabRegEx, init_url, exports$115, _dewExec$112, exports$212, t$13, o$23, n$23, e$23, r$23, c$14, s5, u$14, a$13, d42, h$13, p$13, n$14, r$13, t52, o$14, h52, e72, a5, o5, n52, i52, l52, p5, c52, u5, f6, m4, v52, g42, y5, b42, exports20, _dewExec19, path60, processPlatform$1, CHAR_BACKWARD_SLASH$1, CHAR_FORWARD_SLASH$1, CHAR_LOWERCASE_A$1, CHAR_LOWERCASE_Z$1, isWindows$1, forwardSlashRegEx$1, percentRegEx$1, backslashRegEx$1, newlineRegEx$1, carriageReturnRegEx$1, tabRegEx$1, processPlatform2, CHAR_BACKWARD_SLASH2, CHAR_FORWARD_SLASH2, CHAR_LOWERCASE_A2, CHAR_LOWERCASE_Z2, isWindows22, forwardSlashRegEx2, percentRegEx2, backslashRegEx2, newlineRegEx2, carriageReturnRegEx2, tabRegEx2, init_chunk_DHWh_hmB, https_exports, exports$68, _dewExec$58, _global$32, exports$58, _dewExec$48, _global$25, exports$48, _dewExec$312, _global$111, exports$312, _dewExec$212, exports$213, _dewExec$113, exports$1$13, _dewExec$68, _global$42, exports$78, exports$116, _dewExec20, _global11, exports21, Agent, ClientRequest, IncomingMessage, METHODS, STATUS_CODES, get4, globalAgent, request, init_https, http_exports, exports$l3, _dewExec$k4, _global$52, exports$k4, _dewExec$j4, exports$j4, _dewExec$i4, exports$i5, _dewExec$h5, exports$h5, _dewExec$g6, exports$g6, _dewExec$f6, exports$f6, _dewExec$e6, _global$43, exports$e6, _dewExec$d6, exports$d6, _dewExec$c6, exports$c7, _dewExec$b7, exports$b7, _dewExec$a7, exports$a7, _dewExec$97, _global$33, exports$97, _dewExec$87, exports$88, _dewExec$78, exports$79, _dewExec$69, exports$69, _dewExec$59, exports$59, _dewExec$49, _global$26, exports$49, _dewExec$313, _global$112, exports$313, _dewExec$213, exports$214, _dewExec$114, exports$117, _dewExec21, _global12, exports222, Agent2, ClientRequest2, IncomingMessage2, METHODS2, STATUS_CODES2, get22, globalAgent2, request2, init_http4, require_eventsource2, axios_exports, toString10, getPrototypeOf4, kindOf4, kindOfTest4 = (type) => {
874787
874834
  type = type.toLowerCase();
874788
874835
  return (thing) => kindOf4(thing) === type;
874789
874836
  }, typeOfTest4 = (type) => (thing) => typeof thing === type, isArray10, isUndefined9, isArrayBuffer5, isString8, isFunction10, isNumber5, isObject11 = (thing) => thing !== null && typeof thing === "object", isBoolean5 = (thing) => thing === true || thing === false, isPlainObject11 = (val) => {
@@ -894324,7 +894371,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
894324
894371
  h52.resolveObject;
894325
894372
  exports20 = {};
894326
894373
  _dewExec19 = false;
894327
- path59 = dew19();
894374
+ path60 = dew19();
894328
894375
  processPlatform$1 = typeof Deno !== "undefined" ? Deno.build.os === "windows" ? "win32" : Deno.build.os : undefined;
894329
894376
  h52.URL = typeof URL !== "undefined" ? URL : null;
894330
894377
  h52.pathToFileURL = pathToFileURL$1;
@@ -900108,11 +900155,11 @@ var init_start_workflow = __esm(() => {
900108
900155
  });
900109
900156
 
900110
900157
  // src/mcp/tools/get-dev-logs.ts
900111
- import { existsSync as existsSync21, readFileSync as readFileSync17, readdirSync as readdirSync5, statSync as statSync4 } from "fs";
900158
+ import { existsSync as existsSync22, readFileSync as readFileSync17, readdirSync as readdirSync5, statSync as statSync4 } from "fs";
900112
900159
  import { join as join23 } from "path";
900113
900160
  function findMostRecentLogFile(projectPath) {
900114
900161
  const logsDir = join23(projectPath, ".adk", "logs");
900115
- if (!existsSync21(logsDir)) {
900162
+ if (!existsSync22(logsDir)) {
900116
900163
  return null;
900117
900164
  }
900118
900165
  try {
@@ -902446,10 +902493,10 @@ __export(exports_adk_mcp, {
902446
902493
  adkMcp: () => adkMcp
902447
902494
  });
902448
902495
  import { resolve as resolve8 } from "path";
902449
- import { existsSync as existsSync22 } from "fs";
902496
+ import { existsSync as existsSync23 } from "fs";
902450
902497
  async function adkMcp(options = {}) {
902451
902498
  const cwd5 = options.cwd ? resolve8(options.cwd) : process.cwd();
902452
- if (!existsSync22(cwd5)) {
902499
+ if (!existsSync23(cwd5)) {
902453
902500
  console.error(`Error: Directory not found: ${cwd5}`);
902454
902501
  process.exit(1);
902455
902502
  }
@@ -902465,7 +902512,7 @@ var init_adk_mcp = __esm(() => {
902465
902512
  });
902466
902513
 
902467
902514
  // src/mcp/config-generator.ts
902468
- import { existsSync as existsSync23, mkdirSync as mkdirSync6, writeFileSync as writeFileSync7, readFileSync as readFileSync19 } from "fs";
902515
+ import { existsSync as existsSync24, mkdirSync as mkdirSync6, writeFileSync as writeFileSync7, readFileSync as readFileSync19 } from "fs";
902469
902516
  import { dirname as dirname7, resolve as resolve9 } from "path";
902470
902517
  function validatePath(basePath, relativePath) {
902471
902518
  const resolvedBase = resolve9(basePath);
@@ -902515,7 +902562,7 @@ function detectAvailableTools(cwd5) {
902515
902562
  if (config4.detectPath) {
902516
902563
  try {
902517
902564
  const safePath = validatePath(cwd5, config4.detectPath);
902518
- if (existsSync23(safePath)) {
902565
+ if (existsSync24(safePath)) {
902519
902566
  detected.push(tool);
902520
902567
  }
902521
902568
  } catch {
@@ -902537,7 +902584,7 @@ function getConfigPath(tool, cwd5) {
902537
902584
  }
902538
902585
  function isAdkConfigured(tool, cwd5) {
902539
902586
  const configPath = getConfigPath(tool, cwd5);
902540
- if (!existsSync23(configPath)) {
902587
+ if (!existsSync24(configPath)) {
902541
902588
  return false;
902542
902589
  }
902543
902590
  try {
@@ -902560,10 +902607,10 @@ function generateConfig(tool, cwd5, options = {}) {
902560
902607
  }
902561
902608
  try {
902562
902609
  const dir = dirname7(configPath);
902563
- if (!existsSync23(dir)) {
902610
+ if (!existsSync24(dir)) {
902564
902611
  mkdirSync6(dir, { recursive: true });
902565
902612
  }
902566
- const existingContent = existsSync23(configPath) ? readFileSync19(configPath, "utf-8") : null;
902613
+ const existingContent = existsSync24(configPath) ? readFileSync19(configPath, "utf-8") : null;
902567
902614
  const adkConfig = generateAdkConfig(options.projectDir);
902568
902615
  const mergedConfig = mergeConfig6(existingContent, adkConfig);
902569
902616
  writeFileSync7(configPath, JSON.stringify(mergedConfig, null, 2) + `
@@ -902631,11 +902678,11 @@ var exports_adk_mcp_init = {};
902631
902678
  __export(exports_adk_mcp_init, {
902632
902679
  adkMcpInit: () => adkMcpInit
902633
902680
  });
902634
- import { existsSync as existsSync24, readdirSync as readdirSync6, statSync as statSync5 } from "fs";
902681
+ import { existsSync as existsSync25, readdirSync as readdirSync6, statSync as statSync5 } from "fs";
902635
902682
  import { join as join27 } from "path";
902636
902683
  function detectAdkProjects(cwd5) {
902637
902684
  const projects = [];
902638
- if (existsSync24(join27(cwd5, "agent.config.ts"))) {
902685
+ if (existsSync25(join27(cwd5, "agent.config.ts"))) {
902639
902686
  projects.push(".");
902640
902687
  }
902641
902688
  try {
@@ -902647,7 +902694,7 @@ function detectAdkProjects(cwd5) {
902647
902694
  const fullPath = join27(cwd5, entry);
902648
902695
  try {
902649
902696
  if (statSync5(fullPath).isDirectory()) {
902650
- if (existsSync24(join27(fullPath, "agent.config.ts"))) {
902697
+ if (existsSync25(join27(fullPath, "agent.config.ts"))) {
902651
902698
  projects.push(`./${entry}`);
902652
902699
  }
902653
902700
  }
@@ -902759,10 +902806,10 @@ All selected tools are already configured.`));
902759
902806
  console.log();
902760
902807
  console.log(source_default.bold("Configuration files:"));
902761
902808
  for (const tool of tools) {
902762
- const path37 = getConfigPath(tool, cwd5);
902809
+ const path38 = getConfigPath(tool, cwd5);
902763
902810
  const configured = isAdkConfigured(tool, cwd5);
902764
902811
  const status = configured ? source_default.green("\u2713") : source_default.dim("-");
902765
- console.log(` ${status} ${getToolDisplayName(tool)}: ${source_default.dim(path37)}`);
902812
+ console.log(` ${status} ${getToolDisplayName(tool)}: ${source_default.dim(path38)}`);
902766
902813
  }
902767
902814
  if (hasError) {
902768
902815
  process.exit(1);
@@ -902821,8 +902868,8 @@ var exports_adk_run = {};
902821
902868
  __export(exports_adk_run, {
902822
902869
  adkRun: () => adkRun
902823
902870
  });
902824
- import path60 from "path";
902825
- import { existsSync as existsSync25 } from "fs";
902871
+ import path61 from "path";
902872
+ import { existsSync as existsSync26 } from "fs";
902826
902873
  async function adkRun(scriptPath, args = [], options = {}) {
902827
902874
  const envLabel = options.prod ? "production" : "development";
902828
902875
  console.log(source_default.blue(`\uD83D\uDE80 Running script with ADK runtime (${envLabel})...`));
@@ -902842,11 +902889,11 @@ async function adkRun(scriptPath, args = [], options = {}) {
902842
902889
  });
902843
902890
  await assertValidProject(project);
902844
902891
  console.log(source_default.green(`\uD83D\uDCE6 Project: ${project.config?.name || "Unknown"}`));
902845
- const absoluteScriptPath = path60.isAbsolute(scriptPath) ? scriptPath : path60.resolve(process.cwd(), scriptPath);
902846
- if (!existsSync25(absoluteScriptPath)) {
902892
+ const absoluteScriptPath = path61.isAbsolute(scriptPath) ? scriptPath : path61.resolve(process.cwd(), scriptPath);
902893
+ if (!existsSync26(absoluteScriptPath)) {
902847
902894
  throw new Error(`Script not found: ${absoluteScriptPath}`);
902848
902895
  }
902849
- console.log(source_default.cyan(`\uD83D\uDCDC Script: ${path60.relative(process.cwd(), absoluteScriptPath)}`));
902896
+ console.log(source_default.cyan(`\uD83D\uDCDC Script: ${path61.relative(process.cwd(), absoluteScriptPath)}`));
902850
902897
  const runner = new ScriptRunner({
902851
902898
  projectPath: agentRoot,
902852
902899
  forceRegenerate: options.force,
@@ -902891,9 +902938,9 @@ __export(exports_adk_config, {
902891
902938
  adkConfigGet: () => adkConfigGet,
902892
902939
  adkConfig: () => adkConfig
902893
902940
  });
902894
- import path61 from "path";
902941
+ import path63 from "path";
902895
902942
  async function adkConfig(key, options = {}) {
902896
- const projectPath = path61.resolve(process.cwd());
902943
+ const projectPath = path63.resolve(process.cwd());
902897
902944
  const isProd = options.prod || false;
902898
902945
  const project = await AgentProject.load(projectPath);
902899
902946
  const configSchema3 = project.config?.configuration?.schema;
@@ -902936,7 +902983,7 @@ async function adkConfig(key, options = {}) {
902936
902983
  console.log();
902937
902984
  }
902938
902985
  async function adkConfigSet(key, value2, options = {}) {
902939
- const projectPath = path61.resolve(process.cwd());
902986
+ const projectPath = path63.resolve(process.cwd());
902940
902987
  const isProd = options.prod || false;
902941
902988
  const project = await AgentProject.load(projectPath);
902942
902989
  const configSchema3 = project.config?.configuration?.schema;
@@ -903814,7 +903861,7 @@ if (!checkNodeVersion(true)) {
903814
903861
  checkNodeVersion(false);
903815
903862
  process.exit(1);
903816
903863
  }
903817
- var CLI_VERSION = "1.12.2";
903864
+ var CLI_VERSION = "1.12.4";
903818
903865
  if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
903819
903866
  try {
903820
903867
  const __filename2 = fileURLToPath14(import.meta.url);