ctx-cc 3.3.6 → 3.3.7
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/package.json +1 -1
- package/src/install.js +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ctx-cc",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.7",
|
|
4
4
|
"description": "CTX 3.3 (Continuous Task eXecution) - AI that learns your preferences. Learning system, predictive planning, self-healing deployments (Sentry/LogRocket), voice control for hands-free development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
package/src/install.js
CHANGED
|
@@ -123,6 +123,14 @@ export async function install(options) {
|
|
|
123
123
|
if (fs.existsSync(srcCommands)) {
|
|
124
124
|
const count = copyDir(srcCommands, commandsDir);
|
|
125
125
|
console.log(green(` ✓`) + ` Installed commands/ctx (${count} files)`);
|
|
126
|
+
|
|
127
|
+
// Also copy ctx.md to commands root so /ctx works directly
|
|
128
|
+
const mainRouter = path.join(commandsDir, 'ctx.md');
|
|
129
|
+
const rootRouter = path.join(targetBase, 'commands', 'ctx.md');
|
|
130
|
+
if (fs.existsSync(mainRouter)) {
|
|
131
|
+
fs.copyFileSync(mainRouter, rootRouter);
|
|
132
|
+
console.log(green(` ✓`) + ` Installed /ctx command`);
|
|
133
|
+
}
|
|
126
134
|
}
|
|
127
135
|
|
|
128
136
|
// Copy agents
|