@cmodjs/rulebook 0.10.0 → 0.10.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/agent.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmodjs/rulebook",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Checks every file, reply, tool call, and commit against your rules and linters before it lands.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -47,7 +47,7 @@
47
47
  "@ast-grep/lang-yaml": "0.0.6",
48
48
  "@ast-grep/napi": "0.51.1",
49
49
  "@biomejs/biome": "2.6.4",
50
- "@cmodjs/core": "8.0.0",
50
+ "@cmodjs/core": "8.3.1",
51
51
  "diff": "9.0.0",
52
52
  "marked": "15.0.0",
53
53
  "oxlint": "1.86.0",
package/src/agent.ts CHANGED
@@ -92,10 +92,10 @@ export async function runAgentic(rule: AgenticRule, file: CheckedFile, root: str
92
92
 
93
93
  async function runSession(plugin: string, root: string, deadline: AbortSignal): Promise<readonly Finding[]> {
94
94
  deadline.throwIfAborted()
95
- const child = Bun.spawn([claudeProgram(), ...sessionArguments(plugin)], {
95
+ const child = Bun.spawn([claudeProgram(), `/${PLUGIN}:${SKILL}`, ...sessionArguments(plugin)], {
96
96
  cwd: root,
97
97
  env: process.env,
98
- stdin: new Blob([`/${PLUGIN}:${SKILL}`]),
98
+ stdin: 'ignore',
99
99
  stdout: 'pipe',
100
100
  stderr: 'pipe',
101
101
  signal: deadline,