opencode-anthropic-fix 0.0.14 → 0.0.15

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/README.md CHANGED
@@ -38,6 +38,18 @@ The [upstream plugin](https://github.com/anomalyco/opencode-anthropic-auth) ship
38
38
 
39
39
  ## Installation
40
40
 
41
+ ### From npm (recommended)
42
+
43
+ Add to your `opencode.json`:
44
+
45
+ ```json
46
+ {
47
+ "plugins": ["opencode-anthropic-fix@latest"]
48
+ }
49
+ ```
50
+
51
+ OpenCode will install and load the plugin automatically on next start.
52
+
41
53
  ### Development (symlink)
42
54
 
43
55
  Best for active development. Edits to source files take effect immediately.
package/cli.test.mjs CHANGED
@@ -553,7 +553,7 @@ describe("cmdList", () => {
553
553
  expect(code).toBe(0);
554
554
 
555
555
  const text = output.text();
556
- expect(text).toMatch(/2m\s+30s/);
556
+ expect(text).toMatch(/2m\s+(29|30)s/);
557
557
  });
558
558
 
559
559
  it("shows consecutive failure count", async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-anthropic-fix",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "main": "./index.mjs",
5
5
  "scripts": {
6
6
  "build": "node scripts/build.mjs",