@sayknow-cli/coding-agent 0.5.9 → 0.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/types/config/model-profile-activation.d.ts +3 -1
- package/dist/types/config/model-registry.d.ts +2 -0
- package/dist/types/tools/ask.d.ts +460 -172
- package/package.json +7 -7
- package/src/cli/telegram-cli.ts +1 -1
- package/src/config/model-profile-activation.ts +7 -11
- package/src/config/model-profiles.ts +25 -1
- package/src/config/model-registry.ts +76 -4
- package/src/config/model-resolver.ts +4 -2
- package/src/defaults/skc/extensions/grok-cli-vendor/src/models/catalog.ts +23 -2
- package/src/defaults/skc/skills/deep-interview/SKILL.md +12 -0
- package/src/internal-urls/docs-index.generated.ts +2 -2
- package/src/modes/components/settings-selector.ts +39 -21
- package/src/modes/controllers/selector-controller.ts +35 -15
- package/src/modes/rpc/rpc-client.ts +20 -4
- package/src/sdk/bus/index.ts +1 -3
- package/src/tools/ask.ts +366 -108
- package/src/tools/bisect.ts +4 -1
- package/src/web/search/providers/xai.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.5.11] - 2026-09-10
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Telegram tool activity and reasoning summaries flow again. The native notifications server (`crates/skc-notifications`) still admitted only the legacy `tool_activity_v1` token while the daemon and SDK host negotiated `tool_activity_v2`, so every tool-activity and reasoning-summary frame was silently dropped. Ported the upstream protocol constants: v2 is canonical, v1 stays receive-only for legacy clients.
|
|
10
|
+
- `bisect` recognizes git 2.55's quoted convergence line (`<sha> is the first 'bad' commit`). On newer git every bisect ran to the step limit and reported no conclusion.
|
|
11
|
+
- `/resume` with an explicit `--session-dir` no longer fails closed: the interactive selector called the managed-only candidate preparation unconditionally. It now lists through the read-only picker inventory, uses strict adoption only for managed destinations, and tags switches with the selector resume origin.
|
|
12
|
+
- Model registry: `getAvailable()` is memoized (keyed on disabled providers and credential env, invalidated on auth-generation changes and catalog rebuilds), provider-discovery 401/403 errors name the provider and the `providers.<id>.apiKey` / `apiKeyEnv` surface through a redacted URL, and the resolver forwards the session id so parent-session canonical stickiness reaches bare subagent overrides.
|
|
13
|
+
- Thinking/effort selector awaits the session's control-level change and surfaces errors instead of closing optimistically. Command palette hints use the configured key display strings.
|
|
14
|
+
- Status line custom editor caught up with upstream: usage-mode row, stable description-area height, parent preview refresh on edit and cancel, and `usage` merged into segment options.
|
|
15
|
+
- Hidden `__gateway` telegram subcommand imports `@sayknow-cli/telegram-remote` by package name instead of a cross-package relative path that does not exist in published installs.
|
|
16
|
+
- Deep-interview skill: ported the "Per-question advisory fanout lanes" subsection that the v0.5.0 sync missed.
|
|
17
|
+
- Stdio RPC client reports the child's exit code and stderr when the child exits before `ready`, instead of a misleading JSONL parse error.
|
|
18
|
+
- `ask` tool caught up with the SDK contract: the parameter schema is stage-gated for deep interviews (topology vs post-topology vs ordinary asks), and SDK-routed asks consume the typed `awaitAnswerRequest` receipt and settlement (commit / resolve-without-commit / invalid) instead of only the legacy `awaitAnswer` path, so remote answers fire at invocation time.
|
|
19
|
+
- Model profile activation raises typed `UnknownModelProfileError` / registry errors, so an SDK child that fails profile activation reports `code` and `details` through readiness and `BrokerResponse` instead of a bare `spawn_failed`.
|
|
20
|
+
- SDK host shutdown awaits the native notifications server's `stopAndWait()`; a failing stop is no longer recorded as a successful `hostStopped` during rollback.
|
|
21
|
+
- `mupdf` compiled-binary test and the Python SDK real-session tests run against whichever native addon variant CI built.
|
|
22
|
+
|
|
23
|
+
### CI
|
|
24
|
+
|
|
25
|
+
- Main CI is green again for the first time since the v0.11.6 sync. The `runtime-check` shard now downloads the native addon artifact, the planner (`scripts/ci-dev-affected.ts`) was rebuilt on the upstream v0.12.0 model with the fork's deltas (including the isolated production SDK host shard), the install smoke Dockerfile publishes the platform native packages, and roughly one hundred stale test contracts carried over from the v0.11.6/v0.12.0 syncs (rebrand strings, retired `--mode rpc`, catalog growth, default theme, golden HMAC domains) were realigned to the fork's intended behavior without removing or skipping tests.
|
|
26
|
+
|
|
27
|
+
## [0.5.10] - 2026-09-10
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Added built-in `grok-46-{eco,medium,pro}` model profiles for official `xai/grok-4.6` (500K context, reasoning effort through `xhigh`). xAI provider recommendation now defaults to `grok-46-medium`, web search defaults to `grok-4.6`, and the Grok CLI vendor catalog registers the model with the documented effort cap.
|
|
32
|
+
|
|
5
33
|
## [0.5.9] - 2026-09-10
|
|
6
34
|
|
|
7
35
|
### Fixed
|
|
@@ -17,7 +17,9 @@ type ModelProfileActivationSession = Pick<AgentSession, "model" | "thinkingLevel
|
|
|
17
17
|
};
|
|
18
18
|
export interface PrepareModelProfileActivationOptions {
|
|
19
19
|
session: ModelProfileActivationSession;
|
|
20
|
-
modelRegistry: Pick<ModelRegistry, "getModelProfile" | "getModelProfiles" | "getAvailableModelProfileNames" | "getApiKeyForProvider" | "getAll" | "resolveCanonicalModel" | "getCanonicalVariants" | "getCanonicalId"
|
|
20
|
+
modelRegistry: Pick<ModelRegistry, "getModelProfile" | "getModelProfiles" | "getAvailableModelProfileNames" | "getApiKeyForProvider" | "getAll" | "resolveCanonicalModel" | "getCanonicalVariants" | "getCanonicalId"> & {
|
|
21
|
+
getError?: ModelRegistry["getError"];
|
|
22
|
+
};
|
|
21
23
|
settings: Pick<Settings, "get">;
|
|
22
24
|
profileName: string;
|
|
23
25
|
}
|
|
@@ -319,6 +319,8 @@ export interface ProviderDiscoveryState {
|
|
|
319
319
|
export interface CanonicalModelQueryOptions {
|
|
320
320
|
availableOnly?: boolean;
|
|
321
321
|
candidates?: readonly Model<Api>[];
|
|
322
|
+
/** Session whose canonical stickiness should scope the lookup, when the caller has one. */
|
|
323
|
+
sessionId?: string;
|
|
322
324
|
}
|
|
323
325
|
/**
|
|
324
326
|
* Model registry - loads and manages models, resolves API keys via AuthStorage.
|