headroom-opencode 0.42.0 → 0.43.0

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.
@@ -18,4 +18,5 @@ declare const HeadroomOpenCodePlugin: {
18
18
  setup: (context: Plugin$1.Context) => Promise<Plugin$1.Cleanup | void> | Plugin$1.Cleanup | void;
19
19
  };
20
20
 
21
- export { HEADROOM_PLUGIN_ID as H, HeadroomOpenCodePlugin as a, type HeadroomOpenCodePluginOptions as b, HeadroomPlugin as c, headroomSetup as h };
21
+ export { HEADROOM_PLUGIN_ID as H, HeadroomOpenCodePlugin as a, HeadroomPlugin as c, headroomSetup as h };
22
+ export type { HeadroomOpenCodePluginOptions as b };
@@ -1,3 +1,3 @@
1
- export { a as default } from './entry.opencode-C0sNp2fs.js';
1
+ export { a as default } from './entry.opencode-D1DnDHay.js';
2
2
  import '@opencode-ai/plugin';
3
3
  import '@opencode/plugin';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  plugin_default
3
- } from "./chunk-FYZXE4YW.js";
3
+ } from "./chunk-PY2FZKSF.js";
4
4
  export {
5
5
  plugin_default as default
6
6
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CompressResult } from 'headroom-ai';
2
- export { H as HEADROOM_PLUGIN_ID, a as HeadroomOpenCodePlugin, b as HeadroomOpenCodePluginOptions, c as HeadroomPlugin, a as default, h as headroomSetup } from './entry.opencode-C0sNp2fs.js';
2
+ export { H as HEADROOM_PLUGIN_ID, a as HeadroomOpenCodePlugin, b as HeadroomOpenCodePluginOptions, c as HeadroomPlugin, a as default, h as headroomSetup } from './entry.opencode-D1DnDHay.js';
3
3
  import '@opencode-ai/plugin';
4
4
  import '@opencode/plugin';
5
5
 
@@ -68,4 +68,5 @@ interface InstallOptions {
68
68
  }
69
69
  declare function installHeadroomTransport(options: InstallOptions): () => void;
70
70
 
71
- export { DEFAULT_MODEL, DEFAULT_MODELS, type HeadroomModelMapping, type HeadroomProvider, type HeadroomProviderOptions, type RetrieveToolConfig, buildOpencodeConfigContent, buildOpencodeConfigContentJson, compressWithHeadroom, createHeadroomProvider, createHeadroomRetrieveTool, getDefaultProxyUrl, installHeadroomTransport, setDefaultProxyUrl };
71
+ export { DEFAULT_MODEL, DEFAULT_MODELS, buildOpencodeConfigContent, buildOpencodeConfigContentJson, compressWithHeadroom, createHeadroomProvider, createHeadroomRetrieveTool, getDefaultProxyUrl, installHeadroomTransport, setDefaultProxyUrl };
72
+ export type { HeadroomModelMapping, HeadroomProvider, HeadroomProviderOptions, RetrieveToolConfig };
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  plugin_default,
11
11
  setDefaultProxyUrl,
12
12
  trimTrailingSlashes
13
- } from "./chunk-FYZXE4YW.js";
13
+ } from "./chunk-PY2FZKSF.js";
14
14
 
15
15
  // src/provider.ts
16
16
  var DEFAULT_MODELS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "headroom-opencode",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "Headroom proxy integration plugin for OpenCode - routes LLM traffic through the Headroom proxy for token compression",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@opencode-ai/plugin": "^1.18.2",
22
- "headroom-ai": "^0.42.0"
22
+ "headroom-ai": "^0.43.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@ai-sdk/openai-compatible": "*",
@@ -41,14 +41,16 @@
41
41
  "@opencode/plugin": "^2.0.14",
42
42
  "@types/node": "^26.1.1",
43
43
  "@typescript/native": "npm:typescript@^7.0.2",
44
- "tsup": "^8.0.0",
44
+ "tsup": "^9.0.0",
45
45
  "typescript": "^6.0.3",
46
46
  "vitest": "^5.0.0"
47
47
  },
48
48
  "overrides": {
49
- "esbuild": "^0.28.1",
50
- "zod": "^4.6.6",
51
- "toml": "^5.0.1"
49
+ "esbuild": "^0.28.2",
50
+ "glob": "14.0.3",
51
+ "minimatch": "11.0.3",
52
+ "zod": "4.6.7",
53
+ "toml": "5.0.1"
52
54
  },
53
55
  "license": "Apache-2.0"
54
56
  }