Add session permission mode and confirmation detail #19

Merged
weichen merged 1 commits from feature/permission-hooks into main 2026-10-03 17:06:48 +00:00
Owner

Why: The product needs a session mode and a field for the argument preview.

Evidence: go test . passed. New fields use omitempty.

Impact: Empty permission mode still means the profile policy.

Refs: feature/permission-hooks

Why: The product needs a session mode and a field for the argument preview. Evidence: go test . passed. New fields use omitempty. Impact: Empty permission mode still means the profile policy. Refs: feature/permission-hooks
weichen added 1 commit 2026-10-03 17:06:20 +00:00
Why: The product needs a session mode and a place to show tool arguments on a confirmation card without inventing a second card type.
Evidence: GOWORK=off go test . passed. New fields use omitempty, so existing golden JSON stays the same.
Impact: Empty permission mode still means the profile policy. Clients that ignore unknown fields keep working.
Refs: feature/permission-hooks
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit b7e5baf15c into main 2026-10-03 17:06:48 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#19