@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/cli.js CHANGED
@@ -4474,7 +4474,7 @@ async function buildCloudOrStubResponse(args) {
4474
4474
 
4475
4475
  // src/tools/heal/common-heal.ts
4476
4476
  init_common();
4477
- 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")';
4477
+ 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.";
4478
4478
  var HEAL_GATE_TYPE = "admin-action";
4479
4479
 
4480
4480
  // src/tools/heal/trigger-heal.ts
@@ -4495,7 +4495,7 @@ var inputSchema8 = {
4495
4495
  },
4496
4496
  additionalProperties: false
4497
4497
  };
4498
- 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.";
4498
+ 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.";
4499
4499
  function isToolInput8(v) {
4500
4500
  if (typeof v !== "object" || v === null) return false;
4501
4501
  const o = v;
@@ -4553,7 +4553,7 @@ var inputSchema9 = {
4553
4553
  },
4554
4554
  additionalProperties: false
4555
4555
  };
4556
- 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.";
4556
+ 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.";
4557
4557
  function isToolInput9(v) {
4558
4558
  if (typeof v !== "object" || v === null) return false;
4559
4559
  const o = v;
@@ -4641,7 +4641,7 @@ var inputSchema10 = {
4641
4641
  required: ["attempt_id"],
4642
4642
  additionalProperties: false
4643
4643
  };
4644
- 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.";
4644
+ 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.";
4645
4645
  function isToolInput10(v) {
4646
4646
  if (typeof v !== "object" || v === null) return false;
4647
4647
  const o = v;
@@ -4689,7 +4689,7 @@ var inputSchema11 = {
4689
4689
  required: ["run_id"],
4690
4690
  additionalProperties: false
4691
4691
  };
4692
- 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.";
4692
+ 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.";
4693
4693
  function isToolInput11(v) {
4694
4694
  if (typeof v !== "object" || v === null) return false;
4695
4695
  const o = v;
@@ -4735,7 +4735,7 @@ var inputSchema12 = {
4735
4735
  properties: {},
4736
4736
  additionalProperties: false
4737
4737
  };
4738
- 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.";
4738
+ 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.";
4739
4739
  function isToolInput12(v) {
4740
4740
  if (typeof v !== "object" || v === null) return false;
4741
4741
  return true;
@@ -4762,7 +4762,7 @@ init_common();
4762
4762
 
4763
4763
  // src/tools/pr/common-pr.ts
4764
4764
  init_common();
4765
- 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")';
4765
+ 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.";
4766
4766
  var PR_GATE_TYPE = "admin-action";
4767
4767
 
4768
4768
  // src/tools/pr/list-pending-prs.ts
@@ -4774,7 +4774,7 @@ var inputSchema13 = {
4774
4774
  properties: {},
4775
4775
  additionalProperties: false
4776
4776
  };
4777
- 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.";
4777
+ 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.";
4778
4778
  function isToolInput13(v) {
4779
4779
  return typeof v === "object" && v !== null;
4780
4780
  }
@@ -4811,7 +4811,7 @@ var inputSchema14 = {
4811
4811
  required: ["pr_number"],
4812
4812
  additionalProperties: false
4813
4813
  };
4814
- 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.";
4814
+ 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.";
4815
4815
  function isToolInput14(v) {
4816
4816
  if (typeof v !== "object" || v === null) return false;
4817
4817
  const o = v;
@@ -4856,7 +4856,7 @@ var inputSchema15 = {
4856
4856
  required: ["pr_number"],
4857
4857
  additionalProperties: false
4858
4858
  };
4859
- 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.";
4859
+ 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.";
4860
4860
  function isToolInput15(v) {
4861
4861
  if (typeof v !== "object" || v === null) return false;
4862
4862
  const o = v;
@@ -4895,7 +4895,7 @@ var inputSchema16 = {
4895
4895
  properties: {},
4896
4896
  additionalProperties: false
4897
4897
  };
4898
- 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.";
4898
+ 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.";
4899
4899
  function isToolInput16(v) {
4900
4900
  return typeof v === "object" && v !== null;
4901
4901
  }
@@ -4930,7 +4930,7 @@ var inputSchema17 = {
4930
4930
  required: ["pr_number"],
4931
4931
  additionalProperties: false
4932
4932
  };
4933
- 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.";
4933
+ 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.";
4934
4934
  function isToolInput17(v) {
4935
4935
  if (typeof v !== "object" || v === null) return false;
4936
4936
  const o = v;
@@ -6613,8 +6613,26 @@ var callMetaWithMetrics = createMetaModelCaller();
6613
6613
 
6614
6614
  // src/consensus/consensus-panel.ts
6615
6615
  var VO_MCP_CONSENSUS_PANEL = {
6616
- anthropic: "claude-opus-4-7",
6617
- openai: "gpt-5",
6616
+ // claude-opus-5 (2026-07-24). Opus 4.7 was STRICTLY DOMINATED, not merely old:
6617
+ // Opus 5 is $5/$25 per MTok vs Opus 4.7's $15/$75 — a 3x cost cut on this slot,
6618
+ // corroborated by our own catalog (constants/pricing/sciencePricing.ts prices
6619
+ // claude-opus-5 at 0.010 vs claude-opus-4-7 at 0.030) — AND the same 2026-07-24
6620
+ // release note REMOVED fast mode from Opus 4.7 outright: `speed: "fast"` now
6621
+ // returns an error there rather than degrading, unlike the Opus 4.6 removal.
6622
+ // Verified served: GET /v1/models/claude-opus-5 -> HTTP 200 (2026-07-30).
6623
+ //
6624
+ // Claude-5 API safety checked before this swap: Opus 5 rejects `temperature` /
6625
+ // `top_p` / `top_k` and manual `thinking.budget_tokens` with HTTP 400. Neither
6626
+ // the consensus-engine Anthropic adapter nor functions-shared `callAnthropic`
6627
+ // sends any of them, and buildAdaptiveThinking emits `thinking: {type:'adaptive'}`
6628
+ // (the supported form) — so this swap cannot 400.
6629
+ anthropic: "claude-opus-5",
6630
+ // gpt-5.6-terra (GA 2026-07-09; −20% price cut 2026-07-30). NOTE the real IDs
6631
+ // are tiered — `gpt-5.6-sol` / `-terra` / `-luna`; there is NO bare `gpt-5.6`
6632
+ // alias (verified against the served model list, 2026-07-30). Terra is the
6633
+ // cost/capability balance point and the right default for a judgment panel;
6634
+ // Sol is available if verdict quality ever needs it.
6635
+ openai: "gpt-5.6-terra",
6618
6636
  // gemini-2.5-FLASH (not -pro): flash accepts the default thinkingBudget=0 from
6619
6637
  // callGeminiWithMetrics; 2.5-pro REJECTS budget 0 ("only works in thinking mode").
6620
6638
  // Flash is also ~10x cheaper. 2026-06-02.