@workit-dev/mcp 2.13.0 → 2.14.0

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.js +23 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -17890,7 +17890,7 @@ var workspaceConfigSchema = object({
17890
17890
  fanout: object({
17891
17891
  tierModels: unknown().optional().describe("The model per slice TIER (mundane, standard, hard), as one name or per host.")
17892
17892
  }).passthrough().optional().describe("Fanout settings."),
17893
- models: object({ roles: modelRoles }).passthrough().optional().describe("Model and effort per role and host (roles), the lead's own advisory model (lead) and whether a model the lead names on a spawn wins (allowLeadOverride, default false); the same key at the top of workspaces.json is the global default."),
17893
+ models: object({ roles: modelRoles }).passthrough().optional().describe("Model and effort per role and host (roles), the lead's own advisory model (lead), how a role model applies (enforce: advise, the default, or strict) and, under strict, whether a model the lead names on a spawn wins (allowLeadOverride, default false); the same key at the top of workspaces.json is the global default."),
17894
17894
  resources: unknown().optional().describe("Heavy-check limits on this machine: slots, scope, heavy, light, memoryMax, cpuQuota, wait."),
17895
17895
  remotes: array(nonBlank.refine((pattern) => remotePattern(pattern) !== null, "is not a remote URL (https://host/owner/repo, git@host:owner/repo, a path, or owner/*)")).optional().describe("Remote URLs this entry owns: a checkout pushing to or opening PRs on one never exceeds this entry's grants, wherever the folder is (`owner/*` claims a whole owner). Only the user changes it, in their own terminal."),
17896
17896
  autonomy: object(Object.fromEntries(["push", "pr", "merge", "release", "rerun"].map((kind) => [
@@ -17928,7 +17928,7 @@ var workspaceConfigSchema = object({
17928
17928
  });
17929
17929
  var workspacesFileSchema = object({
17930
17930
  workspaces: array(workspaceConfigSchema).optional().describe("Workspace entries, each mapping a path glob to its forge, policies and grants."),
17931
- models: object({ roles: modelRoles }).passthrough().optional().describe("The global default model and effort per role and host (roles), the lead's own advisory model (lead) and whether a model the lead names on a spawn wins (allowLeadOverride, default false).")
17931
+ models: object({ roles: modelRoles }).passthrough().optional().describe("The global default model and effort per role and host (roles), the lead's own advisory model (lead), how a role model applies (enforce: advise, the default, or strict) and, under strict, whether a model the lead names on a spawn wins (allowLeadOverride, default false).")
17932
17932
  }).passthrough().superRefine((file, context) => {
17933
17933
  const names = new Set;
17934
17934
  for (const [index, workspace] of (file.workspaces ?? []).entries()) {
@@ -25943,18 +25943,33 @@ var HOST_KEYS = new Set([
25943
25943
  "pi",
25944
25944
  "default"
25945
25945
  ]);
25946
+ var CLAUDE_AGENT_FILES = {
25947
+ decider: { model: "fable", effort: "high" },
25948
+ implementer: { model: "sonnet" },
25949
+ verifier: { model: "sonnet" },
25950
+ reviewer: { model: "opus" },
25951
+ babysit: { model: "haiku" }
25952
+ };
25953
+ var BUILT_IN_CLAUDE_CODE = {
25954
+ ...CLAUDE_AGENT_FILES,
25955
+ "implementer.hard": { model: "opus" },
25956
+ "implementer.standard": { model: "sonnet" },
25957
+ "implementer.mundane": { model: "haiku" }
25958
+ };
25959
+ var FILE_ROLES = new Set(["decider", "verifier", "reviewer", "babysit"]);
25946
25960
  var CLAUDE_ALIASES = new Set(["sonnet", "opus", "haiku", "fable"]);
25947
25961
  var CLAUDE_EFFORTS = new Set(["low", "medium", "high", "xhigh", "max"]);
25948
25962
  var CLAUDE_SPAWNS = [
25949
- ...["hard", "standard", "mundane"].map((tier) => ({
25950
- label: tier === "hard" ? "workit:implementer hard" : tier,
25963
+ ...MODEL_TIERS.map((tier) => ({
25964
+ label: `workit:implementer ${tier}`,
25951
25965
  selector: { role: "implementer", tier }
25952
25966
  })),
25953
- { label: "workit:verifier", selector: { role: "verifier" } },
25954
- { label: "workit:reviewer", selector: { role: "reviewer" } },
25967
+ ...["verifier", "reviewer", "decider"].map((role) => ({
25968
+ label: `workit:${role}`,
25969
+ selector: { role }
25970
+ })),
25971
+ { label: "workit:babysitter", selector: { role: "babysit" } },
25955
25972
  { label: "Explore", selector: { role: "explore" } },
25956
- { label: "ROLE: decider", selector: { role: "decider" } },
25957
- { label: "ROLE: babysit", selector: { role: "babysit" } },
25958
25973
  { label: "general-purpose", selector: { role: "default" } }
25959
25974
  ];
25960
25975
  var ROLE_SELECTORS = MODEL_ROLES.flatMap((role) => role === "implementer" ? MODEL_TIERS.map((tier) => ({ role, tier })) : [{ role }]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/mcp",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
4
4
  "private": false,
5
5
  "description": "Workit shared MCP transport for the eight task and policy operation families",
6
6
  "keywords": [
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@modelcontextprotocol/sdk": "1.32.0",
47
- "@workit-dev/core": "^2.13.0",
47
+ "@workit-dev/core": "^2.14.0",
48
48
  "zod": "4.6.5"
49
49
  },
50
50
  "engines": {