Repository navigation
feat(rap-protocol): let RAP servers inject system-prompt fragments via their manifest - #154
Open
akainth015 wants to merge 1 commit into
Open
akainth015 wants to merge 1 commit into
akainth015 wants to merge 1 commit into
Conversation
Deploying infinity with
|
| Latest commit: |
4220137
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4f8c710d.infinity-dc7.pages.dev |
| Branch Preview URL: | https://pr-rap-system-prompt.infinity-dc7.pages.dev |
akainth015
changed the base branch from
pr/steering-clone-order
to
pr/steering-suggest
October 19, 2026 18:16
akainth015
force-pushed
the
pr/rap-system-prompt
branch
from
October 19, 2026 18:16
52cda19 to
c4a0051
Compare
akainth015
force-pushed
the
pr/steering-suggest
branch
from
October 20, 2026 00:02
0e55d9a to
88bf442
Compare
akainth015
force-pushed
the
pr/rap-system-prompt
branch
from
October 20, 2026 00:04
c4a0051 to
a77efb3
Compare
akainth015
marked this pull request as draft
October 20, 2026 02:52
akainth015
force-pushed
the
pr/rap-system-prompt
branch
from
October 20, 2026 17:42
a77efb3 to
bf8bb75
Compare
akainth015
force-pushed
the
pr/steering-suggest
branch
from
October 20, 2026 17:42
88bf442 to
08dea80
Compare
…a their manifest * `ToolsetManifest` gains an optional `systemPrompt` field (omitted when `None`; servers and runtimes that predate it are unaffected). * When building a session's toolset, the daemon appends each booted server's fragment to the session's `extra_system_prompt` under a "## Instructions from the `<server>` tool server" header, in config order, so every thread of the session sees it. A server that is down contributes neither tools nor a fragment.
akainth015
force-pushed
the
pr/rap-system-prompt
branch
from
November 4, 2026 23:49
bf8bb75 to
4220137
Compare
akainth015
marked this pull request as ready for review
November 6, 2026 23:11
Member
|
For MCP servers, which lazily load / connect, I guess we will want to include instructions when you load the list of tools... Which makes me wonder if we should move some text from the tool descriptions in the MCP proxy into a |
shadaj
approved these changes
Nov 6, 2026
| let mut tools: Vec<Rc<dyn Tool<ChannelSender>>> = Vec::new(); | ||
| let mut tool_count = 0usize; | ||
| let mut server_prompts = String::new(); | ||
| for server in &servers { |
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.
Adds an optional
systemPromptfield to the RAP toolset manifest (/.well-known/rap-toolset), analogous to MCP'sinstructions.## Instructions from the `<server>` tool serverheader, in config order; all threads of the session see it.None, and older runtimes ignore it.Base of the steering stack (#155 builds on it).