little-coder 1.2.1 → 1.3.0
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/.pi/extensions/permission-gate/index.ts +4 -0
- package/.pi/extensions/permission-gate/permission.test.ts +13 -1
- package/.pi/extensions/write-guard/index.ts +51 -9
- package/.pi/extensions/write-guard/write-guard.test.ts +51 -0
- package/CHANGELOG.md +19 -0
- package/README.md +13 -2
- package/bin/little-coder.mjs +12 -1
- package/models.json +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,10 @@ const BUILTIN_SAFE_PREFIXES: readonly string[] = [
|
|
|
21
21
|
"pip show", "pip list", "npm list", "cargo metadata",
|
|
22
22
|
"df ", "du ", "free ", "top -bn", "ps ",
|
|
23
23
|
"curl -I", "curl --head",
|
|
24
|
+
// Routine filesystem scaffolding. Trailing space = word boundary, so
|
|
25
|
+
// "cp " matches "cp a b" but not "cpufetch". rm stays off the list by
|
|
26
|
+
// design; use LITTLE_CODER_BASH_ALLOW=rm if a deployment needs it.
|
|
27
|
+
"cp ", "mv ", "mkdir ", "touch ",
|
|
24
28
|
];
|
|
25
29
|
|
|
26
30
|
// Trailing whitespace is meaningful — it acts as a word boundary in startsWith
|
|
@@ -9,10 +9,22 @@ describe("isSafeBash", () => {
|
|
|
9
9
|
expect(isSafeBash("grep -r pattern .")).toBe(true);
|
|
10
10
|
expect(isSafeBash("rg pattern src/")).toBe(true);
|
|
11
11
|
});
|
|
12
|
+
it("allows routine filesystem scaffolding (cp/mv/mkdir/touch)", () => {
|
|
13
|
+
expect(isSafeBash("cp a b")).toBe(true);
|
|
14
|
+
expect(isSafeBash("mv old new")).toBe(true);
|
|
15
|
+
expect(isSafeBash("mkdir -p sub/dir")).toBe(true);
|
|
16
|
+
expect(isSafeBash("touch foo.md")).toBe(true);
|
|
17
|
+
});
|
|
18
|
+
it("preserves trailing-whitespace word boundary on fs prefixes", () => {
|
|
19
|
+
// Without the trailing space, "cp" would match "cpufetch". With it, these stay blocked.
|
|
20
|
+
expect(isSafeBash("cpufetch")).toBe(false);
|
|
21
|
+
expect(isSafeBash("mvtool")).toBe(false);
|
|
22
|
+
expect(isSafeBash("mkdiroops")).toBe(false);
|
|
23
|
+
expect(isSafeBash("touchscreen")).toBe(false);
|
|
24
|
+
});
|
|
12
25
|
it("blocks non-whitelisted commands", () => {
|
|
13
26
|
expect(isSafeBash("rm -rf /")).toBe(false);
|
|
14
27
|
expect(isSafeBash("npm install foo")).toBe(false);
|
|
15
|
-
expect(isSafeBash("cp a b")).toBe(false);
|
|
16
28
|
expect(isSafeBash("sudo anything")).toBe(false);
|
|
17
29
|
});
|
|
18
30
|
it("handles leading whitespace", () => {
|
|
@@ -1,7 +1,40 @@
|
|
|
1
1
|
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
2
2
|
import { Type } from "@sinclair/typebox";
|
|
3
3
|
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
4
|
-
import { dirname } from "node:path";
|
|
4
|
+
import { dirname, isAbsolute, join } from "node:path";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Resolve the Write tool's `file_path` argument to a concrete on-disk path.
|
|
8
|
+
*
|
|
9
|
+
* Two deterministic rewrites:
|
|
10
|
+
*
|
|
11
|
+
* 1. `"/<single-segment>"` (e.g. `/foo.md`) → `<cwd>/<single-segment>`.
|
|
12
|
+
* Background: the model has been seen to anchor at filesystem root when
|
|
13
|
+
* given an "Absolute file path" schema and no obvious directory context.
|
|
14
|
+
* Genuine system-path writes always include at least one intermediate
|
|
15
|
+
* directory (`/etc/X`, `/tmp/Y/Z`), so a root + bare filename is almost
|
|
16
|
+
* always a mistake. Rewriting to cwd matches user intent and avoids
|
|
17
|
+
* accidentally writing to `/`.
|
|
18
|
+
*
|
|
19
|
+
* 2. Bare filename / relative path (no leading slash) → resolved against cwd.
|
|
20
|
+
* Node's `fs` APIs already do this implicitly, but resolving here makes
|
|
21
|
+
* the success message report the real absolute path that was written.
|
|
22
|
+
*
|
|
23
|
+
* Anything else (absolute path with at least one intermediate directory) is
|
|
24
|
+
* left untouched.
|
|
25
|
+
*/
|
|
26
|
+
export function normalizeWritePath(
|
|
27
|
+
filePath: string,
|
|
28
|
+
cwd: string = process.cwd(),
|
|
29
|
+
): { path: string; rewrittenFrom?: string } {
|
|
30
|
+
if (/^\/[^/]+$/.test(filePath)) {
|
|
31
|
+
return { path: join(cwd, filePath.slice(1)), rewrittenFrom: filePath };
|
|
32
|
+
}
|
|
33
|
+
if (!isAbsolute(filePath)) {
|
|
34
|
+
return { path: join(cwd, filePath) };
|
|
35
|
+
}
|
|
36
|
+
return { path: filePath };
|
|
37
|
+
}
|
|
5
38
|
|
|
6
39
|
// Port of tools.py::_write. Preserves the exact Edit-recipe error string so
|
|
7
40
|
// the model recovers to Edit on its next turn. The whitepaper's benchmark
|
|
@@ -12,18 +45,24 @@ export default function (pi: ExtensionAPI) {
|
|
|
12
45
|
name: "write",
|
|
13
46
|
label: "Write",
|
|
14
47
|
description:
|
|
15
|
-
"Create a NEW file with the given content. Refuses if the file already exists — use edit to modify existing files.
|
|
48
|
+
"Create a NEW file with the given content. Refuses if the file already exists — use edit to modify existing files. " +
|
|
49
|
+
"Parent directories are created automatically. " +
|
|
50
|
+
"Pass either a path relative to the working directory (e.g. `notes/plan.md`) or a full absolute path. " +
|
|
51
|
+
"A bare filename like `foo.md` resolves to <cwd>/foo.md. " +
|
|
52
|
+
"A path of the form `/<filename>` with no intermediate directories is treated as cwd-relative " +
|
|
53
|
+
"(use `/etc/hosts` etc. if you really mean the filesystem root).",
|
|
16
54
|
parameters: Type.Object({
|
|
17
|
-
file_path: Type.String({ description: "
|
|
55
|
+
file_path: Type.String({ description: "File path (relative to cwd, or absolute)" }),
|
|
18
56
|
content: Type.String({ description: "Full file content" }),
|
|
19
57
|
}),
|
|
20
58
|
async execute(_id, { file_path, content }) {
|
|
21
|
-
|
|
59
|
+
const { path: resolved, rewrittenFrom } = normalizeWritePath(file_path);
|
|
60
|
+
if (existsSync(resolved)) {
|
|
22
61
|
const recipe =
|
|
23
|
-
`Error: Write refused — ${
|
|
62
|
+
`Error: Write refused — ${resolved} already exists.\n` +
|
|
24
63
|
`\n` +
|
|
25
64
|
`Write is only for creating NEW files. To change an existing file, use Edit:\n` +
|
|
26
|
-
` {"name": "Edit", "input": {"file_path": "${
|
|
65
|
+
` {"name": "Edit", "input": {"file_path": "${resolved}", ` +
|
|
27
66
|
`"old_string": "<exact text currently in the file>", ` +
|
|
28
67
|
`"new_string": "<replacement text>"}}\n` +
|
|
29
68
|
`\n` +
|
|
@@ -41,12 +80,15 @@ export default function (pi: ExtensionAPI) {
|
|
|
41
80
|
}
|
|
42
81
|
|
|
43
82
|
try {
|
|
44
|
-
mkdirSync(dirname(
|
|
45
|
-
writeFileSync(
|
|
83
|
+
mkdirSync(dirname(resolved), { recursive: true });
|
|
84
|
+
writeFileSync(resolved, content, { encoding: "utf-8" });
|
|
46
85
|
const lc = content.split("\n").length - (content.endsWith("\n") ? 1 : 0) +
|
|
47
86
|
(content.length > 0 && !content.endsWith("\n") ? 1 : 0);
|
|
87
|
+
const suffix = rewrittenFrom
|
|
88
|
+
? ` (rewrote ${rewrittenFrom} → cwd; root-path single-segment write redirected)`
|
|
89
|
+
: "";
|
|
48
90
|
return {
|
|
49
|
-
content: [{ type: "text", text: `Created ${
|
|
91
|
+
content: [{ type: "text", text: `Created ${resolved} (${lc} lines)${suffix}` }],
|
|
50
92
|
details: {},
|
|
51
93
|
};
|
|
52
94
|
} catch (e) {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { describe, it, expect } from "vitest";
|
|
2
|
+
import { normalizeWritePath } from "./index.ts";
|
|
3
|
+
|
|
4
|
+
describe("normalizeWritePath", () => {
|
|
5
|
+
const cwd = "/home/me/proj";
|
|
6
|
+
|
|
7
|
+
it("rewrites /<bare-filename> to <cwd>/<bare-filename>", () => {
|
|
8
|
+
// The model anchoring at filesystem root is the bug we're fixing.
|
|
9
|
+
expect(normalizeWritePath("/foo.md", cwd)).toEqual({
|
|
10
|
+
path: "/home/me/proj/foo.md",
|
|
11
|
+
rewrittenFrom: "/foo.md",
|
|
12
|
+
});
|
|
13
|
+
expect(normalizeWritePath("/person.md", cwd)).toEqual({
|
|
14
|
+
path: "/home/me/proj/person.md",
|
|
15
|
+
rewrittenFrom: "/person.md",
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it("resolves bare filenames against cwd (no rewrite flag — already cwd-relative)", () => {
|
|
20
|
+
expect(normalizeWritePath("foo.md", cwd)).toEqual({
|
|
21
|
+
path: "/home/me/proj/foo.md",
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
it("resolves nested relative paths against cwd", () => {
|
|
26
|
+
expect(normalizeWritePath("sub/foo.md", cwd)).toEqual({
|
|
27
|
+
path: "/home/me/proj/sub/foo.md",
|
|
28
|
+
});
|
|
29
|
+
expect(normalizeWritePath("a/b/c.md", cwd)).toEqual({
|
|
30
|
+
path: "/home/me/proj/a/b/c.md",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
it("leaves genuine absolute paths alone (path has an intermediate directory)", () => {
|
|
35
|
+
// /etc/hosts has an intermediate directory, so it's a legitimate
|
|
36
|
+
// absolute path. We don't rewrite it.
|
|
37
|
+
expect(normalizeWritePath("/etc/hosts", cwd)).toEqual({
|
|
38
|
+
path: "/etc/hosts",
|
|
39
|
+
});
|
|
40
|
+
expect(normalizeWritePath("/tmp/foo.log", cwd)).toEqual({
|
|
41
|
+
path: "/tmp/foo.log",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
it("leaves deep absolute paths in cwd untouched", () => {
|
|
46
|
+
// Model handing back its own cwd-prefixed path: unchanged.
|
|
47
|
+
expect(normalizeWritePath("/home/me/proj/notes/plan.md", cwd)).toEqual({
|
|
48
|
+
path: "/home/me/proj/notes/plan.md",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
});
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to little-coder are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and little-coder's public interface (CLI, providers, tools, skills) follows semver starting at `v0.0.1` post-rename.
|
|
4
4
|
|
|
5
|
+
## [v1.3.0] — 2026-05-16
|
|
6
|
+
|
|
7
|
+
First functional release of Phase 2 (iterative improvement on real-world coding tasks). Three concrete sharp edges that surfaced while actually using the Mac → Linux LAN setup, plus a quality-of-life cleanup on the pi update banner. Minor version bump because three of the four changes are new behavior, all backwards-compatible.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **`cp`, `mv`, `mkdir`, `touch` are now on the built-in bash whitelist.** The permission-gate's `BUILTIN_SAFE_PREFIXES` previously covered only read-only inspection (`ls`, `cat`, `git log`, `find`, `grep`, …), so the model couldn't move or copy a file it just created without flipping `LITTLE_CODER_PERMISSION_MODE=accept-all`. These four were the most common false-positive blocks on day-to-day editing work. Trailing-whitespace word-boundary convention preserved — `cp ` allows `cp a b` but not `cpufetch`. `rm` and `sudo` stay off the list by design; per-deployment escape hatch is still `LITTLE_CODER_BASH_ALLOW`. New positive + negative-boundary assertions in `.pi/extensions/permission-gate/permission.test.ts`.
|
|
11
|
+
- **Image input on `llamacpp/qwen3.6-35b-a3b`.** `models.json` now declares `input: ["text", "image"]` for this entry, so pi's TUI no longer rejects clipboard / drag-and-drop screenshots. Pi already ships the full image-conversion / resize / OpenAI-format encoding stack (`@mariozechner/pi-coding-agent/dist/utils/{clipboard-image,image-resize,image-convert,mime}.js`); the gate was purely the capability flag on the model. README's *Option A — llama.cpp* now folds the vision projector into the canonical setup: an extra `hf download unsloth/Qwen3.6-35B-A3B-GGUF mmproj-F16.gguf` line and `--mmproj ~/models/mmproj-F16.gguf` on the `llama-server` command. Skip both lines if you want a text-only deployment.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- **Write tool no longer writes to filesystem root when the model emits `/<filename>`.** Previously the tool's schema described `file_path` as *"Absolute file path"*, so models that had no obvious working-directory context dutifully wrote `/person.md` — landing the file at the filesystem root instead of under cwd. `.pi/extensions/write-guard/index.ts` now runs a deterministic `normalizeWritePath()` before any filesystem call: a path matching `/^\/[^/]+$/` (root + single segment, no intermediate dirs) is rewritten to `<cwd>/<segment>` and the success message says so explicitly; bare filenames / relative paths are resolved against cwd up-front so the returned path is absolute; genuine system writes (`/etc/X`, `/tmp/Y/Z`) are passed through untouched. Tool description updated to give the model the right mental model. New unit-test module `.pi/extensions/write-guard/write-guard.test.ts` covers the five distinct path shapes.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- **Pi's "Update Available" banner is suppressed by default.** `bin/little-coder.mjs` now defaults `PI_SKIP_VERSION_CHECK=1` unless you've explicitly set it. little-coder bundles `@mariozechner/pi-coding-agent` as an internal dependency pinned per release, so the in-session nag about updating pi was telling users to do something they shouldn't (and couldn't usefully) do — `npm install -g @mariozechner/pi-coding-agent@latest` doesn't affect the bundled copy. Opt back in with `PI_SKIP_VERSION_CHECK=0` if you want the banner. (The broader `PI_OFFLINE=1` is still your hammer for killing pi's other startup network calls — package-update check, tool auto-fetch, install telemetry.)
|
|
18
|
+
|
|
19
|
+
### Notes for upgraders
|
|
20
|
+
- No CLI flag, settings.json, or skill-pack breaks. Existing `LITTLE_CODER_BASH_ALLOW` overrides continue to compose on top of the (now-wider) built-in list. Existing `models.json` user-override files for the llamacpp provider continue to work unchanged; if you'd hand-rolled an override entry for `qwen3.6-35b-a3b` you'll keep its old `input` value until you redeclare it. Tool descriptions changed on Write, which the model sees as a system-prompt diff — no API surface change for you.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
5
24
|
## [v1.2.1] — 2026-05-16
|
|
6
25
|
|
|
7
26
|
Docs-only release marking two milestones: **Terminal-Bench 2.0 leaderboard acceptance** and the **end of the Phase 1 benchmark baseline**. No CLI, settings, or skill-pack changes — the env-var path for remote inference (`LLAMACPP_BASE_URL` / `OLLAMA_BASE_URL` / `LMSTUDIO_BASE_URL` pointing at a non-loopback host) has worked since v1.1.0 / v1.2.0, but it was undocumented for the LAN-server case until now.
|
package/README.md
CHANGED
|
@@ -81,16 +81,21 @@ git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
|
|
|
81
81
|
cmake -B build -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=120 -DLLAMA_CURL=ON
|
|
82
82
|
cmake --build build --config Release -j
|
|
83
83
|
|
|
84
|
-
# Fetch
|
|
84
|
+
# Fetch the model GGUF and the matching vision projector.
|
|
85
|
+
# The mmproj (~900 MB) is what lets the model see attached screenshots.
|
|
85
86
|
pip install -U "huggingface_hub[cli]"
|
|
86
87
|
hf download unsloth/Qwen3.6-35B-A3B-GGUF Qwen3.6-35B-A3B-UD-Q4_K_M.gguf --local-dir ~/models
|
|
88
|
+
hf download unsloth/Qwen3.6-35B-A3B-GGUF mmproj-F16.gguf --local-dir ~/models
|
|
87
89
|
|
|
88
90
|
# Serve it (MoE trick: experts in RAM, attention on GPU → 22 GB model on 8 GB VRAM)
|
|
89
91
|
build/bin/llama-server -m ~/models/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf \
|
|
92
|
+
--mmproj ~/models/mmproj-F16.gguf \
|
|
90
93
|
--host 127.0.0.1 --port 8888 --jinja \
|
|
91
94
|
-c 16384 -ngl 99 --n-cpu-moe 999 --flash-attn on
|
|
92
95
|
```
|
|
93
96
|
|
|
97
|
+
If you only need text and want to skip the projector download, drop the second `hf download` line and the `--mmproj` flag — little-coder still works text-only, but the TUI's image attachment will be rejected by the server with a 4xx.
|
|
98
|
+
|
|
94
99
|
**Option B — Ollama** (simpler, but slower on MoE):
|
|
95
100
|
|
|
96
101
|
```bash
|
|
@@ -186,7 +191,7 @@ Then verify with `little-coder --list-models` — you should see your overridden
|
|
|
186
191
|
|
|
187
192
|
## Permissions
|
|
188
193
|
|
|
189
|
-
little-coder gates `Bash` tool calls against a built-in safe-prefix whitelist (`ls`, `cat`, `git log/status/diff`, `find`, `grep`, etc.) before pi's own confirmation flow ever sees them.
|
|
194
|
+
little-coder gates `Bash` tool calls against a built-in safe-prefix whitelist (`ls`, `cat`, `head`, `tail`, `git log/status/diff`, `find`, `grep`, `cp`, `mv`, `mkdir`, `touch`, etc.) before pi's own confirmation flow ever sees them. `rm` and `sudo` are intentionally not on the list — add them via `LITTLE_CODER_BASH_ALLOW` per deployment if you really need them.
|
|
190
195
|
|
|
191
196
|
Two env vars control the gate:
|
|
192
197
|
|
|
@@ -247,8 +252,14 @@ That spans short coding exercises (Polyglot), interactive shell-bound tasks (Ter
|
|
|
247
252
|
|
|
248
253
|
**`ECONNREFUSED 127.0.0.1:8888`** — llama.cpp isn't running. Start `llama-server` first, or switch `--model` to an Ollama/cloud ID.
|
|
249
254
|
|
|
255
|
+
**LAN client times out (no `RST`, just hangs)** — the inference box's firewall is dropping the SYN. The usual cause is `ufw` with a default-deny policy that allow-lists only SSH / a few dev ports. From the server: `sudo ufw status verbose` to confirm; `sudo ufw allow from <your-lan-subnet>/24 to any port 8888 proto tcp` to fix (scoped to the LAN so you're not exposing the box). Docker-published ports bypass `ufw` via `PREROUTING` NAT, which is why a Docker container can be reachable while a plain `llama-server` on the same host isn't.
|
|
256
|
+
|
|
257
|
+
**Image attachment is accepted but the request returns 4xx** — your llama-server is running without a vision projector. Re-launch it with `--mmproj ~/models/mmproj-F16.gguf` (or another mmproj variant from the same GGUF repo). The `--list-models` `images` column reflects what the client *will attempt to send*, not what the server can answer; the projector is what gives the model eyes.
|
|
258
|
+
|
|
250
259
|
**No API key env var warning** — pi expects *some* key even for local providers. Export `LLAMACPP_API_KEY=noop` (or `OLLAMA_API_KEY=noop`) before launching.
|
|
251
260
|
|
|
261
|
+
**No pi "Update Available" banner** — that's intentional. little-coder defaults `PI_SKIP_VERSION_CHECK=1` so the bundled pi runtime doesn't nag about updating itself; little-coder pins pi to a known-good version per release. If you actually want the banner back, `export PI_SKIP_VERSION_CHECK=0` before launching.
|
|
262
|
+
|
|
252
263
|
**Extension load failures on startup** — run `little-coder --list-models --verbose`; extension errors surface there. If the install looks corrupt: `npm uninstall -g little-coder && npm install -g little-coder`.
|
|
253
264
|
|
|
254
265
|
**Node version too old** — little-coder needs Node ≥ 20.6.0. Check with `node --version`. Easiest fix: `nvm install 20 && nvm use 20`.
|
package/bin/little-coder.mjs
CHANGED
|
@@ -87,7 +87,18 @@ const piArgs = [
|
|
|
87
87
|
...userArgs,
|
|
88
88
|
];
|
|
89
89
|
|
|
90
|
-
// ---- 7.
|
|
90
|
+
// ---- 7. Suppress pi's own version-banner by default ----
|
|
91
|
+
// pi is an internal dependency here; users install `little-coder` and shouldn't
|
|
92
|
+
// see in-session nags about updating the underlying coding-agent package.
|
|
93
|
+
// PI_SKIP_VERSION_CHECK is the surgical pi switch (interactive-mode.js:525)
|
|
94
|
+
// that gates the "Update Available" banner without touching pi's other
|
|
95
|
+
// network-dependent startup paths. Honor an explicit user value (set to "0" or
|
|
96
|
+
// anything else to re-enable the banner; PI_OFFLINE=1 also re-overrides).
|
|
97
|
+
if (process.env.PI_SKIP_VERSION_CHECK === undefined) {
|
|
98
|
+
process.env.PI_SKIP_VERSION_CHECK = "1";
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// ---- 8. Spawn pi in the user's cwd ----
|
|
91
102
|
const [spawnCmd, spawnArgs] = isWindows
|
|
92
103
|
? ["cmd.exe", ["/c", piBin, ...piArgs]]
|
|
93
104
|
: [piBin, piArgs];
|
package/models.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"id": "qwen3.6-35b-a3b",
|
|
19
19
|
"name": "Qwen3.6-35B-A3B (MoE, local llama.cpp)",
|
|
20
20
|
"reasoning": true,
|
|
21
|
-
"input": ["text"],
|
|
21
|
+
"input": ["text", "image"],
|
|
22
22
|
"contextWindow": 32768,
|
|
23
23
|
"maxTokens": 4096,
|
|
24
24
|
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "little-coder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A pi-based coding agent optimized for small local language models. Reproduces the whitepaper's scaffold-model-fit adaptations as pi extensions.",
|
|
5
5
|
"homepage": "https://github.com/itayinbarr/little-coder",
|
|
6
6
|
"repository": {
|