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.
- package/README.md +20 -1
- package/dist/{chunk-FYZXE4YW.js → chunk-PY2FZKSF.js} +23 -7
- package/dist/chunk-PY2FZKSF.js.map +1 -0
- package/dist/{entry.opencode-C0sNp2fs.d.ts → entry.opencode-D1DnDHay.d.ts} +2 -1
- package/dist/entry.opencode.d.ts +1 -1
- package/dist/entry.opencode.js +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/package.json +8 -6
- package/dist/chunk-FYZXE4YW.js.map +0 -1
|
@@ -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,
|
|
21
|
+
export { HEADROOM_PLUGIN_ID as H, HeadroomOpenCodePlugin as a, HeadroomPlugin as c, headroomSetup as h };
|
|
22
|
+
export type { HeadroomOpenCodePluginOptions as b };
|
package/dist/entry.opencode.d.ts
CHANGED
package/dist/entry.opencode.js
CHANGED
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-
|
|
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,
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "headroom-opencode",
|
|
3
|
-
"version": "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.
|
|
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": "^
|
|
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.
|
|
50
|
-
"
|
|
51
|
-
"
|
|
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
|
}
|