Bridge sessions.send: additive keys and wait params #344
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis#344
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #326 item 3 (bridge = explicitly smaller session-automation surface).
sessions.sendon the bridge takessession,text,rawonly. The CLI's--key <chord>and--wait [--timeout]have no bridge counterpart. The oldop_sendcomment said a chord needs the session's live keyboard modes on the client; that is false:InputMsg::Keyis admitted on an attached Ops link and the daemon encodes it against the modes it owns (felis.protoarmkey = 10,session_task.rs). The omission is surface policy, and both are additive optional params under thev:1rule, so they were not added blind before the freeze.Scope
keys: [<chord>, …]onsessions.send: same chord grammar as--key(parse_chord_arg), sameInputMsg::Keyafter the text, same 32-byte cap andinvalid_requestrefusal.wait: true/timeout: <secs>onsessions.send: the CLI's prompt-mark wait; the result gainsexit_codeassend --waitdoes. Needs the bridge's per-session link to subscribe before the input is injected, ascmd_senddoes.felis-bridge-v1.schema.jsonregenerated (additive),cli.mdbridge op table,skills/felisbridge bullet, golden conversations.Do this when a bridge client needs it; nothing in the tree does today.