Drop CLIs and Claude Code from descriptions to clear sentence-case flags

The community bot still flagged two sentence-case violations after
0.1.38. Both sit in the manifest.json description: the plural acronym
"CLIs" and the multi-word product name "Claude Code" — neither is in
the linter's known-acronym / proper-noun lists, so they get flagged
mid-sentence.

Reworded the description to "Run AI coding tools like Claude or Codex
from a right sidebar terminal panel." in both manifest.json (the field
the bot actually scans) and package.json (kept in sync for npm
metadata). Also switched the local ESLint config from `recommended` to
`recommendedWithLocalesEn` so future runs match the bot's severity,
and added explicit ignores for non-source JSON / lockfiles.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
blamouche 2026-04-26 14:44:58 +02:00
parent 89ab3ae679
commit 120c66071d
8 changed files with 21 additions and 10 deletions

View file

@ -55,3 +55,4 @@
| 2026-04-26 08:46:00 CEST | agent | After Obsidian submission bot rejected the previous id for containing `obsidian`, renamed `obsidian-any-ai-cli``any-ai-cli` everywhere (verified free in public community-plugins.json). Bumped to 0.1.36, 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.36, push tag. User must publish the draft release manually for the bot to find it. |
| 2026-04-26 14:10:00 CEST | agent | Resolved Obsidian community automated-scan errors: converted all `require()` to ES imports, removed unnecessary `async` on `onOpen`/`onClose`/`onunload`/`startClaudeProcess`, voided promises in ribbon/command callbacks, renamed UI labels to sentence case (`CLI AI Assistant` → `Any AI CLI`), dropped `obsidian-` prefix on the command id, and fixed the strict-mode null-safety on `getRightLeaf`. Validated build (no TS errors), 27 tests pass. | `main.ts`, `manifest.json`, `versions.json`, `package.json`, `package-lock.json`, `npm run build`, `npx tsc --noEmit`, `npm test`, `.prompt-hub/version.md`, `.prompt-hub/releases.md` | success | Commit, push, annotated tag 0.1.37; user must publish the draft release for the bot to re-scan. |
| 2026-04-26 14:20:00 CEST | agent | Installed `eslint-plugin-obsidianmd` (with `eslint`, `@typescript-eslint/parser`), added flat-config (`eslint.config.mjs`) scoped to TS files with a `tests/` rules override, added `npm run lint` script and wired it into CI. Fixed every reported lint issue: sentence case (button labels, dropdown placeholder, descriptions), removed plugin name from command palette name, switched UUID generation to `node:crypto`, awaited `revealLeaf` and bumped `minAppVersion` to `1.7.2`. Lint clean, build clean, tsc clean, 27 tests pass. | `package.json`, `package-lock.json`, `eslint.config.mjs`, `.github/workflows/ci.yml`, `main.ts`, `runtime-utils.ts`, `manifest.json`, `versions.json`, `README.md`, `npm run lint`, `npm run build`, `npx tsc --noEmit`, `npm test`, `.prompt-hub/version.md`, `.prompt-hub/releases.md` | success | Commit, push, annotated tag 0.1.38; user publishes the draft release for the bot to re-scan. |
| 2026-04-26 14:30:00 CEST | agent | Bot still flagged 2 sentence-case issues after 0.1.38, both in `manifest.json` description (plural acronym `CLIs` and multi-word product name `Claude Code`). Reworded both `manifest.json` and `package.json` descriptions to drop those terms, switched local lint to `recommendedWithLocalesEn` for parity with the bot, and re-tagged `0.1.39`. | `manifest.json`, `package.json`, `eslint.config.mjs`, `.prompt-hub/version.md`, `.prompt-hub/releases.md` | success | Commit, push, annotated tag 0.1.39, user re-publishes draft release. |

View file

@ -1,5 +1,9 @@
# Releases
## 0.1.39 - 2026-04-26
- Reworded the `manifest.json` and `package.json` descriptions from `Run AI coding CLIs like Claude Code or Codex from a right sidebar terminal panel.` to `Run AI coding tools like Claude or Codex from a right sidebar terminal panel.` so the Obsidian sentence-case scanner stops flagging the plural acronym `CLIs` and the multi-word product name `Claude Code` as title-case violations.
- Switched the local ESLint config from `obsidianmd/recommended` to `obsidianmd/recommendedWithLocalesEn` (the same severity as the community submission bot) and added explicit ignores for non-source JSON / lockfiles so future stricter checks land in CI.
## 0.1.38 - 2026-04-26
- Installed [eslint-plugin-obsidianmd](https://github.com/obsidianmd/eslint-plugin) (`eslint`, `@typescript-eslint/parser`, `eslint-plugin-obsidianmd`) and added an `eslint.config.mjs` flat config that wires the plugin's `recommended` ruleset to project TS files, with an override turning off `obsidianmd/hardcoded-config-path` for the `tests/` fixtures.
- Added an `npm run lint` script (scoped to `main.ts`, `runtime-utils.ts`, and `tests/**/*.ts`) and wired it into the CI workflow before `npm run test` so guideline violations are caught on every push/PR.

View file

@ -1 +1 @@
0.1.38
0.1.39

View file

@ -10,10 +10,15 @@ export default defineConfig([
"dist/**",
"__pycache__/**",
"*.config.mjs",
"*.config.js"
"*.config.js",
"package.json",
"package-lock.json",
"tsconfig.json",
"versions.json",
".prompt-hub/**"
]
},
...obsidianmd.configs.recommended,
...obsidianmd.configs.recommendedWithLocalesEn,
{
files: ["**/*.ts"],
languageOptions: {

View file

@ -1,9 +1,9 @@
{
"id": "any-ai-cli",
"name": "Any AI CLI",
"version": "0.1.38",
"version": "0.1.39",
"minAppVersion": "1.7.2",
"description": "Run AI coding CLIs like Claude Code or Codex from a right sidebar terminal panel.",
"description": "Run AI coding tools like Claude or Codex from a right sidebar terminal panel.",
"author": "Benoit Lamouche",
"authorUrl": "https://lamouche.fr",
"isDesktopOnly": true

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "any-ai-cli",
"version": "0.1.37",
"version": "0.1.39",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "any-ai-cli",
"version": "0.1.37",
"version": "0.1.39",
"license": "MIT",
"dependencies": {
"@xterm/addon-fit": "^0.11.0",

View file

@ -1,7 +1,7 @@
{
"name": "any-ai-cli",
"version": "0.1.38",
"description": "Open your local Claude Code CLI inside an Obsidian right sidebar view",
"version": "0.1.39",
"description": "Run AI coding tools like Claude or Codex from a right sidebar terminal panel.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",

View file

@ -8,5 +8,6 @@
"0.1.35": "1.5.0",
"0.1.36": "1.5.0",
"0.1.37": "1.5.0",
"0.1.38": "1.7.2"
"0.1.38": "1.7.2",
"0.1.39": "1.7.2"
}