ccgx-workflow 2.1.1 → 2.1.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/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.dK6O-vwe.mjs';
|
|
5
5
|
import { execSync } from 'node:child_process';
|
|
6
6
|
import 'inquirer';
|
|
7
7
|
import 'ora';
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as collectSkills, j as resolvePluginBashCommand } from './shared/ccgx-workflow.
|
|
2
|
-
export { k as changeLanguage, G as checkForUpdates, I as collectInvocableSkills, H as compareVersions, m as createDefaultConfig, n as createDefaultRouting, J as generateCommandContent, o as getCcgDir, p as getConfigPath, E as getCurrentVersion, F as getLatestVersion, t as getWorkflowById, q as getWorkflowConfigs, c as i18n, e as init, b as initI18n, y as installAceTool, z as installAceToolRs, K as installSkillCommands, x as installWorkflows, C as migrateToV1_4_0, D as needsMigration, L as parseFrontmatter, a as readCcgConfig, s as showMainMenu, B as uninstallAceTool, A as uninstallWorkflows, u as update, l as writeCcgConfig } from './shared/ccgx-workflow.
|
|
1
|
+
import { h as collectSkills, j as resolvePluginBashCommand } from './shared/ccgx-workflow.dK6O-vwe.mjs';
|
|
2
|
+
export { k as changeLanguage, G as checkForUpdates, I as collectInvocableSkills, H as compareVersions, m as createDefaultConfig, n as createDefaultRouting, J as generateCommandContent, o as getCcgDir, p as getConfigPath, E as getCurrentVersion, F as getLatestVersion, t as getWorkflowById, q as getWorkflowConfigs, c as i18n, e as init, b as initI18n, y as installAceTool, z as installAceToolRs, K as installSkillCommands, x as installWorkflows, C as migrateToV1_4_0, D as needsMigration, L as parseFrontmatter, a as readCcgConfig, s as showMainMenu, B as uninstallAceTool, A as uninstallWorkflows, u as update, l as writeCcgConfig } from './shared/ccgx-workflow.dK6O-vwe.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';
|
|
@@ -13,7 +13,7 @@ import { join as join$2 } from 'node:path/posix';
|
|
|
13
13
|
import { join as join$1 } from 'node:path';
|
|
14
14
|
import i18next from 'i18next';
|
|
15
15
|
|
|
16
|
-
const version = "2.1.
|
|
16
|
+
const version = "2.1.2";
|
|
17
17
|
|
|
18
18
|
function cmd(id, order, category, name, nameEn, description, descriptionEn, cmdOverride) {
|
|
19
19
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccgx-workflow",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
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",
|
|
@@ -108,12 +108,21 @@ function parseArgs(argv) {
|
|
|
108
108
|
// 600s default was SIGTERM-ing healthy tasks mid-thought. 2h is a
|
|
109
109
|
// generous safety ceiling — pass 0 to disable entirely.
|
|
110
110
|
timeoutMs: 7200000,
|
|
111
|
-
// 2.1.
|
|
112
|
-
// healthy long-running
|
|
113
|
-
//
|
|
114
|
-
//
|
|
115
|
-
//
|
|
116
|
-
|
|
111
|
+
// 2.1.2: idle detection is OPT-IN (default 0 = disabled). The original
|
|
112
|
+
// 2.1.1 assumption that "healthy long-running audits emit continuous
|
|
113
|
+
// stdout/stderr chunks" is FALSE for both vendors:
|
|
114
|
+
// - codex-companion `task`: writes progress to its internal job
|
|
115
|
+
// state.json (read via `codex status`); helper sees ZERO stdout
|
|
116
|
+
// until the final JSON envelope.
|
|
117
|
+
// - gemini-batch / gemini-cli `--output-format json`: emits 4-5
|
|
118
|
+
// startup warning lines, then SILENT through model reasoning + all
|
|
119
|
+
// tool calls, then the final JSON.
|
|
120
|
+
// Deep reasoning passes can silently exceed any reasonable idle
|
|
121
|
+
// threshold while being perfectly healthy. Wall-time (default 2h)
|
|
122
|
+
// remains the only safety bound by default. Callers who know their
|
|
123
|
+
// task class is supposed to stream (e.g. future protocol additions)
|
|
124
|
+
// can pass --idle-timeout-ms <N> explicitly.
|
|
125
|
+
idleTimeoutMs: 0,
|
|
117
126
|
maxBudgetUsd: 50,
|
|
118
127
|
// 1.0.5 regression fix: pre-1.0.5 callers always passed --write directly
|
|
119
128
|
// to codex-companion. Default true preserves BC; --no-write opt-out for
|
|
@@ -178,7 +187,7 @@ Optional:
|
|
|
178
187
|
--json Pass --json to companion (default: true)
|
|
179
188
|
--no-json Disable --json (text output)
|
|
180
189
|
--timeout-ms <N> Kill companion if total wall-time exceeds N ms (default: 7200000, 2h; pass 0 to disable)
|
|
181
|
-
--idle-timeout-ms <N> Kill companion if no stdout/stderr output for N ms (default:
|
|
190
|
+
--idle-timeout-ms <N> Kill companion if no stdout/stderr output for N ms (default: 0 = disabled). NOTE: codex-companion and gemini-batch both emit NOTHING to stdout/stderr during execution (progress lives in internal state files); idle defaults to disabled to avoid false-positive kills of healthy long tasks. Set to a positive value only if your task class is known to stream.
|
|
182
191
|
--max-budget-usd <N> Per-call cost cap (default: 50)
|
|
183
192
|
--write Enable workspace-write sandbox (default: true; codex needs this to spawn read commands too under default approval policy)
|
|
184
193
|
--no-write Force read-only sandbox (companion approval-policy will decline most commands)
|