Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- run: npm run build
- run: npm test
- run: npm run lint
- run: npm run typecheck

- name: Verify package contents
run: npm pack --dry-run
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Add to `.mcp.json` and go:
"mcpServers": {
"tripwire": {
"command": "npx",
"args": ["-y", "@simonrueba/tripwire", "serve", "--project", "."]
"args": ["-y", "@tripwire-mcp/tripwire", "serve", "--project", "."]
}
}
}
Expand All @@ -57,7 +57,7 @@ For Cursor, use `.cursor/mcp.json` with the same config.
Pin as a dev dependency so everyone gets the same version:

```bash
npm install --save-dev @simonrueba/tripwire
npm install --save-dev @tripwire-mcp/tripwire
```

Add scripts to `package.json`:
Expand Down Expand Up @@ -88,7 +88,7 @@ Point `.mcp.json` at the local install (no `-y` needed):
### Alternative: global install

```bash
npm install -g @simonrueba/tripwire
npm install -g @tripwire-mcp/tripwire
```

### Any MCP-compatible client
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: "20" }
- run: npx -y @simonrueba/tripwire lint --strict
- run: npx -y @tripwire-mcp/tripwire lint --strict
```

### Block agent-authored critical tripwires
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-tripwire/.mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"mcpServers": {
"tripwire": {
"command": "npx",
"args": ["@simonrueba/tripwire", "serve", "--project", "."]
"args": ["@tripwire-mcp/tripwire", "serve", "--project", "."]
}
}
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@simonrueba/tripwire",
"name": "@tripwire-mcp/tripwire",
"version": "0.1.0",
"description": "Context injection for AI agents, triggered by the codebase itself",
"type": "module",
Expand All @@ -23,15 +23,19 @@
}
},
"files": [
"dist"
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src/ tests/"
"lint": "eslint src/ tests/",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build && npm test"
},
"keywords": [
"mcp",
Expand Down