ParthSareen
4784290c9b
agent: use platform shell tool names
2026-06-26 17:26:38 -07:00
ParthSareen
b839fa49f0
agent: stabilize windows shell tool
2026-06-26 16:02:00 -07:00
ParthSareen
93bb382f9a
agent: improve shell and tui resilience
2026-06-26 15:45:34 -07:00
ParthSareen
8ed7b66d31
ci: restore golangci-lint PR filtering
2026-06-26 13:25:25 -07:00
ParthSareen
276afbf3a7
chore(agent): tidy module dependencies
2026-06-26 12:26:59 -07:00
ParthSareen
2ae9c05fbd
ci: run golangci-lint without PR diff filtering
2026-06-26 12:09:04 -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
f8750975c1
app/store: repair agent schema migration
2026-06-24 15:43:49 -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
eb76282573
app/store: add source column to hide agent chats from desktop app
2026-06-24 14:58:35 -07:00
ParthSareen
c47ad4f228
cmd: extract multimodal compat check into applyMultiModalCompat helper
2026-06-24 14:51:55 -07:00
ParthSareen
e785d4e8b9
agent: require approval for web_search and web_fetch tools
2026-06-24 14:48:59 -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
5e9c48cc40
agent: ignore image bytes in prompt estimates
2026-06-23 10:51:58 -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
c1ba011f64
agent: add event trace sink
2026-06-22 16:45:01 -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
d60a21fcaa
chore(agent): compact small contexts aggressively
2026-06-18 02:16:20 -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
c359d22a08
chore: note empty compaction summaries
2026-06-18 00:26:24 -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
ed6a3e6c4e
chore: untrack generated docs
2026-06-15 16:53:05 -07:00
ParthSareen
280b85f8a4
agent: harden tool loop and polish tui
2026-06-15 15:33:47 -07:00