@algosuite/vo-mcp 0.2.0-beta.25 → 0.2.0-beta.26

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/index.js CHANGED
@@ -3940,7 +3940,7 @@ async function buildCloudOrStubResponse(args) {
3940
3940
  }
3941
3941
 
3942
3942
  // src/tools/heal/common-heal.ts
3943
- var HEAL_STUB_REASON = 'cloud-mode not yet wired; tool surface is live, admin-callable wiring pending vo-cloud-tenant-model dispatch (see packages/vo-mcp/src/modes/cloud.ts + EXTRACTION_AUDIT.md "Stub remaining")';
3943
+ var HEAL_STUB_REASON = "cloud mode is not configured on this session, so the admin callable was not reached. The wiring exists (see buildCloudOrStubResponse); sign in with `vo-mcp login` to route this tool to the control plane. Note that /api/v1/admin/* additionally requires a founding-operator credential.";
3944
3944
  var HEAL_GATE_TYPE = "admin-action";
3945
3945
 
3946
3946
  // src/tools/heal/trigger-heal.ts
@@ -3961,7 +3961,7 @@ var inputSchema8 = {
3961
3961
  },
3962
3962
  additionalProperties: false
3963
3963
  };
3964
- var description8 = "Triggers a self-heal pass against open PRs. Optionally scope to a `focus_page` (priority queue for one tester) or omit to fire the auto-process queue. Wraps the `voTriggerHeal` admin Cloud Function. V1 stub: returns `verdict: 'unimplemented'` with structured normalized_input \u2014 cloud-mode wiring is pending. The contract is locked; consumers can call this tool today and get the correct surface without working execution.";
3964
+ var description8 = "Triggers a self-heal pass against open PRs. Optionally scope to a `focus_page` (priority queue for one tester) or omit to fire the auto-process queue. Wraps the `voTriggerHeal` admin Cloud Function. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope with structured normalized_input when cloud mode is not configured.";
3965
3965
  function isToolInput8(v) {
3966
3966
  if (typeof v !== "object" || v === null) return false;
3967
3967
  const o = v;
@@ -4018,7 +4018,7 @@ var inputSchema9 = {
4018
4018
  },
4019
4019
  additionalProperties: false
4020
4020
  };
4021
- var description9 = "Retries one or more failed fix attempts by id. Pass `attempt_id` for the single case or `attempt_ids` (up to 50) for the batch case. Wraps `voRetryFixAttempt` / `voRetryFixAttempts` admin Cloud Functions. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4021
+ var description9 = "Retries one or more failed fix attempts by id. Pass `attempt_id` for the single case or `attempt_ids` (up to 50) for the batch case. Wraps `voRetryFixAttempt` / `voRetryFixAttempts` admin Cloud Functions. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4022
4022
  function isToolInput9(v) {
4023
4023
  if (typeof v !== "object" || v === null) return false;
4024
4024
  const o = v;
@@ -4105,7 +4105,7 @@ var inputSchema10 = {
4105
4105
  required: ["attempt_id"],
4106
4106
  additionalProperties: false
4107
4107
  };
4108
- var description10 = "Clears (cancels) a single fix attempt by id. Wraps `voClearFixAttempt` admin Cloud Function. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4108
+ var description10 = "Clears (cancels) a single fix attempt by id. Wraps `voClearFixAttempt` admin Cloud Function. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4109
4109
  function isToolInput10(v) {
4110
4110
  if (typeof v !== "object" || v === null) return false;
4111
4111
  const o = v;
@@ -4152,7 +4152,7 @@ var inputSchema11 = {
4152
4152
  required: ["run_id"],
4153
4153
  additionalProperties: false
4154
4154
  };
4155
- var description11 = "Cancels a running GitHub Actions workflow by run id. Wraps `voStopWorkflow` admin Cloud Function. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4155
+ var description11 = "Cancels a running GitHub Actions workflow by run id. Wraps `voStopWorkflow` admin Cloud Function. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4156
4156
  function isToolInput11(v) {
4157
4157
  if (typeof v !== "object" || v === null) return false;
4158
4158
  const o = v;
@@ -4197,7 +4197,7 @@ var inputSchema12 = {
4197
4197
  properties: {},
4198
4198
  additionalProperties: false
4199
4199
  };
4200
- var description12 = "Returns the current Command Center workflow-runs snapshot (Heal, Manager, Auto-Merge, Deploy on Merge, etc.). Wraps `voGetWorkflowRuns` admin Cloud Function. Read-only diagnostic. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4200
+ var description12 = "Returns the current Command Center workflow-runs snapshot (Heal, Manager, Auto-Merge, Deploy on Merge, etc.). Wraps `voGetWorkflowRuns` admin Cloud Function. Read-only diagnostic. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4201
4201
  function isToolInput12(v) {
4202
4202
  if (typeof v !== "object" || v === null) return false;
4203
4203
  return true;
@@ -4220,7 +4220,7 @@ async function handleGetWorkflowRuns(deps, rawInput, _signal) {
4220
4220
  }
4221
4221
 
4222
4222
  // src/tools/pr/common-pr.ts
4223
- var PR_STUB_REASON = 'cloud-mode not yet wired; tool surface is live, admin-callable wiring pending vo-cloud-tenant-model dispatch (see packages/vo-mcp/src/modes/cloud.ts + EXTRACTION_AUDIT.md "Stub remaining")';
4223
+ var PR_STUB_REASON = "cloud mode is not configured on this session, so the admin callable was not reached. The wiring exists (see buildCloudOrStubResponse); sign in with `vo-mcp login` to route this tool to the control plane. Note that /api/v1/admin/* additionally requires a founding-operator credential.";
4224
4224
  var PR_GATE_TYPE = "admin-action";
4225
4225
 
4226
4226
  // src/tools/pr/list-pending-prs.ts
@@ -4232,7 +4232,7 @@ var inputSchema13 = {
4232
4232
  properties: {},
4233
4233
  additionalProperties: false
4234
4234
  };
4235
- var description13 = "Lists open AlgoHQ-source pull requests with blocker / source / tester / specialist-context metadata. Read-only diagnostic for Command Center reads. Wraps `voListPendingPRs` admin Cloud Function. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4235
+ var description13 = "Lists open AlgoHQ-source pull requests with blocker / source / tester / specialist-context metadata. Read-only diagnostic for Command Center reads. Wraps `voListPendingPRs` admin Cloud Function. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4236
4236
  function isToolInput13(v) {
4237
4237
  return typeof v === "object" && v !== null;
4238
4238
  }
@@ -4268,7 +4268,7 @@ var inputSchema14 = {
4268
4268
  required: ["pr_number"],
4269
4269
  additionalProperties: false
4270
4270
  };
4271
- var description14 = "Approves + merges a single AlgoHQ-source pull request by number. Wraps `voMergePR` admin Cloud Function (server-side refuses non-AlgoHQ PRs with permission-denied). V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4271
+ var description14 = "Approves + merges a single AlgoHQ-source pull request by number. Wraps `voMergePR` admin Cloud Function (server-side refuses non-AlgoHQ PRs with permission-denied). Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4272
4272
  function isToolInput14(v) {
4273
4273
  if (typeof v !== "object" || v === null) return false;
4274
4274
  const o = v;
@@ -4312,7 +4312,7 @@ var inputSchema15 = {
4312
4312
  required: ["pr_number"],
4313
4313
  additionalProperties: false
4314
4314
  };
4315
- var description15 = "Closes a pull request without merging. No retry dispatched \u2014 use `vo_reject_and_retry` for close+retry. Wraps `voRejectPR` admin Cloud Function. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4315
+ var description15 = "Closes a pull request without merging. No retry dispatched \u2014 use `vo_reject_and_retry` for close+retry. Wraps `voRejectPR` admin Cloud Function. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4316
4316
  function isToolInput15(v) {
4317
4317
  if (typeof v !== "object" || v === null) return false;
4318
4318
  const o = v;
@@ -4350,7 +4350,7 @@ var inputSchema16 = {
4350
4350
  properties: {},
4351
4351
  additionalProperties: false
4352
4352
  };
4353
- var description16 = "Iterates all open AlgoHQ-source pull requests and merges (or arms auto-merge) on each. Returns counts of merged / accepted / total plus per-PR results. Wraps `voApproveAllFixes` admin Cloud Function. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4353
+ var description16 = "Iterates all open AlgoHQ-source pull requests and merges (or arms auto-merge) on each. Returns counts of merged / accepted / total plus per-PR results. Wraps `voApproveAllFixes` admin Cloud Function. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4354
4354
  function isToolInput16(v) {
4355
4355
  return typeof v === "object" && v !== null;
4356
4356
  }
@@ -4384,7 +4384,7 @@ var inputSchema17 = {
4384
4384
  required: ["pr_number"],
4385
4385
  additionalProperties: false
4386
4386
  };
4387
- var description17 = "Closes an AlgoHQ pull request and dispatches a self-heal pass to retry the same focus page. Cloud callable refuses non-AlgoHQ PRs and respects the self-heal kill switch + per-PR retry block. Wraps `voRejectAndRetry` admin Cloud Function. V1 stub: returns `verdict: 'unimplemented'` \u2014 cloud-mode wiring pending.";
4387
+ var description17 = "Closes an AlgoHQ pull request and dispatches a self-heal pass to retry the same focus page. Cloud callable refuses non-AlgoHQ PRs and respects the self-heal kill switch + per-PR retry block. Wraps `voRejectAndRetry` admin Cloud Function. Requires a founding-operator credential: the control plane's scoped-operator gate refuses `/api/v1/admin/*` for tenant-scoped accounts, which receive HTTP 403 `scoped_operator_forbidden`. Falls back to a clearly-marked `unimplemented` envelope when cloud mode is not configured.";
4388
4388
  function isToolInput17(v) {
4389
4389
  if (typeof v !== "object" || v === null) return false;
4390
4390
  const o = v;
@@ -6271,8 +6271,26 @@ var callMetaWithMetrics = createMetaModelCaller();
6271
6271
 
6272
6272
  // src/consensus/consensus-panel.ts
6273
6273
  var VO_MCP_CONSENSUS_PANEL = {
6274
- anthropic: "claude-opus-4-7",
6275
- openai: "gpt-5",
6274
+ // claude-opus-5 (2026-07-24). Opus 4.7 was STRICTLY DOMINATED, not merely old:
6275
+ // Opus 5 is $5/$25 per MTok vs Opus 4.7's $15/$75 — a 3x cost cut on this slot,
6276
+ // corroborated by our own catalog (constants/pricing/sciencePricing.ts prices
6277
+ // claude-opus-5 at 0.010 vs claude-opus-4-7 at 0.030) — AND the same 2026-07-24
6278
+ // release note REMOVED fast mode from Opus 4.7 outright: `speed: "fast"` now
6279
+ // returns an error there rather than degrading, unlike the Opus 4.6 removal.
6280
+ // Verified served: GET /v1/models/claude-opus-5 -> HTTP 200 (2026-07-30).
6281
+ //
6282
+ // Claude-5 API safety checked before this swap: Opus 5 rejects `temperature` /
6283
+ // `top_p` / `top_k` and manual `thinking.budget_tokens` with HTTP 400. Neither
6284
+ // the consensus-engine Anthropic adapter nor functions-shared `callAnthropic`
6285
+ // sends any of them, and buildAdaptiveThinking emits `thinking: {type:'adaptive'}`
6286
+ // (the supported form) — so this swap cannot 400.
6287
+ anthropic: "claude-opus-5",
6288
+ // gpt-5.6-terra (GA 2026-07-09; −20% price cut 2026-07-30). NOTE the real IDs
6289
+ // are tiered — `gpt-5.6-sol` / `-terra` / `-luna`; there is NO bare `gpt-5.6`
6290
+ // alias (verified against the served model list, 2026-07-30). Terra is the
6291
+ // cost/capability balance point and the right default for a judgment panel;
6292
+ // Sol is available if verdict quality ever needs it.
6293
+ openai: "gpt-5.6-terra",
6276
6294
  // gemini-2.5-FLASH (not -pro): flash accepts the default thinkingBudget=0 from
6277
6295
  // callGeminiWithMetrics; 2.5-pro REJECTS budget 0 ("only works in thinking mode").
6278
6296
  // Flash is also ~10x cheaper. 2026-06-02.