UNPKG

@agentled/cli

Version:

CLI for Agentled — manage workflows, apps, and knowledge from the command line. Zero context-window cost for AI agents.

16 lines (15 loc) 648 B
/** * `agentled test <workflowId>` — run declarative test assertions. * * Default mode: zero-credit replay against captured fixtures (fixtures/ * step-outputs/). Use `--live` to call testAiAction / testAppAction / * testCodeAction (costs credits for AI/app steps; code is always free). * * Test file format: tests/<workflowId>.test.json * Generate one with `agentled workflows pull <workflowId>`. * * Assertion verbs: hasKey, isType, equals, matches, inRange, hasLength, contains * (see utils/test-runner.ts for full schema) */ import { Command } from 'commander'; export declare function registerTestCommand(program: Command): void;