Commit graph

11 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
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
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
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
edca98ee6e chore: rename claude-code-acp to claude-agent-acp 2026-02-18 07:45:11 +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
fa96a48cf8 docs: Add session history documentation and update settings paths 2026-01-13 23:34:11 +09:00
RAIT-09
b5ab552457 Revise and clarify troubleshooting guide
Streamlined language, reorganized sections, and updated instructions for common Agent Client issues. Added Linux Flatpak and AppImage notes, clarified authentication and path troubleshooting, and improved error message explanations for better user guidance.
2025-12-14 19:30:01 +09:00
RAIT-09
8bbe40a2a3 Add VitePress documentation site for Agent Client
Introduces a full documentation site under docs/ using VitePress, including configuration, custom theme, setup guides for supported agents (Claude Code, Codex, Gemini CLI, custom agents), usage instructions, FAQ, troubleshooting, and images. Updates .gitignore and .prettierignore to exclude VitePress build output and docs. Also updates package.json and eslint config for documentation support.
2025-12-14 01:53:46 +09:00