@parcha/pi-browser 0.1.0-beta.79 → 0.1.0-beta.80
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/CHANGELOG.md +8 -0
- package/dist/core/downloads.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.1.0-beta.80 (2026-12-01)
|
|
6
|
+
|
|
7
|
+
**Breaking:**
|
|
8
|
+
|
|
9
|
+
- A run's skills come from its revision alone: every claim, a follow-up's included, hands the harness the revision's skill text (a moved project's, its pinned snapshot's), never what is in the run folder's `.agents/skills/`. At every claim the server makes `.agents/skills/` the revision's exactly (a rewritten file written back, a moved project's with its snapshot's mode so an authored script stays executable, a file or skill folder the revision lacks removed, a link at a revision path replaced), and the run's `read` answers every path there from the claim's skills, never from the folder, so a rewrite by the run's computer mid-claim is never what the model reads. That holds for every harness that reads its skills on demand (pi, an ACP harness such as Goose, a moved project on any harness) and for a desktop's or a phone's own skill. A skill file whose name a case-folding disk reads as `SKILL.md` but is not exactly `SKILL.md` (`cite/skill.md`, `cite/SKILL.md.`) is never laid, listed or read. A browser download whose name starts with spaces and dots is filed without them, so it is never a hidden file. Skills are read on demand only with the `read` tool: a run with `bash` and no `read` now gets every `SKILL.md` inlined, and the on-demand line names the `read` tool, so a pi desktop run on Sonnet's first request through a gateway needs $0.056 (from $0.055; its byte bound 10,739 tokens); the documented $0.09 minimums do not change. A template eval case whose `files:` name a path under `.agents/` or `.claude/` is refused when the case is read. A run's file tools (write, edit, and every bridged file tool) and what files for it (web_save, a browser screenshot's save_as, the MCP's filed answers) refuse a path under `.agents/` with a refusal in words, in both modes, and a moved project's checkpoint keeps the baseline's `.agents/` and never carries a run's. An agent that wrote its own skills from inside a run changes them through its definition instead. <!-- changes/skills-from-revision-only.md -->
|
|
10
|
+
- A moved project's skill folders, an empty one such as a skill's `output/` included, are laid at every claim with their snapshot's mode and listed by the run's `read`; a grep over `.agents/skills/` runs in grep's worker as a folder's does, so it stops at its deadline and at `max`.
|
|
11
|
+
- A grep over the whole run folder never searches the folder's own `.agents/skills/` (a name that folds to it included), so lines the run's computer wrote there never take a project file's match's place under `max`.
|
|
12
|
+
|
|
5
13
|
## 0.1.0-beta.79 (2026-12-01)
|
|
6
14
|
|
|
7
15
|
**Breaking:**
|
package/dist/core/downloads.js
CHANGED
|
@@ -21,7 +21,7 @@ export class DownloadNotSettled extends Error {
|
|
|
21
21
|
export const recordingHandle = (sessionId) => `session:${sessionId}`;
|
|
22
22
|
/** A name that stays inside `downloads/`: the last path segment, no control characters, not hidden, not the manifest. */
|
|
23
23
|
export function safeDownloadName(remote) {
|
|
24
|
-
const base = (remote.split(/[\\/]/).pop() ?? "").replace(/[\u0000-\u001f\u007f]/g, "").replace(
|
|
24
|
+
const base = (remote.split(/[\\/]/).pop() ?? "").replace(/[\u0000-\u001f\u007f]/g, "").replace(/^[\s.]+/, "").trim().slice(0, 200);
|
|
25
25
|
return !base || base === "manifest.json" ? "download" : base;
|
|
26
26
|
}
|
|
27
27
|
const sameRemote = (row, session, file) => row.session === session && row.remote.name === file.name && row.remote.sizeBytes === file.sizeBytes && row.remote.modifiedAt === file.modifiedAt;
|