-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
242 lines (242 loc) · 12.7 KB
/
Copy pathpackage.json
File metadata and controls
242 lines (242 loc) · 12.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
"name": "ripple",
"displayName": "Ripple — Local Authorization Gate",
"description": "VS Code interface for Ripple's local authorization gate: live context, focus files, blast-radius signals, and safer AI-agent workflow prompts.",
"version": "1.0.9",
"publisher": "rippleai",
"author": {
"name": "Raushan Soni"
},
"workspaces": [
"packages/core",
"packages/cli",
"packages/mcp"
],
"license": "MIT",
"icon": "resources/icon-marketplace.png",
"galleryBanner": {
"color": "#0c1425",
"theme": "dark"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other",
"Linters",
"Machine Learning"
],
"keywords": [
"typescript",
"javascript",
"impact analysis",
"dependency graph",
"call graph",
"blast radius",
"ai agent",
"architectural intelligence",
"codelens",
"ripple",
"claude code",
"cursor",
"copilot"
],
"repository": {
"type": "git",
"url": "https://github.com/raushankcode/ripple"
},
"bugs": {
"url": "https://github.com/raushankcode/ripple/issues"
},
"homepage": "https://raushankcode.github.io/ripple/",
"activationEvents": [
"workspaceContains:**/*.ts",
"workspaceContains:**/*.tsx",
"workspaceContains:**/*.js",
"workspaceContains:**/*.jsx"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "ripple.showCallers",
"title": "↯ Ripple: Show Symbol Callers",
"category": "Ripple"
},
{
"command": "ripple.copyPrompt",
"title": "↯ Ripple: Copy Pre-Edit Agent Prompt",
"category": "Ripple",
"icon": "$(clippy)"
},
{
"command": "ripple.showSetupPanel",
"title": "↯ Ripple: Show Agent Workflow Setup",
"category": "Ripple"
}
],
"menus": {
"editor/context": [
{
"command": "ripple.copyPrompt",
"when": "editorLangId =~ /typescript|javascript|typescriptreact|javascriptreact/",
"group": "ripple@1"
}
],
"commandPalette": [
{
"command": "ripple.copyPrompt",
"when": "editorIsOpen"
},
{
"command": "ripple.showCallers",
"when": "false"
},
{
"command": "ripple.showSetupPanel"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "ripple-container",
"title": "Ripple",
"icon": "resources/icon-activitybar.svg"
}
]
},
"views": {
"ripple-container": [
{
"id": "ripple.impactLens",
"name": "Impact Lens",
"when": "workspaceHasTypeScriptOrJavaScript",
"visibility": "visible"
}
]
},
"viewsWelcome": [
{
"view": "ripple.impactLens",
"contents": "Open any TypeScript or JavaScript file.\n\nRipple is the VS Code interface for a local authorization gate for AI coding agents. It shows what depends on the current file, what it depends on, and the focus context an agent should read before editing.\n\nUse the CLI or MCP package for saved intents, staged boundary checks, and repair verdicts.\n\n[Learn more](https://raushankcode.github.io/ripple/)"
}
],
"configuration": {
"title": "Ripple",
"properties": {
"ripple.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable Ripple entirely."
},
"ripple.showCodeLens": {
"type": "boolean",
"default": true,
"description": "Show caller count above every function declaration."
},
"ripple.safetyCheck": {
"type": "boolean",
"default": true,
"description": "Show blast radius warnings when staging files for git commit."
},
"ripple.generateContext": {
"type": "boolean",
"default": true,
"description": "Generate local Ripple workflow context files in .ripple/ for AI agents."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run bundle",
"compile": "tsc -p ./ && npm run bundle",
"bundle": "esbuild src/extension.ts --bundle --outfile=out/extension.js --external:vscode --platform=node --target=node18 --minify --alias:@getripple/core=./packages/core/src/index.ts",
"watch": "tsc -watch -p ./",
"watch:bundle": "esbuild src/extension.ts --bundle --outfile=out/extension.js --external:vscode --platform=node --target=node18 --watch",
"lint": "eslint src packages/core/src packages/cli/src packages/mcp/src",
"test": "node test/run-tests.js",
"build:core": "npm run build --workspace @getripple/core",
"test:core": "npm run build:core && node packages/core/test/run-context-planner-tests.js && node packages/core/test/run-adapter-registry-tests.js && node packages/core/test/run-git-error-tests.js",
"build:cli": "npm run build:core && npm run build --workspace @getripple/cli",
"build:mcp": "npm run build:core && npm run build --workspace @getripple/mcp",
"test:cli": "npm run build:cli && node packages/cli/test/run-cli-tests.js && node packages/cli/test/run-policy-tests.js && node packages/cli/test/run-golden-init-proof.js && node packages/cli/test/run-golden-doctor-contract-proof.js && node packages/cli/test/run-golden-gitignore-hygiene-proof.js && node packages/cli/test/run-golden-hook-runner-proof.js && node packages/cli/test/run-golden-drift-control-proof.js && node packages/cli/test/run-golden-approval-control-proof.js && node packages/cli/test/run-golden-closed-intent-gate-proof.js && node packages/cli/test/run-golden-handoff-proof.js && node packages/cli/test/run-golden-ci-gate-proof.js",
"test:agent-workflow": "npm run build:cli && node packages/cli/test/run-agent-workflow-tests.js",
"test:init": "npm run build:cli && node packages/cli/test/run-golden-init-proof.js",
"test:doctor-contract": "npm run build:cli && node packages/cli/test/run-golden-doctor-contract-proof.js",
"test:gitignore-hygiene": "npm run build:cli && node packages/cli/test/run-golden-gitignore-hygiene-proof.js",
"test:hook-runner": "npm run build:cli && node packages/cli/test/run-golden-hook-runner-proof.js",
"test:package-install": "npm run build:cli && node packages/cli/test/run-golden-package-install-proof.js",
"test:drift-control": "npm run build:cli && node packages/cli/test/run-golden-drift-control-proof.js",
"test:approval-control": "npm run build:cli && node packages/cli/test/run-golden-approval-control-proof.js",
"test:closed-intent-gate": "npm run build:cli && node packages/cli/test/run-golden-closed-intent-gate-proof.js",
"test:agent-handoff": "npm run build:cli && node packages/cli/test/run-golden-handoff-proof.js",
"test:ci-gate": "npm run build:cli && node packages/cli/test/run-golden-ci-gate-proof.js",
"test:gate-output": "npm run build:cli && node packages/cli/test/run-golden-gate-output-proof.js",
"test:large-gate-performance": "npm run build:cli && node packages/cli/test/run-golden-large-gate-performance-proof.js",
"proof:init": "npm run test:init",
"proof:doctor-contract": "npm run test:doctor-contract",
"proof:gitignore-hygiene": "npm run test:gitignore-hygiene",
"proof:hook-runner": "npm run test:hook-runner",
"proof:package-install": "npm run test:package-install",
"proof:drift-control": "npm run test:drift-control",
"proof:approval-control": "npm run test:approval-control",
"proof:closed-intent-gate": "npm run test:closed-intent-gate",
"proof:agent-handoff": "npm run test:agent-handoff",
"proof:ci-gate": "npm run test:ci-gate",
"proof:gate-output": "npm run test:gate-output",
"proof:large-gate-performance": "npm run test:large-gate-performance",
"test:mcp": "npm run build:mcp && node packages/mcp/test/run-mcp-tests.js && node packages/mcp/test/run-golden-mcp-doctor-contract-proof.js && node packages/mcp/test/run-golden-mcp-gate-proof.js && node packages/mcp/test/run-golden-mcp-closed-intent-gate-proof.js && node packages/mcp/test/run-golden-mcp-gitignore-hygiene-proof.js && node packages/mcp/test/run-golden-mcp-fast-gate-proof.js && node packages/mcp/test/run-golden-mcp-large-gate-performance-proof.js && node packages/mcp/test/run-golden-mcp-stdio-gate-proof.js",
"test:mcp-doctor-contract": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-doctor-contract-proof.js",
"test:mcp-gate": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-gate-proof.js",
"test:mcp-closed-intent-gate": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-closed-intent-gate-proof.js",
"test:mcp-gitignore-hygiene": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-gitignore-hygiene-proof.js",
"test:mcp-fast-gate": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-fast-gate-proof.js",
"test:mcp-large-gate-performance": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-large-gate-performance-proof.js",
"test:mcp-stdio-gate": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-stdio-gate-proof.js",
"test:mcp-package-install": "npm run build:mcp && node packages/mcp/test/run-golden-mcp-package-install-proof.js",
"test:publish-readiness": "npm run build:cli && npm run build:mcp && node test/run-package-readiness-proof.js",
"smoke:mcp": "npm run build:mcp && node packages/mcp/test/smoke-mcp.js",
"proof:mcp-doctor-contract": "npm run test:mcp-doctor-contract",
"proof:mcp-gate": "npm run test:mcp-gate",
"proof:mcp-closed-intent-gate": "npm run test:mcp-closed-intent-gate",
"proof:mcp-gitignore-hygiene": "npm run test:mcp-gitignore-hygiene",
"proof:mcp-fast-gate": "npm run test:mcp-fast-gate",
"proof:mcp-large-gate-performance": "npm run test:mcp-large-gate-performance",
"proof:mcp-stdio-gate": "npm run test:mcp-stdio-gate",
"proof:mcp-package-install": "npm run test:mcp-package-install",
"proof:publish-readiness": "npm run test:publish-readiness",
"demo:agent-control": "npm run build:cli && node test/run-agent-control-demo.js",
"demo:vhs-setup": "node scripts/prepare-vhs-gate-demo.js",
"demo:gif": "node scripts/build-vhs-gate-demo.js",
"smoke:external-install": "npm run build:cli && npm run build:mcp && node test/run-external-install-smoke.js",
"test:agent-control": "npm run build:cli && node packages/cli/test/run-golden-init-proof.js && node packages/cli/test/run-golden-doctor-contract-proof.js && node packages/cli/test/run-golden-gitignore-hygiene-proof.js && node packages/cli/test/run-golden-hook-runner-proof.js && node packages/cli/test/run-golden-package-install-proof.js && node packages/cli/test/run-golden-drift-control-proof.js && node packages/cli/test/run-golden-approval-control-proof.js && node packages/cli/test/run-golden-closed-intent-gate-proof.js && node packages/cli/test/run-golden-handoff-proof.js && node packages/cli/test/run-golden-ci-gate-proof.js && node packages/cli/test/run-golden-gate-output-proof.js && npm run build:mcp && node packages/mcp/test/run-golden-mcp-doctor-contract-proof.js && node packages/mcp/test/run-golden-mcp-gate-proof.js && node packages/mcp/test/run-golden-mcp-closed-intent-gate-proof.js && node packages/mcp/test/run-golden-mcp-gitignore-hygiene-proof.js && node packages/mcp/test/run-golden-mcp-fast-gate-proof.js && node packages/mcp/test/run-golden-mcp-large-gate-performance-proof.js && node packages/mcp/test/run-golden-mcp-stdio-gate-proof.js && node packages/mcp/test/run-golden-mcp-package-install-proof.js && node test/run-package-readiness-proof.js",
"proof:agent-control": "npm run test:agent-control",
"test:release-check": "node test/run-release-check-proof.js",
"test:persona": "node test/run-product-persona-proof.js",
"release:identity": "node test/run-release-identity-review.js",
"release:npm-preflight": "node test/run-npm-registry-preflight.js",
"release:check": "npm run proof:agent-control && npm run smoke:external-install && npm run test:persona && npm run release:identity && npm run release:npm-preflight && npm run test:release-check",
"proof:release-check": "npm run release:check",
"smoke:post-publish": "node test/run-post-publish-smoke.js",
"test:engine": "npm run test:core && npm run test:cli && npm run test:agent-workflow && npm run test:mcp && npm run smoke:mcp",
"package": "npx vsce package",
"publish": "npx vsce publish",
"pretest": "npm run compile"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/node": "^18.0.0",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@vscode/vsce": "^2.22.0",
"esbuild": "^0.20.0",
"eslint": "^8.26.0",
"typescript": "~5.3.3"
},
"dependencies": {
"glob": "^13.0.6",
"ts-morph": "^21.0.0"
}
}