oh-my-opencode 3.15.0 → 3.15.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/dist/agents/hephaestus/gpt-5-4.d.ts +22 -1
- package/dist/cli/index.js +182 -116
- package/dist/create-runtime-tmux-config.d.ts +1 -0
- package/dist/features/background-agent/spawner.d.ts +3 -0
- package/dist/features/claude-code-plugin-loader/discovery.d.ts +2 -1
- package/dist/features/claude-code-plugin-loader/loader.d.ts +1 -0
- package/dist/features/claude-code-plugin-loader/types.d.ts +10 -0
- package/dist/hooks/auto-update-checker/checker/sync-package-json.d.ts +1 -1
- package/dist/hooks/auto-update-checker/constants.d.ts +6 -5
- package/dist/hooks/todo-continuation-enforcer/session-state.d.ts +4 -3
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +3 -0
- package/dist/index.js +680 -516
- package/dist/plugin/tool-registry.d.ts +1 -0
- package/package.json +12 -12
|
@@ -4,6 +4,7 @@ export declare function isTmuxIntegrationEnabled(pluginConfig: {
|
|
|
4
4
|
enabled?: boolean;
|
|
5
5
|
} | undefined;
|
|
6
6
|
}): boolean;
|
|
7
|
+
export declare function isInteractiveBashEnabled(which?: (binary: string) => string | null): boolean;
|
|
7
8
|
export declare function createRuntimeTmuxConfig(pluginConfig: {
|
|
8
9
|
tmux?: OhMyOpenCodeConfig["tmux"];
|
|
9
10
|
}): TmuxConfig;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { BackgroundTask, LaunchInput, ResumeInput } from "./types";
|
|
2
2
|
import type { OpencodeClient, OnSubagentSessionCreated, QueueItem } from "./constants";
|
|
3
3
|
import type { ConcurrencyManager } from "./concurrency";
|
|
4
|
+
export declare const FALLBACK_AGENT = "general";
|
|
5
|
+
export declare function isAgentNotFoundError(error: unknown): boolean;
|
|
6
|
+
export declare function buildFallbackBody(originalBody: Record<string, unknown>, fallbackAgent: string): Record<string, unknown>;
|
|
4
7
|
export interface SpawnerContext {
|
|
5
8
|
client: OpencodeClient;
|
|
6
9
|
directory: string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import type { PluginLoadResult, PluginLoaderOptions } from "./types";
|
|
1
|
+
import type { PluginManifest, PluginLoadResult, PluginLoaderOptions } from "./types";
|
|
2
|
+
export declare function loadPluginManifest(installPath: string): PluginManifest | null;
|
|
2
3
|
export declare function discoverInstalledPlugins(options?: PluginLoaderOptions): PluginLoadResult;
|
|
@@ -17,4 +17,5 @@ export interface PluginComponentsResult {
|
|
|
17
17
|
plugins: LoadedPlugin[];
|
|
18
18
|
errors: PluginLoadError[];
|
|
19
19
|
}
|
|
20
|
+
export declare function clearPluginComponentsCache(): void;
|
|
20
21
|
export declare function loadAllPluginComponents(options?: PluginLoaderOptions): Promise<PluginComponentsResult>;
|
|
@@ -204,6 +204,16 @@ export interface ClaudeSettings {
|
|
|
204
204
|
* Plugin loader options
|
|
205
205
|
*/
|
|
206
206
|
export interface PluginLoaderOptions {
|
|
207
|
+
/**
|
|
208
|
+
* Override the plugins home directory for testing.
|
|
209
|
+
* If not provided, uses CLAUDE_PLUGINS_HOME env var or ~/.claude/plugins
|
|
210
|
+
*/
|
|
211
|
+
pluginsHomeOverride?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Override plugin manifest loading for testing.
|
|
214
|
+
* Return null to force plugin name derivation from the plugin key.
|
|
215
|
+
*/
|
|
216
|
+
loadPluginManifestOverride?: (installPath: string) => PluginManifest | null;
|
|
207
217
|
/**
|
|
208
218
|
* Override enabled plugins from oh-my-opencode config.
|
|
209
219
|
* Key format: "pluginName@marketplace" (e.g., "shell-scripting@claude-code-workflows")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PluginEntryInfo } from "./plugin-entry";
|
|
2
2
|
export interface SyncResult {
|
|
3
3
|
synced: boolean;
|
|
4
|
-
error: "
|
|
4
|
+
error: "parse_error" | "write_error" | null;
|
|
5
5
|
message?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare function syncCachePackageJsonToIntent(pluginInfo: PluginEntryInfo): SyncResult;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export declare const PACKAGE_NAME = "oh-my-
|
|
2
|
-
export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/-/package/oh-my-
|
|
1
|
+
export declare const PACKAGE_NAME = "oh-my-openagent";
|
|
2
|
+
export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/-/package/oh-my-openagent/dist-tags";
|
|
3
3
|
export declare const NPM_FETCH_TIMEOUT = 5000;
|
|
4
|
+
export declare const CACHE_ROOT_DIR: string;
|
|
4
5
|
export declare const CACHE_DIR: string;
|
|
5
6
|
export declare const VERSION_FILE: string;
|
|
6
7
|
export declare function getWindowsAppdataDir(): string | null;
|
|
7
|
-
export declare
|
|
8
|
-
export declare
|
|
9
|
-
export declare
|
|
8
|
+
export declare function getUserConfigDir(): string;
|
|
9
|
+
export declare function getUserOpencodeConfig(): string;
|
|
10
|
+
export declare function getUserOpencodeConfigJsonc(): string;
|
|
10
11
|
export declare const INSTALLED_PACKAGE_JSON: string;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import type { SessionState, Todo } from "./types";
|
|
1
|
+
import type { ContinuationProgressOptions, SessionState, Todo } from "./types";
|
|
2
2
|
export interface ContinuationProgressUpdate {
|
|
3
3
|
previousIncompleteCount?: number;
|
|
4
4
|
previousStagnationCount: number;
|
|
5
5
|
stagnationCount: number;
|
|
6
6
|
hasProgressed: boolean;
|
|
7
|
-
progressSource: "none" | "todo";
|
|
7
|
+
progressSource: "none" | "todo" | "activity";
|
|
8
8
|
}
|
|
9
9
|
export interface SessionStateStore {
|
|
10
10
|
getState: (sessionID: string) => SessionState;
|
|
11
11
|
getExistingState: (sessionID: string) => SessionState | undefined;
|
|
12
|
-
|
|
12
|
+
recordActivity: (sessionID: string) => void;
|
|
13
|
+
trackContinuationProgress: (sessionID: string, incompleteCount: number, todos?: Todo[], options?: ContinuationProgressOptions) => ContinuationProgressUpdate;
|
|
13
14
|
resetContinuationProgress: (sessionID: string) => void;
|
|
14
15
|
cancelCountdown: (sessionID: string) => void;
|
|
15
16
|
cleanup: (sessionID: string) => void;
|