@react-grab/cursor 0.0.97 → 0.1.0-beta.0
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/dist/cli.cjs +8691 -438
- package/dist/cli.js +8680 -430
- package/dist/client.cjs +383 -203
- package/dist/client.d.cts +4 -17
- package/dist/client.d.ts +4 -17
- package/dist/client.global.js +2 -5
- package/dist/client.js +383 -203
- package/dist/{server.cjs → handler.cjs} +5388 -3433
- package/dist/handler.d.cts +9 -0
- package/dist/handler.d.ts +9 -0
- package/dist/{server.js → handler.js} +5385 -3427
- package/package.json +8 -11
- package/dist/server.d.cts +0 -13
- package/dist/server.d.ts +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-grab/cursor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.1.0-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"react-grab-cursor": "./dist/cli.cjs"
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"import": "./dist/client.js",
|
|
12
12
|
"require": "./dist/client.cjs"
|
|
13
13
|
},
|
|
14
|
-
"./
|
|
15
|
-
"types": "./dist/
|
|
16
|
-
"import": "./dist/
|
|
17
|
-
"require": "./dist/
|
|
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,15 +26,12 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^22.10.7",
|
|
28
28
|
"tsup": "^8.4.0",
|
|
29
|
-
"@react-grab/utils": "0.0.
|
|
29
|
+
"@react-grab/utils": "0.1.0-beta.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@hono/node-server": "^1.19.6",
|
|
33
32
|
"execa": "^9.6.0",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"picocolors": "^1.1.1",
|
|
37
|
-
"react-grab": "0.0.97"
|
|
33
|
+
"@react-grab/relay": "0.1.0-beta.0",
|
|
34
|
+
"react-grab": "0.1.0-beta.0"
|
|
38
35
|
},
|
|
39
36
|
"scripts": {
|
|
40
37
|
"dev": "tsup --watch",
|
package/dist/server.d.cts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as hono_types from 'hono/types';
|
|
2
|
-
import { Hono } from 'hono';
|
|
3
|
-
import { AgentCoreOptions, AgentMessage } from '@react-grab/utils/server';
|
|
4
|
-
|
|
5
|
-
interface CursorAgentOptions extends AgentCoreOptions {
|
|
6
|
-
model?: string;
|
|
7
|
-
workspace?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const runAgent: (prompt: string, options?: CursorAgentOptions) => AsyncGenerator<AgentMessage>;
|
|
10
|
-
declare const createServer: () => Hono<hono_types.BlankEnv, hono_types.BlankSchema, "/">;
|
|
11
|
-
declare const startServer: (port?: number) => Promise<void>;
|
|
12
|
-
|
|
13
|
-
export { type CursorAgentOptions, createServer, runAgent, startServer };
|
package/dist/server.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as hono_types from 'hono/types';
|
|
2
|
-
import { Hono } from 'hono';
|
|
3
|
-
import { AgentCoreOptions, AgentMessage } from '@react-grab/utils/server';
|
|
4
|
-
|
|
5
|
-
interface CursorAgentOptions extends AgentCoreOptions {
|
|
6
|
-
model?: string;
|
|
7
|
-
workspace?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const runAgent: (prompt: string, options?: CursorAgentOptions) => AsyncGenerator<AgentMessage>;
|
|
10
|
-
declare const createServer: () => Hono<hono_types.BlankEnv, hono_types.BlankSchema, "/">;
|
|
11
|
-
declare const startServer: (port?: number) => Promise<void>;
|
|
12
|
-
|
|
13
|
-
export { type CursorAgentOptions, createServer, runAgent, startServer };
|