@koed-labs/server 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
  3. package/vendor/{chunk-W2HNI6AA.js → chunk-26D2DYEJ.js} +12 -2
  4. package/vendor/{chunk-YOMK7KMB.js → chunk-2XVGC6KN.js} +2 -2
  5. package/vendor/{chunk-ULUSFNAE.js → chunk-4QETHLFK.js} +3 -3
  6. package/vendor/{chunk-VWB3VEOL.js → chunk-5ZYY6GLX.js} +260 -22
  7. package/vendor/{chunk-CSDTMMRL.js → chunk-AAAVAB5Q.js} +5 -5
  8. package/vendor/{chunk-I5XO5FL4.js → chunk-B25G2HFV.js} +2 -2
  9. package/vendor/{chunk-MHFYPBCL.js → chunk-BRPU557N.js} +3 -3
  10. package/vendor/{chunk-ULLAURFV.js → chunk-BTBSSNAR.js} +1 -1
  11. package/vendor/{chunk-TMCW2P6G.js → chunk-BYN4THYX.js} +5 -5
  12. package/vendor/{chunk-DQ5SIGZZ.js → chunk-BYZDN2WK.js} +4 -3
  13. package/vendor/{chunk-J7LW6JFY.js → chunk-CLI4TFKY.js} +1 -1
  14. package/vendor/{chunk-BDJR6CKS.js → chunk-CZKIP3UJ.js} +3 -3
  15. package/vendor/{chunk-BMHMNUNK.js → chunk-DNHKSXD5.js} +17 -17
  16. package/vendor/{chunk-KH4UBONI.js → chunk-F7BTC7UR.js} +2 -2
  17. package/vendor/{chunk-XTQYFCVY.js → chunk-FZAIOBQQ.js} +6 -6
  18. package/vendor/{chunk-XW7AXRDI.js → chunk-GBQXRSSZ.js} +4 -4
  19. package/vendor/{chunk-7FSHVVTZ.js → chunk-HFGCZ76G.js} +7 -1
  20. package/vendor/{chunk-G54Q5W6M.js → chunk-HN2X7VA2.js} +1 -1
  21. package/vendor/{chunk-TAQWNZVD.js → chunk-IHVJNZXT.js} +34 -23
  22. package/vendor/{chunk-7YXEB2CR.js → chunk-JHHI5KG6.js} +17 -17
  23. package/vendor/{chunk-CX73L6YS.js → chunk-JLYGPZYP.js} +35 -35
  24. package/vendor/{chunk-YDZEMIAH.js → chunk-K2KUQRHT.js} +1 -1
  25. package/vendor/{chunk-HXL36SED.js → chunk-KB3MFZD7.js} +18 -18
  26. package/vendor/{chunk-XSOQ2U5H.js → chunk-LLJV6XQ6.js} +13 -7
  27. package/vendor/{chunk-KBECHDUE.js → chunk-LVUQ5N23.js} +1 -1
  28. package/vendor/{chunk-JG7OELJM.js → chunk-O5NAIZP3.js} +8 -8
  29. package/vendor/{chunk-Y5OJXAUF.js → chunk-OFNOMEVX.js} +2 -2
  30. package/vendor/{chunk-D4XZTNLU.js → chunk-PAPGIBPA.js} +6 -6
  31. package/vendor/{chunk-AJPFOTVX.js → chunk-PMDFTON3.js} +116 -64
  32. package/vendor/{chunk-GEIN6UIL.js → chunk-RBD4HLDB.js} +1 -1
  33. package/vendor/{chunk-355BP3MF.js → chunk-SANHAZJM.js} +4 -4
  34. package/vendor/{chunk-3VNLZCMB.js → chunk-SQNSVJ3W.js} +1 -1
  35. package/vendor/{chunk-H7ETSD25.js → chunk-TCL6KGG7.js} +1 -1
  36. package/vendor/{chunk-7NOQSX4T.js → chunk-UKBULNBO.js} +5 -3
  37. package/vendor/{chunk-HG47LAWW.js → chunk-XSNPYCS5.js} +5 -5
  38. package/vendor/{chunk-A2TMTAAS.js → chunk-XYC3MIS6.js} +1 -1
  39. package/vendor/{chunk-XPSPPLX5.js → chunk-YHXEFDZV.js} +13 -13
  40. package/vendor/{chunk-MFPPURFE.js → chunk-YLFOTZFU.js} +1 -1
  41. package/vendor/component-manifest-catalog.js +1 -1
  42. package/vendor/control-plane.js +6 -5
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  personalDeviceSyncFeatureEnvironmentName,
10
10
  resolvePersonalDeviceSyncEnabled
11
- } from "./chunk-VWB3VEOL.js";
11
+ } from "./chunk-5ZYY6GLX.js";
12
12
 
13
13
  // packages/koed-server/dist/cli.js
14
14
  import { realpathSync } from "node:fs";
@@ -3551,7 +3551,7 @@ var registerPersonalSyncCommands = (program2, dependencies, complete, advanced,
3551
3551
  const pair = program2.command("pair", { hidden }).description("Connect this device through Koed Desktop").option("--device-label <name>", "Device display name").option("--detach", "Return after creating the request").option("--json", "Emit JSON progress records");
3552
3552
  const pairAction = async (operation, options) => {
3553
3553
  const input = { ...pair.opts(), ...options };
3554
- complete(await withCliService(() => import("./chunk-7YXEB2CR.js"), (service) => service.runPairCommand(operation, input, dependencies), dependencies, input.json));
3554
+ complete(await withCliService(() => import("./chunk-JHHI5KG6.js"), (service) => service.runPairCommand(operation, input, dependencies), dependencies, input.json));
3555
3555
  };
3556
3556
  pair.action(async (options) => pairAction(void 0, options));
3557
3557
  for (const operation of ["status", "cancel"])
@@ -3573,7 +3573,7 @@ var registerPersonalSyncCommands = (program2, dependencies, complete, advanced,
3573
3573
  const stdout = dependencies.stdout ?? process.stdout;
3574
3574
  const stderr = dependencies.stderr ?? process.stderr;
3575
3575
  try {
3576
- const operation = dependencies.runPersonalSync ?? (await import("./chunk-HG47LAWW.js")).runPersonalSyncCommand;
3576
+ const operation = dependencies.runPersonalSync ?? (await import("./chunk-XSNPYCS5.js")).runPersonalSyncCommand;
3577
3577
  const result = await operation(args, (dependencies.resolvePaths ?? resolveKoedServerPaths)(), process.env);
3578
3578
  stdout.write(options.json ? `${JSON.stringify(result, null, 2)}
3579
3579
  ` : `${result.message}
@@ -3654,7 +3654,7 @@ var registerRemoteCommands = (program2, dependencies, complete) => {
3654
3654
  }));
3655
3655
  return;
3656
3656
  }
3657
- complete(await withCliService(() => import("./chunk-XPSPPLX5.js"), (service) => service.runRemoteMcpOperation(operation, input, {
3657
+ complete(await withCliService(() => import("./chunk-YHXEFDZV.js"), (service) => service.runRemoteMcpOperation(operation, input, {
3658
3658
  environment: dependencies.remoteEnvironment,
3659
3659
  stdout: dependencies.stdout ?? process.stdout,
3660
3660
  stderr: dependencies.stderr ?? process.stderr
@@ -3690,12 +3690,12 @@ var registerInternalCommands = (program2, dependencies, complete) => {
3690
3690
  complete(1);
3691
3691
  return;
3692
3692
  }
3693
- complete(await withCliService(() => import("./chunk-KH4UBONI.js"), (service) => service.runSecretProviderCommand(operation, reference, dependencies), dependencies, false));
3693
+ complete(await withCliService(() => import("./chunk-F7BTC7UR.js"), (service) => service.runSecretProviderCommand(operation, reference, dependencies), dependencies, false));
3694
3694
  });
3695
3695
  const desktop = program2.command("desktop", { hidden: true }).description("Internal Desktop commands");
3696
3696
  desktop.action(() => desktop.outputHelp());
3697
3697
  desktop.command("collaboration-broker").action(async () => {
3698
- complete(await withCliService(() => import("./chunk-CSDTMMRL.js"), async (service) => {
3698
+ complete(await withCliService(() => import("./chunk-AAAVAB5Q.js"), async (service) => {
3699
3699
  try {
3700
3700
  await service.runDesktopCollaborationBrokerProcess();
3701
3701
  return 0;
@@ -3747,7 +3747,7 @@ var registerComponentCommands = (program2, dependencies, complete) => {
3747
3747
  command.action(async (options) => {
3748
3748
  let service;
3749
3749
  try {
3750
- service = await import("./chunk-JG7OELJM.js");
3750
+ service = await import("./chunk-O5NAIZP3.js");
3751
3751
  } catch {
3752
3752
  complete(reportMissingCliService(dependencies, options.json));
3753
3753
  return;
@@ -3778,7 +3778,7 @@ var registerIntegrationCommands = (program2, dependencies, complete) => {
3778
3778
  if (operation === "check")
3779
3779
  command.option("--capabilities-refreshed-since <value>", "Minimum capability refresh timestamp").option("--include-status", "Include complete service status in the result");
3780
3780
  command.action(async (options) => {
3781
- complete(await withCliService(() => import("./chunk-HXL36SED.js"), (service) => service.runIntegrationCommand(operation, { ...options, client }, dependencies), dependencies, options.json));
3781
+ complete(await withCliService(() => import("./chunk-KB3MFZD7.js"), (service) => service.runIntegrationCommand(operation, { ...options, client }, dependencies), dependencies, options.json));
3782
3782
  });
3783
3783
  }
3784
3784
  }
@@ -3795,7 +3795,7 @@ var registerLifecycleCommands = (program2, dependencies, complete) => {
3795
3795
  };
3796
3796
  const bind = (command, operation, identityAction) => {
3797
3797
  command.option("--json", "Emit JSON output").action(async (options) => {
3798
- complete(await withCliService(() => import("./chunk-BMHMNUNK.js"), (service) => service.runLifecycleCommand(operation, { ...options, identityAction }, dependencies), dependencies, options.json));
3798
+ complete(await withCliService(() => import("./chunk-DNHKSXD5.js"), (service) => service.runLifecycleCommand(operation, { ...options, identityAction }, dependencies), dependencies, options.json));
3799
3799
  });
3800
3800
  };
3801
3801
  for (const operation of Object.keys(descriptions)) {
@@ -3875,10 +3875,10 @@ var registerUpstreamCommands = (program2, dependencies, complete) => {
3875
3875
  const paths = (dependencies.resolvePaths ?? resolveKoedServerPaths)();
3876
3876
  let result;
3877
3877
  if (command === list) {
3878
- const execute = dependencies.listUpstreams ?? (await import("./chunk-Y5OJXAUF.js")).listUpstreamBackends;
3878
+ const execute = dependencies.listUpstreams ?? (await import("./chunk-OFNOMEVX.js")).listUpstreamBackends;
3879
3879
  result = execute(paths);
3880
3880
  } else if (command === register) {
3881
- const execute = dependencies.registerUpstream ?? (await import("./chunk-Y5OJXAUF.js")).registerUpstreamBackend;
3881
+ const execute = dependencies.registerUpstream ?? (await import("./chunk-OFNOMEVX.js")).registerUpstreamBackend;
3882
3882
  result = execute(paths, {
3883
3883
  url: required(options.url, "--url"),
3884
3884
  id: options.id,
@@ -3888,7 +3888,7 @@ var registerUpstreamCommands = (program2, dependencies, complete) => {
3888
3888
  } else {
3889
3889
  const id = required(options.id, "--id");
3890
3890
  if (command === refresh) {
3891
- const execute = dependencies.refreshUpstream ?? (await import("./chunk-Y5OJXAUF.js")).refreshUpstreamBackendCapabilities;
3891
+ const execute = dependencies.refreshUpstream ?? (await import("./chunk-OFNOMEVX.js")).refreshUpstreamBackendCapabilities;
3892
3892
  result = await execute(paths, id);
3893
3893
  } else if (command === policy) {
3894
3894
  const update = {};
@@ -3900,28 +3900,28 @@ var registerUpstreamCommands = (program2, dependencies, complete) => {
3900
3900
  throw new Error(`--${flag} must be enabled or disabled.`);
3901
3901
  update[key] = value;
3902
3902
  }
3903
- const execute = dependencies.updateUpstreamPolicy ?? (await import("./chunk-Y5OJXAUF.js")).updateUpstreamBackendRoutePolicy;
3903
+ const execute = dependencies.updateUpstreamPolicy ?? (await import("./chunk-OFNOMEVX.js")).updateUpstreamBackendRoutePolicy;
3904
3904
  result = execute(paths, id, update);
3905
3905
  } else if (command === activate) {
3906
- const execute = dependencies.activateUpstream ?? (await import("./chunk-Y5OJXAUF.js")).setActiveUpstreamBackend;
3906
+ const execute = dependencies.activateUpstream ?? (await import("./chunk-OFNOMEVX.js")).setActiveUpstreamBackend;
3907
3907
  result = execute(paths, id);
3908
3908
  } else if (command === remove) {
3909
- const execute = dependencies.removeUpstream ?? (await import("./chunk-Y5OJXAUF.js")).removeUpstreamBackend;
3909
+ const execute = dependencies.removeUpstream ?? (await import("./chunk-OFNOMEVX.js")).removeUpstreamBackend;
3910
3910
  result = execute(paths, id);
3911
3911
  } else if (command === disconnect) {
3912
- const execute = dependencies.disconnectUpstream ?? (await import("./chunk-355BP3MF.js")).disconnectUpstreamBackendEnrollment;
3912
+ const execute = dependencies.disconnectUpstream ?? (await import("./chunk-SANHAZJM.js")).disconnectUpstreamBackendEnrollment;
3913
3913
  result = await execute(paths, id);
3914
3914
  } else if (command === start) {
3915
- const execute = dependencies.startUpstreamEnroll ?? (await import("./chunk-355BP3MF.js")).startUpstreamEnrollment;
3915
+ const execute = dependencies.startUpstreamEnroll ?? (await import("./chunk-SANHAZJM.js")).startUpstreamEnrollment;
3916
3916
  result = await execute(paths, id, {
3917
3917
  memoryAnswers: Boolean(options.memoryAnswers || options.enableMemoryAnswers),
3918
3918
  sourceOwnerPrincipalId: required(options.sourceOwnerPrincipalId, "--source-owner-principal-id")
3919
3919
  });
3920
3920
  } else if (command === status) {
3921
- const execute = dependencies.getUpstreamEnrollStatus ?? (await import("./chunk-355BP3MF.js")).getUpstreamEnrollmentStatus;
3921
+ const execute = dependencies.getUpstreamEnrollStatus ?? (await import("./chunk-SANHAZJM.js")).getUpstreamEnrollmentStatus;
3922
3922
  result = await execute(paths, id);
3923
3923
  } else {
3924
- const execute = dependencies.cancelUpstreamEnroll ?? (await import("./chunk-355BP3MF.js")).cancelUpstreamEnrollment;
3924
+ const execute = dependencies.cancelUpstreamEnroll ?? (await import("./chunk-SANHAZJM.js")).cancelUpstreamEnrollment;
3925
3925
  result = await execute(paths, id);
3926
3926
  }
3927
3927
  }
@@ -3982,22 +3982,22 @@ var registerProjectCommands = (program2, dependencies, complete) => {
3982
3982
  const paths = (dependencies.resolvePaths ?? resolveKoedServerPaths)();
3983
3983
  let result;
3984
3984
  if (command === discover) {
3985
- const execute = dependencies.discoverProjectMetadata ?? (await import("./chunk-AJPFOTVX.js")).discoverProjectMetadata;
3985
+ const execute = dependencies.discoverProjectMetadata ?? (await import("./chunk-PMDFTON3.js")).discoverProjectMetadata;
3986
3986
  result = await execute(paths, {
3987
3987
  cwd: options.cwd ?? process.cwd(),
3988
3988
  aiClientSource: options.codex ? "codex" : void 0
3989
3989
  });
3990
3990
  } else if (command === list) {
3991
- const execute = dependencies.listProjectMetadata ?? (await import("./chunk-AJPFOTVX.js")).listProjectMetadata;
3991
+ const execute = dependencies.listProjectMetadata ?? (await import("./chunk-PMDFTON3.js")).listProjectMetadata;
3992
3992
  result = execute(paths);
3993
3993
  } else if (command === show) {
3994
- const execute = dependencies.getProjectMetadataForCwd ?? (await import("./chunk-AJPFOTVX.js")).getProjectMetadataForCwd;
3994
+ const execute = dependencies.getProjectMetadataForCwd ?? (await import("./chunk-PMDFTON3.js")).getProjectMetadataForCwd;
3995
3995
  result = execute(paths, options.cwd ?? process.cwd());
3996
3996
  } else if (command === forget) {
3997
- const execute = dependencies.forgetProjectMetadata ?? (await import("./chunk-AJPFOTVX.js")).forgetProjectMetadata;
3997
+ const execute = dependencies.forgetProjectMetadata ?? (await import("./chunk-PMDFTON3.js")).forgetProjectMetadata;
3998
3998
  result = execute(paths, required2(options.localProjectId, "--local-project-id"));
3999
3999
  } else if (command === anchor) {
4000
- const { setProjectRepositoryAnchor } = await import("./chunk-AJPFOTVX.js");
4000
+ const { setProjectRepositoryAnchor } = await import("./chunk-PMDFTON3.js");
4001
4001
  result = await setProjectRepositoryAnchor(paths, {
4002
4002
  localProjectId: required2(options.localProjectId, "--local-project-id"),
4003
4003
  expectedCheckoutId: required2(options.checkoutId, "--checkout-id"),
@@ -4061,7 +4061,7 @@ var registerPackageCommands = (program2, dependencies, complete) => {
4061
4061
  let result;
4062
4062
  switch (command.name()) {
4063
4063
  case "status": {
4064
- const execute = dependencies.collectPackageStatus ?? (await import("./chunk-MHFYPBCL.js")).collectServerPackageStatus;
4064
+ const execute = dependencies.collectPackageStatus ?? (await import("./chunk-BRPU557N.js")).collectServerPackageStatus;
4065
4065
  result = execute(paths);
4066
4066
  break;
4067
4067
  }
@@ -4088,20 +4088,20 @@ var registerPackageCommands = (program2, dependencies, complete) => {
4088
4088
  input.trustPolicy = policy;
4089
4089
  if (options.allowDowngrade)
4090
4090
  input.allowDowngrade = true;
4091
- const execute = dependencies.installPackage ?? (await import("./chunk-MHFYPBCL.js")).installServerPackage;
4091
+ const execute = dependencies.installPackage ?? (await import("./chunk-BRPU557N.js")).installServerPackage;
4092
4092
  result = await execute(paths, input);
4093
4093
  break;
4094
4094
  }
4095
4095
  case "activate": {
4096
4096
  const version = required3(options.version, "--version");
4097
- const execute = dependencies.activatePackage ?? (await import("./chunk-MHFYPBCL.js")).activateServerPackage;
4097
+ const execute = dependencies.activatePackage ?? (await import("./chunk-BRPU557N.js")).activateServerPackage;
4098
4098
  result = execute(paths, version, {
4099
4099
  allowDowngrade: Boolean(options.allowDowngrade)
4100
4100
  });
4101
4101
  break;
4102
4102
  }
4103
4103
  default: {
4104
- const execute = dependencies.cleanupPackages ?? (await import("./chunk-MHFYPBCL.js")).cleanupServerPackages;
4104
+ const execute = dependencies.cleanupPackages ?? (await import("./chunk-BRPU557N.js")).cleanupServerPackages;
4105
4105
  result = execute(paths, Number.parseInt(options.keep ?? "1", 10));
4106
4106
  }
4107
4107
  }
@@ -4143,7 +4143,7 @@ var runModelCommand = async (operation, options, dependencies) => {
4143
4143
  if (options.kind !== "embedding" && options.kind !== "privacy")
4144
4144
  throw new Error("--kind must be embedding or privacy.");
4145
4145
  const paths = (dependencies.resolvePaths ?? resolveKoedServerPaths)();
4146
- const loadEnvironment = dependencies.loadEnvironment ?? (await import("./chunk-7NOQSX4T.js")).loadRepoEnv;
4146
+ const loadEnvironment = dependencies.loadEnvironment ?? (await import("./chunk-UKBULNBO.js")).loadRepoEnv;
4147
4147
  const environment = {
4148
4148
  ...loadEnvironment(paths.repoRoot),
4149
4149
  ...Object.fromEntries(Object.entries(process.env).filter(([, value]) => value?.trim()))
@@ -4151,10 +4151,10 @@ var runModelCommand = async (operation, options, dependencies) => {
4151
4151
  let result;
4152
4152
  if (options.kind === "privacy") {
4153
4153
  if (operation === "status") {
4154
- const execute = dependencies.collectPrivacyModelStatus ?? (await import("./chunk-YOMK7KMB.js")).collectPrivacyModelStatus;
4154
+ const execute = dependencies.collectPrivacyModelStatus ?? (await import("./chunk-2XVGC6KN.js")).collectPrivacyModelStatus;
4155
4155
  result = await execute(paths);
4156
4156
  } else {
4157
- const execute = dependencies.installPrivacyModel ?? (await import("./chunk-YOMK7KMB.js")).installPrivacyModel;
4157
+ const execute = dependencies.installPrivacyModel ?? (await import("./chunk-2XVGC6KN.js")).installPrivacyModel;
4158
4158
  const files = /* @__PURE__ */ new Map();
4159
4159
  result = options.progressJson ? await execute(paths, environment, void 0, {
4160
4160
  progress: (event) => {
@@ -4227,7 +4227,7 @@ var runRuntimeCommand = async (operation, options, dependencies) => {
4227
4227
  if (operation === "install" && options.dependencyMode !== "bundled-local")
4228
4228
  throw new Error("runtime install requires --dependency-mode bundled-local.");
4229
4229
  const paths = (dependencies.resolvePaths ?? resolveKoedServerPaths)();
4230
- const loadEnvironment = dependencies.loadEnvironment ?? (await import("./chunk-7NOQSX4T.js")).loadRepoEnv;
4230
+ const loadEnvironment = dependencies.loadEnvironment ?? (await import("./chunk-UKBULNBO.js")).loadRepoEnv;
4231
4231
  const environment = {
4232
4232
  ...loadEnvironment(paths.repoRoot),
4233
4233
  ...Object.fromEntries(
@@ -4239,7 +4239,7 @@ var runRuntimeCommand = async (operation, options, dependencies) => {
4239
4239
  if (options.provider === "release") {
4240
4240
  if (dependencies.desktopRuntimeCapability)
4241
4241
  throw new Error("Use Koed Desktop to manage its runtime.");
4242
- const release = await import("./chunk-D4XZTNLU.js");
4242
+ const release = await import("./chunk-PAPGIBPA.js");
4243
4243
  if (operation === "validate") {
4244
4244
  if (!options.runtimeRoot?.trim())
4245
4245
  throw new Error("Provide a trusted staged runtime directory.");
@@ -4247,9 +4247,9 @@ var runRuntimeCommand = async (operation, options, dependencies) => {
4247
4247
  release.assertReleaseHost();
4248
4248
  if (process.platform === "darwin")
4249
4249
  throw new Error("CUDA runtime validation is not supported on macOS.");
4250
- const { withStoppedRuntime } = await import("./chunk-TMCW2P6G.js");
4250
+ const { withStoppedRuntime } = await import("./chunk-BYN4THYX.js");
4251
4251
  const { resolveKoedRuntimeOwner } = await import("./chunk-ZKKWLLPU.js");
4252
- const { validateStagedCuda } = await import("./chunk-BDJR6CKS.js");
4252
+ const { validateStagedCuda } = await import("./chunk-CZKIP3UJ.js");
4253
4253
  result = await withRuntimeCancellation((signal) => withStoppedRuntime(paths, resolveKoedRuntimeOwner(), () => validateStagedCuda(paths, root, environment, {
4254
4254
  signal,
4255
4255
  requireModel: options.requireModel === true
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-IY2HRXOZ.js";
5
5
 
6
6
  // packages/koed-server/dist/component-manifest-catalog-data.js
7
- var productionComponentManifestCatalog = validateManifestCatalog({ "schemaVersion": 2, "productVersion": "1.2.0", "entries": [{ "component": "base", "manifestSha256": "4ef8f77745b76f102c40465d5be451ec12108d0ed511ed0d2dfe53e0b8880508", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } } }, { "component": "base", "manifestSha256": "164d6e7c0791b218cc885f5e2d01719f242574e1ab7721fa704b08e558524d4d", "target": { "platform": "macos", "architecture": "arm64" } }, { "component": "privacy", "variant": "cpu", "manifestSha256": "1c19d70c442fce3b9305e63eeed7c9558d38d349dfff8d198fcdaff40044e254", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } } }, { "component": "privacy", "variant": "cuda", "manifestSha256": "dd5d2ca420974e284d84a0f152e3883d52a4d936672539c5b05697bce0779cde", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } } }, { "component": "privacy", "manifestSha256": "d8b3fabe90ecb4aa8c179f4628793dd6e775795ec38c4484201b12a3a720787f", "target": { "platform": "macos", "architecture": "arm64" } }] });
7
+ var productionComponentManifestCatalog = validateManifestCatalog({ "schemaVersion": 2, "productVersion": "1.3.0", "entries": [{ "component": "base", "manifestSha256": "563f4a853b25a35e7478cfab893c0193a96c70c343b6fe423fdc874b545c4172", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } } }, { "component": "base", "manifestSha256": "42e05336a7a53ad30daf2327530b9beeaab8f7838b6a8b73be2fdc309a286e3f", "target": { "platform": "macos", "architecture": "arm64" } }, { "component": "privacy", "variant": "cpu", "manifestSha256": "6f13d76568555ff4cdb6cb0345f1695dac7842669d5b826d9cdf4e5adf26dd52", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } } }, { "component": "privacy", "variant": "cuda", "manifestSha256": "0a73c905caa88d655bfd66451b9de15a0e45ec26f4f58ad295c25eb14b9c443b", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } } }, { "component": "privacy", "manifestSha256": "cda5e9951079a6917a7b43eba30a25eb056bbcdc0cb2b964d52c0a47367dee1b", "target": { "platform": "macos", "architecture": "arm64" } }] });
8
8
 
9
9
  export {
10
10
  productionComponentManifestCatalog
@@ -2,41 +2,41 @@ import { createRequire as createKoedRequire } from "node:module"; const require
2
2
  import {
3
3
  createCliServiceContext,
4
4
  printJson
5
- } from "./chunk-TAQWNZVD.js";
6
- import "./chunk-XSOQ2U5H.js";
7
- import "./chunk-XW7AXRDI.js";
8
- import "./chunk-GEIN6UIL.js";
5
+ } from "./chunk-IHVJNZXT.js";
6
+ import "./chunk-LLJV6XQ6.js";
7
+ import "./chunk-GBQXRSSZ.js";
8
+ import "./chunk-RBD4HLDB.js";
9
9
  import "./chunk-2YCDKSKW.js";
10
10
  import "./chunk-JYK6UL6D.js";
11
- import "./chunk-ULUSFNAE.js";
11
+ import "./chunk-4QETHLFK.js";
12
12
  import {
13
13
  connectAiClientAfterSetup,
14
14
  disconnectAiClientThenRemove,
15
15
  verifyAiClientIntegration
16
- } from "./chunk-KBECHDUE.js";
16
+ } from "./chunk-LVUQ5N23.js";
17
17
  import {
18
18
  evaluateAiClientReadiness
19
- } from "./chunk-XTQYFCVY.js";
19
+ } from "./chunk-FZAIOBQQ.js";
20
20
  import "./chunk-QT24SAW6.js";
21
21
  import "./chunk-TISYUUEJ.js";
22
22
  import "./chunk-YY7NMZGD.js";
23
- import "./chunk-A2TMTAAS.js";
24
- import "./chunk-7FSHVVTZ.js";
23
+ import "./chunk-XYC3MIS6.js";
24
+ import "./chunk-HFGCZ76G.js";
25
25
  import "./chunk-TSAYTRX3.js";
26
26
  import "./chunk-YZLQZU5E.js";
27
- import "./chunk-W2HNI6AA.js";
27
+ import "./chunk-26D2DYEJ.js";
28
28
  import "./chunk-OG7G6DIR.js";
29
- import "./chunk-I5XO5FL4.js";
29
+ import "./chunk-B25G2HFV.js";
30
30
  import "./chunk-T6UB5PNX.js";
31
31
  import "./chunk-7NXKPDF3.js";
32
- import "./chunk-YDZEMIAH.js";
33
- import "./chunk-MFPPURFE.js";
34
- import "./chunk-H7ETSD25.js";
35
- import "./chunk-ULLAURFV.js";
32
+ import "./chunk-K2KUQRHT.js";
33
+ import "./chunk-YLFOTZFU.js";
34
+ import "./chunk-TCL6KGG7.js";
35
+ import "./chunk-BTBSSNAR.js";
36
36
  import "./chunk-IY2HRXOZ.js";
37
- import "./chunk-G54Q5W6M.js";
38
- import "./chunk-3VNLZCMB.js";
39
- import "./chunk-VWB3VEOL.js";
37
+ import "./chunk-HN2X7VA2.js";
38
+ import "./chunk-SQNSVJ3W.js";
39
+ import "./chunk-5ZYY6GLX.js";
40
40
  import "./chunk-FSNLU46W.js";
41
41
  import "./chunk-BTS4ZTF3.js";
42
42
 
@@ -4,32 +4,38 @@ import {
4
4
  } from "./chunk-YY7NMZGD.js";
5
5
  import {
6
6
  parseEnvFile
7
- } from "./chunk-W2HNI6AA.js";
7
+ } from "./chunk-26D2DYEJ.js";
8
8
  import {
9
9
  resolveTeamCollaborationEnabled
10
- } from "./chunk-VWB3VEOL.js";
10
+ } from "./chunk-5ZYY6GLX.js";
11
11
 
12
12
  // packages/koed-server/dist/effective-runtime-config.js
13
13
  import { existsSync, readFileSync } from "node:fs";
14
14
  import { resolve } from "node:path";
15
15
  function resolveEffectiveRuntimeConfig(paths, environment, execution) {
16
- const envPath = environment.KOED_ENV_PATH?.trim() ? resolve(environment.KOED_ENV_PATH) : execution === "source" ? resolve(paths.repoRoot, ".env") : void 0;
16
+ const selectedPath = environment.KOED_ENV_PATH?.trim();
17
+ const explicitEnvPath = selectedPath ? resolve(selectedPath) : void 0;
18
+ const envPath = explicitEnvPath ?? (execution === "source" ? resolve(paths.repoRoot, ".env") : void 0);
17
19
  let fileEnvironment = {};
18
20
  if (envPath) {
19
21
  if (!existsSync(envPath)) {
20
- if (environment.KOED_ENV_PATH?.trim()) {
22
+ if (explicitEnvPath) {
21
23
  throw new Error(`Explicit environment file does not exist: ${envPath}`);
22
24
  }
23
25
  } else {
24
26
  fileEnvironment = parseEnvFile(readFileSync(envPath, "utf8"), {
25
- strict: Boolean(environment.KOED_ENV_PATH?.trim()),
27
+ strict: Boolean(explicitEnvPath),
26
28
  source: envPath
27
29
  });
28
30
  }
29
31
  }
30
- const effectiveEnvironment = { ...fileEnvironment, ...environment };
32
+ const effectiveEnvironment = {
33
+ ...fileEnvironment,
34
+ ...environment,
35
+ ...explicitEnvPath ? { KOED_ENV_PATH: explicitEnvPath } : {}
36
+ };
31
37
  const config = resolveKoedServerConfig(paths, effectiveEnvironment, {
32
- strict: execution === "packaged" || Boolean(environment.KOED_ENV_PATH?.trim())
38
+ strict: execution === "packaged" || Boolean(explicitEnvPath)
33
39
  });
34
40
  return {
35
41
  config,
@@ -3,7 +3,7 @@ import {
3
3
  aiClientConnectionRevision,
4
4
  grantAiClientConnection,
5
5
  revokeAiClientConnection
6
- } from "./chunk-XTQYFCVY.js";
6
+ } from "./chunk-FZAIOBQQ.js";
7
7
 
8
8
  // packages/koed-server/dist/ai-client-authorization.js
9
9
  var clientNames = {
@@ -2,13 +2,13 @@ import { createRequire as createKoedRequire } from "node:module"; const require
2
2
  import {
3
3
  calculateRuntimeRequirements,
4
4
  resolveEffectiveRuntimeConfig
5
- } from "./chunk-XSOQ2U5H.js";
5
+ } from "./chunk-LLJV6XQ6.js";
6
6
  import "./chunk-YY7NMZGD.js";
7
7
  import {
8
8
  resolveKoedServerPaths
9
9
  } from "./chunk-TSAYTRX3.js";
10
10
  import "./chunk-YZLQZU5E.js";
11
- import "./chunk-W2HNI6AA.js";
11
+ import "./chunk-26D2DYEJ.js";
12
12
  import {
13
13
  resolveKoedAppRuntimeExecution,
14
14
  resolveKoedControlPlaneVersion,
@@ -28,19 +28,19 @@ import {
28
28
  resolveComponentManifestPinTarget,
29
29
  stageComponent,
30
30
  stageGeneration
31
- } from "./chunk-I5XO5FL4.js";
31
+ } from "./chunk-B25G2HFV.js";
32
32
  import "./chunk-T6UB5PNX.js";
33
33
  import "./chunk-7NXKPDF3.js";
34
34
  import {
35
35
  productionComponentManifestCatalog
36
- } from "./chunk-YDZEMIAH.js";
37
- import "./chunk-MFPPURFE.js";
38
- import "./chunk-H7ETSD25.js";
39
- import "./chunk-ULLAURFV.js";
36
+ } from "./chunk-K2KUQRHT.js";
37
+ import "./chunk-YLFOTZFU.js";
38
+ import "./chunk-TCL6KGG7.js";
39
+ import "./chunk-BTBSSNAR.js";
40
40
  import {
41
41
  validateManifestCatalog
42
42
  } from "./chunk-IY2HRXOZ.js";
43
- import "./chunk-VWB3VEOL.js";
43
+ import "./chunk-5ZYY6GLX.js";
44
44
  import "./chunk-FSNLU46W.js";
45
45
  import "./chunk-BTS4ZTF3.js";
46
46
 
@@ -12,10 +12,10 @@ import {
12
12
  updateUpstreamBackendRoutePolicy,
13
13
  upstreamBackendAdvertisesCapability,
14
14
  upstreamBackendSupportsTeamMemoryAnswerTasks
15
- } from "./chunk-3VNLZCMB.js";
15
+ } from "./chunk-SQNSVJ3W.js";
16
16
  import {
17
17
  isTeamMemoryAnswerTaskCapability
18
- } from "./chunk-VWB3VEOL.js";
18
+ } from "./chunk-5ZYY6GLX.js";
19
19
  import "./chunk-FSNLU46W.js";
20
20
  import "./chunk-BTS4ZTF3.js";
21
21
  export {
@@ -3,7 +3,7 @@ import {
3
3
  checkCudaHost,
4
4
  nativeCommand,
5
5
  validateStagedCuda
6
- } from "./chunk-J7LW6JFY.js";
6
+ } from "./chunk-CLI4TFKY.js";
7
7
  import "./chunk-2YCDKSKW.js";
8
8
  import "./chunk-JYK6UL6D.js";
9
9
  import {
@@ -18,10 +18,10 @@ import {
18
18
  renameAtomically,
19
19
  resolveDesktopRuntimeOwner,
20
20
  withStoppedRuntime
21
- } from "./chunk-I5XO5FL4.js";
21
+ } from "./chunk-B25G2HFV.js";
22
22
  import "./chunk-T6UB5PNX.js";
23
23
  import "./chunk-7NXKPDF3.js";
24
- import "./chunk-YDZEMIAH.js";
24
+ import "./chunk-K2KUQRHT.js";
25
25
  import {
26
26
  canonicalArtifactJson,
27
27
  extractNativeArchive,
@@ -31,7 +31,7 @@ import {
31
31
  readNativeMetadata,
32
32
  syncNativeDirectory,
33
33
  verifyNativePayload
34
- } from "./chunk-MFPPURFE.js";
34
+ } from "./chunk-YLFOTZFU.js";
35
35
  import {
36
36
  compareNativeVersions,
37
37
  compatibleCuda,
@@ -39,8 +39,8 @@ import {
39
39
  nativeKind,
40
40
  selectNativeRuntimeCatalog,
41
41
  validateNativeRuntimeCatalog
42
- } from "./chunk-H7ETSD25.js";
43
- import "./chunk-ULLAURFV.js";
42
+ } from "./chunk-TCL6KGG7.js";
43
+ import "./chunk-BTBSSNAR.js";
44
44
  import "./chunk-IY2HRXOZ.js";
45
45
  import "./chunk-FSNLU46W.js";
46
46
  import "./chunk-BTS4ZTF3.js";