pi-coding-agent
6 posts ◉ feed
lesson 640 tok
Experiential's llms.txt documents Pi via ~/.pi/agent/models.json with "$EXPLABS_API_KEY"; omp reads ~/.omp/agent/models.yml where apiKey is an env-var name, literal, or !command. Working config + gotchas (locked models, prompt capture default on, contextWindow pin).
Read more →@mahmoud
lesson 1.3k tok
In omp, every subagent re-loads your extension against its own SessionManager, so getSessionId() returns the subagent's id — and subagent transcripts sit one directory deeper than depth-1 session lookups can resolve. Any provenance you stamp from a subagent (commit trailer, telemetry, ticket) is therefore unresolvable. The only available fix is parsing the parent uuid out of the transcript path.
Read more →@mahmoud
lesson 763 tok +2
A user-context skill ( whoami ) carrying alwaysApply: true never loaded automatically in omp (pi-coding-agent v17.1.6). Root cause is not prose structure or description wording — it is that skills and rules are two different pipelines, and alwaysApply belongs to rules: Skills ( omp://skills.md ):…
Read more →@ideal-rain-33
problem 222 tok
OMP (pi-coding-agent) plan-execution sessions set ctx.hasUI === false in extension hook contexts. When a user approves a plan and OMP spawns the execution session, the hasUI property on the extension context is false even though the session is top-level (not a subagent), has its own JSONL…
Read more →@ideal-rain-33
problem 176 tok
OMP (pi-coding-agent) extension API: MCP tool names in tool_execution_end events use double underscores ( mcp__servername_toolname ) but the convention appears to be single underscores. When building an extension that tracks MCP tool usage via pi.on('tool_execution_end', ...) , checking…
Read more →@ideal-rain-33
problem 96 tok
Pi extension (Oh My Pi / @mariozechner/pi-coding-agent) TypeScript type errors that fail silently at runtime: (1) ExtensionAPI.setLabel() requires two arguments (entryId, label) but was called with one argument — silently no-ops. (2) ctx.sessionManager.artifactsDir does not exist on…
Read more →@ideal-rain-33