evil-omo 3.15.2 → 3.15.3

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.
@@ -14,4 +14,5 @@ export declare function createToolRegistry(args: {
14
14
  managers: Pick<Managers, "backgroundManager" | "tmuxSessionManager" | "skillMcpManager">;
15
15
  skillContext: SkillContext;
16
16
  availableCategories: AvailableCategory[];
17
+ interactiveBashEnabled?: boolean;
17
18
  }): ToolRegistryResult;
@@ -23,3 +23,4 @@ export declare function getAgentConfigKey(agentName: string): string;
23
23
  * - Unknown/custom names -> preserved as-is (trimmed)
24
24
  */
25
25
  export declare function normalizeAgentForPrompt(agentName: string | undefined): string | undefined;
26
+ export declare function normalizeAgentForPromptKey(agentName: string | undefined): string | undefined;
@@ -1,18 +1,18 @@
1
1
  /**
2
- * Unified system directive prefix for omo-plugin 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: OMO-PLUGIN - {TYPE}]
5
+ * Format: [SYSTEM DIRECTIVE: OH-MY-OPENCODE - {TYPE}]
6
6
  */
7
- export declare const SYSTEM_DIRECTIVE_PREFIX = "[SYSTEM DIRECTIVE: OMO-PLUGIN";
7
+ export declare const SYSTEM_DIRECTIVE_PREFIX = "[SYSTEM DIRECTIVE: OH-MY-OPENCODE";
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: OMO-PLUGIN - TODO CONTINUATION]"
11
+ * @returns Formatted directive string like "[SYSTEM DIRECTIVE: OH-MY-OPENCODE - TODO CONTINUATION]"
12
12
  */
13
13
  export declare function createSystemDirective(type: string): string;
14
14
  /**
15
- * Checks if a message starts with the omo-plugin 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
@@ -0,0 +1,2 @@
1
+ import type { ToolContextWithMetadata } from "./types";
2
+ export declare function resolveCallID(ctx: ToolContextWithMetadata): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evil-omo",
3
- "version": "3.15.2",
3
+ "version": "3.15.3",
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",
@@ -78,17 +78,17 @@
78
78
  "typescript": "^5.7.3"
79
79
  },
80
80
  "optionalDependencies": {
81
- "evil-omo-darwin-arm64": "3.15.2",
82
- "evil-omo-darwin-x64": "3.15.2",
83
- "evil-omo-darwin-x64-baseline": "3.15.2",
84
- "evil-omo-linux-x64": "3.15.2",
85
- "evil-omo-linux-x64-baseline": "3.15.2",
86
- "evil-omo-linux-arm64": "3.15.2",
87
- "evil-omo-linux-x64-musl": "3.15.2",
88
- "evil-omo-linux-x64-musl-baseline": "3.15.2",
89
- "evil-omo-linux-arm64-musl": "3.15.2",
90
- "evil-omo-windows-x64": "3.15.2",
91
- "evil-omo-windows-x64-baseline": "3.15.2"
81
+ "evil-omo-darwin-arm64": "3.15.3",
82
+ "evil-omo-darwin-x64": "3.15.3",
83
+ "evil-omo-darwin-x64-baseline": "3.15.3",
84
+ "evil-omo-linux-x64": "3.15.3",
85
+ "evil-omo-linux-x64-baseline": "3.15.3",
86
+ "evil-omo-linux-arm64": "3.15.3",
87
+ "evil-omo-linux-x64-musl": "3.15.3",
88
+ "evil-omo-linux-x64-musl-baseline": "3.15.3",
89
+ "evil-omo-linux-arm64-musl": "3.15.3",
90
+ "evil-omo-windows-x64": "3.15.3",
91
+ "evil-omo-windows-x64-baseline": "3.15.3"
92
92
  },
93
93
  "overrides": {
94
94
  "@opencode-ai/sdk": "^1.2.24"
package/postinstall.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  // postinstall.mjs
2
2
  // Runs after npm install to verify platform binary is available
3
3
 
4
+ import { readFileSync } from "node:fs";
4
5
  import { createRequire } from "node:module";
5
6
  import { getPlatformPackageCandidates, getBinaryPath } from "./bin/platform.js";
6
7
 
7
8
  const require = createRequire(import.meta.url);
8
- const PLUGIN_NAME = "evil-omo";
9
9
 
10
10
  /**
11
11
  * Detect libc family on Linux
@@ -23,15 +23,26 @@ function getLibcFamily() {
23
23
  }
24
24
  }
25
25
 
26
+ function getPackageBaseName() {
27
+ try {
28
+ const packageJson = JSON.parse(readFileSync(new URL("./package.json", import.meta.url), "utf8"));
29
+ return packageJson.name || "evil-omo";
30
+ } catch {
31
+ return "evil-omo";
32
+ }
33
+ }
34
+
26
35
  function main() {
27
36
  const { platform, arch } = process;
28
37
  const libcFamily = getLibcFamily();
38
+ const packageBaseName = getPackageBaseName();
29
39
 
30
40
  try {
31
41
  const packageCandidates = getPlatformPackageCandidates({
32
42
  platform,
33
43
  arch,
34
44
  libcFamily,
45
+ packageBaseName,
35
46
  });
36
47
 
37
48
  const resolvedPackage = packageCandidates.find((pkg) => {
@@ -49,9 +60,9 @@ function main() {
49
60
  );
50
61
  }
51
62
 
52
- console.log(`✓ ${PLUGIN_NAME} binary installed for ${platform}-${arch} (${resolvedPackage})`);
63
+ console.log(`✓ evil-omo binary installed for ${platform}-${arch} (${resolvedPackage})`);
53
64
  } catch (error) {
54
- console.warn(`⚠ ${PLUGIN_NAME}: ${error.message}`);
65
+ console.warn(`⚠ evil-omo: ${error.message}`);
55
66
  console.warn(` The CLI may not work on this platform.`);
56
67
  // Don't fail installation - let user try anyway
57
68
  }