@kilogent/runner 0.1.8 → 0.1.9
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 +10 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1712,7 +1712,7 @@ import os from "node:os";
|
|
|
1712
1712
|
import path from "node:path";
|
|
1713
1713
|
|
|
1714
1714
|
// src/version.ts
|
|
1715
|
-
var RUNNER_VERSION = true ? "0.1.
|
|
1715
|
+
var RUNNER_VERSION = true ? "0.1.9" : "0.0.0-dev";
|
|
1716
1716
|
var RUNNER_PACKAGE = true ? "@kilogent/runner" : "@kilogent/runner-dev";
|
|
1717
1717
|
var RUNNER_BIN = true ? "kilogent-runner" : "kilogent-runner-dev";
|
|
1718
1718
|
var SESSION_IMAGE = true ? "europe-west1-docker.pkg.dev/kilogent-crew-prod/sessions/session@sha256:247ecb20c7ee497a75cb02dc8397b6db2375a04923b727ab3e673ff0eccf0559" : "";
|
|
@@ -1750,6 +1750,13 @@ function connectedConfig(stored) {
|
|
|
1750
1750
|
var IS_DEV_BUILD = RUNNER_PACKAGE.endsWith("-dev");
|
|
1751
1751
|
var DEFAULT_PROJECT_ID = IS_DEV_BUILD ? "lumi-afb7d" : "kilogent-crew-prod";
|
|
1752
1752
|
var DEFAULT_MCP_URL = IS_DEV_BUILD ? "https://dev-app-kilogent.web.app/mcp" : "https://app.kilogent.com/mcp";
|
|
1753
|
+
var FUNCTIONS_REGIONS = {
|
|
1754
|
+
"lumi-afb7d": "us-central1",
|
|
1755
|
+
"kilogent-crew-prod": "europe-west1"
|
|
1756
|
+
};
|
|
1757
|
+
function functionsRegionFor(projectId) {
|
|
1758
|
+
return FUNCTIONS_REGIONS[projectId] ?? "us-central1";
|
|
1759
|
+
}
|
|
1753
1760
|
var LEGACY_DIR_NAME = ".crew-runner";
|
|
1754
1761
|
var DIR_NAME = `.${RUNNER_BIN}`;
|
|
1755
1762
|
var LUMI_DIR_NAME = ".lumi-runner";
|
|
@@ -1821,7 +1828,7 @@ function engineInstallAllowed(config2) {
|
|
|
1821
1828
|
return config2?.autoInstallEngines ?? TOGGLE_DEFAULTS.autoInstallEngines;
|
|
1822
1829
|
}
|
|
1823
1830
|
function mcpUrl(config2) {
|
|
1824
|
-
return process.env.CREW_MCP_URL || config2.mcpUrl || (config2.projectId === DEFAULT_PROJECT_ID ? DEFAULT_MCP_URL : `https
|
|
1831
|
+
return process.env.CREW_MCP_URL || config2.mcpUrl || (config2.projectId === DEFAULT_PROJECT_ID ? DEFAULT_MCP_URL : `https://${functionsRegionFor(config2.projectId)}-${config2.projectId}.cloudfunctions.net/workspaceMcp`);
|
|
1825
1832
|
}
|
|
1826
1833
|
|
|
1827
1834
|
// src/auth.ts
|
|
@@ -5329,7 +5336,7 @@ function functionsBaseUrl(config2) {
|
|
|
5329
5336
|
return functionsBaseUrlFor(config2.projectId);
|
|
5330
5337
|
}
|
|
5331
5338
|
function functionsBaseUrlFor(projectId) {
|
|
5332
|
-
return process.env.CREW_FUNCTIONS_URL?.replace(/\/$/, "") || `https
|
|
5339
|
+
return process.env.CREW_FUNCTIONS_URL?.replace(/\/$/, "") || `https://${functionsRegionFor(projectId)}-${projectId}.cloudfunctions.net`;
|
|
5333
5340
|
}
|
|
5334
5341
|
var CallableError = class extends Error {
|
|
5335
5342
|
constructor(status, message2, details) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kilogent/runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@kilogent/runner",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.9",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@clack/prompts": "^1.7.0",
|
|
12
12
|
"commander": "^15.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kilogent/runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Kilogent's internal server runner — leases the agent jobs Kilogent's scheduler places on this server and runs each as a sandboxed headless agent session. Not for customer installation.",
|
|
6
6
|
"//name": "The ONLY package in this monorepo published to the public registry, so it is the one that does not follow the internal @lumi/crew-* convention: `@lumi` is not a scope we own, `@lumi.ai` is (the npm org). The workspace DIRECTORY stays packages/crew/runner — renaming the package is not renaming the folder.",
|