@yeshwanthyk/coding-agent 0.3.6 → 0.3.8
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.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +25 -0
- package/dist/cli.js.map +1 -0
- package/package.json +5 -5
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
/**
|
|
3
|
+
* CLI entry point that respawns bun with the solid preload to ensure
|
|
4
|
+
* solid-js loads the browser build instead of server build.
|
|
5
|
+
*/
|
|
6
|
+
import { spawn } from "bun";
|
|
7
|
+
import { dirname, join } from "node:path";
|
|
8
|
+
import { fileURLToPath } from "node:url";
|
|
9
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
10
|
+
const mainScript = join(__dirname, "index.js");
|
|
11
|
+
// Respawn with preload if not already preloaded
|
|
12
|
+
if (!process.env.__MARVIN_PRELOADED) {
|
|
13
|
+
const proc = spawn({
|
|
14
|
+
cmd: ["bun", "--preload", "@opentui/solid/preload", mainScript, ...process.argv.slice(2)],
|
|
15
|
+
env: { ...process.env, __MARVIN_PRELOADED: "1" },
|
|
16
|
+
stdio: ["inherit", "inherit", "inherit"],
|
|
17
|
+
});
|
|
18
|
+
const exitCode = await proc.exited;
|
|
19
|
+
process.exit(exitCode);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
// Already preloaded, run main directly
|
|
23
|
+
await import("./index.js");
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;GAGG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAE/C,gDAAgD;AAChD,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,CAAC;IACrC,MAAM,IAAI,GAAG,KAAK,CAAC;QAClB,GAAG,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,wBAAwB,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACzF,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,kBAAkB,EAAE,GAAG,EAAE;QAChD,KAAK,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;KACxC,CAAC,CAAC;IACH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC;IACnC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACxB,CAAC;KAAM,CAAC;IACP,uCAAuC;IACvC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC;AAC5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yeshwanthyk/coding-agent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
|
-
"marvin": "./dist/
|
|
6
|
+
"marvin": "./dist/cli.js"
|
|
7
7
|
},
|
|
8
8
|
"main": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@yeshwanthyk/base-tools": "^0.1.0",
|
|
38
38
|
"@yeshwanthyk/lsp": "^0.1.0",
|
|
39
39
|
"@yeshwanthyk/runtime-effect": "^0.1.1",
|
|
40
|
-
"@yeshwanthyk/open-tui": "^0.1.
|
|
41
|
-
"@opentui/core": "0.1.
|
|
42
|
-
"@opentui/solid": "0.1.
|
|
40
|
+
"@yeshwanthyk/open-tui": "^0.1.5",
|
|
41
|
+
"@opentui/core": "0.1.74",
|
|
42
|
+
"@opentui/solid": "0.1.74",
|
|
43
43
|
"chalk": "^5.6.2",
|
|
44
44
|
"cli-highlight": "^2.1.11",
|
|
45
45
|
"diff": "^8.0.2",
|