midsomar 0.1.12 → 0.1.14

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/index.js CHANGED
@@ -59,12 +59,7 @@ async function cmdWeb(args) {
59
59
  hostname: host,
60
60
  });
61
61
  const url = `http://${host}:${ui.port}`;
62
- process.stdout.write(`${art}
63
- ─────────────────────────────────────
64
- midsomar ready at ${url}
65
- ─────────────────────────────────────
66
- Next: open ${url} in your browser
67
- `);
62
+ process.stdout.write(`midsomar ready at ${url}\n`);
68
63
  const { default: open } = await import("open");
69
64
  open(url).catch(() => { });
70
65
  process.on("SIGINT", () => { engine.kill(); ui.close(); process.exit(0); });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "midsomar",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "AI coding agent — open-source, bring your own API key",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,6 +9,7 @@
9
9
  "scripts": {
10
10
  "build": "tsc -p tsconfig.json && node scripts/fix-shebang.js",
11
11
  "build:ui": "node scripts/build-ui.js",
12
+ "postinstall": "node scripts/postinstall.js",
12
13
  "dev": "tsx src/index.ts",
13
14
  "start": "node dist/index.js"
14
15
  },
@@ -26,7 +27,8 @@
26
27
  },
27
28
  "files": [
28
29
  "dist",
29
- "web-ui"
30
+ "web-ui",
31
+ "scripts/postinstall.js"
30
32
  ],
31
33
  "keywords": [
32
34
  "ai",
@@ -0,0 +1,20 @@
1
+ const msg = `
2
+ __ ___ ___ ___ __ _ ___ __ _ _ __ ___
3
+ / _|/ __/ __|/ _ \\ / _\` | / _ \\ / _\` || '_ \` _ \\
4
+ \\__ \\__ \\__ \\ (_) | (_| || (_) | (_| || | | | | |
5
+ |___/___/___/\\___/ \\__,_| \\___/ \\__,_||_| |_| |_|
6
+
7
+ ──────────────────────────────
8
+ AI coding agent - open-source
9
+ ──────────────────────────────
10
+
11
+ Next step:
12
+ npx midsomar web
13
+
14
+ Documentation:
15
+ https://opencode.ai
16
+
17
+ Report issues:
18
+ https://github.com/anomalyco/opencode/issues
19
+ `
20
+ process.stderr.write(msg)