phewsh 0.15.43 → 0.15.44
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/lib/slash-commands.js +7 -3
- package/package.json +1 -1
package/lib/slash-commands.js
CHANGED
|
@@ -28,10 +28,14 @@ If there is no \`.intent/\` directory here, say so and tell me I can create one
|
|
|
28
28
|
|
|
29
29
|
// Tools that support file-based custom slash commands, and how each wants them.
|
|
30
30
|
// parentDir must already exist (the tool is installed) before we write.
|
|
31
|
+
//
|
|
32
|
+
// Claude Code is deliberately EXCLUDED: it already ships a phewsh `/intent`
|
|
33
|
+
// SKILL (the artifact generator) and gets the SessionStart hook brief, so a
|
|
34
|
+
// global `/intent` command here just collides with the canonical one (two
|
|
35
|
+
// `/intent` entries). We add `/intent` only where it's genuinely absent.
|
|
31
36
|
const SLASH_TARGETS = [
|
|
32
|
-
{ id: '
|
|
33
|
-
{ id: '
|
|
34
|
-
{ id: 'gemini', parent: '.gemini', sub: 'commands', file: 'intent.toml', fmt: 'gemini' },
|
|
37
|
+
{ id: 'codex', parent: '.codex', sub: 'prompts', file: 'intent.md', fmt: 'codex' },
|
|
38
|
+
{ id: 'gemini', parent: '.gemini', sub: 'commands', file: 'intent.toml', fmt: 'gemini' },
|
|
35
39
|
];
|
|
36
40
|
|
|
37
41
|
function bodyFor(fmt) {
|