@vibesdotdev/runtime-plugin-types 0.0.1 → 0.0.2

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 +21 -2
  2. package/package.json +7 -8
  3. package/SPEC.md +0 -14
package/README.md CHANGED
@@ -1,3 +1,22 @@
1
- # runtime-plugin-types
1
+ # @vibesdotdev/runtime-plugin-types
2
2
 
3
- Houses the daemon command-handler interface types (`CommandHandler`, `RuntimeCommandDeps`, `RuntimeCommandPayload`, `RuntimeCommandResult`, etc.) that both `runtime-plugin` and `storage` depend on. This breaks the `storage → runtime-plugin` import cycle by giving both packages a shared dependency on this leaf package instead.
3
+ Shared TypeScript contracts for Vibes runtime plugins and descriptors.
4
+
5
+ This package is part of the public Vibes framework package set. The source repository is private while the public repository split is being prepared, so package documentation is published on the Vibes docs site.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ bun add @vibesdotdev/runtime-plugin-types
11
+ # or
12
+ npm install @vibesdotdev/runtime-plugin-types
13
+ ```
14
+
15
+ ## Documentation
16
+
17
+ - Package guide: https://docs.vibes.dev/packages/runtime-plugin-types
18
+ - Vibes docs: https://docs.vibes.dev
19
+
20
+ ## License
21
+
22
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibesdotdev/runtime-plugin-types",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -16,13 +16,8 @@
16
16
  "registry": "https://registry.npmjs.org",
17
17
  "access": "public"
18
18
  },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/vibesdotdev/monorepo.git",
22
- "directory": "packages/runtime-plugin-types"
23
- },
24
19
  "peerDependencies": {
25
- "@vibesdotdev/runtime": "0.0.1"
20
+ "@vibesdotdev/runtime": "0.0.2"
26
21
  },
27
22
  "scripts": {
28
23
  "check": "bun --bun tsc -p tsconfig.json --noEmit",
@@ -34,7 +29,6 @@
34
29
  "src",
35
30
  "bin",
36
31
  "README.md",
37
- "SPEC.md",
38
32
  "LICENSE",
39
33
  "!src/**/__tests__/**",
40
34
  "!src/**/__stubs__/**",
@@ -55,5 +49,10 @@
55
49
  ],
56
50
  "vibes": {
57
51
  "visibility": "public-framework"
52
+ },
53
+ "description": "Shared TypeScript contracts for Vibes runtime plugins and descriptors.",
54
+ "homepage": "https://docs.vibes.dev/packages/runtime-plugin-types",
55
+ "bugs": {
56
+ "url": "https://docs.vibes.dev/packages/runtime-plugin-types#support"
58
57
  }
59
58
  }
package/SPEC.md DELETED
@@ -1,14 +0,0 @@
1
- # @vibesdotdev/runtime-plugin-types
2
-
3
- Owns the daemon command-handler interface types used by both `@vibesdotdev/runtime-plugin` and `@vibesdotdev/storage`.
4
-
5
- ## Types
6
-
7
- - `CommandHandler` — function signature for daemon command handlers
8
- - `RuntimeCommandDeps` — deps injected into handlers (runtime instance, subscription manager, health getter)
9
- - `RuntimeCommandEnvelope` — IPC envelope shape
10
- - `RuntimeCommandPayload` — `Record<string, unknown>`
11
- - `RuntimeCommandResult` — result shape with `success: boolean`
12
- - `SubscriptionManager` — SSE connection manager interface
13
- - `SubscriptionChannel` — supported subscription channel names
14
- - `SSEEvent` — SSE event payload shape