oh-my-opencode 0.1.32 → 0.3.0

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.
@@ -0,0 +1,2 @@
1
+ import type { ClaudeHookEvent, PluginConfig } from "../hooks/claude-code-hooks/types";
2
+ export declare function isHookDisabled(config: PluginConfig, hookType: ClaudeHookEvent): boolean;
@@ -3,3 +3,7 @@ export * from "./command-executor";
3
3
  export * from "./file-reference-resolver";
4
4
  export * from "./model-sanitizer";
5
5
  export * from "./logger";
6
+ export * from "./snake-case";
7
+ export * from "./tool-name";
8
+ export * from "./pattern-matcher";
9
+ export * from "./hook-disabled";
@@ -0,0 +1,3 @@
1
+ import type { ClaudeHooksConfig, HookMatcher } from "../hooks/claude-code-hooks/types";
2
+ export declare function matchesToolMatcher(toolName: string, matcher: string): boolean;
3
+ export declare function findMatchingHooks(config: ClaudeHooksConfig, eventName: keyof ClaudeHooksConfig, toolName?: string): HookMatcher[];
@@ -0,0 +1,4 @@
1
+ export declare function camelToSnake(str: string): string;
2
+ export declare function snakeToCamel(str: string): string;
3
+ export declare function objectToSnakeCase(obj: Record<string, unknown>, deep?: boolean): Record<string, unknown>;
4
+ export declare function objectToCamelCase(obj: Record<string, unknown>, deep?: boolean): Record<string, unknown>;
@@ -0,0 +1 @@
1
+ export declare function transformToolName(toolName: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "0.1.32",
3
+ "version": "0.3.0",
4
4
  "description": "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",