oh-my-codex 0.21.40 → 0.21.41
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/Cargo.lock +6 -6
- package/Cargo.toml +1 -1
- package/dist/agents/native-config.d.ts +12 -0
- package/dist/agents/native-config.d.ts.map +1 -1
- package/dist/agents/native-config.js +12 -0
- package/dist/agents/native-config.js.map +1 -1
- package/dist/bin/__tests__/quality-gates-cli.test.d.ts +2 -0
- package/dist/bin/__tests__/quality-gates-cli.test.d.ts.map +1 -0
- package/dist/bin/__tests__/quality-gates-cli.test.js +110 -0
- package/dist/bin/__tests__/quality-gates-cli.test.js.map +1 -0
- package/dist/bin/quality-gates-cli.d.ts +18 -0
- package/dist/bin/quality-gates-cli.d.ts.map +1 -0
- package/dist/bin/quality-gates-cli.js +107 -0
- package/dist/bin/quality-gates-cli.js.map +1 -0
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +21 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/config/__tests__/quality-gates.test.d.ts +2 -0
- package/dist/config/__tests__/quality-gates.test.d.ts.map +1 -0
- package/dist/config/__tests__/quality-gates.test.js +369 -0
- package/dist/config/__tests__/quality-gates.test.js.map +1 -0
- package/dist/config/models.d.ts +4 -1
- package/dist/config/models.d.ts.map +1 -1
- package/dist/config/models.js +4 -1
- package/dist/config/models.js.map +1 -1
- package/dist/config/quality-gates.d.ts +97 -0
- package/dist/config/quality-gates.d.ts.map +1 -0
- package/dist/config/quality-gates.js +232 -0
- package/dist/config/quality-gates.js.map +1 -0
- package/dist/hooks/__tests__/code-review-skill-contract.test.js +2 -2
- package/dist/hooks/__tests__/code-review-skill-contract.test.js.map +1 -1
- package/dist/quality-gates/index.d.ts +7 -0
- package/dist/quality-gates/index.d.ts.map +1 -0
- package/dist/quality-gates/index.js +8 -0
- package/dist/quality-gates/index.js.map +1 -0
- package/dist/ralplan/__tests__/runtime.test.js +43 -1
- package/dist/ralplan/__tests__/runtime.test.js.map +1 -1
- package/dist/ralplan/runtime-contract.d.ts +22 -0
- package/dist/ralplan/runtime-contract.d.ts.map +1 -1
- package/dist/ralplan/runtime.d.ts +10 -1
- package/dist/ralplan/runtime.d.ts.map +1 -1
- package/dist/ralplan/runtime.js +83 -5
- package/dist/ralplan/runtime.js.map +1 -1
- package/package.json +1 -1
- package/plugins/oh-my-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/oh-my-codex/skills/code-review/SKILL.md +12 -2
- package/plugins/oh-my-codex/skills/deep-interview/SKILL.md +11 -0
- package/plugins/oh-my-codex/skills/ralplan/SKILL.md +27 -7
- package/plugins/oh-my-codex/templates/AGENTS.md +17 -1
- package/skills/code-review/SKILL.md +12 -2
- package/skills/deep-interview/SKILL.md +11 -0
- package/skills/ralplan/SKILL.md +27 -7
- package/templates/AGENTS.md +17 -1
package/dist/cli/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import { sidecarCommand } from "../sidecar/index.js";
|
|
|
18
18
|
import { teamCommand } from "./team.js";
|
|
19
19
|
import { ralphCommand } from "./ralph.js";
|
|
20
20
|
import { ralplanCommand } from "./ralplan.js";
|
|
21
|
+
import { qualityGatesCommand } from "../bin/quality-gates-cli.js";
|
|
21
22
|
import { autopilotCommand } from "./autopilot.js";
|
|
22
23
|
import { ultragoalCommand } from "./ultragoal.js";
|
|
23
24
|
import { performanceGoalCommand } from "./performance-goal.js";
|
|
@@ -119,6 +120,8 @@ Usage:
|
|
|
119
120
|
omx uninstall Remove OMX configuration and clean up installed artifacts
|
|
120
121
|
omx doctor Check installation health
|
|
121
122
|
omx list List packaged OMX skills and native agent prompts (--json)
|
|
123
|
+
omx quality-gates list --stage <deep-interview|ralplan|code-review> --json
|
|
124
|
+
List configured custom quality gates for a workflow stage
|
|
122
125
|
omx cleanup Kill orphaned OMX MCP server processes and remove stale OMX /tmp directories
|
|
123
126
|
omx doctor --team Check team/swarm runtime health diagnostics
|
|
124
127
|
omx ask Ask local provider CLI (claude|gemini) and write artifact output
|
|
@@ -1096,7 +1099,10 @@ function hasSameHistoryIdentity(actual, expected) {
|
|
|
1096
1099
|
return actual.dev === expected.dev && actual.ino === expected.ino;
|
|
1097
1100
|
}
|
|
1098
1101
|
function hasSameHistoryVersion(actual, expected) {
|
|
1099
|
-
return hasSameHistoryIdentity(actual, expected)
|
|
1102
|
+
return hasSameHistoryIdentity(actual, expected)
|
|
1103
|
+
&& actual.size === expected.size
|
|
1104
|
+
&& actual.mtimeMs === expected.mtimeMs
|
|
1105
|
+
&& actual.ctimeMs === expected.ctimeMs;
|
|
1100
1106
|
}
|
|
1101
1107
|
async function inspectProjectLaunchRuntimeHistoryEntry(source) {
|
|
1102
1108
|
// Durable history names are an explicit allowlist. Follow only the named
|
|
@@ -4095,6 +4101,20 @@ export async function main(args) {
|
|
|
4095
4101
|
case "ralplan":
|
|
4096
4102
|
await ralplanCommand(args.slice(1));
|
|
4097
4103
|
break;
|
|
4104
|
+
case "quality-gates": {
|
|
4105
|
+
const output = qualityGatesCommand(args.slice(1), undefined, process.cwd());
|
|
4106
|
+
console.log(output);
|
|
4107
|
+
try {
|
|
4108
|
+
const result = JSON.parse(output);
|
|
4109
|
+
if ('error' in result) {
|
|
4110
|
+
process.exitCode = 1;
|
|
4111
|
+
}
|
|
4112
|
+
}
|
|
4113
|
+
catch {
|
|
4114
|
+
process.exitCode = 1;
|
|
4115
|
+
}
|
|
4116
|
+
break;
|
|
4117
|
+
}
|
|
4098
4118
|
case "ultragoal":
|
|
4099
4119
|
await ultragoalCommand(args.slice(1));
|
|
4100
4120
|
break;
|