opencode-slim-output 0.1.0 → 0.1.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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +18 -7
  3. package/plugin.ts +1 -1
package/README.md CHANGED
@@ -79,7 +79,7 @@ opencode after changing them.
79
79
  ## Develop
80
80
 
81
81
  ```sh
82
- bun install
82
+ npm install
83
83
  bun test # 14 tests, incl. adversarial prose fixtures and hook wiring
84
84
  bun run typecheck
85
85
  ```
package/package.json CHANGED
@@ -1,24 +1,35 @@
1
1
  {
2
2
  "name": "opencode-slim-output",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenCode plugin: fail-closed post-processor that collapses external stack frames, relativizes paths and dedups repetitive output.",
5
5
  "type": "module",
6
6
  "main": "plugin.ts",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/mateocerri/opencode-slim-output.git"
9
+ "url": "git+https://github.com/mateocerri/opencode-slim-output.git"
10
10
  },
11
11
  "homepage": "https://www.npmjs.com/package/opencode-slim-output",
12
12
  "author": "Mateo Cerri",
13
- "keywords": ["opencode", "opencode-plugin", "output", "stack-trace", "wsl"],
14
- "files": ["plugin.ts", "src", "README.md", "LICENSE"],
13
+ "keywords": [
14
+ "opencode",
15
+ "opencode-plugin",
16
+ "output",
17
+ "stack-trace",
18
+ "wsl"
19
+ ],
20
+ "files": [
21
+ "plugin.ts",
22
+ "src",
23
+ "README.md",
24
+ "LICENSE"
25
+ ],
15
26
  "scripts": {
16
- "test": "bun test",
17
- "typecheck": "tsc --noEmit"
27
+ "test": "node --test \"tests/*.test.ts\"",
28
+ "typecheck": "npx tsc --noEmit"
18
29
  },
19
30
  "devDependencies": {
20
31
  "@opencode/plugin": "latest",
21
- "bun-types": "^1.4.2",
32
+ "@types/node": "^24.19.2",
22
33
  "typescript": "^5.6.0"
23
34
  },
24
35
  "license": "MIT"
package/plugin.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Plugin } from "@opencode/plugin";
2
- import { slimOutput } from "./src/slim";
2
+ import { slimOutput } from "./src/slim.ts";
3
3
 
4
4
  interface SlimPluginOptions {
5
5
  maxLines?: number;