@tryvira/mcp 0.1.99 → 0.1.101
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/README.md +1 -1
- package/dist/cli.js +21 -3
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -149,8 +149,8 @@ var coreTools = Object.freeze([
|
|
|
149
149
|
{ name: "retire_program_pointer", description: "Retire the current scoped program pointer with a version fence. Irreversible for the active pointer; requires release.approve permission and explicit human confirmation.", effectful: true, inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, pointerKey: { type: "string", minLength: 1 }, confirm: { type: "boolean", const: true }, expectedVersion: { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER }, reason: { type: "string", minLength: 1, maxLength: 500 } }, required: ["organizationId", "projectId", "environmentId", "pointerKey", "confirm", "expectedVersion", "reason"] } },
|
|
150
150
|
{ name: "resolve_semantic", description: "Resolve input through the governed semantic runtime. Remote inference consumes AI credits for the authorized AI System.", inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, input: { type: "string" }, aiSystemId: { type: "string", minLength: 1 }, requestId: { type: "string", minLength: 1 }, sessionId: { type: "string" }, profile: { type: "object" }, selection: { type: "object" }, candidates: { type: "array", items: { type: "object", additionalProperties: true } }, timeoutMs: { type: "number" } }, required: ["organizationId", "projectId", "environmentId", "input", "aiSystemId"] } },
|
|
151
151
|
{ name: "execute_managed_chat", description: "Run an authorized Vira-managed chat completion. A provider usage receipt is settled before output is returned. This is a billable model operation, not BYOK observation.", effectful: true, inputSchema: { type: "object", additionalProperties: false, properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, organizationUnitId: { type: "string" }, aiSystemId: { type: "string", minLength: 1 }, connectionId: { type: "string", minLength: 1 }, operationId: { type: "string", minLength: 1, maxLength: 200 }, model: { type: "string", minLength: 1, description: "Omit to use the approved scoped default." }, messages: { type: "array", minItems: 1, maxItems: 128, items: { type: "object", additionalProperties: true } }, max_tokens: { type: "integer", minimum: 1, maximum: 8192 } }, required: ["organizationId", "projectId", "environmentId", "aiSystemId", "connectionId", "operationId", "messages"] } },
|
|
152
|
-
{ name: "resolve_task_run", description: "Resolve a scoped TaskRun route without starting execution. Remote inference consumes AI credits for the authorized AI System.", inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, input: { type: "string" }, aiSystemId: { type: "string", minLength: 1 }, requestId: { type: "string", minLength: 1 }, requestedMode: { type: "string", enum: ["AUTO", "SINGLE", "STRATEGY", "COMPOUND", "HYBRID"] }, connectionId: { type: "string", minLength: 1 }, hybridPlan: { type: "array", items: { type: "object", properties: { semanticTaskKey: { type: "string", minLength: 1 }, mode: { type: "string", enum: ["SINGLE", "STRATEGY"] } }, required: ["semanticTaskKey", "mode"], additionalProperties: false } }, intentCount: { type: "integer", minimum: 1, maximum:
|
|
153
|
-
{ name: "start_task_run", description: "Start a TaskRun from a natural-language request. The server requires an authorized AI System and derives the actor, host capabilities, mode and released plan; requestedMode and plan fields are advanced overrides only.", effectful: true, inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, aiSystemId: { type: "string" }, taskRunId: { type: "string" }, requestId: { type: "string" }, ownerActorRef: { type: "string" }, input: { type: "string" }, requestedMode: { type: "string", enum: ["AUTO", "SINGLE", "STRATEGY", "COMPOUND", "HYBRID"] }, connectionId: { type: "string", minLength: 1 }, compoundPlanId: { type: "string", minLength: 1 }, hybridPlan: { type: "array", items: { type: "object", properties: { semanticTaskKey: { type: "string", minLength: 1 }, mode: { type: "string", enum: ["SINGLE", "STRATEGY"] } }, required: ["semanticTaskKey", "mode"], additionalProperties: false } }, conversationId: { type: "string" }, episodeId: { type: "string" }, traceRootRef: { type: "string" }, budget: { type: "object", properties: { maxChildren: { type: "integer", minimum: 1, maximum:
|
|
152
|
+
{ name: "resolve_task_run", description: "Resolve a scoped TaskRun route without starting execution. Remote inference consumes AI credits for the authorized AI System.", inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, input: { type: "string" }, aiSystemId: { type: "string", minLength: 1 }, requestId: { type: "string", minLength: 1 }, requestedMode: { type: "string", enum: ["AUTO", "SINGLE", "STRATEGY", "COMPOUND", "HYBRID"] }, connectionId: { type: "string", minLength: 1 }, hybridPlan: { type: "array", items: { type: "object", properties: { semanticTaskKey: { type: "string", minLength: 1 }, mode: { type: "string", enum: ["SINGLE", "STRATEGY"] } }, required: ["semanticTaskKey", "mode"], additionalProperties: false } }, intentCount: { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER }, hostCapabilities: { type: "array", items: { type: "string" } } }, required: ["organizationId", "projectId", "environmentId", "input", "aiSystemId"] } },
|
|
153
|
+
{ name: "start_task_run", description: "Start a TaskRun from a natural-language request. The server requires an authorized AI System and derives the actor, host capabilities, mode and released plan; requestedMode and plan fields are advanced overrides only.", effectful: true, inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, aiSystemId: { type: "string" }, taskRunId: { type: "string" }, requestId: { type: "string" }, ownerActorRef: { type: "string" }, input: { type: "string" }, requestedMode: { type: "string", enum: ["AUTO", "SINGLE", "STRATEGY", "COMPOUND", "HYBRID"] }, connectionId: { type: "string", minLength: 1 }, compoundPlanId: { type: "string", minLength: 1 }, hybridPlan: { type: "array", items: { type: "object", properties: { semanticTaskKey: { type: "string", minLength: 1 }, mode: { type: "string", enum: ["SINGLE", "STRATEGY"] } }, required: ["semanticTaskKey", "mode"], additionalProperties: false } }, conversationId: { type: "string" }, episodeId: { type: "string" }, traceRootRef: { type: "string" }, budget: { type: "object", properties: { maxChildren: { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER }, maxCalls: { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER }, maxLatencyMs: { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER }, maxCostMicros: { type: "integer", minimum: 1, maximum: Number.MAX_SAFE_INTEGER } }, additionalProperties: false }, hostCapabilities: { type: "array", items: { type: "string" } } }, required: ["organizationId", "projectId", "environmentId", "aiSystemId", "input"] } },
|
|
154
154
|
{ name: "list_compound_task_plans", description: "List persisted compound execution plans for the authenticated organization, project, and environment with bounded cursor pagination.", inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, limit: { type: "number" }, cursor: { type: "string" } }, required: ["organizationId", "projectId", "environmentId"] } },
|
|
155
155
|
{ name: "save_compound_task_plan", description: "Persist a validated immutable compound execution plan in the authenticated scope. This writes a plan but does not execute it.", effectful: true, inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, plan: { type: "object", additionalProperties: true }, idempotencyKey: { type: "string" } }, required: ["organizationId", "projectId", "environmentId", "plan"] } },
|
|
156
156
|
{ name: "get_compound_task_plan", description: "Read one persisted compound execution plan in the authenticated organization, project, and environment.", inputSchema: { type: "object", properties: { organizationId: { type: "string" }, projectId: { type: "string" }, environmentId: { type: "string" }, planId: { type: "string" } }, required: ["organizationId", "projectId", "environmentId", "planId"] } },
|
|
@@ -589,6 +589,7 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
589
589
|
"GET /v1/ai-systems/{systemId}/ownership-transfer/readiness",
|
|
590
590
|
"GET /v1/ai-systems/{systemId}/unit-grants",
|
|
591
591
|
"GET /v1/behavior-improvement-proposals/{proposalId}",
|
|
592
|
+
"GET /v1/behavior-improvement-proposals/{proposalId}/native-draft-history",
|
|
592
593
|
"GET /v1/behavior-points",
|
|
593
594
|
"GET /v1/behavior-policy-bindings/current",
|
|
594
595
|
"GET /v1/behavior-policy-sources",
|
|
@@ -609,6 +610,7 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
609
610
|
"GET /v1/connections/{connectionId}/health",
|
|
610
611
|
"GET /v1/discovery/candidates",
|
|
611
612
|
"GET /v1/evaluations",
|
|
613
|
+
"GET /v1/evaluations/native-revision-source/{candidatePackId}",
|
|
612
614
|
"GET /v1/evaluations/{evaluationId}",
|
|
613
615
|
"GET /v1/jobs/{jobId}",
|
|
614
616
|
"GET /v1/notification-destinations",
|
|
@@ -631,6 +633,8 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
631
633
|
"GET /v1/runtime/traces/search",
|
|
632
634
|
"GET /v1/semantic-tasks",
|
|
633
635
|
"GET /v1/signals/mappings/{id}",
|
|
636
|
+
"GET /v1/task-runs",
|
|
637
|
+
"GET /v1/task-runs/strategy-connections/options",
|
|
634
638
|
"GET /v1/task-runs/{taskRunId}",
|
|
635
639
|
"GET /v1/task-runs/{taskRunId}/events",
|
|
636
640
|
"GET /v1/task-runs/{taskRunId}/evidence",
|
|
@@ -655,6 +659,7 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
655
659
|
"POST /v1/ai-systems/{systemId}/clone-cutover/route/live/rollback/accept",
|
|
656
660
|
"POST /v1/ai-systems/{systemId}/clone-cutover/route/probe",
|
|
657
661
|
"POST /v1/ai-systems/{systemId}/clone-cutover/route/reconcile/host",
|
|
662
|
+
"POST /v1/ai-systems/{systemId}/clone-cutover/route/reconcile/host-candidates",
|
|
658
663
|
"POST /v1/ai-systems/{systemId}/clone-cutover/route/reconcile/probe-release",
|
|
659
664
|
"POST /v1/ai-systems/{systemId}/clone-cutover/route/stage",
|
|
660
665
|
"POST /v1/ai-systems/{systemId}/clone-cutover/route/withdraw",
|
|
@@ -663,6 +668,8 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
663
668
|
"POST /v1/ai-systems/{systemId}/ownership-transfer/commit",
|
|
664
669
|
"POST /v1/ai-systems/{systemId}/unit-grants",
|
|
665
670
|
"POST /v1/behavior-improvement-proposals/{proposalId}",
|
|
671
|
+
"POST /v1/behavior-improvement-proposals/{proposalId}/native-draft-apply",
|
|
672
|
+
"POST /v1/behavior-improvement-proposals/{proposalId}/native-draft-preview",
|
|
666
673
|
"POST /v1/behavior-points",
|
|
667
674
|
"POST /v1/behavior-policy-bindings/commit",
|
|
668
675
|
"POST /v1/behavior-policy-bindings/commit-wide",
|
|
@@ -685,7 +692,11 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
685
692
|
"POST /v1/discovery/candidates/{kind}/{key}/review",
|
|
686
693
|
"POST /v1/evaluation-plans",
|
|
687
694
|
"POST /v1/evaluations",
|
|
695
|
+
"POST /v1/evaluations/native-revision-comparison",
|
|
696
|
+
"POST /v1/evaluations/policy-preview",
|
|
697
|
+
"POST /v1/evaluations/policy-scenarios",
|
|
688
698
|
"POST /v1/evaluations/{evaluationId}/improvement-proposal",
|
|
699
|
+
"POST /v1/evaluations/{evaluationId}/teach-feedback",
|
|
689
700
|
"POST /v1/model-serving/resolve",
|
|
690
701
|
"POST /v1/model-serving/traces",
|
|
691
702
|
"POST /v1/notification-destinations",
|
|
@@ -694,8 +705,14 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
694
705
|
"POST /v1/observations",
|
|
695
706
|
"POST /v1/observations/batch",
|
|
696
707
|
"POST /v1/observations/sdk",
|
|
708
|
+
"POST /v1/optimization/dataset-freeze",
|
|
709
|
+
"POST /v1/optimization/dataset-options",
|
|
697
710
|
"POST /v1/optimization/execute",
|
|
711
|
+
"POST /v1/optimization/execute-frozen",
|
|
712
|
+
"POST /v1/optimization/prepare-frozen",
|
|
698
713
|
"POST /v1/optimization/runs/{runId}/cancel",
|
|
714
|
+
"POST /v1/optimization/target-options",
|
|
715
|
+
"POST /v1/optimization/target-preview",
|
|
699
716
|
"POST /v1/organization-units",
|
|
700
717
|
"POST /v1/organization-units/{unitId}/archive",
|
|
701
718
|
"POST /v1/organization-units/{unitId}/archive-preview",
|
|
@@ -733,6 +750,7 @@ var REGISTERED_MCP_CONTROL_OPERATIONS = Object.freeze([
|
|
|
733
750
|
"POST /v1/task-runs/resolve",
|
|
734
751
|
"POST /v1/task-runs/{taskRunId}/cancel",
|
|
735
752
|
"POST /v1/task-runs/{taskRunId}/continue",
|
|
753
|
+
"POST /v1/task-runs/{taskRunId}/retry",
|
|
736
754
|
"POST /v1/teach/analyses",
|
|
737
755
|
"POST /v1/teach/conversations",
|
|
738
756
|
"POST /v1/teach/conversations/import",
|
|
@@ -1164,7 +1182,7 @@ var authorize = async (tool, args) => {
|
|
|
1164
1182
|
})).body;
|
|
1165
1183
|
assertMcpAuthorityDecisionReceipt(decision);
|
|
1166
1184
|
};
|
|
1167
|
-
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira", version: "0.1.
|
|
1185
|
+
var server = new McpServer({ name: process.env.VIRA_MCP_SERVER_NAME ?? "vira", version: "0.1.101" }, { capabilities: { tools: {} } });
|
|
1168
1186
|
var stdioObserver = createMcpStderrObserver(process.env.VIRA_MCP_LOCAL_DIAGNOSTICS === "true");
|
|
1169
1187
|
for (const tool of tools) {
|
|
1170
1188
|
server.registerTool(tool.name, { description: tool.description, inputSchema: tool.inputSchema, outputSchema: z.fromJSONSchema(MCP_PUBLIC_TOOL_CATALOG.find((item) => item.name === tool.name).outputSchema), annotations: tool.annotations }, async (raw) => observeMcpStdioCall(stdioObserver, async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryvira/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.101",
|
|
4
4
|
"mcpName": "io.github.hrpering/vira",
|
|
5
5
|
"description": "Vira MCP client and npx-ready JSON-RPC launcher.",
|
|
6
6
|
"keywords": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@modelcontextprotocol/server": "^2.4.0",
|
|
46
|
-
"@tryvira/sdk": "^0.1.
|
|
46
|
+
"@tryvira/sdk": "^0.1.104",
|
|
47
47
|
"zod": "^4.2.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|