oksusucha
596d2b93bb
refactor: reduce kiro_cli complexity by extracting helper functions
...
Split run_agent_stream into focused helpers:
- spawn_kiro_process: command setup and spawn
- write_prompt_async: threaded stdin write
- generate_session_id: unique ID generation
- stream_stdout: line-by-line output processing
- collect_stderr: stderr collection
Reduces per-function cyclomatic complexity from ~18 to ~6.
2026-05-07 17:13:16 +09:00
oksusucha
16ce8b105c
feat: add Kiro CLI as AI agent (rebuilt on upstream architecture)
...
- Add kiro_discovery.rs: binary detection (PATH, login shell, known paths)
- Add kiro_cli.rs: streaming via stdin, ANSI stripping, MCP config merge
- Register Kiro in ai_agents.rs enum, status, and dispatcher
- Add 'kiro' to settings normalization
- Add Kiro to frontend agent definitions and helpers
- Update test for agent cycling
Kiro uses plain text streaming (not JSON) so it has its own stream
handler rather than using cli_agent_runtime::run_ai_agent_json_stream.
MCP config merges into existing .kiro/settings/mcp.json to preserve
user-configured servers. Prompt is passed via stdin to avoid E2BIG.
2026-05-07 17:08:44 +09:00
lucaronin
1eeda047c2
feat: bundle docs for Tolaria agents
2026-05-06 23:08:42 +02:00
lucaronin
d093bd44bc
fix(git): use macos keychain credentials for remotes
2026-05-06 16:09:33 +02:00
lucaronin
520b2c9799
feat(settings): follow system theme
2026-05-05 15:00:24 +02:00
lucaronin
6ce04eead6
fix(ai): avoid Codex Windows batch shims
2026-05-05 11:45:56 +02:00
lucaronin
a6caa2b069
fix(linux): enable fcitx input for AppImage Wayland
2026-05-05 09:54:39 +02:00
lucaronin
0f231048cf
fix(vault): retry transient access denied saves
2026-05-05 09:32:08 +02:00
lucaronin
f5adbf9cf7
feat(settings): add note display preferences
2026-05-04 22:07:27 +02:00
lucaronin
19059fbf81
fix(frontmatter): preserve crlf inbox organization
2026-05-04 20:35:01 +02:00
lucaronin
ebf4545d46
fix: show type-derived instance property placeholders
2026-05-04 10:55:04 +02:00
lucaronin
417e37f1d1
refactor(paths): share note path identity
2026-05-04 04:59:50 +02:00
lucaronin
86c503c1f9
refactor(ai): share model provider catalog
2026-05-04 02:59:20 +02:00
lucaronin
b872b6148c
fix(menu): route windows menu actions
2026-05-03 20:00:37 +02:00
lucaronin
05a9aacd1e
fix(git): preserve unicode path output
2026-05-03 19:24:27 +02:00
lucaronin
f49b8f60dc
fix: guard fresh-note heading paste
2026-05-03 18:27:26 +02:00
lucaronin
39615f49f3
fix: guard appimage colrv1 emoji font startup
2026-05-03 18:06:42 +02:00
lucaronin
aaf0336733
feat: add direct AI model providers
2026-05-03 16:23:15 +02:00
lucaronin
aa310b25df
fix(ai): expand agent vault paths before spawn
2026-05-03 11:57:15 +02:00
lucaronin
b6dd6189a2
fix(linux): locate appimage mcp resources
2026-05-02 20:08:11 +02:00
lucaronin
ba07bafc97
fix: expose codex mcp tools reliably
2026-05-02 19:47:33 +02:00
lucaronin
7a97f24a0e
fix: detect codex windows npm shims
2026-05-02 18:41:38 +02:00
lucaronin
4f7f5a31e4
fix(linux): choose matching wayland preload
2026-05-02 17:01:57 +02:00
lucaronin
6532ee125a
fix(vault): prevent gitignored folder scan freezes
2026-05-02 09:28:51 +02:00
lucaronin
db16f2ff5e
fix(views): ignore stale saved-view deletes
2026-05-02 03:25:02 +02:00
lucaronin
1e5d83d4a3
refactor(commands): share app command manifest
2026-05-02 02:57:45 +02:00
lucaronin
062de2656e
refactor(frontmatter): share canonical key rules
2026-05-02 02:16:13 +02:00
lucaronin
0b5149ba8d
fix(ai): preserve gui path for cli agents
2026-05-02 01:26:34 +02:00
lucaronin
c8ac12f3dc
feat: cache note content and parsed editor blocks
2026-05-01 23:14:36 +02:00
lucaronin
6e41328f21
fix: tolerate colliding frontmatter properties
2026-05-01 18:09:48 +02:00
lucaronin
5b2b4cd569
fix: recognize type frontmatter case-insensitively
2026-05-01 17:45:14 +02:00
lucaronin
568ada8992
fix: sanitize appimage git subprocess env
2026-05-01 02:01:49 +02:00
lucaronin
0987946cff
fix: surface codex final replies
2026-05-01 01:29:46 +02:00
lucaronin
ee71a00c6f
feat: add paste without formatting command
2026-05-01 00:59:32 +02:00
lucaronin
adcaa8a387
fix: align ai agent permission modes
2026-04-30 21:18:15 +02:00
lucaronin
4a03f1675e
fix: parse crlf multibyte headings safely
2026-04-30 20:18:31 +02:00
lucaronin
b31f0b57da
fix: keep macos startup responsive
2026-04-30 18:58:48 +02:00
lucaronin
d3a577b488
fix: copy mcp config through native clipboard
2026-04-30 18:22:14 +02:00
lucaronin
1738dd2405
fix: persist claude power user shell access
2026-04-30 16:45:10 +02:00
lucaronin
8c286a4856
fix: stabilize linux appimage webkit rendering
2026-04-30 16:17:37 +02:00
lucaronin
d53c3fa7e5
fix: detect linuxbrew ai agent binaries
2026-04-30 15:01:35 +02:00
lucaronin
3c14d60be7
fix: stream gemini cli replies
2026-04-30 14:16:27 +02:00
lucaronin
886ded9575
fix: canonicalize simplified chinese ui language
2026-04-30 13:34:46 +02:00
lucaronin
45efb08b23
fix: persist supported ui language settings
2026-04-30 12:58:26 +02:00
lucaronin
fdc7d8fd84
fix: guard note suggestions during reload
2026-04-30 12:38:23 +02:00
lucaronin
690ace2d1f
fix: resolve linux mcp server resources
2026-04-30 12:22:29 +02:00
lucaronin
0d6e3853f2
fix: make search snippets unicode-safe
2026-04-30 10:23:54 +02:00
lucaronin
dede400296
fix: surface desktop menu update feedback
2026-04-30 06:46:45 +02:00
lucaronin
bc56eec35e
fix: block frontmatter writes for attachments
2026-04-30 05:37:58 +02:00
lucaronin
176f983dc9
fix: render opencode text parts after tools
2026-04-30 03:37:31 +02:00