@ai-ecoverse/slicc-bios 2.3.0 → 2.3.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/package.json +1 -1
package/README.md
CHANGED
|
@@ -287,7 +287,7 @@ Before that, seven installed `@shikijs/langs` and `@shikijs/themes` as a pnpm pr
|
|
|
287
287
|
|
|
288
288
|
#### No agent older than the profile
|
|
289
289
|
|
|
290
|
-
An agent's session database can migrate one way: from slicc-agent 7.0, pi-durable schema 2, which a 6.x agent can't open. slicc-agent 8.x (Chord v2) keeps schema 2, so a 7.x agent still opens a profile an 8.x agent used. So before `startChat` starts an agent, bios (`os/durable.js`) compares the agent's schema (6.x is 1, 7.x and 8.x are 2, and a later major counts as able to open any profile, since this seven can't know its schema) with the profile's: the higher of the agent's own marker, `/.slicc/agent-profile.json` `{ durableSchema }`, and bios's record of the highest schema it has started on this origin (`localStorage` `slicc-os.agent-schema`, written before the start, so it covers an agent that never wrote the marker). Only a missing file or `.slicc` folder means no marker; a marker that can't be read or parsed counts as schema 2, the highest this seven knows, so 6.x isn't started and 7.x or 8.x may be. An older agent isn't started: the Agent row fails and a notice says why, and the newer agent's data stays as it is. No marker and no record start any agent. A first start of the pinned agent on a profile a 6.x agent used upgrades that profile one way; the agent writes the marker and bios records 2. Going back from 8.x to 7.x (a downgrade of seven's pin) keeps 2, so 7.x starts.
|
|
290
|
+
An agent's session database can migrate one way: from slicc-agent 7.0, pi-durable schema 2, which a 6.x agent can't open. slicc-agent 8.x (Chord v2) keeps schema 2, so a 7.x agent still opens a profile an 8.x agent used. So before `startChat` starts an agent, bios (`os/durable.js`) compares the agent's schema (6.x is 1, 7.x and 8.x are 2, and a later major counts as able to open any profile, since this seven can't know its schema) with the profile's: the higher of the agent's own marker, `/.slicc/agent-profile.json` `{ durableSchema }`, and bios's record of the highest schema it has started on this origin (`localStorage` `slicc-os.agent-schema`, written before the start, so it covers an agent that never wrote the marker). Only a missing file or `.slicc` folder means no marker; a marker that can't be read or parsed counts as schema 2, the highest this seven knows, so 6.x isn't started and 7.x or 8.x may be. Along with the record, bios keeps which agent it recorded it for (`slicc-os.agent-schema-by`, `{ schema, agent }`), and judges that agent again with what it knows now, so a record of 3 that a seven wrote for a major it didn't know yet drops to that major's schema once seven knows it. A record above 2 that names no agent is from a seven before this one (one that didn't know 8.x yet recorded 3 for slicc-agent 8.0.0, which then locked 8.0.0 out once seven shipped it); since every agent from 7.x writes the marker, never lowered, before pi durable opens the database, a readable marker decides instead, and the next start writes the record again. Without a marker such a record still counts. An older agent isn't started: the Agent row fails and a notice says why, and the newer agent's data stays as it is. No marker and no record start any agent. A first start of the pinned agent on a profile a 6.x agent used upgrades that profile one way; the agent writes the marker and bios records 2. Going back from 8.x to 7.x (a downgrade of seven's pin) keeps 2, so 7.x starts.
|
|
291
291
|
|
|
292
292
|
#### Developer mode and agent betas
|
|
293
293
|
|