feat(bookkeeping): show who committed a verifikat, and mark agent work in Granskning history (#1591)
Flows build plan prereq 3 (provenance display). Pure UI over columns that
have existed since migration 20260619120000:
- types: JournalEntry gains committed_actor_type/committed_actor_label
(the detail/chain APIs already select('*'), the type just lacked them)
- voucher detail: new "Bokford av" row in the Details card, derived from
actor type + credential label, with the Bot mark for non-user actors
- Granskning Historik rows get the same actor circle pending rows have
(Bot vs ClipboardCheck) so agent-originated history reads at a glance
- run-turn: correct the staged_operation params comment (tool-use input
is a superset of pending_operations.params, not the same values)
Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Jakob Wennberg
Claude Fable 5
parent
857dd575d0
commit
7881f757a9
@@ -77,9 +77,11 @@ export type StreamEvent =
|
||||
kind: 'staged_operation'
|
||||
tool_use_id: string
|
||||
tool_name: string
|
||||
// The tool-use input: the same values the staging tool stored as
|
||||
// pending_operations.params. Carried so chat previews that need
|
||||
// params (e.g. attach_document's DocumentViewButton) work live.
|
||||
// The tool-use input: a superset of what the staging tool stored as
|
||||
// pending_operations.params (it may also carry transport fields such
|
||||
// as idempotency_key/dry_run). Carried so chat previews that need
|
||||
// params (e.g. attach_document's DocumentViewButton) work live;
|
||||
// previews read only the fields they need.
|
||||
params: Record<string, unknown>
|
||||
staged: StagedOperationResult
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user