@tryvira/mcp 0.1.69 → 0.1.71

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/cli.js +14 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -15,7 +15,7 @@ var add = (names, authority) => names.forEach((name) => {
15
15
  });
16
16
  var generatedReadTools = ["list_strategy_executions", "search_runtime_traces", "get_ai_system", "list_system_connections", "list_inventory", "get_connection", "get_connection_health", "list_teach_analyses", "get_teach_analysis", "get_evaluation", "list_conversation_archive", "list_teach_runs", "get_teach_run_recommendation", "get_improvement_proposal", "list_compound_task_plans", "get_compound_task_plan", "get_behavior_program"];
17
17
  add(generatedReadTools, read());
18
- add(["get_scope", "list_capabilities", "get_job", "list_inbox", "get_conflict_inspection", "get_optimization_run", "list_semantic_tasks", "list_behavior_points", "list_behavior_programs", "list_behavior_strategies", "get_behavior_strategy", "get_behavior_program", "get_task_run", "list_task_run_events", "get_strategy_execution", "get_strategy_execution_trace", "list_ai_systems", "get_ai_system", "list_system_connections", "get_connection", "get_connection_health", "list_inventory", "list_connection_inventory", "list_discovery_candidates", "get_signal_mapping", "get_pack_revision", "get_pack_revision_diff", "list_packs", "diagnose_pack", "get_teach_analysis", "get_teach_run_recommendation", "get_evaluation", "get_evaluation_comparison", "get_evaluation_plan", "get_improvement_proposal", "search_runtime_traces"], read());
18
+ add(["get_scope", "list_capabilities", "get_job", "list_inbox", "get_conflict_inspection", "get_optimization_run", "list_semantic_tasks", "list_behavior_points", "list_behavior_programs", "list_behavior_strategies", "get_behavior_strategy", "get_behavior_program", "get_task_run", "list_task_run_events", "get_strategy_execution", "get_strategy_execution_trace", "list_ai_systems", "get_ai_system", "list_system_connections", "get_connection", "get_connection_health", "list_inventory", "list_connection_inventory", "list_discovery_candidates", "get_signal_mapping", "get_pack_revision", "get_pack_revision_diff", "list_packs", "get_pack", "diagnose_pack", "list_evaluations", "get_teach_analysis", "get_teach_run_recommendation", "get_evaluation", "get_evaluation_comparison", "get_evaluation_plan", "get_improvement_proposal", "search_runtime_traces"], read());
19
19
  add(["connect_ai_system", "observe", "record_user_feedback", "record_business_outcome"], effectful("integration.write", "server", ["studio.write", "admin"]));
20
20
  add(["mark_inbox_read"], effectful("teach.write", "server", ["studio.write", "admin"]));
21
21
  add(["inspect_conflicts", "resolve_conflict"], effectful("behavior.write", "server", ["studio.write", "admin", "release.approve"]));
@@ -213,6 +213,8 @@ var fullTools = [
213
213
  return client.createTeachProposal(proposal, { idempotencyKey });
214
214
  } },
215
215
  { name: "list_packs", description: "List Behavior Packs with bounded cursor pagination.", inputSchema: input(pageFields), run: (args) => listFromApi("/v1/packs", args) },
216
+ { name: "get_pack", description: "Read one scoped Behavior Pack including its manifest and materialization metadata.", inputSchema: input({ packId: z.string().min(1) }), run: (args) => client.getPack(String(args.packId)) },
217
+ { name: "list_evaluations", description: "List scoped evaluations with bounded pagination and optional status filter.", inputSchema: input({ ...pageFields, status: z.string().optional() }), run: (args) => client.listEvaluations(args) },
216
218
  { name: "import_pack", description: "Import a versioned Pack draft; release remains separately governed.", inputSchema: importPackSchema, effectful: true, run: (args) => client.importPack(args) },
217
219
  { name: "install_pack", description: "Install and materialize an approved Pack using direct variables.", inputSchema: input({ packId: z.string().min(1), variables: z.record(z.string(), z.unknown()).optional() }), effectful: true, run: (args) => client.installPack(String(args.packId), args.variables ?? {}) },
218
220
  { name: "release_pack", description: "Release a separately evaluated and approved Pack.", inputSchema: input({ packId: z.string().min(1) }), effectful: true, run: (args) => client.releasePack(String(args.packId)) },
@@ -319,6 +321,8 @@ var promotedNames = /* @__PURE__ */ new Set([
319
321
  "transition_pack_revision",
320
322
  "materialize_pack_revision",
321
323
  "diagnose_pack",
324
+ "get_pack",
325
+ "list_evaluations",
322
326
  "evaluate_pack",
323
327
  "import_pack",
324
328
  "install_pack",
@@ -341,6 +345,15 @@ var genericTools = [
341
345
  { name: "write_control_api", description: "Call one registered effectful Control API path not promoted to a first-class MCP tool. Server authorization and receipts still apply.", inputSchema: input({ path: z.string().regex(/^\/v1\/[A-Za-z0-9_./{}-]+$/), method: z.enum(["POST", "PUT", "PATCH", "DELETE"]).default("POST"), body: z.record(z.string(), z.unknown()), idempotencyKey: z.string().min(1).optional() }), effectful: true, run: writeControlApi }
342
346
  ];
343
347
  var descriptionOverrides = {
348
+ create_semantic_task: "AUTHORING: register a Semantic Task with aliases, positive examples, and negative examples for governed routing. It creates a draft; it does not classify input or publish behavior. Required: taskKey; id, description, version, aliases, examples, and negativeExamples are optional.",
349
+ create_behavior_point: "AUTHORING: attach a canonical BehaviorPoint to an existing Semantic Task. Required: key. Provide either taskId or taskIds, not both; constraints are optional policy data. Use create_behavior_program for executable rules.",
350
+ list_capabilities: "ACCESS READ: check what this credential can use on the MCP surface. No input is required; the authenticated API key supplies scope. This reports authority and never grants it.",
351
+ list_semantic_tasks: "CATALOG READ: inspect registered Semantic Tasks before authoring or routing. Pagination and search are optional. Use resolve_semantic to classify an actual request.",
352
+ list_behavior_points: "AUTHORITY READ: inspect canonical BehaviorPoints and task links. Pagination and search are optional. Use resolve_runtime only after selecting one point.",
353
+ import_pack: "PACK AUTHORING: validate and create a Pack draft. Required: manifest. objects, archiveBase64, and fileName are optional alternatives; continue install \u2192 evaluate \u2192 approve \u2192 release.",
354
+ list_packs: "PACK READ: find scoped Pack drafts and releases. Pagination is optional; use get_pack for one Pack\u2019s detail and never infer release from list membership alone.",
355
+ get_pack: "PACK DETAIL READ: inspect one Pack\u2019s manifest, digest, status, conflicts, and materialization metadata. Required: packId. Read-only; it never releases.",
356
+ list_evaluations: "EVALUATION READ: list scoped evaluation records. Pagination and status are optional; use start_evaluation to run one and get_evaluation for full provenance.",
344
357
  resolve_semantic: "ROUTING 1/3: classify input into registered Semantic Tasks and intent candidates. It never resolves runtime authority or executes; follow with resolve_runtime for one selected BehaviorPoint or resolve_task_run for AUTO/multi-task planning.",
345
358
  resolve_runtime: "ROUTING 2/3: resolve one already-selected BehaviorPoint into released runtime authority. It does not classify text or execute; use resolve_task_run/start_task_run for TaskRun execution.",
346
359
  resolve_task_run: "ROUTING 2/3 FOR TASKRUN: preview server-owned AUTO mode and the SINGLE/STRATEGY/COMPOUND/HYBRID child plan. It never executes; call start_task_run after inspection.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/mcp",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "mcpName": "io.github.hrpering/vira",
5
5
  "description": "Vira MCP client and npx-ready JSON-RPC launcher.",
6
6
  "keywords": [