@koed-labs/server 1.0.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-S6HD3MDU.js → chunk-2XVGC6KN.js} +2 -2
- package/vendor/chunk-2YCDKSKW.js +45 -0
- package/vendor/{chunk-T7OGE5E5.js → chunk-4QETHLFK.js} +3 -3
- package/vendor/{chunk-E6YVGIEW.js → chunk-5ZYY6GLX.js} +728 -34
- package/vendor/{chunk-BYN6KXNP.js → chunk-AAAVAB5Q.js} +5 -5
- package/vendor/{chunk-UCOHFZ77.js → chunk-B25G2HFV.js} +2 -2
- package/vendor/{chunk-F77ZTTNS.js → chunk-BRPU557N.js} +3 -3
- package/vendor/{chunk-QV3WPU7A.js → chunk-BTBSSNAR.js} +1 -1
- package/vendor/{chunk-ILQVLZ2I.js → chunk-BYN4THYX.js} +5 -5
- package/vendor/{chunk-64AST7WZ.js → chunk-BYZDN2WK.js} +5 -2
- package/vendor/{chunk-XKXSC6YS.js → chunk-CLI4TFKY.js} +21 -13
- package/vendor/{chunk-W6632NOX.js → chunk-CZKIP3UJ.js} +4 -3
- package/vendor/{chunk-DWWMBGHX.js → chunk-DNHKSXD5.js} +19 -18
- package/vendor/{chunk-AOZ3LMTF.js → chunk-F7BTC7UR.js} +3 -2
- package/vendor/{chunk-USHFSJT7.js → chunk-FZAIOBQQ.js} +11 -9
- package/vendor/{chunk-NGV45YWB.js → chunk-GBQXRSSZ.js} +4 -4
- package/vendor/{chunk-7FSHVVTZ.js → chunk-HFGCZ76G.js} +7 -1
- package/vendor/{chunk-4DHYSJJT.js → chunk-HN2X7VA2.js} +1 -1
- package/vendor/{chunk-54UL4U2E.js → chunk-IHVJNZXT.js} +101 -33
- package/vendor/{chunk-EEBIYWTE.js → chunk-JHHI5KG6.js} +19 -18
- package/vendor/{chunk-TIBYKMRW.js → chunk-JLYGPZYP.js} +38 -45
- package/vendor/{chunk-XCO3RV3Z.js → chunk-K2KUQRHT.js} +1 -1
- package/vendor/{chunk-Y6GE52OP.js → chunk-KB3MFZD7.js} +20 -19
- package/vendor/{chunk-L4RD3TAZ.js → chunk-LLJV6XQ6.js} +14 -8
- package/vendor/{chunk-KG3RANR4.js → chunk-LVUQ5N23.js} +1 -1
- package/vendor/{chunk-KRBZZ6GS.js → chunk-O5NAIZP3.js} +9 -9
- package/vendor/{chunk-SQZ2OSP6.js → chunk-OFNOMEVX.js} +2 -2
- package/vendor/{chunk-273NMYXE.js → chunk-PAPGIBPA.js} +8 -7
- package/vendor/{chunk-VLP72QWX.js → chunk-PMDFTON3.js} +116 -64
- package/vendor/{chunk-GY5GATZL.js → chunk-RBD4HLDB.js} +7 -2
- package/vendor/{chunk-F7AMEDDU.js → chunk-SANHAZJM.js} +4 -4
- package/vendor/{chunk-WBMO7YCO.js → chunk-SQNSVJ3W.js} +1 -1
- package/vendor/{chunk-VGL5AZN5.js → chunk-TCL6KGG7.js} +1 -1
- package/vendor/{chunk-7NOQSX4T.js → chunk-UKBULNBO.js} +5 -3
- package/vendor/{chunk-OZU6JFB4.js → chunk-XSNPYCS5.js} +6 -5
- package/vendor/{chunk-LHUMBHG7.js → chunk-XYC3MIS6.js} +1 -1
- package/vendor/{chunk-UIMUUIH7.js → chunk-YHXEFDZV.js} +14 -14
- package/vendor/{chunk-7HLNJ2BI.js → chunk-YLFOTZFU.js} +1 -1
- package/vendor/{chunk-ALJUSOF7.js → chunk-YY7NMZGD.js} +79 -1
- package/vendor/component-manifest-catalog.js +1 -1
- package/vendor/control-plane.js +7 -4
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
getUpstreamEnrollmentStatus,
|
|
9
9
|
readUpstreamEnrollmentBinding,
|
|
10
10
|
startUpstreamEnrollment
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4QETHLFK.js";
|
|
12
12
|
import {
|
|
13
13
|
applyPersistedLocalPorts
|
|
14
14
|
} from "./chunk-TISYUUEJ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-XYC3MIS6.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveKoedServerPaths
|
|
18
18
|
} from "./chunk-TSAYTRX3.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-YZLQZU5E.js";
|
|
|
20
20
|
import {
|
|
21
21
|
loadRepoEnv,
|
|
22
22
|
resolveApiUrl
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-26D2DYEJ.js";
|
|
24
24
|
import {
|
|
25
25
|
applyActiveRuntimeUrls,
|
|
26
26
|
readActiveRuntimeState
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
updateUpstreamBackendRoutePolicy,
|
|
41
41
|
updateUpstreamDisconnectCleanup,
|
|
42
42
|
upstreamDisconnectCleanupPending
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-SQNSVJ3W.js";
|
|
44
44
|
import {
|
|
45
45
|
COLLABORATION_CONTRACT_VERSION,
|
|
46
46
|
COLLABORATION_RECONNECT_BACKOFF_CAP_MS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
readLocalEdgeClientCredentialAuthorization,
|
|
74
74
|
storeCollaborationPendingSend,
|
|
75
75
|
updateCollaborationPendingSendState
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-5ZYY6GLX.js";
|
|
77
77
|
import {
|
|
78
78
|
external_exports
|
|
79
79
|
} from "./chunk-FSNLU46W.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-T6UB5PNX.js";
|
|
5
5
|
import {
|
|
6
6
|
productionComponentManifestCatalog
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K2KUQRHT.js";
|
|
8
8
|
import {
|
|
9
9
|
canonicalArtifactJson,
|
|
10
10
|
extractVerifiedPackageArchive,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
verifyComponent,
|
|
14
14
|
verifyComponentManifestPin,
|
|
15
15
|
verifyExtractedComponent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YLFOTZFU.js";
|
|
17
17
|
import {
|
|
18
18
|
lookupManifestPin,
|
|
19
19
|
validateManifestCatalog
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
standalonePackageKind,
|
|
17
17
|
standalonePackageSchemaVersion,
|
|
18
18
|
validateServerPackageRoot
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-YLFOTZFU.js";
|
|
20
|
+
import "./chunk-TCL6KGG7.js";
|
|
21
|
+
import "./chunk-BTBSSNAR.js";
|
|
22
22
|
import "./chunk-IY2HRXOZ.js";
|
|
23
23
|
import "./chunk-FSNLU46W.js";
|
|
24
24
|
import "./chunk-BTS4ZTF3.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as createKoedRequire } from "node:module"; const require = createKoedRequire(import.meta.url);
|
|
2
2
|
|
|
3
3
|
// packages/koed-server/dist/native-runtime-catalog-data.mjs
|
|
4
|
-
var productionNativeRuntimeCatalog = { "schemaVersion": 2, "linux": { "schemaVersion": 1, "minimumCoreVersion": "0.10.3", "core": { "recipeId": "f4ff165a91e23eae1278c93ee7a72376cc4e7418eea30c16ee6561cde66690e6", "runtimeVersion": "1.0.0", "url": "https://github.com/koed-labs/koed/releases/download/v1.
|
|
4
|
+
var productionNativeRuntimeCatalog = { "schemaVersion": 2, "linux": { "schemaVersion": 1, "minimumCoreVersion": "0.10.3", "core": { "recipeId": "f4ff165a91e23eae1278c93ee7a72376cc4e7418eea30c16ee6561cde66690e6", "runtimeVersion": "1.0.0", "url": "https://github.com/koed-labs/koed/releases/download/v1.3.0/koed-native-core-f4ff165a91e23eae1278c93ee7a72376cc4e7418eea30c16ee6561cde66690e6-linux-x64.tar.gz", "sha256": "1e46555a37e69f20838fc7a78340e8519146fa20e8eb269261e638291dcbd98e", "manifestSha256": "4a6d8968f6505e6338d66f9bc039635fcc5a42c0ac39494f07be17fc6f43bc7d", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } }, "archiveBytes": 23988967, "expandedBytes": 56990678, "contracts": { "layout": 1, "embedding": 1, "postgres": 1 }, "components": { "postgres": { "major": 17, "version": "17.6" }, "pgvector": { "version": "0.8.3" }, "llamaCpp": { "version": "b10514", "revision": "7221e24f579efbb5fd2a2ced1fffaef1aff2fe0d" } } }, "cuda": { "recipeId": "16722edc4647561a6615063cd1ad29bcf4da8ec9bc2666847069441f592a7f93", "runtimeVersion": "1.0.0", "url": "https://github.com/koed-labs/koed/releases/download/v1.3.0/koed-native-cuda-16722edc4647561a6615063cd1ad29bcf4da8ec9bc2666847069441f592a7f93-linux-x64.tar.gz", "sha256": "b63eca8bb05e1ef37e38bcd3d70edda3edb9b0fe984a35e9f18aa77fb4b07188", "manifestSha256": "47de6e6876ead9bf052477249f0a7ccaffba615de5daf9506a87ef9c4055eba6", "target": { "platform": "linux", "architecture": "x64", "libc": { "family": "glibc", "minimumVersion": "2.35" } }, "archiveBytes": 711354383, "expandedBytes": 1467990043, "contracts": { "layout": 1, "embedding": 1 }, "llamaCpp": { "version": "b10514", "revision": "7221e24f579efbb5fd2a2ced1fffaef1aff2fe0d" }, "cuda": { "toolkitVersion": "12.4", "minimumDriverLinux": "550.54.14", "architectures": [75, 80, 86, 89, 90] } } }, "macos": { "schemaVersion": 1, "minimumCoreVersion": "1.3.0", "core": { "recipeId": "50ce910c4873516abfef18beffecf7ef7134685a05f53dd0df0252c1fa8398f5", "runtimeVersion": "1.3.0", "url": "https://github.com/koed-labs/koed/releases/download/v1.3.0/koed-native-core-50ce910c4873516abfef18beffecf7ef7134685a05f53dd0df0252c1fa8398f5-macos-arm64.tar.gz", "sha256": "b251c46842ebf6cc42697af38a62ad5aebc8123045a462f79e3cb44a8e968e57", "manifestSha256": "18d6484d390da56c119ffe2ab9d7d6e3979cb4acd15de1b0b741bba20b4b9740", "target": { "platform": "macos", "architecture": "arm64", "minimumVersion": "14.0" }, "archiveBytes": 34684862, "expandedBytes": 74679686, "contracts": { "layout": 1, "embedding": 1, "postgres": 1 }, "components": { "postgres": { "major": 17, "version": "17.6" }, "pgvector": { "version": "0.8.3" }, "llamaCpp": { "version": "b10514" } } }, "cuda": null } };
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
7
|
productionNativeRuntimeCatalog
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
withLifecycleLock,
|
|
19
19
|
withSourceNativeStartLock,
|
|
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-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-K2KUQRHT.js";
|
|
25
|
+
import "./chunk-YLFOTZFU.js";
|
|
26
|
+
import "./chunk-TCL6KGG7.js";
|
|
27
|
+
import "./chunk-BTBSSNAR.js";
|
|
28
28
|
import "./chunk-IY2HRXOZ.js";
|
|
29
29
|
import "./chunk-FSNLU46W.js";
|
|
30
30
|
import "./chunk-BTS4ZTF3.js";
|
|
@@ -4,13 +4,16 @@ import {
|
|
|
4
4
|
isKoedServerCliEntrypoint,
|
|
5
5
|
runKoedServerCli,
|
|
6
6
|
shouldExitPackagedSupervisor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JLYGPZYP.js";
|
|
8
8
|
import {
|
|
9
9
|
startKoedServerDaemon
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HFGCZ76G.js";
|
|
11
11
|
import "./chunk-TSAYTRX3.js";
|
|
12
12
|
import "./chunk-YZLQZU5E.js";
|
|
13
|
+
import "./chunk-26D2DYEJ.js";
|
|
13
14
|
import "./chunk-OG7G6DIR.js";
|
|
15
|
+
import "./chunk-5ZYY6GLX.js";
|
|
16
|
+
import "./chunk-FSNLU46W.js";
|
|
14
17
|
import "./chunk-BTS4ZTF3.js";
|
|
15
18
|
export {
|
|
16
19
|
isKoedServerCliEntrypoint,
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { createRequire as createKoedRequire } from "node:module"; const require = createKoedRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
privateNodeLauncher
|
|
4
|
+
} from "./chunk-2YCDKSKW.js";
|
|
2
5
|
import {
|
|
3
6
|
collectLocalModelStatus
|
|
4
7
|
} from "./chunk-JYK6UL6D.js";
|
|
5
8
|
import {
|
|
6
9
|
compareNativeVersions
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TCL6KGG7.js";
|
|
8
11
|
import {
|
|
9
12
|
external_exports
|
|
10
13
|
} from "./chunk-FSNLU46W.js";
|
|
@@ -191,19 +194,24 @@ async function checkCudaHost(signal, nvidiaSmi = resolveNvidiaSmi()) {
|
|
|
191
194
|
const [major, minor, patch = 0] = driverVersion.split(".").map(Number);
|
|
192
195
|
if (compareNativeVersions(`${major}.${minor}.${patch}`, minimumDriver) < 0)
|
|
193
196
|
throw new NativeValidationError("cuda_driver_too_old", `NVIDIA driver ${driverVersion} is older than required ${minimumDriver}.`);
|
|
194
|
-
const loaded = await nativeCommand(
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
...context
|
|
203
|
-
|
|
204
|
-
|
|
197
|
+
const loaded = await nativeCommand(
|
|
198
|
+
// The probe environment is restricted, so use the private Node launcher.
|
|
199
|
+
privateNodeLauncher(),
|
|
200
|
+
[
|
|
201
|
+
"-p",
|
|
202
|
+
String.raw`process.report.getReport().sharedObjects.some(p => /\/libcuda\.so(?:\.\d+)*$/.test(p))`
|
|
203
|
+
],
|
|
204
|
+
{
|
|
205
|
+
...context,
|
|
206
|
+
// Desktop also calls this probe from Electron main. Its executable must
|
|
207
|
+
// run as Node, just as it does for the private server supervisor.
|
|
208
|
+
env: {
|
|
209
|
+
...context.env,
|
|
210
|
+
ELECTRON_RUN_AS_NODE: "1",
|
|
211
|
+
LD_PRELOAD: "libcuda.so.1"
|
|
212
|
+
}
|
|
205
213
|
}
|
|
206
|
-
|
|
214
|
+
);
|
|
207
215
|
if (loaded !== "true")
|
|
208
216
|
throw new NativeValidationError("cuda_driver_library_unavailable", "The host loader could not load libcuda.so.1.");
|
|
209
217
|
return driverVersion;
|
|
@@ -2,10 +2,11 @@ import { createRequire as createKoedRequire } from "node:module"; const require
|
|
|
2
2
|
import {
|
|
3
3
|
checkCudaHost,
|
|
4
4
|
validateStagedCuda
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CLI4TFKY.js";
|
|
6
|
+
import "./chunk-2YCDKSKW.js";
|
|
6
7
|
import "./chunk-JYK6UL6D.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-TCL6KGG7.js";
|
|
9
|
+
import "./chunk-BTBSSNAR.js";
|
|
9
10
|
import "./chunk-FSNLU46W.js";
|
|
10
11
|
import "./chunk-BTS4ZTF3.js";
|
|
11
12
|
export {
|
|
@@ -6,33 +6,34 @@ import {
|
|
|
6
6
|
persistDoctorVerification,
|
|
7
7
|
printJson,
|
|
8
8
|
safeLifecycle
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IHVJNZXT.js";
|
|
10
|
+
import "./chunk-LLJV6XQ6.js";
|
|
11
|
+
import "./chunk-GBQXRSSZ.js";
|
|
12
|
+
import "./chunk-RBD4HLDB.js";
|
|
13
|
+
import "./chunk-2YCDKSKW.js";
|
|
13
14
|
import "./chunk-JYK6UL6D.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4QETHLFK.js";
|
|
16
|
+
import "./chunk-FZAIOBQQ.js";
|
|
16
17
|
import "./chunk-QT24SAW6.js";
|
|
17
18
|
import "./chunk-TISYUUEJ.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-YY7NMZGD.js";
|
|
20
|
+
import "./chunk-XYC3MIS6.js";
|
|
21
|
+
import "./chunk-HFGCZ76G.js";
|
|
21
22
|
import "./chunk-TSAYTRX3.js";
|
|
22
23
|
import "./chunk-YZLQZU5E.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-26D2DYEJ.js";
|
|
24
25
|
import "./chunk-OG7G6DIR.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-B25G2HFV.js";
|
|
26
27
|
import "./chunk-T6UB5PNX.js";
|
|
27
28
|
import "./chunk-7NXKPDF3.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-K2KUQRHT.js";
|
|
30
|
+
import "./chunk-YLFOTZFU.js";
|
|
31
|
+
import "./chunk-TCL6KGG7.js";
|
|
32
|
+
import "./chunk-BTBSSNAR.js";
|
|
32
33
|
import "./chunk-IY2HRXOZ.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-HN2X7VA2.js";
|
|
35
|
+
import "./chunk-SQNSVJ3W.js";
|
|
36
|
+
import "./chunk-5ZYY6GLX.js";
|
|
36
37
|
import "./chunk-FSNLU46W.js";
|
|
37
38
|
import "./chunk-BTS4ZTF3.js";
|
|
38
39
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { createRequire as createKoedRequire } from "node:module"; const require = createKoedRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
runApplicationSecretProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RBD4HLDB.js";
|
|
5
|
+
import "./chunk-2YCDKSKW.js";
|
|
5
6
|
import "./chunk-TSAYTRX3.js";
|
|
6
7
|
import "./chunk-YZLQZU5E.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-5ZYY6GLX.js";
|
|
8
9
|
import "./chunk-FSNLU46W.js";
|
|
9
10
|
import "./chunk-BTS4ZTF3.js";
|
|
10
11
|
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
resolveKoedServerConfig,
|
|
13
13
|
writeCodexGlobalMemoryGuidancePreference
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YY7NMZGD.js";
|
|
15
15
|
import {
|
|
16
16
|
inspectDeviceIdentityStatus
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XYC3MIS6.js";
|
|
18
18
|
import {
|
|
19
19
|
ensureKoedHome,
|
|
20
20
|
resolveKoedServerPaths
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
loadRepoEnv,
|
|
28
28
|
resolveApiUrl
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-26D2DYEJ.js";
|
|
30
30
|
import {
|
|
31
31
|
assertKoedAppRuntimeAvailable,
|
|
32
32
|
resolveKoedAppRuntime,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
readDesktopBundleGeneration,
|
|
44
44
|
resolveDesktopRuntimeOwner,
|
|
45
45
|
validateDesktopRuntimeCapability
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-B25G2HFV.js";
|
|
47
47
|
import {
|
|
48
48
|
applyActiveRuntimeUrls,
|
|
49
49
|
isProcessRunning,
|
|
@@ -55,10 +55,10 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
collectPrivacyModelStatus,
|
|
57
57
|
resolvePrivacyModelPaths
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-HN2X7VA2.js";
|
|
59
59
|
import {
|
|
60
60
|
collectUpstreamRegistryStatus
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-SQNSVJ3W.js";
|
|
62
62
|
import {
|
|
63
63
|
DESKTOP_LOCAL_CREDENTIAL_OPERATION_FAMILIES,
|
|
64
64
|
LOCAL_PERSONAL_USER_EMAIL,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
storeDesktopLocalCredential,
|
|
75
75
|
summarizeHistoricalIngestionState,
|
|
76
76
|
upgradeDesktopLocalCredential
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-5ZYY6GLX.js";
|
|
78
78
|
import {
|
|
79
79
|
__toESM
|
|
80
80
|
} from "./chunk-BTS4ZTF3.js";
|
|
@@ -572,6 +572,7 @@ var collectLocalEmbeddingRuntimeStatus = async (paths, environment = process.env
|
|
|
572
572
|
};
|
|
573
573
|
}
|
|
574
574
|
};
|
|
575
|
+
var embeddingServiceLeadsProcessGroup = (paths, platform = process.platform) => Boolean(paths.nativeSelectionRoot) || platform !== "win32";
|
|
575
576
|
var startLocalEmbeddingRuntime = (paths, environment = process.env, dependencies = {}) => {
|
|
576
577
|
const exists = dependencies.existsSync ?? existsSync3;
|
|
577
578
|
const spawn = dependencies.spawn ?? nodeSpawn;
|
|
@@ -587,8 +588,8 @@ var startLocalEmbeddingRuntime = (paths, environment = process.env, dependencies
|
|
|
587
588
|
}
|
|
588
589
|
const child = spawn(process.execPath, [runtime.serviceEntry], {
|
|
589
590
|
cwd: runtime.appDir,
|
|
590
|
-
//
|
|
591
|
-
...paths
|
|
591
|
+
// koed-server stops its owned llama-server descendants with the group.
|
|
592
|
+
...embeddingServiceLeadsProcessGroup(paths) ? { detached: true } : {},
|
|
592
593
|
env,
|
|
593
594
|
stdio: "inherit"
|
|
594
595
|
});
|
|
@@ -5490,6 +5491,7 @@ export {
|
|
|
5490
5491
|
grantAiClientConnection,
|
|
5491
5492
|
revokeAiClientConnection,
|
|
5492
5493
|
nativeLlamaServerOverride,
|
|
5494
|
+
embeddingServiceLeadsProcessGroup,
|
|
5493
5495
|
startLocalEmbeddingRuntime,
|
|
5494
5496
|
startLocalPrivacyRuntime,
|
|
5495
5497
|
inspectPi,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as createKoedRequire } from "node:module"; const require = createKoedRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
runApplicationSecretProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RBD4HLDB.js";
|
|
5
5
|
import {
|
|
6
6
|
ensureDeviceIdentity
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XYC3MIS6.js";
|
|
8
8
|
import {
|
|
9
9
|
loadRepoEnv,
|
|
10
10
|
resolveApiUrl
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-26D2DYEJ.js";
|
|
12
12
|
import {
|
|
13
13
|
PDS_PROTOCOL,
|
|
14
14
|
canonicalizePdsJson,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
signPdsRecord,
|
|
28
28
|
validatePdsGroupStatement,
|
|
29
29
|
validatePdsKeyBundle
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5ZYY6GLX.js";
|
|
31
31
|
|
|
32
32
|
// packages/koed-server/dist/personal-sync.js
|
|
33
33
|
import { createCipheriv as createCipheriv2, createDecipheriv as createDecipheriv2, createHash as createHash2, generateKeyPairSync, randomBytes as randomBytes2, randomUUID as randomUUID2, scryptSync, sign } from "node:crypto";
|
|
@@ -2,6 +2,9 @@ import { createRequire as createKoedRequire } from "node:module"; const require
|
|
|
2
2
|
import {
|
|
3
3
|
resolveKoedServerPaths
|
|
4
4
|
} from "./chunk-TSAYTRX3.js";
|
|
5
|
+
import {
|
|
6
|
+
withAbsoluteEnvPath
|
|
7
|
+
} from "./chunk-26D2DYEJ.js";
|
|
5
8
|
|
|
6
9
|
// packages/koed-server/dist/daemon-start.js
|
|
7
10
|
import { spawn as nodeSpawn } from "node:child_process";
|
|
@@ -89,7 +92,10 @@ var startKoedServerDaemon = ({ environment = process.env, spawn = nodeSpawn, sta
|
|
|
89
92
|
const child = spawn(command, args, {
|
|
90
93
|
cwd: cwd ?? environment.KOED_REPO_ROOT ?? process.cwd(),
|
|
91
94
|
detached: true,
|
|
92
|
-
env: {
|
|
95
|
+
env: {
|
|
96
|
+
...withAbsoluteEnvPath(environment),
|
|
97
|
+
KOED_SERVER_SUPERVISOR_LOG_PATH: logPath
|
|
98
|
+
},
|
|
93
99
|
stdio: ["ignore", stdoutFd, stderrFd]
|
|
94
100
|
});
|
|
95
101
|
if (!child.pid) {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
PINNED_PRIVACY_MODEL_FILES,
|
|
4
4
|
PINNED_PRIVACY_MODEL_ID,
|
|
5
5
|
PINNED_PRIVACY_MODEL_REVISION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5ZYY6GLX.js";
|
|
7
7
|
|
|
8
8
|
// packages/koed-server/dist/privacy-model-runtime.js
|
|
9
9
|
import { createHash, randomUUID } from "node:crypto";
|