@react-grab/codex 0.0.83 → 0.0.84

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/server.cjs CHANGED
@@ -22,7 +22,7 @@ var DEFAULT_PORT = 7567;
22
22
 
23
23
  // ../utils/dist/server.js
24
24
  var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
25
- var VERSION = "0.0.83";
25
+ var VERSION = "0.0.84";
26
26
  var codexInstance = null;
27
27
  var threadMap = /* @__PURE__ */ new Map();
28
28
  var abortControllers = /* @__PURE__ */ new Map();
@@ -150,7 +150,9 @@ var startServer = async (port = DEFAULT_PORT) => {
150
150
  await sleep(100);
151
151
  const honoApplication = createServer();
152
152
  nodeServer.serve({ fetch: honoApplication.fetch, port });
153
- console.log(`${pc__default.default.magenta("\u269B")} ${pc__default.default.bold("React Grab")} ${pc__default.default.gray(VERSION)} ${pc__default.default.dim("(Codex)")}`);
153
+ console.log(
154
+ `${pc__default.default.magenta("\u269B")} ${pc__default.default.bold("React Grab")} ${pc__default.default.gray(VERSION)} ${pc__default.default.dim("(Codex)")}`
155
+ );
154
156
  console.log(`- Local: ${pc__default.default.cyan(`http://localhost:${port}`)}`);
155
157
  };
156
158
  if ((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('server.cjs', document.baseURI).href)) === url.pathToFileURL(process.argv[1]).href) {
package/dist/server.js CHANGED
@@ -14,7 +14,7 @@ var DEFAULT_PORT = 7567;
14
14
 
15
15
  // ../utils/dist/server.js
16
16
  var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
17
- var VERSION = "0.0.83";
17
+ var VERSION = "0.0.84";
18
18
  var codexInstance = null;
19
19
  var threadMap = /* @__PURE__ */ new Map();
20
20
  var abortControllers = /* @__PURE__ */ new Map();
@@ -142,7 +142,9 @@ var startServer = async (port = DEFAULT_PORT) => {
142
142
  await sleep(100);
143
143
  const honoApplication = createServer();
144
144
  serve({ fetch: honoApplication.fetch, port });
145
- console.log(`${pc.magenta("\u269B")} ${pc.bold("React Grab")} ${pc.gray(VERSION)} ${pc.dim("(Codex)")}`);
145
+ console.log(
146
+ `${pc.magenta("\u269B")} ${pc.bold("React Grab")} ${pc.gray(VERSION)} ${pc.dim("(Codex)")}`
147
+ );
146
148
  console.log(`- Local: ${pc.cyan(`http://localhost:${port}`)}`);
147
149
  };
148
150
  if (import.meta.url === pathToFileURL(process.argv[1]).href) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-grab/codex",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "react-grab-codex": "./dist/cli.cjs"
@@ -24,18 +24,17 @@
24
24
  "dist"
25
25
  ],
26
26
  "devDependencies": {
27
- "@types/cross-spawn": "^6.0.6",
28
27
  "tsup": "^8.4.0",
29
- "@react-grab/utils": "0.0.83"
28
+ "@react-grab/utils": "0.0.84"
30
29
  },
31
30
  "dependencies": {
32
31
  "@hono/node-server": "^1.19.6",
33
- "cross-spawn": "^7.0.6",
32
+ "execa": "^9.6.0",
34
33
  "@openai/codex-sdk": "^0.66.0",
35
34
  "fkill": "^9.0.0",
36
35
  "hono": "^4.0.0",
37
36
  "picocolors": "^1.1.1",
38
- "react-grab": "0.0.83"
37
+ "react-grab": "0.0.84"
39
38
  },
40
39
  "scripts": {
41
40
  "dev": "tsup --watch",