@react-grab/claude-code 0.0.98 → 0.1.0-beta.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-grab/claude-code",
3
- "version": "0.0.98",
3
+ "version": "0.1.0-beta.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "react-grab-claude-code": "./dist/cli.cjs"
@@ -11,10 +11,10 @@
11
11
  "import": "./dist/client.js",
12
12
  "require": "./dist/client.cjs"
13
13
  },
14
- "./server": {
15
- "types": "./dist/server.d.ts",
16
- "import": "./dist/server.js",
17
- "require": "./dist/server.cjs"
14
+ "./handler": {
15
+ "types": "./dist/handler.d.ts",
16
+ "import": "./dist/handler.js",
17
+ "require": "./dist/handler.cjs"
18
18
  },
19
19
  "./dist/*": "./dist/*.js",
20
20
  "./dist/*.js": "./dist/*.js"
@@ -26,16 +26,12 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.10.7",
28
28
  "tsup": "^8.4.0",
29
- "@react-grab/utils": "0.0.98"
29
+ "@react-grab/utils": "0.1.0-beta.1"
30
30
  },
31
31
  "dependencies": {
32
32
  "@anthropic-ai/claude-agent-sdk": "^0.1.0",
33
- "@hono/node-server": "^1.19.6",
34
- "execa": "^9.6.0",
35
- "fkill": "^9.0.0",
36
- "hono": "^4.0.0",
37
- "picocolors": "^1.1.1",
38
- "react-grab": "0.0.98"
33
+ "@react-grab/relay": "0.1.0-beta.1",
34
+ "react-grab": "0.1.0-beta.1"
39
35
  },
40
36
  "scripts": {
41
37
  "dev": "tsup --watch",
package/dist/server.d.cts DELETED
@@ -1,12 +0,0 @@
1
- import * as hono_types from 'hono/types';
2
- import { Hono } from 'hono';
3
- import { Options } from '@anthropic-ai/claude-agent-sdk';
4
- import { AgentCoreOptions, AgentMessage } from '@react-grab/utils/server';
5
-
6
- interface ClaudeAgentOptions extends AgentCoreOptions, Omit<Options, "cwd"> {
7
- }
8
- declare const runAgent: (prompt: string, options?: ClaudeAgentOptions) => AsyncGenerator<AgentMessage>;
9
- declare const createServer: () => Hono<hono_types.BlankEnv, hono_types.BlankSchema, "/">;
10
- declare const startServer: (port?: number) => Promise<void>;
11
-
12
- export { type ClaudeAgentOptions, createServer, runAgent, startServer };
package/dist/server.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import * as hono_types from 'hono/types';
2
- import { Hono } from 'hono';
3
- import { Options } from '@anthropic-ai/claude-agent-sdk';
4
- import { AgentCoreOptions, AgentMessage } from '@react-grab/utils/server';
5
-
6
- interface ClaudeAgentOptions extends AgentCoreOptions, Omit<Options, "cwd"> {
7
- }
8
- declare const runAgent: (prompt: string, options?: ClaudeAgentOptions) => AsyncGenerator<AgentMessage>;
9
- declare const createServer: () => Hono<hono_types.BlankEnv, hono_types.BlankSchema, "/">;
10
- declare const startServer: (port?: number) => Promise<void>;
11
-
12
- export { type ClaudeAgentOptions, createServer, runAgent, startServer };