@scalequality/cli 0.4.42 → 0.4.43

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
- "sdkVersion": "0.3.281",
3
- "sha256": "bc7fea2010d5967de7e01f566fbdc5acbd4a0164bea90447d73ca8279ebf10cf",
4
- "sourceCommit": "c565e3c0d1c5f1efbfe598b2f4d9e3c17d871d28"
2
+ "sdkVersion": "0.3.312",
3
+ "sha256": "cef6389736265348c15a5110d230166e8656e3271cb3cb6bd96af3ac7b611d89",
4
+ "sourceCommit": "a9bc0cdcc956c40468d7e439878e9ad1098dab14"
5
5
  }
package/dist/connect.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @scalequality/cli connect: built from scalequality-ai-governance-service src/main/workspace-connect.ts. Requires @anthropic-ai/claude-agent-sdk@0.3.281. */
1
+ /* @scalequality/cli connect: built from scalequality-ai-governance-service src/main/workspace-connect.ts. Requires @anthropic-ai/claude-agent-sdk@0.3.312. */
2
2
  "use strict";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -4843,7 +4843,24 @@ async function webFetchDenial(raw, resolve8 = defaultLookup) {
4843
4843
  // src/application/services/workspaceSandbox/toolPolicy.ts
4844
4844
  var SQ_MCP_SERVER = "scalequality";
4845
4845
  var SQ_MCP_PREFIX = `mcp__${SQ_MCP_SERVER}__`;
4846
- var DENIED_TOOLS = ["WebSearch", "RemoteTrigger", "CronCreate", "CronDelete", "CronList", "ScheduleWakeup", "PushNotification", "EnterWorktree", "ExitWorktree", "Artifact", "Workflow", "SendFeedback", "ClaudeDesign", "Projects"];
4846
+ var DENIED_TOOLS = [
4847
+ "WebSearch",
4848
+ "RemoteTrigger",
4849
+ "CronCreate",
4850
+ "CronDelete",
4851
+ "CronList",
4852
+ "ScheduleWakeup",
4853
+ "PushNotification",
4854
+ "EnterWorktree",
4855
+ "ExitWorktree",
4856
+ "Artifact",
4857
+ "Workflow",
4858
+ "SendFeedback",
4859
+ "ClaudeDesign",
4860
+ "Projects",
4861
+ // Claude Code 2.1.312 (Agent SDK 0.3.312) adds it to the tools; this policy has no rule for it, so it never reaches the model.
4862
+ "Monitor"
4863
+ ];
4847
4864
  var READ_TOOLS = { Read: "file_path", Glob: "path", Grep: "path", LS: "path" };
4848
4865
  var WRITE_TOOLS = { Write: "file_path", Edit: "file_path", MultiEdit: "file_path", NotebookEdit: "notebook_path" };
4849
4866
  var IMAGE_TOOL = "generate_image";
@@ -13724,6 +13741,9 @@ var ENGINE_MESSAGES = {
13724
13741
  // The AI Workspace's own credit (gateway BUDGET codes): said as credit, not as a budget the organization set.
13725
13742
  MANAGED_ALLOWANCE_EXHAUSTED: "The AI Workspace credit ran out ({code}).",
13726
13743
  MANAGED_PREPAID_REQUIRED: "This model uses purchased credit, and the purchased credit ran out ({code}).",
13744
+ // The person's own usage limit: waiting for the reset, or purchased credit, continues it.
13745
+ PERSON_LIMIT_REACHED: "You reached your usage limit for this period ({code}).",
13746
+ PERSON_LIMIT_CREDITS_REQUIRED: "You reached your usage limit, and continuing needs purchased credit ({code}).",
13727
13747
  // Files, rewind and hunks.
13728
13748
  DISCARD_FAILED: "The change to that file could not be discarded.",
13729
13749
  DISCARD_REPOSITORY_REQUIRED: "Say which repository the file belongs to.",
@@ -13786,6 +13806,10 @@ var GATEWAY_CODE_CATEGORIES = Object.freeze({
13786
13806
  "MANAGED_PREPAID_REQUIRED"
13787
13807
  ].map((c) => [c, "BUDGET"])),
13788
13808
  PERSON_BUDGET_EXHAUSTED: "PERSON_BUDGET",
13809
+ // The person's usage limit (runtime gateway, migration 069): 402 with no rule in CODE_ERROR_RULES, so the code is the
13810
+ // only thing that says it. Without these the screen told a person past their limit to "send again" (MODEL_UNKNOWN).
13811
+ PERSON_LIMIT_REACHED: "PERSON_BUDGET",
13812
+ PERSON_LIMIT_CREDITS_REQUIRED: "PERSON_BUDGET",
13789
13813
  CONCURRENCY_LIMIT: "CONCURRENCY",
13790
13814
  ORGANIZATION_CONCURRENCY_LIMIT: "CONCURRENCY",
13791
13815
  ...Object.fromEntries([
@@ -19071,6 +19095,12 @@ function buildEngineEnv(boot, configDir, model, opts = {}) {
19071
19095
  DISABLE_AUTOUPDATER: "1",
19072
19096
  DISABLE_GROWTHBOOK: "1",
19073
19097
  CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1",
19098
+ // Claude Code 2.1.312 (Agent SDK 0.3.312) announces betas the gateway refuses (advanced-tool-use with `defer_loading`
19099
+ // on the tools, thinking-display-updates) unless this is set. With it the request is a subset of what 2.1.281
19100
+ // sent: the betas claude-code, interleaved-thinking and effort, and no `context_management` (probed 14/11/2026,
19101
+ // the real CLI against a local Messages API). The version matters to the provider: Anthropic refuses Claude
19102
+ // Fable 5.2 to a client older than 2.1.290 (400 claude_code_version_too_old, production 12 and 13/11/2026).
19103
+ CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1",
19074
19104
  // The task list. Claude Code 2.1.281 replaces TodoWrite with TaskCreate/TaskUpdate unless this is off, and then
19075
19105
  // drops TodoWrite from `tools` without a word (probed 15/10/2026: the model had no list at all). TodoWrite sends
19076
19106
  // the whole list in one call, the list the screen shows.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalequality/cli",
3
- "version": "0.4.42",
3
+ "version": "0.4.43",
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": {
@@ -15,7 +15,7 @@
15
15
  "README.md"
16
16
  ],
17
17
  "dependencies": {
18
- "@anthropic-ai/claude-agent-sdk": "0.3.281",
18
+ "@anthropic-ai/claude-agent-sdk": "0.3.312",
19
19
  "@lydell/node-pty": "1.2.0-beta.15"
20
20
  },
21
21
  "keywords": [