@scheduler-systems/gal-run 0.0.565 → 0.0.566

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 +18 -9
  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.565" : "0.0.0-dev";
3958
+ cliVersion = true ? "0.0.566" : "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;
@@ -11858,7 +11858,7 @@ function detectEnvironment() {
11858
11858
  return "dev";
11859
11859
  }
11860
11860
  try {
11861
- const version2 = true ? "0.0.565" : void 0;
11861
+ const version2 = true ? "0.0.566" : void 0;
11862
11862
  if (version2 && version2.includes("-local")) {
11863
11863
  return "dev";
11864
11864
  }
@@ -14539,7 +14539,7 @@ function getId() {
14539
14539
  }
14540
14540
  function getCliVersion() {
14541
14541
  try {
14542
- return true ? "0.0.565" : "0.0.0-dev";
14542
+ return true ? "0.0.566" : "0.0.0-dev";
14543
14543
  } catch {
14544
14544
  return "0.0.0-dev";
14545
14545
  }
@@ -53445,13 +53445,22 @@ function isPlaywrightMcpEntry(entry) {
53445
53445
  function injectBrowserGalServer(directory, projectPath2) {
53446
53446
  const mcpPath = (0, import_path22.join)(directory, ".mcp.json");
53447
53447
  const config2 = readMcpJsonFile(mcpPath);
53448
+ const existingServers = { ...config2.mcpServers ?? {} };
53449
+ delete existingServers["browser-work"];
53450
+ delete existingServers["browser-work-slack"];
53451
+ if (!existingServers["browser-slack"]) {
53452
+ existingServers["browser-slack"] = {
53453
+ command: "gal",
53454
+ args: ["browser", "browser-server", "--project-path", projectPath2, "--profile", "slack"]
53455
+ };
53456
+ }
53448
53457
  const servers = {
53449
- ...config2.mcpServers ?? {},
53458
+ ...existingServers,
53450
53459
  "browser-gal": {
53451
- // gal browser-server is a hidden subcommand of the gal binary itself,
53460
+ // gal browser-server is a hidden subcommand under `gal browser`,
53452
53461
  // so no separate gal-browser-server binary needs to be distributed.
53453
53462
  command: "gal",
53454
- args: ["browser-server", "--project-path", projectPath2]
53463
+ args: ["browser", "browser-server", "--project-path", projectPath2]
53455
53464
  }
53456
53465
  };
53457
53466
  const updated = { ...config2, mcpServers: servers };
@@ -60327,7 +60336,7 @@ var init_gal_code_session_collection = __esm({
60327
60336
  "use strict";
60328
60337
  import_fs32 = require("fs");
60329
60338
  import_path31 = require("path");
60330
- SESSION_DIR = (0, import_path31.join)(".claw", "sessions");
60339
+ SESSION_DIR = (0, import_path31.join)(".gal", "sessions");
60331
60340
  SETTINGS_TIMEOUT_MS = 5e3;
60332
60341
  UPLOAD_TIMEOUT_MS = 1e4;
60333
60342
  }
@@ -60573,7 +60582,7 @@ async function resolveGalCodeLaunchContext() {
60573
60582
  GAL_CODE_GAL_SESSION_TOKEN: authToken,
60574
60583
  RUST_BACKTRACE: process.env.RUST_BACKTRACE || "1",
60575
60584
  RUST_LIB_BACKTRACE: process.env.RUST_LIB_BACKTRACE || "1",
60576
- CLAW_CONFIG_HOME: getGalCodeAuthHome(),
60585
+ GAL_CODE_CONFIG_HOME: getGalCodeAuthHome(),
60577
60586
  GAL_CODE_CLAUDE_REFRESH_TOKEN: "",
60578
60587
  GAL_CODE_CLAUDE_AUTH_SOURCE: "",
60579
60588
  GAL_CODE_CLAUDE_AUTH_TYPE: "",
@@ -80943,7 +80952,7 @@ var init_index = __esm({
80943
80952
  }
80944
80953
  });
80945
80954
 
80946
- var cliVersion11 = true ? "0.0.565" : "0.0.0-dev";
80955
+ var cliVersion11 = true ? "0.0.566" : "0.0.0-dev";
80947
80956
  var args = process.argv.slice(2);
80948
80957
  var requestedGlobalHelp = args.length === 1 && (args[0] === "--help" || args[0] === "-h");
80949
80958
  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.565",
3
+ "version": "0.0.566",
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,