@directive-run/claude-plugin 1.19.1 → 1.19.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@directive-run/claude-plugin",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.2",
|
|
4
4
|
"description": "Claude Code plugin for Directive — 12 skills covering modules, constraints, resolvers, derivations, AI orchestration, and adapters. Installable via Claude Code's plugin marketplace or consumable programmatically as an npm package.",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"author": "Jason Comes",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tsx": "^4.19.2",
|
|
53
53
|
"typescript": "^5.7.2",
|
|
54
54
|
"vitest": "^3.0.0",
|
|
55
|
-
"@directive-run/knowledge": "1.19.
|
|
55
|
+
"@directive-run/knowledge": "1.19.2"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsx scripts/build-skills.ts && tsup",
|
|
@@ -189,11 +189,13 @@ publish closure (if any) receives lifecycle events.
|
|
|
189
189
|
> holder from two places (e.g., a Worker that mounts one Directive
|
|
190
190
|
> system per tenant DO), a module-level `let publishRef` would be
|
|
191
191
|
> SHARED — the second tenant's `attach` would silently overwrite the
|
|
192
|
-
> first tenant's pipe. **Always
|
|
193
|
-
> factory function** so
|
|
194
|
-
>
|
|
195
|
-
>
|
|
196
|
-
>
|
|
192
|
+
> first tenant's pipe. **Always construct BOTH the adapter AND the
|
|
193
|
+
> module inside the same factory function** so the adapter's
|
|
194
|
+
> `events` callbacks close over the same factory-local `publishRef`
|
|
195
|
+
> as the source's `attach`. Sharing an adapter across factory calls
|
|
196
|
+
> re-introduces the cross-contamination because the adapter's
|
|
197
|
+
> `events.onConnect` was bound at construction time to whichever
|
|
198
|
+
> factory's `publishRef` was in scope first.
|
|
197
199
|
|
|
198
200
|
```ts
|
|
199
201
|
import { createSystem, createModule, t } from "@directive-run/core";
|