oh-my-opencode 3.8.0 → 3.8.1

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.
@@ -28,4 +28,5 @@ export declare function buildCategorySkillsDelegationGuide(categories: Available
28
28
  export declare function buildOracleSection(agents: AvailableAgent[]): string;
29
29
  export declare function buildHardBlocksSection(): string;
30
30
  export declare function buildAntiPatternsSection(): string;
31
+ export declare function buildDeepParallelSection(model: string, categories: AvailableCategory[]): string;
31
32
  export declare function buildUltraworkSection(agents: AvailableAgent[], categories: AvailableCategory[], skills: AvailableSkill[]): string;
package/dist/cli/index.js CHANGED
@@ -9248,7 +9248,7 @@ var {
9248
9248
  // package.json
9249
9249
  var package_default = {
9250
9250
  name: "oh-my-opencode",
9251
- version: "3.8.0",
9251
+ version: "3.8.1",
9252
9252
  description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
9253
9253
  main: "dist/index.js",
9254
9254
  types: "dist/index.d.ts",
@@ -9322,13 +9322,13 @@ var package_default = {
9322
9322
  typescript: "^5.7.3"
9323
9323
  },
9324
9324
  optionalDependencies: {
9325
- "oh-my-opencode-darwin-arm64": "3.8.0",
9326
- "oh-my-opencode-darwin-x64": "3.8.0",
9327
- "oh-my-opencode-linux-arm64": "3.8.0",
9328
- "oh-my-opencode-linux-arm64-musl": "3.8.0",
9329
- "oh-my-opencode-linux-x64": "3.8.0",
9330
- "oh-my-opencode-linux-x64-musl": "3.8.0",
9331
- "oh-my-opencode-windows-x64": "3.8.0"
9325
+ "oh-my-opencode-darwin-arm64": "3.8.1",
9326
+ "oh-my-opencode-darwin-x64": "3.8.1",
9327
+ "oh-my-opencode-linux-arm64": "3.8.1",
9328
+ "oh-my-opencode-linux-arm64-musl": "3.8.1",
9329
+ "oh-my-opencode-linux-x64": "3.8.1",
9330
+ "oh-my-opencode-linux-x64-musl": "3.8.1",
9331
+ "oh-my-opencode-windows-x64": "3.8.1"
9332
9332
  },
9333
9333
  trustedDependencies: [
9334
9334
  "@ast-grep/cli",
@@ -31,9 +31,9 @@ export declare const CategoryConfigSchema: z.ZodObject<{
31
31
  disable: z.ZodOptional<z.ZodBoolean>;
32
32
  }, z.core.$strip>;
33
33
  export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
34
+ deep: "deep";
34
35
  "visual-engineering": "visual-engineering";
35
36
  ultrabrain: "ultrabrain";
36
- deep: "deep";
37
37
  artistry: "artistry";
38
38
  quick: "quick";
39
39
  "unspecified-low": "unspecified-low";
@@ -0,0 +1,3 @@
1
+ import type { StoredMessage } from "../hook-message-injector";
2
+ export declare function isCompactionAgent(agent: string | undefined): boolean;
3
+ export declare function findNearestMessageExcludingCompaction(messageDir: string): StoredMessage | null;
@@ -1,2 +1,10 @@
1
+ export declare function isRecord(value: unknown): value is Record<string, unknown>;
1
2
  export declare function isAbortedSessionError(error: unknown): boolean;
2
3
  export declare function getErrorText(error: unknown): string;
4
+ export declare function extractErrorName(error: unknown): string | undefined;
5
+ export declare function extractErrorMessage(error: unknown): string | undefined;
6
+ interface EventPropertiesLike {
7
+ [key: string]: unknown;
8
+ }
9
+ export declare function getSessionErrorMessage(properties: EventPropertiesLike): string | undefined;
10
+ export {};
@@ -0,0 +1,16 @@
1
+ import type { BackgroundTask } from "./types";
2
+ import type { ConcurrencyManager } from "./concurrency";
3
+ import type { OpencodeClient, QueueItem } from "./constants";
4
+ export declare function tryFallbackRetry(args: {
5
+ task: BackgroundTask;
6
+ errorInfo: {
7
+ name?: string;
8
+ message?: string;
9
+ };
10
+ source: string;
11
+ concurrencyManager: ConcurrencyManager;
12
+ client: OpencodeClient;
13
+ idleDeferralTimers: Map<string, ReturnType<typeof setTimeout>>;
14
+ queuesByKey: Map<string, QueueItem[]>;
15
+ processKey: (key: string) => void;
16
+ }): boolean;
@@ -20,9 +20,6 @@ export interface SubagentSessionCreatedEvent {
20
20
  }
21
21
  export type OnSubagentSessionCreated = (event: SubagentSessionCreatedEvent) => Promise<void>;
22
22
  export declare class BackgroundManager {
23
- private static cleanupManagers;
24
- private static cleanupRegistered;
25
- private static cleanupHandlers;
26
23
  private tasks;
27
24
  private notifications;
28
25
  private pendingByParent;
@@ -119,11 +116,6 @@ export declare class BackgroundManager {
119
116
  private notifyParentSession;
120
117
  private formatDuration;
121
118
  private isAbortedSessionError;
122
- private getErrorText;
123
- private extractErrorName;
124
- private extractErrorMessage;
125
- private isRecord;
126
- private getSessionErrorMessage;
127
119
  private hasRunningTasks;
128
120
  private pruneStaleTasksAndNotifications;
129
121
  private checkAndInterruptStaleTasks;
@@ -0,0 +1,8 @@
1
+ interface CleanupTarget {
2
+ shutdown(): void;
3
+ }
4
+ export declare function registerManagerForCleanup(manager: CleanupTarget): void;
5
+ export declare function unregisterManagerForCleanup(manager: CleanupTarget): void;
6
+ /** @internal — test-only reset for module-level singleton state */
7
+ export declare function _resetForTesting(): void;
8
+ export {};