goatchain-cli-darwin-x64 0.0.73-beta.9 → 0.1.1

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 (305) hide show
  1. package/bin/goatchain +0 -0
  2. package/bin/node_modules/skills/bin/cli.mjs +14 -0
  3. package/bin/node_modules/skills/dist/_chunks/libs/@clack/core.mjs +767 -0
  4. package/bin/node_modules/skills/dist/_chunks/libs/@clack/prompts.mjs +334 -0
  5. package/bin/node_modules/skills/dist/_chunks/libs/@kwsites/file-exists.mjs +562 -0
  6. package/bin/node_modules/skills/dist/_chunks/libs/@kwsites/promise-deferred.mjs +37 -0
  7. package/bin/node_modules/skills/dist/_chunks/libs/@vercel/detect-agent.mjs +138 -0
  8. package/bin/node_modules/skills/dist/_chunks/libs/simple-git.mjs +3584 -0
  9. package/bin/node_modules/skills/dist/_chunks/libs/xdg-basedir.mjs +14 -0
  10. package/bin/node_modules/skills/dist/_chunks/rolldown-runtime.mjs +24 -0
  11. package/bin/node_modules/skills/dist/cli.d.mts +1 -0
  12. package/bin/node_modules/skills/dist/cli.mjs +6199 -0
  13. package/bin/node_modules/skills/package.json +143 -0
  14. package/bin/node_modules/yaml/LICENSE +13 -0
  15. package/bin/node_modules/yaml/README.md +172 -0
  16. package/bin/node_modules/yaml/bin.mjs +11 -0
  17. package/bin/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  18. package/bin/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  19. package/bin/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
  20. package/bin/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  21. package/bin/node_modules/yaml/browser/dist/compose/composer.js +219 -0
  22. package/bin/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  23. package/bin/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  24. package/bin/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  25. package/bin/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  26. package/bin/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  27. package/bin/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +225 -0
  28. package/bin/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  29. package/bin/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  30. package/bin/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  31. package/bin/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  32. package/bin/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  33. package/bin/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  34. package/bin/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  35. package/bin/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  36. package/bin/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  37. package/bin/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  38. package/bin/node_modules/yaml/browser/dist/errors.js +57 -0
  39. package/bin/node_modules/yaml/browser/dist/index.js +17 -0
  40. package/bin/node_modules/yaml/browser/dist/log.js +11 -0
  41. package/bin/node_modules/yaml/browser/dist/nodes/Alias.js +116 -0
  42. package/bin/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  43. package/bin/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  44. package/bin/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  45. package/bin/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  46. package/bin/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  47. package/bin/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  48. package/bin/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  49. package/bin/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  50. package/bin/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  51. package/bin/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  52. package/bin/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  53. package/bin/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  54. package/bin/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  55. package/bin/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
  56. package/bin/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  57. package/bin/node_modules/yaml/browser/dist/parse/parser.js +975 -0
  58. package/bin/node_modules/yaml/browser/dist/public-api.js +102 -0
  59. package/bin/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  60. package/bin/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  61. package/bin/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  62. package/bin/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  63. package/bin/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  64. package/bin/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  65. package/bin/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  66. package/bin/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  67. package/bin/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  68. package/bin/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  69. package/bin/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  70. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  71. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  72. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  73. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  74. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
  75. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  76. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  77. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  78. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  79. package/bin/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  80. package/bin/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  81. package/bin/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
  82. package/bin/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
  83. package/bin/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  84. package/bin/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  85. package/bin/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
  86. package/bin/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  87. package/bin/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  88. package/bin/node_modules/yaml/browser/dist/util.js +11 -0
  89. package/bin/node_modules/yaml/browser/dist/visit.js +233 -0
  90. package/bin/node_modules/yaml/browser/index.js +5 -0
  91. package/bin/node_modules/yaml/browser/package.json +3 -0
  92. package/bin/node_modules/yaml/dist/cli.d.ts +8 -0
  93. package/bin/node_modules/yaml/dist/cli.mjs +201 -0
  94. package/bin/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  95. package/bin/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  96. package/bin/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  97. package/bin/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  98. package/bin/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  99. package/bin/node_modules/yaml/dist/compose/compose-node.js +112 -0
  100. package/bin/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  101. package/bin/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  102. package/bin/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  103. package/bin/node_modules/yaml/dist/compose/composer.js +224 -0
  104. package/bin/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  105. package/bin/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  106. package/bin/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  107. package/bin/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  108. package/bin/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  109. package/bin/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  110. package/bin/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  111. package/bin/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  112. package/bin/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  113. package/bin/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  114. package/bin/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  115. package/bin/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
  116. package/bin/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  117. package/bin/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  118. package/bin/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  119. package/bin/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  120. package/bin/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  121. package/bin/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  122. package/bin/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  123. package/bin/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  124. package/bin/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  125. package/bin/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  126. package/bin/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  127. package/bin/node_modules/yaml/dist/doc/Document.js +337 -0
  128. package/bin/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  129. package/bin/node_modules/yaml/dist/doc/anchors.js +76 -0
  130. package/bin/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  131. package/bin/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  132. package/bin/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  133. package/bin/node_modules/yaml/dist/doc/createNode.js +90 -0
  134. package/bin/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  135. package/bin/node_modules/yaml/dist/doc/directives.js +178 -0
  136. package/bin/node_modules/yaml/dist/errors.d.ts +21 -0
  137. package/bin/node_modules/yaml/dist/errors.js +62 -0
  138. package/bin/node_modules/yaml/dist/index.d.ts +25 -0
  139. package/bin/node_modules/yaml/dist/index.js +50 -0
  140. package/bin/node_modules/yaml/dist/log.d.ts +3 -0
  141. package/bin/node_modules/yaml/dist/log.js +19 -0
  142. package/bin/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  143. package/bin/node_modules/yaml/dist/nodes/Alias.js +118 -0
  144. package/bin/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  145. package/bin/node_modules/yaml/dist/nodes/Collection.js +151 -0
  146. package/bin/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  147. package/bin/node_modules/yaml/dist/nodes/Node.js +40 -0
  148. package/bin/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  149. package/bin/node_modules/yaml/dist/nodes/Pair.js +39 -0
  150. package/bin/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
  151. package/bin/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  152. package/bin/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  153. package/bin/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  154. package/bin/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  155. package/bin/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  156. package/bin/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  157. package/bin/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  158. package/bin/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  159. package/bin/node_modules/yaml/dist/nodes/identity.js +53 -0
  160. package/bin/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  161. package/bin/node_modules/yaml/dist/nodes/toJS.js +39 -0
  162. package/bin/node_modules/yaml/dist/options.d.ts +350 -0
  163. package/bin/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  164. package/bin/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  165. package/bin/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  166. package/bin/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  167. package/bin/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  168. package/bin/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  169. package/bin/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  170. package/bin/node_modules/yaml/dist/parse/cst.js +112 -0
  171. package/bin/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  172. package/bin/node_modules/yaml/dist/parse/lexer.js +723 -0
  173. package/bin/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  174. package/bin/node_modules/yaml/dist/parse/line-counter.js +41 -0
  175. package/bin/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  176. package/bin/node_modules/yaml/dist/parse/parser.js +980 -0
  177. package/bin/node_modules/yaml/dist/public-api.d.ts +44 -0
  178. package/bin/node_modules/yaml/dist/public-api.js +107 -0
  179. package/bin/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  180. package/bin/node_modules/yaml/dist/schema/Schema.js +39 -0
  181. package/bin/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  182. package/bin/node_modules/yaml/dist/schema/common/map.js +19 -0
  183. package/bin/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  184. package/bin/node_modules/yaml/dist/schema/common/null.js +17 -0
  185. package/bin/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  186. package/bin/node_modules/yaml/dist/schema/common/seq.js +19 -0
  187. package/bin/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  188. package/bin/node_modules/yaml/dist/schema/common/string.js +16 -0
  189. package/bin/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  190. package/bin/node_modules/yaml/dist/schema/core/bool.js +21 -0
  191. package/bin/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  192. package/bin/node_modules/yaml/dist/schema/core/float.js +47 -0
  193. package/bin/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  194. package/bin/node_modules/yaml/dist/schema/core/int.js +42 -0
  195. package/bin/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  196. package/bin/node_modules/yaml/dist/schema/core/schema.js +25 -0
  197. package/bin/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  198. package/bin/node_modules/yaml/dist/schema/json/schema.js +64 -0
  199. package/bin/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  200. package/bin/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  201. package/bin/node_modules/yaml/dist/schema/tags.js +99 -0
  202. package/bin/node_modules/yaml/dist/schema/types.d.ts +92 -0
  203. package/bin/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  204. package/bin/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  205. package/bin/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  206. package/bin/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  207. package/bin/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  208. package/bin/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  209. package/bin/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  210. package/bin/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  211. package/bin/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  212. package/bin/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
  213. package/bin/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  214. package/bin/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  215. package/bin/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  216. package/bin/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  217. package/bin/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  218. package/bin/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  219. package/bin/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  220. package/bin/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  221. package/bin/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  222. package/bin/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  223. package/bin/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  224. package/bin/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  225. package/bin/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  226. package/bin/node_modules/yaml/dist/stringify/stringify.js +132 -0
  227. package/bin/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  228. package/bin/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
  229. package/bin/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  230. package/bin/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  231. package/bin/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  232. package/bin/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  233. package/bin/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  234. package/bin/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
  235. package/bin/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  236. package/bin/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  237. package/bin/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  238. package/bin/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  239. package/bin/node_modules/yaml/dist/test-events.d.ts +4 -0
  240. package/bin/node_modules/yaml/dist/test-events.js +134 -0
  241. package/bin/node_modules/yaml/dist/util.d.ts +16 -0
  242. package/bin/node_modules/yaml/dist/util.js +28 -0
  243. package/bin/node_modules/yaml/dist/visit.d.ts +102 -0
  244. package/bin/node_modules/yaml/dist/visit.js +236 -0
  245. package/bin/node_modules/yaml/package.json +97 -0
  246. package/bin/node_modules/yaml/util.js +2 -0
  247. package/bin/runtime/sandbox/dim-sandbox-runner +0 -0
  248. package/bin/runtime/sandbox/manifest.json +15 -0
  249. package/bin/skills-assets/artifact-static-site/SKILL.md +58 -0
  250. package/bin/skills-assets/artifact-static-site/agents/openai.yaml +6 -0
  251. package/bin/skills-assets/chrome-control/SKILL.md +96 -0
  252. package/bin/skills-assets/computer-use/SKILL.md +34 -0
  253. package/bin/skills-assets/deep-investigate/SKILL.md +101 -0
  254. package/bin/skills-assets/deep-investigate/references/prompts.md +75 -0
  255. package/bin/skills-assets/deep-investigate/references/templates.md +73 -0
  256. package/bin/skills-assets/deep-investigate/references/thinking-tools.md +36 -0
  257. package/bin/skills-assets/dim-modality/SKILL.md +88 -0
  258. package/bin/skills-assets/dim-modality/agents/openai.yaml +4 -0
  259. package/bin/skills-assets/dim-modality/references/cli-recipes.md +137 -0
  260. package/bin/skills-assets/dim-modality/references/model-notes.md +56 -0
  261. package/bin/skills-assets/dim-workflow/SKILL.md +125 -0
  262. package/bin/skills-assets/dim-workflow/agents/openai.yaml +6 -0
  263. package/bin/skills-assets/docs-sprint/SKILL.md +73 -0
  264. package/bin/skills-assets/docs-sprint/agents/openai.yaml +4 -0
  265. package/bin/skills-assets/docs-sprint/references/contract-discipline.md +30 -0
  266. package/bin/skills-assets/docs-sprint/references/delivery-plan.md +162 -0
  267. package/bin/skills-assets/docs-sprint/references/documentation-system.md +109 -0
  268. package/bin/skills-assets/docs-sprint/references/ui-layout.md +73 -0
  269. package/bin/skills-assets/docs-sprint/references/worktree-guide.md +45 -0
  270. package/bin/skills-assets/officecli/SKILL.md +423 -0
  271. package/bin/skills-assets/pdf/README.md +222 -0
  272. package/bin/skills-assets/pdf/SKILL.md +191 -0
  273. package/bin/skills-assets/pdf/design/design.md +381 -0
  274. package/bin/skills-assets/pdf/scripts/cover.py +1579 -0
  275. package/bin/skills-assets/pdf/scripts/fill_inspect.py +200 -0
  276. package/bin/skills-assets/pdf/scripts/fill_write.py +242 -0
  277. package/bin/skills-assets/pdf/scripts/make.sh +491 -0
  278. package/bin/skills-assets/pdf/scripts/merge.py +112 -0
  279. package/bin/skills-assets/pdf/scripts/palette.py +521 -0
  280. package/bin/skills-assets/pdf/scripts/reformat_parse.py +374 -0
  281. package/bin/skills-assets/pdf/scripts/render_body.py +1052 -0
  282. package/bin/skills-assets/pdf/scripts/render_cover.js +111 -0
  283. package/bin/skills-assets/plugin-creator/SKILL.md +148 -0
  284. package/bin/skills-assets/plugin-creator/references/installing-and-updating.md +66 -0
  285. package/bin/skills-assets/plugin-creator/references/plugin-json-spec.md +148 -0
  286. package/bin/skills-assets/plugin-creator/scripts/create_basic_plugin.py +189 -0
  287. package/bin/skills-assets/plugin-creator/scripts/validate_plugin.py +269 -0
  288. package/bin/skills-assets/skill-creator/SKILL.md +368 -0
  289. package/bin/skills-assets/skill-creator/agents/openai.yaml +5 -0
  290. package/bin/skills-assets/skill-creator/assets/skill-creator-small.svg +3 -0
  291. package/bin/skills-assets/skill-creator/assets/skill-creator.png +0 -0
  292. package/bin/skills-assets/skill-creator/license.txt +202 -0
  293. package/bin/skills-assets/skill-creator/references/openai_yaml.md +49 -0
  294. package/bin/skills-assets/skill-creator/scripts/generate_openai_yaml.py +226 -0
  295. package/bin/skills-assets/skill-creator/scripts/init_skill.py +397 -0
  296. package/bin/skills-assets/skill-creator/scripts/quick_validate.py +101 -0
  297. package/bin/skills-assets/skill-installer/LICENSE.txt +202 -0
  298. package/bin/skills-assets/skill-installer/SKILL.md +58 -0
  299. package/bin/skills-assets/skill-installer/agents/openai.yaml +5 -0
  300. package/bin/skills-assets/skill-installer/assets/skill-installer-small.svg +3 -0
  301. package/bin/skills-assets/skill-installer/assets/skill-installer.png +0 -0
  302. package/bin/skills-assets/skill-installer/scripts/github_utils.py +21 -0
  303. package/bin/skills-assets/skill-installer/scripts/install-skill-from-github.py +308 -0
  304. package/bin/skills-assets/skill-installer/scripts/list-skills.py +107 -0
  305. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Tracks newlines during parsing in order to provide an efficient API for
3
+ * determining the one-indexed `{ line, col }` position for any offset
4
+ * within the input.
5
+ */
6
+ export declare class LineCounter {
7
+ lineStarts: number[];
8
+ /**
9
+ * Should be called in ascending order. Otherwise, call
10
+ * `lineCounter.lineStarts.sort()` before calling `linePos()`.
11
+ */
12
+ addNewLine: (offset: number) => number;
13
+ /**
14
+ * Performs a binary search and returns the 1-indexed { line, col }
15
+ * position of `offset`. If `line === 0`, `addNewLine` has never been
16
+ * called or `offset` is before the first known newline.
17
+ */
18
+ linePos: (offset: number) => {
19
+ line: number;
20
+ col: number;
21
+ };
22
+ }
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Tracks newlines during parsing in order to provide an efficient API for
5
+ * determining the one-indexed `{ line, col }` position for any offset
6
+ * within the input.
7
+ */
8
+ class LineCounter {
9
+ constructor() {
10
+ this.lineStarts = [];
11
+ /**
12
+ * Should be called in ascending order. Otherwise, call
13
+ * `lineCounter.lineStarts.sort()` before calling `linePos()`.
14
+ */
15
+ this.addNewLine = (offset) => this.lineStarts.push(offset);
16
+ /**
17
+ * Performs a binary search and returns the 1-indexed { line, col }
18
+ * position of `offset`. If `line === 0`, `addNewLine` has never been
19
+ * called or `offset` is before the first known newline.
20
+ */
21
+ this.linePos = (offset) => {
22
+ let low = 0;
23
+ let high = this.lineStarts.length;
24
+ while (low < high) {
25
+ const mid = (low + high) >> 1; // Math.floor((low + high) / 2)
26
+ if (this.lineStarts[mid] < offset)
27
+ low = mid + 1;
28
+ else
29
+ high = mid;
30
+ }
31
+ if (this.lineStarts[low] === offset)
32
+ return { line: low + 1, col: 1 };
33
+ if (low === 0)
34
+ return { line: 0, col: offset };
35
+ const start = this.lineStarts[low - 1];
36
+ return { line: low, col: offset - start + 1 };
37
+ };
38
+ }
39
+ }
40
+
41
+ exports.LineCounter = LineCounter;
@@ -0,0 +1,84 @@
1
+ import type { Token } from './cst';
2
+ /**
3
+ * A YAML concrete syntax tree (CST) parser
4
+ *
5
+ * ```ts
6
+ * const src: string = ...
7
+ * for (const token of new Parser().parse(src)) {
8
+ * // token: Token
9
+ * }
10
+ * ```
11
+ *
12
+ * To use the parser with a user-provided lexer:
13
+ *
14
+ * ```ts
15
+ * function* parse(source: string, lexer: Lexer) {
16
+ * const parser = new Parser()
17
+ * for (const lexeme of lexer.lex(source))
18
+ * yield* parser.next(lexeme)
19
+ * yield* parser.end()
20
+ * }
21
+ *
22
+ * const src: string = ...
23
+ * const lexer = new Lexer()
24
+ * for (const token of parse(src, lexer)) {
25
+ * // token: Token
26
+ * }
27
+ * ```
28
+ */
29
+ export declare class Parser {
30
+ private onNewLine?;
31
+ /** If true, space and sequence indicators count as indentation */
32
+ private atNewLine;
33
+ /** If true, next token is a scalar value */
34
+ private atScalar;
35
+ /** Current indentation level */
36
+ private indent;
37
+ /** Current offset since the start of parsing */
38
+ offset: number;
39
+ /** On the same line with a block map key */
40
+ private onKeyLine;
41
+ /** Top indicates the node that's currently being built */
42
+ stack: Token[];
43
+ /** The source of the current token, set in parse() */
44
+ private source;
45
+ /** The type of the current token, set in parse() */
46
+ private type;
47
+ /**
48
+ * @param onNewLine - If defined, called separately with the start position of
49
+ * each new line (in `parse()`, including the start of input).
50
+ */
51
+ constructor(onNewLine?: (offset: number) => void);
52
+ /**
53
+ * Parse `source` as a YAML stream.
54
+ * If `incomplete`, a part of the last line may be left as a buffer for the next call.
55
+ *
56
+ * Errors are not thrown, but yielded as `{ type: 'error', message }` tokens.
57
+ *
58
+ * @returns A generator of tokens representing each directive, document, and other structure.
59
+ */
60
+ parse(source: string, incomplete?: boolean): Generator<Token, void>;
61
+ /**
62
+ * Advance the parser by the `source` of one lexical token.
63
+ */
64
+ next(source: string): Generator<Token, void>;
65
+ private lexer;
66
+ /** Call at end of input to push out any remaining constructions */
67
+ end(): Generator<Token, void>;
68
+ private get sourceToken();
69
+ private step;
70
+ private peek;
71
+ private pop;
72
+ private stream;
73
+ private document;
74
+ private scalar;
75
+ private blockScalar;
76
+ private blockMap;
77
+ private blockSequence;
78
+ private flowCollection;
79
+ private flowScalar;
80
+ private startBlockValue;
81
+ private atIndentedComment;
82
+ private documentEnd;
83
+ private lineEnd;
84
+ }