From 63ef72d1b9d091139b71dd57375188b44bc15be2 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 24 May 2026 18:33:00 +0900 Subject: [PATCH] docs(agents): document prompts-core mode prompts Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- AGENTS.md | 4 +++- packages/AGENTS.md | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index fcb786a5f..83834d139 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,13 +32,15 @@ oh-my-opencode/ │ ├── openclaw/ # Bidirectional external integration (Discord/Telegram/HTTP/shell + reply listener daemon) │ ├── generated/ # model-capabilities.generated.json (refreshed via build:model-capabilities) │ └── testing/ # Test utilities + `create-plugin-module.ts` (extracted plugin entry factory, 182 LOC) -├── packages/ # 11 platform binaries + 2 MCP packages + 7 Core packages + web +├── packages/ # 11 platform binaries + 2 MCP packages + 9 Core packages + web │ ├── utils/ # Shared utilities — deep-merge, snake-case, frontmatter, file-utils, etc. │ ├── model-core/ # Model resolution pipeline with ProviderCache DI +│ ├── prompts-core/ # Markdown prompt loading + bundled mode prompts (search/analyze/team/hyperplan) │ ├── rules-engine/ # Rule discovery + matching (renamed from rules-core) │ ├── agents-md-core/ # AGENTS.md walk-up discovery + injection │ ├── ast-grep-core/ # ast-grep types, pattern-hints, runner core with injectable spawn │ ├── comment-checker-core/ # apply-patch parser, binary runner with injectable spawn +│ ├── hashline-core/ # Hashline edit primitives and diff helpers shared by adapter shims │ ├── boulder-state/ # Work tracking state machine, split storage │ └── web/ # Marketing site (Next.js 15 + Cloudflare Workers). Independent package with own bun.lock ├── bin/ # Platform-detection JS shim (oh-my-opencode + oh-my-openagent) diff --git a/packages/AGENTS.md b/packages/AGENTS.md index 61216a27e..68eac8296 100644 --- a/packages/AGENTS.md +++ b/packages/AGENTS.md @@ -4,7 +4,7 @@ ## OVERVIEW -15 sibling packages across 4 roles. None of these are published as part of the main `oh-my-opencode` / `oh-my-openagent` npm dist (root `package.json` `files` only ships `dist/`, `bin/`, `postinstall.mjs`). They are sibling packages with their own publication / deployment targets. +23 sibling packages across 4 roles. None of these are published as part of the main `oh-my-opencode` / `oh-my-openagent` npm dist (root `package.json` `files` only ships `dist/`, `bin/`, `postinstall.mjs`). They are sibling packages with their own publication / deployment targets. ## ROLE MAP @@ -12,7 +12,7 @@ |------|-------|----------| | **Platform binaries** | 11 | One per (OS × arch × variant). Uniform layout: `bin/` + `package.json` only. Selected at install time by `bin/` shim + `postinstall.mjs`. | | **MCP packages** | 2 | `lsp-tools-mcp` (git submodule), `ast-grep-mcp` | -| **Core packages** | 7 | `utils`, `model-core`, `rules-engine` (was `rules-core`), `agents-md-core`, `ast-grep-core`, `comment-checker-core`, `boulder-state` | +| **Core packages** | 9 | `utils`, `model-core`, `prompts-core`, `rules-engine` (was `rules-core`), `agents-md-core`, `ast-grep-core`, `comment-checker-core`, `hashline-core`, `boulder-state` | | **Web** | 1 | `web` | ## PLATFORM BINARIES (11) @@ -36,10 +36,12 @@ Each contains only a `bin/` and a `package.json`. Built by [`script/buil |---------|--------|---------| | `utils/` | `src/`, `tsconfig.json` | Shared utilities: deep-merge, snake-case, frontmatter, file-utils, etc. | | `model-core/` | `src/`, `tsconfig.json` | Model resolution pipeline with ProviderCache dependency injection. | +| `prompts-core/` | `src/`, `prompts/`, `test/`, `tsconfig.json` | Harness-neutral markdown prompt loading, model-variant routing, and bundled mode prompts for search/analyze/team/hyperplan. | | `rules-engine/` | `src/`, `tsconfig.json` | Rule discovery + matching engine (renamed from `rules-core`). | | `agents-md-core/` | `src/`, `tsconfig.json` | AGENTS.md walk-up discovery and injection logic. | | `ast-grep-core/` | `src/`, `tsconfig.json` | ast-grep types, pattern-hints, and runner core with injectable spawn. | | `comment-checker-core/` | `src/`, `tsconfig.json` | apply-patch parser and binary runner with injectable spawn. | +| `hashline-core/` | `src/`, `tsconfig.json` | Hashline edit primitives and diff helpers shared by adapter shims. | | `boulder-state/` | `src/`, `tsconfig.json` | Work tracking state machine with split storage. | ## WEB