@vibe-assurance/cli 1.7.3 → 1.7.5

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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git reset:*)",
5
+ "Bash(git add:*)",
6
+ "Bash(git commit:*)",
7
+ "Bash(git push:*)"
8
+ ]
9
+ }
10
+ }
package/README.md CHANGED
@@ -24,26 +24,38 @@ npm install -g @vibe-assurance/cli
24
24
 
25
25
  3. **Restart your AI agent** and start using governance tools!
26
26
 
27
- ## Usage
28
-
29
- ### Available Commands
27
+ ## CLI Commands
30
28
 
31
29
  | Command | Description |
32
30
  |---------|-------------|
33
31
  | `vibe login` | Authenticate with Vibe Assurance |
34
32
  | `vibe logout` | Clear stored credentials |
33
+ | `vibe whoami` | Show current authenticated user |
35
34
  | `vibe mcp-server` | Start the MCP server (used by AI coding agents) |
36
35
  | `vibe setup-claude` | Configure MCP client to use Vibe Assurance |
36
+ | `vibe --version` | Show CLI version |
37
+
38
+ ### Project Commands
39
+
40
+ | Command | Description |
41
+ |---------|-------------|
37
42
  | `vibe projects` | List your accessible projects |
38
43
  | `vibe project current` | Show current project |
39
44
  | `vibe project select` | Switch to a different project |
40
- | `vibe --version` | Show CLI version |
41
45
 
42
- ### MCP Tools
46
+ ### Environment Commands
47
+
48
+ | Command | Description |
49
+ |---------|-------------|
50
+ | `vibe env` | Show current environment |
51
+ | `vibe env list` | List available environments |
52
+ | `vibe env prod` | Switch to production |
53
+
54
+ ## MCP Tools
43
55
 
44
56
  Once configured, your AI coding agent has access to these tools:
45
57
 
46
- #### Roles (AI Analyst Prompts)
58
+ ### Roles (AI Analyst Prompts)
47
59
 
48
60
  | Tool | Description |
49
61
  |------|-------------|
@@ -52,7 +64,7 @@ Once configured, your AI coding agent has access to these tools:
52
64
  | `vibe_update_role` | Update a role's system prompt |
53
65
  | `vibe_create_role` | Create a new custom role |
54
66
 
55
- #### Context & Templates
67
+ ### Context & Templates
56
68
 
57
69
  | Tool | Description |
58
70
  |------|-------------|
@@ -60,7 +72,7 @@ Once configured, your AI coding agent has access to these tools:
60
72
  | `vibe_get_template` | Get a document template |
61
73
  | `vibe_list_templates` | List available templates |
62
74
 
63
- #### Artifacts (Governance Documents)
75
+ ### Artifacts (Governance Documents)
64
76
 
65
77
  | Tool | Description |
66
78
  |------|-------------|
@@ -73,8 +85,6 @@ Once configured, your AI coding agent has access to these tools:
73
85
 
74
86
  #### Artifact Types
75
87
 
76
- The following artifact types are supported:
77
-
78
88
  | Type | Description | Example ID |
79
89
  |------|-------------|------------|
80
90
  | `CR` | Change Requests | CR-2026-051 |
@@ -83,10 +93,48 @@ The following artifact types are supported:
83
93
  | `REPORT` | Security/Audit Reports | RPT-2026-001 |
84
94
  | `POLICY` | Governance Policies | POL-001 |
85
95
  | `PLAN` | Strategic & Technical Plans | PLAN-2026-002 |
86
- | `ARCHITECTURE` | Architecture Decision Records | ADR-001 |
87
96
  | `CONFIG` | Configuration Documentation | CFG-001 |
97
+ | `SOP` | Standard Operating Procedures | SOP-001 |
88
98
 
89
- ### Example Session
99
+ ### Risk Register
100
+
101
+ | Tool | Description |
102
+ |------|-------------|
103
+ | `vibe_get_risk_register` | Get project's risk register |
104
+ | `vibe_add_risk` | Add a new risk with auto-calculated severity |
105
+ | `vibe_get_risk` | Get specific risk by ID |
106
+ | `vibe_update_risk` | Update risk status, treatment, or reassess |
107
+
108
+ ### Vulnerability Register
109
+
110
+ | Tool | Description |
111
+ |------|-------------|
112
+ | `vibe_get_vulnerability_register` | Get project's vulnerability register |
113
+ | `vibe_add_vulnerability` | Add vulnerability with OWASP validation |
114
+ | `vibe_get_vulnerability` | Get specific vulnerability by ID |
115
+ | `vibe_update_vulnerability` | Update vulnerability status or link to CR |
116
+
117
+ ### Strategic Plans
118
+
119
+ | Tool | Description |
120
+ |------|-------------|
121
+ | `vibe_get_strategic_plans` | List strategic plans (PLAN artifacts) |
122
+ | `vibe_update_plan_status` | Update plan status (Draft/Active/Completed/Closed) |
123
+
124
+ ### Policies & SOPs
125
+
126
+ | Tool | Description |
127
+ |------|-------------|
128
+ | `vibe_list_policies` | List project's policies |
129
+ | `vibe_store_policy` | Create a new policy |
130
+ | `vibe_get_policy` | Get specific policy by ID |
131
+ | `vibe_update_policy` | Update policy content or metadata |
132
+ | `vibe_list_sops` | List project's SOPs |
133
+ | `vibe_store_sop` | Create a new SOP |
134
+ | `vibe_get_sop` | Get specific SOP by ID |
135
+ | `vibe_update_sop` | Update SOP content or metadata |
136
+
137
+ ## Example Session
90
138
 
91
139
  ```
92
140
  User: Create a change request for adding user authentication
@@ -103,22 +151,16 @@ Based on your governance context, your next CR ID is CR-2026-001.
103
151
  [Calls vibe_store_artifact(...)]
104
152
 
105
153
  Your CR-2026-001 has been stored! View it at:
106
- https://vibeassurance.app/governance/artifacts/CR-2026-001
154
+ https://vibeassurance.app/governance-changes
107
155
  ```
108
156
 
109
157
  ## Configuration
110
158
 
111
159
  ### Environment Variables
112
160
 
113
- | Variable | Default | Description |
114
- |----------|---------|-------------|
115
- | `VIBE_API_URL` | `https://agent-platform-prod.azurewebsites.net` | API base URL |
116
-
117
- For development, you can point to a local instance:
118
-
119
- ```bash
120
- VIBE_API_URL=http://localhost:3000 vibe login
121
- ```
161
+ | Variable | Description |
162
+ |----------|-------------|
163
+ | `VIBE_API_URL` | Override API URL (for development) |
122
164
 
123
165
  ### Credential Storage
124
166
 
@@ -193,19 +235,6 @@ Then remove the MCP configuration from your AI agent's config file.
193
235
  - All API communication uses HTTPS
194
236
  - Tokens auto-refresh when expired
195
237
 
196
- ## Changelog
197
-
198
- ### v1.3.0 (2026-01-06)
199
- - Added `PLAN`, `ARCHITECTURE`, `CONFIG` artifact types
200
- - Enables Technical Strategist to store plans as PLAN artifacts
201
- - Supports architecture decision records (ADRs)
202
- - Supports configuration documentation
203
-
204
- ### v1.2.0
205
- - Added `vibe_append_file` for safe file additions to artifacts
206
- - Added project management commands (`vibe projects`, `vibe project select`)
207
- - Improved token refresh handling
208
-
209
238
  ## License
210
239
 
211
240
  MIT
@@ -214,4 +243,3 @@ MIT
214
243
 
215
244
  - [Vibe Assurance](https://vibeassurance.app) - AI Governance Platform
216
245
  - [MCP Protocol](https://modelcontextprotocol.io) - Model Context Protocol specification
217
- - [Documentation](https://agent-platform-prod.azurewebsites.net/docs-cli.html) - CLI setup guide
package/nul CHANGED
@@ -1,2 +1 @@
1
- dir: cannot access '/s': No such file or directory
2
- dir: cannot access '/b': No such file or directory
1
+ /usr/bin/bash: line 1: del: command not found
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-assurance/cli",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "description": "Vibe Assurance CLI - Connect AI coding agents to your governance platform via MCP",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/mcp/tools.js CHANGED
@@ -112,7 +112,7 @@ const tools = [
112
112
  },
113
113
  tier: {
114
114
  type: 'string',
115
- enum: ['free', 'starter', 'pro', 'agency', 'enterprise'],
115
+ enum: ['free', 'essentials', 'pro', 'business', 'enterprise'],
116
116
  description: 'Access tier (default: "free")'
117
117
  }
118
118
  },
@@ -167,6 +167,50 @@ const tools = [
167
167
  }
168
168
  },
169
169
 
170
+ {
171
+ name: 'vibe_create_template',
172
+ description: 'Create a new document template in Vibe Assurance. Templates provide standardized structures for governance documents. (Platform Admin only)',
173
+ inputSchema: {
174
+ type: 'object',
175
+ properties: {
176
+ templateId: {
177
+ type: 'string',
178
+ description: 'Unique template ID (lowercase, hyphenated, e.g., "change-request", "test-plan")'
179
+ },
180
+ name: {
181
+ type: 'string',
182
+ description: 'Display name for the template (e.g., "Change Request Template")'
183
+ },
184
+ description: {
185
+ type: 'string',
186
+ description: 'Brief description of what this template is for'
187
+ },
188
+ category: {
189
+ type: 'string',
190
+ enum: ['change-management', 'risk', 'security', 'compliance', 'planning', 'other'],
191
+ description: 'Template category (default: "other")'
192
+ },
193
+ content: {
194
+ type: 'string',
195
+ description: 'The full template content (markdown format with placeholders)'
196
+ },
197
+ version: {
198
+ type: 'string',
199
+ description: 'Version number (default: "1.0.0")'
200
+ },
201
+ tier: {
202
+ type: 'string',
203
+ enum: ['free', 'essentials', 'pro', 'business', 'enterprise'],
204
+ description: 'Access tier (default: "free")'
205
+ }
206
+ },
207
+ required: ['templateId', 'name', 'content']
208
+ },
209
+ handler: async (params) => {
210
+ return await api.post('/api/mcp/templates', params);
211
+ }
212
+ },
213
+
170
214
  // ============================================================================
171
215
  // PUSH TOOLS - Store data to Vibe Assurance
172
216
  // ============================================================================