π¦ New version release#30
Merged
Merged
Conversation
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-operator-core@0.6.0
Minor Changes
26b4489: SEP Phase 4 (engine) β commands, session actions, and hot reload.
ExtensionHostgains the command surface and the command-tier deadlock guard:run_command(ext, command, arguments)sendscommand/executeto the owning extension with a COMMAND-tier context;complete_command(...)round-tripscommand/completefor argumentautocomplete (best-effort β an extension without a completer yields no
suggestions, never an error).
commands()andshortcuts()surface theregistered slash-commands and keyboard shortcuts for a frontend's palette.
HostDelegategrowssession_send_message,session_send_user_message(deliver_assteer/follow_up/next_turn), andsession_append_entry. The headless engine has no session, so the defaultsreport
-32004 CapabilityDisabled; frontends with a session store overridethem. Every session action is gated by
validate_command_context: it mustpresent a COMMAND-tier context whose epoch is still current, else
-32003 ContextViolationβ fired inHostInboundBEFORE the delegate runs.reload(name)notifies the extension (session_shutdownreason
reload), bumps the shared epoch so every context token it still holdsis invalidated, respawns the subprocess (the generation guard discards late
replies from the dead child), re-runs
initialize, and notifies it again(
session_startreasonreload). The manifest's declared-events clamp isre-applied so a restart can never widen a project extension's subscriptions.
New protocol types (
CommandExecuteParams/Result,CommandCompleteParams/Result,Completion,ShortcutRegistration,DeliverAs,Session*Params), anInitializeParams.flagsmap for delivering parsed CLI flag values, and aRegistrations.shortcutslist. The referencesep-echo-peerregisters a commandcommand/execute/command/complete. Purely additive:with no extension host attached the agent loop is unchanged.