Skip to content

Commit 535e48a

Browse files
committed
Add mcp sequences inspect dashboard
1 parent 695d7f9 commit 535e48a

19 files changed

+6124
-6
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,9 @@ __pycache__/
1313
*_pb2_grpc.py
1414
*_rbt.py
1515

16+
*_pb.ts*
17+
*_pb_grpc.ts
18+
*_rbt.ts
19+
*_react.ts
20+
1621
dist

.rbtrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ generate api/
44
# Tell `rbt` where to output its generated files.
55
# The paths are different for backend and frontend code.
66
generate --python=api/
7+
generate --react=reboot/inspect/api

RELEASE.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,32 +32,38 @@ rm -rf dist build *.egg-info
3232
uv pip install --upgrade build twine
3333
```
3434

35-
4. Build sdist and wheel:
35+
4. Build inspect frontend
36+
37+
```console
38+
cd reboot/inspect && npm install && npm run build
39+
```
40+
41+
5. Build sdist and wheel:
3642

3743
```console
3844
python -m build
3945
```
4046

41-
5. Validate artifacts:
47+
6. Validate artifacts:
4248

4349
```console
4450
twine check dist/*
4551
```
4652

47-
6. Upload to PyPI:
53+
7. Upload to PyPI:
4854

4955
```console
5056
twine upload dist/*
5157
```
5258

53-
7. Push all local tags:
59+
8. Push all local tags:
5460

5561
```console
5662
git push --tags origin
5763
```
5864

59-
8. Update GitHub releases
65+
9. Update GitHub releases
6066

6167
Go to https://github.com/reboot-dev/durable-mcp-python/releases/new
6268
and create a new release for the version just published. See other
63-
examples for what you can put in the release notes.
69+
examples for what you can put in the release notes.

reboot/inspect/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

reboot/inspect/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Durable MCP Sequence Diagram
2+
3+
This dashboard shows:
4+
Sessions
5+
-> Requests
6+
-> MCP messages

reboot/inspect/eslint.config.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import js from '@eslint/js'
2+
import globals from 'globals'
3+
import reactHooks from 'eslint-plugin-react-hooks'
4+
import reactRefresh from 'eslint-plugin-react-refresh'
5+
import tseslint from 'typescript-eslint'
6+
import { defineConfig, globalIgnores } from 'eslint/config'
7+
8+
export default defineConfig([
9+
globalIgnores(['dist']),
10+
{
11+
files: ['**/*.{ts,tsx}'],
12+
extends: [
13+
js.configs.recommended,
14+
tseslint.configs.recommended,
15+
reactHooks.configs['recommended-latest'],
16+
reactRefresh.configs.vite,
17+
],
18+
languageOptions: {
19+
ecmaVersion: 2020,
20+
globals: globals.browser,
21+
},
22+
},
23+
])

reboot/inspect/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Durable MCP Sequence Diagram</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)