@plaited/acp-harness 0.2.6 → 0.3.1
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/LICENSE +1 -1
- package/README.md +120 -16
- package/bin/cli.ts +105 -636
- package/bin/tests/cli.spec.ts +218 -51
- package/package.json +20 -4
- package/src/acp-client.ts +5 -4
- package/src/acp-transport.ts +14 -7
- package/src/adapter-check.ts +542 -0
- package/src/adapter-scaffold.ts +934 -0
- package/src/balance.ts +232 -0
- package/src/calibrate.ts +300 -0
- package/src/capture.ts +457 -0
- package/src/constants.ts +94 -0
- package/src/grader-loader.ts +174 -0
- package/src/harness.ts +35 -0
- package/src/schemas-cli.ts +239 -0
- package/src/schemas.ts +567 -0
- package/src/summarize.ts +245 -0
- package/src/tests/adapter-check.spec.ts +70 -0
- package/src/tests/adapter-scaffold.spec.ts +112 -0
- package/src/tests/fixtures/grader-bad-module.ts +5 -0
- package/src/tests/fixtures/grader-exec-fail.py +9 -0
- package/src/tests/fixtures/grader-exec-invalid.py +6 -0
- package/src/tests/fixtures/grader-exec.py +29 -0
- package/src/tests/fixtures/grader-module.ts +14 -0
- package/src/tests/grader-loader.spec.ts +153 -0
- package/src/trials.ts +395 -0
- package/src/validate-refs.ts +188 -0
- package/.claude/rules/accuracy.md +0 -43
- package/.claude/rules/bun-apis.md +0 -80
- package/.claude/rules/code-review.md +0 -254
- package/.claude/rules/git-workflow.md +0 -37
- package/.claude/rules/github.md +0 -154
- package/.claude/rules/testing.md +0 -172
- package/.claude/skills/acp-harness/SKILL.md +0 -310
- package/.claude/skills/acp-harness/assets/Dockerfile.acp +0 -25
- package/.claude/skills/acp-harness/assets/docker-compose.acp.yml +0 -19
- package/.claude/skills/acp-harness/references/downstream.md +0 -288
- package/.claude/skills/acp-harness/references/output-formats.md +0 -221
- package/.claude-plugin/marketplace.json +0 -15
- package/.claude-plugin/plugin.json +0 -16
- package/.github/CODEOWNERS +0 -6
- package/.github/workflows/ci.yml +0 -63
- package/.github/workflows/publish.yml +0 -146
- package/.mcp.json +0 -20
- package/CLAUDE.md +0 -92
- package/Dockerfile.test +0 -23
- package/biome.json +0 -96
- package/bun.lock +0 -513
- package/docker-compose.test.yml +0 -21
- package/scripts/bun-test-wrapper.sh +0 -46
- package/src/acp.constants.ts +0 -56
- package/src/acp.schemas.ts +0 -161
- package/src/acp.types.ts +0 -28
- package/src/tests/fixtures/.claude/settings.local.json +0 -8
- package/src/tests/fixtures/.claude/skills/greeting/SKILL.md +0 -17
- package/tsconfig.json +0 -32
package/biome.json
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
|
|
3
|
-
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
|
|
4
|
-
"files": {
|
|
5
|
-
"ignoreUnknown": false,
|
|
6
|
-
"includes": ["**"]
|
|
7
|
-
},
|
|
8
|
-
"formatter": {
|
|
9
|
-
"enabled": true,
|
|
10
|
-
"formatWithErrors": false,
|
|
11
|
-
"indentStyle": "space",
|
|
12
|
-
"indentWidth": 2,
|
|
13
|
-
"lineEnding": "lf",
|
|
14
|
-
"lineWidth": 120,
|
|
15
|
-
"attributePosition": "multiline",
|
|
16
|
-
"bracketSameLine": false,
|
|
17
|
-
"bracketSpacing": true,
|
|
18
|
-
"expand": "auto",
|
|
19
|
-
"useEditorconfig": true,
|
|
20
|
-
"includes": ["**", "!!**/dist/**/*", "!!**/*.json", "!!**/*.md", "!!**/*.d.ts"]
|
|
21
|
-
},
|
|
22
|
-
"linter": {
|
|
23
|
-
"enabled": true,
|
|
24
|
-
"rules": {
|
|
25
|
-
"recommended": true,
|
|
26
|
-
"correctness": {
|
|
27
|
-
"noUnusedVariables": "error",
|
|
28
|
-
"noUnusedImports": "error",
|
|
29
|
-
"useImportExtensions": "error"
|
|
30
|
-
},
|
|
31
|
-
"performance": {
|
|
32
|
-
"noAccumulatingSpread": "off"
|
|
33
|
-
},
|
|
34
|
-
"style": {
|
|
35
|
-
"noNestedTernary": "off",
|
|
36
|
-
"noNonNullAssertion": "off",
|
|
37
|
-
"useBlockStatements": "off",
|
|
38
|
-
"useTemplate": "error",
|
|
39
|
-
"useImportType": "error",
|
|
40
|
-
"noNegationElse": "warn"
|
|
41
|
-
},
|
|
42
|
-
"suspicious": {
|
|
43
|
-
"noExplicitAny": "error",
|
|
44
|
-
"noConsole": {
|
|
45
|
-
"level": "warn",
|
|
46
|
-
"options": {
|
|
47
|
-
"allow": ["error", "warn", "table", "info", "group", "groupEnd"]
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"complexity": {
|
|
52
|
-
"useLiteralKeys": "warn"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"includes": ["**", "!!**/*.d.ts"]
|
|
56
|
-
},
|
|
57
|
-
"javascript": {
|
|
58
|
-
"formatter": {
|
|
59
|
-
"jsxQuoteStyle": "single",
|
|
60
|
-
"quoteProperties": "asNeeded",
|
|
61
|
-
"trailingCommas": "all",
|
|
62
|
-
"semicolons": "asNeeded",
|
|
63
|
-
"arrowParentheses": "always",
|
|
64
|
-
"bracketSameLine": false,
|
|
65
|
-
"quoteStyle": "single",
|
|
66
|
-
"attributePosition": "multiline",
|
|
67
|
-
"bracketSpacing": true
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"overrides": [
|
|
71
|
-
{
|
|
72
|
-
"includes": ["**/*.ts", "**/*.tsx"],
|
|
73
|
-
"linter": {
|
|
74
|
-
"rules": {
|
|
75
|
-
"complexity": { "noArguments": "error" },
|
|
76
|
-
"style": { "useConst": "error" }
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"includes": ["**/tests/**/*", "**/skills/**/*"],
|
|
82
|
-
"linter": {
|
|
83
|
-
"rules": {
|
|
84
|
-
"suspicious": {
|
|
85
|
-
"noExplicitAny": "warn",
|
|
86
|
-
"noConsole": "off"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"assist": {
|
|
93
|
-
"enabled": true,
|
|
94
|
-
"actions": { "source": { "organizeImports": "on" } }
|
|
95
|
-
}
|
|
96
|
-
}
|