specweave 0.6.6 → 0.6.8
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/.claude-plugin/marketplace.json +0 -1
- package/CLAUDE.md +116 -25
- package/README.md +35 -0
- package/dist/adapters/adapter-interface.d.ts +11 -11
- package/dist/adapters/adapter-interface.d.ts.map +1 -1
- package/dist/adapters/adapter-interface.js +1 -1
- package/dist/adapters/adapter-loader.d.ts +1 -2
- package/dist/adapters/adapter-loader.d.ts.map +1 -1
- package/dist/adapters/adapter-loader.js +3 -6
- package/dist/adapters/adapter-loader.js.map +1 -1
- package/dist/adapters/agents-md-generator.d.ts +3 -3
- package/dist/adapters/agents-md-generator.js +3 -3
- package/dist/adapters/generic/adapter.d.ts +2 -2
- package/dist/adapters/generic/adapter.d.ts.map +1 -1
- package/dist/adapters/generic/adapter.js +28 -9
- package/dist/adapters/generic/adapter.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +102 -102
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/core/types/config.d.ts +2 -2
- package/dist/core/types/config.d.ts.map +1 -1
- package/package.json +1 -1
- package/plugins/specweave/commands/do.md +2 -0
- package/plugins/specweave/commands/done.md +2 -0
- package/plugins/specweave/commands/inc.md +1 -1
- package/plugins/specweave/commands/validate.md +2 -0
- package/plugins/specweave/hooks/docs-changed.sh +23 -3
- package/plugins/specweave/hooks/human-input-required.sh +23 -3
- package/plugins/specweave/hooks/post-task-completion.sh +20 -1
- package/plugins/specweave/hooks/pre-implementation.sh +23 -3
- package/src/adapters/README.md +27 -63
- package/src/adapters/adapter-interface.ts +11 -11
- package/src/adapters/adapter-loader.ts +3 -6
- package/src/adapters/agents-md-generator.ts +3 -3
- package/src/adapters/generic/adapter.ts +28 -9
- package/src/templates/AGENTS.md.template +351 -0
- package/dist/adapters/copilot/adapter.d.ts +0 -86
- package/dist/adapters/copilot/adapter.d.ts.map +0 -1
- package/dist/adapters/copilot/adapter.js +0 -396
- package/dist/adapters/copilot/adapter.js.map +0 -1
- package/plugins/.specweave/logs/hooks-debug.log +0 -24
- package/plugins/.specweave/logs/last-hook-fire +0 -1
- package/plugins/.specweave/logs/last-todowrite-time +0 -1
- package/plugins/.specweave/logs/tasks.log +0 -6
- package/src/adapters/copilot/README.md +0 -240
- package/src/adapters/copilot/adapter.ts +0 -444
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
2
|
"name": "specweave",
|
|
4
3
|
"version": "0.6.1",
|
|
5
4
|
"description": "SpecWeave - Spec-Driven Development Framework. PM-led planning, intelligent model selection, living documentation, multi-tool support.",
|
package/CLAUDE.md
CHANGED
|
@@ -94,22 +94,21 @@ Claude Code isn't just another AI coding assistant - **Anthropic defines the ind
|
|
|
94
94
|
|
|
95
95
|
### Why SpecWeave + Claude Code = 10x Better
|
|
96
96
|
|
|
97
|
-
| Feature | Claude Code (Native) | Cursor 2.0 | Copilot
|
|
98
|
-
|
|
99
|
-
| **Living Docs** | ✅ Auto-sync via hooks | ❌ Manual | ❌ Manual |
|
|
100
|
-
| **Skills** | ✅ Auto-activate | 🟡 Must @mention | ❌ None |
|
|
101
|
-
| **Commands** | ✅ Plugin-based `/specweave:*` | 🟡 Team commands | ❌ None |
|
|
102
|
-
| **Hooks** | ✅ Pre/Post lifecycle | ❌ No hooks | ❌ No hooks |
|
|
103
|
-
| **Agents** | ✅ Isolated contexts | 🟡 Shared (8 parallel) | ❌ None |
|
|
104
|
-
| **Context** | ✅ MCP + 60-80% reduction | 🟡 @ shortcuts | ❌
|
|
105
|
-
| **Quality** | ⭐⭐⭐⭐⭐ 100%
|
|
97
|
+
| Feature | Claude Code (Native) | Cursor 2.0 | Other (Copilot, ChatGPT, etc.) |
|
|
98
|
+
|---------|---------------------|------------|-------------------------------|
|
|
99
|
+
| **Living Docs** | ✅ Auto-sync via hooks | ❌ Manual | ❌ Manual |
|
|
100
|
+
| **Skills** | ✅ Auto-activate | 🟡 Must @mention | ❌ None |
|
|
101
|
+
| **Commands** | ✅ Plugin-based `/specweave:*` | 🟡 Team commands | ❌ None |
|
|
102
|
+
| **Hooks** | ✅ Pre/Post lifecycle | ❌ No hooks | ❌ No hooks |
|
|
103
|
+
| **Agents** | ✅ Isolated contexts | 🟡 Shared (8 parallel) | ❌ None |
|
|
104
|
+
| **Context** | ✅ MCP + 60-80% reduction | 🟡 @ shortcuts | ❌ High usage |
|
|
105
|
+
| **Quality** | ⭐⭐⭐⭐⭐ 100% Reliable | ⭐⭐⭐ 60% Less reliable | ⭐⭐ 40% Manual workflow |
|
|
106
106
|
|
|
107
107
|
**Quick Comparison**:
|
|
108
108
|
|
|
109
|
-
**Claude Code** - Full automation with native hooks, MCP protocol, plugin system, isolated agent contexts
|
|
110
|
-
**Cursor 2.0** -
|
|
111
|
-
**Copilot** -
|
|
112
|
-
**Generic** - Manual copy-paste workflow
|
|
109
|
+
**Claude Code** - Full automation with native hooks, MCP protocol, plugin system, isolated agent contexts. **ONLY fully reliable option.**
|
|
110
|
+
**Cursor 2.0** - Partial support (AGENTS.md compilation, team commands, @ shortcuts) but no hooks, no agent isolation, less reliable than Claude
|
|
111
|
+
**Other (Copilot, ChatGPT, Gemini)** - Manual workflow, high context usage, AGENTS.md support but no automation, least reliable
|
|
113
112
|
|
|
114
113
|
**The Key Differentiator**: Only Claude Code supports **automated living docs** via native hooks. After EVERY task completion, docs sync automatically - zero manual intervention. This is why SpecWeave is designed Claude Code-first, though it gracefully degrades to other tools.
|
|
115
114
|
|
|
@@ -684,12 +683,27 @@ if (parentSpecweave) {
|
|
|
684
683
|
|
|
685
684
|
When you run `specweave init`:
|
|
686
685
|
|
|
687
|
-
1. ✅ **Marketplace
|
|
688
|
-
- Creates `.claude/settings.json` with marketplace reference
|
|
689
|
-
-
|
|
686
|
+
1. ✅ **GitHub Marketplace Registration** (v0.6.7+)
|
|
687
|
+
- Creates `.claude/settings.json` with GitHub marketplace reference
|
|
688
|
+
- **No local copying** - plugins fetched from GitHub on-demand
|
|
689
|
+
- Settings.json structure:
|
|
690
|
+
```json
|
|
691
|
+
{
|
|
692
|
+
"extraKnownMarketplaces": {
|
|
693
|
+
"specweave": {
|
|
694
|
+
"source": {
|
|
695
|
+
"source": "github",
|
|
696
|
+
"repo": "anton-abyzov/specweave",
|
|
697
|
+
"path": ".claude-plugin"
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
```
|
|
703
|
+
- Claude Code automatically discovers plugins from GitHub
|
|
690
704
|
- No manual `/plugin marketplace add` needed!
|
|
691
705
|
|
|
692
|
-
2. ✅ **Core Plugin Auto-Installation** (
|
|
706
|
+
2. ✅ **Core Plugin Auto-Installation** (v0.6.1+)
|
|
693
707
|
- Automatically runs: `claude plugin marketplace add` and `claude plugin install specweave@specweave`
|
|
694
708
|
- Works via CLI during init (uses user's shell to access `claude` command)
|
|
695
709
|
- Slash commands available IMMEDIATELY - no manual install!
|
|
@@ -700,6 +714,10 @@ When you run `specweave init`:
|
|
|
700
714
|
- Based on project detection (Git, package.json, etc.)
|
|
701
715
|
- User can install now or later
|
|
702
716
|
|
|
717
|
+
**Key Architectural Change (v0.6.7)**:
|
|
718
|
+
- ❌ Old: Copied `.claude-plugin/` + `plugins/` to every project (~2MB bloat)
|
|
719
|
+
- ✅ New: Reference GitHub marketplace (~2KB settings.json, always up-to-date)
|
|
720
|
+
|
|
703
721
|
#### Phase 2: Increment Planning (On-Demand Loading)
|
|
704
722
|
|
|
705
723
|
When you create increments (e.g., `/specweave:inc "Add Stripe billing"`):
|
|
@@ -764,6 +782,69 @@ All plugin management happens through Claude Code's native commands:
|
|
|
764
782
|
- Auto-activate based on skills' description keywords
|
|
765
783
|
- Managed by Claude Code (updates, uninstall, etc.)
|
|
766
784
|
|
|
785
|
+
### Development vs Production Setup
|
|
786
|
+
|
|
787
|
+
**Two different scenarios with different marketplace configurations:**
|
|
788
|
+
|
|
789
|
+
#### SpecWeave Repo (Development)
|
|
790
|
+
|
|
791
|
+
```
|
|
792
|
+
specweave/ (GitHub repo - Contributors)
|
|
793
|
+
├── .claude/
|
|
794
|
+
│ └── settings.json # Local path reference
|
|
795
|
+
├── .claude-plugin/
|
|
796
|
+
│ └── marketplace.json # Marketplace definition
|
|
797
|
+
└── plugins/
|
|
798
|
+
├── specweave/ # Core plugin SOURCE CODE
|
|
799
|
+
└── specweave-github/ # Plugin SOURCE CODE
|
|
800
|
+
```
|
|
801
|
+
|
|
802
|
+
**Settings.json for development** (.claude/settings.json):
|
|
803
|
+
```json
|
|
804
|
+
{
|
|
805
|
+
"extraKnownMarketplaces": {
|
|
806
|
+
"specweave": "../.claude-plugin"
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
```
|
|
810
|
+
|
|
811
|
+
**OR use CLI** (recommended for contributors):
|
|
812
|
+
```bash
|
|
813
|
+
/plugin marketplace add ./.claude-plugin
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
#### User Projects (Production)
|
|
817
|
+
|
|
818
|
+
```
|
|
819
|
+
my-saas-app/ (User's project)
|
|
820
|
+
├── .claude/
|
|
821
|
+
│ └── settings.json # GitHub remote reference
|
|
822
|
+
├── .specweave/
|
|
823
|
+
│ └── increments/
|
|
824
|
+
└── src/
|
|
825
|
+
```
|
|
826
|
+
|
|
827
|
+
**Settings.json for users** (.claude/settings.json):
|
|
828
|
+
```json
|
|
829
|
+
{
|
|
830
|
+
"extraKnownMarketplaces": {
|
|
831
|
+
"specweave": {
|
|
832
|
+
"source": {
|
|
833
|
+
"source": "github",
|
|
834
|
+
"repo": "anton-abyzov/specweave",
|
|
835
|
+
"path": ".claude-plugin"
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
```
|
|
841
|
+
|
|
842
|
+
**Key Differences**:
|
|
843
|
+
- ✅ **Development**: Local `.claude-plugin/` and `plugins/` in repo (for editing)
|
|
844
|
+
- ✅ **Production**: GitHub reference only (no local plugin copies)
|
|
845
|
+
- ✅ **Development**: Use string path `"../.claude-plugin"`
|
|
846
|
+
- ✅ **Production**: Use GitHub object `{"source": "github", ...}`
|
|
847
|
+
|
|
767
848
|
No per-project installation needed!
|
|
768
849
|
|
|
769
850
|
---
|
|
@@ -895,7 +976,6 @@ specweave/
|
|
|
895
976
|
│ │ ├── adapter-base.ts
|
|
896
977
|
│ │ ├── claude/
|
|
897
978
|
│ │ ├── cursor/ (legacy)
|
|
898
|
-
│ │ ├── copilot/ (legacy)
|
|
899
979
|
│ │ └── generic/ (legacy)
|
|
900
980
|
│ ├── templates/ # User project templates
|
|
901
981
|
│ │ ├── CLAUDE.md.template
|
|
@@ -975,12 +1055,14 @@ specweave/
|
|
|
975
1055
|
│ ├── docs/
|
|
976
1056
|
│ │ ├── internal/ # Strategic docs (NEVER published)
|
|
977
1057
|
│ │ │ ├── strategy/ # Business strategy, market analysis
|
|
978
|
-
│ │ │ ├──
|
|
1058
|
+
│ │ │ ├── rfc/ # ✅ Request for Comments (proposals at all stages)
|
|
1059
|
+
│ │ │ ├── architecture/ # Technical architecture (accepted designs)
|
|
979
1060
|
│ │ │ │ ├── adr/ # Architecture Decision Records
|
|
980
|
-
│ │ │ │ ├── rfc/ # ✅ Request for Comments (detailed specs)
|
|
981
1061
|
│ │ │ │ ├── diagrams/ # Mermaid + SVG
|
|
982
1062
|
│ │ │ │ └── hld-system.md # High-Level Design
|
|
983
|
-
│ │ │
|
|
1063
|
+
│ │ │ ├── delivery/ # Implementation notes, runbooks
|
|
1064
|
+
│ │ │ ├── operations/ # Runbooks, SLOs
|
|
1065
|
+
│ │ │ └── governance/ # Security, compliance
|
|
984
1066
|
│ │ └── public/ # User-facing docs (can publish)
|
|
985
1067
|
│ │ ├── guides/
|
|
986
1068
|
│ │ └── api/
|
|
@@ -1387,8 +1469,7 @@ git push origin develop --tags
|
|
|
1387
1469
|
|
|
1388
1470
|
**Legacy Multi-Tool Support** (may be removed):
|
|
1389
1471
|
- ⚠️ Cursor (via `.cursorrules` + AGENTS.md compilation)
|
|
1390
|
-
- ⚠️
|
|
1391
|
-
- ⚠️ Generic (Markdown-only, for ChatGPT/Gemini/etc.)
|
|
1472
|
+
- ⚠️ Generic (via AGENTS.md, for Copilot/ChatGPT/Gemini/etc.)
|
|
1392
1473
|
|
|
1393
1474
|
**Why Claude-First?**
|
|
1394
1475
|
The adapter system was originally designed to support multiple tools, but this added significant complexity without meaningful benefit. Claude Code provides:
|
|
@@ -1481,13 +1562,23 @@ cd docs-site && npm run build
|
|
|
1481
1562
|
## Quick Reference
|
|
1482
1563
|
|
|
1483
1564
|
**Commands (for SpecWeave development)**:
|
|
1565
|
+
|
|
1566
|
+
*Convenient short forms (use daily)*:
|
|
1567
|
+
- `/inc "feature"` - Plan new increment
|
|
1568
|
+
- `/do` - Execute tasks (smart resume)
|
|
1569
|
+
- `/done 0002` - Close increment
|
|
1570
|
+
- `/validate 0002` - Validate increment
|
|
1571
|
+
|
|
1572
|
+
*Full namespace forms (explicit, avoids conflicts)*:
|
|
1484
1573
|
- `/specweave:inc "feature"` - Plan new increment
|
|
1485
1574
|
- `/specweave:do` - Execute tasks (smart resume)
|
|
1486
|
-
- `/specweave:progress` - Check status
|
|
1487
|
-
- `/specweave:validate 0002` - Validate increment
|
|
1488
1575
|
- `/specweave:done 0002` - Close increment
|
|
1576
|
+
- `/specweave:validate 0002` - Validate increment
|
|
1577
|
+
- `/specweave:progress` - Check status
|
|
1489
1578
|
- `/specweave:sync-docs update` - Sync living docs
|
|
1490
1579
|
|
|
1580
|
+
**Both forms work identically** - use short forms for speed, namespace forms for clarity.
|
|
1581
|
+
|
|
1491
1582
|
**Build & Test**:
|
|
1492
1583
|
- `npm run build` - Compile TypeScript
|
|
1493
1584
|
- `npm test` - Run all unit tests
|
package/README.md
CHANGED
|
@@ -57,6 +57,41 @@ cd my-project
|
|
|
57
57
|
|
|
58
58
|
## Quick Start
|
|
59
59
|
|
|
60
|
+
**Two ways to start building:**
|
|
61
|
+
|
|
62
|
+
### Option 1: Interactive Quick Build (Fastest)
|
|
63
|
+
|
|
64
|
+
Open Claude Code and simply describe what you want to build:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
"build a very simple web calculator app"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**SpecWeave's intelligent assistant will guide you through:**
|
|
71
|
+
|
|
72
|
+
1. **Approach** - Choose your workflow:
|
|
73
|
+
- Quick build - Just code it now
|
|
74
|
+
- SpecWeave increment - Plan first (recommended for larger features)
|
|
75
|
+
|
|
76
|
+
2. **Features** - Multi-select what you need:
|
|
77
|
+
- ☑ Basic operations (+, -, ×, ÷)
|
|
78
|
+
- ☑ Additional functions (%, √, clear, backspace)
|
|
79
|
+
- ☑ Keyboard support
|
|
80
|
+
- ☑ Calculation history
|
|
81
|
+
- ☐ Type something custom...
|
|
82
|
+
|
|
83
|
+
3. **Tech Stack** - Pick your tools:
|
|
84
|
+
- Vanilla HTML/CSS/JS
|
|
85
|
+
- React
|
|
86
|
+
- Your choice
|
|
87
|
+
- Type something custom...
|
|
88
|
+
|
|
89
|
+
4. **Review** - Confirm and start building!
|
|
90
|
+
|
|
91
|
+
**Result**: SpecWeave builds exactly what you need with the stack you chose.
|
|
92
|
+
|
|
93
|
+
### Option 2: Specification-First Workflow (Best Practice)
|
|
94
|
+
|
|
60
95
|
**Open Claude Code in your project and use slash commands:**
|
|
61
96
|
|
|
62
97
|
```bash
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Adapter Interface for Multi-Tool Support
|
|
3
3
|
*
|
|
4
4
|
* Defines the contract that all SpecWeave adapters must implement.
|
|
5
|
-
* Enables SpecWeave to work with ANY AI coding tool (Claude, Cursor, Copilot, etc.)
|
|
5
|
+
* Enables SpecWeave to work with ANY AI coding tool (Claude, Cursor, Copilot/ChatGPT/Gemini via generic, etc.)
|
|
6
6
|
*/
|
|
7
7
|
import type { Plugin } from '../core/types/plugin.js';
|
|
8
8
|
export interface AdapterOptions {
|
|
@@ -28,11 +28,12 @@ export type AutomationLevel = 'full' | 'semi' | 'basic' | 'manual';
|
|
|
28
28
|
/**
|
|
29
29
|
* Base Adapter Interface
|
|
30
30
|
*
|
|
31
|
-
* All adapters (
|
|
31
|
+
* All adapters (Cursor, Generic) must implement this interface.
|
|
32
|
+
* Note: Claude Code is NOT an adapter - it's the native baseline experience.
|
|
32
33
|
*/
|
|
33
34
|
export interface IAdapter {
|
|
34
35
|
/**
|
|
35
|
-
* Adapter name (e.g., '
|
|
36
|
+
* Adapter name (e.g., 'cursor', 'generic')
|
|
36
37
|
*/
|
|
37
38
|
name: string;
|
|
38
39
|
/**
|
|
@@ -51,9 +52,8 @@ export interface IAdapter {
|
|
|
51
52
|
* Detect if this adapter's tool is present in the environment
|
|
52
53
|
*
|
|
53
54
|
* Examples:
|
|
54
|
-
* - Claude: Check for Claude Code CLI
|
|
55
55
|
* - Cursor: Check for .cursor/ directory or Cursor process
|
|
56
|
-
* -
|
|
56
|
+
* - Generic: Always true (fallback for any tool)
|
|
57
57
|
*
|
|
58
58
|
* @returns Promise<boolean> True if tool detected
|
|
59
59
|
*/
|
|
@@ -78,7 +78,7 @@ export interface IAdapter {
|
|
|
78
78
|
/**
|
|
79
79
|
* Install this adapter to a project
|
|
80
80
|
*
|
|
81
|
-
* Creates tool-specific files (e.g., .cursorrules, .
|
|
81
|
+
* Creates tool-specific files (e.g., .cursorrules for Cursor, AGENTS.md for all)
|
|
82
82
|
* Installs relevant skills/agents if applicable
|
|
83
83
|
*
|
|
84
84
|
* @param options Installation options
|
|
@@ -109,8 +109,8 @@ export interface IAdapter {
|
|
|
109
109
|
* Check if this adapter supports plugins
|
|
110
110
|
*
|
|
111
111
|
* Returns true if the adapter can install and compile plugins
|
|
112
|
-
* (
|
|
113
|
-
* Returns false for
|
|
112
|
+
* (Cursor AGENTS.md compilation, Generic AGENTS.md)
|
|
113
|
+
* Returns false for manual-only adapters
|
|
114
114
|
*
|
|
115
115
|
* @returns boolean True if plugins are supported
|
|
116
116
|
*/
|
|
@@ -119,10 +119,10 @@ export interface IAdapter {
|
|
|
119
119
|
* Compile and install a plugin for this adapter
|
|
120
120
|
*
|
|
121
121
|
* Transforms plugin content (skills/agents/commands) to tool-specific format:
|
|
122
|
-
* - Claude: Copy to .claude/skills/, .claude/agents/, .claude/commands/
|
|
123
122
|
* - Cursor: Compile to AGENTS.md + team commands JSON
|
|
124
|
-
* -
|
|
125
|
-
*
|
|
123
|
+
* - Generic: Compile to AGENTS.md for Copilot/ChatGPT/Gemini
|
|
124
|
+
*
|
|
125
|
+
* Note: Claude Code uses native plugin system (no compilation needed)
|
|
126
126
|
*
|
|
127
127
|
* @param plugin Plugin to compile and install
|
|
128
128
|
* @returns Promise<void>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-interface.d.ts","sourceRoot":"","sources":["../../src/adapters/adapter-interface.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE;QACV,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,eAAe,GAAG,aAAa,CAAC;CAChD;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,MAAM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,CAAC;IAEhD;;;;;;;;;;OAUG;IACH,WAAW,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;;;;;OAMG;IACH,eAAe,IAAI,MAAM,CAAC;IAE1B;;;;;;;;OAQG;IACH,eAAe,IAAI,OAAO,CAAC;IAE3B;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7C;;;;;;;OAOG;IACH,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhD;;;;;;OAMG;IACH,mBAAmB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CAC1C"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Adapter Interface for Multi-Tool Support
|
|
3
3
|
*
|
|
4
4
|
* Defines the contract that all SpecWeave adapters must implement.
|
|
5
|
-
* Enables SpecWeave to work with ANY AI coding tool (Claude, Cursor, Copilot, etc.)
|
|
5
|
+
* Enables SpecWeave to work with ANY AI coding tool (Claude, Cursor, Copilot/ChatGPT/Gemini via generic, etc.)
|
|
6
6
|
*/
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=adapter-interface.js.map
|
|
@@ -52,8 +52,7 @@ export declare class AdapterLoader {
|
|
|
52
52
|
* 2. Cursor (if cursor CLI or .cursor/ or .cursorrules exists)
|
|
53
53
|
* 3. Gemini CLI (if gemini CLI found)
|
|
54
54
|
* 4. Codex (if codex CLI found)
|
|
55
|
-
* 5.
|
|
56
|
-
* 6. Generic (only if explicitly requested via --adapter generic)
|
|
55
|
+
* 5. Generic (only if explicitly requested via --adapter generic)
|
|
57
56
|
*
|
|
58
57
|
* @returns Promise<string> Detected tool name (not adapter - Claude has no adapter!)
|
|
59
58
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-loader.d.ts","sourceRoot":"","sources":["../../src/adapters/adapter-loader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"adapter-loader.d.ts","sourceRoot":"","sources":["../../src/adapters/adapter-loader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AASlD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;QACzB,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;CACJ;AAED;;GAEG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAoC;IACpD,OAAO,CAAC,QAAQ,CAAgC;;IAMhD;;;;;OAKG;IACH,OAAO,CAAC,kBAAkB;IAQ1B;;OAEG;IACG,YAAY,IAAI,OAAO,CAAC,eAAe,CAAC;IAiB9C;;OAEG;IACH,cAAc,IAAI,QAAQ,EAAE;IAI5B;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS;IAI9C;;;;;;;;;;;OAWG;IACG,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;IAuBnC;;;OAGG;YACW,aAAa;IAW3B;;OAEG;YACW,UAAU;IASxB;;OAEG;IACG,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAoB3D;;OAEG;IACG,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAsCnC;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAUzB;;OAEG;IACG,qBAAqB,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;CAoBxE"}
|
|
@@ -9,7 +9,6 @@ import * as path from 'path';
|
|
|
9
9
|
import * as YAML from 'yaml';
|
|
10
10
|
import { execSync } from 'child_process';
|
|
11
11
|
import { CursorAdapter } from './cursor/adapter.js';
|
|
12
|
-
import { CopilotAdapter } from './copilot/adapter.js';
|
|
13
12
|
import { GeminiAdapter } from './gemini/adapter.js';
|
|
14
13
|
import { CodexAdapter } from './codex/adapter.js';
|
|
15
14
|
import { GenericAdapter } from './generic/adapter.js';
|
|
@@ -33,7 +32,6 @@ export class AdapterLoader {
|
|
|
33
32
|
initializeAdapters() {
|
|
34
33
|
// Note: No ClaudeAdapter - Claude is the baseline, not an adaptation!
|
|
35
34
|
this.adapters.set('cursor', new CursorAdapter());
|
|
36
|
-
this.adapters.set('copilot', new CopilotAdapter());
|
|
37
35
|
this.adapters.set('gemini', new GeminiAdapter());
|
|
38
36
|
this.adapters.set('codex', new CodexAdapter());
|
|
39
37
|
this.adapters.set('generic', new GenericAdapter());
|
|
@@ -74,15 +72,14 @@ export class AdapterLoader {
|
|
|
74
72
|
* 2. Cursor (if cursor CLI or .cursor/ or .cursorrules exists)
|
|
75
73
|
* 3. Gemini CLI (if gemini CLI found)
|
|
76
74
|
* 4. Codex (if codex CLI found)
|
|
77
|
-
* 5.
|
|
78
|
-
* 6. Generic (only if explicitly requested via --adapter generic)
|
|
75
|
+
* 5. Generic (only if explicitly requested via --adapter generic)
|
|
79
76
|
*
|
|
80
77
|
* @returns Promise<string> Detected tool name (not adapter - Claude has no adapter!)
|
|
81
78
|
*/
|
|
82
79
|
async detectTool() {
|
|
83
80
|
console.log('🔍 Detecting AI coding tool...\n');
|
|
84
81
|
// Check other tools first (if they have specific indicators)
|
|
85
|
-
const detectionOrder = ['cursor', 'gemini', 'codex'
|
|
82
|
+
const detectionOrder = ['cursor', 'gemini', 'codex'];
|
|
86
83
|
for (const adapterName of detectionOrder) {
|
|
87
84
|
const adapter = this.adapters.get(adapterName);
|
|
88
85
|
if (!adapter)
|
|
@@ -199,7 +196,7 @@ export class AdapterLoader {
|
|
|
199
196
|
if (explicitChoice) {
|
|
200
197
|
const adapter = this.adapters.get(explicitChoice);
|
|
201
198
|
if (!adapter) {
|
|
202
|
-
throw new Error(`Invalid adapter: ${explicitChoice}. Use 'claude', 'cursor',
|
|
199
|
+
throw new Error(`Invalid adapter: ${explicitChoice}. Use 'claude', 'cursor', or 'generic'`);
|
|
203
200
|
}
|
|
204
201
|
return adapter;
|
|
205
202
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-loader.js","sourceRoot":"","sources":["../../src/adapters/adapter-loader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"adapter-loader.js","sourceRoot":"","sources":["../../src/adapters/adapter-loader.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC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G,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;QAC7C,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAEhD,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,+BAA+B,YAAY,EAAE,CAAC,CAAC;QACjE,CAAC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;CACF"}
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*
|
|
7
7
|
* IMPORTANT:
|
|
8
8
|
* - Claude Code does NOT read this file - it only reads CLAUDE.md
|
|
9
|
-
* - This file is for: Cursor,
|
|
9
|
+
* - This file is for: Cursor, GitHub Copilot, ChatGPT, Gemini, and ANY other AI tool
|
|
10
10
|
*
|
|
11
11
|
* This ONE file replaces:
|
|
12
|
-
* - .cursorrules (Cursor)
|
|
13
|
-
* - .github/copilot/instructions.md (Copilot)
|
|
12
|
+
* - .cursorrules (Cursor - legacy)
|
|
13
|
+
* - .github/copilot/instructions.md (Copilot - no longer needed, Copilot reads AGENTS.md)
|
|
14
14
|
* - Any other tool-specific configuration files
|
|
15
15
|
*/
|
|
16
16
|
export interface AgentsMdOptions {
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*
|
|
7
7
|
* IMPORTANT:
|
|
8
8
|
* - Claude Code does NOT read this file - it only reads CLAUDE.md
|
|
9
|
-
* - This file is for: Cursor,
|
|
9
|
+
* - This file is for: Cursor, GitHub Copilot, ChatGPT, Gemini, and ANY other AI tool
|
|
10
10
|
*
|
|
11
11
|
* This ONE file replaces:
|
|
12
|
-
* - .cursorrules (Cursor)
|
|
13
|
-
* - .github/copilot/instructions.md (Copilot)
|
|
12
|
+
* - .cursorrules (Cursor - legacy)
|
|
13
|
+
* - .github/copilot/instructions.md (Copilot - no longer needed, Copilot reads AGENTS.md)
|
|
14
14
|
* - Any other tool-specific configuration files
|
|
15
15
|
*/
|
|
16
16
|
import { DocGenerator } from './doc-generator.js';
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Universal adapter that works with ANY AI tool.
|
|
5
5
|
* All AI tools can read AGENTS.md (universal standard) for workflow instructions.
|
|
6
6
|
*
|
|
7
|
-
* This adapter ensures 100% compatibility - works with
|
|
8
|
-
* Gemini, or literally ANY AI that can read markdown and follow instructions.
|
|
7
|
+
* This adapter ensures 100% compatibility - works with GitHub Copilot, ChatGPT web,
|
|
8
|
+
* Claude web, Gemini, or literally ANY AI that can read markdown and follow instructions.
|
|
9
9
|
*/
|
|
10
10
|
import { AdapterBase } from '../adapter-base.js';
|
|
11
11
|
import { AdapterOptions, AdapterFile } from '../adapter-interface.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/adapters/generic/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAIzD,qBAAa,cAAe,SAAQ,WAAW;IAC7C,IAAI,SAAa;IACjB,WAAW,
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/adapters/generic/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAIzD,qBAAa,cAAe,SAAQ,WAAW;IAC7C,IAAI,SAAa;IACjB,WAAW,SAAyF;IACpG,eAAe,EAAG,QAAQ,CAAU;IAEpC;;;;;OAKG;IACG,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC;IAKhC;;;;;OAKG;IACH,QAAQ,IAAI,WAAW,EAAE;IAIzB;;OAEG;IACG,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAOrD;;OAEG;IACG,WAAW,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAIzD;;OAEG;IACH,eAAe,IAAI,MAAM;IAyHzB;;;;;;OAMG;IACH,eAAe,IAAI,OAAO;IAI1B;;;;OAIG;YACW,iBAAiB;IAiB/B;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;IAY1B;;;;;;;;OAQG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAqElD;;OAEG;IACG,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAmCrD;;OAEG;IACG,mBAAmB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAmB/C"}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Universal adapter that works with ANY AI tool.
|
|
5
5
|
* All AI tools can read AGENTS.md (universal standard) for workflow instructions.
|
|
6
6
|
*
|
|
7
|
-
* This adapter ensures 100% compatibility - works with
|
|
8
|
-
* Gemini, or literally ANY AI that can read markdown and follow instructions.
|
|
7
|
+
* This adapter ensures 100% compatibility - works with GitHub Copilot, ChatGPT web,
|
|
8
|
+
* Claude web, Gemini, or literally ANY AI that can read markdown and follow instructions.
|
|
9
9
|
*/
|
|
10
10
|
import * as path from 'path';
|
|
11
11
|
import fs from 'fs-extra';
|
|
@@ -15,7 +15,7 @@ export class GenericAdapter extends AdapterBase {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
17
17
|
this.name = 'generic';
|
|
18
|
-
this.description = 'Generic adapter - AGENTS.md works with ANY AI tool (ChatGPT, Gemini, etc.)';
|
|
18
|
+
this.description = 'Generic adapter - AGENTS.md works with ANY AI tool (Copilot, ChatGPT, Gemini, etc.)';
|
|
19
19
|
this.automationLevel = 'manual';
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
@@ -43,7 +43,7 @@ export class GenericAdapter extends AdapterBase {
|
|
|
43
43
|
async install(options) {
|
|
44
44
|
console.log('\n📦 Configuring for Universal AI Tool Compatibility\n');
|
|
45
45
|
// No files to install - any AI can read AGENTS.md
|
|
46
|
-
console.log('✅ AGENTS.md works with any AI tool (ChatGPT, Gemini, Claude web, etc.)');
|
|
46
|
+
console.log('✅ AGENTS.md works with any AI tool (Copilot, ChatGPT, Gemini, Claude web, etc.)');
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Post-installation instructions
|
|
@@ -64,19 +64,38 @@ Your project is now configured for ANY AI tool!
|
|
|
64
64
|
|
|
65
65
|
WHAT THIS PROVIDES:
|
|
66
66
|
|
|
67
|
-
- AGENTS.
|
|
68
|
-
-
|
|
67
|
+
- AGENTS.MD (Universal Standard)
|
|
68
|
+
- GitHub Copilot automatically reads this file
|
|
69
|
+
- ChatGPT, Gemini, Claude web can also use it
|
|
69
70
|
- Contains all workflow instructions
|
|
70
71
|
- Project structure and templates
|
|
71
72
|
- Following agents.md standard (https://agents.md/)
|
|
72
73
|
|
|
73
74
|
- 100% Compatibility
|
|
75
|
+
- GitHub Copilot (best experience with AGENTS.md)
|
|
74
76
|
- ChatGPT (web), Claude (web), Gemini
|
|
75
77
|
- Any AI that can read markdown
|
|
76
78
|
|
|
77
79
|
HOW TO USE AGENTS.MD WITH ANY AI:
|
|
78
80
|
|
|
79
|
-
Method 1:
|
|
81
|
+
Method 1: Command Discovery (GitHub Copilot - Recommended!)
|
|
82
|
+
1. AI reads AGENTS.md automatically (Copilot scans project files)
|
|
83
|
+
2. AGENTS.md contains "SpecWeave Commands" section with all 17 commands
|
|
84
|
+
3. Ask: "create increment for payments" or "run /inc payments"
|
|
85
|
+
4. AI reads plugins/specweave/commands/inc.md
|
|
86
|
+
5. AI executes PM-led workflow (market research, spec.md, plan.md, tasks.md)
|
|
87
|
+
6. Increment created - same result as Claude Code!
|
|
88
|
+
|
|
89
|
+
Available commands AI can execute:
|
|
90
|
+
- /inc "feature" - Plan new increment
|
|
91
|
+
- /do - Execute implementation tasks
|
|
92
|
+
- /done 0001 - Close increment
|
|
93
|
+
- /validate 0001 - Quality validation
|
|
94
|
+
- /progress - Check status
|
|
95
|
+
- /sync-docs - Sync living documentation
|
|
96
|
+
... and 11 more commands!
|
|
97
|
+
|
|
98
|
+
Method 2: Copy-Paste Workflow (ChatGPT web, Claude web, etc.)
|
|
80
99
|
1. Open AGENTS.md in your browser/editor
|
|
81
100
|
2. Copy relevant section (e.g., "Creating a Feature Increment")
|
|
82
101
|
3. Paste into AI chat (ChatGPT, Claude web, Gemini, etc.)
|
|
@@ -84,10 +103,10 @@ Method 1: Copy-Paste Workflow (ChatGPT web, Claude web, etc.)
|
|
|
84
103
|
5. AI generates content (spec.md, plan.md, etc.)
|
|
85
104
|
6. Copy AI's response, save to files
|
|
86
105
|
|
|
87
|
-
Method
|
|
106
|
+
Method 3: File System Access (AI with file access)
|
|
88
107
|
1. AI automatically reads AGENTS.md
|
|
89
108
|
2. Ask: "Create increment for user authentication"
|
|
90
|
-
3. AI follows AGENTS.md workflow
|
|
109
|
+
3. AI follows AGENTS.md workflow and command execution instructions
|
|
91
110
|
4. AI creates files directly
|
|
92
111
|
|
|
93
112
|
UNDERSTANDING "MANUAL":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.js","sourceRoot":"","sources":["../../../src/adapters/generic/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAmB,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGlG,MAAM,OAAO,cAAe,SAAQ,WAAW;IAA/C;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UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,WAAW,CAC/B,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAmBA,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,WAAW,CAC/B,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,GAAE,WAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CA2kBf"}
|