dodo-ai 0.1.11 → 0.1.12

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/bin/dodo.js CHANGED
@@ -27,8 +27,8 @@ if (!fs.existsSync(binaryPath)) {
27
27
  }
28
28
  }
29
29
 
30
- // 2. Start the UI (which is now compiled into ../dist/index.mjs)
31
- import('../dist/index.mjs').catch(err => {
30
+ // 2. Start the UI (which is now compiled into ../dist/index.js)
31
+ import('../dist/index.js').catch(err => {
32
32
  console.error('Failed to start Dodo UI:', err);
33
33
  console.error('Debug Info:');
34
34
  console.error('__dirname:', __dirname);
package/dist/index.js CHANGED
@@ -1218,10 +1218,8 @@ import { Box as Box15, Text as Text16, useApp as useApp3, useInput as useInput2
1218
1218
 
1219
1219
  // src/components/layout/Header.tsx
1220
1220
  import { Box, Text } from "ink";
1221
- import { createRequire } from "module";
1222
1221
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
1223
- var require2 = createRequire(import.meta.url);
1224
- var pkg = require2("../../../package.json");
1222
+ var version = "0.1.12";
1225
1223
  var Header = () => {
1226
1224
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", paddingX: 1, marginBottom: 1, children: [
1227
1225
  /* @__PURE__ */ jsx2(Box, { flexDirection: "row", alignItems: "center", children: /* @__PURE__ */ jsx2(Box, { paddingY: 1, marginRight: 4, children: /* @__PURE__ */ jsx2(Text, { color: "cyan", bold: true, children: `
@@ -1232,7 +1230,7 @@ var Header = () => {
1232
1230
  \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588
1233
1231
  \u2591\u2588\u2588\u2588 \u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588
1234
1232
  \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591
1235
- \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591 v${pkg.version}
1233
+ \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591 v${version}
1236
1234
  ` }) }) }),
1237
1235
  /* @__PURE__ */ jsx2(Text, { color: "yellow", italic: true, children: "The Agentic AI Coding Assistant" })
1238
1236
  ] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dodo-ai",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "An open-source AI coding agent built in Go",
5
5
  "author": "Chams Bouzaiene",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "scripts": {
29
29
  "postinstall": "node ./scripts/install-engine.js",
30
- "build": "tsup src/index.tsx --format esm --out-dir dist",
30
+ "build": "tsup",
31
31
  "prepublishOnly": "npm run build"
32
32
  },
33
33
  "dependencies": {