cc-inspector 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +0 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-inspector",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "Transparent proxy for the Anthropic Claude API that captures and displays requests/responses in a web UI",
6
6
  "license": "MIT",
package/src/index.ts CHANGED
@@ -30,28 +30,6 @@ const argv = cli({
30
30
  const server = serve({
31
31
  port: argv.flags.port,
32
32
  routes: {
33
- "/api/hello": {
34
- GET(_req) {
35
- return Response.json({
36
- message: "Hello, world!",
37
- method: "GET",
38
- });
39
- },
40
- PUT(_req) {
41
- return Response.json({
42
- message: "Hello, world!",
43
- method: "PUT",
44
- });
45
- },
46
- },
47
-
48
- "/api/hello/:name": (req) => {
49
- const name = req.params.name;
50
- return Response.json({
51
- message: `Hello, ${name}!`,
52
- });
53
- },
54
-
55
33
  "/api/logs": (req) => {
56
34
  const url = new URL(req.url);
57
35
  const sessionId = url.searchParams.get("sessionId") ?? undefined;