Commit graph

1251 commits

Author SHA1 Message Date
RAIT-09
fc73669d00 Update version to 0.12.0-preview.2 2026-07-20 23:53:39 +09:00
RAIT-09
e2460688d7
Merge pull request #374 from RAIT-09/feat/hermes-agent-preset
feat: add the Hermes Agent preset
2026-07-20 23:39:32 +09:00
RAIT-09
1942cb3c25 docs(hermes): add the setup page
Also lists Hermes Agent in the agent tables, FAQ, README, and AGENTS.md.
2026-07-20 23:01:47 +09:00
RAIT-09
8bcad3dad8 feat(agents): add the Hermes Agent preset
Login-only preset (auth is CLI-managed via hermes model); no API key
wiring and no custom-agent absorption.
2026-07-20 22:59:19 +09:00
RAIT-09
731ad63e39
Merge pull request #372 from RAIT-09/docs/readme-revamp
docs: revamp the README
2026-07-20 01:12:26 +09:00
RAIT-09
0ca2fea0fe docs: localize the contributors heading in the Japanese README 2026-07-20 01:10:42 +09:00
RAIT-09
4d95ea663a docs: revamp the Japanese README 2026-07-20 00:55:06 +09:00
RAIT-09
d20389b321 docs: revamp the README 2026-07-20 00:55:06 +09:00
RAIT-09
a30056b8c1 docs: add README screenshots 2026-07-18 10:59:16 +09:00
RAIT-09
fad4f2be5c
Merge pull request #371 from RAIT-09/feat/embedded-button-focus
feat: focus the target embedded chat when a button delivers a prompt
2026-07-17 18:55:56 +09:00
RAIT-09
6bb0900dd2 feat(button-block): focus the target embedded chat on delivery 2026-07-17 18:50:08 +09:00
RAIT-09
021dddee17
Merge pull request #370 from RAIT-09/refactor/menu-session-dep
refactor: declare session.sessionId in the menu callback deps
2026-07-17 18:40:09 +09:00
RAIT-09
1dbf730a63 refactor(chat-panel): declare session.sessionId in the menu callback deps
The More menu's rename item reads session.sessionId from the closure,
but its freshness relied on handleNewChat depending on the whole
session object; narrowing that dep would silently rename a stale
session. Behavior is unchanged today.
2026-07-17 18:35:28 +09:00
RAIT-09
2484b315ba
Merge pull request #369 from RAIT-09/chore/jsdoc-english-leftovers
chore: translate the leftover Japanese JSDoc comments
2026-07-17 18:15:01 +09:00
RAIT-09
735cbc3e4e chore: translate the leftover Japanese JSDoc comments 2026-07-17 18:11:23 +09:00
RAIT-09
edc8195889 Update version to 0.12.0-preview.1 2026-07-17 01:20:11 +09:00
RAIT-09
75554cf87f
Merge pull request #367 from RAIT-09/feat/button-block-icon
feat: show the plugin icon on agent buttons
2026-07-17 00:51:19 +09:00
RAIT-09
fe2f9665b4 docs: refresh the agent button screenshot with the plugin icon 2026-07-17 00:46:38 +09:00
RAIT-09
a9656bfe6f feat(button-block): show the plugin icon on agent buttons 2026-07-17 00:41:14 +09:00
RAIT-09
97b8617695
Merge pull request #366 from RAIT-09/feature/kiro-preset
feat: add Kiro as a preset agent
2026-07-16 02:40:50 +09:00
RAIT-09
45e1ca96b6 docs: use the full settings path for API key instructions 2026-07-16 02:37:26 +09:00
RAIT-09
e7bfa3d042 docs(kiro): add the setup page and promote Kiro from custom example 2026-07-16 02:22:32 +09:00
RAIT-09
e32a35ab3f feat(agents): add the Kiro preset 2026-07-16 02:22:32 +09:00
RAIT-09
4b9271794e
Merge pull request #365 from RAIT-09/feature/opencode-preset
feat: add OpenCode as a preset agent
2026-07-16 01:48:58 +09:00
RAIT-09
21a7f19576 docs(opencode): drop the unreleased pinned-buttons mention from the migration note 2026-07-16 01:44:55 +09:00
RAIT-09
6c2f982ecf docs(opencode): add the setup page and promote OpenCode from custom example 2026-07-16 01:24:42 +09:00
RAIT-09
a5552a2a88 feat(settings): absorb the docs-advised opencode custom agent
Docs carried an OpenCode custom-agent recipe with id "opencode"; without
absorption those customs get renamed to "opencode-2" at load while pins
and saved sessions silently retarget a fresh default preset.
2026-07-16 01:00:35 +09:00
RAIT-09
ac74ed5a99 feat(agents): add the OpenCode preset 2026-07-16 00:57:07 +09:00
RAIT-09
818dc47376
Merge pull request #364 from RAIT-09/fix/floating-button-agent-pin
fix: honor the agent pin and the disabled setting when buttons open floating chats
2026-07-16 00:21:03 +09:00
RAIT-09
1f61e1d9a3 style: prefix agent button notices with [Agent Client] 2026-07-16 00:07:34 +09:00
RAIT-09
60ad3b6bcc fix(plugin): refuse to open a floating chat while disabled in settings
A window created while the feature is off becomes unreachable after a
minimize: the floating button and every floating command are gated by
the setting, leaving only the Session Manager to recover it.
2026-07-16 00:06:37 +09:00
RAIT-09
e356d8a702 fix(plugin): honor the agent pin when a button opens a floating chat 2026-07-16 00:00:49 +09:00
RAIT-09
514b13065b
Merge pull request #363 from RAIT-09/fix/sidebar-double-init
fix: stop sidebar chats from double-initializing when opened with an agent id
2026-07-15 23:24:23 +09:00
RAIT-09
22e9594562 fix(chat-view): cancel the fallback mount timer once the panel renders 2026-07-15 23:18:43 +09:00
RAIT-09
d2eacac4e8 fix(chat-panel): re-init only on an explicit agent directive
Re-resolving the default agent inside the guard comparison let a
default-agent settings change plus agentCwd churn (e.g. restoring a
session in another directory) fire a rogue createSession that killed
the live session. Resolve the default once, at launch.
2026-07-15 22:32:40 +09:00
RAIT-09
76149339e2 fix(chat-view): mount the panel after Obsidian delivers the view state
Mounting in onOpen spawned the default agent before setState delivered
the persisted id, wasting the heaviest operation (spawn, kill, respawn)
on agent-pinned opens and workspace restores. Defer mounting to the
first setState via an idempotent renderPanel, with a setTimeout(0)
fallback; later setState calls re-render so a changed id flows through
the existing mount-init guard.
2026-07-15 21:23:51 +09:00
RAIT-09
9413dcc56a fix(session): drop superseded createSession results
A createSession overtaken by a newer call could paint its late failure
(or a stale ready state) over the newer attempt. Guard the post-await
writes with a generation counter, mirroring useAgentMessages.
2026-07-15 20:57:17 +09:00
RAIT-09
ec7057da06 fix(chat-panel): resolve the default agent before guarding mount init
The sidebar's React root can mount before Obsidian's setState delivers
initialAgentId, so the first run keyed the guard on undefined; the id
arriving a moment later re-ran createSession and killed the first agent
process mid-initialize. Resolving both runs to a concrete id makes the
guard compare what actually launches.
2026-07-15 20:56:37 +09:00
RAIT-09
63b3cd4306
Merge pull request #362 from RAIT-09/fix/custom-agent-id-typing
fix: stop resetting an emptied custom agent id mid-typing
2026-07-15 20:43:40 +09:00
RAIT-09
da1d782db5
Merge pull request #361 from RAIT-09/style/drop-custom-agent-card
style: render custom agent sections like presets
2026-07-15 20:40:06 +09:00
RAIT-09
5f3b54d897 fix(settings): stop resetting an emptied custom agent id mid-typing
The per-keystroke onChange regenerated the default id and wrote it back
into the field the moment it went empty, so retyping an id required
select-all. Empty is now a transient state: nothing commits while empty,
and blur restores the last valid id if the field is abandoned.
2026-07-15 20:37:43 +09:00
RAIT-09
8b2e08d230 feat(settings): give the add custom agent row a name and description
A bare-button setting row renders as an empty card in themes that box
setting items; naming the row makes it read like every other setting.
2026-07-15 20:19:41 +09:00
RAIT-09
0edb06f14f style(settings): drop the card around custom agent sections
The card predates the collapsible sections; summary rows now mark the
boundaries, so custom agents render exactly like presets.
2026-07-15 20:09:40 +09:00
RAIT-09
28a4265df9
Merge pull request #360 from RAIT-09/docs/embeddable-blocks-coverage
docs: cover embedded chat blocks across usage pages
2026-07-15 03:17:07 +09:00
RAIT-09
c99d5ed9f0 docs(session-manager): vary the switch-to-session sentence structure 2026-07-15 03:14:18 +09:00
RAIT-09
6f0ff32770 docs(embed): match agent and viewType notes to behavior, add screenshots
An unknown pinned agent only falls back on button blocks (chat blocks fail
to start), pinned-but-disabled agents are still used, and viewType:
embedded targets the nearest existing block rather than opening a view.
2026-07-15 03:02:43 +09:00
RAIT-09
e29748569d docs(session-manager): document embedded chat entries
Cover the embedded badge, note-scoped listing, host-note reveal on click,
and the absence of a Close action.
2026-07-15 02:35:40 +09:00
RAIT-09
0bb8947b5e docs(usage): add an embedded chat blocks section to Basic Usage 2026-07-15 02:35:40 +09:00
RAIT-09
e0d48c3e03
Merge pull request #359 from RAIT-09/fix/embedded-focus-reveal
fix: reveal the host note tab when focusing an embedded chat
2026-07-15 02:30:33 +09:00
RAIT-09
87a879c3e3 fix(embed): make the reattach wait time-based, not frame-based
Frame counting halves the wait window on 120Hz+ displays; a Date.now()
deadline keeps it at one second everywhere.
2026-07-15 02:24:01 +09:00