blamouche_obsidian-any-ai-code/package.json
blamouche 7bc1ddac11 Document and ship every runtime-required file in each GitHub release
The plugin's panel spawns a child process and needs more than the
typical Obsidian main.js / manifest.json / styles.css triple — the
Node proxy (pty-proxy.js) and the Python PTY fallback (pty-bridge.py)
must also be present in the plugin folder, plus versions.json (for
backwards-compatible install matching) and package.json /
package-lock.json (for the optional native node-pty backend).

The release workflow already bundled all of these inside the zip but
only attached the standard triple as standalone files. Switch to
uploading every runtime-required file at the release root so users
who fix one corrupt file or pin a specific component (e.g. swapping
in a custom pty-proxy.js for debugging) can grab it directly without
re-downloading the whole zip.

Reworked the release notes body template to spell out what each file
is for and to flag that the three-file triple is NOT sufficient for
this plugin (BRAT / Obsidian auto-update only fetches those three,
which is why the bundled zip stays the recommended install path).
Mirrored the same explanation in the README `Required files` section.

Bumped manifest/version metadata to 0.1.43.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 08:51:07 +02:00

38 lines
976 B
JSON

{
"name": "any-ai-cli",
"version": "0.1.43",
"description": "Run AI coding tools like Claude in a right sidebar terminal panel, with a customizable runtime list.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "node esbuild.config.mjs production",
"lint": "eslint main.ts runtime-utils.ts \"tests/**/*.ts\"",
"test": "vitest run",
"test:watch": "vitest"
},
"keywords": [
"obsidian",
"plugin",
"claude",
"cli"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.17.30",
"@typescript-eslint/parser": "^8.59.0",
"builtin-modules": "^5.0.0",
"esbuild": "^0.25.3",
"eslint": "^9.39.4",
"eslint-plugin-obsidianmd": "^0.2.4",
"obsidian": "latest",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vitest": "^4.0.18"
},
"dependencies": {
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"node-pty": "^1.1.0"
}
}