internal/

directory
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2026 License: MIT

Directories

Path Synopsis
adapters
devin
Package devin adapts openPE to the Devin CLI's UserPromptSubmit hook.
Package devin adapts openPE to the Devin CLI's UserPromptSubmit hook.
hookdedup
Package hookdedup provides cross-adapter single-flight de-duplication for openPE hook runs.
Package hookdedup provides cross-adapter single-flight de-duplication for openPE hook runs.
context
devinhistory
Package devinhistory reads the current Devin CLI session from its local SQLite store to populate enhancer.Request.History, giving the Devin hook the same context-aware enhancement Codex and Claude Code already have.
Package devinhistory reads the current Devin CLI session from its local SQLite store to populate enhancer.Request.History, giving the Devin hook the same context-aware enhancement Codex and Claude Code already have.
devinsession
Package devinsession discovers the identity of the Devin CLI session a hook subprocess belongs to, by walking the process ancestry and looking for the session lock file the devin process holds open.
Package devinsession discovers the identity of the Devin CLI session a hook subprocess belongs to, by walking the process ancestry and looking for the session lock file the devin process holds open.
histstatus
Package histstatus defines the shared outcome status for session-history collectors (codexhistory, claudetranscript, devinhistory).
Package histstatus defines the shared outcome status for session-history collectors (codexhistory, claudetranscript, devinhistory).
Package fsatomic provides atomic file replacement and cross-process locking for state that multiple processes read, write, and clean up concurrently: delivery caches, user hook configs, server descriptors.
Package fsatomic provides atomic file replacement and cross-process locking for state that multiple processes read, write, and clean up concurrently: delivery caches, user hook configs, server descriptors.
Package i18n provides shared language detection utilities for openPE adapters, the CLI, and the HTTP server.
Package i18n provides shared language detection utilities for openPE adapters, the CLI, and the HTTP server.
Package integration defines the contract between openPE's local HTTP server and third-party IDE patch installers (Windsurf, Cursor, VS Code Composer, ...).
Package integration defines the contract between openPE's local HTTP server and third-party IDE patch installers (Windsurf, Cursor, VS Code Composer, ...).
Package providers selects the wire protocol for the enhancer's model provider.
Package providers selects the wire protocol for the enhancer's model provider.
anthropic
Package anthropic implements enhancer.Provider against the Anthropic Messages API (POST /v1/messages), for gateways that only speak Anthropic's protocol rather than the OpenAI /v1/chat/completions schema.
Package anthropic implements enhancer.Provider against the Anthropic Messages API (POST /v1/messages), for gateways that only speak Anthropic's protocol rather than the OpenAI /v1/chat/completions schema.
useragent
Package useragent centralizes the HTTP User-Agent openPE presents to model gateways.
Package useragent centralizes the HTTP User-Agent openPE presents to model gateways.
Package specs 实现"显式点名加载用户自定义 prompt 规范"的加载与追加层。
Package specs 实现"显式点名加载用户自定义 prompt 规范"的加载与追加层。
Package update 实现 openpe 的新版本检查与升级支撑(业务契约 docs/requirements/2026-08-25-version-and-update.md 方案 U):
Package update 实现 openpe 的新版本检查与升级支撑(业务契约 docs/requirements/2026-08-25-version-and-update.md 方案 U):
Package version 是 openpe 与 openpe-server 共享的唯一版本事实源。
Package version 是 openpe 与 openpe-server 共享的唯一版本事实源。
Package wiring assembles the enhancer service from runtime config.
Package wiring assembles the enhancer service from runtime config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL