π¦ New version release#152
Merged
Merged
Conversation
83d7920 to
ddeaf10
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
@smooai/smooth-extension-sdk@0.5.0
Minor Changes
0953584: SEP Phase 4 (spec + SDK) β commands, flags, shortcuts, and session actions.
Spec. New
command-complete.schema.json(argument autocomplete).session.schema.jsonnow carries the dispatchcontexton every params object (the wire form of the command-tier + epoch guard the host enforces) and addssend_user_message(deliver_assteer/follow_up/next_turn).initialize.schema.jsongains aflagsdelivery map on the params and ashortcutslist (+ShortcutRegistration) on the registrations. New conformance fixtures for command/complete, session send_user_message/append_entry, shortcuts, and flag delivery; new$invalidcases provingcontextis required on a session action andvalueon a completion. The referenceecho.mjsregisters a command + shortcut and answers command/execute + command/complete.SDK.
smooth.registerCommand(with an optionalcompletecompleter),registerFlag(+smooth.getFlag), andregisterShortcut. Command handlers receive aCommandContextbound to their command-tier context, exposingsession.sendMessage/sendUserMessage/appendEntry,ui,hasUI, andargs.createTestHostgainsrunCommand,completeCommand, and asession/*service that enforces the same command-tier guard the engine does (event-tier β -32003), recording every session call for assertions.runConformancenow replays command/execute + command/complete.Demo.
plan-modeβ the flagship extension that exercises phases 2β4 together: a--planflag and a/plancommand toggle plan mode; atool_callintercept blocks write/edit/apply_patch/bash while it is on; each toggle pushes aset_widgetrender block and persists an LLM-invisibleappendEntry, so the state survives a hot reload (the flag re-seeds it, the transcript keeps the history).@smooai/smooth-operator@1.11.4
Patch Changes
0953584: SEP Phase 4 (spec + SDK) β commands, flags, shortcuts, and session actions.
Spec. New
command-complete.schema.json(argument autocomplete).session.schema.jsonnow carries the dispatchcontexton every params object (the wire form of the command-tier + epoch guard the host enforces) and addssend_user_message(deliver_assteer/follow_up/next_turn).initialize.schema.jsongains aflagsdelivery map on the params and ashortcutslist (+ShortcutRegistration) on the registrations. New conformance fixtures for command/complete, session send_user_message/append_entry, shortcuts, and flag delivery; new$invalidcases provingcontextis required on a session action andvalueon a completion. The referenceecho.mjsregisters a command + shortcut and answers command/execute + command/complete.SDK.
smooth.registerCommand(with an optionalcompletecompleter),registerFlag(+smooth.getFlag), andregisterShortcut. Command handlers receive aCommandContextbound to their command-tier context, exposingsession.sendMessage/sendUserMessage/appendEntry,ui,hasUI, andargs.createTestHostgainsrunCommand,completeCommand, and asession/*service that enforces the same command-tier guard the engine does (event-tier β -32003), recording every session call for assertions.runConformancenow replays command/execute + command/complete.Demo.
plan-modeβ the flagship extension that exercises phases 2β4 together: a--planflag and a/plancommand toggle plan mode; atool_callintercept blocks write/edit/apply_patch/bash while it is on; each toggle pushes aset_widgetrender block and persists an LLM-invisibleappendEntry, so the state survives a hot reload (the flag re-seeds it, the transcript keeps the history).