oh-my-opencode 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ko.md CHANGED
@@ -19,7 +19,7 @@
19
19
  [![GitHub Issues](https://img.shields.io/github/issues/code-yeongyu/oh-my-opencode?color=ff80eb&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/issues)
20
20
  [![License](https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE)
21
21
 
22
- [English](README.md) | [한국어](README.ko.md)
22
+ [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md)
23
23
 
24
24
  </div>
25
25
 
@@ -263,7 +263,7 @@ opencode auth login
263
263
 
264
264
  - **OmO** (`anthropic/claude-opus-4-5`): **기본 에이전트입니다.** OpenCode를 위한 강력한 AI 오케스트레이터입니다. 전문 서브에이전트를 활용하여 복잡한 작업을 계획, 위임, 실행합니다. 백그라운드 태스크 위임과 todo 기반 워크플로우를 강조합니다. 최대 추론 능력을 위해 Claude Opus 4.5와 확장된 사고(32k 버짓)를 사용합니다.
265
265
  - **oracle** (`openai/gpt-5.2`): 아키텍처, 코드 리뷰, 전략 수립을 위한 전문가 조언자. GPT-5.2의 뛰어난 논리적 추론과 깊은 분석 능력을 활용합니다. AmpCode 에서 영감을 받았습니다.
266
- - **librarian** (`opencode/big-pickle`): 멀티 레포 분석, 문서 조회, 구현 예제 담당. OpenCode Zen을 통해 GLM-4.6(big-pickle)을 사용합니다—무료이고 빠르며 문서 조사에 탁월합니다. AmpCode 에서 영감을 받았습니다.
266
+ - **librarian** (`anthropic/claude-sonnet-4-5`): 멀티 레포 분석, 문서 조회, 구현 예제 담당. Claude Sonnet 4.5를 사용하여 깊은 코드베이스 이해와 GitHub 조사, 근거 기반의 답변을 제공합니다. AmpCode 에서 영감을 받았습니다.
267
267
  - **explore** (`opencode/grok-code`): 빠른 코드베이스 탐색, 파일 패턴 매칭. Claude Code는 Haiku를 쓰지만, 우리는 Grok을 씁니다. 현재 무료이고, 극도로 빠르며, 파일 탐색 작업에 충분한 지능을 갖췄기 때문입니다. Claude Code 에서 영감을 받았습니다.
268
268
  - **frontend-ui-ux-engineer** (`google/gemini-3-pro-preview`): 개발자로 전향한 디자이너라는 설정을 갖고 있습니다. 멋진 UI를 만듭니다. 아름답고 창의적인 UI 코드를 생성하는 데 탁월한 Gemini를 사용합니다.
269
269
  - **document-writer** (`google/gemini-3-pro-preview`): 기술 문서 전문가라는 설정을 갖고 있습니다. Gemini 는 문학가입니다. 글을 기가막히게 씁니다.
@@ -608,7 +608,7 @@ OmO를 비활성화하고 원래 build/plan 에이전트를 복원하려면:
608
608
  }
609
609
  ```
610
610
 
611
- 사용 가능한 훅: `todo-continuation-enforcer`, `context-window-monitor`, `session-recovery`, `session-notification`, `comment-checker`, `grep-output-truncator`, `tool-output-truncator`, `directory-agents-injector`, `directory-readme-injector`, `empty-task-response-detector`, `think-mode`, `anthropic-auto-compact`, `rules-injector`, `background-notification`, `auto-update-checker`, `startup-toast`, `keyword-detector`, `agent-usage-reminder`, `non-interactive-env`
611
+ 사용 가능한 훅: `todo-continuation-enforcer`, `context-window-monitor`, `session-recovery`, `session-notification`, `comment-checker`, `grep-output-truncator`, `tool-output-truncator`, `directory-agents-injector`, `directory-readme-injector`, `empty-task-response-detector`, `think-mode`, `anthropic-auto-compact`, `rules-injector`, `background-notification`, `auto-update-checker`, `startup-toast`, `keyword-detector`, `agent-usage-reminder`, `non-interactive-env`, `interactive-bash-session`
612
612
 
613
613
  ### MCPs
614
614
 
package/README.md CHANGED
@@ -20,7 +20,7 @@
20
20
  [![GitHub Issues](https://img.shields.io/github/issues/code-yeongyu/oh-my-opencode?color=ff80eb&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/issues)
21
21
  [![License](https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE)
22
22
 
23
- [English](README.md) | [한국어](README.ko.md)
23
+ [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md)
24
24
 
25
25
  </div>
26
26
 
@@ -264,7 +264,7 @@ The plugin works perfectly with defaults. Aside from the recommended `google_aut
264
264
 
265
265
  - **OmO** (`anthropic/claude-opus-4-5`): **The default agent.** A powerful AI orchestrator for OpenCode. Plans, delegates, and executes complex tasks using specialized subagents with aggressive parallel execution. Emphasizes background task delegation and todo-driven workflow. Uses Claude Opus 4.5 with extended thinking (32k budget) for maximum reasoning capability.
266
266
  - **oracle** (`openai/gpt-5.2`): Architecture, code review, strategy. Uses GPT-5.2 for its stellar logical reasoning and deep analysis. Inspired by AmpCode.
267
- - **librarian** (`opencode/big-pickle`): Multi-repo analysis, doc lookup, implementation examples. Uses GLM-4.6 (big-pickle) via OpenCode Zen—free, fast, and excellent for documentation research. Inspired by AmpCode.
267
+ - **librarian** (`anthropic/claude-sonnet-4-5`): Multi-repo analysis, doc lookup, implementation examples. Uses Claude Sonnet 4.5 for deep codebase understanding and GitHub research with evidence-based answers. Inspired by AmpCode.
268
268
  - **explore** (`opencode/grok-code`): Fast codebase exploration and pattern matching. Claude Code uses Haiku; we use Grok—it's free, blazing fast, and plenty smart for file traversal. Inspired by Claude Code.
269
269
  - **frontend-ui-ux-engineer** (`google/gemini-3-pro-preview`): A designer turned developer. Builds gorgeous UIs. Gemini excels at creative, beautiful UI code.
270
270
  - **document-writer** (`google/gemini-3-pro-preview`): Technical writing expert. Gemini is a wordsmith—writes prose that flows.
@@ -609,7 +609,7 @@ Disable specific built-in hooks via `disabled_hooks` in `~/.config/opencode/oh-m
609
609
  }
610
610
  ```
611
611
 
612
- Available hooks: `todo-continuation-enforcer`, `context-window-monitor`, `session-recovery`, `session-notification`, `comment-checker`, `grep-output-truncator`, `tool-output-truncator`, `directory-agents-injector`, `directory-readme-injector`, `empty-task-response-detector`, `think-mode`, `anthropic-auto-compact`, `rules-injector`, `background-notification`, `auto-update-checker`, `startup-toast`, `keyword-detector`, `agent-usage-reminder`, `non-interactive-env`
612
+ Available hooks: `todo-continuation-enforcer`, `context-window-monitor`, `session-recovery`, `session-notification`, `comment-checker`, `grep-output-truncator`, `tool-output-truncator`, `directory-agents-injector`, `directory-readme-injector`, `empty-task-response-detector`, `think-mode`, `anthropic-auto-compact`, `rules-injector`, `background-notification`, `auto-update-checker`, `startup-toast`, `keyword-detector`, `agent-usage-reminder`, `non-interactive-env`, `interactive-bash-session`
613
613
 
614
614
  ### MCPs
615
615
 
@@ -22,6 +22,7 @@ export declare class BackgroundManager {
22
22
  getTask(id: string): BackgroundTask | undefined;
23
23
  getTasksByParentSession(sessionID: string): BackgroundTask[];
24
24
  findBySession(sessionID: string): BackgroundTask | undefined;
25
+ private checkSessionTodos;
25
26
  handleEvent(event: Event): void;
26
27
  markForNotification(task: BackgroundTask): void;
27
28
  getPendingNotifications(sessionID: string): BackgroundTask[];
@@ -7,6 +7,6 @@ export declare function createAnthropicAutoCompactHook(ctx: PluginInput): {
7
7
  };
8
8
  }) => Promise<void>;
9
9
  };
10
- export type { AutoCompactState, ParsedTokenLimitError } from "./types";
10
+ export type { AutoCompactState, FallbackState, ParsedTokenLimitError } from "./types";
11
11
  export { parseAnthropicTokenLimitError } from "./parser";
12
12
  export { executeCompact, getLastAssistant } from "./executor";
@@ -10,14 +10,23 @@ export interface RetryState {
10
10
  attempt: number;
11
11
  lastAttemptTime: number;
12
12
  }
13
+ export interface FallbackState {
14
+ revertAttempt: number;
15
+ lastRevertedMessageID?: string;
16
+ }
13
17
  export interface AutoCompactState {
14
18
  pendingCompact: Set<string>;
15
19
  errorDataBySession: Map<string, ParsedTokenLimitError>;
16
20
  retryStateBySession: Map<string, RetryState>;
21
+ fallbackStateBySession: Map<string, FallbackState>;
17
22
  }
18
23
  export declare const RETRY_CONFIG: {
19
- readonly maxAttempts: 5;
24
+ readonly maxAttempts: 2;
20
25
  readonly initialDelayMs: 2000;
21
26
  readonly backoffFactor: 2;
22
27
  readonly maxDelayMs: 30000;
23
28
  };
29
+ export declare const FALLBACK_CONFIG: {
30
+ readonly maxRevertAttempts: 3;
31
+ readonly minMessagesRequired: 2;
32
+ };