Skip to content

pi 1.8.0 - #133

Merged
Crokily merged 2 commits into
mainfrom
pi-1.8
Dec 4, 2026
Merged

Crokily merged 2 commits into
mainfrom
pi-1.8

Conversation

@Crokily

@Crokily Crokily commented Dec 4, 2026

Copy link
Copy Markdown
Owner

All @earendil-works packages from 1.6.1 to 1.8.0 (pi 1.7.0 and 1.8.0), for Pots 0.9.0.

What changes for Pots

  • bot.sqlite. pi-durable 1.8.0 stores indexed strings (task kinds, submission request IDs, document kinds and keys) as plain text instead of JSON string literals, and migrates bot.sqlite to its schema version 3 when the gateway opens it. Tried on a copy of a 990 MB bot database: 0.8 s. The migration is one way: Pots 0.8.x refuses a bot.sqlite of version 3 ("SQLite schema version 3 is newer than supported version 2"). Pots' own SQL on pi's tables (memory forks) reads none of these columns; one test's query of the child-end wake's request ID drops the quotes.
  • bash on Windows. pi-durable's NodeExecutionEnv hands a command to Git Bash in an environment variable (getShellConfig() commandTransport: "env"), so commands over about 8 KB, or made of newline-separated words, no longer run only in part with exit code 0. Pots runs bash through NodeExecutionEnv; pots admin already passes its words in variables. Windows CI is the test.
  • New dependency: @earendil-works/pi-images (WebAssembly), which pi-durable 1.8.0 brings; Pots keeps Photon for images.
  • cross-spawn 7.1.2 and minimatch 11.0.9 come with pi (security fixes). On Windows, an MCP command with arguments in it ("npx -y foo") now fails, as on Linux; Pots' docs show none.

Checked, nothing to change

  • The pi modules Pots loads by path (cache warming, ChatGPT images' catalog, the spans of model requests, llama.cpp, MCP config/runtime/tools, the system prompt sections, model resolver, HTTP dispatcher, pi mcp's CLI) are all there with the same exports; no "is off" line in a gateway's output.
  • SessionManager.open(), openrouter-images, a FileSystem of Pots' own (flushDir): Pots uses none.
  • pi's openai-codex provider still has no image generation of its own, so Pots' gpt-image-2 stays.
  • pi-durable's codemode models functions did not change (the { aspectRatio, size } of 1.7.0 is pi CLI's codemode), so the prompt, README and skills state nothing that 1.7.0 or 1.8.0 made wrong.
  • pi-agy 0.1.2 (@pots/pi-agy): type check and its tests pass against pi 1.8.0, and a gateway of this branch answered through agy/gemini-4-hydrogen with Pots' real prompt.

All @earendil-works packages from 1.6.1 to 1.8.0 (pi 1.7.0 and 1.8.0).

pi-durable 1.8.0 stores indexed strings (task kinds, submission request
IDs, document kinds and keys) as plain text instead of JSON string
literals, and migrates bot.sqlite to its schema version 3 when it opens
it: a test's query of the child-end wake's request ID drops the quotes.
Pots' own queries of pi's tables read none of these columns. The
migration is one way: an earlier Pots refuses a bot.sqlite of version 3.

pi-durable's bash on Windows hands the command to Git Bash in an
environment variable (pi's getShellConfig commandTransport "env"), so
long commands no longer run only in part; Pots runs its bash through
pi-durable's NodeExecutionEnv and `pots admin` already passes its words
in variables. Pots does not use SessionManager, openrouter-images or a
FileSystem of its own. The pi modules Pots loads by path are all still
there with the same exports.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T03:04:47.810621Z b8de001 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

pi-durable 1.8.0 moves bot.sqlite to a schema an earlier Pots cannot
read when it opens it. A bot whose model pi no longer knows, such as
opencode/kimi-k2.7-code, failed to start only after that, so going back
to the earlier Pots was no way out. The model is now checked first.
@Crokily
Crokily merged commit 1e519a9 into main Dec 4, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant