diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf5ad19..f12e445 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: build-and-release: runs-on: ubuntu-latest env: - PLUGIN_ID: obsidian-any-ai-code + PLUGIN_ID: obsidian-any-ai-cli steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.prompt-hub/memory.md b/.prompt-hub/memory.md index 97e4c02..bdcfef6 100644 --- a/.prompt-hub/memory.md +++ b/.prompt-hub/memory.md @@ -51,3 +51,4 @@ | 2026-04-26 07:50:00 CEST | agent | Added `@Active folder` sidebar button that inserts the parent folder of the active file (vault-relative path) into the running CLI; falls back to `@./ ` for vault-root files. Added vitest coverage (27 tests). | `runtime-utils.ts`, `tests/runtime-utils.test.ts`, `main.ts`, `README.md`, `npm run build`, `npm test`, `.prompt-hub/version.md`, `.prompt-hub/releases.md` | success | Commit and push to main. | | 2026-04-26 07:51:00 CEST | agent | Added blue `claude-cli-btn-info` highlight modifier and applied it to `@Active file` / `@Active folder` so the editor-context buttons read as a paired group alongside green Start / red Stop. Validated build/tests. | `main.ts`, `styles.css`, `npm run build`, `npm test`, `.prompt-hub/version.md`, `.prompt-hub/releases.md` | success | Commit and push to main. | | 2026-04-26 08:24:00 CEST | agent | Audited plugin against the four official Obsidian guideline pages (build, submission requirements, plugin guidelines, release workflow) and applied compliance fixes: added LICENSE (MIT), removed `leaf.detach()` from `onunload`, replaced `

`/`

` settings headings with `Setting().setHeading()` and dropped the top-level plugin-name heading + first-section heading, switched release workflow to draft mode, tightened manifest description. Validated build/tests. | `LICENSE`, `main.ts`, `manifest.json`, `.github/workflows/release.yml`, `npm run build`, `npm test`, `.prompt-hub/version.md`, `.prompt-hub/releases.md`, `.prompt-hub/memory.md` | success | Commit and push to main; user can tag when ready for submission. | +| 2026-04-26 08:39:00 CEST | agent | Renamed plugin id `obsidian-any-ai-code` → `obsidian-any-ai-cli` to match the rebranded plugin name (and the queued community-store submission entry). Updated manifest, package.json, release workflow `PLUGIN_ID`, README install paths and zip filenames. GitHub repo URL kept as `blamouche/obsidian-any-ai-code` since the repo itself is unrenamed. Validated build/tests. | `manifest.json`, `versions.json`, `package.json`, `package-lock.json`, `.github/workflows/release.yml`, `README.md`, `npm run build`, `npm test`, `.prompt-hub/version.md`, `.prompt-hub/releases.md` | success | Commit, push, annotated tag 0.1.35, push tag. | diff --git a/.prompt-hub/releases.md b/.prompt-hub/releases.md index 621e4ba..d63971e 100644 --- a/.prompt-hub/releases.md +++ b/.prompt-hub/releases.md @@ -1,5 +1,10 @@ # Releases +## 0.1.35 - 2026-04-26 +- Renamed the plugin id from `obsidian-any-ai-code` to `obsidian-any-ai-cli` so it matches the rebranded `Any AI CLI` plugin name (and matches the entry queued for the Obsidian community store submission). +- Updated `manifest.json` `id`, `package.json` `name`, the release workflow `PLUGIN_ID` env var, and every install path / release zip filename mentioned in the README. +- Existing personal installs need to rename their plugin folder from `.obsidian/plugins/obsidian-any-ai-code` to `.obsidian/plugins/obsidian-any-ai-cli` (one-time manual step). No external user is affected since the plugin is not yet on the community store. + ## 0.1.34 - 2026-04-26 - Aligned the plugin with the Obsidian community plugin submission guidelines: - Added a top-level `LICENSE` file (MIT) so the license is discoverable independently of `package.json`. diff --git a/.prompt-hub/version.md b/.prompt-hub/version.md index 9dd1793..a52e041 100644 --- a/.prompt-hub/version.md +++ b/.prompt-hub/version.md @@ -1 +1 @@ -0.1.34 +0.1.35 diff --git a/README.md b/README.md index f137528..6a1be95 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,11 @@ Use Claude Code directly inside your active Obsidian vault without leaving Obsid ### Recommended — from a GitHub release 1. Open the [latest release](https://github.com/blamouche/obsidian-any-ai-code/releases/latest). -2. Download `obsidian-any-ai-code-.zip`. +2. Download `obsidian-any-ai-cli-.zip`. 3. Unzip it directly inside your vault's plugin folder so the resulting path is: ``` - /PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-code/ + /PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-cli/ ``` 4. In Obsidian, enable the plugin: `Settings → Community plugins → Installed plugins → Any AI Code`. @@ -47,7 +47,7 @@ That's it. No commands required — the plugin uses an embedded Python PTY bridg The bundle ships without `node-pty` (a native module that has to be compiled for your specific Node ABI). The plugin works without it, but installing it gives you a fully native PTY (better full-screen TUI rendering and resize behavior). To enable it: ```bash -cd "/PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-code" +cd "/PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-cli" npm install --omit=dev ``` @@ -55,7 +55,7 @@ Reload the plugin afterwards. ### Manual install / dev clone -1. Clone or copy the repository into `/PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-code/`. +1. Clone or copy the repository into `/PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-cli/`. 2. Run `npm install` and `npm run build` inside the folder to produce `main.js`. 3. Enable the plugin in `Settings → Community plugins`. @@ -121,7 +121,7 @@ Claude binary is not in Obsidian process `PATH`. Since 0.1.25, this no longer crashes the plugin — `node-pty` is optional and the proxy automatically falls back to the Python bridge (or direct pipe). If you want the native PTY backend anyway: ```bash -cd "/PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-code" +cd "/PATH/TO/VAULT/.obsidian/plugins/obsidian-any-ai-cli" npm install --omit=dev ``` @@ -186,8 +186,8 @@ git push origin 0.1.25 The workflow: 1. Checks out the repo and runs `npm ci` + `npm run build`. -2. Stages every runtime-required file (`manifest.json`, `main.js`, `styles.css`, `versions.json`, `pty-proxy.js`, `pty-bridge.py`, `package.json`, `package-lock.json`) into an `obsidian-any-ai-code/` folder. -3. Zips it as `obsidian-any-ai-code-.zip` for one-click install. +2. Stages every runtime-required file (`manifest.json`, `main.js`, `styles.css`, `versions.json`, `pty-proxy.js`, `pty-bridge.py`, `package.json`, `package-lock.json`) into an `obsidian-any-ai-cli/` folder. +3. Zips it as `obsidian-any-ai-cli-.zip` for one-click install. 4. Publishes a GitHub Release attaching the zip plus standalone `main.js` / `manifest.json` / `styles.css` (for Obsidian's plugin update protocol and BRAT). 5. Auto-generates release notes from the commit history. diff --git a/manifest.json b/manifest.json index 7a07ddb..fbe4164 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { - "id": "obsidian-any-ai-code", + "id": "obsidian-any-ai-cli", "name": "Any AI CLI", - "version": "0.1.34", + "version": "0.1.35", "minAppVersion": "1.5.0", "description": "Run AI coding CLIs like Claude Code or Codex from a right sidebar terminal panel.", "author": "Benoit Lamouche", diff --git a/package-lock.json b/package-lock.json index af74bf9..522d1c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "obsidian-any-ai-code", - "version": "0.1.34", + "name": "obsidian-any-ai-cli", + "version": "0.1.35", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "obsidian-any-ai-code", - "version": "0.1.34", + "name": "obsidian-any-ai-cli", + "version": "0.1.35", "license": "MIT", "dependencies": { "@xterm/addon-fit": "^0.11.0", diff --git a/package.json b/package.json index 22f1591..f6e41cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "obsidian-any-ai-code", - "version": "0.1.34", + "name": "obsidian-any-ai-cli", + "version": "0.1.35", "description": "Open your local Claude Code CLI inside an Obsidian right sidebar view", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index a1ced6c..685d106 100644 --- a/versions.json +++ b/versions.json @@ -4,5 +4,6 @@ "0.1.25": "1.5.0", "0.1.26": "1.5.0", "0.1.33": "1.5.0", - "0.1.34": "1.5.0" + "0.1.34": "1.5.0", + "0.1.35": "1.5.0" }