oh-my-customcodex 0.3.1 → 0.3.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/README.md +18 -18
- package/dist/cli/index.js +25 -30
- package/dist/index.js +5 -10
- package/package.json +1 -4
- package/templates/manifest.json +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
48 agents. 112 skills. 22 rules. One command.
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
npm install -g oh-my-customcodex && cd your-project &&
|
|
19
|
+
npm install -g oh-my-customcodex && cd your-project && omcustomcodex init
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
---
|
|
@@ -249,21 +249,21 @@ Security hooks are advisory (exit 0). They warn but never block.
|
|
|
249
249
|
## CLI
|
|
250
250
|
|
|
251
251
|
```bash
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
252
|
+
omcustomcodex init # Interactive setup wizard (language, framework, team mode)
|
|
253
|
+
omcustomcodex init --lang ko # Initialize with Korean
|
|
254
|
+
omcustomcodex init --from-snapshot # Install from pre-configured team snapshot
|
|
255
|
+
omcustomcodex sync # Detect drift between .codex/ state and lockfile
|
|
256
|
+
omcustomcodex sync --check # Check for drift without applying changes
|
|
257
|
+
omcustomcodex sync --export # Export current state as team snapshot
|
|
258
|
+
omcustomcodex update # Update to latest
|
|
259
|
+
omcustomcodex list # List components
|
|
260
|
+
omcustomcodex doctor # Verify installation
|
|
261
|
+
omcustomcodex doctor --fix # Auto-fix issues
|
|
262
|
+
omcustomcodex security # Scan for security issues
|
|
263
|
+
omcustomcodex projects # List managed projects with version status
|
|
264
|
+
omcustomcodex update --all # Batch update all outdated projects
|
|
265
|
+
omcustomcodex serve # Start built-in Web UI
|
|
266
|
+
omcustomcodex serve-stop # Stop Web UI
|
|
267
267
|
```
|
|
268
268
|
|
|
269
269
|
---
|
|
@@ -293,11 +293,11 @@ your-project/
|
|
|
293
293
|
|
|
294
294
|
## External Tool Integrations
|
|
295
295
|
|
|
296
|
-
RTK is automatically installed during `
|
|
296
|
+
RTK is automatically installed during `omcustomcodex init` for 60-90% token savings. Other tools are optional:
|
|
297
297
|
|
|
298
298
|
| Tool | Purpose | Install | Status |
|
|
299
299
|
|------|---------|---------|--------|
|
|
300
|
-
| [RTK](https://github.com/rtk-ai/rtk) | 60-90% token savings on CLI output | Auto-installed via `
|
|
300
|
+
| [RTK](https://github.com/rtk-ai/rtk) | 60-90% token savings on CLI output | Auto-installed via `omcustomcodex init` | **Recommended** |
|
|
301
301
|
| [Codex CLI](https://github.com/openai/codex) | OpenAI Codex hybrid workflows | `npm i -g @openai/codex` | Optional |
|
|
302
302
|
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | Google Gemini hybrid workflows | `npm i -g @google/gemini-cli` | Optional |
|
|
303
303
|
|
package/dist/cli/index.js
CHANGED
|
@@ -3091,13 +3091,10 @@ var init_package = __esm(() => {
|
|
|
3091
3091
|
workspaces: [
|
|
3092
3092
|
"packages/*"
|
|
3093
3093
|
],
|
|
3094
|
-
version: "0.3.
|
|
3094
|
+
version: "0.3.2",
|
|
3095
3095
|
description: "Batteries-included agent harness on top of GPT Codex + OMX",
|
|
3096
3096
|
type: "module",
|
|
3097
3097
|
bin: {
|
|
3098
|
-
omcodex: "./dist/cli/index.js",
|
|
3099
|
-
omcustom: "./dist/cli/index.js",
|
|
3100
|
-
omcustomx: "./dist/cli/index.js",
|
|
3101
3098
|
omcustomcodex: "./dist/cli/index.js"
|
|
3102
3099
|
},
|
|
3103
3100
|
main: "./dist/index.js",
|
|
@@ -3200,15 +3197,13 @@ function getActiveCliCommandName() {
|
|
|
3200
3197
|
return activeCliCommandName;
|
|
3201
3198
|
}
|
|
3202
3199
|
function rewriteCliCommandReferences(text, commandName = getActiveCliCommandName()) {
|
|
3200
|
+
const rawText = text ?? "";
|
|
3203
3201
|
const normalizedCommandName = normalizeCliCommandName(commandName);
|
|
3204
|
-
|
|
3205
|
-
return text;
|
|
3206
|
-
}
|
|
3207
|
-
return text.replace(/(^|[^A-Za-z0-9_.-])omcodex(?=$|[^A-Za-z0-9_.-])/g, (_match, prefix) => `${prefix}${normalizedCommandName}`);
|
|
3202
|
+
return rawText.replace(/(^|[^A-Za-z0-9_.-])(omcodex|omcustomcodex|omcustomx|omcustom)(?=$|[^A-Za-z0-9_.-])/g, (_match, prefix) => `${prefix}${normalizedCommandName}`);
|
|
3208
3203
|
}
|
|
3209
|
-
var DEFAULT_CLI_COMMAND = "
|
|
3204
|
+
var DEFAULT_CLI_COMMAND = "omcustomcodex", KNOWN_CLI_COMMANDS, WINDOWS_SCRIPT_EXTENSIONS, activeCliCommandName;
|
|
3210
3205
|
var init_cli_command_name = __esm(() => {
|
|
3211
|
-
KNOWN_CLI_COMMANDS = new Set([DEFAULT_CLI_COMMAND
|
|
3206
|
+
KNOWN_CLI_COMMANDS = new Set([DEFAULT_CLI_COMMAND]);
|
|
3212
3207
|
WINDOWS_SCRIPT_EXTENSIONS = /\.(cmd|exe|ps1|bat)$/i;
|
|
3213
3208
|
activeCliCommandName = DEFAULT_CLI_COMMAND;
|
|
3214
3209
|
});
|
|
@@ -25463,7 +25458,7 @@ var en_default = {
|
|
|
25463
25458
|
cli: {
|
|
25464
25459
|
description: "Batteries-included agent harness on top of GPT Codex + OMX",
|
|
25465
25460
|
versionOption: "Show version number",
|
|
25466
|
-
usage: "Usage:
|
|
25461
|
+
usage: "Usage: omcustomcodex <command> [options]",
|
|
25467
25462
|
commands: "Commands",
|
|
25468
25463
|
options: "Options",
|
|
25469
25464
|
examples: "Examples",
|
|
@@ -25508,7 +25503,7 @@ var en_default = {
|
|
|
25508
25503
|
symlinking: "Creating symlinks...",
|
|
25509
25504
|
verifying: "Verifying installation...",
|
|
25510
25505
|
success: "Successfully initialized oh-my-customcodex!",
|
|
25511
|
-
verificationFailed: "Installation verification failed. Run '
|
|
25506
|
+
verificationFailed: "Installation verification failed. Run 'omcustomcodex doctor' for details.",
|
|
25512
25507
|
failed: "Failed to initialize:",
|
|
25513
25508
|
alreadyInitialized: "oh-my-customcodex is already initialized in this directory",
|
|
25514
25509
|
configCreated: "Configuration created at {{path}}",
|
|
@@ -25541,7 +25536,7 @@ var en_default = {
|
|
|
25541
25536
|
description: "Update agents and configurations to latest version",
|
|
25542
25537
|
checking: "Checking for updates...",
|
|
25543
25538
|
notInstalled: "oh-my-customcodex is not installed in this directory.",
|
|
25544
|
-
runInitFirst: "Run '
|
|
25539
|
+
runInitFirst: "Run 'omcustomcodex init' first to install.",
|
|
25545
25540
|
alreadyLatest: "Already at the latest version.",
|
|
25546
25541
|
updating: "Updating from {{from}} to {{to}}...",
|
|
25547
25542
|
success: "Successfully updated to the latest version!",
|
|
@@ -25630,7 +25625,7 @@ var en_default = {
|
|
|
25630
25625
|
description: "Check and fix configuration issues",
|
|
25631
25626
|
fixOption: "Automatically fix issues that can be fixed",
|
|
25632
25627
|
updatesOption: "Check for oh-my-customcodex updates",
|
|
25633
|
-
updateAvailable: "Update available: v{{current}} → v{{latest}}. Run '
|
|
25628
|
+
updateAvailable: "Update available: v{{current}} → v{{latest}}. Run 'omcustomcodex update' to apply.",
|
|
25634
25629
|
updateUpToDate: "oh-my-customcodex is up to date (v{{version}})",
|
|
25635
25630
|
updateCheckFailed: "Update check failed ({{reason}})",
|
|
25636
25631
|
checking: "Running diagnostic checks...",
|
|
@@ -25639,7 +25634,7 @@ var en_default = {
|
|
|
25639
25634
|
fixed: "{{name}} has been fixed",
|
|
25640
25635
|
passed: "All checks passed!",
|
|
25641
25636
|
failed: "Some checks failed.",
|
|
25642
|
-
runWithFix: "Run '
|
|
25637
|
+
runWithFix: "Run 'omcustomcodex doctor --fix' to fix {{count}} issue(s) automatically.",
|
|
25643
25638
|
summary: "Summary: {{pass}} passed, {{warn}} warnings, {{fail}} failed, {{fixed}} fixed",
|
|
25644
25639
|
running: "Running health checks...",
|
|
25645
25640
|
checkingConfig: "Checking configuration...",
|
|
@@ -25699,7 +25694,7 @@ var en_default = {
|
|
|
25699
25694
|
},
|
|
25700
25695
|
framework: {
|
|
25701
25696
|
pass: "Framework is up to date (v{{version}})",
|
|
25702
|
-
warn: "Framework is outdated: installed v{{installed}}, latest v{{latest}} ({{behind}} version(s) behind). Run '
|
|
25697
|
+
warn: "Framework is outdated: installed v{{installed}}, latest v{{latest}} ({{behind}} version(s) behind). Run 'omcustomcodex update' to sync."
|
|
25703
25698
|
},
|
|
25704
25699
|
rtk: {
|
|
25705
25700
|
pass: "RTK installed",
|
|
@@ -25730,16 +25725,16 @@ var en_default = {
|
|
|
25730
25725
|
description: "Show Web UI server status",
|
|
25731
25726
|
running: "Web UI is running: http://localhost:{{port}}",
|
|
25732
25727
|
notRunning: "Web UI is not running",
|
|
25733
|
-
startHint: " Start with:
|
|
25728
|
+
startHint: " Start with: omcustomcodex web start"
|
|
25734
25729
|
},
|
|
25735
25730
|
open: {
|
|
25736
25731
|
description: "Open the Web UI in the default browser",
|
|
25737
25732
|
portOption: "Port number",
|
|
25738
|
-
notRunningWarn: "Web UI does not appear to be running. Start it with:
|
|
25733
|
+
notRunningWarn: "Web UI does not appear to be running. Start it with: omcustomcodex web start"
|
|
25739
25734
|
},
|
|
25740
25735
|
deprecated: {
|
|
25741
|
-
serve: "[Deprecated] `
|
|
25742
|
-
serveStop: "[Deprecated] `
|
|
25736
|
+
serve: "[Deprecated] `omcustomcodex serve` is deprecated. Use `omcustomcodex web start` instead.",
|
|
25737
|
+
serveStop: "[Deprecated] `omcustomcodex serve-stop` is deprecated. Use `omcustomcodex web stop` instead."
|
|
25743
25738
|
}
|
|
25744
25739
|
},
|
|
25745
25740
|
sync: {
|
|
@@ -25887,7 +25882,7 @@ var ko_default = {
|
|
|
25887
25882
|
cli: {
|
|
25888
25883
|
description: "GPT Codex + OMX 위의 올인원 에이전트 하네스",
|
|
25889
25884
|
versionOption: "버전 번호 표시",
|
|
25890
|
-
usage: "사용법:
|
|
25885
|
+
usage: "사용법: omcustomcodex <명령어> [옵션]",
|
|
25891
25886
|
commands: "명령어",
|
|
25892
25887
|
options: "옵션",
|
|
25893
25888
|
examples: "예제",
|
|
@@ -25932,7 +25927,7 @@ var ko_default = {
|
|
|
25932
25927
|
symlinking: "심볼릭 링크 생성 중...",
|
|
25933
25928
|
verifying: "설치 확인 중...",
|
|
25934
25929
|
success: "oh-my-customcodex 초기화 완료!",
|
|
25935
|
-
verificationFailed: "설치 확인 실패. '
|
|
25930
|
+
verificationFailed: "설치 확인 실패. 'omcustomcodex doctor'를 실행하여 자세한 내용을 확인하세요.",
|
|
25936
25931
|
failed: "초기화 실패:",
|
|
25937
25932
|
alreadyInitialized: "이 디렉토리에 oh-my-customcodex가 이미 초기화되어 있습니다",
|
|
25938
25933
|
configCreated: "설정 파일 생성됨: {{path}}",
|
|
@@ -25965,7 +25960,7 @@ var ko_default = {
|
|
|
25965
25960
|
description: "에이전트 및 설정을 최신 버전으로 업데이트",
|
|
25966
25961
|
checking: "업데이트 확인 중...",
|
|
25967
25962
|
notInstalled: "이 디렉토리에 oh-my-customcodex가 설치되어 있지 않습니다.",
|
|
25968
|
-
runInitFirst: "먼저 '
|
|
25963
|
+
runInitFirst: "먼저 'omcustomcodex init'을 실행하여 설치하세요.",
|
|
25969
25964
|
alreadyLatest: "이미 최신 버전입니다.",
|
|
25970
25965
|
updating: "{{from}}에서 {{to}}로 업데이트 중...",
|
|
25971
25966
|
success: "최신 버전으로 업데이트 완료!",
|
|
@@ -26054,7 +26049,7 @@ var ko_default = {
|
|
|
26054
26049
|
description: "설정 문제 확인 및 수정",
|
|
26055
26050
|
fixOption: "자동으로 수정 가능한 문제 수정",
|
|
26056
26051
|
updatesOption: "oh-my-customcodex 업데이트 확인",
|
|
26057
|
-
updateAvailable: "업데이트 가능: v{{current}} → v{{latest}}. '
|
|
26052
|
+
updateAvailable: "업데이트 가능: v{{current}} → v{{latest}}. 'omcustomcodex update'를 실행하여 적용하세요.",
|
|
26058
26053
|
updateUpToDate: "oh-my-customcodex가 최신 상태입니다 (v{{version}})",
|
|
26059
26054
|
updateCheckFailed: "업데이트 확인 실패 ({{reason}})",
|
|
26060
26055
|
checking: "진단 검사 실행 중...",
|
|
@@ -26063,7 +26058,7 @@ var ko_default = {
|
|
|
26063
26058
|
fixed: "{{name}}이(가) 수정되었습니다",
|
|
26064
26059
|
passed: "모든 검사 통과!",
|
|
26065
26060
|
failed: "일부 검사 실패.",
|
|
26066
|
-
runWithFix: "'
|
|
26061
|
+
runWithFix: "'omcustomcodex doctor --fix'를 실행하여 {{count}}개 문제를 자동으로 수정할 수 있습니다.",
|
|
26067
26062
|
summary: "요약: {{pass}}개 통과, {{warn}}개 경고, {{fail}}개 실패, {{fixed}}개 수정됨",
|
|
26068
26063
|
running: "상태 검사 실행 중...",
|
|
26069
26064
|
checkingConfig: "설정 확인 중...",
|
|
@@ -26123,7 +26118,7 @@ var ko_default = {
|
|
|
26123
26118
|
},
|
|
26124
26119
|
framework: {
|
|
26125
26120
|
pass: "프레임워크가 최신 상태입니다 (v{{version}})",
|
|
26126
|
-
warn: "프레임워크가 구버전입니다: 설치됨 v{{installed}}, 최신 v{{latest}} ({{behind}}개 버전 뒤처짐). '
|
|
26121
|
+
warn: "프레임워크가 구버전입니다: 설치됨 v{{installed}}, 최신 v{{latest}} ({{behind}}개 버전 뒤처짐). 'omcustomcodex update'를 실행하여 동기화하세요."
|
|
26127
26122
|
},
|
|
26128
26123
|
rtk: {
|
|
26129
26124
|
pass: "RTK 설치됨",
|
|
@@ -26154,16 +26149,16 @@ var ko_default = {
|
|
|
26154
26149
|
description: "Web UI 서버 상태 표시",
|
|
26155
26150
|
running: "Web UI 실행 중: http://localhost:{{port}}",
|
|
26156
26151
|
notRunning: "Web UI가 실행 중이 아닙니다",
|
|
26157
|
-
startHint: " 시작하려면:
|
|
26152
|
+
startHint: " 시작하려면: omcustomcodex web start"
|
|
26158
26153
|
},
|
|
26159
26154
|
open: {
|
|
26160
26155
|
description: "기본 브라우저에서 Web UI 열기",
|
|
26161
26156
|
portOption: "포트 번호",
|
|
26162
|
-
notRunningWarn: "Web UI가 실행 중이지 않은 것 같습니다. 먼저 시작하세요:
|
|
26157
|
+
notRunningWarn: "Web UI가 실행 중이지 않은 것 같습니다. 먼저 시작하세요: omcustomcodex web start"
|
|
26163
26158
|
},
|
|
26164
26159
|
deprecated: {
|
|
26165
|
-
serve: "[Deprecated] `
|
|
26166
|
-
serveStop: "[Deprecated] `
|
|
26160
|
+
serve: "[Deprecated] `omcustomcodex serve` is deprecated. Use `omcustomcodex web start` instead.",
|
|
26161
|
+
serveStop: "[Deprecated] `omcustomcodex serve-stop` is deprecated. Use `omcustomcodex web stop` instead."
|
|
26167
26162
|
}
|
|
26168
26163
|
},
|
|
26169
26164
|
sync: {
|
package/dist/index.js
CHANGED
|
@@ -2180,13 +2180,10 @@ var package_default = {
|
|
|
2180
2180
|
workspaces: [
|
|
2181
2181
|
"packages/*"
|
|
2182
2182
|
],
|
|
2183
|
-
version: "0.3.
|
|
2183
|
+
version: "0.3.2",
|
|
2184
2184
|
description: "Batteries-included agent harness on top of GPT Codex + OMX",
|
|
2185
2185
|
type: "module",
|
|
2186
2186
|
bin: {
|
|
2187
|
-
omcodex: "./dist/cli/index.js",
|
|
2188
|
-
omcustom: "./dist/cli/index.js",
|
|
2189
|
-
omcustomx: "./dist/cli/index.js",
|
|
2190
2187
|
omcustomcodex: "./dist/cli/index.js"
|
|
2191
2188
|
},
|
|
2192
2189
|
main: "./dist/index.js",
|
|
@@ -4680,8 +4677,8 @@ var loadNamespaces = instance.loadNamespaces;
|
|
|
4680
4677
|
var loadLanguages = instance.loadLanguages;
|
|
4681
4678
|
|
|
4682
4679
|
// src/utils/cli-command-name.ts
|
|
4683
|
-
var DEFAULT_CLI_COMMAND = "
|
|
4684
|
-
var KNOWN_CLI_COMMANDS = new Set([DEFAULT_CLI_COMMAND
|
|
4680
|
+
var DEFAULT_CLI_COMMAND = "omcustomcodex";
|
|
4681
|
+
var KNOWN_CLI_COMMANDS = new Set([DEFAULT_CLI_COMMAND]);
|
|
4685
4682
|
var WINDOWS_SCRIPT_EXTENSIONS = /\.(cmd|exe|ps1|bat)$/i;
|
|
4686
4683
|
var activeCliCommandName = DEFAULT_CLI_COMMAND;
|
|
4687
4684
|
function normalizeCliCommandName(commandName) {
|
|
@@ -4692,11 +4689,9 @@ function getActiveCliCommandName() {
|
|
|
4692
4689
|
return activeCliCommandName;
|
|
4693
4690
|
}
|
|
4694
4691
|
function rewriteCliCommandReferences(text, commandName = getActiveCliCommandName()) {
|
|
4692
|
+
const rawText = text ?? "";
|
|
4695
4693
|
const normalizedCommandName = normalizeCliCommandName(commandName);
|
|
4696
|
-
|
|
4697
|
-
return text;
|
|
4698
|
-
}
|
|
4699
|
-
return text.replace(/(^|[^A-Za-z0-9_.-])omcodex(?=$|[^A-Za-z0-9_.-])/g, (_match, prefix) => `${prefix}${normalizedCommandName}`);
|
|
4694
|
+
return rawText.replace(/(^|[^A-Za-z0-9_.-])(omcodex|omcustomcodex|omcustomx|omcustom)(?=$|[^A-Za-z0-9_.-])/g, (_match, prefix) => `${prefix}${normalizedCommandName}`);
|
|
4700
4695
|
}
|
|
4701
4696
|
// src/i18n/types.ts
|
|
4702
4697
|
var DEFAULT_LANGUAGE2 = "en";
|
package/package.json
CHANGED
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
"workspaces": [
|
|
4
4
|
"packages/*"
|
|
5
5
|
],
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.2",
|
|
7
7
|
"description": "Batteries-included agent harness on top of GPT Codex + OMX",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"bin": {
|
|
10
|
-
"omcodex": "./dist/cli/index.js",
|
|
11
|
-
"omcustom": "./dist/cli/index.js",
|
|
12
|
-
"omcustomx": "./dist/cli/index.js",
|
|
13
10
|
"omcustomcodex": "./dist/cli/index.js"
|
|
14
11
|
},
|
|
15
12
|
"main": "./dist/index.js",
|
package/templates/manifest.json
CHANGED