Repository navigation
docs(persistent-ptys): the role summaries say what the daemon does - #973
Merged
Merged
Conversation
- `packages/process-daemon/src/service.rs:1461`: a Controller attach without takeover, while another attachment controls the terminal, bails with "terminal already has controller". - `packages/process-daemon/src/daemon/server.rs:674` and `service.rs:494-512`: attachment input is sent as a control request. - `service.rs:1322-1345`: a control request makes that attachment the controller and demotes the previous one. - `packages/server/src/handlers/model.ts:13,21`: the model endpoints wait for plugins (`awaitPlugins`).
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
What does this PR do?
It corrects the last two statements #887 lists. One is the
PersistentPtyRoleXML documentation, which ships in the package. The other is one getting-started sentence. No behaviour changes.PersistentPtyRole:Observersummary said an observer's "input is ignored".At the pinned upstream, both are wrong:
packages/process-daemon/src/service.rs:1461). It is never downgraded.packages/process-daemon/src/daemon/server.rs:674,service.rs:494-512). A control request makes that attachment the controller and demotes the previous one (service.rs:1322-1345). So observer input is accepted and promotes the attachment.I checked these at both v2.3.0 and v2.3.2. They now match the canon, the terminals guide and
PersistentPtySession(corrected earlier).docs/guide/getting-started.md: "the server exposes no activation barrier" contradicted the next point in the same list. The model and provider endpoints do wait for plugins (packages/server/src/handlers/model.ts:13,21), but for a bounded time. The sentence now says exactly that.The other places #887 lists (
client-runtime.md,docs/guide/terminals.md) were already corrected earlier. A repository grep finds no other statement of the downgrade or dropped-input assumption, and no SDK behaviour, test or sample relies on it.Related Issue(s):
Closes #887
🔄 Type of Change
🎯 Protocol & API Surface
spec/) is untouchedexternal/was hand-edited✅ Completion Gate
quality-gates.mdpasses on the head rebased ontomaster: whitespace, format/style, clones, slopwatch, the release build, all test projects, the API snapshots,generate --verify, the fixed point, Extensions and Native AOT.📚 Documentation
docs/guide/getting-started.md) updatedCHANGELOG.md: no entry. The behaviour doesn't change, only the wording that describes it.✅ Code Quality Checklist
🔍 Additional Notes
Breaking Changes: none. Dependencies: none.