@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.
- package/README.md +3 -3
- package/package.json +1 -1
- package/vendor/{chunk-W2HNI6AA.js → chunk-26D2DYEJ.js} +12 -2
- package/vendor/{chunk-YOMK7KMB.js → chunk-2XVGC6KN.js} +2 -2
- package/vendor/{chunk-ULUSFNAE.js → chunk-4QETHLFK.js} +3 -3
- package/vendor/{chunk-VWB3VEOL.js → chunk-5ZYY6GLX.js} +260 -22
- package/vendor/{chunk-CSDTMMRL.js → chunk-AAAVAB5Q.js} +5 -5
- package/vendor/{chunk-I5XO5FL4.js → chunk-B25G2HFV.js} +2 -2
- package/vendor/{chunk-MHFYPBCL.js → chunk-BRPU557N.js} +3 -3
- package/vendor/{chunk-ULLAURFV.js → chunk-BTBSSNAR.js} +1 -1
- package/vendor/{chunk-TMCW2P6G.js → chunk-BYN4THYX.js} +5 -5
- package/vendor/{chunk-DQ5SIGZZ.js → chunk-BYZDN2WK.js} +4 -3
- package/vendor/{chunk-J7LW6JFY.js → chunk-CLI4TFKY.js} +1 -1
- package/vendor/{chunk-BDJR6CKS.js → chunk-CZKIP3UJ.js} +3 -3
- package/vendor/{chunk-BMHMNUNK.js → chunk-DNHKSXD5.js} +17 -17
- package/vendor/{chunk-KH4UBONI.js → chunk-F7BTC7UR.js} +2 -2
- package/vendor/{chunk-XTQYFCVY.js → chunk-FZAIOBQQ.js} +6 -6
- package/vendor/{chunk-XW7AXRDI.js → chunk-GBQXRSSZ.js} +4 -4
- package/vendor/{chunk-7FSHVVTZ.js → chunk-HFGCZ76G.js} +7 -1
- package/vendor/{chunk-G54Q5W6M.js → chunk-HN2X7VA2.js} +1 -1
- package/vendor/{chunk-TAQWNZVD.js → chunk-IHVJNZXT.js} +34 -23
- package/vendor/{chunk-7YXEB2CR.js → chunk-JHHI5KG6.js} +17 -17
- package/vendor/{chunk-CX73L6YS.js → chunk-JLYGPZYP.js} +35 -35
- package/vendor/{chunk-YDZEMIAH.js → chunk-K2KUQRHT.js} +1 -1
- package/vendor/{chunk-HXL36SED.js → chunk-KB3MFZD7.js} +18 -18
- package/vendor/{chunk-XSOQ2U5H.js → chunk-LLJV6XQ6.js} +13 -7
- package/vendor/{chunk-KBECHDUE.js → chunk-LVUQ5N23.js} +1 -1
- package/vendor/{chunk-JG7OELJM.js → chunk-O5NAIZP3.js} +8 -8
- package/vendor/{chunk-Y5OJXAUF.js → chunk-OFNOMEVX.js} +2 -2
- package/vendor/{chunk-D4XZTNLU.js → chunk-PAPGIBPA.js} +6 -6
- package/vendor/{chunk-AJPFOTVX.js → chunk-PMDFTON3.js} +116 -64
- package/vendor/{chunk-GEIN6UIL.js → chunk-RBD4HLDB.js} +1 -1
- package/vendor/{chunk-355BP3MF.js → chunk-SANHAZJM.js} +4 -4
- package/vendor/{chunk-3VNLZCMB.js → chunk-SQNSVJ3W.js} +1 -1
- package/vendor/{chunk-H7ETSD25.js → chunk-TCL6KGG7.js} +1 -1
- package/vendor/{chunk-7NOQSX4T.js → chunk-UKBULNBO.js} +5 -3
- package/vendor/{chunk-HG47LAWW.js → chunk-XSNPYCS5.js} +5 -5
- package/vendor/{chunk-A2TMTAAS.js → chunk-XYC3MIS6.js} +1 -1
- package/vendor/{chunk-XPSPPLX5.js → chunk-YHXEFDZV.js} +13 -13
- package/vendor/{chunk-MFPPURFE.js → chunk-YLFOTZFU.js} +1 -1
- package/vendor/component-manifest-catalog.js +1 -1
- package/vendor/control-plane.js +6 -5
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
personalDeviceSyncFeatureEnvironmentName,
|
|
10
10
|
resolvePersonalDeviceSyncEnabled
|
|
11
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
4250
|
+
const { withStoppedRuntime } = await import("./chunk-BYN4THYX.js");
|
|
4251
4251
|
const { resolveKoedRuntimeOwner } = await import("./chunk-ZKKWLLPU.js");
|
|
4252
|
-
const { validateStagedCuda } = await import("./chunk-
|
|
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.
|
|
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-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
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-
|
|
11
|
+
import "./chunk-4QETHLFK.js";
|
|
12
12
|
import {
|
|
13
13
|
connectAiClientAfterSetup,
|
|
14
14
|
disconnectAiClientThenRemove,
|
|
15
15
|
verifyAiClientIntegration
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LVUQ5N23.js";
|
|
17
17
|
import {
|
|
18
18
|
evaluateAiClientReadiness
|
|
19
|
-
} from "./chunk-
|
|
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-
|
|
24
|
-
import "./chunk-
|
|
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-
|
|
27
|
+
import "./chunk-26D2DYEJ.js";
|
|
28
28
|
import "./chunk-OG7G6DIR.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-B25G2HFV.js";
|
|
30
30
|
import "./chunk-T6UB5PNX.js";
|
|
31
31
|
import "./chunk-7NXKPDF3.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
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-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
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-
|
|
7
|
+
} from "./chunk-26D2DYEJ.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveTeamCollaborationEnabled
|
|
10
|
-
} from "./chunk-
|
|
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
|
|
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 (
|
|
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(
|
|
27
|
+
strict: Boolean(explicitEnvPath),
|
|
26
28
|
source: envPath
|
|
27
29
|
});
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
|
-
const effectiveEnvironment = {
|
|
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(
|
|
38
|
+
strict: execution === "packaged" || Boolean(explicitEnvPath)
|
|
33
39
|
});
|
|
34
40
|
return {
|
|
35
41
|
config,
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
15
|
+
} from "./chunk-SQNSVJ3W.js";
|
|
16
16
|
import {
|
|
17
17
|
isTeamMemoryAnswerTaskCapability
|
|
18
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
21
|
+
} from "./chunk-B25G2HFV.js";
|
|
22
22
|
import "./chunk-T6UB5PNX.js";
|
|
23
23
|
import "./chunk-7NXKPDF3.js";
|
|
24
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
43
|
-
import "./chunk-
|
|
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";
|