Commit graph

62 commits

Author SHA1 Message Date
RAIT-09
f6e081500e Merge branch 'dev' into experimental/wsl-launch-env-overhaul 2026-06-20 01:37:22 +09:00
RAIT-09
850e2e1557 fix(wsl): launch agents via --exec login-shell + argv, forward env via WSLENV
WSL agent launch previously wrapped the command in a nested
`sh -c "<baked string>"` construction. In some environments (e.g. RHEL8)
this fails before ACP connects (the process exits 1), and command
paths/args with spaces broke because the command was interpolated
unescaped.

Launch agents instead with:
  wsl.exe [--exec] /bin/sh -c '<constant launcher>' sh <pathDir> <cwd> <command> <args...>
This skips wsl's default-shell layer (--exec), runs under the user's
login shell so ~/.profile is sourced (environment preserved, unlike a
bare --exec), and passes command/args as argv (no quoting of user data).

Also forward configured env vars (API keys, custom agent env, tool env)
into WSL via WSLENV (buildWslEnv), so the plugin's API key field works in
WSL mode without requiring keys in ~/.profile. Defensive: skips empty
values and invalid names, merges existing WSLENV, never throws.

Add a vitest unit-test suite for the platform WSL helpers (39 cases,
incl. exact argv-ordering checks), with an obsidian stub alias and a
dedicated tsconfig for typed linting of tests.

Builds on #304 (direct WSL exec for absolute-path commands); this retains
the environment that a bare --exec would drop and also fixes paths/args
with spaces.

Terminal launch keeps the existing wrapper for now (env forwarding is
applied); a terminal-specific hybrid follows separately.
2026-06-05 13:16:28 +09:00
RAIT-09
8346f72170 Merge branch 'master' into dev 2026-05-31 01:11:15 +09:00
RAIT-09
f9a52ee409 docs: link Gemini deprecation page to the announcement discussion 2026-05-30 23:27:13 +09:00
RAIT-09
01fae7690c feat: notify users of Gemini CLI discontinuation (#296)
Google is retiring account login for Gemini CLI (Pro/Ultra/free tiers)
on June 18, 2026. Surface this in-app and document the migration path.

- Show an info banner above the input while the Gemini CLI agent is
  selected, reusing the existing ErrorBanner (info variant). Driven
  synchronously by agent id (no network), on its own channel separate
  from the npm-backed agent update notification. Dismisses on close,
  send, or agent switch.
- Add optional `link` to ErrorInfo / AgentUpdateNotification so the
  banner can render a "Learn more" anchor to the docs (backward
  compatible; existing usages unaffected).
- Add a dedicated docs page under a new "Announcements" sidebar section
  explaining what changes, who is affected, and how to keep using
  Gemini via a paid API key (with free-tier and privacy caveats). Note
  Antigravity CLI is not ACP-capable yet; mention the agy-acp bridge as
  a limited custom-agent workaround.
- Add a deprecation callout to the Gemini CLI setup page, plus tips to
  fall back to `gemini /auth` when the in-app API key isn't picked up.
2026-05-30 21:54:04 +09:00
RAIT-09
a1a3ab60d3 docs(usage): add Session Manager and Prompt Injection pages
- Session Manager: explain the dedicated sidebar view that lists
  open chat sessions with live status icons, how to open it (chat
  header menu or command palette), the four status icons, and the
  Rename/Close actions
- Prompt Injection: explain the first-message instructions that
  guide agents toward Obsidian-flavored Markdown (wikilinks,
  LaTeX math, table spacing), with the actual injected strings
  for reference
- Add both pages to the VitePress sidebar under Usage
- Add screenshots: Session Manager view, context menu, four
  status icons, and the Prompt injection settings section
2026-05-22 18:44:04 +09:00
RAIT-09
609e673e2d docs(setup): document Keychain-based API key flow and migration
- Replace plain "Enter the API key" instructions with the new
  Link... button + Select secret dialog flow in all three built-in
  agent setup pages (Claude Code, Codex, Gemini CLI)
- Add an info block per agent describing the automatic v0.10.x
  plaintext-to-secretStorage migration, including the fallback
  ID used when the default ID collides with another plugin
- Align the troubleshooting page's authentication section with
  the same Link... wording and cross-link to each setup guide
- Replace "Claude Code (ACP)" labels with "Claude Code" and
  prefix nav paths with "Built-in agents" to match the actual
  Settings UI section structure
2026-05-22 18:43:46 +09:00
RAIT-09
7588824366 docs(getting-started): add Obsidian 1.11.4 prerequisite
Document the minAppVersion bump driven by Obsidian's Keychain API,
which the plugin now uses to store agent API keys.
2026-05-22 18:43:35 +09:00
RAIT-09
aaae7458cf docs: update installation page for Community Plugins 2026-05-15 21:06:29 +09:00
RAIT-09
1b1ba7f2d8 docs: add missing ACP methods and update content type support 2026-04-08 23:02:07 +09:00
RAIT-09
7d17721815 docs: update debug log prefixes in troubleshooting page 2026-04-08 22:58:26 +09:00
RAIT-09
1c536f7a1f docs: update switch agent description in FAQ 2026-04-08 22:57:47 +09:00
RAIT-09
414ac34a4f docs: update command names and add missing commands in commands page 2026-04-08 22:56:37 +09:00
RAIT-09
fdbb867d40 docs: update command names and More menu reference in floating chat page 2026-04-08 22:54:03 +09:00
RAIT-09
3ef27c1477 docs: update screenshots in session history page 2026-04-08 22:49:49 +09:00
RAIT-09
bc08259136 docs: add edit title action to session history page 2026-04-08 22:47:54 +09:00
RAIT-09
09449cf7d1 docs: update mode persistence description to match model selection page 2026-04-08 22:45:26 +09:00
RAIT-09
fa7eae2edd docs: update screenshots in sending images page 2026-04-08 22:41:58 +09:00
RAIT-09
ce4322d74a docs: update command name, switch agent description, and screenshots in basic usage 2026-04-06 11:50:44 +09:00
RAIT-09
6bd2a59c0a docs: simplify custom agents setup with bare command names and update links 2026-04-06 11:25:43 +09:00
RAIT-09
b1355e7cf6 docs: update command name in Gemini CLI setup 2026-04-06 11:18:36 +09:00
RAIT-09
fd901d44a3 docs: update command name and add Codex app note in Codex setup 2026-04-06 11:15:40 +09:00
RAIT-09
6b89983cea docs: update command name in Claude Code setup 2026-04-06 11:13:44 +09:00
RAIT-09
34eec00eac docs: update ACP repository URL in agent-setup overview 2026-04-06 11:11:22 +09:00
RAIT-09
827514f920 docs: update command name in quick-start to match renamed command 2026-04-06 11:08:18 +09:00
RAIT-09
32637cd5ca Merge branch 'master' into dev 2026-03-26 23:25:20 +09:00
RAIT-09
a38a8a4296 chore: migrate claude-agent-acp references from @zed-industries to @agentclientprotocol
Update package name in agent-update-checker, docs, and READMEs
following the upstream rename in v0.24.0.
2026-03-26 20:48:40 +09:00
Tykis
b68b5339d1 docs: update path configuration guidance for bare command names
Reflect that path configuration is now optional in most cases.
Add Auto-detect as a recommended first step when agents are not found.
Add multi-device vault sync section to troubleshooting.
2026-03-18 01:34:04 +09:00
RAIT-09
fcac920a53 docs: update floating chat docs for minimize/close and enableFloatingChat rename 2026-03-15 16:01:07 +09:00
RAIT-09
f80b7be596 docs: update sending images page to include file attachments 2026-03-01 16:20:42 +09:00
RAIT-09
dcd35e0013 Merge branch 'master' into dev 2026-02-18 22:06:16 +09:00
RAIT-09
d1cbed65e1 chore: update claude-code-acp repository URL to claude-agent-acp 2026-02-18 22:06:03 +09:00
RAIT-09
edca98ee6e chore: rename claude-code-acp to claude-agent-acp 2026-02-18 07:45:11 +09:00
RAIT-09
580ce9697d Merge branch 'master' into dev 2026-02-08 00:09:17 +09:00
Shibata, Tats
3603c97b5e docs: add Kiro to custom agents examples 2026-02-07 00:17:56 +09:00
RAIT-09
cb19c5d665 refactor(settings): rename Floating Chat Button section to Floating chat 2026-02-06 21:40:54 +09:00
RAIT-09
dc5fbea37a docs: add Floating Chat overview to usage index 2026-02-06 21:39:16 +09:00
RAIT-09
18311b5de7 docs: rewrite floating chat documentation with screenshots and commands 2026-02-06 21:38:05 +09:00
Maws
34375bf2b2 remove code block chat implementation
Narrowing PR scope to just floating chat as discussed.
Code block chat will be a separate PR later.
2026-01-31 18:17:04 -05:00
Maws
cfa3d7a65d Merge remote-tracking branch 'upstream/master' into floating-chat-ui 2026-01-28 13:51:27 -05:00
RAIT-09
8401175eea docs: add configuration examples for OpenCode and Qwen Code 2026-01-25 21:38:15 +09:00
Maws
3910790540 docs: update sidebar and readme for notion-style views 2026-01-24 13:40:32 -05:00
Maws
f7bbef3bc5 docs: cleanup redundant sections in notion-style-views 2026-01-24 13:38:04 -05:00
RAIT-09
d80d11f668 docs: fix chat view location option names to match actual UI 2026-01-19 22:08:47 +09:00
RAIT-09
c520468ff1 docs: add terminal instructions to agent setup pages and add Commands & Hotkeys page 2026-01-19 21:18:45 +09:00
RAIT-09
d0d12db284 docs: move Multi-Session Chat in sidebar and update agent switching instructions 2026-01-19 21:10:21 +09:00
RAIT-09
cad7c6eb6f docs: clarify terminal usage in Node.js path instructions 2026-01-19 21:07:44 +09:00
RAIT-09
f3143d6284 docs: add custom export tag and update FAQ for v0.7.0 features
- Add Frontmatter tag setting to chat-export.md
- Update FAQ with new agent switching behavior
- Add multi-session and broadcast command FAQs
- Add custom frontmatter tag FAQ
2026-01-19 21:03:18 +09:00
RAIT-09
6c555e5664 docs: update Basic Usage with multi-session and new agent switching UI
- Add Multi-Session Chat section with link to new page
- Update Switching Agents to reflect new header menu behavior
- Replace switching-agents.webp with switch-agent.webp and switch-default-agent.webp
2026-01-19 20:59:16 +09:00
RAIT-09
569b1e22bd docs: add Multi-Session Chat documentation 2026-01-19 20:48:52 +09:00