@directive-run/claude-plugin 1.22.0 → 1.23.1
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.
|
|
3
|
+
"version": "1.23.1",
|
|
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",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"tsup": "^8.3.5",
|
|
52
52
|
"tsx": "^4.19.2",
|
|
53
53
|
"typescript": "^5.7.2",
|
|
54
|
-
"vitest": "^3.
|
|
55
|
-
"@directive-run/knowledge": "1.
|
|
54
|
+
"vitest": "^3.2.6",
|
|
55
|
+
"@directive-run/knowledge": "1.23.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsx scripts/build-skills.ts && tsup",
|
|
59
59
|
"build:skills": "tsx scripts/build-skills.ts",
|
|
60
|
-
"test": "vitest run",
|
|
60
|
+
"test": "cd ../.. && vitest run packages/claude-plugin/",
|
|
61
61
|
"typecheck": "tsc --noEmit",
|
|
62
62
|
"clean": "rm -rf skills/* dist"
|
|
63
63
|
}
|
|
@@ -12,16 +12,13 @@ Website: https://directive.run
|
|
|
12
12
|
- [Why Directive](https://directive.run/docs/why-directive)
|
|
13
13
|
- [Installation](https://directive.run/docs/installation)
|
|
14
14
|
- [Core Concepts](https://directive.run/docs/core-concepts)
|
|
15
|
-
- [Comparison](https://directive.run/docs/comparison)
|
|
16
15
|
- [Choosing Primitives](https://directive.run/docs/choosing-primitives)
|
|
16
|
+
- [Comparison](https://directive.run/docs/comparison)
|
|
17
17
|
|
|
18
|
-
###
|
|
18
|
+
### Editor Setup
|
|
19
19
|
- [IDE Integration](https://directive.run/docs/ide-integration)
|
|
20
|
-
- [Claude Code plugin](https://directive.run/docs/ide-integration#claude-code)
|
|
21
|
-
- [CLI ai-rules](https://directive.run/docs/ide-integration#cli-ai-rules)
|
|
22
|
-
- [Knowledge package](https://directive.run/docs/ide-integration#knowledge-package)
|
|
23
20
|
|
|
24
|
-
###
|
|
21
|
+
### Primitives
|
|
25
22
|
- [Overview](https://directive.run/docs/core-api)
|
|
26
23
|
- [Module & System](https://directive.run/docs/module-system)
|
|
27
24
|
- [Facts](https://directive.run/docs/facts)
|
|
@@ -29,8 +26,8 @@ Website: https://directive.run
|
|
|
29
26
|
- [Constraints](https://directive.run/docs/constraints)
|
|
30
27
|
- [Resolvers](https://directive.run/docs/resolvers)
|
|
31
28
|
- [Effects](https://directive.run/docs/effects)
|
|
32
|
-
- [Sources](https://directive.run/docs/sources)
|
|
33
29
|
- [Events](https://directive.run/docs/events)
|
|
30
|
+
- [Sources](https://directive.run/docs/sources)
|
|
34
31
|
- [Schema & Types](https://directive.run/docs/schema-overview)
|
|
35
32
|
- [API Reference](https://directive.run/docs/api/core)
|
|
36
33
|
- [Type Reference](https://directive.run/docs/api/types)
|
|
@@ -63,7 +60,7 @@ Website: https://directive.run
|
|
|
63
60
|
### Advanced Patterns
|
|
64
61
|
- [Overview](https://directive.run/docs/advanced/overview)
|
|
65
62
|
- [Data-form Definitions](https://directive.run/docs/data-triggers)
|
|
66
|
-
- [
|
|
63
|
+
- [Sandbox](https://directive.run/docs/sandbox)
|
|
67
64
|
- [Multi-Module](https://directive.run/docs/advanced/multi-module)
|
|
68
65
|
- [Runtime Dynamics](https://directive.run/docs/advanced/runtime)
|
|
69
66
|
- [History & Snapshots](https://directive.run/docs/advanced/history)
|
|
@@ -72,13 +69,13 @@ Website: https://directive.run
|
|
|
72
69
|
- [Definition Meta](https://directive.run/docs/advanced/meta)
|
|
73
70
|
|
|
74
71
|
### Predicate Tools
|
|
75
|
-
- [
|
|
76
|
-
- [
|
|
77
|
-
- [Predicate Codegen
|
|
78
|
-
- [
|
|
79
|
-
- [
|
|
80
|
-
- [Predicate Backtest
|
|
81
|
-
- [Parameter Sweep
|
|
72
|
+
- [Predicate from Intent](https://directive.run/docs/predicate-from-intent)
|
|
73
|
+
- [Describe Predicate](https://directive.run/docs/describe-predicate)
|
|
74
|
+
- [Predicate Codegen](https://directive.run/docs/predicate-codegen)
|
|
75
|
+
- [Predict](https://directive.run/docs/predict)
|
|
76
|
+
- [Doctor Check](https://directive.run/docs/doctor)
|
|
77
|
+
- [Predicate Backtest](https://directive.run/docs/replay-under)
|
|
78
|
+
- [Parameter Sweep](https://directive.run/docs/tune)
|
|
82
79
|
- [Rules Diff](https://directive.run/docs/rules-diff)
|
|
83
80
|
|
|
84
81
|
### Plugins
|
|
@@ -89,17 +86,17 @@ Website: https://directive.run
|
|
|
89
86
|
- [Persistence](https://directive.run/docs/plugins/persistence)
|
|
90
87
|
- [Performance](https://directive.run/docs/plugins/performance)
|
|
91
88
|
- [Circuit Breaker](https://directive.run/docs/plugins/circuit-breaker)
|
|
92
|
-
- [
|
|
89
|
+
- [Clobber Loop Detector](https://directive.run/docs/plugins/clobber-loop)
|
|
93
90
|
- [Observability](https://directive.run/docs/plugins/observability)
|
|
94
91
|
- [Custom Plugins](https://directive.run/docs/plugins/custom)
|
|
95
92
|
|
|
96
|
-
### Packages
|
|
97
|
-
- [Timeline
|
|
98
|
-
- [Mutator
|
|
99
|
-
- [Optimistic
|
|
100
|
-
- [Query
|
|
93
|
+
### Companion Packages
|
|
94
|
+
- [Timeline](https://directive.run/docs/packages/timeline)
|
|
95
|
+
- [Mutator](https://directive.run/docs/packages/mutator)
|
|
96
|
+
- [Optimistic](https://directive.run/docs/packages/optimistic)
|
|
97
|
+
- [Query](https://directive.run/docs/packages/query)
|
|
101
98
|
- [Vite Dev Proxy](https://directive.run/docs/packages/vite-dev-proxy)
|
|
102
|
-
- [Composing
|
|
99
|
+
- [Composing All Four](https://directive.run/docs/packages/composing-packages)
|
|
103
100
|
|
|
104
101
|
### Testing
|
|
105
102
|
- [Overview](https://directive.run/docs/testing/overview)
|
|
@@ -108,6 +105,18 @@ Website: https://directive.run
|
|
|
108
105
|
- [Assertions](https://directive.run/docs/testing/assertions)
|
|
109
106
|
- [Test Async Chains](https://directive.run/docs/guides/test-async-chains)
|
|
110
107
|
|
|
108
|
+
### Security & Compliance
|
|
109
|
+
- [Resolver Binding](https://directive.run/docs/resolver-binding)
|
|
110
|
+
- [Audit Ledger](https://directive.run/docs/audit-ledger)
|
|
111
|
+
|
|
112
|
+
### Broadcast
|
|
113
|
+
- [Overview](https://directive.run/docs/broadcast)
|
|
114
|
+
- [GitHub Action](https://directive.run/docs/broadcast/action)
|
|
115
|
+
- [CLI](https://directive.run/docs/broadcast/cli)
|
|
116
|
+
- [Cloudflare Worker](https://directive.run/docs/broadcast/worker)
|
|
117
|
+
- [MCP server](https://directive.run/docs/broadcast/mcp)
|
|
118
|
+
- [README badge](https://directive.run/docs/broadcast/badge)
|
|
119
|
+
|
|
111
120
|
### Examples
|
|
112
121
|
- [Number Match](https://directive.run/docs/examples/counter)
|
|
113
122
|
- [Auth Flow](https://directive.run/docs/examples/auth-flow)
|
|
@@ -134,7 +143,7 @@ Website: https://directive.run
|
|
|
134
143
|
- [Role-Based Permissions](https://directive.run/docs/guides/permissions)
|
|
135
144
|
- [Batch Mutations](https://directive.run/docs/guides/batch-mutations)
|
|
136
145
|
|
|
137
|
-
###
|
|
146
|
+
### Works With
|
|
138
147
|
- [Overview](https://directive.run/docs/works-with/overview)
|
|
139
148
|
- [Redux](https://directive.run/docs/works-with/redux)
|
|
140
149
|
- [Zustand](https://directive.run/docs/works-with/zustand)
|
|
@@ -146,17 +155,17 @@ Website: https://directive.run
|
|
|
146
155
|
|
|
147
156
|
### Foundations
|
|
148
157
|
- [Overview](https://directive.run/ai/overview)
|
|
158
|
+
- [Tutorial](https://directive.run/ai/tutorial)
|
|
149
159
|
- [Running Agents](https://directive.run/ai/running-agents)
|
|
150
|
-
- [Resilience & Routing](https://directive.run/ai/resilience-routing)
|
|
151
160
|
- [Comparison](https://directive.run/ai/comparison)
|
|
152
|
-
- [Tutorial](https://directive.run/ai/tutorial)
|
|
153
161
|
- [Troubleshooting](https://directive.run/ai/troubleshooting)
|
|
154
162
|
|
|
155
|
-
### Agent Orchestrator
|
|
163
|
+
### Single-Agent Orchestrator
|
|
156
164
|
- [Overview](https://directive.run/ai/orchestrator)
|
|
157
165
|
- [Guardrails](https://directive.run/ai/guardrails)
|
|
158
166
|
- [Streaming](https://directive.run/ai/streaming)
|
|
159
167
|
- [Memory](https://directive.run/ai/memory)
|
|
168
|
+
- [Resilience & Routing](https://directive.run/ai/resilience-routing)
|
|
160
169
|
|
|
161
170
|
### Multi-Agent Orchestrator
|
|
162
171
|
- [Overview](https://directive.run/ai/multi-agent)
|
|
@@ -168,6 +177,7 @@ Website: https://directive.run
|
|
|
168
177
|
|
|
169
178
|
### Infrastructure
|
|
170
179
|
- [MCP Integration](https://directive.run/ai/mcp)
|
|
180
|
+
- [Sources × Agents](https://directive.run/ai/sources)
|
|
171
181
|
- [RAG Enricher](https://directive.run/ai/rag)
|
|
172
182
|
- [SSE Transport](https://directive.run/ai/sse-transport)
|
|
173
183
|
- [Semantic Cache](https://directive.run/ai/semantic-cache)
|
|
@@ -176,6 +186,7 @@ Website: https://directive.run
|
|
|
176
186
|
- [Debug Timeline](https://directive.run/ai/debug-timeline)
|
|
177
187
|
- [Pattern Checkpoints](https://directive.run/ai/checkpoints)
|
|
178
188
|
- [Breakpoints & Checkpoints](https://directive.run/ai/breakpoints)
|
|
189
|
+
- [Guardrail Events](https://directive.run/ai/guardrail-events)
|
|
179
190
|
- [DevTools](https://directive.run/ai/devtools)
|
|
180
191
|
|
|
181
192
|
### Security & Compliance
|
|
@@ -195,15 +206,11 @@ Website: https://directive.run
|
|
|
195
206
|
- [Data Pipeline](https://directive.run/ai/examples/data-pipeline)
|
|
196
207
|
- [Code Review](https://directive.run/ai/examples/code-review)
|
|
197
208
|
|
|
198
|
-
###
|
|
199
|
-
- [Control AI Costs](https://directive.run/ai/guides/control-ai-costs)
|
|
200
|
-
|
|
201
|
-
### Validate Structured Output
|
|
209
|
+
### Stream Agent Responses
|
|
202
210
|
- [Handle Agent Errors](https://directive.run/ai/guides/handle-agent-errors)
|
|
211
|
+
- [Control AI Costs](https://directive.run/ai/guides/control-ai-costs)
|
|
203
212
|
|
|
204
|
-
###
|
|
213
|
+
### Pipelines & Apps
|
|
205
214
|
- [Multi-Step Pipeline](https://directive.run/ai/guides/multi-step-pipeline)
|
|
206
|
-
|
|
207
|
-
### Test Without LLM Calls
|
|
208
215
|
- [DAG Pipeline](https://directive.run/ai/guides/dag-pipeline)
|
|
209
216
|
- [Goal Pipeline](https://directive.run/ai/guides/goal-pipeline)
|
|
@@ -388,8 +388,8 @@ source publishes PII into a fact and the agent's prompt template embeds
|
|
|
388
388
|
that fact (`"Hello ${facts.email}..."`), the PII reaches the LLM call
|
|
389
389
|
without hitting the input guardrail chain.
|
|
390
390
|
|
|
391
|
-
This is
|
|
392
|
-
|
|
391
|
+
This is a documented gap in the input-only guardrail chain — the fix
|
|
392
|
+
is a fact-store-boundary guardrail that runs on every fact write:
|
|
393
393
|
|
|
394
394
|
```ts
|
|
395
395
|
import { createSystem, createModule, t } from "@directive-run/core";
|