You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--json`| Required. Emit the inventory as a JSON array on stdout. |
18
18
19
-
Prints a flat inventory of every visible artifact — one row per `(kind, name)` pair — sorted by kind (`command`, then `template`, then `script`) and then by name.
19
+
Prints the full inventory of every visible artifact — one row per `(kind, name)` pair, including its composition `stack` — sorted by kind (`command`, then `template`, then `script`) and then by name.
20
20
21
21
```json
22
22
[
23
23
{
24
24
"id": "command:speckit.specify",
25
25
"name": "speckit.specify",
26
26
"kind": "command",
27
-
"description": "Create or update the feature specification."
27
+
"description": "Create or update the feature specification.",
28
+
"stack": [
29
+
{
30
+
"id": "command:speckit.specify",
31
+
"layer": null,
32
+
"sourceId": null,
33
+
"presetId": null,
34
+
"presetName": null,
35
+
"strategy": "replace",
36
+
"active": true,
37
+
"hidden": false,
38
+
"manifestPath": null,
39
+
"lookupId": null
40
+
}
41
+
]
28
42
},
29
43
{
30
44
"id": "script:create-new-feature",
31
45
"name": "create-new-feature",
32
46
"kind": "script",
33
-
"description": "Create a new feature branch and spec directory."
47
+
"description": "Create a new feature branch and spec directory.",
|`id`|`{kind}:{name}` — the shorthand `artifact info` accepts as its argument |
69
+
|`name`| Logical artifact name (commands use the `speckit.<stem>` namespace) |
70
+
|`kind`| One of `command`, `template`, `script`|
43
71
|`description`| Description from the highest-precedence layer that declares one, else `""`|
72
+
|`stack`| Composition stack for this artifact, using the same row shape as `artifact info`|
44
73
45
74
Built-in artifacts always appear, even when nothing overrides them. Descriptions come from the highest-priority layer that has one — a preset or project override that hides a built-in command reports its own description, not the hidden built-in text. Skills (`.github/skills/**/SKILL.md`) are excluded: they are integration-specific output, not a shipped asset family.
46
75
@@ -92,7 +121,7 @@ specify artifact info <name> --json
92
121
}
93
122
```
94
123
95
-
The top-level `id`, `name`, `kind`, and `description` fields match the corresponding row on `artifact list --json`.
124
+
The top-level `id`, `name`, `kind`, `description`, and `stack` fields match the corresponding row on `artifact list --json`.
0 commit comments