@zhin.js/adapter-sandbox 7.0.9 → 7.0.10

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @zhin.js/adapter-process
2
2
 
3
+ ## 7.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - eb84b77: fix: 更新文档,建立正确的依赖关系
8
+ - Updated dependencies [d3920e9]
9
+ - @zhin.js/core@1.5.10
10
+ - zhin.js@6.0.10
11
+ - @zhin.js/page@1.0.11
12
+ - @zhin.js/adapter@1.1.10
13
+
3
14
  ## 7.0.9
4
15
 
5
16
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Convention entry: discover `adapters/sandbox.ts` → defineAdapter.
4
4
  */
5
- import { defineAdapter } from '@zhin.js/adapter';
5
+ import { defineAdapter } from 'zhin.js/adapter';
6
6
  import { messageGatewayToken } from '@zhin.js/core/runtime';
7
7
  import { httpHostToken } from '@zhin.js/host-http';
8
8
  import { SandboxWsEndpoint } from "../lib/endpoint.js";
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Convention entry: discover `adapters/sandbox.ts` → defineAdapter.
3
3
  */
4
- import { defineAdapter } from '@zhin.js/adapter';
4
+ import { defineAdapter } from 'zhin.js/adapter';
5
5
  import { messageGatewayToken } from '@zhin.js/core/runtime';
6
6
  import { httpHostToken } from '@zhin.js/host-http';
7
7
  import { SandboxWsEndpoint } from '../src/endpoint.js';
package/lib/endpoint.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { EndpointInstance, EndpointSendRequest } from '@zhin.js/adapter';
1
+ import type { EndpointInstance, EndpointSendRequest } from 'zhin.js/adapter';
2
2
  import type { MessageGateway } from '@zhin.js/core/runtime';
3
3
  import type { HttpHost } from '@zhin.js/host-http';
4
- import type { CapabilityId } from '@zhin.js/plugin-runtime';
4
+ import type { CapabilityId } from 'zhin.js';
5
5
  import { type ResolvedSandboxBot } from './protocol.js';
6
6
  export interface SandboxEndpointOptions {
7
7
  readonly id: CapabilityId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-sandbox",
3
- "version": "7.0.9",
3
+ "version": "7.0.10",
4
4
  "description": "Zhin.js Sandbox adapter for Plugin Runtime (WebSocket /sandbox)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -48,15 +48,14 @@
48
48
  "dependencies": {
49
49
  "lucide-react": "^0.525.0",
50
50
  "react": "^19.2.8",
51
- "@zhin.js/adapter": "1.1.9",
51
+ "@zhin.js/adapter": "1.1.10",
52
52
  "@zhin.js/client": "2.1.8",
53
53
  "@zhin.js/console-contract": "1.0.1",
54
- "@zhin.js/core": "1.5.9",
54
+ "@zhin.js/core": "1.5.10",
55
55
  "@zhin.js/host-http": "1.0.10",
56
56
  "@zhin.js/im-contract": "1.0.3",
57
57
  "@zhin.js/logger": "1.0.76",
58
- "@zhin.js/page": "1.0.10",
59
- "@zhin.js/plugin-runtime": "1.1.6"
58
+ "@zhin.js/page": "1.0.11"
60
59
  },
61
60
  "devDependencies": {
62
61
  "@types/react": "^19.2.18",
@@ -64,18 +63,19 @@
64
63
  "typescript": "^6.0.3",
65
64
  "vitest": "^4.1.10",
66
65
  "ws": "^8.21.1",
67
- "@zhin.js/pagemanager": "2.0.16",
68
- "@zhin.js/runtime": "1.0.11"
66
+ "@zhin.js/pagemanager": "2.0.17",
67
+ "@zhin.js/runtime": "1.0.12",
68
+ "zhin.js": "6.0.10"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": "^19.0.0",
72
- "@zhin.js/adapter": "1.1.9",
72
+ "@zhin.js/adapter": "1.1.10",
73
73
  "@zhin.js/client": "2.1.8",
74
74
  "@zhin.js/console-contract": "1.0.1",
75
- "@zhin.js/core": "1.5.9",
75
+ "@zhin.js/core": "1.5.10",
76
76
  "@zhin.js/host-http": "1.0.10",
77
- "@zhin.js/page": "1.0.10",
78
- "@zhin.js/plugin-runtime": "1.1.6"
77
+ "@zhin.js/page": "1.0.11",
78
+ "zhin.js": "6.0.10"
79
79
  },
80
80
  "peerDependenciesMeta": {
81
81
  "react": {
package/plugin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated by build-plugin-runtime-entries.mjs. Do not edit.
2
- import { definePlugin } from '@zhin.js/plugin-runtime';
2
+ import { definePlugin } from 'zhin.js';
3
3
  export default definePlugin({
4
4
  name: 'sandbox',
5
5
  metadata: {
package/src/endpoint.ts CHANGED
@@ -2,11 +2,11 @@
2
2
  * SandboxWsEndpoint — WebSocket lifecycle and MessageGateway bridge for /sandbox.
3
3
  */
4
4
  import { randomUUID } from 'node:crypto';
5
- import type { EndpointInstance, EndpointSendRequest } from '@zhin.js/adapter';
5
+ import type { EndpointInstance, EndpointSendRequest } from 'zhin.js/adapter';
6
6
  import type { MessageGateway } from '@zhin.js/core/runtime';
7
7
  import type { HttpHost, WsConnection } from '@zhin.js/host-http';
8
8
  import { formatCompact, getAdapterLogger } from '@zhin.js/logger';
9
- import type { CapabilityId } from '@zhin.js/plugin-runtime';
9
+ import type { CapabilityId } from 'zhin.js';
10
10
  import {
11
11
  bindSandboxWsSocket,
12
12
  formatSandboxOutbound,