@scheduler-systems/gal-run 0.0.624 → 0.0.628

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 (2) hide show
  1. package/dist/index.cjs +11 -14
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -3955,7 +3955,7 @@ var cliVersion, defaultApiUrl, BUILD_CONSTANTS, constants_default;
3955
3955
  var init_constants = __esm({
3956
3956
  "module_6"() {
3957
3957
  "use strict";
3958
- cliVersion = true ? "0.0.624" : "0.0.0-dev";
3958
+ cliVersion = true ? "0.0.628" : "0.0.0-dev";
3959
3959
  defaultApiUrl = true ? "https://api.gal.run" : "http://localhost:3000";
3960
3960
  BUILD_CONSTANTS = Object.freeze([cliVersion, defaultApiUrl]);
3961
3961
  constants_default = BUILD_CONSTANTS;
@@ -11903,7 +11903,7 @@ function detectEnvironment() {
11903
11903
  return "dev";
11904
11904
  }
11905
11905
  try {
11906
- const version2 = true ? "0.0.624" : void 0;
11906
+ const version2 = true ? "0.0.628" : void 0;
11907
11907
  if (version2 && version2.includes("-local")) {
11908
11908
  return "dev";
11909
11909
  }
@@ -14584,7 +14584,7 @@ function getId() {
14584
14584
  }
14585
14585
  function getCliVersion() {
14586
14586
  try {
14587
- return true ? "0.0.624" : "0.0.0-dev";
14587
+ return true ? "0.0.628" : "0.0.0-dev";
14588
14588
  } catch {
14589
14589
  return "0.0.0-dev";
14590
14590
  }
@@ -33962,7 +33962,7 @@ function createDoctorCommand() {
33962
33962
  });
33963
33963
  }
33964
33964
  function createBrowserServerCommand() {
33965
- return new Command("browser-server").description("Start Browser GAL MCP server over stdio (internal - invoked by MCP host)").option("--project-path <path>", "Project root directory", process.cwd()).option("--profile-dir <path>", "Shared browser profile cache directory").option("--profile <name>", "Named browser profile to load from the shared browser cache").option("--headless [bool]", "Run browser headlessly (default: true)", "true").option("--headed", "Alias for --headless false").helpOption(false).exitOverride().action(async (options) => {
33965
+ return new Command("browser-server").description("Start Browser GAL MCP server over stdio (internal - invoked by MCP host)").option("--project-path <path>", "Project root directory", process.cwd()).option("--profile-dir <path>", "Shared browser profile cache directory").option("--profile <name>", "Named browser profile to load from the shared browser cache").option("--headless [bool]", "Run browser headlessly (default: true)", "true").option("--headed", "Alias for --headless false").helpOption("-h, --help", "display help for command").exitOverride().action(async (options) => {
33966
33966
  const projectPath2 = resolveProjectPath(options.projectPath);
33967
33967
  const profileDir = resolveSharedProfileDir(options.profileDir);
33968
33968
  const headless = options.headed ? false : options.headless !== "false";
@@ -34480,7 +34480,7 @@ var init_chrome_extension_gal_server = __esm({
34480
34480
  });
34481
34481
 
34482
34482
  function createChromeExtensionMcpServerCommand() {
34483
- return new Command("mcp-server").description("Start chrome-extension-gal MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption(false).exitOverride().action(async (options) => {
34483
+ return new Command("mcp-server").description("Start chrome-extension-gal MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption("-h, --help", "display help for command").exitOverride().action(async (options) => {
34484
34484
  const projectPath2 = (0, import_path20.resolve)(options.projectPath ?? process.cwd());
34485
34485
  process.stderr.write(
34486
34486
  "[gal chrome-extension mcp-server] Starting chrome-extension-gal MCP server\n"
@@ -52722,7 +52722,6 @@ var init_api_client = __esm({
52722
52722
  ...orgFromContext ? { org: orgFromContext } : {},
52723
52723
  ...data.model ? { model: data.model } : {},
52724
52724
  ...data.org ? { org: data.org } : {},
52725
- ...data.credential_user ? { credentialUser: data.credential_user } : {},
52726
52725
  ...data.runner_label ? { runnerLabel: data.runner_label } : {}
52727
52726
  });
52728
52727
  }
@@ -58436,9 +58435,8 @@ function registerSessionTools(server, apiClient) {
58436
58435
  project_context: external_exports.string().optional().describe('Repository context, e.g. "owner/repo"'),
58437
58436
  model: external_exports.string().optional().describe('Model override (e.g. "gemini-3.1-pro-preview", "claude-sonnet-4-20250514")'),
58438
58437
  org: external_exports.string().optional().describe(`Organization ID to dispatch under (e.g. "Scheduler-Systems"). Defaults to the authenticated user's primary org.`),
58439
- credential_user: external_exports.string().optional().describe(`GitHub username whose credentials to use for this session (e.g. "karabil"). If omitted, uses the caller's credentials.`),
58440
58438
  runner_label: external_exports.string().optional().describe("Kata-backed ARC runner label (agents-standard-runc-x64, agents-medium-runc-x64, agents-high-runc-x64, agents-kali-runc). Defaults to agents-standard-runc-x64.")
58441
- }, async ({ agent, prompt: prompt3, project_context, model, org, credential_user, runner_label }) => {
58439
+ }, async ({ agent, prompt: prompt3, project_context, model, org, runner_label }) => {
58442
58440
  try {
58443
58441
  const result = await apiClient.dispatchAgent({
58444
58442
  agent,
@@ -58447,7 +58445,6 @@ function registerSessionTools(server, apiClient) {
58447
58445
  session_type: "background",
58448
58446
  model,
58449
58447
  org,
58450
- credential_user,
58451
58448
  runner_label
58452
58449
  });
58453
58450
  return {
@@ -59774,7 +59771,7 @@ function createDoctorCommand2() {
59774
59771
  });
59775
59772
  }
59776
59773
  function createServerCommand() {
59777
- return new Command("server").description("Start GAL MCP server over stdio (internal \u2014 invoked by MCP host)").helpOption(false).exitOverride().action(async () => {
59774
+ return new Command("server").description("Start GAL MCP server over stdio (internal \u2014 invoked by MCP host)").helpOption("-h, --help", "display help for command").exitOverride().action(async () => {
59778
59775
  const { startGalMcpServer: startGalMcpServer2 } = await Promise.resolve().then(() => (init_server(), server_exports));
59779
59776
  await startGalMcpServer2();
59780
59777
  });
@@ -67819,7 +67816,7 @@ var init_terminal_gal_server = __esm({
67819
67816
  });
67820
67817
 
67821
67818
  function createTerminalMcpServerCommand() {
67822
- return new Command("mcp-server").description("Start terminal-gal MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption(false).exitOverride().action(async (options) => {
67819
+ return new Command("mcp-server").description("Start terminal-gal MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption("-h, --help", "display help for command").exitOverride().action(async (options) => {
67823
67820
  const projectPath2 = (0, import_path49.resolve)(options.projectPath ?? process.cwd());
67824
67821
  process.stderr.write("[gal terminal mcp-server] Starting terminal-gal MCP server\n");
67825
67822
  process.stderr.write(`[gal terminal mcp-server] Project path: ${projectPath2}
@@ -92088,7 +92085,7 @@ var init_vision_gal_server = __esm({
92088
92085
  });
92089
92086
 
92090
92087
  function createVisionMcpServerCommand() {
92091
- return new Command("mcp-server").description("Start gal-vision MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption(false).exitOverride().action(async (options) => {
92088
+ return new Command("mcp-server").description("Start gal-vision MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption("-h, --help", "display help for command").exitOverride().action(async (options) => {
92092
92089
  const projectPath2 = (0, import_path54.resolve)(options.projectPath ?? process.cwd());
92093
92090
  process.stderr.write("[gal vision mcp-server] Starting gal-vision MCP server\n");
92094
92091
  process.stderr.write(`[gal vision mcp-server] Project path: ${projectPath2}
@@ -92580,7 +92577,7 @@ var init_vscode_gal_server = __esm({
92580
92577
  });
92581
92578
 
92582
92579
  function createVscodeMcpServerCommand() {
92583
- return new Command("mcp-server").description("Start vscode-gal MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption(false).exitOverride().action(async (options) => {
92580
+ return new Command("mcp-server").description("Start vscode-gal MCP server over stdio (internal use)").option("--project-path <path>", "Project root directory", process.cwd()).helpOption("-h, --help", "display help for command").exitOverride().action(async (options) => {
92584
92581
  const projectPath2 = (0, import_path56.resolve)(options.projectPath ?? process.cwd());
92585
92582
  process.stderr.write("[gal vscode mcp-server] Starting vscode-gal MCP server\n");
92586
92583
  process.stderr.write(`[gal vscode mcp-server] Project path: ${projectPath2}
@@ -94234,7 +94231,7 @@ var init_index = __esm({
94234
94231
  }
94235
94232
  });
94236
94233
 
94237
- var cliVersion10 = true ? "0.0.624" : "0.0.0-dev";
94234
+ var cliVersion10 = true ? "0.0.628" : "0.0.0-dev";
94238
94235
  var args = process.argv.slice(2);
94239
94236
  var requestedGlobalHelp = args.length === 1 && (args[0] === "--help" || args[0] === "-h");
94240
94237
  var requestedVersion = args.length === 1 && (args[0] === "--version" || args[0] === "-V");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scheduler-systems/gal-run",
3
- "version": "0.0.624",
3
+ "version": "0.0.628",
4
4
  "description": "GAL CLI - Command-line tool for managing AI agent configurations across your organization",
5
5
  "license": "Elastic-2.0",
6
6
  "private": false,