You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 706b49d
Browse filesBrowse the repository at this point in the historyBrowse files
|`LoadSessionRequest`|`handle_load_session`| like new_session; gated by `load_session(true)` capability |
204
204
|`ForkSessionRequest`|`handle_fork_session`| gated by `unstable_session_fork` + `SessionForkCapabilities`|
205
-
|`ListSessionsRequest`|`handle_list_sessions`| the editor's "Import Threads" picker; gated by `SessionListCapabilities`|
205
+
|`ListSessionsRequest`|`handle_list_sessions`| the editor's "Import Threads" picker; gated by `SessionListCapabilities`; paged with `cursor` / `nextCursor`|
206
206
|`PromptRequest`|`handle_prompt`| the turn: parse blocks → slash commands or tool-calling loop |
207
207
|`SetSessionConfigOptionRequest`|`handle_set_session_config_option`| the Zed model picker — switches/downloads models |
208
208
|`SetSessionModeRequest`|`handle_set_session_mode`| legacy mode selector; same Manual/Auto/Plan state as the Permissions config option |
209
209
|`CancelNotification`|`handle_cancel`| notification, no response |
210
+
|`$/cancel_request`|`responder.cancellation()`| not a registered handler: the SDK tracks it per request, and the prompt and `authenticate` closures read the marker |
210
211
211
212
Everything else is left to the SDK default (method not found).
Copy file name to clipboardExpand all lines: .agents/skills/sigit-code-release/SKILL.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,20 +17,20 @@ Use this skill when preparing a release for this repository.
17
17
## Working approach
18
18
19
19
1. Read the files that define the release version and distribution metadata before proposing any changes.
20
-
2. Treat `Cargo.toml` as the primary release version source for the Rust crate and the PyPI package in this repository.
20
+
2. Treat `[workspace.package].version` in the root `Cargo.toml` as the primary release version source for the Rust crate and the PyPI package in this repository.
21
21
3. Check how the release workflows rewrite or derive versions before editing checked-in npm or Python metadata.
22
22
4. Prefer targeted verification commands that match CI or packaging workflows already present in the repository.
23
23
5. Report blockers clearly: failed checks, version mismatches, missing changelog entries, or unpublished packaging changes.
24
24
25
25
## Repo-specific release rules
26
26
27
-
- Bump the crate version in `Cargo.toml`.
27
+
- Bump `[workspace.package].version` in the root `Cargo.toml`; every workspace crate inherits it.
28
28
- Update the root `sigit` package entry in `Cargo.lock` when the crate version changes.
29
29
- Add or update the top changelog entry in `CHANGELOG.md` for the release being cut.
30
30
- Do not treat `npm/sigit/package.json``0.0.0-dev` as a bug by default. The npm release workflow rewrites it at publish time using `npm/scripts/render-main-package.cjs` and the release tag.
31
31
- Every npm package publishes twice, under `@getsigit` and under `@smbcloud`. `@smbcloud` is the pre-1.5.5 name, mirrored so an install predating the rename keeps updating; `@getsigit` is canonical and is what the README, the Homebrew tap, and the ACP registry entry point at. All fourteen names (two base packages, twelve platform packages) publish over OIDC and each needs its own Trusted Publisher on npm pointing at `release-npm.yml`.
32
32
- The scope is a render-time argument, not a second copy of the packaging: `render-platform-package.cjs` takes it as a fifth argument, and the base package picks it up from `package-main.json.tmpl` versus `package-compat.json.tmpl`. `npm/sigit/src/index.ts` is built once and shipped under both names — it reads its own `package.json` at runtime to decide which scope to resolve the platform binary from, and prints the migration notice only when it finds itself running as `@smbcloud/sigit`.
33
-
- Do not add a hardcoded version to `pypi/pyproject.toml` for normal releases. PyPI uses `maturin` with `dynamic = ["version"]` and derives the published package version from `Cargo.toml`.
33
+
- Do not add a hardcoded version to `pypi/pyproject.toml` for normal releases. PyPI uses `maturin` with `dynamic = ["version"]` and derives the published package version from `crates/cli/Cargo.toml`, which inherits the workspace version.
34
34
- Release workflows are tag-driven. `release-github.yml`, `release-npm.yml`, `release-pypi.yml`, `release-crates.yml`, `release-homebrew.yml`, `release-nuget.yml`, and `release-mcp-registry.yml` all derive `RELEASE_VERSION` from a `v*.*.*` tag or a manually supplied tag input.
35
35
- The crate is published to crates.io (`release-crates.yml`) and the Homebrew tap is updated (`release-homebrew.yml`) as part of the tag-driven flow. Per the siGit release flow, Homebrew is auto-triggered — do not dispatch it manually.
36
36
-`release-github.yml` builds the binaries, attaches them (plus a `.deb`/`.rpm` per Linux target built with nfpm from `packaging/nfpm.yaml`) to the GitHub release, then dispatches `release-homebrew`, `release-scoop`, `release-winget`, and `release-aur`. A dispatch failure in any one of those four is logged as a warning, not a hard failure — an unconfigured channel doesn't block the rest of the release. `release-nuget.yml` and `release-mcp-registry.yml`, by contrast, are tag-triggered directly like the other language-registry workflows, not dispatched from `release-github.yml`.
0 commit comments