aigent-team 0.2.0 → 0.3.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 +103 -7
- package/dist/{chunk-U3NGK2UZ.js → chunk-RH4B2QFX.js} +11 -1
- package/dist/cli.js +1064 -192
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,13 +81,102 @@ Interactive wizard that:
|
|
|
81
81
|
2. Lets you pick which team agents to enable
|
|
82
82
|
3. Creates `aigent-team.config.json`
|
|
83
83
|
|
|
84
|
+
> **Note:** `init` only creates the config file. Run `aigent-team generate` to generate platform configs.
|
|
85
|
+
|
|
84
86
|
### Generate
|
|
85
87
|
|
|
86
88
|
```bash
|
|
87
89
|
npx aigent-team generate
|
|
88
90
|
```
|
|
89
91
|
|
|
90
|
-
|
|
92
|
+
When run without flags, an interactive wizard lets you choose:
|
|
93
|
+
- **Generate mode**: Platform configs or Plugin bundle
|
|
94
|
+
- **Scopes**: Agents, Skills, References
|
|
95
|
+
- **Team agents**: which roles to generate
|
|
96
|
+
- **Target platforms**: which platforms to generate for
|
|
97
|
+
|
|
98
|
+
You can also pass flags to skip the wizard:
|
|
99
|
+
|
|
100
|
+
#### Scope filtering
|
|
101
|
+
|
|
102
|
+
Generate only specific output types:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
# Only agent skill index files (no references or skills)
|
|
106
|
+
npx aigent-team generate --scope agents
|
|
107
|
+
|
|
108
|
+
# Only executable skill files
|
|
109
|
+
npx aigent-team generate --scope skills
|
|
110
|
+
|
|
111
|
+
# Only reference docs
|
|
112
|
+
npx aigent-team generate --scope references
|
|
113
|
+
|
|
114
|
+
# Combine scopes
|
|
115
|
+
npx aigent-team generate --scope agents,skills
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
#### Team filtering
|
|
119
|
+
|
|
120
|
+
Override the config's `teams` array from the CLI:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# Generate only for FE and BE agents
|
|
124
|
+
npx aigent-team generate --team fe,be
|
|
125
|
+
|
|
126
|
+
# Combine with scope: only skills for QA
|
|
127
|
+
npx aigent-team generate --scope skills --team qa
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Plugin system
|
|
131
|
+
|
|
132
|
+
Create a self-contained plugin bundle:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
# Generate plugin bundle
|
|
136
|
+
npx aigent-team generate --scope plugin
|
|
137
|
+
|
|
138
|
+
# Or select "Plugin bundle" in the interactive wizard
|
|
139
|
+
npx aigent-team generate
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
This creates a `.aigent-team-plugin/` directory (configurable via `output.pluginDir`) with self-contained per-platform bundles:
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
.aigent-team-plugin/
|
|
146
|
+
├── manifest.json # Metadata: version, roles, platforms, agent info
|
|
147
|
+
├── claude-code-plugin/ # Self-contained Claude Code bundle
|
|
148
|
+
│ ├── rules/ # Hub file (CLAUDE.md)
|
|
149
|
+
│ ├── agents/ # Agent skill indexes
|
|
150
|
+
│ ├── skills/{agent}/ # Executable skill files
|
|
151
|
+
│ └── kb/ # References + shared knowledge
|
|
152
|
+
│ ├── {agent}/ # Per-agent reference docs
|
|
153
|
+
│ └── shared/ # Shared knowledge files
|
|
154
|
+
├── cursor-ide-plugin/ # Self-contained Cursor bundle
|
|
155
|
+
│ ├── .cursor-plugin/ # Plugin manifest
|
|
156
|
+
│ ├── rules/ # Shared conventions
|
|
157
|
+
│ ├── agents/ # Agent .mdc files
|
|
158
|
+
│ ├── skills/ # Skill files
|
|
159
|
+
│ └── kb/ # References
|
|
160
|
+
└── ... # Other platform bundles
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Each platform bundle is fully self-contained — all agents, skills, references, and shared knowledge are inside. Users can distribute or install any bundle independently.
|
|
164
|
+
|
|
165
|
+
Install a plugin into a project:
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
# Install plugin — converts to platform-native formats
|
|
169
|
+
npx aigent-team install ./path/to/plugin
|
|
170
|
+
|
|
171
|
+
# Install for specific platform only
|
|
172
|
+
npx aigent-team install ./plugin --platform cursor
|
|
173
|
+
|
|
174
|
+
# Overwrite existing files
|
|
175
|
+
npx aigent-team install ./plugin --force
|
|
176
|
+
|
|
177
|
+
# Uninstall — removes all files installed by the plugin
|
|
178
|
+
npx aigent-team uninstall my-plugin-name
|
|
179
|
+
```
|
|
91
180
|
|
|
92
181
|
### Validate
|
|
93
182
|
|
|
@@ -132,6 +221,7 @@ Create `aigent-team.config.json` (or `.ts` / `.js`) in your project root:
|
|
|
132
221
|
| `teams` | `string[]` | Yes | Agent teams to enable: `lead`, `ba`, `fe`, `be`, `qa`, `devops` |
|
|
133
222
|
| `overrides` | `object` | No | Per-team overrides for `techStack`, `tools`, `globs` |
|
|
134
223
|
| `overrides.<team>.techStack` | `object` | No | Override `languages`, `frameworks`, `libraries`, `buildTools` |
|
|
224
|
+
| `output.pluginDir` | `string` | No | Plugin output directory (default: `.aigent-team-plugin/`) |
|
|
135
225
|
|
|
136
226
|
### Programmatic config
|
|
137
227
|
|
|
@@ -153,11 +243,15 @@ export default defineConfig({
|
|
|
153
243
|
});
|
|
154
244
|
```
|
|
155
245
|
|
|
156
|
-
###
|
|
246
|
+
### CLI flags
|
|
157
247
|
|
|
158
248
|
```bash
|
|
159
|
-
|
|
160
|
-
npx aigent-team generate --
|
|
249
|
+
npx aigent-team generate --platform claude-code # Single platform
|
|
250
|
+
npx aigent-team generate --scope skills # Only skill files
|
|
251
|
+
npx aigent-team generate --team fe,be # Only FE + BE agents
|
|
252
|
+
npx aigent-team generate --scope plugin # Plugin bundle
|
|
253
|
+
npx aigent-team install ./plugin --force # Install plugin
|
|
254
|
+
npx aigent-team uninstall my-app # Remove plugin
|
|
161
255
|
```
|
|
162
256
|
|
|
163
257
|
## Generated output
|
|
@@ -316,9 +410,11 @@ This mirrors how a real tech lead operates — delegating to specialists and ens
|
|
|
316
410
|
|
|
317
411
|
| Document | Description |
|
|
318
412
|
|---|---|
|
|
319
|
-
| [
|
|
320
|
-
| [
|
|
321
|
-
| [
|
|
413
|
+
| [Docs Index](docs/INDEX.md) | Entry point for all documentation, version history, RFC tracker |
|
|
414
|
+
| [Architecture](docs/base/architecture.md) | System design, data flow, module map, compiler pattern |
|
|
415
|
+
| [Agent Reference](docs/base/agents.md) | All 6 agents — roles, capabilities, reference file catalog |
|
|
416
|
+
| [Vision & Roadmap](docs/base/vision.md) | Future plans, design principles, platform expansion |
|
|
417
|
+
| [RFC-001: Scope & Plugin](docs/rfcs/rfc-001-generate-scope.md) | `--scope`, `--team`, plugin system design |
|
|
322
418
|
| [Contributing](CONTRIBUTING.md) | Development setup, how to add agents/compilers |
|
|
323
419
|
| [Changelog](CHANGELOG.md) | Release history |
|
|
324
420
|
|
|
@@ -4,6 +4,13 @@ import { createRequire } from 'module'; const require = createRequire(import.met
|
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
var PLATFORMS = ["claude-code", "cursor", "codex", "antigravity"];
|
|
6
6
|
var TEAM_ROLES = ["lead", "ba", "fe", "be", "qa", "devops"];
|
|
7
|
+
var GENERATE_SCOPES = ["all", "agents", "skills", "references", "plugin"];
|
|
8
|
+
var PLUGIN_BUNDLE_DIRS = {
|
|
9
|
+
"claude-code": "claude-code-plugin",
|
|
10
|
+
cursor: "cursor-ide-plugin",
|
|
11
|
+
codex: "codex-plugin",
|
|
12
|
+
antigravity: "antigravity-plugin"
|
|
13
|
+
};
|
|
7
14
|
var TechStackSchema = z.object({
|
|
8
15
|
languages: z.array(z.string()).optional(),
|
|
9
16
|
frameworks: z.array(z.string()).optional(),
|
|
@@ -35,7 +42,8 @@ var ConfigSchema = z.object({
|
|
|
35
42
|
architecture: z.string().optional()
|
|
36
43
|
}).optional(),
|
|
37
44
|
output: z.object({
|
|
38
|
-
directory: z.string().optional()
|
|
45
|
+
directory: z.string().optional(),
|
|
46
|
+
pluginDir: z.string().optional()
|
|
39
47
|
}).optional()
|
|
40
48
|
});
|
|
41
49
|
|
|
@@ -314,6 +322,8 @@ function assembleSkill(skill) {
|
|
|
314
322
|
export {
|
|
315
323
|
PLATFORMS,
|
|
316
324
|
TEAM_ROLES,
|
|
325
|
+
GENERATE_SCOPES,
|
|
326
|
+
PLUGIN_BUNDLE_DIRS,
|
|
317
327
|
loadConfig,
|
|
318
328
|
configExists,
|
|
319
329
|
loadAgents,
|