@scalequality/cli 0.4.1 → 0.4.2

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "sdkVersion": "0.3.281",
3
- "sha256": "0ff62b12b532e9895f9d7a755279f885c6523b4ecfcae73d5013f5fc3a94d2a1",
4
- "sourceCommit": "50f66eee84e1a3b82aeb80716af93bf1b3102b38"
3
+ "sha256": "e6408c8711d5f8ce5fa0fc528835a2bb1f859c6e220f4a1757f8330a88b639dc",
4
+ "sourceCommit": "98b4ef0ee422519ddd7767944a68147c22d33466"
5
5
  }
package/dist/connect.cjs CHANGED
@@ -4176,16 +4176,9 @@ function buildImportedContext(info, messages, budget = IMPORTED_CONTEXT_BUDGET)
4176
4176
  }
4177
4177
 
4178
4178
  // src/application/services/workspaceSandbox/outputLimit.ts
4179
- var DEFAULT_OUTPUT_CUT = 32e3;
4180
- function turnOutputLimit(limit, alias, cutApplied) {
4179
+ function turnOutputLimit(limit, _alias, _cutApplied) {
4181
4180
  if (!limit || limit <= 0) return null;
4182
- const cutBinds = cutApplied && limit >= DEFAULT_OUTPUT_CUT;
4183
- const gateway = typeof alias?.maxOutputTokens === "number" && alias.maxOutputTokens > 0 ? alias.maxOutputTokens : null;
4184
- if (gateway === null) return { limit, source: cutBinds ? "PLATFORM" : "MODEL" };
4185
- if (limit < gateway) return { limit, source: "PLATFORM" };
4186
- const source = alias?.outputLimitSource ?? "MODEL";
4187
- if (source === "ORGANIZATION" && cutBinds) return { limit, source: "PLATFORM" };
4188
- return { limit, source };
4181
+ return { limit, source: "MODEL" };
4189
4182
  }
4190
4183
  var LIMIT_TEXT = /exceeded the (\d{1,7}) output token maximum/;
4191
4184
  function limitInEngineText(text2) {
@@ -10091,7 +10084,8 @@ ${text2}` : text2;
10091
10084
  return {
10092
10085
  model: route.alias,
10093
10086
  reasoning: turnReasoning(level, capability),
10094
- output: { limit: own ? Math.min(own, 32e3) : boot.runtime.maxOutputTokens ?? null, ceiling: own ?? boot.runtime.maxOutputTokensCeiling ?? boot.runtime.maxOutputTokens ?? null }
10087
+ // Sem corte: todo turno pode responder até o máximo do modelo do apelido.
10088
+ output: { limit: own ?? boot.runtime.maxOutputTokensCeiling ?? boot.runtime.maxOutputTokens ?? null, ceiling: own ?? boot.runtime.maxOutputTokensCeiling ?? boot.runtime.maxOutputTokens ?? null }
10095
10089
  };
10096
10090
  }
10097
10091
  /** The imported conversation as a context block (fetched once); null when there is none or it cannot be read. */
@@ -10653,7 +10647,8 @@ var LOCAL_ENV_PASSTHROUGH = [
10653
10647
  ];
10654
10648
  function engineOutputTokens(boot, reasoning, output) {
10655
10649
  const limits = output ?? { limit: boot.runtime.maxOutputTokens ?? null, ceiling: boot.runtime.maxOutputTokensCeiling ?? boot.runtime.maxOutputTokens ?? null };
10656
- return (reasoning.outputCeiling ? limits.ceiling ?? limits.limit : limits.limit) ?? null;
10650
+ void reasoning;
10651
+ return limits.ceiling ?? limits.limit ?? null;
10657
10652
  }
10658
10653
  function buildEngineEnv(boot, configDir, model, opts = {}) {
10659
10654
  const base = sandboxTestEnv();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalequality/cli",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "ScaleQuality CLI. Connect your computer to the ScaleQuality AI Workspace (`scalequality login`), run its coding engine in any folder of your computer, and import your Claude Code and Codex conversations.",
5
5
  "type": "module",
6
6
  "bin": {