Version Packages - #81
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
July 15, 2026 02:04
408bbc2 to
82f12f1
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 18, 2026 16:45
82f12f1 to
0e85131
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@harpua/agent-tools@0.8.1
Patch Changes
693f878:
prepareChunks(markdown, options?)— export the pure chunk-prep half ofingest()(field report ci(release): pin npm to 11.5.1 (npm@latest broke provenance/sigstore) #18): chunk → sanitize → junk-filter → embed-textformatting, with no embedding or storage. A consumer running its own
embed/upsert path into a separate collection no longer needs a hand-rolled
duplicate of
embeddingInputForand the alnum junk floor just to keep chunkgeometry in sync with
ingest()— they callprepareChunksdirectly andget the same
{ text, embedText, chunkIndex, startLine, endLine, headingTrail }per chunk thatingest()embeds and stores.Options are the same four chunking knobs
ingest()exposes(
maxChunkChars,minAlnumChars,embedHeadingTrail,sanitize), samedefaults, same strict zod validation (unknown keys throw).
ingest()itselfnow composes over
prepareChunks— the embed/upsert half is all that's leftinline — so there is exactly one code path for chunk geometry and
embedding-input formatting; direct
prepareChunkscallers andingest()can never drift apart.
e3728ce:
SkillRegistryskip visibility (field report Version Packages #17): a consumer's skill silentlytripped the 16KB
SKILL.mdbody cap and cost an hour of misdiagnosis becausethe only trace was a generic
onWarnstring — skips were a log, not data.rescan()now also returnsskippedSkills: { name, reason }[](one entry perskip,
reasonthe same detail sent toonWarnminus theskills:prefix),so a caller can actually act on a skip instead of grepping console output.
Frontmatter failures — a bad
namevs. an emptydescription— previouslyfolded into one generic "no valid frontmatter" reason; the structured
reason(never theonWarntext, which stays byte-identical for existingparsers) now folds in the first zod issue so the two are distinguishable.
Separately, a directory with no
SKILL.mdat all (a misnamedskill.md?)now gets a single
onWarnline instead of skipping silently — it stillisn't counted in
skipped/skippedSkills, since it was never a skillcandidate.
renderSkillMenualso grows an optionalopts.headerso acaller can swap the leading TOC line; omitting it reproduces the exact
current bytes, keeping the prompt cache warm for everyone who doesn't need it.
@harpua/langgraph@0.6.2
Patch Changes
1e57a51:
askUserTool(options?)— a new model-callable tool that lets the model askthe user one or more typed questions and get answers back as the tool result
mid-turn, instead of emitting a question as prose for a host to reconstruct
after the fact. It joins
requireApprovalas the second member of theinterrupt vocabulary: it pauses with
{ type: "ask_user_request", intro?, questions }, and the host resumes with{ answers: [...] }(index-alignedto
questions) or{ dismissed: true, reason? }for headless hosts.Ships with a flat default question preset (
prompt,inputType:select/multi_select/boolean/free_text,options?) that normalizesselect/multi_selectchoices (trim, drop empties, dedupe, coerce tofree_textbelow 2 survivors) — or bring your ownquestionSchema(any zodtype extending
{ prompt: string }) andserializeAnswers.