* security: bump vite across integrations to patched versions Fixes Dependabot alerts for vite transitive dev dependency: - GHSA-v2wj-q39q-566r (high): server.fs.deny bypass with queries - GHSA-p9ff-h696-f583 (high): related vite server vulnerability Adds a `vite` entry to the npm `overrides` in each integration's package.json to force the patched version (>=8.0.5). To make this possible in ai-sdk, chat, and openclaw — which pinned vitest ^4.0.18 whose vite peer is `^6.0.0 || ^7.0.0` — the minor-compatible bump vitest ^4.0.18 -> ^4.1.2 is also included. vitest 4.1.x supports vite 8.x (peer: ^6 || ^7 || ^8), so all six integrations converge on vite 8.x consistently. paperclip had no overrides block; one was added. Verified locally: `npm ci && npx vitest run` passes in all six integrations (ai-sdk 23, chat 28, openclaw 66, opencode 89, paperclip 27, nemoclaw 36 tests). * chore: regenerate hindsight-docs skill Picks up FAQ and best-practice sections added in #905 that were not regenerated at merge time, so that `verify-generated-files` passes for this branch.
64 lines
1.4 KiB
JSON
64 lines
1.4 KiB
JSON
{
|
|
"name": "@vectorize-io/opencode-hindsight",
|
|
"version": "0.1.0",
|
|
"description": "Hindsight memory plugin for OpenCode - Give your AI coding agent persistent long-term memory",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"opencode",
|
|
"ai",
|
|
"memory",
|
|
"hindsight",
|
|
"agents",
|
|
"llm",
|
|
"long-term-memory",
|
|
"coding-agent"
|
|
],
|
|
"author": "Vectorize <support@vectorize.io>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/vectorize-io/hindsight.git",
|
|
"directory": "hindsight-integrations/opencode"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsc --watch",
|
|
"clean": "rm -rf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"peerDependencies": {
|
|
"@opencode-ai/plugin": ">=1.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vectorize-io/hindsight-client": "^0.4.19"
|
|
},
|
|
"devDependencies": {
|
|
"@opencode-ai/plugin": "^1.3.13",
|
|
"@types/node": "^22.0.0",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"overrides": {
|
|
"rollup": "^4.59.0",
|
|
"picomatch": ">=2.3.2 <3.0.0 || >=4.0.4",
|
|
"vite": ">=8.0.5"
|
|
}
|
|
}
|