The credentials read returns service, account, role, date kind, date and state for the capability's business, to human and reader sessions only. It never returns a token, file path or variable name. Author Filbert, reviewers Dewey (27558) and Darkwing (27575), candidate manifest 13541657. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
430 B
JavaScript
12 lines
430 B
JavaScript
// Shared by the S4 CLI and S5 WebUI. Client-only: never opens bus.sqlite.
|
|
export function views(client) {
|
|
return Object.freeze({
|
|
inbox: () => client.call('inbox'),
|
|
tasks: () => client.call('tasks'),
|
|
agents: () => client.call('agents'),
|
|
trail: (subject) => client.call('trail', { subject }),
|
|
decisions: (list) => client.call('decisions', { list }),
|
|
credentials: () => client.call('credentials'),
|
|
});
|
|
}
|