Skip to content

Releases: ifiokjr/monopi

v0.6.1

Choose a tag to compare

@ifiokjr ifiokjr released this 28 Aug 13:33
a176c84

Release target monopi-group

Members: @monopi/adaptive-routing, @monopi/agents, @monopi/analytics-dashboard, @monopi/analytics-db, @monopi/analytics-extension, @monopi/background-tasks, @monopi/cli, @monopi/core, @monopi/provider-cursor, @monopi/diagnostics, @monopi/docs, @monopi/extension-answer, @monopi/extension-prompt-modes, @monopi/extension-files, @monopi/extension-goal, @monopi/extension-review, @monopi/extension-todos, @monopi/extension-watchdog, @monopi/extension-btw, @monopi/extension-compact-header, @monopi/extension-custom-footer, @monopi/extension-external-editor, @monopi/extension-git-guard, @monopi/extension-scheduler, @monopi/extension-shell-format, @monopi/extension-tool-metadata, @monopi/extension-usage-tracker, @monopi/extension-worktree, @monopi/extension-shared, @monopi/context, @monopi/monopi, monopi, @monopi/provider-ollama, @monopi/bash-live-view, @monopi/pretty, @monopi/remote-tailscale, @monopi/provider-catalog, @monopi/shared-qna, @monopi/skills, @monopi/subagents, @monopi/web-client, @monopi/web-remote, @monopi/web-server, @monopi/db

  • prepare release

0.5.1 (2026-04-28)

Choose a tag to compare

@ifiokjr ifiokjr released this 28 Apr 05:49
e9c9d96

Fixes

  • sync knope dependency versioning
  • route oh-pi to interactive cli
  • Keep internal package dependency versions in lockstep
  • fix(installer): route @ifi/oh-pi through the interactive CLI

0.5.0 (2026-04-28)

Choose a tag to compare

@ifiokjr ifiokjr released this 28 Apr 00:32
36154f9

Breaking Changes

Add several new packages

Document the packages that have been created since the last tagged release (v0.4.4) so the next release notes explain what each new workspace package provides.

  • @ifi/pi-extension-adaptive-routing (packages/adaptive-routing) adds optional adaptive and delegated model routing for pi, including routing policy support and evaluation tooling for selecting better models per task.
  • @ifi/pi-background-tasks (packages/background-tasks) adds reactive background shell tasks with /bg, log viewing, keyboard access, and agent wakeups when long-running commands emit output.
  • @ifi/pi-diagnostics (packages/diagnostics) adds prompt-completion diagnostics with timestamps, per-turn durations, live timing widgets, and observability for pi sessions.
  • @ifi/pi-provider-catalog (packages/providers) adds an experimental multi-provider catalog backed by models.dev, including provider/model discovery and lazy API-key login flows.
  • @ifi/pi-provider-cursor (packages/cursor) adds an experimental Cursor provider with OAuth login, model discovery, and direct AgentService streaming support.
  • @ifi/pi-provider-ollama (packages/ollama) adds experimental Ollama local and cloud provider support, including local model discovery, Ollama Cloud login, model management, and streaming integration.
  • @ifi/pi-remote-tailscale (packages/pi-remote-tailscale) adds secure remote session sharing over Tailscale HTTPS with WebSocket transport, PTY support, QR codes, token auth, and TUI status widgets.
  • @ifi/pi-bash-live-view (packages/pi-bash-live-view) adds PTY-backed live bash execution with a real-time terminal widget, /bash-pty, and a bash_live_view tool for interactive command output.
  • @ifi/pi-pretty (packages/pi-pretty) adds prettier terminal output for pi, including Shiki-highlighted file reads, colored bash summaries, tree-view directory listings, icons, and enhanced search/read tools.
  • @ifi/pi-analytics-extension (packages/analytics-extension) adds analytics tracking for pi sessions with /analytics terminal stats, /analytics-dashboard, model/token/cost capture, and SQLite persistence.
  • @ifi/pi-analytics-db (packages/analytics-db) adds the shared SQLite database layer for analytics, including Drizzle ORM schema, migrations, and typed query helpers for sessions, turns, models, providers, codebases, and aggregates.
  • @ifi/pi-analytics-dashboard (packages/analytics-dashboard) adds a private React and Vite dashboard for visualizing AI usage across overview, model, codebase, and insight pages.
  • @ifi/oh-pi-docs (packages/docs) adds the private documentation site package for developing and building the oh-pi documentation site.

Features

  • add experimental Cursor provider package (#81)
  • add experimental Ollama Cloud provider (#93)
  • unify Ollama local and cloud provider (#94)
  • add pi source switcher for local package testing (#101)
  • add adaptive routing mode (#95)
  • include experimental providers in pi source switcher (#106)
  • add external editor draft sync (#114)
  • improve session continuity and resume hints (#116)
  • add continue-until-complete retry mode (#117)
  • emit resume commands on switch and exit (#118)
  • add tool execution metadata (#120)
  • track task creator origins (#115)
  • attribute watchdog slowdowns (#119)
  • add provider catalog package (#121)
  • add pi-managed worktree flows (#123)
  • extract adaptive routing into optional package (#166)
  • add scrollable provider and scheduler pickers (#165)
  • add provider routing dashboard
  • install optional routing packages
  • add standalone prompt diagnostics package (#167)
  • add routing install scope toggle
  • add colon-style subcommand aliases
  • improve delegated routing model selection (#189)
  • add reactive background task watching (#193)
  • pi analytics dashboard (#194)
  • add devenv skill for devenv.nix task runner (#212)
  • add documentation site with Vite + React + MDX (#216)
  • add /answer and /answer:auto commands (#211)
  • upgrade Vite from 7.3.2 to 8.0.9 (#227)
  • add kimi-k2.6 to cloud fallback model catalog (#228)
  • add client-side search with minisearch and Cmd+K shortcut (#229)
  • add docs:sync for MDT-integrated content pipeline (#230)
  • performance audit — fix hot-path issues and add benchmarks (#231)
  • reduce context noise, add bg task expiry, label scheduled runs (#233)
  • optimize scheduler hot paths — single-pass iterations and zero-alloc dispatch (#235)
  • remove explicit model overrides from ant_colony tool, use adaptive routing (#236)
  • highlight recommended options in QnA overlay (#238)
  • add Ctrl+O context expansion popup for question details (#244)
  • add @ifi/pi-remote-tailscale, @ifi/pi-bash-live-view, @ifi/pi-pretty (#255)
  • change usage-tracker overlay shortcut from Ctrl+U to Ctrl+Shift+U (#266)
  • add a routing corpus and evaluation harness (#275)
  • add interactive installer with extension picker, progress bars, and changelog display (#277)
  • migrate to tsdown and re-enable no-explicit-any
  • feat: add adaptive routing mode with shadow mode, local telemetry, and usage-aware model selection
  • feat: add an experimental Cursor OAuth provider package for pi
  • Add client-side search (minisearch) and Cmd+K shortcut to the docs site
  • Add documentation website package (Vite + React + MDX) with GitHub Pages deployment
  • Add colon-style subcommand aliases across provider, routing, Ollama, scheduler, spec, and watchdog workflows, update related docs/help text, and keep provider picker search inside overlay UI so escape and typing no longer fall through to the editor.
  • Remove explicit model override parameters from ant_colony tool. Model selection now uses adaptive routing exclusively — scouts, workers, and soldiers each use the best available model for their task category (quick-discovery, implementation-default, review-critical). Configure via /route settings.
  • Add an external-editor oh-pi extension with a /external-editor command and Ctrl+Shift+E shortcut for opening the current draft in $VISUAL or $EDITOR, then syncing the saved text back into pi.
  • Extract adaptive routing into its own optional package, add delegated startup provider categories for subagents and ant-colony, and remove hard-coded Anthropic defaults from builtin subagents.
  • Implement @ifi/pi-bash-live-view package for PTY-backed live terminal viewing of bash commands. Adds usePTY parameter to bash tool, live TUI widget with real-time output, and /bash-pty slash command.
  • Implement @ifi/pi-pretty package for enhanced terminal output. Adds syntax highlighting via Shiki, file icons via Nerd Fonts, tree-view directory listings, colored bash exit summaries, and enhanced find/grep rendering.
  • Implement @ifi/pi-remote-tailscale package for secure remote session sharing via Tailscale HTTPS. Provides PTY-based remote access, WebSocket terminal sharing, QR code display, token auth, discovery service, and optional TUI widget.
  • Track which scheduler tasks were created by the current pi instance, surface that origin in the scheduler UI, and add clear-other controls for deleting tasks not created in this instance.
  • Make the repo root a git-installable pi package for personal forks by aggregating the shipped runtime extensions, prompts, skills, and themes, and replace npm-incompatible workspace:* dependency specifiers with installable lockstep versions.
  • Add a native worktree extension with centralized pi-owned git worktree metadata, footer/status surfacing, safe cleanup that only targets pi-managed worktrees by default, and allow edits inside pi-managed worktree paths without repeated protected-path prompts.
  • Add a repo-local pi source switcher for toggling oh-pi packages between the current checkout and the published npm packages.
  • Extend the local pi source switcher to manage the experimental provider packages too, and warn users to fully restart pi instead of relying on /reload after switching sources.
  • feat: add a diagnostics extension that logs prompt completion timestamps, durations, and per-turn timing details
  • Add an experimental @ifi/pi-provider-catalog package that registers a broad set of OpenCode-cataloged API-key providers, refreshes model catalogs from models.dev and live provider discovery, and adds /providers commands for inspecting and refreshing provider state.
  • Add a user/project install scope toggle when installing optional routing packages from the oh-pi routing dashboard.
  • Let the oh-pi routing dashboard install missing optional routing and provider packages directly from the setup flow.
  • Add a dedicated provider and routing dashboard to the oh-pi setup flow so users can review optional routing packages, available providers/models, delegated assignments, and effective routing for the main session, subagents, and ant-colony.
  • Add a default-on tool-metadata extension that appends completion timestamps, elapsed runtimes, approximate tool-context size, and session context snapshots to finished tool results.
  • Teach the watchdog to profile extension runtime activity, surface likely slowdown culprits in /watchdog, and emit scheduler task pressure diagnostics for faster blame and safe-mode triage.

Add /answer extension for interactive Q&A from LLM responses.

  • /answer extracts questions from the last assistant message and presents them in a QnA overlay powered by @ifi/pi-shared-qna
  • /answer:auto toggles auto-detection: when enabled, questions in the final LLM response automatically trigger the QnA overlay
  • Uses LLM-powered question extraction with structured output (questions, context, and multiple-choice options)
  • Answers are injected back into the session as a follow-up user message

- Add the experimental @ifi/pi-provider-ollama package so pi can discover local Ollama models, log in to Ollama Cloud via /login ollama-cloud, and expose both local and cloud models in /model.

  • Add unified /ollama commands for refreshi...
Read more

0.4.4 (2026-04-02)

Choose a tag to compare

@ifiokjr ifiokjr released this 02 Apr 09:41
4da59c4

Features

  • show clickable PR link in custom footer (#79)
  • add /status overlay command (#80)
  • add /status command that opens an overlay showing model, session, context window, workspace, git branch, PR link, extension statuses, and safe-mode state.
  • show the current PR as a clickable hyperlink in the custom footer when a PR is open for the current branch.

Fixes

  • gate specs/ dir fallback on non-git repos only (#74)
  • support Windows by using shell mode for execFileSync (#76)
  • add safe mode awareness, reduce tick frequency, and fix memory leaks (#78)
  • fix findPi() on Windows by trying pi.cmd first and passing shell: true to execFileSync so the npm CMD shim is resolved correctly.
  • Add safe mode awareness to the scheduler extension, reducing tick frequency and suppressing UI status updates when safe mode is active. Fix memory leak in dispatch timestamp tracking by replacing unbounded shift() pruning with a capped splice() approach and clearing timestamps on scheduler stop.
  • standardize MDT documentation reuse on pnpm mdt across repo docs, scripts, and CI.

0.4.3 (2026-04-01)

Choose a tag to compare

@ifiokjr ifiokjr released this 01 Apr 06:48
8071655

Fixes

  • suppress watchdog and scheduler notification spam (#75)
  • suppress repeated watchdog and scheduler notifications by capping toast alerts at 2 per session and persisting ongoing warnings in the status bar instead.

0.4.2 (2026-03-31)

Choose a tag to compare

@ifiokjr ifiokjr released this 31 Mar 06:20
581f56d

Features

  • show workspace and prompt in review UI (#69)
  • add clear-all review shortcut (#70)

Fixes

  • persist provider usage windows (#72)
  • add a clear-all shortcut to the scheduler review UI so scheduled tasks can be removed directly from the task list.
  • persist provider rate limit data so usage widgets and dashboards can keep showing the last known subscription windows when live provider probes are temporarily rate-limited.
  • improve the scheduler review UI by showing the workspace in task listings and the full automated prompt when a scheduled task is selected.

0.4.1 (2026-03-30)

Choose a tag to compare

@ifiokjr ifiokjr released this 30 Mar 21:11
c324f2f

Fixes

  • avoid loading helper modules as extensions (#67)
  • run all workspace package builds (#68)
  • fix workspace builds to run every package build script, repair the spec worktree build config, and verify published extension entrypoints are explicit files.
  • fix pi package extension manifests to list explicit entrypoint files so helper modules are not loaded as standalone extensions.

0.4.0 (2026-03-30)

Choose a tag to compare

@ifiokjr ifiokjr released this 30 Mar 16:31
dd1062b

Breaking Changes

  • clarify the supported minimum pi runtime baseline in package peer dependencies and repository docs.

Features

  • add MDT-powered documentation reuse (#66)

Fixes

  • reduce long-session runtime UI churn
  • improve error reporting and robustness for ant colony and subagent swarms (#56)
  • prevent scheduler startup prompt replay (#59)
  • isolate scheduled tasks by instance
  • add shared pi agent-dir and mirrored storage path utilities to @ifi/oh-pi-core for consistent config and storage path resolution.
  • add a shared extension runtime smoke-test harness and initial smoke coverage for scheduler/btw, ant-colony, and subagents.
  • add MDT-based documentation reuse, CI verification, and synchronized API docs for shared package helpers.
  • add missing package-level READMEs for published packages so npm and pi.dev package pages have package-specific documentation.
  • add repository, homepage, and bugs metadata to published package manifests so npm package pages link back to the correct monorepo locations.
  • add a small CI compatibility matrix that smoke-tests oh-pi extensions against the minimum supported pi baseline and a current upstream runtime.
  • align root build and CI publish validation with the actual compiled and published package set, including web packages and pack dry-run checks.
  • centralize pi-tui fallback resolution behind a shared loader used by shared-qna and plan runtime modules.
  • document non-interactive git and GitHub CLI guidance for agent-run workflows
  • document the scheduler instance-vs-workspace ownership model and the new adopt/release controls in the extensions README.
  • exclude compiled test artifacts from published tarballs for compiled packages and add a CI guard to catch regressions.
  • expand runtime smoke coverage for usage-tracker, auto-update, safe-guard, and spec extension registration flows.
  • reduce long-session input lag by avoiding footer rescans, adding a performance watchdog, and introducing a safe mode command that suppresses nonessential UI chrome when the session gets sluggish.
  • prevent scheduled prompts from being auto-run in newly opened pi instances for the same workspace by adding instance ownership, workspace-scoped opt-in tasks, scheduler leasing, takeover prompts, and explicit adopt/release/clear-foreign controls.
  • fix scheduler startup replay by restoring overdue persisted tasks for manual review instead of auto-running them in a new session
  • migrate hardcoded pi agent-dir paths in CLI and extensions to shared resolver utilities so custom PI_CODING_AGENT_DIR setups behave consistently.
  • reduce remaining moderate production audit findings by overriding patched transitive dependency versions.
  • refactor the root AGENTS.md into a progressive-disclosure layout with focused agent rule documents for engineering, packaging and release, and git/PR workflow guidance.
  • refactor the scheduler extension into shared constants/types, parsing helpers, and registration modules without changing user-facing behavior.
  • refactor the subagents extension by splitting bootstrap/config helpers, async runtime monitoring, and slash-command registration into focused modules.
  • refactor the usage tracker by splitting shared types, formatting helpers, and provider probe logic into focused modules.

0.3.6 (2026-03-29)

Choose a tag to compare

@ifiokjr ifiokjr released this 29 Mar 13:03
ea9d7f6

Features

  • add option to disable emoji icons with plain ASCII fallbacks (#28)

Fixes

  • harden nest lock recovery (#21)
  • move and clean up shared scheduler state (#22)
  • move repo-local runtime state to shared pi storage (#23)
  • handle older pi model registry in btw (#26)
  • improve follow-up scheduling guidance (#29)
  • add and refine npm keywords across the remaining published packages to improve discovery on pi.dev/packages.
  • fix ant-colony nest lock recovery and ensure colony IDs stay unique under concurrent launches.
  • fix BTW API key resolution on older pi runtimes that do not expose ctx.modelRegistry.getApiKey().
  • improve scheduler tool descriptions so pi is more likely to use scheduled follow-ups for PRs, CI, builds, deployments, and other future check-ins.
  • Move ant-colony runtime state and isolated worktree directories out of repository-local .ant-colony/ folders into a shared pi agent storage root under ~/.pi/agent/ant-colony/... by default. Legacy local colony state is migrated automatically, .gitignore is no longer modified in the default shared mode, and an explicit storageMode: "project" opt-in remains available for users who prefer the old repo-local behavior.
  • Move scheduler state out of repository-local .pi/scheduler.json files into a shared pi agent directory under ~/.pi/agent/scheduler/..., using a path that mirrors each workspace path for uniqueness. Legacy repo-local scheduler files are migrated automatically when discovered, and defunct scheduler stores are cleaned up once all tasks expire or are removed.
  • Move subagent project-scope agent and chain definitions out of repo-local .pi/agents/ folders into a shared pi agent directory under ~/.pi/agent/subagents/project-agents/... by default. Legacy project-local definitions are migrated automatically when discovered, mirrored parent workspaces are still searched for project overrides, and a projectAgentStorageMode: "project" opt-in keeps the old repo-local behavior available.
  • Pin picomatch to 4.0.4 via pnpm overrides so CI security audits pass with the patched version of the transitive dependency used by the Vitest toolchain.

0.3.5 (2026-03-25)

Choose a tag to compare

@ifiokjr ifiokjr released this 25 Mar 09:34
4ef157e

Features

  • add architecture and refactor planning skills (#19)

Add four new skills to @ifi/oh-pi-skills:

  • grill-me
  • improve-codebase-architecture (with REFERENCE.md)
  • request-refactor-plan
  • write-a-skill

Fixes

  • restore anthropic and google rate-limit display (#20)

Fix usage-tracker provider display regressions:

  • Treat Anthropic OAuth utilization as percentage values (so 1.0 means 1% used, not 100% used).
  • Preserve last known provider windows when transient probe responses report rate-limited/unavailable with no windows.
  • For Google Cloud Code Assist tiers that explicitly state "unlimited", show a Subscription quota window at 100% instead of only showing "windows unavailable".