midsomar 0.1.14 → 0.1.16
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 +7 -6
- package/package.json +4 -3
- package/scripts/postinstall.js +0 -20
package/dist/index.js
CHANGED
|
@@ -3,15 +3,16 @@ import { startEngine, serveUI } from "./server.js";
|
|
|
3
3
|
const defaultPort = 3000;
|
|
4
4
|
const defaultHost = "127.0.0.1";
|
|
5
5
|
const art = `
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
███╗ ███╗██╗██████╗ ███████╗ ██████╗ ███╗ ███╗ █████╗ ██████╗
|
|
7
|
+
████╗ ████║██║██╔══██╗██╔════╝██╔═══██╗████╗ ████║██╔══██╗██╔══██╗
|
|
8
|
+
██╔████╔██║██║██║ ██║███████╗██║ ██║██╔████╔██║███████║██████╔╝
|
|
9
|
+
██║╚██╔╝██║██║██║ ██║╚════██║██║ ██║██║╚██╔╝██║██╔══██║██╔══██╗
|
|
10
|
+
██║ ╚═╝ ██║██║██████╔╝███████║╚██████╔╝██║ ╚═╝ ██║██║ ██║██║ ██║
|
|
11
|
+
╚═╝ ╚═╝╚═╝╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
|
|
10
12
|
`;
|
|
11
13
|
function help() {
|
|
12
14
|
process.stdout.write(`${art}
|
|
13
|
-
|
|
14
|
-
AI coding agent — open-source
|
|
15
|
+
midsomar - AI coding agent
|
|
15
16
|
|
|
16
17
|
Usage:
|
|
17
18
|
npx midsomar web [options]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "midsomar",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "AI coding agent — open-source, bring your own API key",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
"start": "node dist/index.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"
|
|
18
|
-
"open": "^10.1.0"
|
|
17
|
+
"midsomar": "^0.1.15",
|
|
18
|
+
"open": "^10.1.0",
|
|
19
|
+
"opencode-ai": "^1.18.0"
|
|
19
20
|
},
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"@types/node": "^20.14.0",
|
package/scripts/postinstall.js
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
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)
|