skaile-cli 6.2.0 → 6.3.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1108](https://github.com/skaile-ai/workspaces/pull/1108) [`e750e6d`](https://github.com/skaile-ai/workspaces/commit/e750e6db28a26fefe31a761c39ffb27fba501ffe) Thanks [@mortegro](https://github.com/mortegro)! - `@skaile/workspaces/ai-sdk`: `resolveLanguageModel`, `loadMergedProviderRegistry`.
8
+
9
+ - `resolveLanguageModel(selector, { projectDir?, env? })` turns a provider-registry selector (`<providerId>/<modelId>`, a bare model id or `@role`) into a ready AI SDK `LanguageModel` over the same merged registry the CLI reads, with the credential read from `env:` refs. It returns the model, `providerId`, `modelId`, the endpoint `baseUrl`, the `role` and the selector's parse `warnings`. The provider SDKs (`@ai-sdk/anthropic`, `@ai-sdk/openai`, `@ai-sdk/openai-compatible`) are optional peers, loaded for the entry's surface only; a missing package or an unsupported surface fails with an error that names it.
10
+ - `loadMergedProviderRegistry({ projectDir })` (from `@skaile/workspaces/bridge` and `./sdk/bridge`) is the two-pass registry load `skaile providers` always did, moved out of the CLI. The CLI's output is unchanged.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`e750e6d`](https://github.com/skaile-ai/workspaces/commit/e750e6db28a26fefe31a761c39ffb27fba501ffe)]:
15
+ - @skaile/workspaces@6.3.0
16
+
3
17
  ## 6.2.0
4
18
 
5
19
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skaile-cli",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "description": "Run the Skaile CLI via `npx skaile-cli` — thin wrapper around @skaile/workspaces",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "asset-manager"
26
26
  ],
27
27
  "dependencies": {
28
- "@skaile/workspaces": "6.2.0"
28
+ "@skaile/workspaces": "6.3.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"