ParthSareen
4784290c9b
agent: use platform shell tool names
2026-06-26 17:26:38 -07:00
ParthSareen
93bb382f9a
agent: improve shell and tui resilience
2026-06-26 15:45:34 -07:00
ParthSareen
6aa08b2c94
cmd/tui/chat: guard chatRunDoneMsg send against context cancellation
2026-06-25 17:04:25 -07:00
ParthSareen
b2bc6c822c
chore(agent): address modelfile review feedback
2026-06-25 14:30:35 -07:00
ParthSareen
7703a00ade
refactor(agent): introduce RunPolicy and drop --hidethinking
...
Replaces the scattered auto-approve plumbing (ApprovalManager.AutoApprove,
chatPermissionMode, opts.AutoApproveTools, and the approvalHandlerAutoApproves
type-switch) with a single RunPolicy value object carrying ToolMode
(Review/FullAccess/Disabled), an ApprovalPolicy strategy, and MaxToolRounds.
Mode is derived once per surface via resolveAgentRunPolicy, and the TUI toggles
it in place via RunPolicyState.
These two changes land together because they share struct-field plumbing in
agent_tui.go: the --hidethinking removal drops HideThinking from the same
gofmt-realigned AgentTUIOptions/runOptions literals that gain the Policy field,
so splitting them would produce intermediate states that do not build.
Also drops the now-unused PermissionNotice() and RunPolicyState.SetPolicy,
and simplifies the headless tool-resolution block.
2026-06-25 13:20:14 -07:00
ParthSareen
3052b16971
feat(chat): save raw request with /raw > filename
...
Adds /raw > <file> to write the JSON request preview to a file in the
working directory instead of opening the popup. Routes /raw through a
new handleRawCommand that distinguishes the popup form from the
redirect form, and extracts rawRequestPreviewJSON so the popup and the
save path share one preview build.
2026-06-25 13:19:24 -07:00
ParthSareen
9eed9466fb
chore(tui): clean up chat lint
2026-06-24 16:25:21 -07:00
ParthSareen
a0d99b4a02
refactor(agent): move chat store out of app
2026-06-24 16:11:45 -07:00
ParthSareen
dd82c333ec
build(ci): gate app store to desktop platforms
2026-06-24 16:00:44 -07:00
ParthSareen
64d3680ab6
cmd/tui/chat: wire cloud auth tick/poll dispatch, auto-open browser, use PollCloudAuth callback
2026-06-24 15:42:00 -07:00
ParthSareen
4c7d01cd4f
cmd/tui/chat: skip checking spinner, use pre-computed badge to go straight to sign-in or upgrade
2026-06-24 15:38:47 -07:00
ParthSareen
eacaa79706
cmd/tui/chat: show availability badge beside model name instead of plan in meta
2026-06-24 15:34:04 -07:00
ParthSareen
1e004ef209
cmd/tui/chat: add cloud model sign-in and plan-upgrade prompts to model picker
2026-06-24 15:23:57 -07:00
ParthSareen
4a34477557
cmd/tui/chat: add raw request debug view
2026-06-24 14:59:45 -07:00
ParthSareen
c47ad4f228
cmd: extract multimodal compat check into applyMultiModalCompat helper
2026-06-24 14:51:55 -07:00
ParthSareen
2e9b631176
cmd/tui/chat: consolidate model and resume pickers into generic chatPicker
2026-06-24 14:48:50 -07:00
ParthSareen
087ffc697f
cmd/tui: satisfy chat lint
2026-06-23 18:22:49 -07:00
ParthSareen
11f5c77b4b
cmd: present cloud-tagged models with arch details in agent picker
2026-06-23 18:14:48 -07:00
ParthSareen
e76f830221
cmd: restore local model arch details in picker description
2026-06-23 18:06:18 -07:00
ParthSareen
3b54956946
cmd/tui: split chat into subpackage and simplify status display
2026-06-23 18:02:33 -07:00
ParthSareen
8f882b054a
agent: consolidate compaction helpers and drop trace sink
2026-06-23 14:24:36 -07:00
ParthSareen
e098a6afaa
refactor(agent): consolidate chat persistence
2026-06-23 13:59:32 -07:00
ParthSareen
183f03d997
agent: address review feedback
2026-06-23 13:31:18 -07:00
ParthSareen
6b389711f0
chore(agent): satisfy lint checks
2026-06-22 17:01:47 -07:00
ParthSareen
f5a50a7c3f
agent: harden compaction and tui state
2026-06-22 16:49:41 -07:00
ParthSareen
5104df202d
chore(agent): polish chat runtime and rendering
2026-06-22 16:48:38 -07:00
ParthSareen
6d2bbd68e3
feat(agent): refine chat tui flow
2026-06-20 17:23:56 -07:00
ParthSareen
42467c2431
feat(agent): polish chat tui loading and approvals
2026-06-18 21:59:45 -07:00
ParthSareen
9c04e04e6b
agent: address review feedback
2026-06-18 16:24:43 -07:00
ParthSareen
98b022f4f5
agent: collapse large pasted TUI input
2026-06-18 14:29:19 -07:00
ParthSareen
97c93a93b4
chore(agent): harden compaction and runtime cleanup
2026-06-18 01:52:36 -07:00
ParthSareen
a058a75099
agent: harden resume and context preflight
2026-06-18 01:23:15 -07:00
ParthSareen
0034967cfd
feat: refine agent cli flow
2026-06-17 21:30:38 -07:00
ParthSareen
66757a973d
chore(agent): handle windows file urls
2026-06-17 16:39:40 -07:00
ParthSareen
a718ed68a1
chore(agent): make windows paths portable
2026-06-17 16:24:44 -07:00
ParthSareen
204f719b77
feat(agent): add root onboarding flow
2026-06-17 15:42:21 -07:00
ParthSareen
9618a45286
feat(agent): improve chat tui workflow
2026-06-17 14:02:21 -07:00
ParthSareen
280b85f8a4
agent: harden tool loop and polish tui
2026-06-15 15:33:47 -07:00
ParthSareen
821a45ca6e
agent: update compaction and context tracking
2026-06-12 16:28:58 -07:00
ParthSareen
676facf043
agent: update chat tui controls
2026-06-12 16:28:58 -07:00
ParthSareen
50184444da
agent: add chat tui controls and legacy aliases
2026-06-12 16:28:58 -07:00
ParthSareen
632bd88937
agent: improve chat input controls
2026-06-12 16:28:58 -07:00
ParthSareen
2ba0f9b96f
agent: add output copy commands
2026-06-12 16:28:58 -07:00
ParthSareen
5625904153
agent: window slash command suggestions
2026-06-12 16:28:58 -07:00
ParthSareen
96f82b5ff2
agent: add model picker slash command
2026-06-12 16:28:58 -07:00
ParthSareen
9da4d0c6f8
agent: restore web tool auto approval and TUI scrolling
2026-06-12 16:28:58 -07:00
ParthSareen
f417732279
agent: bound markdown and compaction caches
2026-06-12 16:28:58 -07:00
ParthSareen
2b54b72207
tui: split chat implementation
2026-06-12 16:28:58 -07:00
ParthSareen
30f206e235
agent: merge model-aware chat store
2026-06-12 16:28:58 -07:00
ParthSareen
76eb5a9dc9
tui: track live working directory
2026-06-12 16:28:58 -07:00