mirror of
https://github.com/blamouche/obsidian-any-ai-code.git
synced 2026-07-22 06:53:38 +00:00
Rename plugin id to obsidian-any-ai-cli and bump to 0.1.35
The plugin was rebranded to "Any AI CLI" earlier in this branch, but the manifest id remained obsidian-any-ai-code from the original name. Aligning the id ahead of the community-store submission so the community-plugins.json entry, the manifest id, the plugin folder name and the release zip filename all match. Updated: - manifest.json id and version - versions.json (added 0.1.35) - package.json name and version - package-lock.json (re-synced) - .github/workflows/release.yml PLUGIN_ID env var - README.md install paths and release-zip filename references GitHub repo URLs (blamouche/obsidian-any-ai-code) are intentionally unchanged — the repo itself is not being renamed at this time. Existing local installs must rename their plugin folder from .obsidian/plugins/obsidian-any-ai-code to .obsidian/plugins/obsidian-any-ai-cli to keep the plugin discoverable. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
351fb29dae
commit
1863b3e96b
9 changed files with 25 additions and 18 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 `<h2>`/`<h3>` 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. |
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
0.1.34
|
||||
0.1.35
|
||||
|
|
|
|||
14
README.md
14
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-<version>.zip`.
|
||||
2. Download `obsidian-any-ai-cli-<version>.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-<tag>.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-<tag>.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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
8
package-lock.json
generated
8
package-lock.json
generated
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue