Commit graph

131 commits

Author SHA1 Message Date
RAIT-09
2a2c7e3a56 0.11.0 2026-06-25 00:42:41 +09:00
RAIT-09
f799ad1f2e feat(acp): migrate to @agentclientprotocol/sdk 0.28.1
Bump the ACP SDK from 0.14.1 to 0.28.1 (PROTOCOL_VERSION unchanged, so a
direct jump). Adapt the existing client to the SDK's breaking changes while
keeping existing features working; new 0.28 features (elicitation, NES,
providers, document lifecycle) are out of scope.

- Renames: unstable_listSessions->listSessions, unstable_resumeSession->
  resumeSession (both stabilized); KillTerminalCommand{Request,Response}->
  KillTerminal{Request,Response} (type-only).
- SessionConfigOption became a select|boolean union. The domain type now
  carries boolean as data (UI renders/sets only select for now); the
  converter and all consumers narrow on type === "select".
- The model API (unstable_setSessionModel, SessionModelState) was removed
  from the SDK; model is now a config option. Remove the legacy model path
  (setSessionModel, the model dropdown, SessionModel(State) domain types)
  but KEEP lastUsedModels + the config-option model restore/save that back
  model persistence. Mode keeps its legacy API (still in the SDK).
- zod is now a runtime (peer) dependency of the SDK for schema validation;
  add it to dependencies so it bundles into main.js.
- Restore @eslint/json devDep (legacy-peer-deps had pruned this optional
  peer that the lint config loads).

ClientSideConnection is deprecated in 0.28 (new: client() builder, scoped
connectWith) but kept for now with documented eslint-disables; migrating
the connection lifecycle is a separate follow-up.
2026-06-21 02:50:59 +09:00
RAIT-09
4fd2d047c2 Update version to 0.11.0-preview.2 2026-06-20 14:03:12 +09:00
RAIT-09
f6e081500e Merge branch 'dev' into experimental/wsl-launch-env-overhaul 2026-06-20 01:37:22 +09:00
RAIT-09
1fbe289522 chore: regenerate package-lock.json 2026-06-05 23:45:27 +09:00
RAIT-09
4cb0fb7c6a Update version to 0.11.0-preview.1 2026-06-05 23:35:58 +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
f70815d149 chore: regenerate package-lock.json 2026-05-31 00:11:54 +09:00
RAIT-09
a37ff9603e Update version to 0.10.6 2026-05-30 23:50:39 +09:00
RAIT-09
01c9caeb6a chore: regenerate package-lock.json 2026-05-22 01:01:41 +09:00
RAIT-09
3dba052c27 Update version to 0.10.5 2026-05-22 00:59:41 +09:00
RAIT-09
42da7a6762 fix: downgrade React to 18 to eliminate dynamic script element creation 2026-05-22 00:38:20 +09:00
RAIT-09
3728dc3b15 Update version to 0.10.4 2026-05-21 23:52:39 +09:00
RAIT-09
4cc4143af8 chore: regenerate package-lock.json 2026-05-15 01:32:12 +09:00
RAIT-09
22244da828 chore: regenerate package-lock.json 2026-05-15 01:31:53 +09:00
RAIT-09
99b1404f27 Update version to 0.10.3 2026-05-15 01:28:11 +09:00
RAIT-09
8b877b70d9 Update version to 0.10.2 2026-04-17 23:06:28 +09:00
RAIT-09
02823f7413 Update version to 0.10.1 2026-04-15 21:49:59 +09:00
RAIT-09
cbe4712a5f chore: regenerate package-lock.json 2026-04-10 17:43:12 +09:00
Jarvis Luk
fd762f65c1 feat: add install hints for npm packages in SettingsTab and update shell command arguments 2026-04-10 00:44:47 +08:00
RAIT-09
76cedaca64 chore: regenerate package-lock.json 2026-04-08 23:26:09 +09:00
RAIT-09
ca7bc44848 Update version to 0.10.0 2026-04-08 23:14:20 +09:00
RAIT-09
17dac66de7 Update version to 0.10.0-preview.5 2026-04-07 23:01:04 +09:00
RAIT-09
b1ec308b21 Update version to 0.10.0-preview.4 2026-04-05 23:29:39 +09:00
RAIT-09
26eba9dcbd Update version to 0.10.0-preview.3 2026-04-05 17:20:06 +09:00
RAIT-09
ae7635835f Update version to 0.10.0-preview.2 2026-04-04 18:55:42 +09:00
RAIT-09
33b00af93c Revert "style: apply prettier formatting"
This reverts commit 66564c3a47.
2026-04-04 18:54:23 +09:00
RAIT-09
66564c3a47 style: apply prettier formatting 2026-04-04 18:53:47 +09:00
RAIT-09
32637cd5ca Merge branch 'master' into dev 2026-03-26 23:25:20 +09:00
RAIT-09
5e963bd489 Update version to 0.9.3 2026-03-26 23:09:42 +09:00
RAIT-09
6767f60383 chore: regenerate package-lock.json 2026-03-26 21:05:18 +09:00
RAIT-09
3637e8d362 Update version to 0.9.2 2026-03-26 20:57:10 +09:00
RAIT-09
173c38e1ca Update version to 0.10.0-preview.1 2026-03-25 00:11:35 +09:00
RAIT-09
87f123b7e1 perf: virtualize message list with @tanstack/react-virtual 2026-03-23 01:21:43 +09:00
RAIT-09
4fd43a341e chore: regenerate package-lock.json 2026-03-15 17:39:40 +09:00
RAIT-09
4626019ba9 Update version to 0.9.1 2026-03-15 17:21:51 +09:00
RAIT-09
c9e28b00be chore: fix flatted vulnerability via npm audit fix 2026-03-15 17:21:28 +09:00
RAIT-09
a374e516de chore: regenerate package-lock.json 2026-03-08 23:21:16 +09:00
RAIT-09
4c395bad1c Update version to 0.9.0 2026-03-08 23:04:56 +09:00
RAIT-09
f1225b56be Update version to 0.9.0-preview.2 2026-03-06 14:54:17 +09:00
RAIT-09
fc00fc33e3 Update version to 0.9.0-preview.1 2026-03-01 19:00:16 +09:00
RAIT-09
961e24fd55 chore: update @agentclientprotocol/sdk to v0.14.1
Includes stabilized session config options, new usage/cost tracking
types, and bigint-to-number fixes.
2026-02-28 16:26:15 +09:00
RAIT-09
e37bd3cee5 Update version to 0.8.3 2026-02-25 11:54:17 +09:00
RAIT-09
a369297b21 Update version to 0.8.2 2026-02-24 23:55:31 +09:00
RAIT-09
8b0f47d46a Update version to 0.8.1 2026-02-24 00:09:41 +09:00
RAIT-09
d000e000eb Update version to 0.8.0 2026-02-20 19:20:21 +09:00
RAIT-09
2d33082a25 chore: regenerate package-lock.json 2026-02-20 19:19:13 +09:00
RAIT-09
eb70f315bb
Merge branch 'dev' into Gnonymous/feature/chat-font-size 2026-02-18 01:43:59 +09:00
Eohan G.
846739fec8 feat: add configurable chat font size setting 2026-02-15 00:06:34 +08:00
RAIT-09
436b785be3 Update version to 0.8.0-preview.1 2026-02-07 00:19:39 +09:00