byollm 0.1.5 → 0.1.6

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 CHANGED
@@ -1,12 +1,14 @@
1
- <!-- release-note 0.1.5 -->
2
- > **`0.1.5` carries site tools and images. Update your hub or server first.**
3
- > `PROTOCOL_VERSION` is still `2`. `llm.tools` lets the model call a site's
4
- > own tools, which run on the site and never on this device. It is off until
5
- > you turn it on for a service, and every call is in `byollm log`.
6
- > `llm.vision` and `llm.image` work on local and HTTP models. A teammate's
7
- > images are budgeted by `community.maxImageBytes`. A teammate's large job is
8
- > now admitted when it could fit (#5738). Full note:
9
- > `docs/release-notes/0.1.5.md`.
1
+ <!-- release-note 0.1.6 -->
2
+ > **`0.1.6`: an automatic update brings this device back up, and every update
3
+ > writes down what it did.** `PROTOCOL_VERSION` is still `2`; update in any
4
+ > order. On macOS an update no longer ends with no service and nothing
5
+ > running (#9572): `byollm start` hands the re-register to a copy that waits
6
+ > for the old daemon to exit. **If an update to 0.1.5 left a Mac on
7
+ > `NOT RUNNING`, run `byollm start` once.** New: `byollm logs`, what this
8
+ > device did with each job, one line per event (#9547). Every update now
9
+ > writes `update:` lines to `~/.byollm/service.log` and `byollm logs`, from
10
+ > the update after this one (#9594). Full note:
11
+ > `docs/release-notes/0.1.6.md`.
10
12
  >
11
13
  > This README used to open with a stack of release notes instead of with the
12
14
  > package. The history moved to `docs/release-notes/` and `CHANGELOG.md`,
@@ -106,6 +108,21 @@ version. Every update is checked against its npm provenance before it runs and
106
108
  rolled back if it fails; [`docs/security.md` §7a](https://github.com/oftomorrowinc/byollm/blob/main/docs/security.md#7a-updates)
107
109
  says exactly what is checked.
108
110
 
111
+ Every update writes down what it did, one line per step, each beginning
112
+ `update:` and the time in UTC: the offer it took and from where, the drain,
113
+ the install, the provenance check, the re-register, and then the new
114
+ daemon's `now running 0.1.7, was 0.1.6`. A failure says which step failed,
115
+ npm's words, and whether the machine stayed, rolled back, or needs you, with
116
+ the two commands to run. They are in `~/.byollm/service.log` and in
117
+ `byollm logs`:
118
+
119
+ ```bash
120
+ grep update: ~/.byollm/service.log
121
+ ```
122
+
123
+ Written by the updater already on the device, so the first update with an
124
+ account is the one after 0.1.6.
125
+
109
126
  You do not have to write any of this by hand. `byollm services manage` asks
110
127
  what this machine has and writes the file for you, and it is safe to re-run:
111
128
  it shows what is already there.
@@ -138,6 +155,8 @@ It installs at the user level on every platform — a launchd `LaunchAgent` on
138
155
  macOS, a `systemd --user` unit on Linux, a logon task on Windows. No root, no
139
156
  system directories: it runs as you, it stops when you say so, and you can read
140
157
  every file it wrote. Output goes to `~/.byollm/service.log` on all three.
158
+ `byollm logs` reads the device's own event log rather than this file, so it
159
+ works the same under any supervisor and at a hosted box's `byollm>` console.
141
160
 
142
161
  Two things worth knowing:
143
162
 
@@ -162,6 +181,9 @@ byollm status # what's connected, what's running, what you've done for o
162
181
  byollm sites # which sites this device serves, and which keys it still holds
163
182
  byollm log # every prompt that has ever run here
164
183
  byollm log --full # the whole text, not the first line
184
+ byollm logs # what happened, one line per event: claimed, started, answered, failed
185
+ byollm logs --job 911c5d84 # one job's lines, and where it stands
186
+ byollm logs --follow # and keep printing as they happen (--tail N for more than 20)
165
187
  byollm stop # stop running in the background — the off switch, always yours
166
188
  byollm start # and bring it back
167
189
  byollm forget <url> # drop a pairing entirely
package/dist/bin.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  main
4
- } from "./chunk-LB4MGI2X.js";
4
+ } from "./chunk-D6IRB3FG.js";
5
5
 
6
6
  // src/bin.ts
7
7
  process.exitCode = await main(process.argv.slice(2));