@clickraft/cli 0.11.0 → 0.11.1
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 +2 -10
- package/dist/cli.js +8 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
## [0.11.
|
|
2
|
-
|
|
3
|
-
### Features
|
|
4
|
-
|
|
5
|
-
* **mcp:** type workflow_apply operations as a discriminated union ([8f34ef0](https://github.com/clickraft/cli/commit/8f34ef07cd77bcd0d18d769412acd78a92ec6914))
|
|
6
|
-
* **sdk:** add Phase 0 SDK↔server contract checker (report-only) ([88a153e](https://github.com/clickraft/cli/commit/88a153e821015b0384c1b4dd4c27d99b4d31060d))
|
|
1
|
+
## [0.11.1](https://github.com/clickraft/cli/compare/v0.11.0...v0.11.1) (2026-06-21)
|
|
7
2
|
|
|
8
3
|
### Bug Fixes
|
|
9
4
|
|
|
10
|
-
* **
|
|
11
|
-
* **mcp:** rename tool names to snake_case for MCP client name-pattern compliance ([a1f8db3](https://github.com/clickraft/cli/commit/a1f8db3fb893720dfb4437d26d7fc85ad57f7c4f))
|
|
12
|
-
* **mcp:** surface validation field errors in tool error results ([3519eeb](https://github.com/clickraft/cli/commit/3519eeb3b0b68518d86d383e28093ee4d8075ce0))
|
|
13
|
-
* **sdk:** make long-poll timeout deterministic vs abort race ([60c1a17](https://github.com/clickraft/cli/commit/60c1a173832e2c3eebd1e2635a9b912fa5408a6a))
|
|
5
|
+
* **cli:** widen models schema to accept server lifecycle fields and any-typed constraints ([47eedfa](https://github.com/clickraft/cli/commit/47eedfa0e126034fa5f46e29610cc626d3de8c32)), closes [#10](https://github.com/clickraft/cli/issues/10) [#R2-constraints](https://github.com/clickraft/cli/issues/R2-constraints) [8/#10](https://github.com/8/cli/issues/10)
|
|
14
6
|
|
|
15
7
|
# Changelog
|
|
16
8
|
|
package/dist/cli.js
CHANGED
|
@@ -2857,9 +2857,15 @@ var ModelSummarySchema = z14.object({
|
|
|
2857
2857
|
isDefault: z14.boolean(),
|
|
2858
2858
|
docsUrl: z14.string().nullable(),
|
|
2859
2859
|
llmContext: z14.string().nullable(),
|
|
2860
|
-
constraints
|
|
2860
|
+
// Server (AgentModelSchema) types constraints as any-typed (anyOf[{}, null]); mirror it with
|
|
2861
|
+
// z.unknown().nullable() rather than narrowing to object|null, so a non-object emit is accepted.
|
|
2862
|
+
constraints: z14.unknown().nullable(),
|
|
2861
2863
|
modelFamily: z14.string().nullable(),
|
|
2862
|
-
isFamilyPrimary: z14.boolean().nullable()
|
|
2864
|
+
isFamilyPrimary: z14.boolean().nullable(),
|
|
2865
|
+
// Optional lifecycle fields the server emits (string|null, absent when not set).
|
|
2866
|
+
deprecatedAt: z14.string().nullable().optional(),
|
|
2867
|
+
sunsetAt: z14.string().nullable().optional(),
|
|
2868
|
+
successorSlug: z14.string().nullable().optional()
|
|
2863
2869
|
}).strict();
|
|
2864
2870
|
var ModelsListResponseSchema = z14.object({
|
|
2865
2871
|
models: z14.array(ModelSummarySchema)
|