replica-omnisciente/shared/acp/package.json

15 lines
1.5 KiB
JSON

{
"name": "acp-conformance",
"version": "0.0.1",
"private": true,
"description": "Language-agnostic ACP conformance harness (golden NDJSON corpus + mock agent).",
"scripts": {
"test": "bash conformance/run.sh --agent node \"$PWD/mock-agent/mock-agent.mjs\"",
"test:mock": "bash conformance/run.sh --agent node \"$PWD/mock-agent/mock-agent.mjs\"",
"test:aurelio": "bash conformance/run.sh --agent node \"$PWD/../../../aurelio-theia/aurelio-backend/dist/acp/agent-entry.js\" --case initialize && bash conformance/run.sh --agent node \"$PWD/../../../aurelio-theia/aurelio-backend/dist/acp/agent-entry.js\" --case session_new",
"test:tilth": "cargo build --quiet --manifest-path \"$PWD/../../tilth/crates/acp-agent/Cargo.toml\" && bash conformance/run.sh --agent \"$PWD/../../tilth/target/debug/tilth-acp-agent\" --case initialize && bash conformance/run.sh --agent \"$PWD/../../tilth/target/debug/tilth-acp-agent\" --case session_new",
"test:tilth-client": "cargo build --quiet --manifest-path \"$PWD/../../tilth/crates/acp-client/Cargo.toml\" && mkdir -p /tmp/workspace && printf '# hello\\n' > /tmp/workspace/README.md && bash conformance/run.sh --agent \"$PWD/../../tilth/target/debug/tilth-acp-client\" --corpus golden/client --case fs_read && bash conformance/run.sh --agent \"$PWD/../../tilth/target/debug/tilth-acp-client\" --corpus golden/client --case request_permission",
"test:interop": "bash conformance/interop.sh",
"test:interop-rust": "bash conformance/interop-rust.sh"
}
}