@seaveyon/harness-switch 0.33.0 → 0.33.1

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.
@@ -8902,6 +8902,7 @@ var PROBE_CODES = {
8902
8902
  completionHttpError: "probe.completionHttpError",
8903
8903
  completionInvalid: "probe.completionInvalid"
8904
8904
  };
8905
+ var PROBE_MODEL_LIMIT = 1000;
8905
8906
  var USER_BLOCK_CODES = {
8906
8907
  homeUnsearchable: "user.block.homeUnsearchable",
8907
8908
  homeUnwritable: "user.block.homeUnwritable",
@@ -34131,7 +34132,6 @@ var IProbeService = createDecorator("probeService");
34131
34132
  var TIMEOUT_MS = 1e4;
34132
34133
  var COMPLETION_TIMEOUT_MS = 30000;
34133
34134
  var MAX_BODY_BYTES = 4 * 1024 * 1024;
34134
- var MAX_MODELS = 1000;
34135
34135
  var COMPLETION_PROMPT = "hi";
34136
34136
  var COMPLETION_MAX_TOKENS = 1;
34137
34137
  var COMPLETION_PROTOCOLS = [
@@ -34403,7 +34403,7 @@ function extractModels(body) {
34403
34403
  if (id && !seen.has(id)) {
34404
34404
  seen.add(id);
34405
34405
  models.push(id);
34406
- if (models.length >= MAX_MODELS) {
34406
+ if (models.length >= PROBE_MODEL_LIMIT) {
34407
34407
  break;
34408
34408
  }
34409
34409
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seaveyon/harness-switch",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "description": "A secure web control plane that switches API providers for Claude Code, Codex, Kimi Code, Pi and DeepSeek Harness by writing their native config files on SSH servers.",
5
5
  "keywords": [
6
6
  "claude-code",