@zhin.js/service-typesafe 1.0.17 → 1.0.18

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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -5
  3. package/plugin.js +1 -1
package/README.md CHANGED
@@ -68,7 +68,7 @@ pnpm --filter @zhin.js/service-typesafe build
68
68
  Tests run the installed official SDK against synthetic HTTP fixtures. They do not establish real-account accuracy, latency, availability, provider permission or production cost.
69
69
 
70
70
 
71
- The target interface requires the coordinated Provider release: `@zhin.js/ai >=1.1.51` and `@zhin.js/ai-provider >=1.0.0` (planned, not published by this change). Upgrade the Host and plugin together; the [migration guide](../../../docs/ai/provider-upgrade.md) lists the full version boundary. The root exports `typeSafeProvider` and safe decision errors; the old API-key constructor and its configuration type are no longer public author APIs.
71
+ The target interface requires the coordinated Provider release: `@zhin.js/ai >=1.1.51` (`@zhin.js/ai/provider`). Upgrade the Host and plugin together; the [migration guide](../../../docs/ai/provider-upgrade.md) lists the full version boundary. The root exports `typeSafeProvider` and safe decision errors; the old API-key constructor and its configuration type are no longer public author APIs.
72
72
 
73
73
 
74
74
  ## Migrating the former plugin configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/service-typesafe",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Optional TypeSafe AI Jev decision provider for Zhin",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -21,17 +21,16 @@
21
21
  ],
22
22
  "dependencies": {
23
23
  "@typesafe-ai/sdk": "^0.6.0",
24
- "@zhin.js/ai": "1.1.52",
25
- "@zhin.js/ai-provider": "1.0.2"
24
+ "@zhin.js/ai": "1.1.53"
26
25
  },
27
26
  "peerDependencies": {
28
- "zhin.js": "^1.1.22"
27
+ "zhin.js": "^1.1.23"
29
28
  },
30
29
  "devDependencies": {
31
30
  "@types/node": "^26.1.2",
32
31
  "typescript": "^6.0.3",
33
32
  "vitest": "^4.1.10",
34
- "zhin.js": "1.1.22"
33
+ "zhin.js": "1.1.23"
35
34
  },
36
35
  "engines": {
37
36
  "node": ">=22.19.0"
package/plugin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // Generated by build-plugin-runtime-entries.mjs. Do not edit.
2
2
  import { definePlugin } from 'zhin.js';
3
- import { provideAiProviders } from '@zhin.js/ai-provider';
3
+ import { provideAiProviders } from '@zhin.js/ai/provider';
4
4
  import { typeSafeProvider } from "./lib/provider.js";
5
5
  export default definePlugin({
6
6
  name: 'typesafe',