ninja-terminals 2.3.6 → 2.3.8
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/cli.js +7 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -100,7 +100,8 @@ async function runSetup() {
|
|
|
100
100
|
args: ['ninja-terminals-mcp'],
|
|
101
101
|
env: {
|
|
102
102
|
NINJA_TERMINAL_COUNT: '4',
|
|
103
|
-
NINJA_LOG_LEVEL: 'info'
|
|
103
|
+
NINJA_LOG_LEVEL: 'info',
|
|
104
|
+
HTTP_PORT: '3300'
|
|
104
105
|
}
|
|
105
106
|
};
|
|
106
107
|
|
|
@@ -117,7 +118,11 @@ async function runSetup() {
|
|
|
117
118
|
|
|
118
119
|
// 3. Copy orchestrator prompt to CLAUDE.md
|
|
119
120
|
const claudeMd = path.join(process.cwd(), 'CLAUDE.md');
|
|
120
|
-
|
|
121
|
+
// Use the real orchestrator prompt, not the pointer file
|
|
122
|
+
let orchestratorPrompt = path.join(npmRoot, 'ORCHESTRATOR-PROMPT.md');
|
|
123
|
+
if (!fs.existsSync(orchestratorPrompt)) {
|
|
124
|
+
orchestratorPrompt = path.join(npmRoot, 'prompts', 'orchestrator.md');
|
|
125
|
+
}
|
|
121
126
|
|
|
122
127
|
if (fs.existsSync(orchestratorPrompt)) {
|
|
123
128
|
const prompt = fs.readFileSync(orchestratorPrompt, 'utf-8');
|
package/package.json
CHANGED