smolcoder 0.4.0 → 0.4.1
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/README.md +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# smolcoder
|
|
2
2
|
|
|
3
|
-
A
|
|
3
|
+
A smol, zero-config CLI coding agent for **local models**. Ollama and LM Studio only — and because it supports only those, it can make them first-class: no base URLs, no API keys, no config files, no setup questions. Start it and code.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install -g smolcoder
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
// smolcoder — a
|
|
3
|
+
// smolcoder — a smol, zero-config CLI coding agent for local models.
|
|
4
4
|
//
|
|
5
5
|
// Interactive: an opencode-style inline TUI. No upfront questions — the last
|
|
6
6
|
// (or first) detected model is picked automatically; switch with /models,
|
|
@@ -115,7 +115,7 @@ function parseArgs(argv) {
|
|
|
115
115
|
return args;
|
|
116
116
|
}
|
|
117
117
|
const HELP = `
|
|
118
|
-
${util_1.c.bold("smolcoder")} v${VERSION} — a
|
|
118
|
+
${util_1.c.bold("smolcoder")} v${VERSION} — a smol, zero-config coding agent for local models.
|
|
119
119
|
|
|
120
120
|
Detects Ollama and LM Studio automatically. No configuration.
|
|
121
121
|
|
|
@@ -274,7 +274,7 @@ function printLogo() {
|
|
|
274
274
|
console.log();
|
|
275
275
|
}
|
|
276
276
|
else {
|
|
277
|
-
console.log(`${util_1.c.bold("
|
|
277
|
+
console.log(`${util_1.c.bold("smol")}${util_1.c.dim(util_1.c.bold("coder"))} ${util_1.c.dim("v" + VERSION)}`);
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
function fmtTokens(n) {
|
|
@@ -401,7 +401,7 @@ async function runInteractive(args) {
|
|
|
401
401
|
process.exit(1);
|
|
402
402
|
}
|
|
403
403
|
if (isWeb)
|
|
404
|
-
console.log(`${util_1.c.bold("
|
|
404
|
+
console.log(`${util_1.c.bold("smol")}${util_1.c.dim(util_1.c.bold("coder"))} ${util_1.c.dim("v" + VERSION + " · web")}`);
|
|
405
405
|
else
|
|
406
406
|
printLogo();
|
|
407
407
|
process.stdout.write(util_1.c.dim("· looking for Ollama and LM Studio…"));
|