@detergent-software/atk 8.9.0-dev.3 → 8.9.0-dev.31

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.
Files changed (275) hide show
  1. package/CHANGELOG.md +211 -0
  2. package/README.md +22 -12
  3. package/build/cli.js +18 -6
  4. package/build/cli.js.map +1 -1
  5. package/build/command-manifest.json +1507 -0
  6. package/build/commands/_app.d.ts.map +1 -1
  7. package/build/commands/_app.js +8 -4
  8. package/build/commands/_app.js.map +1 -1
  9. package/build/commands/audit.d.ts.map +1 -1
  10. package/build/commands/audit.js +1 -1
  11. package/build/commands/audit.js.map +1 -1
  12. package/build/commands/browse.js +2 -2
  13. package/build/commands/browse.js.map +1 -1
  14. package/build/commands/cache.d.ts +1 -1
  15. package/build/commands/cache.d.ts.map +1 -1
  16. package/build/commands/cache.js +1 -16
  17. package/build/commands/cache.js.map +1 -1
  18. package/build/commands/config.d.ts.map +1 -1
  19. package/build/commands/config.js +1 -1
  20. package/build/commands/config.js.map +1 -1
  21. package/build/commands/diff.d.ts.map +1 -1
  22. package/build/commands/diff.js +4 -0
  23. package/build/commands/diff.js.map +1 -1
  24. package/build/commands/drift.d.ts.map +1 -1
  25. package/build/commands/drift.js +4 -0
  26. package/build/commands/drift.js.map +1 -1
  27. package/build/commands/index.d.ts.map +1 -1
  28. package/build/commands/index.js +5 -40
  29. package/build/commands/index.js.map +1 -1
  30. package/build/commands/info.d.ts.map +1 -1
  31. package/build/commands/info.js +50 -33
  32. package/build/commands/info.js.map +1 -1
  33. package/build/commands/init.d.ts.map +1 -1
  34. package/build/commands/init.js +4 -2
  35. package/build/commands/init.js.map +1 -1
  36. package/build/commands/install.d.ts.map +1 -1
  37. package/build/commands/install.js +28 -7
  38. package/build/commands/install.js.map +1 -1
  39. package/build/commands/list.js +2 -2
  40. package/build/commands/list.js.map +1 -1
  41. package/build/commands/login.d.ts.map +1 -1
  42. package/build/commands/login.js +12 -2
  43. package/build/commands/login.js.map +1 -1
  44. package/build/commands/logout.d.ts.map +1 -1
  45. package/build/commands/logout.js +9 -1
  46. package/build/commands/logout.js.map +1 -1
  47. package/build/commands/outdated.js +1 -1
  48. package/build/commands/outdated.js.map +1 -1
  49. package/build/commands/prune.d.ts.map +1 -1
  50. package/build/commands/prune.js +4 -2
  51. package/build/commands/prune.js.map +1 -1
  52. package/build/commands/publish.d.ts +1 -1
  53. package/build/commands/publish.d.ts.map +1 -1
  54. package/build/commands/publish.js +31 -36
  55. package/build/commands/publish.js.map +1 -1
  56. package/build/commands/release-notes.d.ts.map +1 -1
  57. package/build/commands/release-notes.js +4 -0
  58. package/build/commands/release-notes.js.map +1 -1
  59. package/build/commands/schema.d.ts +3 -3
  60. package/build/commands/search.js +1 -1
  61. package/build/commands/search.js.map +1 -1
  62. package/build/commands/sync.d.ts +1 -1
  63. package/build/commands/sync.d.ts.map +1 -1
  64. package/build/commands/sync.js +27 -12
  65. package/build/commands/sync.js.map +1 -1
  66. package/build/commands/update.d.ts.map +1 -1
  67. package/build/commands/update.js +58 -9
  68. package/build/commands/update.js.map +1 -1
  69. package/build/commands/whoami.d.ts.map +1 -1
  70. package/build/commands/whoami.js +16 -4
  71. package/build/commands/whoami.js.map +1 -1
  72. package/build/commands/why.js +3 -4
  73. package/build/commands/why.js.map +1 -1
  74. package/build/components/Header.d.ts +2 -3
  75. package/build/components/Header.d.ts.map +1 -1
  76. package/build/components/Header.js +2 -9
  77. package/build/components/Header.js.map +1 -1
  78. package/build/components/LocalEditsHint.d.ts +16 -0
  79. package/build/components/LocalEditsHint.d.ts.map +1 -0
  80. package/build/components/LocalEditsHint.js +18 -0
  81. package/build/components/LocalEditsHint.js.map +1 -0
  82. package/build/components/SyncAllInSync.d.ts +5 -1
  83. package/build/components/SyncAllInSync.d.ts.map +1 -1
  84. package/build/components/SyncAllInSync.js +2 -2
  85. package/build/components/SyncAllInSync.js.map +1 -1
  86. package/build/components/header-art.d.ts +7 -0
  87. package/build/components/header-art.d.ts.map +1 -0
  88. package/build/components/header-art.js +14 -0
  89. package/build/components/header-art.js.map +1 -0
  90. package/build/components/index.d.ts +1 -0
  91. package/build/components/index.d.ts.map +1 -1
  92. package/build/components/index.js +1 -0
  93. package/build/components/index.js.map +1 -1
  94. package/build/hooks/useListActions.d.ts.map +1 -1
  95. package/build/hooks/useListActions.js +4 -0
  96. package/build/hooks/useListActions.js.map +1 -1
  97. package/build/hooks/usePruneState.d.ts +1 -7
  98. package/build/hooks/usePruneState.d.ts.map +1 -1
  99. package/build/hooks/usePruneState.js +18 -62
  100. package/build/hooks/usePruneState.js.map +1 -1
  101. package/build/hooks/usePublishState.d.ts +43 -8
  102. package/build/hooks/usePublishState.d.ts.map +1 -1
  103. package/build/hooks/usePublishState.js +82 -565
  104. package/build/hooks/usePublishState.js.map +1 -1
  105. package/build/lib/adapter.d.ts +10 -1
  106. package/build/lib/adapter.d.ts.map +1 -1
  107. package/build/lib/adapter.js +46 -3
  108. package/build/lib/adapter.js.map +1 -1
  109. package/build/lib/api-client.d.ts +9 -5
  110. package/build/lib/api-client.d.ts.map +1 -1
  111. package/build/lib/api-client.js +35 -8
  112. package/build/lib/api-client.js.map +1 -1
  113. package/build/lib/atk-api/generated/types.gen.d.ts +4 -4
  114. package/build/lib/auth.d.ts +12 -2
  115. package/build/lib/auth.d.ts.map +1 -1
  116. package/build/lib/auth.js +38 -3
  117. package/build/lib/auth.js.map +1 -1
  118. package/build/lib/checksum.d.ts +40 -14
  119. package/build/lib/checksum.d.ts.map +1 -1
  120. package/build/lib/checksum.js +110 -57
  121. package/build/lib/checksum.js.map +1 -1
  122. package/build/lib/config.d.ts +4 -4
  123. package/build/lib/config.d.ts.map +1 -1
  124. package/build/lib/config.js +31 -8
  125. package/build/lib/config.js.map +1 -1
  126. package/build/lib/diagnostics.d.ts.map +1 -1
  127. package/build/lib/diagnostics.js +10 -7
  128. package/build/lib/diagnostics.js.map +1 -1
  129. package/build/lib/diff-command.js +1 -1
  130. package/build/lib/diff-command.js.map +1 -1
  131. package/build/lib/errors.d.ts +4 -1
  132. package/build/lib/errors.d.ts.map +1 -1
  133. package/build/lib/errors.js.map +1 -1
  134. package/build/lib/format-age.d.ts +3 -0
  135. package/build/lib/format-age.d.ts.map +1 -0
  136. package/build/lib/format-age.js +18 -0
  137. package/build/lib/format-age.js.map +1 -0
  138. package/build/lib/installer.d.ts +8 -11
  139. package/build/lib/installer.d.ts.map +1 -1
  140. package/build/lib/installer.js +83 -28
  141. package/build/lib/installer.js.map +1 -1
  142. package/build/lib/local-edits.d.ts +72 -0
  143. package/build/lib/local-edits.d.ts.map +1 -0
  144. package/build/lib/local-edits.js +145 -0
  145. package/build/lib/local-edits.js.map +1 -0
  146. package/build/lib/lockfile.d.ts +12 -8
  147. package/build/lib/lockfile.d.ts.map +1 -1
  148. package/build/lib/lockfile.js +209 -59
  149. package/build/lib/lockfile.js.map +1 -1
  150. package/build/lib/mover.d.ts.map +1 -1
  151. package/build/lib/mover.js +11 -12
  152. package/build/lib/mover.js.map +1 -1
  153. package/build/lib/multi-tool-install.d.ts +4 -2
  154. package/build/lib/multi-tool-install.d.ts.map +1 -1
  155. package/build/lib/multi-tool-install.js +12 -2
  156. package/build/lib/multi-tool-install.js.map +1 -1
  157. package/build/lib/offline.d.ts +19 -0
  158. package/build/lib/offline.d.ts.map +1 -0
  159. package/build/lib/offline.js +26 -0
  160. package/build/lib/offline.js.map +1 -0
  161. package/build/lib/owned-paths.d.ts +7 -4
  162. package/build/lib/owned-paths.d.ts.map +1 -1
  163. package/build/lib/owned-paths.js +23 -8
  164. package/build/lib/owned-paths.js.map +1 -1
  165. package/build/lib/parse-json.d.ts +12 -0
  166. package/build/lib/parse-json.d.ts.map +1 -1
  167. package/build/lib/parse-json.js +15 -2
  168. package/build/lib/parse-json.js.map +1 -1
  169. package/build/lib/pastel/commander-specs.d.ts +7 -0
  170. package/build/lib/pastel/commander-specs.d.ts.map +1 -0
  171. package/build/lib/pastel/commander-specs.js +50 -0
  172. package/build/lib/pastel/commander-specs.js.map +1 -0
  173. package/build/lib/pastel/generate-arguments.d.ts +3 -3
  174. package/build/lib/pastel/generate-arguments.d.ts.map +1 -1
  175. package/build/lib/pastel/generate-arguments.js +25 -22
  176. package/build/lib/pastel/generate-arguments.js.map +1 -1
  177. package/build/lib/pastel/generate-command.d.ts +7 -5
  178. package/build/lib/pastel/generate-command.d.ts.map +1 -1
  179. package/build/lib/pastel/generate-command.js +32 -67
  180. package/build/lib/pastel/generate-command.js.map +1 -1
  181. package/build/lib/pastel/generate-commands.d.ts +3 -5
  182. package/build/lib/pastel/generate-commands.d.ts.map +1 -1
  183. package/build/lib/pastel/generate-commands.js +6 -10
  184. package/build/lib/pastel/generate-commands.js.map +1 -1
  185. package/build/lib/pastel/generate-options.d.ts +3 -3
  186. package/build/lib/pastel/generate-options.d.ts.map +1 -1
  187. package/build/lib/pastel/generate-options.js +16 -13
  188. package/build/lib/pastel/generate-options.js.map +1 -1
  189. package/build/lib/pastel/index.d.ts +26 -4
  190. package/build/lib/pastel/index.d.ts.map +1 -1
  191. package/build/lib/pastel/index.js +104 -18
  192. package/build/lib/pastel/index.js.map +1 -1
  193. package/build/lib/pastel/internal-types.d.ts +39 -8
  194. package/build/lib/pastel/internal-types.d.ts.map +1 -1
  195. package/build/lib/pastel/manifest.d.ts +8 -0
  196. package/build/lib/pastel/manifest.d.ts.map +1 -0
  197. package/build/lib/pastel/manifest.js +7 -0
  198. package/build/lib/pastel/manifest.js.map +1 -0
  199. package/build/lib/pastel/read-commands.d.ts +7 -2
  200. package/build/lib/pastel/read-commands.d.ts.map +1 -1
  201. package/build/lib/pastel/read-commands.js +51 -30
  202. package/build/lib/pastel/read-commands.js.map +1 -1
  203. package/build/lib/pastel/render-command.d.ts +13 -0
  204. package/build/lib/pastel/render-command.d.ts.map +1 -0
  205. package/build/lib/pastel/render-command.js +56 -0
  206. package/build/lib/pastel/render-command.js.map +1 -0
  207. package/build/lib/process-alive.d.ts +8 -0
  208. package/build/lib/process-alive.d.ts.map +1 -0
  209. package/build/lib/process-alive.js +16 -0
  210. package/build/lib/process-alive.js.map +1 -0
  211. package/build/lib/pruner.d.ts +26 -0
  212. package/build/lib/pruner.d.ts.map +1 -0
  213. package/build/lib/pruner.js +42 -0
  214. package/build/lib/pruner.js.map +1 -0
  215. package/build/lib/publish-flow.d.ts +7 -15
  216. package/build/lib/publish-flow.d.ts.map +1 -1
  217. package/build/lib/publish-flow.js +634 -178
  218. package/build/lib/publish-flow.js.map +1 -1
  219. package/build/lib/publish-run.d.ts +55 -0
  220. package/build/lib/publish-run.d.ts.map +1 -0
  221. package/build/lib/publish-run.js +169 -0
  222. package/build/lib/publish-run.js.map +1 -0
  223. package/build/lib/publisher.d.ts +23 -16
  224. package/build/lib/publisher.d.ts.map +1 -1
  225. package/build/lib/publisher.js +34 -35
  226. package/build/lib/publisher.js.map +1 -1
  227. package/build/lib/registrar.d.ts.map +1 -1
  228. package/build/lib/registrar.js +2 -2
  229. package/build/lib/registrar.js.map +1 -1
  230. package/build/lib/registry.d.ts +18 -7
  231. package/build/lib/registry.d.ts.map +1 -1
  232. package/build/lib/registry.js +113 -32
  233. package/build/lib/registry.js.map +1 -1
  234. package/build/lib/root-path.d.ts +11 -0
  235. package/build/lib/root-path.d.ts.map +1 -1
  236. package/build/lib/root-path.js +15 -1
  237. package/build/lib/root-path.js.map +1 -1
  238. package/build/lib/schemas/config.d.ts +3 -1
  239. package/build/lib/schemas/config.d.ts.map +1 -1
  240. package/build/lib/schemas/config.js +1 -1
  241. package/build/lib/schemas/config.js.map +1 -1
  242. package/build/lib/schemas/lockfile.d.ts +156 -23
  243. package/build/lib/schemas/lockfile.d.ts.map +1 -1
  244. package/build/lib/schemas/lockfile.js +100 -79
  245. package/build/lib/schemas/lockfile.js.map +1 -1
  246. package/build/lib/setup.d.ts.map +1 -1
  247. package/build/lib/setup.js +53 -48
  248. package/build/lib/setup.js.map +1 -1
  249. package/build/lib/sync.d.ts +22 -6
  250. package/build/lib/sync.d.ts.map +1 -1
  251. package/build/lib/sync.js +59 -7
  252. package/build/lib/sync.js.map +1 -1
  253. package/build/lib/uninstaller.d.ts.map +1 -1
  254. package/build/lib/uninstaller.js +8 -5
  255. package/build/lib/uninstaller.js.map +1 -1
  256. package/build/lib/update-check.d.ts +4 -0
  257. package/build/lib/update-check.d.ts.map +1 -1
  258. package/build/lib/update-check.js +55 -56
  259. package/build/lib/update-check.js.map +1 -1
  260. package/build/lib/updater.d.ts +31 -1
  261. package/build/lib/updater.d.ts.map +1 -1
  262. package/build/lib/updater.js +143 -4
  263. package/build/lib/updater.js.map +1 -1
  264. package/build/lib/usage-error.d.ts +20 -0
  265. package/build/lib/usage-error.d.ts.map +1 -0
  266. package/build/lib/usage-error.js +41 -0
  267. package/build/lib/usage-error.js.map +1 -0
  268. package/build/lib/user-setup.d.ts.map +1 -1
  269. package/build/lib/user-setup.js +62 -59
  270. package/build/lib/user-setup.js.map +1 -1
  271. package/build/lib/write-file.d.ts +5 -0
  272. package/build/lib/write-file.d.ts.map +1 -1
  273. package/build/lib/write-file.js +68 -13
  274. package/build/lib/write-file.js.map +1 -1
  275. package/package.json +81 -81
@@ -0,0 +1,1507 @@
1
+ [
2
+ {
3
+ "isDefault": false,
4
+ "name": "audit",
5
+ "description": "Verify asset integrity via checksum validation",
6
+ "file": "audit.js",
7
+ "options": [
8
+ {
9
+ "flags": "-j, --json",
10
+ "description": "Output raw JSON (for scripting and CI)",
11
+ "defaultValue": false
12
+ },
13
+ {
14
+ "flags": "-P, --project-root [project-root]",
15
+ "description": "Override project root directory"
16
+ },
17
+ {
18
+ "flags": "-T, --tool [tool]",
19
+ "description": "Target tool (e.g., claude-code)"
20
+ },
21
+ {
22
+ "flags": "--user",
23
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
24
+ "defaultValue": false
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ "isDefault": false,
30
+ "name": "browse",
31
+ "args": [
32
+ {
33
+ "description": "Pre-fill the filter text",
34
+ "name": "[filter]"
35
+ }
36
+ ],
37
+ "description": "Interactively browse the asset registry",
38
+ "file": "browse.js",
39
+ "options": [
40
+ {
41
+ "flags": "-j, --json",
42
+ "description": "Output raw JSON (for scripting and CI)",
43
+ "defaultValue": false
44
+ },
45
+ {
46
+ "flags": "-o, --org [org]",
47
+ "description": "Filter assets by organization scope"
48
+ },
49
+ {
50
+ "flags": "-P, --project-root [project-root]",
51
+ "description": "Override project root directory"
52
+ },
53
+ {
54
+ "flags": "-r, --refresh",
55
+ "description": "Bypass the registry cache and fetch fresh data",
56
+ "defaultValue": false
57
+ },
58
+ {
59
+ "flags": "-t, --type [type]",
60
+ "description": "Pre-select asset type filter (e.g., skill, agent, rule)"
61
+ },
62
+ {
63
+ "flags": "--user",
64
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
65
+ "defaultValue": false
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "isDefault": false,
71
+ "name": "cache",
72
+ "args": [
73
+ {
74
+ "description": "Cache subcommand: status (default), clean, or clear",
75
+ "name": "[subcommand]",
76
+ "choices": [
77
+ "clean",
78
+ "clear",
79
+ "status"
80
+ ]
81
+ }
82
+ ],
83
+ "description": "Manage the registry cache",
84
+ "file": "cache.js",
85
+ "options": [
86
+ {
87
+ "flags": "-j, --json",
88
+ "description": "Output raw JSON (for scripting and CI)",
89
+ "defaultValue": false
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "isDefault": false,
95
+ "name": "checkout",
96
+ "args": [
97
+ {
98
+ "description": "Asset name (kebab-case or @org/name)",
99
+ "name": "<name>"
100
+ },
101
+ {
102
+ "description": "Destination directory (defaults to ./<name> without the @org prefix)",
103
+ "name": "[dest]"
104
+ }
105
+ ],
106
+ "description": "Fetch a writable working copy of a registry asset",
107
+ "file": "checkout.js",
108
+ "options": [
109
+ {
110
+ "flags": "-f, --force",
111
+ "description": "Allow writing into a non-empty destination",
112
+ "defaultValue": false
113
+ },
114
+ {
115
+ "flags": "-j, --json",
116
+ "description": "Output raw JSON (for scripting and CI)",
117
+ "defaultValue": false
118
+ },
119
+ {
120
+ "flags": "-r, --refresh",
121
+ "description": "Bypass the registry cache and fetch fresh data",
122
+ "defaultValue": false
123
+ },
124
+ {
125
+ "flags": "-V, --version [version]",
126
+ "description": "Specific version to check out (defaults to latest)"
127
+ }
128
+ ]
129
+ },
130
+ {
131
+ "isDefault": false,
132
+ "name": "config",
133
+ "args": [
134
+ {
135
+ "description": "Config key",
136
+ "name": "[key]"
137
+ },
138
+ {
139
+ "description": "Config value (set if provided)",
140
+ "name": "[value]"
141
+ }
142
+ ],
143
+ "description": "Get, set, list, or reset configuration values",
144
+ "file": "config.js",
145
+ "options": [
146
+ {
147
+ "flags": "-j, --json",
148
+ "description": "Output raw JSON (for scripting and CI)",
149
+ "defaultValue": false
150
+ },
151
+ {
152
+ "flags": "-R, --reset",
153
+ "description": "Reset a key to its default value",
154
+ "defaultValue": false
155
+ }
156
+ ]
157
+ },
158
+ {
159
+ "isDefault": false,
160
+ "name": "deprecate",
161
+ "args": [
162
+ {
163
+ "description": "Asset or bundle name; accepts @org/name",
164
+ "name": "<name>"
165
+ }
166
+ ],
167
+ "description": "Deprecate an asset or bundle (or undo it) via PR, without publishing a version",
168
+ "file": "deprecate.js",
169
+ "options": [
170
+ {
171
+ "flags": "-b, --bundle",
172
+ "description": "The name is a bundle (same as --type bundle)",
173
+ "defaultValue": false
174
+ },
175
+ {
176
+ "flags": "-d, --dry-run",
177
+ "description": "Show what would happen without creating the PR",
178
+ "defaultValue": false
179
+ },
180
+ {
181
+ "flags": "-j, --json",
182
+ "description": "Output raw JSON (for scripting and CI)",
183
+ "defaultValue": false
184
+ },
185
+ {
186
+ "flags": "-P, --project-root [project-root]",
187
+ "description": "Override project root directory"
188
+ },
189
+ {
190
+ "flags": "-m, --reason [reason]",
191
+ "description": "Why it is deprecated, shown to everyone who installs it (required unless --undo)"
192
+ },
193
+ {
194
+ "flags": "--replacement [replacement]",
195
+ "description": "What to use instead: name or @org/name of an asset or bundle in the registry"
196
+ },
197
+ {
198
+ "flags": "-t, --type [type]",
199
+ "description": "Asset type, or \"bundle\", when the name exists more than once in the same scope",
200
+ "choices": [
201
+ "skill",
202
+ "agent",
203
+ "rule",
204
+ "hook",
205
+ "memory-template",
206
+ "mcp-config",
207
+ "bundle"
208
+ ]
209
+ },
210
+ {
211
+ "flags": "--undo",
212
+ "description": "Remove the deprecation instead of setting it",
213
+ "defaultValue": false
214
+ },
215
+ {
216
+ "flags": "-y, --yes",
217
+ "description": "Skip confirmation prompt",
218
+ "defaultValue": false
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "isDefault": false,
224
+ "name": "diff",
225
+ "args": [
226
+ {
227
+ "description": "Asset name (supports @org/name syntax)",
228
+ "name": "<name>"
229
+ }
230
+ ],
231
+ "description": "Show changes between installed and latest version",
232
+ "file": "diff.js",
233
+ "options": [
234
+ {
235
+ "flags": "-C, --context [context]",
236
+ "description": "Number of context lines around each change",
237
+ "parse": "number",
238
+ "defaultValue": 3
239
+ },
240
+ {
241
+ "flags": "-j, --json",
242
+ "description": "Output raw JSON (for scripting and CI)",
243
+ "defaultValue": false
244
+ },
245
+ {
246
+ "flags": "-o, --org [org]",
247
+ "description": "Organization scope of the asset to diff"
248
+ },
249
+ {
250
+ "flags": "-P, --project-root [project-root]",
251
+ "description": "Override project root directory"
252
+ },
253
+ {
254
+ "flags": "-r, --refresh",
255
+ "description": "Bypass the registry cache and fetch fresh data",
256
+ "defaultValue": false
257
+ },
258
+ {
259
+ "flags": "-T, --tool [tool]",
260
+ "description": "Target tool (e.g., claude-code)"
261
+ },
262
+ {
263
+ "flags": "--user",
264
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
265
+ "defaultValue": false
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "isDefault": false,
271
+ "name": "doctor",
272
+ "description": "Check environment health and diagnose issues",
273
+ "file": "doctor.js",
274
+ "options": [
275
+ {
276
+ "flags": "-j, --json",
277
+ "description": "Output raw JSON (for scripting and CI)",
278
+ "defaultValue": false
279
+ },
280
+ {
281
+ "flags": "-P, --project-root [project-root]",
282
+ "description": "Override project root directory"
283
+ },
284
+ {
285
+ "flags": "--user",
286
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
287
+ "defaultValue": false
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "isDefault": false,
293
+ "name": "drift",
294
+ "args": [
295
+ {
296
+ "description": "Path to the local asset directory (defaults to the current directory)",
297
+ "name": "[path]"
298
+ }
299
+ ],
300
+ "description": "Compare a local asset directory against the latest published version",
301
+ "file": "drift.js",
302
+ "options": [
303
+ {
304
+ "flags": "-j, --json",
305
+ "description": "Output raw JSON (for scripting and CI)",
306
+ "defaultValue": false
307
+ },
308
+ {
309
+ "flags": "-n, --name [name]",
310
+ "description": "Asset name (name or @org/name) to compare against, overriding the manifest"
311
+ },
312
+ {
313
+ "flags": "-r, --refresh",
314
+ "description": "Bypass the registry cache and fetch fresh data",
315
+ "defaultValue": false
316
+ },
317
+ {
318
+ "flags": "-V, --version [version]",
319
+ "description": "Compare against a specific published version (defaults to latest)"
320
+ }
321
+ ]
322
+ },
323
+ {
324
+ "isDefault": false,
325
+ "name": "freeze",
326
+ "args": [
327
+ {
328
+ "description": "Asset name to freeze (supports @org/name syntax)",
329
+ "name": "<name>"
330
+ }
331
+ ],
332
+ "description": "Freeze an installed asset to prevent sync and update from overwriting it",
333
+ "file": "freeze.js",
334
+ "options": [
335
+ {
336
+ "flags": "-j, --json",
337
+ "description": "Output raw JSON (for scripting and CI)",
338
+ "defaultValue": false
339
+ },
340
+ {
341
+ "flags": "-P, --project-root [project-root]",
342
+ "description": "Override project root directory"
343
+ },
344
+ {
345
+ "flags": "-t, --type [type]",
346
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
347
+ "choices": [
348
+ "skill",
349
+ "agent",
350
+ "rule",
351
+ "hook",
352
+ "memory-template",
353
+ "mcp-config"
354
+ ]
355
+ },
356
+ {
357
+ "flags": "--user",
358
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
359
+ "defaultValue": false
360
+ }
361
+ ]
362
+ },
363
+ {
364
+ "isDefault": false,
365
+ "name": "index",
366
+ "description": "Agentic Tool Kit — manage assets for AI coding tools",
367
+ "file": "index.js"
368
+ },
369
+ {
370
+ "isDefault": false,
371
+ "name": "info",
372
+ "args": [
373
+ {
374
+ "description": "Asset or bundle name (supports name@version and @org/name syntax)",
375
+ "name": "<name>"
376
+ }
377
+ ],
378
+ "description": "Show details about an asset or bundle",
379
+ "file": "info.js",
380
+ "options": [
381
+ {
382
+ "flags": "-f, --full",
383
+ "description": "Show the whole README instead of the first 20 lines",
384
+ "defaultValue": false
385
+ },
386
+ {
387
+ "flags": "-j, --json",
388
+ "description": "Output raw JSON (for scripting and CI)",
389
+ "defaultValue": false
390
+ },
391
+ {
392
+ "flags": "-o, --org [org]",
393
+ "description": "Filter assets by organization scope"
394
+ },
395
+ {
396
+ "flags": "-r, --refresh",
397
+ "description": "Bypass the registry cache and fetch fresh data",
398
+ "defaultValue": false
399
+ },
400
+ {
401
+ "flags": "-t, --type [type]",
402
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
403
+ "choices": [
404
+ "skill",
405
+ "agent",
406
+ "rule",
407
+ "hook",
408
+ "memory-template",
409
+ "mcp-config"
410
+ ]
411
+ },
412
+ {
413
+ "flags": "-v, --verbose",
414
+ "description": "Show additional details like checksum",
415
+ "defaultValue": false
416
+ },
417
+ {
418
+ "flags": "-V, --version [version]",
419
+ "description": "Show info for a specific version (exact or semver range)"
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "isDefault": false,
425
+ "name": "init",
426
+ "args": [
427
+ {
428
+ "description": "Asset type (skill, agent, rule, hook, memory-template, mcp-config, bundle)",
429
+ "name": "<type>"
430
+ }
431
+ ],
432
+ "description": "Scaffold a new asset or bundle",
433
+ "file": "init.js",
434
+ "options": [
435
+ {
436
+ "flags": "-a, --author [author]",
437
+ "description": "Author name"
438
+ },
439
+ {
440
+ "flags": "--bundle-assets [bundle-assets]",
441
+ "description": "Comma-separated type:name pairs (skips bundle-assets prompt)"
442
+ },
443
+ {
444
+ "flags": "--dependency [dependency...]",
445
+ "description": "Dependency as type:name[@range], where range is a semver range or latest; repeat or comma-separate (e.g., --dependency skill:my-skill@^1.0.0). Skips the dependency search prompt; --dependency \"\" declares none"
446
+ },
447
+ {
448
+ "flags": "-d, --description [description]",
449
+ "description": "Short description"
450
+ },
451
+ {
452
+ "flags": "-F, --from [from]",
453
+ "description": "Fork from an installed asset name or a local file/directory path"
454
+ },
455
+ {
456
+ "flags": "-n, --name [name]",
457
+ "description": "Asset name (kebab-case)"
458
+ },
459
+ {
460
+ "flags": "-O, --offline",
461
+ "description": "Skip registry name availability check (as the global --offline does)",
462
+ "defaultValue": false
463
+ },
464
+ {
465
+ "flags": "-o, --org [org]",
466
+ "description": "Organization scope for the new asset"
467
+ },
468
+ {
469
+ "flags": "--tags [tags]",
470
+ "description": "Comma-separated tags (skips tags prompt)"
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "isDefault": false,
476
+ "name": "install",
477
+ "args": [
478
+ {
479
+ "description": "Asset, bundle, or org scope to install (supports name@version and @org)",
480
+ "name": "[target]"
481
+ }
482
+ ],
483
+ "description": "Install an asset or bundle (no args syncs from lockfile)",
484
+ "file": "install.js",
485
+ "options": [
486
+ {
487
+ "flags": "-a, --all",
488
+ "description": "Install every asset from an org scope without prompting (for `atk install @org`; required with --json or no terminal)",
489
+ "defaultValue": false
490
+ },
491
+ {
492
+ "flags": "-n, --dry-run",
493
+ "description": "Show what would be installed without making changes",
494
+ "defaultValue": false
495
+ },
496
+ {
497
+ "flags": "-f, --force",
498
+ "description": "Force reinstall even if already installed (with no asset: re-sync every asset, overwriting local edits)",
499
+ "defaultValue": false
500
+ },
501
+ {
502
+ "flags": "-j, --json",
503
+ "description": "Output raw JSON (for scripting and CI)",
504
+ "defaultValue": false
505
+ },
506
+ {
507
+ "flags": "-o, --org [org]",
508
+ "description": "Organization scope to resolve assets from"
509
+ },
510
+ {
511
+ "flags": "-p, --pin",
512
+ "description": "Pin the asset at the installed version",
513
+ "defaultValue": false
514
+ },
515
+ {
516
+ "flags": "-P, --project-root [project-root]",
517
+ "description": "Override project root directory"
518
+ },
519
+ {
520
+ "flags": "-r, --refresh",
521
+ "description": "Bypass the registry cache when syncing (no name); installing a name or @org always checks the registry",
522
+ "defaultValue": false
523
+ },
524
+ {
525
+ "flags": "-T, --tool [tool]",
526
+ "description": "Target tool (e.g., claude-code)"
527
+ },
528
+ {
529
+ "flags": "--user",
530
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
531
+ "defaultValue": false
532
+ },
533
+ {
534
+ "flags": "-y, --yes",
535
+ "description": "Alias for --all: install every asset from an org scope without prompting",
536
+ "defaultValue": false
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "isDefault": false,
542
+ "name": "list",
543
+ "args": [],
544
+ "description": "List installed assets",
545
+ "file": "list.js",
546
+ "options": [
547
+ {
548
+ "flags": "-j, --json",
549
+ "description": "Output raw JSON (for scripting and CI)",
550
+ "defaultValue": false
551
+ },
552
+ {
553
+ "flags": "--project",
554
+ "description": "Show only the project, without the user scope",
555
+ "defaultValue": false
556
+ },
557
+ {
558
+ "flags": "-P, --project-root [project-root]",
559
+ "description": "Override project root directory"
560
+ },
561
+ {
562
+ "flags": "-T, --tool [tool]",
563
+ "description": "Target tool (e.g., claude-code)"
564
+ },
565
+ {
566
+ "flags": "-t, --type [type]",
567
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
568
+ "choices": [
569
+ "skill",
570
+ "agent",
571
+ "rule",
572
+ "hook",
573
+ "memory-template",
574
+ "mcp-config"
575
+ ]
576
+ },
577
+ {
578
+ "flags": "--user",
579
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
580
+ "defaultValue": false
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "isDefault": false,
586
+ "name": "login",
587
+ "description": "Sign in with your Emergent (Microsoft Entra) account",
588
+ "file": "login.js",
589
+ "options": [
590
+ {
591
+ "flags": "-f, --force",
592
+ "description": "Discard the current session and sign in again",
593
+ "defaultValue": false
594
+ },
595
+ {
596
+ "flags": "-j, --json",
597
+ "description": "Output raw JSON (for scripting and CI)",
598
+ "defaultValue": false
599
+ }
600
+ ]
601
+ },
602
+ {
603
+ "isDefault": false,
604
+ "name": "logout",
605
+ "description": "Sign out of your Emergent account",
606
+ "file": "logout.js",
607
+ "options": [
608
+ {
609
+ "flags": "-j, --json",
610
+ "description": "Output raw JSON (for scripting and CI)",
611
+ "defaultValue": false
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "isDefault": false,
617
+ "name": "move",
618
+ "args": [
619
+ {
620
+ "description": "Asset name to move (supports @org/name syntax)",
621
+ "name": "<name>"
622
+ }
623
+ ],
624
+ "description": "Move an installed asset between the project and the user scope",
625
+ "file": "move.js",
626
+ "options": [
627
+ {
628
+ "flags": "--dry-run",
629
+ "description": "Show what would be installed and removed without making changes",
630
+ "defaultValue": false
631
+ },
632
+ {
633
+ "flags": "-f, --force",
634
+ "description": "Move a frozen asset with local edits (they are lost), and overwrite files at the target that ATK didn't install",
635
+ "defaultValue": false
636
+ },
637
+ {
638
+ "flags": "-j, --json",
639
+ "description": "Output raw JSON (for scripting and CI)",
640
+ "defaultValue": false
641
+ },
642
+ {
643
+ "flags": "-P, --project-root [project-root]",
644
+ "description": "The project side of the move (default: the project at the current directory)"
645
+ },
646
+ {
647
+ "flags": "--to <to>",
648
+ "description": "The scope to move the asset to: user (the user root, ~ by default) or project",
649
+ "choices": [
650
+ "project",
651
+ "user"
652
+ ]
653
+ },
654
+ {
655
+ "flags": "-t, --type [type]",
656
+ "description": "Asset type, when the name is installed as more than one type",
657
+ "choices": [
658
+ "skill",
659
+ "agent",
660
+ "rule",
661
+ "hook",
662
+ "memory-template",
663
+ "mcp-config"
664
+ ]
665
+ }
666
+ ]
667
+ },
668
+ {
669
+ "isDefault": false,
670
+ "name": "outdated",
671
+ "description": "Show available updates for installed assets",
672
+ "file": "outdated.js",
673
+ "options": [
674
+ {
675
+ "flags": "-j, --json",
676
+ "description": "Output raw JSON (for scripting and CI)",
677
+ "defaultValue": false
678
+ },
679
+ {
680
+ "flags": "--project",
681
+ "description": "Check only the project, without the user scope",
682
+ "defaultValue": false
683
+ },
684
+ {
685
+ "flags": "-P, --project-root [project-root]",
686
+ "description": "Override project root directory"
687
+ },
688
+ {
689
+ "flags": "-r, --refresh",
690
+ "description": "Kept for compatibility: outdated always checks the registry for new versions",
691
+ "defaultValue": false
692
+ },
693
+ {
694
+ "flags": "-T, --tool [tool]",
695
+ "description": "Tool name shown in the output (e.g., claude-code); does not filter results"
696
+ },
697
+ {
698
+ "flags": "-t, --type [type]",
699
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
700
+ "choices": [
701
+ "skill",
702
+ "agent",
703
+ "rule",
704
+ "hook",
705
+ "memory-template",
706
+ "mcp-config"
707
+ ]
708
+ },
709
+ {
710
+ "flags": "--user",
711
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
712
+ "defaultValue": false
713
+ }
714
+ ]
715
+ },
716
+ {
717
+ "isDefault": false,
718
+ "name": "pin",
719
+ "args": [
720
+ {
721
+ "description": "Asset name (supports @org/name); an @version suffix must be the installed version. To pin another version, run atk install <name>@<version> --pin",
722
+ "name": "<name>"
723
+ }
724
+ ],
725
+ "description": "Pin an installed asset at its installed version",
726
+ "file": "pin.js",
727
+ "options": [
728
+ {
729
+ "flags": "-j, --json",
730
+ "description": "Output raw JSON (for scripting and CI)",
731
+ "defaultValue": false
732
+ },
733
+ {
734
+ "flags": "-P, --project-root [project-root]",
735
+ "description": "Override project root directory"
736
+ },
737
+ {
738
+ "flags": "-t, --type [type]",
739
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
740
+ "choices": [
741
+ "skill",
742
+ "agent",
743
+ "rule",
744
+ "hook",
745
+ "memory-template",
746
+ "mcp-config"
747
+ ]
748
+ },
749
+ {
750
+ "flags": "--user",
751
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
752
+ "defaultValue": false
753
+ }
754
+ ]
755
+ },
756
+ {
757
+ "isDefault": false,
758
+ "name": "promote",
759
+ "args": [
760
+ {
761
+ "description": "Org-scoped asset or bundle name (e.g. @org/name)",
762
+ "name": "<name>"
763
+ }
764
+ ],
765
+ "description": "Promote an org-scoped asset or bundle to the global namespace",
766
+ "file": "promote.js",
767
+ "options": [
768
+ {
769
+ "flags": "-d, --dry-run",
770
+ "description": "Show what would happen without creating the PR",
771
+ "defaultValue": false
772
+ },
773
+ {
774
+ "flags": "-P, --project-root [project-root]",
775
+ "description": "Override project root directory"
776
+ },
777
+ {
778
+ "flags": "-r, --refresh",
779
+ "description": "No longer used (the plan always comes from the live registry); kept for compatibility",
780
+ "defaultValue": false
781
+ },
782
+ {
783
+ "flags": "-t, --type [type]",
784
+ "description": "Asset type, or \"bundle\", when the name exists more than once in the org",
785
+ "choices": [
786
+ "skill",
787
+ "agent",
788
+ "rule",
789
+ "hook",
790
+ "memory-template",
791
+ "mcp-config",
792
+ "bundle"
793
+ ]
794
+ },
795
+ {
796
+ "flags": "-y, --yes",
797
+ "description": "Skip confirmation prompt",
798
+ "defaultValue": false
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "isDefault": false,
804
+ "name": "prune",
805
+ "description": "Remove orphaned dependencies",
806
+ "file": "prune.js",
807
+ "options": [
808
+ {
809
+ "flags": "-n, --dry-run",
810
+ "description": "Show what would be pruned without making changes",
811
+ "defaultValue": false
812
+ },
813
+ {
814
+ "flags": "-j, --json",
815
+ "description": "Output raw JSON (for scripting and CI)",
816
+ "defaultValue": false
817
+ },
818
+ {
819
+ "flags": "-P, --project-root [project-root]",
820
+ "description": "Override project root directory"
821
+ },
822
+ {
823
+ "flags": "-T, --tool [tool]",
824
+ "description": "Target tool (e.g., claude-code)"
825
+ },
826
+ {
827
+ "flags": "--user",
828
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
829
+ "defaultValue": false
830
+ },
831
+ {
832
+ "flags": "-y, --yes",
833
+ "description": "Skip confirmation prompt",
834
+ "defaultValue": false
835
+ }
836
+ ]
837
+ },
838
+ {
839
+ "isDefault": false,
840
+ "name": "publish",
841
+ "args": [
842
+ {
843
+ "description": "Path to asset/bundle directory (with manifest), or path to a raw file/directory to publish without scaffolding. When --update or --from-installed is used, this is an installed asset name",
844
+ "name": "<path>"
845
+ },
846
+ {
847
+ "description": "More asset folders (each with a manifest.json) to publish with the first in one PR, all or nothing; no bundles",
848
+ "name": "[paths...]"
849
+ }
850
+ ],
851
+ "description": "Publish one or more assets, or a bundle, to the registry",
852
+ "file": "publish.js",
853
+ "options": [
854
+ {
855
+ "flags": "--bump [bump]",
856
+ "description": "Auto-bump version when registry has the same or newer version (patch|minor|major); applies to every asset that needs it",
857
+ "choices": [
858
+ "patch",
859
+ "minor",
860
+ "major"
861
+ ]
862
+ },
863
+ {
864
+ "flags": "--description [description]",
865
+ "description": "Asset description (skips interactive prompt); one path only"
866
+ },
867
+ {
868
+ "flags": "-d, --dry-run",
869
+ "description": "Show what would happen (including how dependencies resolve) without creating the PR",
870
+ "defaultValue": false
871
+ },
872
+ {
873
+ "flags": "-f, --force",
874
+ "description": "Bypass org-mismatch safety check (manifest.org vs lockfile.org)",
875
+ "defaultValue": false
876
+ },
877
+ {
878
+ "flags": "-i, --from-installed",
879
+ "description": "Treat the path argument as an installed asset name; one path only",
880
+ "defaultValue": false
881
+ },
882
+ {
883
+ "flags": "-j, --json",
884
+ "description": "Output raw JSON (for scripting and CI)",
885
+ "defaultValue": false
886
+ },
887
+ {
888
+ "flags": "-m, --message [message]",
889
+ "description": "Custom message appended to the auto-generated PR description"
890
+ },
891
+ {
892
+ "flags": "-P, --project-root [project-root]",
893
+ "description": "Override project root directory"
894
+ },
895
+ {
896
+ "flags": "-r, --refresh",
897
+ "description": "Bypass the registry cache and fetch fresh data",
898
+ "defaultValue": false
899
+ },
900
+ {
901
+ "flags": "--reviewer [reviewer]",
902
+ "description": "Comma-separated GitHub usernames to request as PR reviewers (needs at least one org-scoped asset)"
903
+ },
904
+ {
905
+ "flags": "--tags [tags]",
906
+ "description": "Comma-separated tags (skips interactive prompt); one path only"
907
+ },
908
+ {
909
+ "flags": "-T, --tool [tool]",
910
+ "description": "Target tool (e.g., claude-code)"
911
+ },
912
+ {
913
+ "flags": "--tools [tools]",
914
+ "description": "Comma-separated list of compatible tools (skips tools-detection prompt); one path only"
915
+ },
916
+ {
917
+ "flags": "-u, --update",
918
+ "description": "Publish an update using locally modified installed files; one path only",
919
+ "defaultValue": false
920
+ },
921
+ {
922
+ "flags": "--with [folder...]",
923
+ "description": "Folder of a new dependency (an asset with a manifest.json) to publish in the same PR; repeat for each one"
924
+ },
925
+ {
926
+ "flags": "-y, --yes",
927
+ "description": "Skip confirmation prompts (use with --description, --tags, etc.)",
928
+ "defaultValue": false
929
+ }
930
+ ]
931
+ },
932
+ {
933
+ "isDefault": false,
934
+ "name": "register",
935
+ "args": [
936
+ {
937
+ "description": "Target directory containing the asset files",
938
+ "name": "<path>"
939
+ }
940
+ ],
941
+ "description": "Drop a manifest.json into an existing local directory",
942
+ "file": "register.js",
943
+ "options": [
944
+ {
945
+ "flags": "-a, --author [author]",
946
+ "description": "Author name"
947
+ },
948
+ {
949
+ "flags": "-d, --description [description]",
950
+ "description": "Short description"
951
+ },
952
+ {
953
+ "flags": "-e, --entrypoint [entrypoint]",
954
+ "description": "Override auto-detected entrypoint (relative to target dir)"
955
+ },
956
+ {
957
+ "flags": "-f, --force",
958
+ "description": "Overwrite an existing manifest.json",
959
+ "defaultValue": false
960
+ },
961
+ {
962
+ "flags": "-j, --json",
963
+ "description": "Output raw JSON (for scripting and CI)",
964
+ "defaultValue": false
965
+ },
966
+ {
967
+ "flags": "-n, --name [name]",
968
+ "description": "Asset name (kebab-case or @org/name)"
969
+ },
970
+ {
971
+ "flags": "-o, --org [org]",
972
+ "description": "Organization scope (alternative to @org/ prefix on --name)"
973
+ },
974
+ {
975
+ "flags": "--tags [tags]",
976
+ "description": "Comma-separated tags"
977
+ },
978
+ {
979
+ "flags": "--tools [tools]",
980
+ "description": "Comma-separated compatible tools (e.g., claude-code)"
981
+ },
982
+ {
983
+ "flags": "-t, --type [type]",
984
+ "description": "Asset type (skill, agent, rule, hook, memory-template, mcp-config)",
985
+ "choices": [
986
+ "skill",
987
+ "agent",
988
+ "rule",
989
+ "hook",
990
+ "memory-template",
991
+ "mcp-config"
992
+ ]
993
+ }
994
+ ]
995
+ },
996
+ {
997
+ "isDefault": false,
998
+ "name": "release-notes",
999
+ "args": [
1000
+ {
1001
+ "description": "A specific version to show notes for (e.g. 1.3.0)",
1002
+ "name": "[version]"
1003
+ }
1004
+ ],
1005
+ "description": "Show ATK release notes — recent history or a specific version",
1006
+ "file": "release-notes.js",
1007
+ "options": [
1008
+ {
1009
+ "flags": "-a, --all",
1010
+ "description": "Show the full release history instead of just the 15 most recent",
1011
+ "defaultValue": false
1012
+ },
1013
+ {
1014
+ "flags": "-j, --json",
1015
+ "description": "Output raw JSON (for scripting and CI)",
1016
+ "defaultValue": false
1017
+ },
1018
+ {
1019
+ "flags": "-p, --prerelease",
1020
+ "description": "Include pre-releases (-dev.N, betas) in the listing (default when running a pre-release build)",
1021
+ "defaultValue": false
1022
+ }
1023
+ ]
1024
+ },
1025
+ {
1026
+ "isDefault": false,
1027
+ "name": "reviewer",
1028
+ "args": [
1029
+ {
1030
+ "description": "Comma-separated GitHub usernames to set as reviewers",
1031
+ "name": "[reviewers]"
1032
+ }
1033
+ ],
1034
+ "description": "Get, set, or clear the designated PR reviewers for org-scoped asset publishes",
1035
+ "file": "reviewer.js",
1036
+ "options": [
1037
+ {
1038
+ "flags": "-j, --json",
1039
+ "description": "Output raw JSON (for scripting and CI)",
1040
+ "defaultValue": false
1041
+ },
1042
+ {
1043
+ "flags": "-P, --project-root [project-root]",
1044
+ "description": "Override project root directory"
1045
+ },
1046
+ {
1047
+ "flags": "-R, --reset",
1048
+ "description": "Clear the configured reviewers",
1049
+ "defaultValue": false
1050
+ }
1051
+ ]
1052
+ },
1053
+ {
1054
+ "isDefault": false,
1055
+ "name": "schema",
1056
+ "args": [
1057
+ {
1058
+ "description": "Schema to show: skill | agent | rule | hook | memory-template | mcp-config | bundle | adapter | lockfile | config | registry",
1059
+ "name": "<schema>",
1060
+ "choices": [
1061
+ "skill",
1062
+ "agent",
1063
+ "rule",
1064
+ "hook",
1065
+ "memory-template",
1066
+ "mcp-config",
1067
+ "bundle",
1068
+ "adapter",
1069
+ "lockfile",
1070
+ "config",
1071
+ "registry"
1072
+ ]
1073
+ }
1074
+ ],
1075
+ "description": "Show the schema for an asset type, bundle, adapter, lockfile, config, or registry",
1076
+ "file": "schema.js",
1077
+ "options": [
1078
+ {
1079
+ "flags": "-j, --json",
1080
+ "description": "Output JSON Schema instead of the field table",
1081
+ "defaultValue": false
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "isDefault": false,
1087
+ "name": "search",
1088
+ "args": [
1089
+ {
1090
+ "description": "Search query",
1091
+ "name": "<query>"
1092
+ }
1093
+ ],
1094
+ "description": "Search for assets and bundles in the registry",
1095
+ "file": "search.js",
1096
+ "options": [
1097
+ {
1098
+ "flags": "-j, --json",
1099
+ "description": "Output raw JSON (for scripting and CI)",
1100
+ "defaultValue": false
1101
+ },
1102
+ {
1103
+ "flags": "-o, --org [org]",
1104
+ "description": "Filter assets by organization scope"
1105
+ },
1106
+ {
1107
+ "flags": "-r, --refresh",
1108
+ "description": "Bypass the registry cache and fetch fresh data",
1109
+ "defaultValue": false
1110
+ },
1111
+ {
1112
+ "flags": "-g, --tag [tag]",
1113
+ "description": "Filter by tag"
1114
+ },
1115
+ {
1116
+ "flags": "-T, --tool [tool]",
1117
+ "description": "Filter by tool compatibility"
1118
+ },
1119
+ {
1120
+ "flags": "-t, --type [type]",
1121
+ "description": "Filter by type (skill, agent, rule, hook, memory-template, mcp-config, bundle)"
1122
+ }
1123
+ ]
1124
+ },
1125
+ {
1126
+ "isDefault": false,
1127
+ "name": "setup",
1128
+ "description": "Initialize ATK in a project or the user scope — select tools and create config files",
1129
+ "file": "setup.js",
1130
+ "options": [
1131
+ {
1132
+ "flags": "--json",
1133
+ "description": "Output as JSON",
1134
+ "defaultValue": false
1135
+ },
1136
+ {
1137
+ "flags": "-o, --org [org]",
1138
+ "description": "Set the organization scope"
1139
+ },
1140
+ {
1141
+ "flags": "-P, --project-root [project-root]",
1142
+ "description": "Override project root directory"
1143
+ },
1144
+ {
1145
+ "flags": "-T, --tool [tools...]",
1146
+ "description": "Tool(s) to configure; repeat the flag or comma-separate (e.g., --tool claude-code --tool codex-cli). Replaces the tools list in .atkrc.json"
1147
+ },
1148
+ {
1149
+ "flags": "--user",
1150
+ "description": "Set up the user scope (the user root, ~ by default) instead of the project",
1151
+ "defaultValue": false
1152
+ },
1153
+ {
1154
+ "flags": "-y, --yes",
1155
+ "description": "Skip interactive prompts (use defaults)",
1156
+ "defaultValue": false
1157
+ }
1158
+ ]
1159
+ },
1160
+ {
1161
+ "isDefault": false,
1162
+ "name": "sync",
1163
+ "description": "Re-apply drifted installed assets, keeping local edits (use --force to re-apply all)",
1164
+ "file": "sync.js",
1165
+ "options": [
1166
+ {
1167
+ "flags": "-n, --dry-run",
1168
+ "description": "Show what would be synced without making changes",
1169
+ "defaultValue": false
1170
+ },
1171
+ {
1172
+ "flags": "-f, --force",
1173
+ "description": "Force re-sync all assets, not just drifted ones, overwriting local edits",
1174
+ "defaultValue": false
1175
+ },
1176
+ {
1177
+ "flags": "-j, --json",
1178
+ "description": "Output raw JSON (for scripting and CI)",
1179
+ "defaultValue": false
1180
+ },
1181
+ {
1182
+ "flags": "-P, --project-root [project-root]",
1183
+ "description": "Override project root directory"
1184
+ },
1185
+ {
1186
+ "flags": "-r, --refresh",
1187
+ "description": "Bypass the registry cache and fetch fresh data",
1188
+ "defaultValue": false
1189
+ },
1190
+ {
1191
+ "flags": "-T, --tool [tool]",
1192
+ "description": "Target tool (e.g., claude-code)"
1193
+ },
1194
+ {
1195
+ "flags": "--user",
1196
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
1197
+ "defaultValue": false
1198
+ }
1199
+ ]
1200
+ },
1201
+ {
1202
+ "isDefault": false,
1203
+ "name": "thaw",
1204
+ "args": [
1205
+ {
1206
+ "description": "Asset name to thaw",
1207
+ "name": "<name>"
1208
+ }
1209
+ ],
1210
+ "description": "Thaw a frozen asset to allow sync and update to overwrite it again",
1211
+ "file": "thaw.js",
1212
+ "options": [
1213
+ {
1214
+ "flags": "-j, --json",
1215
+ "description": "Output raw JSON (for scripting and CI)",
1216
+ "defaultValue": false
1217
+ },
1218
+ {
1219
+ "flags": "-P, --project-root [project-root]",
1220
+ "description": "Override project root directory"
1221
+ },
1222
+ {
1223
+ "flags": "-t, --type [type]",
1224
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
1225
+ "choices": [
1226
+ "skill",
1227
+ "agent",
1228
+ "rule",
1229
+ "hook",
1230
+ "memory-template",
1231
+ "mcp-config"
1232
+ ]
1233
+ },
1234
+ {
1235
+ "flags": "--user",
1236
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
1237
+ "defaultValue": false
1238
+ }
1239
+ ]
1240
+ },
1241
+ {
1242
+ "isDefault": false,
1243
+ "name": "uninstall",
1244
+ "args": [
1245
+ {
1246
+ "description": "Asset or bundle name to uninstall",
1247
+ "name": "<name>"
1248
+ }
1249
+ ],
1250
+ "description": "Uninstall an asset or bundle",
1251
+ "file": "uninstall.js",
1252
+ "options": [
1253
+ {
1254
+ "flags": "--no-cascade",
1255
+ "description": "Cascade-remove orphaned dependencies (use --no-cascade to disable)",
1256
+ "defaultValue": true
1257
+ },
1258
+ {
1259
+ "flags": "-n, --dry-run",
1260
+ "description": "Show what would be uninstalled without making changes",
1261
+ "defaultValue": false
1262
+ },
1263
+ {
1264
+ "flags": "-j, --json",
1265
+ "description": "Output raw JSON (for scripting and CI)",
1266
+ "defaultValue": false
1267
+ },
1268
+ {
1269
+ "flags": "-o, --org [org]",
1270
+ "description": "Org scope of the asset to uninstall (overridden by @org/name syntax)"
1271
+ },
1272
+ {
1273
+ "flags": "-P, --project-root [project-root]",
1274
+ "description": "Override project root directory"
1275
+ },
1276
+ {
1277
+ "flags": "-r, --refresh",
1278
+ "description": "Bypass the registry cache and fetch fresh data",
1279
+ "defaultValue": false
1280
+ },
1281
+ {
1282
+ "flags": "-T, --tool [tool]",
1283
+ "description": "Uninstall for this tool only (e.g., codex-cli); other tools keep the asset and its lockfile entry"
1284
+ },
1285
+ {
1286
+ "flags": "-t, --type [type]",
1287
+ "description": "Type of the asset to uninstall, when the name is installed as more than one type",
1288
+ "choices": [
1289
+ "skill",
1290
+ "agent",
1291
+ "rule",
1292
+ "hook",
1293
+ "memory-template",
1294
+ "mcp-config"
1295
+ ]
1296
+ },
1297
+ {
1298
+ "flags": "--user",
1299
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
1300
+ "defaultValue": false
1301
+ },
1302
+ {
1303
+ "flags": "-y, --yes",
1304
+ "description": "Skip confirmation prompt",
1305
+ "defaultValue": false
1306
+ }
1307
+ ]
1308
+ },
1309
+ {
1310
+ "isDefault": false,
1311
+ "name": "unpin",
1312
+ "args": [
1313
+ {
1314
+ "description": "Asset name to unpin",
1315
+ "name": "<name>"
1316
+ }
1317
+ ],
1318
+ "description": "Remove a version pin from an installed asset",
1319
+ "file": "unpin.js",
1320
+ "options": [
1321
+ {
1322
+ "flags": "-j, --json",
1323
+ "description": "Output raw JSON (for scripting and CI)",
1324
+ "defaultValue": false
1325
+ },
1326
+ {
1327
+ "flags": "-P, --project-root [project-root]",
1328
+ "description": "Override project root directory"
1329
+ },
1330
+ {
1331
+ "flags": "-t, --type [type]",
1332
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
1333
+ "choices": [
1334
+ "skill",
1335
+ "agent",
1336
+ "rule",
1337
+ "hook",
1338
+ "memory-template",
1339
+ "mcp-config"
1340
+ ]
1341
+ },
1342
+ {
1343
+ "flags": "--user",
1344
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
1345
+ "defaultValue": false
1346
+ }
1347
+ ]
1348
+ },
1349
+ {
1350
+ "isDefault": false,
1351
+ "name": "unpublish",
1352
+ "args": [
1353
+ {
1354
+ "description": "Asset or bundle name; accepts @org/name and optional @version (e.g. my-skill@1.0.0)",
1355
+ "name": "<name>"
1356
+ }
1357
+ ],
1358
+ "description": "Unpublish an asset or bundle from the registry via PR",
1359
+ "file": "unpublish.js",
1360
+ "options": [
1361
+ {
1362
+ "flags": "-d, --dry-run",
1363
+ "description": "Show what would happen without creating the PR",
1364
+ "defaultValue": false
1365
+ },
1366
+ {
1367
+ "flags": "-P, --project-root [project-root]",
1368
+ "description": "Override project root directory"
1369
+ },
1370
+ {
1371
+ "flags": "-r, --refresh",
1372
+ "description": "No longer used (the plan always comes from the live registry); kept for compatibility",
1373
+ "defaultValue": false
1374
+ },
1375
+ {
1376
+ "flags": "-t, --type [type]",
1377
+ "description": "Asset type, or \"bundle\", when the name exists more than once in the same scope",
1378
+ "choices": [
1379
+ "skill",
1380
+ "agent",
1381
+ "rule",
1382
+ "hook",
1383
+ "memory-template",
1384
+ "mcp-config",
1385
+ "bundle"
1386
+ ]
1387
+ },
1388
+ {
1389
+ "flags": "-y, --yes",
1390
+ "description": "Skip confirmation prompt",
1391
+ "defaultValue": false
1392
+ }
1393
+ ]
1394
+ },
1395
+ {
1396
+ "isDefault": false,
1397
+ "name": "update",
1398
+ "args": [
1399
+ {
1400
+ "description": "Asset name (updates all if omitted, supports name@version syntax)",
1401
+ "name": "[name]"
1402
+ }
1403
+ ],
1404
+ "description": "Update installed assets",
1405
+ "file": "update.js",
1406
+ "options": [
1407
+ {
1408
+ "flags": "-n, --dry-run",
1409
+ "description": "Show what would be updated without making changes",
1410
+ "defaultValue": false
1411
+ },
1412
+ {
1413
+ "flags": "-f, --force",
1414
+ "description": "Override version pins on targeted assets, and overwrite local edits",
1415
+ "defaultValue": false
1416
+ },
1417
+ {
1418
+ "flags": "-j, --json",
1419
+ "description": "Output raw JSON (for scripting and CI)",
1420
+ "defaultValue": false
1421
+ },
1422
+ {
1423
+ "flags": "-P, --project-root [project-root]",
1424
+ "description": "Override project root directory"
1425
+ },
1426
+ {
1427
+ "flags": "-r, --refresh",
1428
+ "description": "Kept for compatibility: update always checks the registry for new versions",
1429
+ "defaultValue": false
1430
+ },
1431
+ {
1432
+ "flags": "-T, --tool [tool]",
1433
+ "description": "Target tool (e.g., claude-code)"
1434
+ },
1435
+ {
1436
+ "flags": "-t, --type [type]",
1437
+ "description": "Type of the asset to update, when the name is installed as more than one type",
1438
+ "choices": [
1439
+ "skill",
1440
+ "agent",
1441
+ "rule",
1442
+ "hook",
1443
+ "memory-template",
1444
+ "mcp-config"
1445
+ ]
1446
+ },
1447
+ {
1448
+ "flags": "--user",
1449
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
1450
+ "defaultValue": false
1451
+ }
1452
+ ]
1453
+ },
1454
+ {
1455
+ "isDefault": false,
1456
+ "name": "whoami",
1457
+ "description": "Show who you are signed in as and where the credential came from",
1458
+ "file": "whoami.js",
1459
+ "options": [
1460
+ {
1461
+ "flags": "-j, --json",
1462
+ "description": "Output raw JSON (for scripting and CI)",
1463
+ "defaultValue": false
1464
+ }
1465
+ ]
1466
+ },
1467
+ {
1468
+ "isDefault": false,
1469
+ "name": "why",
1470
+ "args": [
1471
+ {
1472
+ "description": "Asset name",
1473
+ "name": "<name>"
1474
+ }
1475
+ ],
1476
+ "description": "Explain why an asset is installed",
1477
+ "file": "why.js",
1478
+ "options": [
1479
+ {
1480
+ "flags": "-j, --json",
1481
+ "description": "Output raw JSON (for scripting and CI)",
1482
+ "defaultValue": false
1483
+ },
1484
+ {
1485
+ "flags": "-P, --project-root [project-root]",
1486
+ "description": "Override project root directory"
1487
+ },
1488
+ {
1489
+ "flags": "-t, --type [type]",
1490
+ "description": "Filter by asset type (skill, agent, rule, hook, memory-template, mcp-config)",
1491
+ "choices": [
1492
+ "skill",
1493
+ "agent",
1494
+ "rule",
1495
+ "hook",
1496
+ "memory-template",
1497
+ "mcp-config"
1498
+ ]
1499
+ },
1500
+ {
1501
+ "flags": "--user",
1502
+ "description": "Use the user scope (the user root, ~ by default) instead of the project",
1503
+ "defaultValue": false
1504
+ }
1505
+ ]
1506
+ }
1507
+ ]