@tryvira/mcp 0.1.66 → 0.1.68
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 +19 -16
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -13,9 +13,9 @@ var registry = {};
|
|
|
13
13
|
var add = (names, authority) => names.forEach((name) => {
|
|
14
14
|
registry[name] = authority;
|
|
15
15
|
});
|
|
16
|
-
var generatedReadTools = ["list_strategy_executions", "search_runtime_traces", "get_ai_system", "list_system_connections", "list_inventory", "get_connection", "
|
|
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", "
|
|
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());
|
|
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"]));
|
|
@@ -24,6 +24,7 @@ add(["list_host_tools"], read("integration.read"));
|
|
|
24
24
|
add(["test_connection"], effectful("integration.write", "server", ["studio.write", "admin"]));
|
|
25
25
|
add(["resolve_semantic", "resolve_task_run", "simulate_behavior_strategy"], read("runtime.execute"));
|
|
26
26
|
add(["observe"], effectful("observation.write", "server", ["integration.write", "studio.write", "admin"]));
|
|
27
|
+
add(["list_observations", "get_observation"], read("observation.write"));
|
|
27
28
|
add(["resolve_runtime", "start_task_run", "continue_task_run", "cancel_task_run", "retry_task_run", "start_strategy_execution", "continue_strategy_execution", "cancel_strategy_execution", "compile_behavior_capsule", "serve_behavior_projection", "authorize_host_tool"], effectful("runtime.execute"));
|
|
28
29
|
add(["create_semantic_task", "create_behavior_point", "activate_behavior_strategy", "delete_ai_system", "delete_semantic_task", "delete_behavior_point", "delete_behavior_strategy"], effectful("behavior.write", "server", ["integration.write", "studio.write", "release.approve", "admin"]));
|
|
29
30
|
add(["create_behavior_program", "delete_behavior_program", "delete_behavior_program_cascade", "validate_behavior_strategy", "activate_behavior_strategy", "create_behavior_strategy", "create_behavior_strategy_variant"], effectful("behavior.write", "server", ["integration.write", "studio.write", "release.approve", "admin"]));
|
|
@@ -171,7 +172,7 @@ var optimizerRequest = async (path, method, body) => {
|
|
|
171
172
|
var fullTools = [
|
|
172
173
|
{ name: "get_scope", description: "Read the immutable organization/project/environment scope configured for this MCP session.", inputSchema: input(), run: async () => ({ scope, apiUrl: baseUrl }) },
|
|
173
174
|
{ name: "list_capabilities", description: "List capabilities available to this API key.", inputSchema: input(), run: () => client.listCapabilities({ surface: "mcp" }) },
|
|
174
|
-
{ name: "list_inbox", description: "List the authenticated actor\u2019s scoped review notifications.", inputSchema: input({
|
|
175
|
+
{ name: "list_inbox", description: "List the authenticated actor\u2019s scoped review notifications.", inputSchema: input({ ...pageFields, search: z.string().min(1).optional() }), run: async (args) => readFromApi(`/v1/notifications/inbox?${new URLSearchParams(Object.entries(args).filter(([, v]) => v !== void 0).map(([k, v]) => [k, String(v)])).toString()}`) },
|
|
175
176
|
{ name: "mark_inbox_read", description: "Mark one scoped review notification as read.", inputSchema: input({ notificationId: z.string().min(1) }), effectful: true, run: async (args) => (await viraHttpRequest(`${baseUrl}/v1/notifications/${encodeURIComponent(String(args.notificationId))}/read`, { method: "POST", apiKey, body: scope, idempotencyKey: `mcp:inbox:${String(args.notificationId)}` })).body },
|
|
176
177
|
{ name: "inspect_conflicts", description: "Create a scoped conflict inspection for proposed versus active behavior.", inputSchema: input({ id: z.string().optional(), proposed: z.array(z.unknown()), active: z.array(z.unknown()), controls: z.array(z.unknown()) }), effectful: true, run: async (args) => (await viraHttpRequest(`${baseUrl}/v1/conflicts/inspect`, { method: "POST", apiKey, body: { ...scope, ...args }, idempotencyKey: `mcp:conflicts:inspect:${String(args.id ?? scope.projectId)}` })).body },
|
|
177
178
|
{ name: "get_conflict_inspection", description: "Read a persisted scoped conflict inspection.", inputSchema: input({ inspectionId: z.string().min(1) }), run: (args) => readFromApi(`/v1/conflicts/${encodeURIComponent(String(args.inspectionId))}`) },
|
|
@@ -179,15 +180,15 @@ var fullTools = [
|
|
|
179
180
|
{ name: "start_optimization", description: "Start provider-backed scoped optimization with dataset and holdout governance through the authenticated Control API.", inputSchema: input({ request: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => optimizerRequest("/v1/optimize", "POST", args.request) },
|
|
180
181
|
{ name: "get_optimization_run", description: "Read a scoped durable optimization run.", inputSchema: input({ runId: z.string().min(1) }), run: (args) => optimizerRequest(`/v1/optimization/runs/${encodeURIComponent(String(args.runId))}`, "GET") },
|
|
181
182
|
{ name: "cancel_optimization_run", description: "Request cancellation of a scoped optimization run.", inputSchema: input({ runId: z.string().min(1) }), effectful: true, run: (args) => optimizerRequest(`/v1/optimization/runs/${encodeURIComponent(String(args.runId))}/cancel`, "POST", {}) },
|
|
182
|
-
{ name: "connect_ai_system", description: "
|
|
183
|
+
{ name: "connect_ai_system", description: "Connect the customer chatbot/agent and return its capability handshake. Use for an AI System connection; not for a raw adapter probe or behavior authoring.", inputSchema: input({ name: z.string().min(1), systemType: z.string().min(1), adapterType: z.string().min(1), adapterVersion: z.string().min(1), capabilities: z.array(z.string()).optional(), config: z.unknown().optional(), idempotencyKey: z.string().min(1).optional() }), effectful: true, run: (args) => client.connectAiSystem({ name: String(args.name), systemType: String(args.systemType), organizationId: scope.organizationId, projectId: scope.projectId, environmentId: scope.environmentId, adapterType: String(args.adapterType), adapterVersion: String(args.adapterVersion), capabilities: args.capabilities, config: args.config, idempotencyKey: args.idempotencyKey }) },
|
|
183
184
|
{ name: "get_job", description: "Read a scope-bound asynchronous job and completion evidence.", inputSchema: input({ jobId: z.string().min(1) }), run: (args) => readFromApi(`/v1/jobs/${encodeURIComponent(String(args.jobId))}`) },
|
|
184
185
|
{ name: "list_semantic_tasks", description: "List Semantic Tasks with bounded cursor pagination.", inputSchema: input(pageFields), run: (args) => listFromApi("/v1/semantic-tasks", args) },
|
|
185
186
|
{ name: "list_behavior_points", description: "List BehaviorPoints with bounded cursor pagination.", inputSchema: input(pageFields), run: (args) => listFromApi("/v1/behavior-points", args) },
|
|
186
|
-
{ name: "list_behavior_programs", description: "List behavior programs
|
|
187
|
-
{ name: "list_behavior_strategies", description: "List behavior strategies
|
|
188
|
-
{ name: "resolve_semantic", description: "
|
|
189
|
-
{ name: "resolve_runtime", description: "Resolve a BehaviorPoint
|
|
190
|
-
{ name: "resolve_task_run", description: "Preview
|
|
187
|
+
{ name: "list_behavior_programs", description: "List behavior programs with bounded cursor pagination and search.", inputSchema: input({ ...pageFields, search: z.string().min(1).optional() }), run: (args) => readFromApi(`/v1/behavior-programs?${new URLSearchParams(Object.entries(args).filter(([, v]) => v !== void 0).map(([k, v]) => [k, String(v)])).toString()}`) },
|
|
188
|
+
{ name: "list_behavior_strategies", description: "List behavior strategies with bounded cursor pagination and search.", inputSchema: input({ ...pageFields, search: z.string().min(1).optional() }), run: (args) => readFromApi(`/v1/behavior-strategies?${new URLSearchParams(Object.entries(args).filter(([, v]) => v !== void 0).map(([k, v]) => [k, String(v)])).toString()}`) },
|
|
189
|
+
{ name: "resolve_semantic", description: "Classify input into registered Semantic Tasks. Use before execution when you need intent candidates; it does not run a behavior, tool, or TaskRun.", inputSchema: input({ input: z.string().min(1), profile: z.record(z.string(), z.unknown()).optional(), sessionId: z.string().optional(), selection: z.record(z.string(), z.unknown()).optional(), candidates: z.array(z.string()).optional(), timeoutMs: z.number().positive().optional(), requestId: z.string().optional(), executionBoundary: z.record(z.string(), z.unknown()).optional(), idempotencyKey: z.string().min(1).optional() }), run: (args) => client.resolveSemantic(args) },
|
|
190
|
+
{ name: "resolve_runtime", description: "Resolve a selected BehaviorPoint into released runtime authority. Use after canonical selection; it does not classify text or start a TaskRun.", inputSchema: input({ behaviorPoint: z.string().min(1).optional(), executionBoundary: z.record(z.string(), z.unknown()).optional(), semanticContext: z.record(z.string(), z.unknown()).optional(), idempotencyKey: z.string().min(1).optional() }), effectful: true, run: (args) => client.resolveRuntime(args) },
|
|
191
|
+
{ name: "resolve_task_run", description: "Preview server-owned AUTO mode selection and child plan. Use to inspect routing; it does not execute the TaskRun.", inputSchema: input({ input: z.string().min(1), requestedMode: z.enum(["AUTO", "SINGLE", "STRATEGY", "COMPOUND", "HYBRID"]).optional(), intentCount: z.number().int().positive().optional(), hostCapabilities: z.array(z.string()).optional(), hybridPlan: z.array(z.object({ semanticTaskKey: z.string().min(1), mode: z.enum(["SINGLE", "STRATEGY"]) })).optional() }), run: (args) => client.resolveTaskRun(args) },
|
|
191
192
|
{ name: "start_task_run", description: "Admit a registered TaskRun after server-side scope, release and authority checks; omit mode for AUTO.", inputSchema: input({ taskRunId: z.string().min(1), requestId: z.string().min(1), input: z.unknown(), ownerActorRef: z.string().min(1), requestedMode: z.enum(["AUTO", "SINGLE", "STRATEGY", "COMPOUND", "HYBRID"]).optional(), hybridPlan: z.array(z.object({ semanticTaskKey: z.string().min(1), mode: z.enum(["SINGLE", "STRATEGY"]) })).optional(), compoundPlanId: z.string().optional(), conversationId: z.string().optional(), episodeId: z.string().optional(), traceRootRef: z.string().optional(), budget: z.object({ maxChildren: z.number().int().positive().optional(), maxCalls: z.number().int().positive().optional(), maxLatencyMs: z.number().int().positive().optional(), maxCostMicros: z.number().int().positive().optional() }).optional(), hostCapabilities: z.array(z.string()).optional(), idempotencyKey: z.string().min(1).optional() }), effectful: true, run: (args) => {
|
|
192
193
|
const { idempotencyKey, ...request } = args;
|
|
193
194
|
return client.startTaskRun(request, { idempotencyKey });
|
|
@@ -203,7 +204,7 @@ var fullTools = [
|
|
|
203
204
|
const { id, idempotencyKey, ...point } = args;
|
|
204
205
|
return client.createBehaviorPoint(point, { id, idempotencyKey });
|
|
205
206
|
} },
|
|
206
|
-
{ name: "submit_teach_evidence", description: "
|
|
207
|
+
{ name: "submit_teach_evidence", description: "Admit selected consented evidence into Teach analysis. Use after observation; it is not generic observation ingest and does not publish behavior.", inputSchema: input({ evidenceId: z.string().optional(), source: z.string().min(1), content: z.string().min(1), consent: z.literal(true), privacy: z.string().optional(), conversationId: z.string().optional(), controlPointId: z.string().optional(), summary: z.string().optional(), idempotencyKey: z.string().min(1).optional() }), effectful: true, run: (args) => {
|
|
207
208
|
const { idempotencyKey, ...evidence } = args;
|
|
208
209
|
return client.submitTeachEvidence(evidence, { idempotencyKey });
|
|
209
210
|
} },
|
|
@@ -227,10 +228,10 @@ var fullTools = [
|
|
|
227
228
|
} },
|
|
228
229
|
{ name: "list_ai_systems", description: "List connected AI systems with bounded cursor pagination.", inputSchema: input(pageFields), run: (args) => listFromApi("/v1/ai-systems", args) },
|
|
229
230
|
{ name: "get_ai_system", description: "Read one connected AI system.", inputSchema: input({ systemId: z.string().min(1) }), run: (args) => client.getAISystem(String(args.systemId)) },
|
|
230
|
-
{ name: "list_system_connections", description: "List connections for an AI system.", inputSchema: input({ systemId: z.string().min(1) }), run: (args) => client.listSystemConnections(String(args.systemId)) },
|
|
231
|
+
{ name: "list_system_connections", description: "List connections for an AI system with bounded cursor pagination and search.", inputSchema: input({ systemId: z.string().min(1), ...pageFields, search: z.string().min(1).optional() }), run: (args) => client.listSystemConnections(String(args.systemId), { limit: args.limit, cursor: args.cursor, search: args.search }) },
|
|
231
232
|
{ name: "get_connection", description: "Read one connection.", inputSchema: input({ connectionId: z.string().min(1) }), run: (args) => client.getConnection(String(args.connectionId)) },
|
|
232
|
-
{ name: "
|
|
233
|
-
{ name: "
|
|
233
|
+
{ name: "get_connection_health", description: "Read the latest health state for one AI System connection.", inputSchema: input({ connectionId: z.string().min(1) }), run: (args) => client.connectionHealth(String(args.connectionId)) },
|
|
234
|
+
{ name: "list_connection_inventory", description: "List capability inventory for one connected AI System.", inputSchema: input({ systemId: z.string().min(1) }), run: (args) => client.inventory(String(args.systemId)) },
|
|
234
235
|
{ name: "test_connection", description: "Run a server-side connection test.", inputSchema: input({ connectionId: z.string().min(1) }), effectful: true, run: (args) => client.testConnection(String(args.connectionId)) },
|
|
235
236
|
{ name: "get_behavior_program", description: "Read one Behavior Program.", inputSchema: input({ programId: z.string().min(1) }), run: (args) => client.getBehaviorProgram(String(args.programId)) },
|
|
236
237
|
{ name: "create_behavior_program", description: "Create a Behavior Program draft.", inputSchema: input({ program: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.createBehaviorProgram(args.program) },
|
|
@@ -241,6 +242,8 @@ var fullTools = [
|
|
|
241
242
|
{ name: "get_task_run", description: "Read TaskRun state and final result.", inputSchema: input({ taskRunId: z.string().min(1) }), run: (args) => client.getTaskRun(String(args.taskRunId)) },
|
|
242
243
|
{ name: "list_task_run_events", description: "Read TaskRun lifecycle events and child lineage.", inputSchema: input({ taskRunId: z.string().min(1) }), run: (args) => client.listTaskRunEvents(String(args.taskRunId)) },
|
|
243
244
|
{ name: "observe", description: "Ingest a scoped observation.", inputSchema: input({ event: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.observe(args.event) },
|
|
245
|
+
{ name: "list_observations", description: "List admitted observations in the current environment with bounded pagination.", inputSchema: input(pageFields), run: (args) => client.listObservations(args) },
|
|
246
|
+
{ name: "get_observation", description: "Read one admitted observation by event ID in the current environment.", inputSchema: input({ eventId: z.string().min(1) }), run: (args) => client.getObservation(String(args.eventId)) },
|
|
244
247
|
{ name: "record_user_feedback", description: "Record scoped user feedback for an observed AI interaction.", inputSchema: input({ event: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.recordUserFeedback(args.event) },
|
|
245
248
|
{ name: "record_business_outcome", description: "Record a scoped business outcome for an observed AI interaction.", inputSchema: input({ event: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.recordBusinessOutcome(args.event) },
|
|
246
249
|
{ name: "search_runtime_traces", description: "Search scoped runtime traces and receipts.", inputSchema: input({ limit: z.number().int().positive().optional(), cursor: z.string().optional(), query: z.string().optional(), event: z.string().optional() }), run: (args) => client.searchRuntimeTraces(args) },
|
|
@@ -258,7 +261,7 @@ var fullTools = [
|
|
|
258
261
|
{ name: "reject_teach_recommendation", description: "Reject a Teach recommendation with a reason.", inputSchema: input({ teachRunId: z.string().min(1), reason: z.string().min(1) }), effectful: true, run: (args) => client.rejectTeachRecommendation(String(args.teachRunId), String(args.reason)) },
|
|
259
262
|
{ name: "edit_teach_recommendation", description: "Edit a Teach recommendation as a new immutable revision.", inputSchema: input({ teachRunId: z.string().min(1), revisionId: z.string().min(1), reason: z.string().min(1), behaviorSet: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.editTeachRecommendation(String(args.teachRunId), { revisionId: String(args.revisionId), reason: String(args.reason), behaviorSet: args.behaviorSet }) },
|
|
260
263
|
{ name: "request_teach_proposal_changes", description: "Request changes to a Teach proposal.", inputSchema: input({ proposalId: z.string().min(1), feedback: z.string().min(1) }), effectful: true, run: (args) => client.requestTeachProposalChanges(String(args.proposalId), String(args.feedback)) },
|
|
261
|
-
{ name: "start_evaluation", description: "Start a provider-backed
|
|
264
|
+
{ name: "start_evaluation", description: "Start a general dataset/evaluation-plan run. Use for comparative or provider-backed execution; use evaluate_pack for Pack lifecycle and evaluate_behavior_revision_candidate for one candidate.", inputSchema: input({ evaluation: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.startEvaluation(args.evaluation) },
|
|
262
265
|
{ name: "get_evaluation", description: "Read evaluation status, receipts and case results.", inputSchema: input({ evaluationId: z.string().min(1) }), run: (args) => client.getEvaluation(String(args.evaluationId)) },
|
|
263
266
|
{ name: "get_evaluation_comparison", description: "Read comparative evaluation arms and findings.", inputSchema: input({ evaluationId: z.string().min(1) }), run: (args) => client.getEvaluationComparison(String(args.evaluationId)) },
|
|
264
267
|
{ name: "review_comparative_finding", description: "Review a comparative finding.", inputSchema: input({ evaluationId: z.string().min(1), findingId: z.string().min(1), decision: z.enum(["ACCEPT", "REJECT", "EDIT", "MORE_EVIDENCE"]), reason: z.string().optional() }), effectful: true, run: (args) => client.reviewComparativeFinding(String(args.evaluationId), String(args.findingId), { decision: args.decision, reason: args.reason }) },
|
|
@@ -269,7 +272,7 @@ var fullTools = [
|
|
|
269
272
|
{ name: "get_improvement_proposal", description: "Read an improvement proposal.", inputSchema: input({ proposalId: z.string().min(1) }), run: (args) => client.getImprovementProposal(String(args.proposalId)) },
|
|
270
273
|
{ name: "review_improvement_proposal", description: "Approve, reject, or request review for an improvement proposal.", inputSchema: input({ proposalId: z.string().min(1), action: z.enum(["request-review", "approve", "reject"]) }), effectful: true, run: (args) => client.reviewImprovementProposal(String(args.proposalId), args.action) },
|
|
271
274
|
{ name: "create_behavior_revision_candidate", description: "Create an immutable behavior revision candidate.", inputSchema: input({ candidate: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.createBehaviorRevisionCandidate(args.candidate) },
|
|
272
|
-
{ name: "evaluate_behavior_revision_candidate", description: "Evaluate
|
|
275
|
+
{ name: "evaluate_behavior_revision_candidate", description: "Evaluate exactly one immutable Behavior Revision Candidate with a real dataset. It does not evaluate or release the parent Pack.", inputSchema: input({ candidateId: z.string().min(1), evaluation: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.evaluateBehaviorRevisionCandidate(String(args.candidateId), args.evaluation) },
|
|
273
276
|
{ name: "transition_behavior_revision_candidate", description: "Accept, reject, or promote a candidate revision.", inputSchema: input({ candidateId: z.string().min(1), transition: z.enum(["evaluate", "accept", "reject", "pack"]), input: z.record(z.string(), z.unknown()).optional() }), effectful: true, run: (args) => client.transitionBehaviorRevisionCandidate(String(args.candidateId), args.transition, args.input ?? {}) },
|
|
274
277
|
{ name: "create_pack_revision", description: "Create a Pack Revision from an accepted candidate.", inputSchema: input({ revision: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.createPackRevision(args.revision) },
|
|
275
278
|
{ name: "get_pack_revision", description: "Read Pack Revision status and lineage.", inputSchema: input({ revisionId: z.string().min(1) }), run: (args) => client.getPackRevision(String(args.revisionId)) },
|
|
@@ -277,7 +280,7 @@ var fullTools = [
|
|
|
277
280
|
{ name: "transition_pack_revision", description: "Validate, approve, release, or reject a Pack Revision.", inputSchema: input({ revisionId: z.string().min(1), transition: z.enum(["validate", "request-approval", "approve", "release", "reject"]) }), effectful: true, run: (args) => client.transitionPackRevision(String(args.revisionId), args.transition) },
|
|
278
281
|
{ name: "materialize_pack_revision", description: "Materialize an approved Pack Revision.", inputSchema: input({ revisionId: z.string().min(1), input: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.materializePackRevision(String(args.revisionId), args.input) },
|
|
279
282
|
{ name: "diagnose_pack", description: "Diagnose a Pack without changing authority.", inputSchema: input({ packId: z.string().min(1), input: z.record(z.string(), z.unknown()).optional() }), run: (args) => client.diagnosePack(String(args.packId), args.input ?? {}) },
|
|
280
|
-
{ name: "evaluate_pack", description: "Evaluate
|
|
283
|
+
{ name: "evaluate_pack", description: "Evaluate one imported/installed Pack in its Pack lifecycle with server-owned execution. Use before Pack approval/release; it is not the candidate evaluator.", inputSchema: input({ packId: z.string().min(1), evaluation: z.record(z.string(), z.unknown()) }), effectful: true, run: (args) => client.evaluatePack(String(args.packId), args.evaluation) },
|
|
281
284
|
{ name: "approve_pack", description: "Approve a passed Pack evaluation.", inputSchema: input({ packId: z.string().min(1), reason: z.string().optional() }), effectful: true, run: (args) => client.approvePack(String(args.packId), { manualApproval: true, reason: args.reason }) },
|
|
282
285
|
{ name: "compile_behavior_capsule", description: "Compile a Behavior Program capsule.", inputSchema: input({ programId: z.string().min(1), input: z.string().min(1), selection: z.record(z.string(), z.unknown()).optional(), candidates: z.array(z.unknown()).optional() }), effectful: true, run: (args) => client.compileBehaviorCapsule(args) },
|
|
283
286
|
{ name: "serve_behavior_projection", description: "Serve the active behavior projection for verification.", inputSchema: input({ input: z.string().min(1), provider: z.string().min(1), programId: z.string().optional() }), effectful: true, run: (args) => client.serveBehaviorProjection(args) },
|