loadouts 0.1.11

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 (261) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +108 -0
  3. package/bundled/loadouts/loadouts.yaml +5 -0
  4. package/bundled/skills/loadout-usage/SKILL.md +110 -0
  5. package/dist/builtins/index.d.ts +14 -0
  6. package/dist/builtins/index.d.ts.map +1 -0
  7. package/dist/builtins/index.js +58 -0
  8. package/dist/builtins/index.js.map +1 -0
  9. package/dist/builtins/kinds/extension.d.ts +3 -0
  10. package/dist/builtins/kinds/extension.d.ts.map +1 -0
  11. package/dist/builtins/kinds/extension.js +9 -0
  12. package/dist/builtins/kinds/extension.js.map +1 -0
  13. package/dist/builtins/kinds/instruction.d.ts +3 -0
  14. package/dist/builtins/kinds/instruction.d.ts.map +1 -0
  15. package/dist/builtins/kinds/instruction.js +8 -0
  16. package/dist/builtins/kinds/instruction.js.map +1 -0
  17. package/dist/builtins/kinds/prompt.d.ts +3 -0
  18. package/dist/builtins/kinds/prompt.d.ts.map +1 -0
  19. package/dist/builtins/kinds/prompt.js +8 -0
  20. package/dist/builtins/kinds/prompt.js.map +1 -0
  21. package/dist/builtins/kinds/rule.d.ts +3 -0
  22. package/dist/builtins/kinds/rule.d.ts.map +1 -0
  23. package/dist/builtins/kinds/rule.js +10 -0
  24. package/dist/builtins/kinds/rule.js.map +1 -0
  25. package/dist/builtins/kinds/skill.d.ts +3 -0
  26. package/dist/builtins/kinds/skill.d.ts.map +1 -0
  27. package/dist/builtins/kinds/skill.js +8 -0
  28. package/dist/builtins/kinds/skill.js.map +1 -0
  29. package/dist/builtins/kinds/theme.d.ts +3 -0
  30. package/dist/builtins/kinds/theme.d.ts.map +1 -0
  31. package/dist/builtins/kinds/theme.js +8 -0
  32. package/dist/builtins/kinds/theme.js.map +1 -0
  33. package/dist/builtins/tools/claude-code.d.ts +3 -0
  34. package/dist/builtins/tools/claude-code.d.ts.map +1 -0
  35. package/dist/builtins/tools/claude-code.js +30 -0
  36. package/dist/builtins/tools/claude-code.js.map +1 -0
  37. package/dist/builtins/tools/codex.d.ts +3 -0
  38. package/dist/builtins/tools/codex.d.ts.map +1 -0
  39. package/dist/builtins/tools/codex.js +17 -0
  40. package/dist/builtins/tools/codex.js.map +1 -0
  41. package/dist/builtins/tools/cursor.d.ts +3 -0
  42. package/dist/builtins/tools/cursor.d.ts.map +1 -0
  43. package/dist/builtins/tools/cursor.js +22 -0
  44. package/dist/builtins/tools/cursor.js.map +1 -0
  45. package/dist/builtins/tools/opencode.d.ts +3 -0
  46. package/dist/builtins/tools/opencode.d.ts.map +1 -0
  47. package/dist/builtins/tools/opencode.js +45 -0
  48. package/dist/builtins/tools/opencode.js.map +1 -0
  49. package/dist/builtins/tools/pi.d.ts +3 -0
  50. package/dist/builtins/tools/pi.d.ts.map +1 -0
  51. package/dist/builtins/tools/pi.js +22 -0
  52. package/dist/builtins/tools/pi.js.map +1 -0
  53. package/dist/cli/commands/activate.d.ts +12 -0
  54. package/dist/cli/commands/activate.d.ts.map +1 -0
  55. package/dist/cli/commands/activate.js +70 -0
  56. package/dist/cli/commands/activate.js.map +1 -0
  57. package/dist/cli/commands/check.d.ts +12 -0
  58. package/dist/cli/commands/check.d.ts.map +1 -0
  59. package/dist/cli/commands/check.js +152 -0
  60. package/dist/cli/commands/check.js.map +1 -0
  61. package/dist/cli/commands/clear.d.ts +12 -0
  62. package/dist/cli/commands/clear.d.ts.map +1 -0
  63. package/dist/cli/commands/clear.js +25 -0
  64. package/dist/cli/commands/clear.js.map +1 -0
  65. package/dist/cli/commands/create.d.ts +11 -0
  66. package/dist/cli/commands/create.d.ts.map +1 -0
  67. package/dist/cli/commands/create.js +113 -0
  68. package/dist/cli/commands/create.js.map +1 -0
  69. package/dist/cli/commands/deactivate.d.ts +12 -0
  70. package/dist/cli/commands/deactivate.d.ts.map +1 -0
  71. package/dist/cli/commands/deactivate.js +67 -0
  72. package/dist/cli/commands/deactivate.js.map +1 -0
  73. package/dist/cli/commands/diff.d.ts +16 -0
  74. package/dist/cli/commands/diff.d.ts.map +1 -0
  75. package/dist/cli/commands/diff.js +144 -0
  76. package/dist/cli/commands/diff.js.map +1 -0
  77. package/dist/cli/commands/docs.d.ts +12 -0
  78. package/dist/cli/commands/docs.d.ts.map +1 -0
  79. package/dist/cli/commands/docs.js +115 -0
  80. package/dist/cli/commands/docs.js.map +1 -0
  81. package/dist/cli/commands/edit.d.ts +11 -0
  82. package/dist/cli/commands/edit.d.ts.map +1 -0
  83. package/dist/cli/commands/edit.js +71 -0
  84. package/dist/cli/commands/edit.js.map +1 -0
  85. package/dist/cli/commands/fallback.d.ts +9 -0
  86. package/dist/cli/commands/fallback.d.ts.map +1 -0
  87. package/dist/cli/commands/fallback.js +35 -0
  88. package/dist/cli/commands/fallback.js.map +1 -0
  89. package/dist/cli/commands/info.d.ts +23 -0
  90. package/dist/cli/commands/info.d.ts.map +1 -0
  91. package/dist/cli/commands/info.js +314 -0
  92. package/dist/cli/commands/info.js.map +1 -0
  93. package/dist/cli/commands/init.d.ts +18 -0
  94. package/dist/cli/commands/init.d.ts.map +1 -0
  95. package/dist/cli/commands/init.js +255 -0
  96. package/dist/cli/commands/init.js.map +1 -0
  97. package/dist/cli/commands/install.d.ts +27 -0
  98. package/dist/cli/commands/install.d.ts.map +1 -0
  99. package/dist/cli/commands/install.js +586 -0
  100. package/dist/cli/commands/install.js.map +1 -0
  101. package/dist/cli/commands/instructions.d.ts +8 -0
  102. package/dist/cli/commands/instructions.d.ts.map +1 -0
  103. package/dist/cli/commands/instructions.js +218 -0
  104. package/dist/cli/commands/instructions.js.map +1 -0
  105. package/dist/cli/commands/kinds.d.ts +6 -0
  106. package/dist/cli/commands/kinds.d.ts.map +1 -0
  107. package/dist/cli/commands/kinds.js +59 -0
  108. package/dist/cli/commands/kinds.js.map +1 -0
  109. package/dist/cli/commands/list.d.ts +12 -0
  110. package/dist/cli/commands/list.d.ts.map +1 -0
  111. package/dist/cli/commands/list.js +182 -0
  112. package/dist/cli/commands/list.js.map +1 -0
  113. package/dist/cli/commands/policy.d.ts +28 -0
  114. package/dist/cli/commands/policy.d.ts.map +1 -0
  115. package/dist/cli/commands/policy.js +50 -0
  116. package/dist/cli/commands/policy.js.map +1 -0
  117. package/dist/cli/commands/remove.d.ts +24 -0
  118. package/dist/cli/commands/remove.d.ts.map +1 -0
  119. package/dist/cli/commands/remove.js +64 -0
  120. package/dist/cli/commands/remove.js.map +1 -0
  121. package/dist/cli/commands/render-engine.d.ts +36 -0
  122. package/dist/cli/commands/render-engine.d.ts.map +1 -0
  123. package/dist/cli/commands/render-engine.js +177 -0
  124. package/dist/cli/commands/render-engine.js.map +1 -0
  125. package/dist/cli/commands/rule.d.ts +11 -0
  126. package/dist/cli/commands/rule.d.ts.map +1 -0
  127. package/dist/cli/commands/rule.js +302 -0
  128. package/dist/cli/commands/rule.js.map +1 -0
  129. package/dist/cli/commands/sanitize.d.ts +14 -0
  130. package/dist/cli/commands/sanitize.d.ts.map +1 -0
  131. package/dist/cli/commands/sanitize.js +62 -0
  132. package/dist/cli/commands/sanitize.js.map +1 -0
  133. package/dist/cli/commands/skill.d.ts +11 -0
  134. package/dist/cli/commands/skill.d.ts.map +1 -0
  135. package/dist/cli/commands/skill.js +380 -0
  136. package/dist/cli/commands/skill.js.map +1 -0
  137. package/dist/cli/commands/status.d.ts +26 -0
  138. package/dist/cli/commands/status.d.ts.map +1 -0
  139. package/dist/cli/commands/status.js +454 -0
  140. package/dist/cli/commands/status.js.map +1 -0
  141. package/dist/cli/commands/sync.d.ts +14 -0
  142. package/dist/cli/commands/sync.d.ts.map +1 -0
  143. package/dist/cli/commands/sync.js +53 -0
  144. package/dist/cli/commands/sync.js.map +1 -0
  145. package/dist/cli/commands/update.d.ts +3 -0
  146. package/dist/cli/commands/update.d.ts.map +1 -0
  147. package/dist/cli/commands/update.js +48 -0
  148. package/dist/cli/commands/update.js.map +1 -0
  149. package/dist/cli/index.d.ts +11 -0
  150. package/dist/cli/index.d.ts.map +1 -0
  151. package/dist/cli/index.js +134 -0
  152. package/dist/cli/index.js.map +1 -0
  153. package/dist/core/config.d.ts +64 -0
  154. package/dist/core/config.d.ts.map +1 -0
  155. package/dist/core/config.js +166 -0
  156. package/dist/core/config.js.map +1 -0
  157. package/dist/core/discovery.d.ts +50 -0
  158. package/dist/core/discovery.d.ts.map +1 -0
  159. package/dist/core/discovery.js +249 -0
  160. package/dist/core/discovery.js.map +1 -0
  161. package/dist/core/fallback.d.ts +23 -0
  162. package/dist/core/fallback.d.ts.map +1 -0
  163. package/dist/core/fallback.js +119 -0
  164. package/dist/core/fallback.js.map +1 -0
  165. package/dist/core/import-discovery.d.ts +56 -0
  166. package/dist/core/import-discovery.d.ts.map +1 -0
  167. package/dist/core/import-discovery.js +304 -0
  168. package/dist/core/import-discovery.js.map +1 -0
  169. package/dist/core/kindLoader.d.ts +119 -0
  170. package/dist/core/kindLoader.d.ts.map +1 -0
  171. package/dist/core/kindLoader.js +141 -0
  172. package/dist/core/kindLoader.js.map +1 -0
  173. package/dist/core/manifest.d.ts +39 -0
  174. package/dist/core/manifest.d.ts.map +1 -0
  175. package/dist/core/manifest.js +167 -0
  176. package/dist/core/manifest.js.map +1 -0
  177. package/dist/core/plugin.d.ts +22 -0
  178. package/dist/core/plugin.d.ts.map +1 -0
  179. package/dist/core/plugin.js +20 -0
  180. package/dist/core/plugin.js.map +1 -0
  181. package/dist/core/registry.d.ts +115 -0
  182. package/dist/core/registry.d.ts.map +1 -0
  183. package/dist/core/registry.js +105 -0
  184. package/dist/core/registry.js.map +1 -0
  185. package/dist/core/render.d.ts +64 -0
  186. package/dist/core/render.d.ts.map +1 -0
  187. package/dist/core/render.js +457 -0
  188. package/dist/core/render.js.map +1 -0
  189. package/dist/core/resolve.d.ts +39 -0
  190. package/dist/core/resolve.d.ts.map +1 -0
  191. package/dist/core/resolve.js +128 -0
  192. package/dist/core/resolve.js.map +1 -0
  193. package/dist/core/schema.d.ts +308 -0
  194. package/dist/core/schema.d.ts.map +1 -0
  195. package/dist/core/schema.js +81 -0
  196. package/dist/core/schema.js.map +1 -0
  197. package/dist/core/scope.d.ts +74 -0
  198. package/dist/core/scope.d.ts.map +1 -0
  199. package/dist/core/scope.js +176 -0
  200. package/dist/core/scope.js.map +1 -0
  201. package/dist/core/template.d.ts +32 -0
  202. package/dist/core/template.d.ts.map +1 -0
  203. package/dist/core/template.js +32 -0
  204. package/dist/core/template.js.map +1 -0
  205. package/dist/core/tokens.d.ts +33 -0
  206. package/dist/core/tokens.d.ts.map +1 -0
  207. package/dist/core/tokens.js +97 -0
  208. package/dist/core/tokens.js.map +1 -0
  209. package/dist/core/types.d.ts +103 -0
  210. package/dist/core/types.d.ts.map +1 -0
  211. package/dist/core/types.js +10 -0
  212. package/dist/core/types.js.map +1 -0
  213. package/dist/index.d.ts +12 -0
  214. package/dist/index.d.ts.map +1 -0
  215. package/dist/index.js +24 -0
  216. package/dist/index.js.map +1 -0
  217. package/dist/lib/artifact-paths.d.ts +39 -0
  218. package/dist/lib/artifact-paths.d.ts.map +1 -0
  219. package/dist/lib/artifact-paths.js +83 -0
  220. package/dist/lib/artifact-paths.js.map +1 -0
  221. package/dist/lib/artifact-table.d.ts +126 -0
  222. package/dist/lib/artifact-table.d.ts.map +1 -0
  223. package/dist/lib/artifact-table.js +263 -0
  224. package/dist/lib/artifact-table.js.map +1 -0
  225. package/dist/lib/editor.d.ts +17 -0
  226. package/dist/lib/editor.d.ts.map +1 -0
  227. package/dist/lib/editor.js +33 -0
  228. package/dist/lib/editor.js.map +1 -0
  229. package/dist/lib/fs.d.ts +87 -0
  230. package/dist/lib/fs.d.ts.map +1 -0
  231. package/dist/lib/fs.js +229 -0
  232. package/dist/lib/fs.js.map +1 -0
  233. package/dist/lib/git.d.ts +13 -0
  234. package/dist/lib/git.d.ts.map +1 -0
  235. package/dist/lib/git.js +28 -0
  236. package/dist/lib/git.js.map +1 -0
  237. package/dist/lib/gitignore.d.ts +26 -0
  238. package/dist/lib/gitignore.d.ts.map +1 -0
  239. package/dist/lib/gitignore.js +97 -0
  240. package/dist/lib/gitignore.js.map +1 -0
  241. package/dist/lib/loadout-column.d.ts +66 -0
  242. package/dist/lib/loadout-column.d.ts.map +1 -0
  243. package/dist/lib/loadout-column.js +66 -0
  244. package/dist/lib/loadout-column.js.map +1 -0
  245. package/dist/lib/output.d.ts +15 -0
  246. package/dist/lib/output.d.ts.map +1 -0
  247. package/dist/lib/output.js +32 -0
  248. package/dist/lib/output.js.map +1 -0
  249. package/dist/lib/scope-indicators.d.ts +60 -0
  250. package/dist/lib/scope-indicators.d.ts.map +1 -0
  251. package/dist/lib/scope-indicators.js +110 -0
  252. package/dist/lib/scope-indicators.js.map +1 -0
  253. package/docs/authoring.md +182 -0
  254. package/docs/commands.md +192 -0
  255. package/docs/concepts.md +114 -0
  256. package/docs/index.md +60 -0
  257. package/docs/quickstart.md +100 -0
  258. package/docs/troubleshooting.md +147 -0
  259. package/docs/visual-language.md +251 -0
  260. package/docs/workflows.md +184 -0
  261. package/package.json +54 -0
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,108 @@
1
+ # Loadouts
2
+
3
+ **Composable configuration bundles for AI coding agents.**
4
+
5
+ Organize your rules, skills, and instructions into named **loadouts** that you can mix and match based on the task at hand.
6
+
7
+ ```bash
8
+ loadouts activate base backend # Backend work
9
+ loadouts activate base frontend # Frontend work
10
+ loadouts activate base backend ml # Combine for ML backend work
11
+ ```
12
+
13
+ ## Why Loadout?
14
+
15
+ **Not every task needs the same configuration.** Backend work needs different rules than frontend work. ML projects need specialized skills. Code review needs different context than greenfield development.
16
+
17
+ **Not every teammate wants the same setup.** One person might want strict linting rules, another prefers minimal guidance. Loadouts lets teams track all available configurations while giving individuals the freedom to activate what works for them.
18
+
19
+ **Not every tool uses the same format.** Claude Code, Cursor, OpenCode, Codex, and Pi each have their own config locations and quirks. Loadouts lets you write once and renders correctly for each tool.
20
+
21
+ ## Installation
22
+
23
+ ### npm (recommended)
24
+
25
+ ```bash
26
+ npm install -g loadouts
27
+ ```
28
+
29
+ ### From source
30
+
31
+ ```bash
32
+ git clone https://github.com/evatths/loadouts.git
33
+ cd loadouts
34
+ npm install
35
+ npm run build
36
+ npm link
37
+ ```
38
+
39
+ ## Quick Start
40
+
41
+ ```bash
42
+ # Initialize
43
+ loadouts init
44
+
45
+ # Create task-specific loadouts
46
+ loadouts create backend -e base # Extends base
47
+ loadouts create frontend -e base
48
+ loadouts create ml -e base
49
+
50
+ # Add rules/skills to each
51
+ loadouts rule add api-standards # Add to current loadout
52
+ loadouts skill add debugging
53
+
54
+ # Activate what you need
55
+ loadouts activate backend # Just backend
56
+ loadouts activate backend ml # Backend + ML combined
57
+ ```
58
+
59
+ ## Importing Existing Configs
60
+
61
+ Already have rules and skills scattered across tool directories?
62
+
63
+ ```bash
64
+ loadouts init # Detects existing configs automatically
65
+ loadouts install # Or import them separately
66
+ loadouts sync
67
+ ```
68
+
69
+ `loadouts install` scans all tool directories (`.claude/`, `.cursor/`, `.opencode/`, etc.) and imports everything it finds. Use `--dry-run` to preview, `-i` for interactive selection.
70
+
71
+ ## Documentation
72
+
73
+ Loadout is self-documenting:
74
+
75
+ ```bash
76
+ loadouts docs # Overview and quick reference
77
+ loadouts docs quickstart # Get started in 60 seconds
78
+ loadouts docs concepts # Core model explained
79
+ loadouts docs commands # Full command reference
80
+ loadouts docs --list # List all topics
81
+ ```
82
+
83
+ Or read the full reference: [LOADOUT.md](LOADOUT.md)
84
+
85
+ ### For AI Agents
86
+
87
+ Loadout includes a bundled skill that teaches AI agents how to use it:
88
+
89
+ ```bash
90
+ loadouts skill import --builtin loadout-usage
91
+ loadouts sync
92
+ ```
93
+
94
+ This adds a skill that triggers when agents are editing agent configuration (rules, skills, instructions), guiding them to use the CLI and `loadouts docs` for details.
95
+
96
+ ## Supported Tools
97
+
98
+ | Tool | Rules | Skills | Instructions |
99
+ |------|-------|--------|--------------|
100
+ | Claude Code | ✓ | ✓ | ✓ |
101
+ | Cursor | ✓ | ✓ | ✓ |
102
+ | OpenCode | ✓ | ✓ | ✓ |
103
+ | Codex | — | ✓ | ✓ |
104
+ | Pi | ✓ | ✓ | ✓ |
105
+
106
+ ## License
107
+
108
+ Apache-2.0
@@ -0,0 +1,5 @@
1
+ name: loadouts
2
+ description: Self-documenting instructions for using loadouts CLI
3
+
4
+ include:
5
+ - skills/loadout-usage
@@ -0,0 +1,110 @@
1
+ ---
2
+ name: loadout-usage
3
+ description: Use this skill when creating, editing, or managing AI agent configuration—including rules, skills, instructions, hooks, loadouts, or any artifacts in .loadouts/. Provides guidance on loadouts CLI and authoring patterns.
4
+ ---
5
+
6
+ # Using Loadouts
7
+
8
+ This project uses **loadouts** to manage AI agent configuration. All source artifacts live in `.loadouts/` and are rendered to tool directories (`.claude/`, `.cursor/`, etc.) via `loadouts sync`.
9
+
10
+ ## Key Principles
11
+
12
+ 1. **Edit sources, not outputs.** Modify files in `.loadouts/`, then run `loadouts sync`. Never edit rendered files in `.claude/`, `.cursor/`, etc. directly.
13
+
14
+ 2. **Two-step artifact creation.** The CLI creates a template file, then you edit it:
15
+ ```bash
16
+ # Step 1: Create template (use --no-edit to skip editor)
17
+ loadouts rule add my-rule --no-edit
18
+ # Output shows: File: /path/to/.loadouts/rules/my-rule.md
19
+
20
+ # Step 2: Edit the file at that path with your content
21
+ # Step 3: Run loadouts sync to apply
22
+ ```
23
+
24
+ 3. **Check before committing.** Validate configuration:
25
+ ```bash
26
+ loadouts check -v # Validate all config
27
+ loadouts status # Check for drift
28
+ ```
29
+
30
+ ## Creating Artifacts
31
+
32
+ ### Rules
33
+ ```bash
34
+ loadouts rule add <name> --no-edit
35
+ # Then edit: .loadouts/rules/<name>.md
36
+ # Then run: loadouts sync
37
+ ```
38
+
39
+ Rule format:
40
+ ```markdown
41
+ ---
42
+ description: Brief description for routing
43
+ paths: ["**/*.go"] # File patterns to apply to
44
+ alwaysApply: false # Set true if always relevant
45
+ ---
46
+
47
+ # Rule Title
48
+
49
+ Your rule content here.
50
+ ```
51
+
52
+ ### Skills
53
+ ```bash
54
+ loadouts skill add <name> --no-edit
55
+ # Then edit: .loadouts/skills/<name>/SKILL.md
56
+ # Then run: loadouts sync
57
+ ```
58
+
59
+ Skill format:
60
+ ```markdown
61
+ ---
62
+ name: skill-name
63
+ description: Brief description (shown upfront; triggers skill loading)
64
+ ---
65
+
66
+ # Skill Title
67
+
68
+ ## When to Use
69
+ Describe when this skill applies.
70
+
71
+ ## Instructions
72
+ Detailed instructions for the agent.
73
+ ```
74
+
75
+ ### Instructions
76
+ ```bash
77
+ loadouts instructions init <loadout-name>
78
+ # Then edit: .loadouts/instructions/AGENTS.<loadout-name>.md
79
+ # Then run: loadouts sync
80
+ ```
81
+
82
+ ## File Locations
83
+
84
+ ```
85
+ .loadouts/
86
+ ├── loadouts/*.yaml # Loadout bundle definitions
87
+ ├── rules/*.md # Rule files
88
+ ├── skills/*/SKILL.md # Skill directories
89
+ └── instructions/*.md # Per-loadout instructions
90
+ ```
91
+
92
+ ## Common Commands
93
+
94
+ | Task | Command |
95
+ |------|---------|
96
+ | Create rule template | `loadouts rule add <name> --no-edit` |
97
+ | Create skill template | `loadouts skill add <name> --no-edit` |
98
+ | Create loadout | `loadouts create <name> -e base` |
99
+ | Apply changes | `loadouts sync` |
100
+ | See what's active | `loadouts info` |
101
+ | Validate config | `loadouts check -v` |
102
+
103
+ ## Getting More Help
104
+
105
+ Run `loadouts docs <topic>` for detailed documentation:
106
+
107
+ - `loadouts docs quickstart` — Get started fast
108
+ - `loadouts docs concepts` — Core model (loadouts, artifacts, scopes)
109
+ - `loadouts docs commands` — Full command reference
110
+ - `loadouts docs authoring` — Creating rules, skills, instructions
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Built-in plugin — registers the three core kinds, four core tools, and
3
+ * all named transforms. Called once at CLI startup before any command runs.
4
+ *
5
+ * Built-ins use the same PluginAPI as external plugins; there is no
6
+ * privileged code path.
7
+ */
8
+ import type { PluginAPI } from "../core/plugin.js";
9
+ /** Names of the built-in tools, for use in defaults and display. */
10
+ export declare const BUILTIN_TOOL_NAMES: readonly ["claude-code", "cursor", "opencode", "codex", "pi"];
11
+ export type BuiltInToolName = (typeof BUILTIN_TOOL_NAMES)[number];
12
+ /** Register all built-ins into the given PluginAPI. */
13
+ export declare function registerBuiltins(api: PluginAPI): void;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/builtins/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAanD,oEAAoE;AACpE,eAAO,MAAM,kBAAkB,+DAMrB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAalE,uDAAuD;AACvD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAkBrD"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Built-in plugin — registers the three core kinds, four core tools, and
3
+ * all named transforms. Called once at CLI startup before any command runs.
4
+ *
5
+ * Built-ins use the same PluginAPI as external plugins; there is no
6
+ * privileged code path.
7
+ */
8
+ import { parseFrontmatter, serializeFrontmatter } from "../core/config.js";
9
+ import { ruleKind } from "./kinds/rule.js";
10
+ import { skillKind } from "./kinds/skill.js";
11
+ import { instructionKind } from "./kinds/instruction.js";
12
+ import { promptKind } from "./kinds/prompt.js";
13
+ import { extensionKind } from "./kinds/extension.js";
14
+ import { themeKind } from "./kinds/theme.js";
15
+ import { claudeCodeTool } from "./tools/claude-code.js";
16
+ import { cursorTool } from "./tools/cursor.js";
17
+ import { opencodeTool } from "./tools/opencode.js";
18
+ import { codexTool } from "./tools/codex.js";
19
+ import { piTool } from "./tools/pi.js";
20
+ /** Names of the built-in tools, for use in defaults and display. */
21
+ export const BUILTIN_TOOL_NAMES = [
22
+ "claude-code",
23
+ "cursor",
24
+ "opencode",
25
+ "codex",
26
+ "pi",
27
+ ];
28
+ /**
29
+ * Mirror Cursor's `paths` ↔ `globs` frontmatter keys so authors can use
30
+ * either convention. Registered as the "cursor-frontmatter" transform.
31
+ */
32
+ function mirrorPathsAndGlobs(raw) {
33
+ const { frontmatter, body } = parseFrontmatter(raw);
34
+ if (frontmatter.paths && !frontmatter.globs)
35
+ frontmatter.globs = frontmatter.paths;
36
+ if (frontmatter.globs && !frontmatter.paths)
37
+ frontmatter.paths = frontmatter.globs;
38
+ return serializeFrontmatter(frontmatter, body);
39
+ }
40
+ /** Register all built-ins into the given PluginAPI. */
41
+ export function registerBuiltins(api) {
42
+ // Kinds first — tools reference kind IDs in their `supports` arrays.
43
+ api.registerKind(ruleKind);
44
+ api.registerKind(skillKind);
45
+ api.registerKind(instructionKind);
46
+ api.registerKind(promptKind);
47
+ api.registerKind(extensionKind);
48
+ api.registerKind(themeKind);
49
+ // Named transforms — referenced by name in tool target specs.
50
+ api.registerTransform("cursor-frontmatter", mirrorPathsAndGlobs);
51
+ // Tools
52
+ api.registerTool(claudeCodeTool);
53
+ api.registerTool(cursorTool);
54
+ api.registerTool(opencodeTool);
55
+ api.registerTool(codexTool);
56
+ api.registerTool(piTool);
57
+ }
58
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/builtins/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,oEAAoE;AACpE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,aAAa;IACb,QAAQ;IACR,UAAU;IACV,OAAO;IACP,IAAI;CACI,CAAC;AAIX;;;GAGG;AACH,SAAS,mBAAmB,CAAC,GAAW;IACtC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACpD,IAAI,WAAW,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK;QAAE,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC;IACnF,IAAI,WAAW,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK;QAAE,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC;IACnF,OAAO,oBAAoB,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,uDAAuD;AACvD,MAAM,UAAU,gBAAgB,CAAC,GAAc;IAC7C,qEAAqE;IACrE,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC3B,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IAC5B,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;IAClC,GAAG,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;IAC7B,GAAG,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;IAChC,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IAE5B,8DAA8D;IAC9D,GAAG,CAAC,iBAAiB,CAAC,oBAAoB,EAAE,mBAAmB,CAAC,CAAC;IAEjE,QAAQ;IACR,GAAG,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;IACjC,GAAG,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;IAC7B,GAAG,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;IAC/B,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IAC5B,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { KindSpec } from "../../core/registry.js";
2
+ export declare const extensionKind: KindSpec;
3
+ //# sourceMappingURL=extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../src/builtins/kinds/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,QAQ3B,CAAC"}
@@ -0,0 +1,9 @@
1
+ export const extensionKind = {
2
+ id: "extension",
3
+ description: "TypeScript runtime extensions.",
4
+ detect: (rel) => rel.startsWith("extensions/") &&
5
+ (rel.endsWith(".ts") || rel.endsWith(".js")),
6
+ layout: "file",
7
+ defaultTargets: {},
8
+ };
9
+ //# sourceMappingURL=extension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../src/builtins/kinds/extension.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAa;IACrC,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CACd,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC;QAC7B,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,EAAE;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { KindSpec } from "../../core/registry.js";
2
+ export declare const instructionKind: KindSpec;
3
+ //# sourceMappingURL=instruction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../src/builtins/kinds/instruction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,QAM7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ export const instructionKind = {
2
+ id: "instruction",
3
+ description: "Always-on project instructions (AGENTS.md).",
4
+ detect: (rel) => rel.startsWith("instructions/AGENTS.") && rel.endsWith(".md"),
5
+ layout: "file",
6
+ defaultTargets: {},
7
+ };
8
+ //# sourceMappingURL=instruction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruction.js","sourceRoot":"","sources":["../../../src/builtins/kinds/instruction.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAa;IACvC,EAAE,EAAE,aAAa;IACjB,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC;IAC9E,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,EAAE;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { KindSpec } from "../../core/registry.js";
2
+ export declare const promptKind: KindSpec;
3
+ //# sourceMappingURL=prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../src/builtins/kinds/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,QAMxB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export const promptKind = {
2
+ id: "prompt",
3
+ description: "Prompt templates that expand via /name commands.",
4
+ detect: (rel) => rel.startsWith("prompts/") && rel.endsWith(".md"),
5
+ layout: "file",
6
+ defaultTargets: {},
7
+ };
8
+ //# sourceMappingURL=prompt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../../src/builtins/kinds/prompt.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAa;IAClC,EAAE,EAAE,QAAQ;IACZ,WAAW,EAAE,kDAAkD;IAC/D,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC;IAClE,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,EAAE;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { KindSpec } from "../../core/registry.js";
2
+ export declare const ruleKind: KindSpec;
3
+ //# sourceMappingURL=rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../src/builtins/kinds/rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,eAAO,MAAM,QAAQ,EAAE,QAQtB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export const ruleKind = {
2
+ id: "rule",
3
+ description: "Scoped advisory rules for AI coding agents.",
4
+ detect: (rel) => rel.startsWith("rules/"),
5
+ layout: "file",
6
+ // defaultTargets intentionally empty — each built-in tool defines its own
7
+ // mapping via targets.rule so it can customise extension and transform.
8
+ defaultTargets: {},
9
+ };
10
+ //# sourceMappingURL=rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.js","sourceRoot":"","sources":["../../../src/builtins/kinds/rule.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,EAAE,EAAE,MAAM;IACV,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC;IACzC,MAAM,EAAE,MAAM;IACd,0EAA0E;IAC1E,wEAAwE;IACxE,cAAc,EAAE,EAAE;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { KindSpec } from "../../core/registry.js";
2
+ export declare const skillKind: KindSpec;
3
+ //# sourceMappingURL=skill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill.d.ts","sourceRoot":"","sources":["../../../src/builtins/kinds/skill.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,eAAO,MAAM,SAAS,EAAE,QAMvB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export const skillKind = {
2
+ id: "skill",
3
+ description: "AgentSkill directories (reusable sub-agents).",
4
+ detect: (rel) => rel.startsWith("skills/"),
5
+ layout: "dir",
6
+ defaultTargets: {},
7
+ };
8
+ //# sourceMappingURL=skill.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill.js","sourceRoot":"","sources":["../../../src/builtins/kinds/skill.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAa;IACjC,EAAE,EAAE,OAAO;IACX,WAAW,EAAE,+CAA+C;IAC5D,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC;IAC1C,MAAM,EAAE,KAAK;IACb,cAAc,EAAE,EAAE;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { KindSpec } from "../../core/registry.js";
2
+ export declare const themeKind: KindSpec;
3
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/builtins/kinds/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,eAAO,MAAM,SAAS,EAAE,QAMvB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export const themeKind = {
2
+ id: "theme",
3
+ description: "TUI color themes (JSON).",
4
+ detect: (rel) => rel.startsWith("themes/") && rel.endsWith(".json"),
5
+ layout: "file",
6
+ defaultTargets: {},
7
+ };
8
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/builtins/kinds/theme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAa;IACjC,EAAE,EAAE,OAAO;IACX,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC;IACnE,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,EAAE;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ToolSpec } from "../../core/registry.js";
2
+ export declare const claudeCodeTool: ToolSpec;
3
+ //# sourceMappingURL=claude-code.d.ts.map