@net-mesh/core 0.27.0-beta.1 → 0.27.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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-mesh/core",
3
- "version": "0.27.0-beta.1",
3
+ "version": "0.27.0",
4
4
  "description": "High-performance, schema-agnostic event bus for AI runtime workloads",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -46,7 +46,7 @@
46
46
  "license": "Apache-2.0",
47
47
  "repository": {
48
48
  "type": "git",
49
- "url": "https://github.com/ai-2070/net"
49
+ "url": "git+https://github.com/ai-2070/net.git"
50
50
  },
51
51
  "keywords": [
52
52
  "event-bus",
@@ -97,13 +97,13 @@
97
97
  "node": ">=20"
98
98
  },
99
99
  "optionalDependencies": {
100
- "@net-mesh/core-win32-x64-msvc": "0.27.0-beta.1",
101
- "@net-mesh/core-win32-arm64-msvc": "0.27.0-beta.1",
102
- "@net-mesh/core-darwin-x64": "0.27.0-beta.1",
103
- "@net-mesh/core-darwin-arm64": "0.27.0-beta.1",
104
- "@net-mesh/core-linux-x64-gnu": "0.27.0-beta.1",
105
- "@net-mesh/core-linux-x64-musl": "0.27.0-beta.1",
106
- "@net-mesh/core-linux-arm64-gnu": "0.27.0-beta.1",
107
- "@net-mesh/core-linux-arm64-musl": "0.27.0-beta.1"
100
+ "@net-mesh/core-win32-x64-msvc": "0.27.0",
101
+ "@net-mesh/core-win32-arm64-msvc": "0.27.0",
102
+ "@net-mesh/core-darwin-x64": "0.27.0",
103
+ "@net-mesh/core-darwin-arm64": "0.27.0",
104
+ "@net-mesh/core-linux-x64-gnu": "0.27.0",
105
+ "@net-mesh/core-linux-x64-musl": "0.27.0",
106
+ "@net-mesh/core-linux-arm64-gnu": "0.27.0",
107
+ "@net-mesh/core-linux-arm64-musl": "0.27.0"
108
108
  }
109
109
  }
package/tool.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { CallOptions, TypedMeshRpc } from './mesh_rpc';
2
+ import type { CapabilitySetJs } from './index';
2
3
  /**
3
4
  * Structural shape of the napi `NetMesh.listTools()` return value
4
5
  * — field-for-field the same as [`ToolDescriptor`]. Declared here
@@ -27,33 +28,6 @@ interface NativeToolWatchIter {
27
28
  interface MeshWithWatchTools {
28
29
  watchTools(intervalMs?: number | null): Promise<NativeToolWatchIter>;
29
30
  }
30
- /**
31
- * Structural mirror of the napi `ToolJs` capability-fold entry —
32
- * declared here, like the shapes above, so this file type-checks
33
- * before `napi build` regenerates `index.d.ts`. Field-for-field
34
- * identical to `index.d.ts`'s `ToolJs`.
35
- */
36
- interface ToolJs {
37
- toolId: string;
38
- name?: string;
39
- version?: string;
40
- inputSchema?: string;
41
- outputSchema?: string;
42
- requires?: Array<string>;
43
- estimatedTimeMs?: number;
44
- stateless?: boolean;
45
- }
46
- /**
47
- * Structural mirror of the napi `CapabilitySetJs`, narrowed to the
48
- * two fields `addToolCapabilitiesToAnnounce` reads/writes. Every napi
49
- * `CapabilitySetJs` field is optional, so this narrower shape stays
50
- * assignable in both directions — a full capability set passes in,
51
- * and the returned object still flows into `announceCapabilities(...)`.
52
- */
53
- interface CapabilitySetJs {
54
- tags?: Array<string>;
55
- tools?: Array<ToolJs>;
56
- }
57
31
  /**
58
32
  * Discovery shape for an AI tool, as advertised on the capability
59
33
  * fold. One row per `(tool_id, version)`; `nodeCount` is filled by