ccgx-workflow 1.0.2 → 1.0.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.
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import cac from 'cac';
|
|
3
3
|
import ansis from 'ansis';
|
|
4
|
-
import { d as diagnoseMcpConfig, i as isWindows, r as readClaudeCodeConfig, f as fixWindowsMcpConfig, w as writeClaudeCodeConfig, a as readCcgConfig, b as initI18n, c as i18n, s as showMainMenu, e as init, g as configMcp, v as version } from './shared/ccgx-workflow.
|
|
4
|
+
import { d as diagnoseMcpConfig, i as isWindows, r as readClaudeCodeConfig, f as fixWindowsMcpConfig, w as writeClaudeCodeConfig, a as readCcgConfig, b as initI18n, c as i18n, s as showMainMenu, e as init, g as configMcp, v as version } from './shared/ccgx-workflow.BnfaZnVu.mjs';
|
|
5
5
|
import 'inquirer';
|
|
6
6
|
import 'ora';
|
|
7
7
|
import 'node:child_process';
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as collectSkills } from './shared/ccgx-workflow.
|
|
2
|
-
export { j as changeLanguage, F as checkForUpdates, H as collectInvocableSkills, G as compareVersions, l as createDefaultConfig, m as createDefaultRouting, I as generateCommandContent, n as getCcgDir, o as getConfigPath, D as getCurrentVersion, E as getLatestVersion, q as getWorkflowById, p as getWorkflowConfigs, c as i18n, e as init, b as initI18n, x as installAceTool, y as installAceToolRs, J as installSkillCommands, t as installWorkflows, B as migrateToV1_4_0, C as needsMigration, K as parseFrontmatter, a as readCcgConfig, s as showMainMenu, A as uninstallAceTool, z as uninstallWorkflows, u as update, k as writeCcgConfig } from './shared/ccgx-workflow.
|
|
1
|
+
import { h as collectSkills } from './shared/ccgx-workflow.BnfaZnVu.mjs';
|
|
2
|
+
export { j as changeLanguage, F as checkForUpdates, H as collectInvocableSkills, G as compareVersions, l as createDefaultConfig, m as createDefaultRouting, I as generateCommandContent, n as getCcgDir, o as getConfigPath, D as getCurrentVersion, E as getLatestVersion, q as getWorkflowById, p as getWorkflowConfigs, c as i18n, e as init, b as initI18n, x as installAceTool, y as installAceToolRs, J as installSkillCommands, t as installWorkflows, B as migrateToV1_4_0, C as needsMigration, K as parseFrontmatter, a as readCcgConfig, s as showMainMenu, A as uninstallAceTool, z as uninstallWorkflows, u as update, k as writeCcgConfig } from './shared/ccgx-workflow.BnfaZnVu.mjs';
|
|
3
3
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, statSync, readdirSync } from 'node:fs';
|
|
4
4
|
import { join, dirname } from 'node:path';
|
|
5
5
|
import { homedir } from 'node:os';
|
|
@@ -986,9 +986,9 @@ function resolveQualityTier(input) {
|
|
|
986
986
|
return { tier: "triple", source: "default" };
|
|
987
987
|
}
|
|
988
988
|
const PHASE_RUNNER_BUDGET_USD = {
|
|
989
|
-
fast:
|
|
990
|
-
triple:
|
|
991
|
-
debate:
|
|
989
|
+
fast: 50,
|
|
990
|
+
triple: 100,
|
|
991
|
+
debate: 250
|
|
992
992
|
};
|
|
993
993
|
function shellSingleQuote(s) {
|
|
994
994
|
return `'${s.replace(/'/g, `'\\''`)}'`;
|
|
@@ -10,7 +10,7 @@ import fs from 'fs-extra';
|
|
|
10
10
|
import { parse, stringify } from 'smol-toml';
|
|
11
11
|
import i18next from 'i18next';
|
|
12
12
|
|
|
13
|
-
const version = "1.0.
|
|
13
|
+
const version = "1.0.3";
|
|
14
14
|
|
|
15
15
|
function cmd(id, order, category, name, nameEn, description, descriptionEn, cmdOverride) {
|
|
16
16
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccgx-workflow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Multi-model orchestration for Claude Code. Codex + Gemini parallel collaboration with fresh-context subagent protocols, OS-level process isolation, and Plan-Critic-Verify quality tiers. Successor to ccg-workflow.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@10.17.1",
|
|
@@ -152,7 +152,7 @@ Required:
|
|
|
152
152
|
|
|
153
153
|
Optional:
|
|
154
154
|
--tier <fast|triple|debate> Quality tier; maps to --max-budget-usd
|
|
155
|
-
(fast=
|
|
155
|
+
(fast=50, triple=100, debate=250). Default: triple.
|
|
156
156
|
--max-budget-usd <N> Override per-call budget cap.
|
|
157
157
|
--grace-ms <N> SIGTERM->SIGKILL grace (default 5000).
|
|
158
158
|
|
|
@@ -193,7 +193,13 @@ function writeState(workdir, jobId, state) {
|
|
|
193
193
|
// production phase-runner spawn).
|
|
194
194
|
// ---------------------------------------------------------------------------
|
|
195
195
|
|
|
196
|
-
|
|
196
|
+
// v1.0.3: ×50 raise after user feedback. PoC D3 baseline (fast=$1 / triple=$2
|
|
197
|
+
// / debate=$5) was tuned for "p90 + 50% margin" of *single phase* spawns, but
|
|
198
|
+
// real autonomous runs hit the cap on edge cases ($1.034 over $1) — tight
|
|
199
|
+
// enough to surface as failures rather than runaway loops. Raising to 50/100/
|
|
200
|
+
// 250 keeps the runaway-loop guardrail intact (a stuck loop blows >$1000 fast)
|
|
201
|
+
// while removing the false-positive failure mode for legitimately complex phases.
|
|
202
|
+
const TIER_BUDGET = { fast: 50.0, triple: 100.0, debate: 250.0 }
|
|
197
203
|
|
|
198
204
|
function buildClaudeArgs({ promptFile, workdir, tier, maxBudgetUsd }) {
|
|
199
205
|
const budget = maxBudgetUsd ?? TIER_BUDGET[tier]
|