evil-omo 3.11.2 → 3.11.4

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.
@@ -19,8 +19,8 @@ export declare function getOpenCodeStorageDir(): string;
19
19
  */
20
20
  export declare function getCacheDir(): string;
21
21
  /**
22
- * Returns the oh-my-opencode cache directory.
23
- * All platforms: ~/.cache/oh-my-opencode
22
+ * Returns the evil-omo cache directory.
23
+ * All platforms: ~/.cache/evil-omo
24
24
  */
25
25
  export declare function getOmoOpenCodeCacheDir(): string;
26
26
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Detects external plugins that may conflict with oh-my-opencode features.
2
+ * Detects external plugins that may conflict with evil-omo features.
3
3
  * Used to prevent crashes from concurrent notification plugins.
4
4
  */
5
5
  export interface ExternalNotifierResult {
@@ -1,4 +1,19 @@
1
- export declare const PLUGIN_NAME = "oh-my-opencode";
2
- export declare const CONFIG_BASENAME = "oh-my-opencode";
3
- export declare const LOG_FILENAME = "oh-my-opencode.log";
4
- export declare const CACHE_DIR_NAME = "oh-my-opencode";
1
+ export declare const PLUGIN_NAME = "evil-omo";
2
+ export declare const ALL_PLUGIN_NAMES: readonly ["evil-omo"];
3
+ export declare const CONFIG_BASENAME = "evil-omo";
4
+ export declare const ALL_CONFIG_BASENAMES: readonly ["evil-omo"];
5
+ export declare const LOG_FILENAME = "evil-omo.log";
6
+ export declare const CACHE_DIR_NAME = "evil-omo";
7
+ export declare const CLI_BINARY_NAME = "evil-omo";
8
+ export declare const PLATFORM_PACKAGE_PREFIX = "evil-omo";
9
+ export declare const SCHEMA_FILENAME = "evil-omo.schema.json";
10
+ export declare function isManagedPluginEntry(entry: string): boolean;
11
+ export declare function findManagedPluginEntry(plugins: string[]): {
12
+ index: number;
13
+ packageName: string;
14
+ } | null;
15
+ export declare function detectManagedConfigFile(directory: string): {
16
+ format: "json" | "jsonc" | "none";
17
+ path: string;
18
+ baseName: string;
19
+ };
@@ -1,18 +1,18 @@
1
1
  /**
2
- * Unified system directive prefix for oh-my-opencode internal messages.
2
+ * Unified system directive prefix for evil-omo internal messages.
3
3
  * All system-generated messages should use this prefix for consistent filtering.
4
4
  *
5
- * Format: [SYSTEM DIRECTIVE: OH-MY-OPENCODE - {TYPE}]
5
+ * Format: [SYSTEM DIRECTIVE: EVIL-OMO - {TYPE}]
6
6
  */
7
- export declare const SYSTEM_DIRECTIVE_PREFIX = "[SYSTEM DIRECTIVE: OH-MY-OPENCODE";
7
+ export declare const SYSTEM_DIRECTIVE_PREFIX = "[SYSTEM DIRECTIVE: EVIL-OMO";
8
8
  /**
9
9
  * Creates a system directive header with the given type.
10
10
  * @param type - The directive type (e.g., "TODO CONTINUATION", "RALPH LOOP")
11
- * @returns Formatted directive string like "[SYSTEM DIRECTIVE: OH-MY-OPENCODE - TODO CONTINUATION]"
11
+ * @returns Formatted directive string like "[SYSTEM DIRECTIVE: EVIL-OMO - TODO CONTINUATION]"
12
12
  */
13
13
  export declare function createSystemDirective(type: string): string;
14
14
  /**
15
- * Checks if a message starts with the oh-my-opencode system directive prefix.
15
+ * Checks if a message starts with the evil-omo system directive prefix.
16
16
  * Used by keyword-detector and other hooks to skip system-generated messages.
17
17
  * @param text - The message text to check
18
18
  * @returns true if the message is a system directive
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "evil-omo",
3
- "version": "3.11.2",
3
+ "version": "3.11.4",
4
4
  "description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
8
8
  "bin": {
9
- "evil-omo": "bin/oh-my-opencode.js"
9
+ "evil-omo": "bin/evil-omo.js"
10
10
  },
11
11
  "files": [
12
12
  "dist",
@@ -18,7 +18,7 @@
18
18
  "types": "./dist/index.d.ts",
19
19
  "import": "./dist/index.js"
20
20
  },
21
- "./schema.json": "./dist/oh-my-opencode.schema.json"
21
+ "./schema.json": "./dist/evil-omo.schema.json"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
@@ -41,7 +41,7 @@
41
41
  "ai",
42
42
  "llm"
43
43
  ],
44
- "author": "YeonGyu-Kim",
44
+ "author": "D4ch1au",
45
45
  "license": "SUL-1.0",
46
46
  "repository": {
47
47
  "type": "git",
@@ -76,17 +76,17 @@
76
76
  "typescript": "^5.7.3"
77
77
  },
78
78
  "optionalDependencies": {
79
- "oh-my-opencode-darwin-arm64": "3.11.0",
80
- "oh-my-opencode-darwin-x64": "3.11.0",
81
- "oh-my-opencode-darwin-x64-baseline": "3.11.0",
82
- "oh-my-opencode-linux-arm64": "3.11.0",
83
- "oh-my-opencode-linux-arm64-musl": "3.11.0",
84
- "oh-my-opencode-linux-x64": "3.11.0",
85
- "oh-my-opencode-linux-x64-baseline": "3.11.0",
86
- "oh-my-opencode-linux-x64-musl": "3.11.0",
87
- "oh-my-opencode-linux-x64-musl-baseline": "3.11.0",
88
- "oh-my-opencode-windows-x64": "3.11.0",
89
- "oh-my-opencode-windows-x64-baseline": "3.11.0"
79
+ "evil-omo-darwin-arm64": "3.11.4",
80
+ "evil-omo-darwin-x64": "3.11.4",
81
+ "evil-omo-darwin-x64-baseline": "3.11.4",
82
+ "evil-omo-linux-x64": "3.11.4",
83
+ "evil-omo-linux-x64-baseline": "3.11.4",
84
+ "evil-omo-linux-arm64": "3.11.4",
85
+ "evil-omo-linux-x64-musl": "3.11.4",
86
+ "evil-omo-linux-x64-musl-baseline": "3.11.4",
87
+ "evil-omo-linux-arm64-musl": "3.11.4",
88
+ "evil-omo-windows-x64": "3.11.4",
89
+ "evil-omo-windows-x64-baseline": "3.11.4"
90
90
  },
91
91
  "overrides": {
92
92
  "@opencode-ai/sdk": "^1.2.24"
package/postinstall.mjs CHANGED
@@ -5,6 +5,7 @@ import { createRequire } from "node:module";
5
5
  import { getPlatformPackageCandidates, getBinaryPath } from "./bin/platform.js";
6
6
 
7
7
  const require = createRequire(import.meta.url);
8
+ const PLUGIN_NAME = "evil-omo";
8
9
 
9
10
  /**
10
11
  * Detect libc family on Linux
@@ -48,9 +49,9 @@ function main() {
48
49
  );
49
50
  }
50
51
 
51
- console.log(`✓ oh-my-opencode binary installed for ${platform}-${arch} (${resolvedPackage})`);
52
+ console.log(`✓ ${PLUGIN_NAME} binary installed for ${platform}-${arch} (${resolvedPackage})`);
52
53
  } catch (error) {
53
- console.warn(`⚠ oh-my-opencode: ${error.message}`);
54
+ console.warn(`⚠ ${PLUGIN_NAME}: ${error.message}`);
54
55
  console.warn(` The CLI may not work on this platform.`);
55
56
  // Don't fail installation - let user try anyway
56
57
  }