feat(types): add load_project_skills flag to AgentContext#194
Merged
Conversation
Surfaces the load_project_skills opt-in flag added to AgentContext in software-agent-sdk v1.24.0 (#3346). Lets the agent-server auto-load project skills from the conversation workspace; the field flows through as-is on conversation start.
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.
Summary
Surfaces the
load_project_skillsopt-in flag added toAgentContextin software-agent-sdk #3346 (shipped in v1.24.0). Whentrue, the agent-server auto-loads project skills from the conversation workspace on the firstsend_message()/run().Why this is the only change needed
AgentContextinsrc/types/base.tsalready has an[key: string]: unknownescape hatch, so callers could pass the field today — but it wouldn't show up in autocomplete or type checks. This PR types the field explicitly. No endpoint or runtime change is required; the field flows through as-is on conversation start.Stacked on #193
This branch is cut from
chore/bump-agent-server-v1.24.0. Base will auto-retarget tomainonce #193 merges.Out of scope
The sibling flags
load_user_skillsandload_public_skillsare also untyped on the TS-side. Adding them is consistency cleanup, not part of v1.24.0 — happy to do in a follow-up if you want.Test plan
npm run build(already green locally)agent_context: { load_project_skills: true }and confirm it type-checks.