@fro.bot/systematic 3.16.1 → 3.16.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.
package/dist/cli.js CHANGED
@@ -33,7 +33,7 @@ import {
33
33
  findCommandsInDir,
34
34
  findSkillsInDir,
35
35
  discoverSkills
36
- } from "./index-ae6mhwth.js";
36
+ } from "./index-65g87tgr.js";
37
37
  var __defProp = Object.defineProperty;
38
38
  var __returnValue = (v) => v;
39
39
  function __exportSetter(name, newValue) {
@@ -7539,11 +7539,11 @@ var permissionSchema = record(string(), permissionRuleSchema).meta({
7539
7539
  description: "Permission overrides per tool",
7540
7540
  examples: [{ edit: "allow", bash: { curl: "allow", rm: "deny" } }]
7541
7541
  });
7542
- var MODEL_FORMAT_MESSAGE = 'must be in provider/model format (e.g., "anthropic/claude-sonnet-4")';
7542
+ var MODEL_FORMAT_MESSAGE = 'must be in provider/model format (e.g., "anthropic/claude-sonnet-5")';
7543
7543
  var MODEL_FORMAT_REGEX = /^[^\s/]+\/\S+$/;
7544
7544
  var modelSchema = string().min(1).regex(MODEL_FORMAT_REGEX, MODEL_FORMAT_MESSAGE).nullable().meta({
7545
7545
  description: "Model identifier in provider/model format, or null to inherit parent model",
7546
- examples: ["anthropic/claude-sonnet-4", null]
7546
+ examples: ["anthropic/claude-sonnet-5", null]
7547
7547
  });
7548
7548
  var variantSchema = string().min(1).max(128, "variant must be at most 128 characters").regex(/^\S+$/, "must be a non-empty string without whitespace").meta({
7549
7549
  description: "Model variant identifier",
@@ -7618,7 +7618,7 @@ var OpencodeHarnessBlockSchema = object({
7618
7618
  }).strict().meta({
7619
7619
  description: "OpenCode-specific routing block. When present, model/variant here override the flat model/variant fields for OpenCode only; the flat fields remain the harness-neutral default and still apply to Pi. `variant` is bound to whichever layer supplies `model`: it is used only from that layer or a more specific one, and is dropped when a more specific layer sets (or nulls) `model` without repeating the variant. A `variant` with no `model` anywhere in the merged overlay is a config-load error raised by the routing resolver, not a parse-time error.",
7620
7620
  examples: [
7621
- { model: "anthropic/claude-opus-4-7", variant: "v2" },
7621
+ { model: "anthropic/claude-opus-5", variant: "high" },
7622
7622
  { model: null }
7623
7623
  ]
7624
7624
  });
@@ -7628,7 +7628,7 @@ var PiHarnessBlockSchema = object({
7628
7628
  }).strict().meta({
7629
7629
  description: "Pi-specific routing block. When present, model/thinking here override the flat model field and the legacy `pi_subagents.<name>.thinking` value for Pi only; the flat model field remains the harness-neutral default and still applies to OpenCode. Unlike OpenCode's `variant`, `thinking` is independent of `model`: it applies to whatever model the delegate ends up running, including one inherited from the parent session, so `thinking` with no `model` anywhere in the merged overlay is valid and never a config-load error.",
7630
7630
  examples: [
7631
- { model: "anthropic/claude-opus-4-7", thinking: "high" },
7631
+ { model: "anthropic/claude-opus-5", thinking: "high" },
7632
7632
  { model: null }
7633
7633
  ]
7634
7634
  });
@@ -7650,13 +7650,13 @@ var AgentOverlaySchema = object({
7650
7650
  description: "Per-agent configuration overlay",
7651
7651
  examples: [
7652
7652
  {
7653
- model: "anthropic/claude-opus-4-7",
7653
+ model: "anthropic/claude-opus-5",
7654
7654
  temperature: 0.1,
7655
7655
  mode: "subagent"
7656
7656
  },
7657
7657
  {
7658
- opencode: { model: "anthropic/claude-opus-4-7", variant: "v2" },
7659
- pi: { model: "anthropic/claude-opus-4-7", thinking: "high" }
7658
+ opencode: { model: "anthropic/claude-opus-5", variant: "high" },
7659
+ pi: { model: "anthropic/claude-opus-5", thinking: "high" }
7660
7660
  }
7661
7661
  ]
7662
7662
  });
@@ -7676,8 +7676,8 @@ var CategoryOverlaySchema = object({
7676
7676
  }).strict().meta({
7677
7677
  description: "Per-category configuration overlay (same fields as agent minus disable)",
7678
7678
  examples: [
7679
- { model: "anthropic/claude-opus-4-7", temperature: 0.1 },
7680
- { opencode: { variant: "v2" }, pi: { thinking: "high" } }
7679
+ { model: "anthropic/claude-opus-5", temperature: 0.1 },
7680
+ { opencode: { variant: "high" }, pi: { thinking: "high" } }
7681
7681
  ]
7682
7682
  });
7683
7683
  var ProfileOverlaySchema = object({
@@ -7690,8 +7690,8 @@ var ProfileOverlaySchema = object({
7690
7690
  }).strict().meta({
7691
7691
  description: "Routing-only overlay fields permitted inside a named profile bundle entry: model, variant, temperature, top_p, and the opencode/pi harness blocks. Non-routing fields (permission, skills, mode, hidden, disable, steps, color) are rejected.",
7692
7692
  examples: [
7693
- { model: "anthropic/claude-opus-4-7" },
7694
- { opencode: { variant: "v2" }, pi: { thinking: "high" } }
7693
+ { model: "anthropic/claude-opus-5" },
7694
+ { opencode: { variant: "high" }, pi: { thinking: "high" } }
7695
7695
  ]
7696
7696
  });
7697
7697
  function createProfileBundleSchema(agentNames, qualifiedAgentIds) {
@@ -7701,17 +7701,19 @@ function createProfileBundleSchema(agentNames, qualifiedAgentIds) {
7701
7701
  ProfileOverlaySchema.optional()
7702
7702
  ]))).strict().optional().meta({
7703
7703
  description: "Per-agent routing overlays for this profile, keyed by bundled agent name (bare or qualified category/name), using the same routing-only field set as every profile entry. Unknown keys are rejected with a Zod parse error, exactly like the top-level `agents` field.",
7704
- examples: [{ "correctness-reviewer": { model: "openai/gpt-5" } }]
7704
+ examples: [
7705
+ { "correctness-reviewer": { model: "openai/gpt-6-astra" } }
7706
+ ]
7705
7707
  }),
7706
7708
  categories: record(string(), ProfileOverlaySchema).optional().meta({
7707
7709
  description: "Per-category routing overlays for this profile, keyed by category name, using the same routing-only field set as every profile entry.",
7708
- examples: [{ review: { model: "anthropic/claude-opus-4-7" } }]
7710
+ examples: [{ review: { model: "anthropic/claude-opus-5" } }]
7709
7711
  })
7710
7712
  }).strict().meta({
7711
7713
  description: "A named routing-only overlay bundle. Entries under agents/categories have the same shape as the top-level agents/categories overlays, restricted to routing fields.",
7712
7714
  examples: [
7713
7715
  {
7714
- agents: { fixer: { model: "anthropic/claude-opus-4-7" } },
7716
+ agents: { fixer: { model: "anthropic/claude-opus-5" } },
7715
7717
  categories: { review: { pi: { thinking: "high" } } }
7716
7718
  }
7717
7719
  ]
@@ -7810,14 +7812,16 @@ function createSystematicConfigSchema(opts) {
7810
7812
  }),
7811
7813
  categories: record(string(), CategoryOverlaySchema).default({}).meta({
7812
7814
  description: "Per-category configuration overlays keyed by category name",
7813
- examples: [{ review: { model: "anthropic/claude-opus-4-7" } }, {}]
7815
+ examples: [{ review: { model: "anthropic/claude-opus-5" } }, {}]
7814
7816
  }),
7815
7817
  profiles: record(string(), createProfileBundleSchema(agentNames, qualifiedAgentIds)).default({}).meta({
7816
7818
  description: "Named routing-only overlay bundles, selectable by name via the profile field. Only valid in user config or OPENCODE_CONFIG_DIR config \u2014 a project config may select a profile but may not define this field.",
7817
7819
  examples: [
7818
7820
  {
7819
7821
  personal: {
7820
- agents: { "correctness-reviewer": { model: "openai/gpt-5" } }
7822
+ agents: {
7823
+ "correctness-reviewer": { model: "openai/gpt-6-astra" }
7824
+ }
7821
7825
  }
7822
7826
  },
7823
7827
  {}
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  extractCommandFrontmatter,
20
20
  findSkillsInDir,
21
21
  discoverSkills
22
- } from "./index-ae6mhwth.js";
22
+ } from "./index-65g87tgr.js";
23
23
 
24
24
  // src/index.ts
25
25
  import { createHash as createHash4 } from "crypto";
package/dist/pi.js CHANGED
@@ -9217,11 +9217,11 @@ var permissionSchema = record(string2(), permissionRuleSchema).meta({
9217
9217
  description: "Permission overrides per tool",
9218
9218
  examples: [{ edit: "allow", bash: { curl: "allow", rm: "deny" } }]
9219
9219
  });
9220
- var MODEL_FORMAT_MESSAGE = 'must be in provider/model format (e.g., "anthropic/claude-sonnet-4")';
9220
+ var MODEL_FORMAT_MESSAGE = 'must be in provider/model format (e.g., "anthropic/claude-sonnet-5")';
9221
9221
  var MODEL_FORMAT_REGEX = /^[^\s/]+\/\S+$/;
9222
9222
  var modelSchema = string2().min(1).regex(MODEL_FORMAT_REGEX, MODEL_FORMAT_MESSAGE).nullable().meta({
9223
9223
  description: "Model identifier in provider/model format, or null to inherit parent model",
9224
- examples: ["anthropic/claude-sonnet-4", null]
9224
+ examples: ["anthropic/claude-sonnet-5", null]
9225
9225
  });
9226
9226
  var variantSchema = string2().min(1).max(128, "variant must be at most 128 characters").regex(/^\S+$/, "must be a non-empty string without whitespace").meta({
9227
9227
  description: "Model variant identifier",
@@ -9296,7 +9296,7 @@ var OpencodeHarnessBlockSchema = object({
9296
9296
  }).strict().meta({
9297
9297
  description: "OpenCode-specific routing block. When present, model/variant here override the flat model/variant fields for OpenCode only; the flat fields remain the harness-neutral default and still apply to Pi. `variant` is bound to whichever layer supplies `model`: it is used only from that layer or a more specific one, and is dropped when a more specific layer sets (or nulls) `model` without repeating the variant. A `variant` with no `model` anywhere in the merged overlay is a config-load error raised by the routing resolver, not a parse-time error.",
9298
9298
  examples: [
9299
- { model: "anthropic/claude-opus-4-7", variant: "v2" },
9299
+ { model: "anthropic/claude-opus-5", variant: "high" },
9300
9300
  { model: null }
9301
9301
  ]
9302
9302
  });
@@ -9306,7 +9306,7 @@ var PiHarnessBlockSchema = object({
9306
9306
  }).strict().meta({
9307
9307
  description: "Pi-specific routing block. When present, model/thinking here override the flat model field and the legacy `pi_subagents.<name>.thinking` value for Pi only; the flat model field remains the harness-neutral default and still applies to OpenCode. Unlike OpenCode's `variant`, `thinking` is independent of `model`: it applies to whatever model the delegate ends up running, including one inherited from the parent session, so `thinking` with no `model` anywhere in the merged overlay is valid and never a config-load error.",
9308
9308
  examples: [
9309
- { model: "anthropic/claude-opus-4-7", thinking: "high" },
9309
+ { model: "anthropic/claude-opus-5", thinking: "high" },
9310
9310
  { model: null }
9311
9311
  ]
9312
9312
  });
@@ -9328,13 +9328,13 @@ var AgentOverlaySchema = object({
9328
9328
  description: "Per-agent configuration overlay",
9329
9329
  examples: [
9330
9330
  {
9331
- model: "anthropic/claude-opus-4-7",
9331
+ model: "anthropic/claude-opus-5",
9332
9332
  temperature: 0.1,
9333
9333
  mode: "subagent"
9334
9334
  },
9335
9335
  {
9336
- opencode: { model: "anthropic/claude-opus-4-7", variant: "v2" },
9337
- pi: { model: "anthropic/claude-opus-4-7", thinking: "high" }
9336
+ opencode: { model: "anthropic/claude-opus-5", variant: "high" },
9337
+ pi: { model: "anthropic/claude-opus-5", thinking: "high" }
9338
9338
  }
9339
9339
  ]
9340
9340
  });
@@ -9354,8 +9354,8 @@ var CategoryOverlaySchema = object({
9354
9354
  }).strict().meta({
9355
9355
  description: "Per-category configuration overlay (same fields as agent minus disable)",
9356
9356
  examples: [
9357
- { model: "anthropic/claude-opus-4-7", temperature: 0.1 },
9358
- { opencode: { variant: "v2" }, pi: { thinking: "high" } }
9357
+ { model: "anthropic/claude-opus-5", temperature: 0.1 },
9358
+ { opencode: { variant: "high" }, pi: { thinking: "high" } }
9359
9359
  ]
9360
9360
  });
9361
9361
  var ProfileOverlaySchema = object({
@@ -9368,8 +9368,8 @@ var ProfileOverlaySchema = object({
9368
9368
  }).strict().meta({
9369
9369
  description: "Routing-only overlay fields permitted inside a named profile bundle entry: model, variant, temperature, top_p, and the opencode/pi harness blocks. Non-routing fields (permission, skills, mode, hidden, disable, steps, color) are rejected.",
9370
9370
  examples: [
9371
- { model: "anthropic/claude-opus-4-7" },
9372
- { opencode: { variant: "v2" }, pi: { thinking: "high" } }
9371
+ { model: "anthropic/claude-opus-5" },
9372
+ { opencode: { variant: "high" }, pi: { thinking: "high" } }
9373
9373
  ]
9374
9374
  });
9375
9375
  function createProfileBundleSchema(agentNames, qualifiedAgentIds) {
@@ -9379,17 +9379,19 @@ function createProfileBundleSchema(agentNames, qualifiedAgentIds) {
9379
9379
  ProfileOverlaySchema.optional()
9380
9380
  ]))).strict().optional().meta({
9381
9381
  description: "Per-agent routing overlays for this profile, keyed by bundled agent name (bare or qualified category/name), using the same routing-only field set as every profile entry. Unknown keys are rejected with a Zod parse error, exactly like the top-level `agents` field.",
9382
- examples: [{ "correctness-reviewer": { model: "openai/gpt-5" } }]
9382
+ examples: [
9383
+ { "correctness-reviewer": { model: "openai/gpt-6-astra" } }
9384
+ ]
9383
9385
  }),
9384
9386
  categories: record(string2(), ProfileOverlaySchema).optional().meta({
9385
9387
  description: "Per-category routing overlays for this profile, keyed by category name, using the same routing-only field set as every profile entry.",
9386
- examples: [{ review: { model: "anthropic/claude-opus-4-7" } }]
9388
+ examples: [{ review: { model: "anthropic/claude-opus-5" } }]
9387
9389
  })
9388
9390
  }).strict().meta({
9389
9391
  description: "A named routing-only overlay bundle. Entries under agents/categories have the same shape as the top-level agents/categories overlays, restricted to routing fields.",
9390
9392
  examples: [
9391
9393
  {
9392
- agents: { fixer: { model: "anthropic/claude-opus-4-7" } },
9394
+ agents: { fixer: { model: "anthropic/claude-opus-5" } },
9393
9395
  categories: { review: { pi: { thinking: "high" } } }
9394
9396
  }
9395
9397
  ]
@@ -9488,14 +9490,16 @@ function createSystematicConfigSchema(opts) {
9488
9490
  }),
9489
9491
  categories: record(string2(), CategoryOverlaySchema).default({}).meta({
9490
9492
  description: "Per-category configuration overlays keyed by category name",
9491
- examples: [{ review: { model: "anthropic/claude-opus-4-7" } }, {}]
9493
+ examples: [{ review: { model: "anthropic/claude-opus-5" } }, {}]
9492
9494
  }),
9493
9495
  profiles: record(string2(), createProfileBundleSchema(agentNames, qualifiedAgentIds)).default({}).meta({
9494
9496
  description: "Named routing-only overlay bundles, selectable by name via the profile field. Only valid in user config or OPENCODE_CONFIG_DIR config — a project config may select a profile but may not define this field.",
9495
9497
  examples: [
9496
9498
  {
9497
9499
  personal: {
9498
- agents: { "correctness-reviewer": { model: "openai/gpt-5" } }
9500
+ agents: {
9501
+ "correctness-reviewer": { model: "openai/gpt-6-astra" }
9502
+ }
9499
9503
  }
9500
9504
  },
9501
9505
  {}
@@ -659,17 +659,17 @@
659
659
  "description": "Per-agent configuration overlay",
660
660
  "examples": [
661
661
  {
662
- "model": "anthropic/claude-opus-4-7",
662
+ "model": "anthropic/claude-opus-5",
663
663
  "temperature": 0.1,
664
664
  "mode": "subagent"
665
665
  },
666
666
  {
667
667
  "opencode": {
668
- "model": "anthropic/claude-opus-4-7",
669
- "variant": "v2"
668
+ "model": "anthropic/claude-opus-5",
669
+ "variant": "high"
670
670
  },
671
671
  "pi": {
672
- "model": "anthropic/claude-opus-4-7",
672
+ "model": "anthropic/claude-opus-5",
673
673
  "thinking": "high"
674
674
  }
675
675
  }
@@ -698,7 +698,7 @@
698
698
  }
699
699
  ],
700
700
  "description": "Model identifier in provider/model format, or null to inherit parent model",
701
- "examples": ["anthropic/claude-sonnet-4", null]
701
+ "examples": ["anthropic/claude-sonnet-5", null]
702
702
  },
703
703
  "__schema8": {
704
704
  "trust": "project-or-higher",
@@ -932,8 +932,8 @@
932
932
  "description": "OpenCode-specific routing block. When present, model/variant here override the flat model/variant fields for OpenCode only; the flat fields remain the harness-neutral default and still apply to Pi. `variant` is bound to whichever layer supplies `model`: it is used only from that layer or a more specific one, and is dropped when a more specific layer sets (or nulls) `model` without repeating the variant. A `variant` with no `model` anywhere in the merged overlay is a config-load error raised by the routing resolver, not a parse-time error.",
933
933
  "examples": [
934
934
  {
935
- "model": "anthropic/claude-opus-4-7",
936
- "variant": "v2"
935
+ "model": "anthropic/claude-opus-5",
936
+ "variant": "high"
937
937
  },
938
938
  {
939
939
  "model": null
@@ -984,7 +984,7 @@
984
984
  "description": "Pi-specific routing block. When present, model/thinking here override the flat model field and the legacy `pi_subagents.<name>.thinking` value for Pi only; the flat model field remains the harness-neutral default and still applies to OpenCode. Unlike OpenCode's `variant`, `thinking` is independent of `model`: it applies to whatever model the delegate ends up running, including one inherited from the parent session, so `thinking` with no `model` anywhere in the merged overlay is valid and never a config-load error.",
985
985
  "examples": [
986
986
  {
987
- "model": "anthropic/claude-opus-4-7",
987
+ "model": "anthropic/claude-opus-5",
988
988
  "thinking": "high"
989
989
  },
990
990
  {
@@ -998,7 +998,7 @@
998
998
  "examples": [
999
999
  {
1000
1000
  "review": {
1001
- "model": "anthropic/claude-opus-4-7"
1001
+ "model": "anthropic/claude-opus-5"
1002
1002
  }
1003
1003
  },
1004
1004
  {}
@@ -1058,12 +1058,12 @@
1058
1058
  "description": "Per-category configuration overlay (same fields as agent minus disable)",
1059
1059
  "examples": [
1060
1060
  {
1061
- "model": "anthropic/claude-opus-4-7",
1061
+ "model": "anthropic/claude-opus-5",
1062
1062
  "temperature": 0.1
1063
1063
  },
1064
1064
  {
1065
1065
  "opencode": {
1066
- "variant": "v2"
1066
+ "variant": "high"
1067
1067
  },
1068
1068
  "pi": {
1069
1069
  "thinking": "high"
@@ -1172,7 +1172,7 @@
1172
1172
  "personal": {
1173
1173
  "agents": {
1174
1174
  "correctness-reviewer": {
1175
- "model": "openai/gpt-5"
1175
+ "model": "openai/gpt-6-astra"
1176
1176
  }
1177
1177
  }
1178
1178
  }
@@ -1206,7 +1206,7 @@
1206
1206
  {
1207
1207
  "agents": {
1208
1208
  "fixer": {
1209
- "model": "anthropic/claude-opus-4-7"
1209
+ "model": "anthropic/claude-opus-5"
1210
1210
  }
1211
1211
  },
1212
1212
  "categories": {
@@ -1225,7 +1225,7 @@
1225
1225
  "examples": [
1226
1226
  {
1227
1227
  "correctness-reviewer": {
1228
- "model": "openai/gpt-5"
1228
+ "model": "openai/gpt-6-astra"
1229
1229
  }
1230
1230
  }
1231
1231
  ],
@@ -1785,11 +1785,11 @@
1785
1785
  "description": "Routing-only overlay fields permitted inside a named profile bundle entry: model, variant, temperature, top_p, and the opencode/pi harness blocks. Non-routing fields (permission, skills, mode, hidden, disable, steps, color) are rejected.",
1786
1786
  "examples": [
1787
1787
  {
1788
- "model": "anthropic/claude-opus-4-7"
1788
+ "model": "anthropic/claude-opus-5"
1789
1789
  },
1790
1790
  {
1791
1791
  "opencode": {
1792
- "variant": "v2"
1792
+ "variant": "high"
1793
1793
  },
1794
1794
  "pi": {
1795
1795
  "thinking": "high"
@@ -1850,7 +1850,7 @@
1850
1850
  "examples": [
1851
1851
  {
1852
1852
  "review": {
1853
- "model": "anthropic/claude-opus-4-7"
1853
+ "model": "anthropic/claude-opus-5"
1854
1854
  }
1855
1855
  }
1856
1856
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fro.bot/systematic",
3
- "version": "3.16.1",
3
+ "version": "3.16.2",
4
4
  "description": "Compound-engineering loops for OpenCode, Pi, and Claude Code",
5
5
  "type": "module",
6
6
  "homepage": "https://fro.bot/systematic",
@@ -234,9 +234,9 @@ enum ModelTier {
234
234
 
235
235
  var modelId: String {
236
236
  switch self {
237
- case .fast: return "claude-3-haiku-20240307"
238
- case .balanced: return "claude-sonnet-4-20250514"
239
- case .powerful: return "claude-opus-4-20250514"
237
+ case .fast: return "claude-haiku-4-5"
238
+ case .balanced: return "claude-sonnet-5"
239
+ case .powerful: return "claude-opus-5"
240
240
  }
241
241
  }
242
242
  }