@panda-agent/panda-cli 0.1.54 → 0.1.56
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.
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
# Preset slash commands (SSOT)
|
|
2
2
|
|
|
3
|
-
One command per `*.md` file.
|
|
3
|
+
One command per `*.md` file.
|
|
4
|
+
|
|
5
|
+
Example:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
panda-resources/commands/
|
|
9
|
+
init.md
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Release builds embed this tree as `bundled-preset-commands/` in CLI / Desktop / IDE packages. Runtime discovery merges bundled commands with workspace `.panda/commands/*.md` (workspace overrides bundled by name).
|
|
13
|
+
|
|
14
|
+
- **CLI**: `sync-preset-commands.mjs` → `panda-cli/bundled-preset-commands/` (gitignored) before `npm pack`
|
|
15
|
+
- **Desktop**: `electron-builder` reads SSOT directly into `Resources/bundled-preset-commands/`
|
|
16
|
+
- **IDE**: gulp merges into `Resources/bundled-preset-commands/`
|
|
17
|
+
- **Dev**: monorepo fallback walks up to `panda-resources/commands/` when bundled dir is absent
|
|
18
|
+
|
|
19
|
+
Commands are **not** seeded into `~/.panda/commands` (unlike skills → `~/.panda/skills`). Preset commands are read from the install bundle at runtime.
|