mirror of
https://github.com/bendtherules/opencode-plugin-dsml-fix.git
synced 2026-10-17 16:56:50 +00:00
- Build to dist/ via bun build (externals stay external); exports point at dist/index.js so installed consumers never resolve .ts sources. - Move @opencode/plugin to dependencies (imported at runtime). - Add LICENSE (MIT), keywords, repository, homepage, author. - prepublishOnly runs typecheck + tests + build. - Rewrite README usage-first: problem, install, verify, config, dev.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "opencode-plugin-dsml-fix",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"description": "OpenCode V2 plugin that recovers DeepSeek DSML tool calls leaked as assistant text",
|
|
"exports": {
|
|
".": "./dist/index.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"typecheck": "tsc --noEmit",
|
|
"check": "bun run typecheck && bun test",
|
|
"build": "bun build ./src/index.ts --outdir ./dist --target bun --format esm --external @opencode/plugin --external @ai-sdk/provider",
|
|
"prepublishOnly": "bun run check && bun run build"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/provider": "^3.0.8",
|
|
"@opencode/plugin": "2.0.22"
|
|
},
|
|
"devDependencies": {
|
|
"bun-types": "latest",
|
|
"typescript": "^5.6.0"
|
|
},
|
|
"keywords": [
|
|
"opencode",
|
|
"opencode-plugin",
|
|
"deepseek",
|
|
"dsml",
|
|
"tool-calls"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bendtherules/opencode-plugin-dsml-fix.git"
|
|
},
|
|
"homepage": "https://github.com/bendtherules/opencode-plugin-dsml-fix",
|
|
"author": "bendtherules"
|
|
}
|