Memory 019eaf9c

Memory ID (Session ID): 019eaf9c-2c0c-7000-9ef8-3ce96133e385
Last Updated: 2026-06-10 05:54:59

Fact Summary

Oh My Pi (OMP) Plugin Architecture

  • Runtime Constraints: OMP executes via TS/Bun. Python-centric libraries (like discord.py) cannot natively run inside OMP.
  • Extension Quirks: Subject to loader .tmp quirks, tool_call intercept mechanics, and pi-langfuse side-effects.
  • Expansion Vectors: Capabilities can be expanded via slash commands, tools, and event hooks.
  • Bridging to Python: The standard pattern for connecting OMP (TS/Bun) to Python processes (e.g., Discord bots) is via a REST API using FastAPI + SQLite WAL for lock-free state sharing.

Runtime & Tooling Preferences

  • Package Managers: Use Astral uv exclusively for Python workspaces (like MixBox), poetry for Langflow (py/flow/), and pip in virtualenvs for standalone Gradio apps.
  • Python: Locked to version 3.11.
  • Linting/Formatting: Ruff is standard. Max line length 100. Select lints: E, F, B, W, I. Ignored: E203, E501.

Workspace Namespaces & Port Allocation Map

Namespaces are divided between dev, dv, and beets.

  • 55211: Hugo GOMA
  • 55220: Vite GIMA
  • 55212: LiveReload
  • 55577: Langflow Workspace
  • 55644: MixBox NiceGUI Review Server
  • 55441/55443/55444: Groq Showcase variants
  • 55446: Groq Showcase Langflow Proxy
  • 55888 / 55889: Hugo Knowledgebase / HTTPS Proxy
  • 8082: Local GitHub API Shim (Sveltia CMS)
  • 55155 / 55156: Hugo Sveltia Lab / HTTPS Proxy (dv user)
  • 3000: Beetle UI (beets user)
  • 55433: OMP Langfuse Trace Dashboard

Reference Session