@microwiseai/snapshot 0.9.1 → 0.9.2

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 (473) hide show
  1. package/dist/build-info.json +1 -1
  2. package/dist/commands/install.d.ts.map +1 -1
  3. package/dist/commands/install.js +6 -1
  4. package/dist/commands/install.js.map +1 -1
  5. package/dist/commands/publish.d.ts.map +1 -1
  6. package/dist/commands/publish.js +7 -0
  7. package/dist/commands/publish.js.map +1 -1
  8. package/dist/lib/prerequisites.d.ts.map +1 -1
  9. package/dist/lib/prerequisites.js +2 -1
  10. package/dist/lib/prerequisites.js.map +1 -1
  11. package/dist/lib/proxy-index-refresh.d.ts +40 -0
  12. package/dist/lib/proxy-index-refresh.d.ts.map +1 -0
  13. package/dist/lib/proxy-index-refresh.js +66 -0
  14. package/dist/lib/proxy-index-refresh.js.map +1 -0
  15. package/node_modules/@microwiseai/skit/LICENSE +21 -0
  16. package/node_modules/@microwiseai/skit/README.md +137 -93
  17. package/node_modules/@microwiseai/skit/dist/__tests__/setup/hermetic-config.d.ts +2 -0
  18. package/node_modules/@microwiseai/skit/dist/__tests__/setup/hermetic-config.d.ts.map +1 -0
  19. package/node_modules/@microwiseai/skit/dist/commands/browse.d.ts +47 -3
  20. package/node_modules/@microwiseai/skit/dist/commands/browse.d.ts.map +1 -1
  21. package/node_modules/@microwiseai/skit/dist/commands/config.d.ts +5 -0
  22. package/node_modules/@microwiseai/skit/dist/commands/config.d.ts.map +1 -0
  23. package/node_modules/@microwiseai/skit/dist/commands/install.d.ts +14 -2
  24. package/node_modules/@microwiseai/skit/dist/commands/install.d.ts.map +1 -1
  25. package/node_modules/@microwiseai/skit/dist/commands/orphans.d.ts +16 -0
  26. package/node_modules/@microwiseai/skit/dist/commands/orphans.d.ts.map +1 -0
  27. package/node_modules/@microwiseai/skit/dist/commands/pack.d.ts.map +1 -1
  28. package/node_modules/@microwiseai/skit/dist/commands/prompt.d.ts +25 -0
  29. package/node_modules/@microwiseai/skit/dist/commands/prompt.d.ts.map +1 -0
  30. package/node_modules/@microwiseai/skit/dist/commands/publish.d.ts.map +1 -1
  31. package/node_modules/@microwiseai/skit/dist/commands/uninstall.d.ts.map +1 -1
  32. package/node_modules/@microwiseai/skit/dist/distkit/install-directive.d.ts +48 -0
  33. package/node_modules/@microwiseai/skit/dist/distkit/install-directive.d.ts.map +1 -0
  34. package/node_modules/@microwiseai/skit/dist/distkit/kit-executor.d.ts +46 -0
  35. package/node_modules/@microwiseai/skit/dist/distkit/kit-executor.d.ts.map +1 -0
  36. package/node_modules/@microwiseai/skit/dist/distkit/resolve-from.d.ts +37 -0
  37. package/node_modules/@microwiseai/skit/dist/distkit/resolve-from.d.ts.map +1 -0
  38. package/node_modules/@microwiseai/skit/dist/index.d.ts +0 -1
  39. package/node_modules/@microwiseai/skit/dist/index.js +52519 -68
  40. package/node_modules/@microwiseai/skit/dist/lib.d.ts +657 -5
  41. package/node_modules/@microwiseai/skit/dist/lib.d.ts.map +1 -1
  42. package/node_modules/@microwiseai/skit/dist/lib.js +48417 -554
  43. package/node_modules/@microwiseai/skit/dist/types/skit.d.ts +189 -12
  44. package/node_modules/@microwiseai/skit/dist/types/skit.d.ts.map +1 -1
  45. package/node_modules/@microwiseai/skit/dist/utils/dep-plan.d.ts +150 -0
  46. package/node_modules/@microwiseai/skit/dist/utils/dep-plan.d.ts.map +1 -0
  47. package/node_modules/@microwiseai/skit/dist/utils/file-copy.d.ts +10 -5
  48. package/node_modules/@microwiseai/skit/dist/utils/file-copy.d.ts.map +1 -1
  49. package/node_modules/@microwiseai/skit/dist/utils/gitlab-registry.d.ts +91 -0
  50. package/node_modules/@microwiseai/skit/dist/utils/gitlab-registry.d.ts.map +1 -0
  51. package/node_modules/@microwiseai/skit/dist/utils/installed-registry.d.ts +59 -3
  52. package/node_modules/@microwiseai/skit/dist/utils/installed-registry.d.ts.map +1 -1
  53. package/node_modules/@microwiseai/skit/dist/utils/npm-auth.d.ts +99 -0
  54. package/node_modules/@microwiseai/skit/dist/utils/npm-auth.d.ts.map +1 -0
  55. package/node_modules/@microwiseai/skit/dist/utils/profile-permissions.d.ts +54 -0
  56. package/node_modules/@microwiseai/skit/dist/utils/profile-permissions.d.ts.map +1 -0
  57. package/node_modules/@microwiseai/skit/dist/utils/skit-config.d.ts +41 -0
  58. package/node_modules/@microwiseai/skit/dist/utils/skit-config.d.ts.map +1 -0
  59. package/node_modules/@microwiseai/skit/dist/utils/skit-parser.d.ts +5 -0
  60. package/node_modules/@microwiseai/skit/dist/utils/skit-parser.d.ts.map +1 -1
  61. package/node_modules/@microwiseai/skit/dist/utils/temp-npmrc.d.ts +70 -0
  62. package/node_modules/@microwiseai/skit/dist/utils/temp-npmrc.d.ts.map +1 -0
  63. package/node_modules/@microwiseai/skit/package.json +40 -10
  64. package/package.json +2 -2
  65. package/node_modules/@isaacs/fs-minipass/LICENSE +0 -15
  66. package/node_modules/@isaacs/fs-minipass/README.md +0 -71
  67. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +0 -118
  68. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +0 -1
  69. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +0 -430
  70. package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +0 -1
  71. package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +0 -3
  72. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +0 -118
  73. package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +0 -1
  74. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +0 -420
  75. package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +0 -1
  76. package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +0 -3
  77. package/node_modules/@isaacs/fs-minipass/package.json +0 -72
  78. package/node_modules/@ist/registry-config/dist/index.d.ts +0 -3
  79. package/node_modules/@ist/registry-config/dist/index.js +0 -3
  80. package/node_modules/@ist/registry-config/dist/registry-url.d.ts +0 -1
  81. package/node_modules/@ist/registry-config/dist/registry-url.js +0 -1
  82. package/node_modules/@ist/registry-config/dist/scope-mapping.d.ts +0 -6
  83. package/node_modules/@ist/registry-config/dist/scope-mapping.js +0 -7
  84. package/node_modules/@ist/registry-config/dist/types.d.ts +0 -4
  85. package/node_modules/@ist/registry-config/dist/types.js +0 -1
  86. package/node_modules/@ist/registry-config/package.json +0 -32
  87. package/node_modules/@microwiseai/skit/dist/commands/browse.js +0 -127
  88. package/node_modules/@microwiseai/skit/dist/commands/browse.js.map +0 -1
  89. package/node_modules/@microwiseai/skit/dist/commands/gitignore.js +0 -59
  90. package/node_modules/@microwiseai/skit/dist/commands/gitignore.js.map +0 -1
  91. package/node_modules/@microwiseai/skit/dist/commands/info.js +0 -80
  92. package/node_modules/@microwiseai/skit/dist/commands/info.js.map +0 -1
  93. package/node_modules/@microwiseai/skit/dist/commands/install.js +0 -150
  94. package/node_modules/@microwiseai/skit/dist/commands/install.js.map +0 -1
  95. package/node_modules/@microwiseai/skit/dist/commands/licenses.d.ts +0 -9
  96. package/node_modules/@microwiseai/skit/dist/commands/licenses.d.ts.map +0 -1
  97. package/node_modules/@microwiseai/skit/dist/commands/licenses.js +0 -125
  98. package/node_modules/@microwiseai/skit/dist/commands/licenses.js.map +0 -1
  99. package/node_modules/@microwiseai/skit/dist/commands/list.js +0 -41
  100. package/node_modules/@microwiseai/skit/dist/commands/list.js.map +0 -1
  101. package/node_modules/@microwiseai/skit/dist/commands/login.d.ts +0 -10
  102. package/node_modules/@microwiseai/skit/dist/commands/login.d.ts.map +0 -1
  103. package/node_modules/@microwiseai/skit/dist/commands/login.js +0 -112
  104. package/node_modules/@microwiseai/skit/dist/commands/login.js.map +0 -1
  105. package/node_modules/@microwiseai/skit/dist/commands/logout.d.ts +0 -5
  106. package/node_modules/@microwiseai/skit/dist/commands/logout.d.ts.map +0 -1
  107. package/node_modules/@microwiseai/skit/dist/commands/logout.js +0 -30
  108. package/node_modules/@microwiseai/skit/dist/commands/logout.js.map +0 -1
  109. package/node_modules/@microwiseai/skit/dist/commands/pack.js +0 -185
  110. package/node_modules/@microwiseai/skit/dist/commands/pack.js.map +0 -1
  111. package/node_modules/@microwiseai/skit/dist/commands/publish.js +0 -108
  112. package/node_modules/@microwiseai/skit/dist/commands/publish.js.map +0 -1
  113. package/node_modules/@microwiseai/skit/dist/commands/purchase.d.ts +0 -9
  114. package/node_modules/@microwiseai/skit/dist/commands/purchase.d.ts.map +0 -1
  115. package/node_modules/@microwiseai/skit/dist/commands/purchase.js +0 -160
  116. package/node_modules/@microwiseai/skit/dist/commands/purchase.js.map +0 -1
  117. package/node_modules/@microwiseai/skit/dist/commands/register.d.ts +0 -10
  118. package/node_modules/@microwiseai/skit/dist/commands/register.d.ts.map +0 -1
  119. package/node_modules/@microwiseai/skit/dist/commands/register.js +0 -121
  120. package/node_modules/@microwiseai/skit/dist/commands/register.js.map +0 -1
  121. package/node_modules/@microwiseai/skit/dist/commands/uninstall.js +0 -138
  122. package/node_modules/@microwiseai/skit/dist/commands/uninstall.js.map +0 -1
  123. package/node_modules/@microwiseai/skit/dist/commands/whoami.d.ts +0 -9
  124. package/node_modules/@microwiseai/skit/dist/commands/whoami.d.ts.map +0 -1
  125. package/node_modules/@microwiseai/skit/dist/commands/whoami.js +0 -79
  126. package/node_modules/@microwiseai/skit/dist/commands/whoami.js.map +0 -1
  127. package/node_modules/@microwiseai/skit/dist/index.js.map +0 -1
  128. package/node_modules/@microwiseai/skit/dist/lib.js.map +0 -1
  129. package/node_modules/@microwiseai/skit/dist/types/skit.js +0 -20
  130. package/node_modules/@microwiseai/skit/dist/types/skit.js.map +0 -1
  131. package/node_modules/@microwiseai/skit/dist/utils/api.d.ts +0 -18
  132. package/node_modules/@microwiseai/skit/dist/utils/api.d.ts.map +0 -1
  133. package/node_modules/@microwiseai/skit/dist/utils/api.js +0 -26
  134. package/node_modules/@microwiseai/skit/dist/utils/api.js.map +0 -1
  135. package/node_modules/@microwiseai/skit/dist/utils/auth.d.ts +0 -62
  136. package/node_modules/@microwiseai/skit/dist/utils/auth.d.ts.map +0 -1
  137. package/node_modules/@microwiseai/skit/dist/utils/auth.js +0 -172
  138. package/node_modules/@microwiseai/skit/dist/utils/auth.js.map +0 -1
  139. package/node_modules/@microwiseai/skit/dist/utils/file-copy.js +0 -219
  140. package/node_modules/@microwiseai/skit/dist/utils/file-copy.js.map +0 -1
  141. package/node_modules/@microwiseai/skit/dist/utils/hook-installer.js +0 -98
  142. package/node_modules/@microwiseai/skit/dist/utils/hook-installer.js.map +0 -1
  143. package/node_modules/@microwiseai/skit/dist/utils/installed-registry.js +0 -108
  144. package/node_modules/@microwiseai/skit/dist/utils/installed-registry.js.map +0 -1
  145. package/node_modules/@microwiseai/skit/dist/utils/skit-parser.js +0 -52
  146. package/node_modules/@microwiseai/skit/dist/utils/skit-parser.js.map +0 -1
  147. package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.d.ts +0 -74
  148. package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.d.ts.map +0 -1
  149. package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.js +0 -280
  150. package/node_modules/@microwiseai/skit/dist/utils/wrapper-generator.js.map +0 -1
  151. package/node_modules/chownr/LICENSE.md +0 -63
  152. package/node_modules/chownr/README.md +0 -3
  153. package/node_modules/chownr/dist/commonjs/index.d.ts +0 -3
  154. package/node_modules/chownr/dist/commonjs/index.d.ts.map +0 -1
  155. package/node_modules/chownr/dist/commonjs/index.js +0 -93
  156. package/node_modules/chownr/dist/commonjs/index.js.map +0 -1
  157. package/node_modules/chownr/dist/commonjs/package.json +0 -3
  158. package/node_modules/chownr/dist/esm/index.d.ts +0 -3
  159. package/node_modules/chownr/dist/esm/index.d.ts.map +0 -1
  160. package/node_modules/chownr/dist/esm/index.js +0 -85
  161. package/node_modules/chownr/dist/esm/index.js.map +0 -1
  162. package/node_modules/chownr/dist/esm/package.json +0 -3
  163. package/node_modules/chownr/package.json +0 -69
  164. package/node_modules/commander/LICENSE +0 -22
  165. package/node_modules/commander/Readme.md +0 -1157
  166. package/node_modules/commander/esm.mjs +0 -16
  167. package/node_modules/commander/index.js +0 -24
  168. package/node_modules/commander/lib/argument.js +0 -149
  169. package/node_modules/commander/lib/command.js +0 -2509
  170. package/node_modules/commander/lib/error.js +0 -39
  171. package/node_modules/commander/lib/help.js +0 -520
  172. package/node_modules/commander/lib/option.js +0 -330
  173. package/node_modules/commander/lib/suggestSimilar.js +0 -101
  174. package/node_modules/commander/package-support.json +0 -16
  175. package/node_modules/commander/package.json +0 -84
  176. package/node_modules/commander/typings/esm.d.mts +0 -3
  177. package/node_modules/commander/typings/index.d.ts +0 -969
  178. package/node_modules/minipass/LICENSE.md +0 -55
  179. package/node_modules/minipass/README.md +0 -825
  180. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  181. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  182. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  183. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  184. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  185. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  186. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  187. package/node_modules/minipass/dist/esm/index.js +0 -1020
  188. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  189. package/node_modules/minipass/dist/esm/package.json +0 -3
  190. package/node_modules/minipass/package.json +0 -77
  191. package/node_modules/minizlib/LICENSE +0 -26
  192. package/node_modules/minizlib/README.md +0 -64
  193. package/node_modules/minizlib/dist/commonjs/constants.d.ts +0 -2
  194. package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +0 -1
  195. package/node_modules/minizlib/dist/commonjs/constants.js +0 -123
  196. package/node_modules/minizlib/dist/commonjs/constants.js.map +0 -1
  197. package/node_modules/minizlib/dist/commonjs/index.d.ts +0 -99
  198. package/node_modules/minizlib/dist/commonjs/index.d.ts.map +0 -1
  199. package/node_modules/minizlib/dist/commonjs/index.js +0 -416
  200. package/node_modules/minizlib/dist/commonjs/index.js.map +0 -1
  201. package/node_modules/minizlib/dist/commonjs/package.json +0 -3
  202. package/node_modules/minizlib/dist/esm/constants.d.ts +0 -2
  203. package/node_modules/minizlib/dist/esm/constants.d.ts.map +0 -1
  204. package/node_modules/minizlib/dist/esm/constants.js +0 -117
  205. package/node_modules/minizlib/dist/esm/constants.js.map +0 -1
  206. package/node_modules/minizlib/dist/esm/index.d.ts +0 -99
  207. package/node_modules/minizlib/dist/esm/index.d.ts.map +0 -1
  208. package/node_modules/minizlib/dist/esm/index.js +0 -363
  209. package/node_modules/minizlib/dist/esm/index.js.map +0 -1
  210. package/node_modules/minizlib/dist/esm/package.json +0 -3
  211. package/node_modules/minizlib/package.json +0 -80
  212. package/node_modules/tar/LICENSE.md +0 -55
  213. package/node_modules/tar/README.md +0 -1224
  214. package/node_modules/tar/dist/commonjs/create.d.ts +0 -3
  215. package/node_modules/tar/dist/commonjs/create.d.ts.map +0 -1
  216. package/node_modules/tar/dist/commonjs/create.js +0 -82
  217. package/node_modules/tar/dist/commonjs/create.js.map +0 -1
  218. package/node_modules/tar/dist/commonjs/cwd-error.d.ts +0 -8
  219. package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +0 -1
  220. package/node_modules/tar/dist/commonjs/cwd-error.js +0 -18
  221. package/node_modules/tar/dist/commonjs/cwd-error.js.map +0 -1
  222. package/node_modules/tar/dist/commonjs/extract.d.ts +0 -3
  223. package/node_modules/tar/dist/commonjs/extract.d.ts.map +0 -1
  224. package/node_modules/tar/dist/commonjs/extract.js +0 -88
  225. package/node_modules/tar/dist/commonjs/extract.js.map +0 -1
  226. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +0 -2
  227. package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +0 -1
  228. package/node_modules/tar/dist/commonjs/get-write-flag.js +0 -32
  229. package/node_modules/tar/dist/commonjs/get-write-flag.js.map +0 -1
  230. package/node_modules/tar/dist/commonjs/header.d.ts +0 -53
  231. package/node_modules/tar/dist/commonjs/header.d.ts.map +0 -1
  232. package/node_modules/tar/dist/commonjs/header.js +0 -312
  233. package/node_modules/tar/dist/commonjs/header.js.map +0 -1
  234. package/node_modules/tar/dist/commonjs/index.d.ts +0 -20
  235. package/node_modules/tar/dist/commonjs/index.d.ts.map +0 -1
  236. package/node_modules/tar/dist/commonjs/index.js +0 -64
  237. package/node_modules/tar/dist/commonjs/index.js.map +0 -1
  238. package/node_modules/tar/dist/commonjs/index.min.js +0 -4
  239. package/node_modules/tar/dist/commonjs/index.min.js.map +0 -7
  240. package/node_modules/tar/dist/commonjs/large-numbers.d.ts +0 -3
  241. package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +0 -1
  242. package/node_modules/tar/dist/commonjs/large-numbers.js +0 -99
  243. package/node_modules/tar/dist/commonjs/large-numbers.js.map +0 -1
  244. package/node_modules/tar/dist/commonjs/list.d.ts +0 -7
  245. package/node_modules/tar/dist/commonjs/list.d.ts.map +0 -1
  246. package/node_modules/tar/dist/commonjs/list.js +0 -145
  247. package/node_modules/tar/dist/commonjs/list.js.map +0 -1
  248. package/node_modules/tar/dist/commonjs/make-command.d.ts +0 -49
  249. package/node_modules/tar/dist/commonjs/make-command.d.ts.map +0 -1
  250. package/node_modules/tar/dist/commonjs/make-command.js +0 -52
  251. package/node_modules/tar/dist/commonjs/make-command.js.map +0 -1
  252. package/node_modules/tar/dist/commonjs/mkdir.d.ts +0 -25
  253. package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +0 -1
  254. package/node_modules/tar/dist/commonjs/mkdir.js +0 -187
  255. package/node_modules/tar/dist/commonjs/mkdir.js.map +0 -1
  256. package/node_modules/tar/dist/commonjs/mode-fix.d.ts +0 -2
  257. package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +0 -1
  258. package/node_modules/tar/dist/commonjs/mode-fix.js +0 -29
  259. package/node_modules/tar/dist/commonjs/mode-fix.js.map +0 -1
  260. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +0 -2
  261. package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +0 -1
  262. package/node_modules/tar/dist/commonjs/normalize-unicode.js +0 -38
  263. package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +0 -1
  264. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +0 -2
  265. package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +0 -1
  266. package/node_modules/tar/dist/commonjs/normalize-windows-path.js +0 -12
  267. package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +0 -1
  268. package/node_modules/tar/dist/commonjs/options.d.ts +0 -596
  269. package/node_modules/tar/dist/commonjs/options.d.ts.map +0 -1
  270. package/node_modules/tar/dist/commonjs/options.js +0 -66
  271. package/node_modules/tar/dist/commonjs/options.js.map +0 -1
  272. package/node_modules/tar/dist/commonjs/pack.d.ts +0 -102
  273. package/node_modules/tar/dist/commonjs/pack.d.ts.map +0 -1
  274. package/node_modules/tar/dist/commonjs/pack.js +0 -511
  275. package/node_modules/tar/dist/commonjs/pack.js.map +0 -1
  276. package/node_modules/tar/dist/commonjs/package.json +0 -3
  277. package/node_modules/tar/dist/commonjs/parse.d.ts +0 -85
  278. package/node_modules/tar/dist/commonjs/parse.d.ts.map +0 -1
  279. package/node_modules/tar/dist/commonjs/parse.js +0 -610
  280. package/node_modules/tar/dist/commonjs/parse.js.map +0 -1
  281. package/node_modules/tar/dist/commonjs/path-reservations.d.ts +0 -11
  282. package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +0 -1
  283. package/node_modules/tar/dist/commonjs/path-reservations.js +0 -170
  284. package/node_modules/tar/dist/commonjs/path-reservations.js.map +0 -1
  285. package/node_modules/tar/dist/commonjs/pax.d.ts +0 -26
  286. package/node_modules/tar/dist/commonjs/pax.d.ts.map +0 -1
  287. package/node_modules/tar/dist/commonjs/pax.js +0 -158
  288. package/node_modules/tar/dist/commonjs/pax.js.map +0 -1
  289. package/node_modules/tar/dist/commonjs/process-umask.d.ts +0 -2
  290. package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +0 -1
  291. package/node_modules/tar/dist/commonjs/process-umask.js +0 -7
  292. package/node_modules/tar/dist/commonjs/process-umask.js.map +0 -1
  293. package/node_modules/tar/dist/commonjs/read-entry.d.ts +0 -36
  294. package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +0 -1
  295. package/node_modules/tar/dist/commonjs/read-entry.js +0 -136
  296. package/node_modules/tar/dist/commonjs/read-entry.js.map +0 -1
  297. package/node_modules/tar/dist/commonjs/replace.d.ts +0 -2
  298. package/node_modules/tar/dist/commonjs/replace.d.ts.map +0 -1
  299. package/node_modules/tar/dist/commonjs/replace.js +0 -227
  300. package/node_modules/tar/dist/commonjs/replace.js.map +0 -1
  301. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +0 -2
  302. package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +0 -1
  303. package/node_modules/tar/dist/commonjs/strip-absolute-path.js +0 -29
  304. package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +0 -1
  305. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +0 -2
  306. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +0 -1
  307. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +0 -18
  308. package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +0 -1
  309. package/node_modules/tar/dist/commonjs/symlink-error.d.ts +0 -9
  310. package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +0 -1
  311. package/node_modules/tar/dist/commonjs/symlink-error.js +0 -19
  312. package/node_modules/tar/dist/commonjs/symlink-error.js.map +0 -1
  313. package/node_modules/tar/dist/commonjs/types.d.ts +0 -7
  314. package/node_modules/tar/dist/commonjs/types.d.ts.map +0 -1
  315. package/node_modules/tar/dist/commonjs/types.js +0 -50
  316. package/node_modules/tar/dist/commonjs/types.js.map +0 -1
  317. package/node_modules/tar/dist/commonjs/unpack.d.ts +0 -101
  318. package/node_modules/tar/dist/commonjs/unpack.d.ts.map +0 -1
  319. package/node_modules/tar/dist/commonjs/unpack.js +0 -932
  320. package/node_modules/tar/dist/commonjs/unpack.js.map +0 -1
  321. package/node_modules/tar/dist/commonjs/update.d.ts +0 -2
  322. package/node_modules/tar/dist/commonjs/update.d.ts.map +0 -1
  323. package/node_modules/tar/dist/commonjs/update.js +0 -33
  324. package/node_modules/tar/dist/commonjs/update.js.map +0 -1
  325. package/node_modules/tar/dist/commonjs/warn-method.d.ts +0 -24
  326. package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +0 -1
  327. package/node_modules/tar/dist/commonjs/warn-method.js +0 -31
  328. package/node_modules/tar/dist/commonjs/warn-method.js.map +0 -1
  329. package/node_modules/tar/dist/commonjs/winchars.d.ts +0 -3
  330. package/node_modules/tar/dist/commonjs/winchars.d.ts.map +0 -1
  331. package/node_modules/tar/dist/commonjs/winchars.js +0 -14
  332. package/node_modules/tar/dist/commonjs/winchars.js.map +0 -1
  333. package/node_modules/tar/dist/commonjs/write-entry.d.ts +0 -129
  334. package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +0 -1
  335. package/node_modules/tar/dist/commonjs/write-entry.js +0 -698
  336. package/node_modules/tar/dist/commonjs/write-entry.js.map +0 -1
  337. package/node_modules/tar/dist/esm/create.d.ts +0 -3
  338. package/node_modules/tar/dist/esm/create.d.ts.map +0 -1
  339. package/node_modules/tar/dist/esm/create.js +0 -76
  340. package/node_modules/tar/dist/esm/create.js.map +0 -1
  341. package/node_modules/tar/dist/esm/cwd-error.d.ts +0 -8
  342. package/node_modules/tar/dist/esm/cwd-error.d.ts.map +0 -1
  343. package/node_modules/tar/dist/esm/cwd-error.js +0 -14
  344. package/node_modules/tar/dist/esm/cwd-error.js.map +0 -1
  345. package/node_modules/tar/dist/esm/extract.d.ts +0 -3
  346. package/node_modules/tar/dist/esm/extract.d.ts.map +0 -1
  347. package/node_modules/tar/dist/esm/extract.js +0 -49
  348. package/node_modules/tar/dist/esm/extract.js.map +0 -1
  349. package/node_modules/tar/dist/esm/get-write-flag.d.ts +0 -2
  350. package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +0 -1
  351. package/node_modules/tar/dist/esm/get-write-flag.js +0 -26
  352. package/node_modules/tar/dist/esm/get-write-flag.js.map +0 -1
  353. package/node_modules/tar/dist/esm/header.d.ts +0 -53
  354. package/node_modules/tar/dist/esm/header.d.ts.map +0 -1
  355. package/node_modules/tar/dist/esm/header.js +0 -275
  356. package/node_modules/tar/dist/esm/header.js.map +0 -1
  357. package/node_modules/tar/dist/esm/index.d.ts +0 -20
  358. package/node_modules/tar/dist/esm/index.d.ts.map +0 -1
  359. package/node_modules/tar/dist/esm/index.js +0 -20
  360. package/node_modules/tar/dist/esm/index.js.map +0 -1
  361. package/node_modules/tar/dist/esm/index.min.js +0 -4
  362. package/node_modules/tar/dist/esm/index.min.js.map +0 -7
  363. package/node_modules/tar/dist/esm/large-numbers.d.ts +0 -3
  364. package/node_modules/tar/dist/esm/large-numbers.d.ts.map +0 -1
  365. package/node_modules/tar/dist/esm/large-numbers.js +0 -94
  366. package/node_modules/tar/dist/esm/large-numbers.js.map +0 -1
  367. package/node_modules/tar/dist/esm/list.d.ts +0 -7
  368. package/node_modules/tar/dist/esm/list.d.ts.map +0 -1
  369. package/node_modules/tar/dist/esm/list.js +0 -105
  370. package/node_modules/tar/dist/esm/list.js.map +0 -1
  371. package/node_modules/tar/dist/esm/make-command.d.ts +0 -49
  372. package/node_modules/tar/dist/esm/make-command.d.ts.map +0 -1
  373. package/node_modules/tar/dist/esm/make-command.js +0 -48
  374. package/node_modules/tar/dist/esm/make-command.js.map +0 -1
  375. package/node_modules/tar/dist/esm/mkdir.d.ts +0 -25
  376. package/node_modules/tar/dist/esm/mkdir.d.ts.map +0 -1
  377. package/node_modules/tar/dist/esm/mkdir.js +0 -179
  378. package/node_modules/tar/dist/esm/mkdir.js.map +0 -1
  379. package/node_modules/tar/dist/esm/mode-fix.d.ts +0 -2
  380. package/node_modules/tar/dist/esm/mode-fix.d.ts.map +0 -1
  381. package/node_modules/tar/dist/esm/mode-fix.js +0 -25
  382. package/node_modules/tar/dist/esm/mode-fix.js.map +0 -1
  383. package/node_modules/tar/dist/esm/normalize-unicode.d.ts +0 -2
  384. package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +0 -1
  385. package/node_modules/tar/dist/esm/normalize-unicode.js +0 -34
  386. package/node_modules/tar/dist/esm/normalize-unicode.js.map +0 -1
  387. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +0 -2
  388. package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +0 -1
  389. package/node_modules/tar/dist/esm/normalize-windows-path.js +0 -9
  390. package/node_modules/tar/dist/esm/normalize-windows-path.js.map +0 -1
  391. package/node_modules/tar/dist/esm/options.d.ts +0 -596
  392. package/node_modules/tar/dist/esm/options.d.ts.map +0 -1
  393. package/node_modules/tar/dist/esm/options.js +0 -54
  394. package/node_modules/tar/dist/esm/options.js.map +0 -1
  395. package/node_modules/tar/dist/esm/pack.d.ts +0 -102
  396. package/node_modules/tar/dist/esm/pack.d.ts.map +0 -1
  397. package/node_modules/tar/dist/esm/pack.js +0 -469
  398. package/node_modules/tar/dist/esm/pack.js.map +0 -1
  399. package/node_modules/tar/dist/esm/package.json +0 -3
  400. package/node_modules/tar/dist/esm/parse.d.ts +0 -85
  401. package/node_modules/tar/dist/esm/parse.d.ts.map +0 -1
  402. package/node_modules/tar/dist/esm/parse.js +0 -606
  403. package/node_modules/tar/dist/esm/parse.js.map +0 -1
  404. package/node_modules/tar/dist/esm/path-reservations.d.ts +0 -11
  405. package/node_modules/tar/dist/esm/path-reservations.d.ts.map +0 -1
  406. package/node_modules/tar/dist/esm/path-reservations.js +0 -166
  407. package/node_modules/tar/dist/esm/path-reservations.js.map +0 -1
  408. package/node_modules/tar/dist/esm/pax.d.ts +0 -26
  409. package/node_modules/tar/dist/esm/pax.d.ts.map +0 -1
  410. package/node_modules/tar/dist/esm/pax.js +0 -154
  411. package/node_modules/tar/dist/esm/pax.js.map +0 -1
  412. package/node_modules/tar/dist/esm/process-umask.d.ts +0 -2
  413. package/node_modules/tar/dist/esm/process-umask.d.ts.map +0 -1
  414. package/node_modules/tar/dist/esm/process-umask.js +0 -3
  415. package/node_modules/tar/dist/esm/process-umask.js.map +0 -1
  416. package/node_modules/tar/dist/esm/read-entry.d.ts +0 -36
  417. package/node_modules/tar/dist/esm/read-entry.d.ts.map +0 -1
  418. package/node_modules/tar/dist/esm/read-entry.js +0 -132
  419. package/node_modules/tar/dist/esm/read-entry.js.map +0 -1
  420. package/node_modules/tar/dist/esm/replace.d.ts +0 -2
  421. package/node_modules/tar/dist/esm/replace.d.ts.map +0 -1
  422. package/node_modules/tar/dist/esm/replace.js +0 -221
  423. package/node_modules/tar/dist/esm/replace.js.map +0 -1
  424. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +0 -2
  425. package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +0 -1
  426. package/node_modules/tar/dist/esm/strip-absolute-path.js +0 -25
  427. package/node_modules/tar/dist/esm/strip-absolute-path.js.map +0 -1
  428. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +0 -2
  429. package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +0 -1
  430. package/node_modules/tar/dist/esm/strip-trailing-slashes.js +0 -14
  431. package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +0 -1
  432. package/node_modules/tar/dist/esm/symlink-error.d.ts +0 -9
  433. package/node_modules/tar/dist/esm/symlink-error.d.ts.map +0 -1
  434. package/node_modules/tar/dist/esm/symlink-error.js +0 -15
  435. package/node_modules/tar/dist/esm/symlink-error.js.map +0 -1
  436. package/node_modules/tar/dist/esm/types.d.ts +0 -7
  437. package/node_modules/tar/dist/esm/types.d.ts.map +0 -1
  438. package/node_modules/tar/dist/esm/types.js +0 -45
  439. package/node_modules/tar/dist/esm/types.js.map +0 -1
  440. package/node_modules/tar/dist/esm/unpack.d.ts +0 -101
  441. package/node_modules/tar/dist/esm/unpack.d.ts.map +0 -1
  442. package/node_modules/tar/dist/esm/unpack.js +0 -891
  443. package/node_modules/tar/dist/esm/unpack.js.map +0 -1
  444. package/node_modules/tar/dist/esm/update.d.ts +0 -2
  445. package/node_modules/tar/dist/esm/update.d.ts.map +0 -1
  446. package/node_modules/tar/dist/esm/update.js +0 -30
  447. package/node_modules/tar/dist/esm/update.js.map +0 -1
  448. package/node_modules/tar/dist/esm/warn-method.d.ts +0 -24
  449. package/node_modules/tar/dist/esm/warn-method.d.ts.map +0 -1
  450. package/node_modules/tar/dist/esm/warn-method.js +0 -27
  451. package/node_modules/tar/dist/esm/warn-method.js.map +0 -1
  452. package/node_modules/tar/dist/esm/winchars.d.ts +0 -3
  453. package/node_modules/tar/dist/esm/winchars.d.ts.map +0 -1
  454. package/node_modules/tar/dist/esm/winchars.js +0 -9
  455. package/node_modules/tar/dist/esm/winchars.js.map +0 -1
  456. package/node_modules/tar/dist/esm/write-entry.d.ts +0 -129
  457. package/node_modules/tar/dist/esm/write-entry.d.ts.map +0 -1
  458. package/node_modules/tar/dist/esm/write-entry.js +0 -656
  459. package/node_modules/tar/dist/esm/write-entry.js.map +0 -1
  460. package/node_modules/tar/package.json +0 -297
  461. package/node_modules/yallist/LICENSE.md +0 -63
  462. package/node_modules/yallist/README.md +0 -205
  463. package/node_modules/yallist/dist/commonjs/index.d.ts +0 -39
  464. package/node_modules/yallist/dist/commonjs/index.d.ts.map +0 -1
  465. package/node_modules/yallist/dist/commonjs/index.js +0 -384
  466. package/node_modules/yallist/dist/commonjs/index.js.map +0 -1
  467. package/node_modules/yallist/dist/commonjs/package.json +0 -3
  468. package/node_modules/yallist/dist/esm/index.d.ts +0 -39
  469. package/node_modules/yallist/dist/esm/index.d.ts.map +0 -1
  470. package/node_modules/yallist/dist/esm/index.js +0 -379
  471. package/node_modules/yallist/dist/esm/index.js.map +0 -1
  472. package/node_modules/yallist/dist/esm/package.json +0 -3
  473. package/node_modules/yallist/package.json +0 -68
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxy-index-refresh.js","sourceRoot":"","sources":["../../src/lib/proxy-index-refresh.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAkBH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,QAAgB,EAChB,OAAe,EACf,IAAyB;IAEzB,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;IACpC,IAAI,CAAC,GAAG,CAAC,wBAAwB,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,GAAG;QAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IACpF,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,KAAK,CAAC;IACtC,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,yBAAyB,CAAC;IAC1E,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,GAAG,EAAE;YAC7B,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;YAC/C,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;YAC3C,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,IAAI,MAAM,CAAC;SACtD,CAAC,CAAC;QACH,IAAI,MAAe,CAAC;QACpB,IAAI,CAAC;YACH,MAAM,GAAI,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,CAA0B,EAAE,MAAM,CAAC;QAChE,CAAC;QAAC,MAAM,CAAC;YACP,MAAM,GAAG,SAAS,CAAC;QACrB,CAAC;QACD,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,iBAAiB;YAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;QAC/F,IAAI,MAAM,KAAK,aAAa;YAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QAC7D,IAAI,MAAM,KAAK,aAAa;YAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QAC7D,IAAI,MAAM,KAAK,WAAW;YAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QACzD,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG;YAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QAC7E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC;IACzD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IAC3F,CAAC;AACH,CAAC;AAED,0DAA0D;AAC1D,MAAM,UAAU,oBAAoB,CAAC,CAAsB,EAAE,KAAa;IACxE,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;QACf,KAAK,WAAW;YACd,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,sCAAsC,KAAK,KAAK,CAAC,CAAC,MAAM,qBAAqB,EAAE,CAAC;QAC9G,KAAK,aAAa;YAChB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,KAAK,8DAA8D,EAAE,CAAC;QACxI,KAAK,aAAa;YAChB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,qFAAqF,EAAE,CAAC;QAChI,KAAK,WAAW;YACd,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,KAAK,2CAA2C,EAAE,CAAC;QACjH,KAAK,aAAa;YAChB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,+CAA+C,KAAK,6DAA6D,EAAE,CAAC;QACpJ,KAAK,SAAS;YACZ,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,mEAAmE,EAAE,CAAC;QACtG,KAAK,OAAO;YACV,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,wCAAwC,CAAC,CAAC,MAAM,MAAM,KAAK,6DAA6D,EAAE,CAAC;IAC7J,CAAC;AACH,CAAC"}
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 주식회사 마이크로아틱 / Microartic Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,119 +1,152 @@
1
- # @ist/skit
1
+ # @microwiseai/skit
2
2
 
3
- Session Kit (skit) 패키지를 관리하기 위한 CLI 도구입니다. Claude Code 세션에서 사용할 profiles, prompts, packs 등을 설치하고 관리합니다.
3
+ skit (Session Kit) is a vendor-neutral format and package manager for session kits: it defines the profiles, prompts, permission packs, state, hooks and CLI tools an AI agent session needs for a role, and installs and distributes them as one kit. Adapters apply kits to each agent, so any vendor can use them by providing an adapter; IST is one such adapter, connecting kits to Claude Code, Codex, Cursor and more.
4
4
 
5
- ## 설치
5
+ Canonical definition: [docs/DEFINITION.md](docs/DEFINITION.md).
6
+
7
+ > The CLI command is `skit`; the npm package name is `@microwiseai/skit`.
8
+
9
+ ## Installation
6
10
 
7
11
  ```bash
8
- npm install -g @ist/skit
12
+ npm install -g @microwiseai/skit
9
13
  ```
10
14
 
11
- **요구 사항**: Node.js >= 18.0.0
15
+ **Requirements**: Node.js >= 18.0.0
16
+
17
+ ## Usage
18
+
19
+ Run `skit --help` to see the full command list.
12
20
 
13
- ## 사용법
21
+ | Command | Alias | Description |
22
+ |---------|-------|-------------|
23
+ | `skit install <pkg>` | `i` | Install a skit package |
24
+ | `skit uninstall <pkg>` | `rm` | Uninstall a skit package |
25
+ | `skit list` | `ls` | List installed skit packages |
26
+ | `skit browse <org>` | | Browse an organization's skit packages |
27
+ | `skit info` | | Show info from the current skit.json |
28
+ | `skit pack` | | Pack the current directory into a .tgz |
29
+ | `skit publish` | `p` | Publish to the GitLab registry |
30
+ | `skit prompt` | | Kit-aware prompt management |
31
+ | `skit orphans` | | Find prompts/profiles not managed by any skit |
32
+ | `skit gitignore` | | Create/update a skit-default .gitignore |
14
33
 
15
- ### 패키지 설치
34
+ ### Installing packages
16
35
 
17
36
  ```bash
18
- # GitLab 레지스트리에서 설치
37
+ # Install from the GitLab registry
19
38
  skit install @ist/qa-kit
20
39
 
21
- # 특정 버전 설치
40
+ # Install a specific version
22
41
  skit install @ist/qa-kit@1.0.0
23
42
 
24
- # 로컬 .tgz 파일에서 설치
43
+ # Install from a local .tgz file
25
44
  skit install ./my-kit-1.0.0.tgz
26
45
 
27
- # 로컬 디렉토리에서 설치 (개발용)
46
+ # Install from a local directory (development)
28
47
  skit install .
29
48
 
30
- # 상세 출력
49
+ # Verbose output / dry run
31
50
  skit install @ist/qa-kit -v
32
-
33
- # 드라이 런 (실제 설치 없이 확인)
34
51
  skit install @ist/qa-kit --dry-run
35
52
  ```
36
53
 
37
- ### 패키지 삭제
54
+ ### Global dependencies (`--deps`)
38
55
 
39
- ```bash
40
- skit uninstall @ist/qa-kit
41
- # 또는
42
- skit rm @ist/qa-kit
43
- ```
56
+ A kit's `dependencies.npm` and `components.clis` are installed globally. Before
57
+ installing, `skit install` prints a plan, and `--deps` controls what it does:
44
58
 
45
- ### 설치된 패키지 목록
59
+ | Mode | Behavior |
60
+ |------|----------|
61
+ | `satisfied` (default) | Keep an installed global version that satisfies the declared range (semver, prereleases count). Install deps that are missing or out of range. |
62
+ | `missing` | Keep **any** installed version, even a prerelease or one outside the range. Install only absent deps (useful on a dev machine). |
63
+ | `all` | Reinstall every dep regardless of what is installed (the behavior up to 0.1.43). |
64
+ | `none` | Install no global deps; only profiles, prompts, states, packs and hooks are installed. Same as `--no-deps`. |
46
65
 
47
66
  ```bash
48
- skit list
49
- # 또는
50
- skit ls
51
-
52
- # JSON 형식 출력
53
- skit list --json
67
+ skit install @ist/tda-kit # default: --deps satisfied
68
+ skit install @ist/tda-kit --deps missing # keep my dev builds
69
+ skit install @ist/tda-kit --skip-dep @ist/sesh # never touch sesh (repeatable; CLI names work too)
70
+ skit install @ist/tda-kit --no-deps # components only
71
+ skit install @ist/tda-kit --dry-run # components + dep plan, nothing installed
54
72
  ```
55
73
 
56
- ### 패키지 탐색
57
-
58
- ```bash
59
- # 특정 조직의 skit 패키지 목록 조회
60
- skit browse @ist
74
+ Example plan:
61
75
 
62
- # JSON 형식 출력
63
- skit browse @ist --json
76
+ ```
77
+ global deps (mode: satisfied):
78
+ = @ist/tda 0.1.8 ^0.1.8 keep (satisfies) (newer in range: 0.1.9 — use --deps all)
79
+ ~ @ist/sesh 0.9.0-dev.1790427711543 ^0.8.2 CHANGE 0.9.0-dev.1790427711543 → ^0.8.2 ⚠ downgrade, prerelease → stable
80
+ + @ist/loggable-cli (absent) ^0.1.17 install
81
+ - @ist/messenger-cli 0.4.0 ^0.5.0 skip (--skip-dep)
82
+ ⚠ @ist/sesh: 0.9.0-dev.1790427711543 would be replaced by ^0.8.2 — use --deps missing or --skip-dep @ist/sesh to keep it
64
83
  ```
65
84
 
66
- ### 패키지 정보
85
+ - To detect installed versions, skit runs `npm root -g` once and reads `<root>/<name>/package.json`. It does not spawn npm once per dependency.
86
+ - When a change is a **downgrade** or replaces a **prerelease with a stable** version, an interactive terminal asks y/N for each such dep. The default N keeps the installed version. Non-TTY runs and `--yes` only print the warning.
87
+ - `--dry-run` fetches a remote kit into a temporary staging directory to read its `skit.json`. Dry-run is the only time skit queries the registry for the `newer in range` hint.
67
88
 
68
- ```bash
69
- # 현재 디렉토리의 skit.json 정보 표시
70
- skit info
89
+ ### Uninstall / list / browse / info
71
90
 
72
- # JSON 형식 출력
91
+ ```bash
92
+ skit uninstall @ist/qa-kit # or: skit rm @ist/qa-kit
93
+ skit list # or: skit ls
94
+ skit list --json
95
+ skit browse @ist # list an org's skit packages
96
+ skit browse @ist --json
97
+ skit info # show the current skit.json info
73
98
  skit info --json
74
99
  ```
75
100
 
76
- ### 패키지 패킹
77
-
78
- ```bash
79
- # 현재 디렉토리를 .tgz 파일로 패킹
80
- skit pack
101
+ ### Prompt management
81
102
 
82
- # 출력 디렉토리 지정
83
- skit pack -o ./dist
103
+ Browse and print the prompts provided by installed kits directly with `skit` (no need to go through `sesh`).
84
104
 
85
- # 포함될 파일 확인 (드라이 런)
86
- skit pack --dry-run
105
+ ```bash
106
+ # List prompts (grouped by kit)
107
+ skit prompt list # or: skit prompt ls
108
+ skit prompt list --json
109
+ skit prompt list -a # all scopes (global + profile) + unmanaged
110
+ skit prompt list -p <profile> # a specific profile scope
111
+
112
+ # Print prompt content
113
+ skit prompt show <name>
114
+ skit prompt show <name> --raw # raw content without the kit header
115
+ skit prompt show <name> -p <profile> # from a specific profile scope
87
116
  ```
88
117
 
89
- ### 패키지 배포
118
+ ### Orphans (cleaning up unmanaged files)
90
119
 
91
120
  ```bash
92
- # GitLab에 배포
93
- skit publish
94
- # 또는
95
- skit p
121
+ skit orphans # find unmanaged prompts/profiles
122
+ skit orphans --json
123
+ skit orphans --dry-run # show what would be deleted
124
+ skit orphans -i # interactively select files to delete
125
+ skit orphans --clean --force # delete all without confirmation
126
+ ```
96
127
 
97
- # 버전 범프와 함께 배포
98
- skit publish --bump patch # 0.1.0 → 0.1.1
99
- skit publish --bump minor # 0.1.0 → 0.2.0
100
- skit publish --bump major # 0.1.0 → 1.0.0
128
+ ### Pack / publish
101
129
 
102
- # 드라이 런
130
+ ```bash
131
+ skit pack # pack into a .tgz
132
+ skit pack -o ./dist # set output directory
133
+ skit pack --dry-run # preview included files
134
+
135
+ skit publish # publish to GitLab (alias: skit p)
136
+ skit publish --bump patch # 0.1.0 -> 0.1.1
137
+ skit publish --bump minor # 0.1.0 -> 0.2.0
138
+ skit publish --bump major # 0.1.0 -> 1.0.0
103
139
  skit publish --dry-run
104
140
  ```
105
141
 
106
- ### .gitignore 생성
142
+ ### Generating .gitignore
107
143
 
108
144
  ```bash
109
- # skit 기본 .gitignore 생성/업데이트
110
- skit gitignore
111
-
112
- # 기존 파일 덮어쓰기
113
- skit gitignore -f
145
+ skit gitignore # create/update a skit-default .gitignore
146
+ skit gitignore -f # overwrite the existing file
114
147
  ```
115
148
 
116
- ## skit.json 구조
149
+ ## skit.json structure
117
150
 
118
151
  ```json
119
152
  {
@@ -127,7 +160,7 @@ skit gitignore -f
127
160
  "cli": [
128
161
  {
129
162
  "name": "git-nested",
130
- "install": "gitlab-install add @microature/git-nested -g",
163
+ "install": "glpkg install @microature/git-nested -g",
131
164
  "check": "git-nested --version",
132
165
  "optional": true
133
166
  }
@@ -159,46 +192,57 @@ skit gitignore -f
159
192
  }
160
193
  ```
161
194
 
162
- ### dependencies 필드
195
+ ### `dependencies` field
163
196
 
164
- | 필드 | 설명 |
165
- |------|------|
166
- | `cli` | CLI 도구 의존성 (gitlab-install, npm, pip 등 어떤 패키지 매니저든 가능) |
167
- | `cli[].name` | 도구 이름 (표시용) |
168
- | `cli[].install` | 설치 명령어 |
169
- | `cli[].check` | (선택) 설치 확인 명령어 - 성공하면 설치 스킵 |
170
- | `cli[].optional` | (선택) true면 설치 실패해도 계속 진행 |
171
- | `skit` | 다른 skit 패키지 의존성
172
- ```
197
+ | Field | Description |
198
+ |-------|-------------|
199
+ | `cli` | CLI tool dependencies (any package manager: glpkg, npm, pip, etc.) |
200
+ | `cli[].name` | Tool name (for display) |
201
+ | `cli[].install` | Install command |
202
+ | `cli[].check` | (optional) Check command — skips install if it succeeds |
203
+ | `cli[].optional` | (optional) If true, continue even if install fails |
204
+ | `skit` | Other skit package dependencies |
173
205
 
174
- ## 기본 설치 경로
206
+ ## Default install paths
175
207
 
176
- | 컴포넌트 타입 | 기본 경로 |
177
- |--------------|----------|
208
+ | Component type | Default path |
209
+ |----------------|--------------|
178
210
  | profiles | `~/.ist/profiles/` |
179
211
  | prompts | `~/.ist/prompts/global/` |
180
212
  | states | `~/.ist/state/profiles/` |
181
- | packs | `~/.sesh/permission-packs.json` (병합) |
213
+ | packs | `~/.sesh/permission-packs.json` (merged) |
182
214
 
183
- ## 개발
215
+ ## Using as a library
184
216
 
185
- ```bash
186
- # 의존성 설치
187
- npm install
217
+ ```ts
218
+ import { /* ... */ } from "@microwiseai/skit/lib";
219
+ ```
188
220
 
189
- # TypeScript 컴파일
190
- npm run build
221
+ ```ts
222
+ import { installSkit } from "@microwiseai/skit/lib";
191
223
 
192
- # 개발 모드 (watch)
193
- npm run dev
224
+ const result = await installSkit("@ist/tda-kit", {
225
+ deps: "missing", // 'satisfied' (default) | 'missing' | 'all' | 'none'
226
+ skipDeps: ["@ist/sesh"],
227
+ // skipDependencies: true // deprecated alias for deps: 'none'
228
+ confirmChange: (entry) => false, // optional: decline risky (downgrade / prerelease→stable) changes
229
+ });
230
+ result.depPlan; // [{ name, range, installed?, action: 'keep'|'install'|'change'|'skip', reason, kind, warnings? }]
231
+ ```
232
+
233
+ - `main`: `./dist/lib.js`
234
+ - `exports`: `.` (CLI entry), `./lib` (library entry)
194
235
 
195
- # 테스트 실행
196
- npm test
236
+ ## Development
197
237
 
198
- # 테스트 단일 실행
199
- npm run test:run
238
+ ```bash
239
+ npm install # install dependencies
240
+ npm run build # compile TypeScript
241
+ npm run dev # watch mode
242
+ npm test # run tests (vitest)
243
+ npm run test:run # run tests once
200
244
  ```
201
245
 
202
- ## 라이선스
246
+ ## License
203
247
 
204
248
  MIT
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=hermetic-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hermetic-config.d.ts","sourceRoot":"","sources":["../../../src/__tests__/setup/hermetic-config.ts"],"names":[],"mappings":""}
@@ -1,9 +1,53 @@
1
- interface BrowseOptions {
1
+ /**
2
+ * `skit browse <group> [--scope @ist] [--json]` (P2-B generalization).
3
+ *
4
+ * group-PRIMARY: the positional arg is a real GitLab GROUP PATH (e.g.
5
+ * `microwiseai`, `microwiseai/sub`) — NOT a scope. `--scope` is an optional exact
6
+ * filter. Host comes from the P2 chain (getGitlabHost: IST_GITLAB_HOST → skit
7
+ * config → gitlab.com); the ambient GitLab token (resolveAmbientGitlabToken) is
8
+ * attached when present, else the listing is anonymous (public groups work
9
+ * token-free). No gitlab-config binary, no gitlab.com hardcode, no name heuristics.
10
+ */
11
+ export interface BrowseOptions {
2
12
  json?: boolean;
13
+ /** optional scope filter, e.g. '@ist' (exact, via the generic `scope__` prefix). */
14
+ scope?: string;
15
+ /** optional GitLab host override (else the getGitlabHost chain). */
16
+ host?: string;
17
+ }
18
+ interface GitLabPackage {
19
+ id: number;
20
+ name: string;
21
+ version: string;
22
+ package_type: string;
23
+ created_at: string;
3
24
  }
4
25
  /**
5
- * Browse command handler - list skits for an organization
26
+ * Map a scope to the GENERIC package-name prefix skit publishes under
27
+ * (`toRegistryFormat`: '@ist' → 'ist__', '@mwd-tools' → 'mwd-tools__'). Exact —
28
+ * replaces the old `includes('skit')` heuristic. @internal Exported for testing.
29
+ */
30
+ export declare function scopePrefix(scope: string): string;
31
+ /**
32
+ * Reconstruct a display name from a generic `scope__name` package name:
33
+ * 'ist__foo-kit' → '@ist/foo-kit'. Names without the `__` separator are shown
34
+ * as-is. @internal Exported for testing.
35
+ */
36
+ export declare function toDisplayName(genericName: string): string;
37
+ /**
38
+ * Resolve a GitLab group PATH → numeric id. Anonymous for a public group; a
39
+ * token (when present) enables private groups. @internal Exported for testing.
40
+ */
41
+ export declare function resolveGroupId(host: string, group: string, token: string | null): Promise<number>;
42
+ /**
43
+ * List the group's generic packages (paginated). @internal Exported for testing.
44
+ */
45
+ export declare function listGenericPackages(host: string, groupId: number, token: string | null): Promise<GitLabPackage[]>;
46
+ /** Dedupe by name, keeping the newest by created_at. @internal Exported for testing. */
47
+ export declare function latestByName(packages: GitLabPackage[]): GitLabPackage[];
48
+ /**
49
+ * Browse command handler — list a GitLab group's generic (skit) packages.
6
50
  */
7
- export declare function browseCommand(org: string, options: BrowseOptions): Promise<void>;
51
+ export declare function browseCommand(group: string, options: BrowseOptions): Promise<void>;
8
52
  export {};
9
53
  //# sourceMappingURL=browse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../../src/commands/browse.ts"],"names":[],"mappings":"AAGA,UAAU,aAAa;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAkFD;;GAEG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA0EtF"}
1
+ {"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../../src/commands/browse.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,aAAa;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAIzD;AAOD;;;GAGG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GAAG,IAAI,GACnB,OAAO,CAAC,MAAM,CAAC,CAiBjB;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,GAAG,IAAI,GACnB,OAAO,CAAC,aAAa,EAAE,CAAC,CAkB1B;AAED,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,aAAa,EAAE,CASvE;AAED;;GAEG;AACH,wBAAsB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAyExF"}
@@ -0,0 +1,5 @@
1
+ export declare function configSetCommand(key: string, value: string): void;
2
+ export declare function configGetCommand(key: string): void;
3
+ export declare function configUnsetCommand(key: string): void;
4
+ export declare function configListCommand(): void;
5
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAwBA,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CASjE;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAUlD;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAQpD;AAED,wBAAgB,iBAAiB,IAAI,IAAI,CAOxC"}
@@ -1,13 +1,25 @@
1
1
  /**
2
2
  * skit install command - CLI wrapper for lib.installSkit
3
3
  */
4
- interface InstallOptions {
4
+ import { type DepsMode } from '../utils/dep-plan.js';
5
+ export interface InstallOptions {
5
6
  verbose?: boolean;
6
7
  dryRun?: boolean;
8
+ group?: string;
9
+ source?: string;
10
+ /** `--deps <mode>` string, or `false` from `--no-deps` */
11
+ deps?: string | boolean;
12
+ /** `--skip-dep <name>` (repeatable) */
13
+ skipDep?: string[];
14
+ /** `--yes`: never prompt on risky dep changes */
15
+ yes?: boolean;
7
16
  }
17
+ /** Commander collector for repeatable `--skip-dep`. */
18
+ export declare function collectSkipDep(value: string, previous?: string[]): string[];
19
+ /** Map the CLI `--deps` / `--no-deps` value to a mode (undefined = lib default). */
20
+ export declare function resolveCliDepsMode(deps: string | boolean | undefined): DepsMode | undefined;
8
21
  /**
9
22
  * Install command handler - thin wrapper around lib.installSkit
10
23
  */
11
24
  export declare function installCommand(packageName: string, options: InstallOptions): Promise<void>;
12
- export {};
13
25
  //# sourceMappingURL=install.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAAA;;GAEG;AASH,UAAU,cAAc;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA6GD;;GAEG;AACH,wBAAsB,cAAc,CAClC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,IAAI,CAAC,CA2Cf"}
1
+ {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH,OAAO,EAIL,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,iDAAiD;IACjD,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,uDAAuD;AACvD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAM,EAAO,GAAG,MAAM,EAAE,CAE/E;AAED,oFAAoF;AACpF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAI3F;AA8GD;;GAEG;AACH,wBAAsB,cAAc,CAClC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,IAAI,CAAC,CA4Gf"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * skit orphans command - find prompts/profiles not managed by any installed skit
3
+ */
4
+ interface OrphansOptions {
5
+ json?: boolean;
6
+ clean?: boolean;
7
+ force?: boolean;
8
+ interactive?: boolean;
9
+ dryRun?: boolean;
10
+ }
11
+ /**
12
+ * Orphans command handler
13
+ */
14
+ export declare function orphansCommand(options: OrphansOptions): Promise<void>;
15
+ export {};
16
+ //# sourceMappingURL=orphans.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orphans.d.ts","sourceRoot":"","sources":["../../src/commands/orphans.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA2GD;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CA2G3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"pack.d.ts","sourceRoot":"","sources":["../../src/commands/pack.ts"],"names":[],"mappings":"AAOA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAoKD;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA6DrE"}
1
+ {"version":3,"file":"pack.d.ts","sourceRoot":"","sources":["../../src/commands/pack.ts"],"names":[],"mappings":"AAQA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAoKD;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAmErE"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * skit prompt command - Kit-aware prompt management
3
+ *
4
+ * Groups prompts by their source kit using installed-kits.json registry.
5
+ * Replaces the need for `isesh prompt list` for kit-managed prompts.
6
+ */
7
+ interface PromptListOptions {
8
+ json?: boolean;
9
+ all?: boolean;
10
+ profile?: string;
11
+ }
12
+ interface PromptShowOptions {
13
+ raw?: boolean;
14
+ profile?: string;
15
+ }
16
+ /**
17
+ * List prompts grouped by kit
18
+ */
19
+ export declare function promptListCommand(options: PromptListOptions): Promise<void>;
20
+ /**
21
+ * Show a specific prompt's content
22
+ */
23
+ export declare function promptShowCommand(name: string, options: PromptShowOptions): Promise<void>;
24
+ export {};
25
+ //# sourceMappingURL=prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,UAAU,iBAAiB;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,iBAAiB;IACzB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAuFD;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2GjF;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAoE/F"}
@@ -1 +1 @@
1
- {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/commands/publish.ts"],"names":[],"mappings":"AAKA,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAgFD;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CA2C3E"}
1
+ {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/commands/publish.ts"],"names":[],"mappings":"AAMA,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAoFD;;GAEG;AACH,wBAAsB,cAAc,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAqD3E"}
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AAAA;;GAEG;AAaH,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA4DD;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CA+Ef"}
1
+ {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../src/commands/uninstall.ts"],"names":[],"mappings":"AAAA;;GAEG;AAUH,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CAyEf"}
@@ -0,0 +1,48 @@
1
+ import type { InstallDirective } from '@microwiseai/distkit';
2
+ import type { AccessTier, Ecosystem, ResolvedFrom } from '@microwiseai/distkit-schema';
3
+ import type { NpmDependencySource } from '../types/skit.js';
4
+ /**
5
+ * A capability skit has not implemented yet (entitlement token injection,
6
+ * per-dep gitlab-pat npm install). Thrown fail-loud so an unwired credential
7
+ * path can NEVER silent-allow or fabricate a token. Distinct `code` for callers.
8
+ */
9
+ export declare class NotImplementedError extends Error {
10
+ readonly code = "NOT_IMPLEMENTED";
11
+ constructor(message: string);
12
+ }
13
+ /**
14
+ * Which concrete skit install batch a dep lands in.
15
+ * - 'npmjs' — public npmjs default registry (token-free).
16
+ * - 'proxy' — anonymous scoped .npmrc against the registry-proxy (token-free).
17
+ * - 'gitlab' — the scope's GitLab group registry, ANONYMOUS-TOLERANT: a public
18
+ * package installs token-free; a private one attaches the ambient
19
+ * GitLab PAT at install time (mirrors the kit-tarball AuthPort).
20
+ */
21
+ export type SkitInstallBatch = 'npmjs' | 'proxy' | 'gitlab';
22
+ /** The resolved plan for one npm dependency: its origin, matrix directive, batch. */
23
+ export interface SkitInstallPlan {
24
+ resolvedFrom: ResolvedFrom;
25
+ directive: InstallDirective;
26
+ /** 'npmjs' ⇒ public npmjs default registry; 'proxy' ⇒ anonymous scoped .npmrc. */
27
+ batch: SkitInstallBatch;
28
+ }
29
+ /**
30
+ * Decide how to install one npm dependency, authoritative per the routing matrix.
31
+ *
32
+ * `accessTier` is an OBSERVATION (authority = license-mgr). skit has NO
33
+ * non-public npm-dependency install path today, so it defaults to `'public'` —
34
+ * which, for both `npmjs-public` and `our-proxy`, yields `tokenRequirement:
35
+ * 'none'` (C1 / O2-public). The `entitlement` branch is therefore unreachable in
36
+ * production now; it exists (and throws) so the moment a licensed tier is fed in,
37
+ * the missing license-mgr contract fails loud instead of installing wrongly.
38
+ */
39
+ export declare function planNpmInstall(opts: {
40
+ name: string;
41
+ /** skit per-dep source intent ('npm' | 'proxy'). */
42
+ source: NpmDependencySource;
43
+ /** observed access tier; defaults 'public' (skit has no non-public npm path). */
44
+ accessTier?: AccessTier;
45
+ /** package ecosystem; defaults 'npm' (skit npm deps). */
46
+ ecosystem?: Ecosystem;
47
+ }): SkitInstallPlan;
48
+ //# sourceMappingURL=install-directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install-directive.d.ts","sourceRoot":"","sources":["../../src/distkit/install-directive.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACvF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,IAAI,qBAAqB;gBACtB,OAAO,EAAE,MAAM;CAK5B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE5D,qFAAqF;AACrF,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,gBAAgB,CAAC;IAC5B,kFAAkF;IAClF,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,MAAM,EAAE,mBAAmB,CAAC;IAC5B,iFAAiF;IACjF,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,yDAAyD;IACzD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,eAAe,CAoDlB"}
@@ -0,0 +1,46 @@
1
+ import type { InstallDirective } from '@microwiseai/distkit';
2
+ import type { AuthPort } from '@glpkg/cli';
3
+ /** Kit download source: `gitlab` (token-direct, the default) or `proxy` (opt-in). */
4
+ export type KitSource = 'gitlab' | 'proxy';
5
+ /**
6
+ * Build the generic kit `InstallDirective` via distkit's ONE router (mirrors
7
+ * glpkg `buildGenericInstallDirective`). skit does NOT decide token/url — the
8
+ * router does.
9
+ *
10
+ * - `gitlab` (default / the FLIP): `gitlab-registry` + `authenticated` ⇒
11
+ * `tokenRequirement:'gitlab-pat'`, `urlSource:'gitlab-registry'`. The AuthPort
12
+ * is anonymous-tolerant, so a PUBLIC group registry still installs token-free
13
+ * (null token) while a private kit uses the PAT.
14
+ * - `proxy` (opt-in): `our-proxy` + **`public`** ⇒ `tokenRequirement:'none'`,
15
+ * preserving the existing ANONYMOUS public-proxy path (R6). `entitlement`
16
+ * (non-public proxy) is intentionally NOT produced here — skit has no
17
+ * license-api entitlement path, so the AuthPort fails loud if it ever appears.
18
+ *
19
+ * @throws when `source==='proxy'` but no proxy endpoint is provided.
20
+ */
21
+ export declare function buildKitDirective(source: KitSource, proxyUrl?: string, group?: string): InstallDirective;
22
+ /**
23
+ * Resolve the ambient GitLab PAT the way glpkg's token manager does (parity with
24
+ * the credential the old `glpkg install --generic` shell-out used):
25
+ * provided > GITLAB_TOKEN env > ~/.config/glpkg/token > ~/.config/gitlab-config/token
26
+ * Returns `null` when none is configured (⇒ anonymous, public installs still work;
27
+ * a private registry then 401/403s with an actionable message).
28
+ * @internal Exported for testing.
29
+ */
30
+ export declare function resolveAmbientGitlabToken(): string | null;
31
+ /**
32
+ * skit's `AuthPort` (report 35 §3.3 option B). glpkg NEVER decides identity — the
33
+ * directive emits `tokenRequirement` and this port maps it to a credential:
34
+ * - `none` → null (anonymous public — expected).
35
+ * - `gitlab-pat` → the provided token, else the ambient PAT, else null
36
+ * (anonymous-tolerant: public kits install token-free; a
37
+ * private kit without a token 401/403s loud downstream).
38
+ * - `entitlement` → fail-loud ({@link NotImplementedError}). skit has no
39
+ * license-api entitlement path; `buildKitDirective` never
40
+ * produces this, so it is a pure safety valve.
41
+ *
42
+ * @param providedToken an explicit credential (e.g. a future `--token`); when
43
+ * omitted, the ambient PAT is used.
44
+ */
45
+ export declare function createSkitAuthPort(providedToken?: string | null): AuthPort;
46
+ //# sourceMappingURL=kit-executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kit-executor.d.ts","sourceRoot":"","sources":["../../src/distkit/kit-executor.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAe,MAAM,YAAY,CAAC;AAMxD,qFAAqF;AACrF,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,EACjB,QAAQ,CAAC,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,MAAM,GACb,gBAAgB,CAoBlB;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,GAAG,IAAI,CAgBzD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,QAAQ,CAsB1E"}