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.
- package/README.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +21 -2
- package/README.ru.md +2 -2
- package/README.zh-cn.md +1 -1
- package/bin/{oh-my-opencode.js → evil-omo.js} +8 -5
- package/bin/platform.js +11 -8
- package/bin/platform.test.ts +20 -20
- package/dist/cli/config-manager/config-context.d.ts +1 -0
- package/dist/cli/doctor/constants.d.ts +1 -1
- package/dist/cli/index.js +366 -304
- package/dist/config/schema.d.ts +1 -1
- package/dist/{oh-my-opencode.schema.json → evil-omo.schema.json} +2 -2
- package/dist/features/claude-code-plugin-loader/types.d.ts +1 -1
- package/dist/hooks/auto-update-checker/constants.d.ts +2 -2
- package/dist/hooks/comment-checker/downloader.d.ts +1 -1
- package/dist/index.js +15317 -15225
- package/dist/shared/data-path.d.ts +2 -2
- package/dist/shared/external-plugin-detector.d.ts +1 -1
- package/dist/shared/plugin-identity.d.ts +19 -4
- package/dist/shared/system-directive.d.ts +5 -5
- package/package.json +15 -15
- package/postinstall.mjs +3 -2
- /package/dist/config/schema/{oh-my-opencode-config.d.ts → evil-omo-config.d.ts} +0 -0
|
@@ -19,8 +19,8 @@ export declare function getOpenCodeStorageDir(): string;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare function getCacheDir(): string;
|
|
21
21
|
/**
|
|
22
|
-
* Returns the
|
|
23
|
-
* All platforms: ~/.cache/
|
|
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,4 +1,19 @@
|
|
|
1
|
-
export declare const PLUGIN_NAME = "
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
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
|
|
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:
|
|
5
|
+
* Format: [SYSTEM DIRECTIVE: EVIL-OMO - {TYPE}]
|
|
6
6
|
*/
|
|
7
|
-
export declare const SYSTEM_DIRECTIVE_PREFIX = "[SYSTEM DIRECTIVE:
|
|
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:
|
|
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
|
|
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.
|
|
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/
|
|
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/
|
|
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": "
|
|
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
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
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(`✓
|
|
52
|
+
console.log(`✓ ${PLUGIN_NAME} binary installed for ${platform}-${arch} (${resolvedPackage})`);
|
|
52
53
|
} catch (error) {
|
|
53
|
-
console.warn(`⚠
|
|
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
|
}
|
|
File without changes
|