create-semaphor-app 0.1.1 → 0.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/README.md +6 -6
- package/bin/create-semaphor-app.mjs +9 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,12 +52,6 @@ cd customer-health
|
|
|
52
52
|
npm run dev
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
Then open Codex or Claude Code in the project and ask:
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
@semaphor Build a Data App from my Semaphor project.
|
|
59
|
-
```
|
|
60
|
-
|
|
61
55
|
For Codex OAuth, run:
|
|
62
56
|
|
|
63
57
|
```bash
|
|
@@ -72,3 +66,9 @@ claude
|
|
|
72
66
|
```
|
|
73
67
|
|
|
74
68
|
Then complete auth for the `semaphor` server.
|
|
69
|
+
|
|
70
|
+
After Semaphor auth, ask your agent:
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
@semaphor Build a Data App from my Semaphor project.
|
|
74
|
+
```
|
|
@@ -419,11 +419,9 @@ function printNextSteps({ targetDir, packageManager, pluginSummary }) {
|
|
|
419
419
|
console.log(` cd ${relativeTarget}`);
|
|
420
420
|
console.log(` ${packageManager} run dev`);
|
|
421
421
|
|
|
422
|
-
console.log('\nThen open Codex or Claude Code in this folder and ask:');
|
|
423
|
-
console.log(' @semaphor Build a Data App from my Semaphor project.');
|
|
424
|
-
|
|
425
422
|
if (pluginSummary?.skipped) {
|
|
426
423
|
printPluginInstructions();
|
|
424
|
+
printBuildPrompt();
|
|
427
425
|
return;
|
|
428
426
|
}
|
|
429
427
|
|
|
@@ -434,6 +432,7 @@ function printNextSteps({ targetDir, packageManager, pluginSummary }) {
|
|
|
434
432
|
console.log(` - ${failure.agent}: ${failure.error}`);
|
|
435
433
|
}
|
|
436
434
|
printPluginInstructions();
|
|
435
|
+
printBuildPrompt();
|
|
437
436
|
return;
|
|
438
437
|
}
|
|
439
438
|
|
|
@@ -450,10 +449,12 @@ function printNextSteps({ targetDir, packageManager, pluginSummary }) {
|
|
|
450
449
|
console.log(' claude');
|
|
451
450
|
console.log(' /mcp');
|
|
452
451
|
console.log(' Then complete auth for the semaphor server.');
|
|
452
|
+
printBuildPrompt();
|
|
453
453
|
return;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
456
|
printPluginInstructions();
|
|
457
|
+
printBuildPrompt();
|
|
457
458
|
}
|
|
458
459
|
|
|
459
460
|
function printPluginInstructions() {
|
|
@@ -468,6 +469,11 @@ function printPluginInstructions() {
|
|
|
468
469
|
console.log(' Use the Claude Code MCP auth flow for the semaphor server.');
|
|
469
470
|
}
|
|
470
471
|
|
|
472
|
+
function printBuildPrompt() {
|
|
473
|
+
console.log('\nAfter Semaphor auth, ask your agent:');
|
|
474
|
+
console.log(' @semaphor Build a Data App from my Semaphor project.');
|
|
475
|
+
}
|
|
476
|
+
|
|
471
477
|
async function main() {
|
|
472
478
|
let args;
|
|
473
479
|
try {
|