@rune-kit/rune 2.3.3 → 2.4.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.
- package/README.md +51 -1
- package/compiler/__tests__/scripts-bundling.test.js +284 -0
- package/compiler/__tests__/tier-override.test.js +41 -0
- package/compiler/adapters/antigravity.js +4 -0
- package/compiler/adapters/codex.js +4 -0
- package/compiler/adapters/cursor.js +4 -0
- package/compiler/adapters/generic.js +4 -0
- package/compiler/adapters/openclaw.js +4 -0
- package/compiler/adapters/opencode.js +4 -0
- package/compiler/adapters/windsurf.js +4 -0
- package/compiler/emitter.js +85 -5
- package/compiler/transforms/scripts-path.js +18 -0
- package/extensions/zalo/PACK.md +20 -1
- package/extensions/zalo/references/conversation-management.md +214 -0
- package/extensions/zalo/references/eval-scenarios.md +157 -0
- package/extensions/zalo/references/listen-mode.md +237 -0
- package/extensions/zalo/references/mcp-production.md +274 -0
- package/extensions/zalo/references/multi-account-proxy.md +224 -0
- package/extensions/zalo/references/vietqr-banking.md +160 -0
- package/package.json +2 -3
- package/skills/marketing/SKILL.md +3 -0
- package/skills/sentinel/SKILL.md +4 -1
- package/skills/sentinel/references/auth-crypto-reference.md +192 -0
- package/skills/sentinel/references/desktop-security.md +201 -0
- package/skills/sentinel/references/supply-chain.md +160 -0
- package/skills/slides/SKILL.md +142 -0
- package/skills/slides/scripts/build-deck.js +158 -0
- package/docs/ANTIGRAVITY-GAP-ANALYSIS.md +0 -369
- package/docs/ARCHITECTURE.md +0 -332
- package/docs/COMMUNITY-PACKS.md +0 -109
- package/docs/CONTRIBUTING-L4.md +0 -215
- package/docs/CROSS-IDE-ANALYSIS.md +0 -164
- package/docs/EXTENSION-TEMPLATE.md +0 -126
- package/docs/MESH-RULES.md +0 -34
- package/docs/MULTI-PLATFORM.md +0 -804
- package/docs/SKILL-DEPTH-AUDIT.md +0 -191
- package/docs/SKILL-TEMPLATE.md +0 -118
- package/docs/TRADE-MATRIX.md +0 -327
- package/docs/VERSIONING.md +0 -91
- package/docs/VISION.md +0 -263
- package/docs/assets/demo-subtitles.srt +0 -215
- package/docs/assets/end-card.html +0 -276
- package/docs/assets/mesh-diagram.html +0 -654
- package/docs/assets/thumbnail.html +0 -295
- package/docs/guides/cli.md +0 -403
- package/docs/guides/index.html +0 -1450
- package/docs/index.html +0 -1005
- package/docs/references/claudekit-analysis.md +0 -414
- package/docs/references/voltagent-analysis.md +0 -189
- package/docs/script.js +0 -495
- package/docs/skills/index.html +0 -832
- package/docs/style.css +0 -958
- package/docs/video-demo-plan.md +0 -172
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
# Cross-IDE Compatibility Analysis
|
|
2
|
-
|
|
3
|
-
Can Rune work outside Claude Code? This document provides an honest technical assessment.
|
|
4
|
-
|
|
5
|
-
> **Last updated**: 2026-03-04. IDE capabilities evolve rapidly — verify claims against current release notes.
|
|
6
|
-
|
|
7
|
-
## TL;DR
|
|
8
|
-
|
|
9
|
-
Rune's **knowledge** is portable (copy the markdown). Rune's **intelligence** requires runtime features that vary by IDE. Claude Code remains the only platform where 100% of Rune works, but the gap is narrowing as Cursor and Windsurf add plugin ecosystems.
|
|
10
|
-
|
|
11
|
-
## What's Portable
|
|
12
|
-
|
|
13
|
-
The majority of Rune's value lives in pure instructional markdown — no code, no APIs.
|
|
14
|
-
|
|
15
|
-
| Component | Portability | Notes |
|
|
16
|
-
|-----------|-------------|-------|
|
|
17
|
-
| 48 SKILL.md files | 100% | Pure instructions — any LLM can follow them |
|
|
18
|
-
| 12 PACK.md extension packs | 100% | Domain patterns and constraints, no code |
|
|
19
|
-
| 5-layer mesh architecture | 100% | Conceptual model, not API-dependent |
|
|
20
|
-
| Workflow designs (cook 8 phases, rescue 5 phases) | 100% | Process descriptions, not implementations |
|
|
21
|
-
| Routing decision trees | 100% | Markdown tables and if/then logic |
|
|
22
|
-
| HARD-GATE constraint format | 100% | XML tags that any LLM respects |
|
|
23
|
-
|
|
24
|
-
## What's Claude Code-Specific
|
|
25
|
-
|
|
26
|
-
A small but critical layer of infrastructure depends on Claude Code's runtime.
|
|
27
|
-
|
|
28
|
-
| Component | Why Specific | What It Does |
|
|
29
|
-
|-----------|-------------|--------------|
|
|
30
|
-
| `.claude-plugin/plugin.json` | Claude Code manifest format | Registers Rune as a plugin |
|
|
31
|
-
| `agents/*.md` wrappers | `subagent_type` is Claude Code API | Spawns specialized sub-agents with model selection |
|
|
32
|
-
| `hooks/*.js` (8 hooks) | Hook lifecycle (PreToolUse, PostToolUse, SessionStart) | H3 intelligence: metrics, context-watch, auto-format |
|
|
33
|
-
| `Skill` tool invocation | Claude Code built-in tool | Loads and executes SKILL.md files by name |
|
|
34
|
-
| MCP integration | MCP protocol | Neural Memory, context7, Playwright |
|
|
35
|
-
| `EnterWorktree` | Claude Code built-in tool | Parallel agent isolation via git worktrees |
|
|
36
|
-
| Task/Agent spawning | Claude Code's orchestration | Parallel quality gates, team decomposition |
|
|
37
|
-
|
|
38
|
-
## Per-IDE Assessment
|
|
39
|
-
|
|
40
|
-
### Cursor (v2.5+, Feb 2026)
|
|
41
|
-
|
|
42
|
-
Cursor has evolved significantly. v2.5 introduced a plugin marketplace with skills, subagents, hooks, and MCP support.
|
|
43
|
-
|
|
44
|
-
**What works:**
|
|
45
|
-
- MCP support (since v1.6, Sep 2025) — Neural Memory, context7 can connect
|
|
46
|
-
- Subagents (since v2.4) — parallel agent execution possible
|
|
47
|
-
- Hooks (since v2.5) — observe and control agent behavior
|
|
48
|
-
- Skills marketplace — can load domain-specific prompts
|
|
49
|
-
- `.cursorrules` can incorporate SKILL.md content
|
|
50
|
-
|
|
51
|
-
**What doesn't (as of writing):**
|
|
52
|
-
- Plugin manifest format differs — `.claude-plugin/plugin.json` won't load natively
|
|
53
|
-
- `subagent_type` API differs — Rune's agent wrappers need adaptation
|
|
54
|
-
- Per-agent model selection (haiku for scan, opus for architecture) — unclear if Cursor subagents support this
|
|
55
|
-
- Rune's `Skill` tool (load SKILL.md by name and execute as sub-task) — no direct equivalent; Cursor skills are discovered, not invoked programmatically by other skills
|
|
56
|
-
- Mesh routing (skill A calling skill B calling skill C) — Cursor skills are flat, not interconnected
|
|
57
|
-
|
|
58
|
-
**Verdict:** Cursor v2.5 closes much of the gap. Individual skills and some orchestration work (~55-65% of value). The mesh interconnections — where Rune's real differentiation lies — still don't port because Cursor's skill model is flat (marketplace discovery) rather than mesh (skills invoking skills).
|
|
59
|
-
|
|
60
|
-
**Porting effort:** Medium. Rewrite plugin manifest + agent wrappers. The 49 SKILL.md instructions transfer directly. Hook logic needs adaptation to Cursor's hook API. Mesh routing would need a custom orchestrator skill.
|
|
61
|
-
|
|
62
|
-
### Windsurf (Antigravity, Wave 13+)
|
|
63
|
-
|
|
64
|
-
Windsurf Wave 13 added parallel agents with git worktree isolation and DAG-based orchestration.
|
|
65
|
-
|
|
66
|
-
**What works:**
|
|
67
|
-
- "Cascade" multi-step agent follows cook-style phased workflows
|
|
68
|
-
- Parallel agents with worktree isolation (since Wave 13)
|
|
69
|
-
- Windsurf rules can incorporate domain patterns
|
|
70
|
-
- MCP support available
|
|
71
|
-
|
|
72
|
-
**What doesn't (as of writing):**
|
|
73
|
-
- No public plugin/extension API for third-party skill meshes
|
|
74
|
-
- Hook/event system not exposed for external metrics collection
|
|
75
|
-
- No documented way to dynamically load skills by name
|
|
76
|
-
- Skill-to-skill invocation (mesh routing) not supported
|
|
77
|
-
|
|
78
|
-
**Verdict:** Windsurf's parallel agent support is strong, but the lack of a plugin API means Rune can't be installed as a package. Individual skills work as rules (~45% of value). Orchestration partially works through Cascade's native multi-step flow.
|
|
79
|
-
|
|
80
|
-
### OpenClaw / Claude Code Forks
|
|
81
|
-
|
|
82
|
-
**What works:**
|
|
83
|
-
- If the fork maintains Claude Code's plugin system → **100% compatible**
|
|
84
|
-
- Same Skill tool, same agent spawning, same hooks = Rune works identically
|
|
85
|
-
|
|
86
|
-
**What doesn't:**
|
|
87
|
-
- If the fork strips the plugin system → falls back to individual skill level (~50%)
|
|
88
|
-
- If the fork changes the agent API → agent wrappers need rewriting
|
|
89
|
-
|
|
90
|
-
**Verdict:** Depends entirely on plugin API compatibility with Claude Code. Full forks = full compatibility.
|
|
91
|
-
|
|
92
|
-
### VS Code + Continue / Aider / Other
|
|
93
|
-
|
|
94
|
-
**What works:**
|
|
95
|
-
- SKILL.md files as reference documentation for any AI assistant
|
|
96
|
-
- Workflow designs as manual checklists
|
|
97
|
-
- PACK.md patterns as domain knowledge
|
|
98
|
-
- MCP support in some tools (Continue has MCP)
|
|
99
|
-
|
|
100
|
-
**What doesn't:**
|
|
101
|
-
- No automated multi-skill orchestration — human must manually invoke each skill's steps
|
|
102
|
-
- No parallel execution, no quality gates, no adaptive routing
|
|
103
|
-
|
|
104
|
-
**Verdict:** Reference material only (~20-25% of value).
|
|
105
|
-
|
|
106
|
-
### Other IDEs (Brief)
|
|
107
|
-
|
|
108
|
-
| IDE | Notes |
|
|
109
|
-
|-----|-------|
|
|
110
|
-
| **JetBrains (Junie)** | Agentic mode with context-aware agents. No plugin API for skill meshes. SKILL.md content works as prompts. ~25% of value. |
|
|
111
|
-
| **GitHub Copilot (agent mode)** | Multi-step coding tasks. No plugin/extension system for custom skills. ~20% of value. |
|
|
112
|
-
| **Zed** | MCP support, fast adoption. No agent orchestration layer yet. ~20% of value. |
|
|
113
|
-
|
|
114
|
-
## Why Rune Requires Claude Code
|
|
115
|
-
|
|
116
|
-
Five capabilities that Rune's mesh architecture depends on:
|
|
117
|
-
|
|
118
|
-
### 1. Agent Spawning with Model Selection
|
|
119
|
-
Rune's mesh spawns specialized sub-agents with different models. `team` launches 3 parallel `cook` instances on sonnet, while `plan` runs on opus. Per-agent model routing is critical for cost optimization (~$0.05-0.15/feature vs ~$0.60 all-opus).
|
|
120
|
-
|
|
121
|
-
### 2. Hook Lifecycle
|
|
122
|
-
H3 intelligence relies on hooks:
|
|
123
|
-
- `metrics-collector` (PreToolUse) → captures every skill invocation
|
|
124
|
-
- `context-watch` (PostToolUse) → monitors context window usage
|
|
125
|
-
- `post-session-reflect` (Stop) → flushes metrics to `.rune/metrics/`
|
|
126
|
-
Cursor v2.5 has hooks, but the API surface and lifecycle events may differ.
|
|
127
|
-
|
|
128
|
-
### 3. Skill Tool (Mesh Routing)
|
|
129
|
-
The `Skill` tool dynamically loads and executes SKILL.md files by name. This enables:
|
|
130
|
-
- `skill-router` dispatching to the correct skill
|
|
131
|
-
- `cook` invoking `scout`, `plan`, `test`, `fix` in sequence
|
|
132
|
-
- Any skill calling any other skill (170+ connections)
|
|
133
|
-
This is the core differentiator. Other IDEs have skills/rules, but they're flat — not interconnected. Rune's mesh needs skills that invoke other skills.
|
|
134
|
-
|
|
135
|
-
### 4. MCP Ecosystem
|
|
136
|
-
Rune integrates with MCP servers for:
|
|
137
|
-
- Cross-session memory (Neural Memory)
|
|
138
|
-
- Documentation lookup (context7)
|
|
139
|
-
- Browser automation (Playwright)
|
|
140
|
-
MCP is increasingly supported (Cursor, Windsurf, Zed, Continue), but integration depth varies. Rune's hook-driven memory flush (post-session-reflect → metrics) requires both MCP and hooks working together.
|
|
141
|
-
|
|
142
|
-
### 5. Worktree Isolation
|
|
143
|
-
`team` skill's parallel agents each get an isolated git worktree via `EnterWorktree`. Windsurf Wave 13 now also supports this, but Claude Code's implementation is tightly integrated with the agent spawning system.
|
|
144
|
-
|
|
145
|
-
## Portability Score by IDE
|
|
146
|
-
|
|
147
|
-
| IDE | Skills (instructions) | Mesh (orchestration) | Intelligence (H3) | Overall |
|
|
148
|
-
|-----|----------------------|---------------------|-------------------|---------|
|
|
149
|
-
| **Claude Code** | 100% | 100% | 100% | **100%** |
|
|
150
|
-
| **OpenClaw (full fork)** | 100% | 100% | 100% | **100%** |
|
|
151
|
-
| **Cursor 2.5+** | 90% | 30% | 20% | **~55%** |
|
|
152
|
-
| **Windsurf Wave 13+** | 80% | 25% | 10% | **~45%** |
|
|
153
|
-
| **JetBrains Junie** | 70% | 0% | 0% | **~25%** |
|
|
154
|
-
| **VS Code + AI** | 60% | 0% | 0% | **~20%** |
|
|
155
|
-
|
|
156
|
-
## The Honest Answer
|
|
157
|
-
|
|
158
|
-
The IDE landscape is evolving fast. Cursor v2.5's plugin marketplace and Windsurf's parallel agents have closed significant gaps since Rune was first built. The remaining differentiator is **mesh routing** — skills that invoke other skills, forming resilient interconnected workflows rather than flat prompt collections.
|
|
159
|
-
|
|
160
|
-
If you're on Cursor or Windsurf, you can use Rune's SKILL.md files as high-quality rules/prompts. You'll get the individual skill instructions (which are genuinely valuable) but not the orchestration (cook calling scout calling plan calling brainstorm).
|
|
161
|
-
|
|
162
|
-
The decision to build on Claude Code is architectural: Rune's 170+ mesh connections require a runtime where skills can programmatically invoke other skills. Today, Claude Code's `Skill` tool is the only mechanism that supports this. If Cursor or Windsurf add programmatic skill-to-skill invocation, porting becomes viable.
|
|
163
|
-
|
|
164
|
-
The knowledge is always free — copy the SKILL.md files.
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "@rune/pack-name"
|
|
3
|
-
description: One-line description of what this extension pack provides.
|
|
4
|
-
metadata:
|
|
5
|
-
author: runedev
|
|
6
|
-
version: "0.1.0"
|
|
7
|
-
layer: L4
|
|
8
|
-
price: "$9|$12|$15"
|
|
9
|
-
target: Target developer audience
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# @rune/pack-name
|
|
13
|
-
|
|
14
|
-
## Purpose
|
|
15
|
-
|
|
16
|
-
One paragraph: what domain this pack serves, why these skills are grouped together, what developer problem it solves.
|
|
17
|
-
|
|
18
|
-
## Triggers
|
|
19
|
-
|
|
20
|
-
- Auto-trigger: when [domain-specific files/patterns] detected in project
|
|
21
|
-
- `/rune <command>` — manual invocation
|
|
22
|
-
- Called by `cook` (L1) when [domain context] detected
|
|
23
|
-
|
|
24
|
-
## Skills Included
|
|
25
|
-
|
|
26
|
-
### skill-1
|
|
27
|
-
|
|
28
|
-
Brief description of what this skill does.
|
|
29
|
-
|
|
30
|
-
#### Workflow
|
|
31
|
-
|
|
32
|
-
**Step 1 — [Action]**
|
|
33
|
-
Concrete, executable step. Include tool names (Grep, Read, Bash) and expected behavior.
|
|
34
|
-
|
|
35
|
-
**Step 2 — [Action]**
|
|
36
|
-
Next step with specific details.
|
|
37
|
-
|
|
38
|
-
#### Example
|
|
39
|
-
|
|
40
|
-
```language
|
|
41
|
-
// Concrete code example showing the skill's output or pattern
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### skill-2
|
|
45
|
-
|
|
46
|
-
Brief description.
|
|
47
|
-
|
|
48
|
-
#### Workflow
|
|
49
|
-
|
|
50
|
-
**Step 1 — [Action]**
|
|
51
|
-
...
|
|
52
|
-
|
|
53
|
-
#### Example
|
|
54
|
-
|
|
55
|
-
```language
|
|
56
|
-
// Code example
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### skill-3
|
|
60
|
-
|
|
61
|
-
Brief description.
|
|
62
|
-
|
|
63
|
-
#### Workflow
|
|
64
|
-
|
|
65
|
-
**Step 1 — [Action]**
|
|
66
|
-
...
|
|
67
|
-
|
|
68
|
-
#### Example
|
|
69
|
-
|
|
70
|
-
```language
|
|
71
|
-
// Code example
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Connections
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
Calls → [L3 utility]: [when/why]
|
|
78
|
-
Called By ← [L2 hub]: [when/why]
|
|
79
|
-
Called By ← [L1 orchestrator]: [when auto-detected]
|
|
80
|
-
Feeds Into → [skill]: [what artifact] → [how consumed]
|
|
81
|
-
Fed By ← [skill]: [what artifact] ← [what this pack needs]
|
|
82
|
-
Feedback Loop ↻ [skill-a] ↔ [skill-b]: [what gets refined bidirectionally]
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Tech Stack Support (if applicable)
|
|
86
|
-
|
|
87
|
-
| Framework | Library | Notes |
|
|
88
|
-
|-----------|---------|-------|
|
|
89
|
-
| [framework] | [library] | [notes] |
|
|
90
|
-
|
|
91
|
-
## Constraints
|
|
92
|
-
|
|
93
|
-
1. MUST [required behavior specific to this domain]
|
|
94
|
-
2. MUST NOT [forbidden behavior]
|
|
95
|
-
3. MUST [another rule]
|
|
96
|
-
|
|
97
|
-
## Sharp Edges
|
|
98
|
-
|
|
99
|
-
| Failure Mode | Severity | Mitigation |
|
|
100
|
-
|---|---|---|
|
|
101
|
-
| [domain-specific failure] | HIGH/MEDIUM | [how to avoid] |
|
|
102
|
-
|
|
103
|
-
## Self-Validation
|
|
104
|
-
|
|
105
|
-
Per-skill quality checks that run before reporting "done". Domain-specific — not covered by centralized completion-gate.
|
|
106
|
-
|
|
107
|
-
```
|
|
108
|
-
SELF-VALIDATION (per skill):
|
|
109
|
-
skill-1:
|
|
110
|
-
- [ ] [domain-specific quality check]
|
|
111
|
-
- [ ] [output format compliance]
|
|
112
|
-
skill-2:
|
|
113
|
-
- [ ] [domain-specific quality check]
|
|
114
|
-
- [ ] [completeness check]
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
## Done When
|
|
118
|
-
|
|
119
|
-
- [Verifiable condition 1]
|
|
120
|
-
- [Verifiable condition 2]
|
|
121
|
-
- [Structured output emitted]
|
|
122
|
-
- Self-Validation: all per-skill checks passed
|
|
123
|
-
|
|
124
|
-
## Cost Profile
|
|
125
|
-
|
|
126
|
-
Estimated token usage for pack workflow. [model] default.
|
package/docs/MESH-RULES.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Mesh Rules
|
|
2
|
-
|
|
3
|
-
Cross-cutting behavioral rules for all Rune skills. These are non-negotiable.
|
|
4
|
-
|
|
5
|
-
## Layer Discipline
|
|
6
|
-
|
|
7
|
-
1. L3 utilities MUST NOT call L1 or L2 skills (except documented L3→L3 coordination)
|
|
8
|
-
2. L1 orchestrators MUST use TodoWrite to track phase progress
|
|
9
|
-
3. Only ONE L1 orchestrator active at a time (except `team` meta-orchestration)
|
|
10
|
-
|
|
11
|
-
## Quality Gates
|
|
12
|
-
|
|
13
|
-
4. Any skill finding a CRITICAL security issue MUST halt and report — never continue
|
|
14
|
-
5. Code-producing skills MUST run verification before declaring completion
|
|
15
|
-
6. No skill may declare "no issues found" without listing what was specifically checked
|
|
16
|
-
|
|
17
|
-
## Mesh Integrity
|
|
18
|
-
|
|
19
|
-
7. Max 3 parallel L2 sub-agents from any single skill
|
|
20
|
-
8. Max 5 parallel L3 sub-agents (haiku) from any single skill
|
|
21
|
-
9. Max chain depth: 8. If reached → escalate to L1 orchestrator
|
|
22
|
-
10. No self-calls. Max 2 visits to same skill per chain
|
|
23
|
-
|
|
24
|
-
## Agentic Security
|
|
25
|
-
|
|
26
|
-
11. Skills that load persisted state (.rune/ files) MUST verify integrity before use
|
|
27
|
-
12. Multi-agent outputs MUST be validated by integrity-check before merge
|
|
28
|
-
13. .rune/ files modified by external contributors MUST be flagged for review
|
|
29
|
-
|
|
30
|
-
## Rationalization Blockers
|
|
31
|
-
|
|
32
|
-
14. "This is too simple to need X" — every task follows its skill's gates. No exceptions.
|
|
33
|
-
15. "I already know the codebase" — knowledge claims require evidence (file reads, grep results)
|
|
34
|
-
16. "I'll do it after" — if the gate says BEFORE, it means BEFORE. Not after. Not later.
|