Add streaming and JSON support to cli prompt command#6
Merged
curtisman merged 1 commit intomicrosoft:mainfrom Aug 9, 2024
curtisman:prompt
Merged
Add streaming and JSON support to cli prompt command#6curtisman merged 1 commit intomicrosoft:mainfrom curtisman:prompt
cli prompt command#6curtisman merged 1 commit intomicrosoft:mainfrom
curtisman:prompt
Conversation
curtisman
added a commit
to curtisman/TypeAgent
that referenced
this pull request
Mar 28, 2026
- Group trailingSepAdvanced with the directionSensitive decision tree under a shared section header for better locality (microsoft#7) - Add invariant comment: openWildcard requires a preceding keyword match so P > 0 whenever openWildcard is true (#1) - Add JSDoc to couldBackUp return field in tryPartialStringMatch (microsoft#5) - Compact equivalence analysis tables in actionGrammar.md from 5-column wide format to 3-column for readability in narrow contexts (microsoft#6)
curtisman
added a commit
to curtisman/TypeAgent
that referenced
this pull request
Mar 29, 2026
Fix four bugs in grammarCompletion.ts exposed by a new truncated-forward invariant (result on full input must equal forward on input[0..mpl]): - Category 3a backward: fall through to collectPropertyCandidate when tryCollectBackwardCandidate returns false, so property slots are not silently dropped. - Phase B1 backward separator-only gap: preserve fixedCandidates when advancing maxPrefixLength across a separator-only gap instead of clearing them. - Range candidate truncation: pass prefix.substring(0, maxPrefixLength) to tryPartialStringMatch so range candidates don't peek beyond mpl. - gapIsSeparatorOnly: use anchor !== maxPrefixLength instead of a partial keyword is present. Add assertTruncatedForwardInvariant to testUtils.ts and explicit backward test cases for each fix.
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.
--streamto enable streaming.--jsonto enable JSON format.--modelto select model.cli promptcommand