@scheduler-systems/gal-run 0.0.412 → 0.0.413

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 +22 -11
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -3970,7 +3970,7 @@ var cliVersion, defaultApiUrl, BUILD_CONSTANTS, constants_default;
3970
3970
  var init_constants = __esm({
3971
3971
  "src/constants.ts"() {
3972
3972
  "use strict";
3973
- cliVersion = true ? "0.0.412" : "0.0.0-dev";
3973
+ cliVersion = true ? "0.0.413" : "0.0.0-dev";
3974
3974
  defaultApiUrl = true ? "https://api.gal.run" : "http://localhost:3000";
3975
3975
  BUILD_CONSTANTS = Object.freeze([cliVersion, defaultApiUrl]);
3976
3976
  constants_default = BUILD_CONSTANTS;
@@ -4880,7 +4880,7 @@ function detectEnvironment() {
4880
4880
  return "dev";
4881
4881
  }
4882
4882
  try {
4883
- const version2 = true ? "0.0.412" : void 0;
4883
+ const version2 = true ? "0.0.413" : void 0;
4884
4884
  if (version2 && version2.includes("-local")) {
4885
4885
  return "dev";
4886
4886
  }
@@ -5249,7 +5249,7 @@ function getId() {
5249
5249
  }
5250
5250
  function getCliVersion() {
5251
5251
  try {
5252
- return true ? "0.0.412" : "0.0.0-dev";
5252
+ return true ? "0.0.413" : "0.0.0-dev";
5253
5253
  } catch {
5254
5254
  return "0.0.0-dev";
5255
5255
  }
@@ -5810,7 +5810,8 @@ var init_session = __esm({
5810
5810
  { id: "codex", displayName: "Codex CLI", icon: "\u{1F31F}", description: "OpenAI Codex CLI" },
5811
5811
  { id: "gemini", displayName: "Gemini CLI", icon: "\u{1F48E}", description: "Google Gemini CLI" },
5812
5812
  { id: "cursor-agent", displayName: "Cursor Agent", icon: "\u{1F3AF}", description: "Cursor AI Agent" },
5813
- { id: "copilot", displayName: "GitHub Copilot", icon: "\u{1F680}", description: "GitHub Copilot CLI" }
5813
+ { id: "copilot", displayName: "GitHub Copilot", icon: "\u{1F680}", description: "GitHub Copilot CLI" },
5814
+ { id: "oss", displayName: "OSS Model", icon: "\u{1F513}", description: "Open-source model via vLLM (Qwen, DeepSeek)" }
5814
5815
  ];
5815
5816
  DEFAULT_SESSION_AGENT = "claude";
5816
5817
  ACTIVE_BACKGROUND_AGENT_RUNNER_LABELS = [
@@ -6078,7 +6079,7 @@ var CREDENTIAL_PROVIDERS, CREDENTIAL_PROVIDER_CONFIGS;
6078
6079
  var init_credentials = __esm({
6079
6080
  "../../packages/types/dist/credentials.js"() {
6080
6081
  "use strict";
6081
- CREDENTIAL_PROVIDERS = ["claude", "codex", "gemini", "cursor"];
6082
+ CREDENTIAL_PROVIDERS = ["claude", "codex", "gemini", "cursor", "oss"];
6082
6083
  CREDENTIAL_PROVIDER_CONFIGS = [
6083
6084
  {
6084
6085
  id: "claude",
@@ -6117,6 +6118,14 @@ var init_credentials = __esm({
6117
6118
  instructions: "Run `gal auth cursor` after authenticating with Cursor CLI",
6118
6119
  tokenHint: "Cursor access token",
6119
6120
  refreshTokenRequired: false
6121
+ },
6122
+ {
6123
+ id: "oss",
6124
+ displayName: "OSS Model (vLLM)",
6125
+ icon: "\u{1F513}",
6126
+ instructions: "Set VLLM_API_KEY and VLLM_BASE_URL environment variables for your vLLM endpoint",
6127
+ tokenHint: "vLLM API key (or any auth token for your inference endpoint)",
6128
+ refreshTokenRequired: false
6120
6129
  }
6121
6130
  ];
6122
6131
  }
@@ -6216,7 +6225,8 @@ function mapAgentToProvider(agent) {
6216
6225
  const mapping = {
6217
6226
  claude: "claude",
6218
6227
  codex: "codex",
6219
- gemini: "gemini"
6228
+ gemini: "gemini",
6229
+ oss: "oss"
6220
6230
  };
6221
6231
  return mapping[agent] ?? "claude";
6222
6232
  }
@@ -6224,7 +6234,8 @@ function mapProviderToAgent(provider) {
6224
6234
  const mapping = {
6225
6235
  claude: "claude",
6226
6236
  codex: "codex",
6227
- gemini: "gemini"
6237
+ gemini: "gemini",
6238
+ oss: "oss"
6228
6239
  };
6229
6240
  return mapping[provider];
6230
6241
  }
@@ -6252,7 +6263,7 @@ var DEFAULT_PROVIDER_PRECEDENCE;
6252
6263
  var init_provider_precedence = __esm({
6253
6264
  "../../packages/types/dist/provider-precedence.js"() {
6254
6265
  "use strict";
6255
- DEFAULT_PROVIDER_PRECEDENCE = ["codex", "claude", "gemini"];
6266
+ DEFAULT_PROVIDER_PRECEDENCE = ["codex", "claude", "gemini", "oss"];
6256
6267
  }
6257
6268
  });
6258
6269
 
@@ -6273,7 +6284,7 @@ var init_supervisor_directive = __esm({
6273
6284
  maxRetryAttempts: 3,
6274
6285
  minRetryDelayMs: 5e3,
6275
6286
  // 5 seconds
6276
- allowedAgents: ["claude", "codex", "gemini", "any"],
6287
+ allowedAgents: ["claude", "codex", "gemini", "oss", "any"],
6277
6288
  enforceIdempotency: true,
6278
6289
  idempotencyWindowMs: 3e5
6279
6290
  // 5 minutes
@@ -8734,7 +8745,7 @@ var init_feature_flags2 = __esm({
8734
8745
  // auth status --json is public: required by VS Code extension and scripts for all users
8735
8746
  };
8736
8747
  INTERNAL_SUBCOMMANDS = {
8737
- auth: ["claude", "codex", "gemini"]
8748
+ auth: ["claude", "codex", "gemini", "oss"]
8738
8749
  };
8739
8750
  }
8740
8751
  });
@@ -73149,7 +73160,7 @@ var init_index = __esm({
73149
73160
  });
73150
73161
 
73151
73162
  // src/bootstrap.ts
73152
- var cliVersion10 = true ? "0.0.412" : "0.0.0-dev";
73163
+ var cliVersion10 = true ? "0.0.413" : "0.0.0-dev";
73153
73164
  var args = process.argv.slice(2);
73154
73165
  var requestedGlobalHelp = args.length === 1 && (args[0] === "--help" || args[0] === "-h");
73155
73166
  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.412",
3
+ "version": "0.0.413",
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,