Skip to content

refactor(plugin): rename session request kind "session" to "primary" - #47221

Merged
rekram1-node merged 1 commit into
v2from
kind-primary
Sep 4, 2026
Merged

rekram1-node merged 1 commit into
v2from
kind-primary

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #47214. Renames the agent-loop value of SessionRequestKind from "session" to "primary":

export type SessionRequestKind = "primary" | "compaction" | "title" | "generate"

"session" named the container, not the request. "primary" marks the loop call as the one the auxiliary kinds serve, matching the main/auxiliary split used elsewhere (Hermes call_role: primary, Codex request_kind: turn vs. auxiliaries).

Mechanical rename across plugin types, the runner call site, tests, and docs. No behavior change.

"session" named the container rather than the request. "primary" marks
the agent-loop call as the one the auxiliary kinds (compaction, title,
generate) serve, matching the main/auxiliary split other harnesses use.
@rekram1-node
rekram1-node merged commit 89478b3 into v2 Sep 4, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the kind-primary branch September 4, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant