@sniper.ai/cli 2.0.0 → 3.0.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@sniper.ai/cli)](https://www.npmjs.com/package/@sniper.ai/cli)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- CLI tool for scaffolding and managing [SNIPER](https://virkt25.github.io/sniper/)-enabled projects.
6
+ CLI tool for scaffolding and managing [SNIPER](https://sniperai.dev/)-enabled projects.
7
7
 
8
8
  ## What is SNIPER?
9
9
 
@@ -18,14 +18,12 @@ npm install -g @sniper.ai/cli
18
18
  # 2. Initialize SNIPER in your project
19
19
  sniper init
20
20
 
21
- # 3. (Optional) Add a domain pack for project-specific context
22
- sniper add-pack @sniper.ai/pack-sales-dialer
21
+ # 3. (Optional) Install a language plugin
22
+ sniper plugin install @sniper.ai/plugin-typescript
23
23
 
24
- # 4. Run the lifecycle phases in Claude Code
25
- /sniper-discover # Phase 1: Discovery & Analysis
26
- /sniper-plan # Phase 2: Planning & Architecture
27
- /sniper-solve # Phase 3: Epic Sharding & Stories
28
- /sniper-sprint # Phase 4: Implementation Sprint
24
+ # 4. Run the lifecycle in Claude Code
25
+ /sniper-flow # Auto-detect and run appropriate protocol
26
+ /sniper-flow --protocol full # Or specify a protocol explicitly
29
27
  ```
30
28
 
31
29
  ## Installation
@@ -54,83 +52,57 @@ Show the current lifecycle phase, artifact state, and team status.
54
52
  sniper status
55
53
  ```
56
54
 
57
- ### `sniper update`
55
+ ### `sniper migrate`
58
56
 
59
- Update the scaffolded framework files to the latest version from `@sniper.ai/core`.
57
+ Migrate a v2 SNIPER configuration to the v3 format.
60
58
 
61
59
  ```bash
62
- sniper update
60
+ sniper migrate
63
61
  ```
64
62
 
65
- ### `sniper add-pack <pack>`
63
+ ### `sniper plugin install/remove/list`
66
64
 
67
- Install a domain pack to inject project-specific context into agents.
65
+ Manage language plugins (TypeScript, Python, Go).
68
66
 
69
67
  ```bash
70
- sniper add-pack @sniper.ai/pack-sales-dialer
68
+ sniper plugin install @sniper.ai/plugin-typescript
69
+ sniper plugin remove @sniper.ai/plugin-typescript
70
+ sniper plugin list
71
71
  ```
72
72
 
73
- ### `sniper remove-pack <pack>`
73
+ ### `sniper knowledge`
74
74
 
75
- Remove an installed domain pack.
75
+ Manage domain knowledge files for MCP-based retrieval.
76
76
 
77
77
  ```bash
78
- sniper remove-pack @sniper.ai/pack-sales-dialer
78
+ sniper knowledge
79
79
  ```
80
80
 
81
- ### `sniper list-packs`
81
+ ### `sniper workspace`
82
82
 
83
- List all installed domain packs.
83
+ Manage SNIPER workspaces for multi-repo orchestration.
84
84
 
85
85
  ```bash
86
- sniper list-packs
86
+ sniper workspace
87
87
  ```
88
88
 
89
89
  ## Slash Commands (Claude Code)
90
90
 
91
91
  Once SNIPER is initialized, these slash commands are available inside Claude Code. They drive the agent team lifecycle.
92
92
 
93
- ### Lifecycle
94
-
95
- | Command | Description |
96
- |---------|-------------|
97
- | `/sniper-init` | Initialize SNIPER in a new or existing project |
98
- | `/sniper-discover` | Phase 1: Discovery and analysis (parallel team) |
99
- | `/sniper-plan` | Phase 2: Planning and architecture (parallel team with coordination) |
100
- | `/sniper-solve` | Phase 3: Epic sharding and story creation (single agent) |
101
- | `/sniper-sprint` | Phase 4: Implementation sprint (parallel team) |
102
- | `/sniper-review` | Run review gate for the current phase |
103
- | `/sniper-status` | Show lifecycle status and artifact state |
104
-
105
- ### Extended
106
-
107
- | Command | Description |
108
- |---------|-------------|
109
- | `/sniper-feature` | Incremental feature lifecycle |
110
- | `/sniper-ingest` | Codebase ingestion (parallel team) |
111
- | `/sniper-doc` | Generate or update project documentation (parallel team) |
112
- | `/sniper-debug` | Production debugging (phased investigation) |
113
- | `/sniper-audit` | Audit: refactoring, review, and QA |
114
-
115
- ### Workspace
116
-
117
93
  | Command | Description |
118
94
  |---------|-------------|
119
- | `/sniper-workspace init` | Initialize a SNIPER workspace |
120
- | `/sniper-workspace feature` | Plan and execute a cross-repo feature |
121
- | `/sniper-workspace status` | Show workspace status |
122
- | `/sniper-workspace validate` | Validate interface contracts |
95
+ | `/sniper-flow` | Execute a SNIPER protocol (auto-detects scope or use `--protocol <name>`) |
96
+ | `/sniper-flow-headless` | Execute a protocol non-interactively for CI/CD environments |
97
+ | `/sniper-init` | Initialize SNIPER v3 in a new or existing project |
98
+ | `/sniper-review` | Manually trigger a review gate for the current phase |
99
+ | `/sniper-status` | Show current protocol progress and cost |
123
100
 
124
- ### Utility
125
-
126
- | Command | Description |
127
- |---------|-------------|
128
- | `/sniper-compose` | Compose a spawn prompt from persona layers |
129
- | `/sniper-memory` | Manage agent memory (conventions, anti-patterns, decisions) |
101
+ `/sniper-flow` is the core execution engine. It runs any of the 7 protocols: `full`, `feature`, `patch`, `ingest`, `explore`, `refactor`, `hotfix`.
130
102
 
131
103
  ## How It Works
132
104
 
133
- The CLI reads framework content from `@sniper.ai/core` and scaffolds it into your project's `.sniper/` directory. This gives Claude Code access to personas, team definitions, templates, and slash commands that drive the SNIPER lifecycle.
105
+ The CLI reads framework content from `@sniper.ai/core` and scaffolds it into your project's `.sniper/` directory. This gives Claude Code access to agents, protocols, templates, and slash commands that drive the SNIPER lifecycle.
134
106
 
135
107
  ## Tech Stack
136
108
 
@@ -150,7 +122,7 @@ pnpm build # Production build
150
122
 
151
123
  ## Documentation
152
124
 
153
- Full documentation is available at [virkt25.github.io/sniper](https://virkt25.github.io/sniper/).
125
+ Full documentation is available at [sniperai.dev](https://sniperai.dev/).
154
126
 
155
127
  ## License
156
128