@vibesdotdev/hq 0.0.0-stage → 1.0.0-rc.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 (615) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +49 -2
  3. package/dist/agent-events/descriptors.d.ts +33 -0
  4. package/dist/agent-events/descriptors.d.ts.map +1 -0
  5. package/dist/agent-events/descriptors.js +34 -0
  6. package/dist/agent-events/descriptors.js.map +1 -0
  7. package/dist/app/auth/cloud-sync.consumer.d.ts +12 -0
  8. package/dist/app/auth/cloud-sync.consumer.d.ts.map +1 -0
  9. package/dist/app/auth/cloud-sync.consumer.js +31 -0
  10. package/dist/app/auth/cloud-sync.consumer.js.map +1 -0
  11. package/dist/app/auth/hq.app-auth-machine.record.descriptor.d.ts +5 -0
  12. package/dist/app/auth/hq.app-auth-machine.record.descriptor.d.ts.map +1 -0
  13. package/dist/app/auth/hq.app-auth-machine.record.descriptor.js +39 -0
  14. package/dist/app/auth/hq.app-auth-machine.record.descriptor.js.map +1 -0
  15. package/dist/app/auth/hq.app-auth-pairings.record.descriptor.d.ts +5 -0
  16. package/dist/app/auth/hq.app-auth-pairings.record.descriptor.d.ts.map +1 -0
  17. package/dist/app/auth/hq.app-auth-pairings.record.descriptor.js +43 -0
  18. package/dist/app/auth/hq.app-auth-pairings.record.descriptor.js.map +1 -0
  19. package/dist/app/auth/hq.app-auth-tokens.record.descriptor.d.ts +5 -0
  20. package/dist/app/auth/hq.app-auth-tokens.record.descriptor.d.ts.map +1 -0
  21. package/dist/app/auth/hq.app-auth-tokens.record.descriptor.js +42 -0
  22. package/dist/app/auth/hq.app-auth-tokens.record.descriptor.js.map +1 -0
  23. package/dist/app/auth/schemas/auth.d.ts +146 -0
  24. package/dist/app/auth/schemas/auth.d.ts.map +1 -0
  25. package/dist/app/auth/schemas/auth.js +53 -0
  26. package/dist/app/auth/schemas/auth.js.map +1 -0
  27. package/dist/app/auth/service.consumer.d.ts +17 -0
  28. package/dist/app/auth/service.consumer.d.ts.map +1 -0
  29. package/dist/app/auth/service.consumer.js +79 -0
  30. package/dist/app/auth/service.consumer.js.map +1 -0
  31. package/dist/app/auth/sync.consumer.d.ts +2 -0
  32. package/dist/app/auth/sync.consumer.d.ts.map +1 -0
  33. package/dist/app/auth/sync.consumer.js +2 -0
  34. package/dist/app/auth/sync.consumer.js.map +1 -0
  35. package/dist/app/auth/sync.d.ts +23 -0
  36. package/dist/app/auth/sync.d.ts.map +1 -0
  37. package/dist/app/auth/sync.js +290 -0
  38. package/dist/app/auth/sync.js.map +1 -0
  39. package/dist/app/auth/types.d.ts +20 -0
  40. package/dist/app/auth/types.d.ts.map +1 -0
  41. package/dist/app/auth/types.js +7 -0
  42. package/dist/app/auth/types.js.map +1 -0
  43. package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.d.ts +9 -0
  44. package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.d.ts.map +1 -0
  45. package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.js +45 -0
  46. package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.js.map +1 -0
  47. package/dist/applets/component-ref.d.ts +6 -0
  48. package/dist/applets/component-ref.d.ts.map +1 -0
  49. package/dist/applets/component-ref.js +6 -0
  50. package/dist/applets/component-ref.js.map +1 -0
  51. package/dist/applets/index.d.ts +3 -0
  52. package/dist/applets/index.d.ts.map +1 -0
  53. package/dist/applets/index.js +3 -0
  54. package/dist/applets/index.js.map +1 -0
  55. package/dist/approval/approval-resolved.event.descriptor.d.ts +11 -0
  56. package/dist/approval/approval-resolved.event.descriptor.d.ts.map +1 -0
  57. package/dist/approval/approval-resolved.event.descriptor.js +11 -0
  58. package/dist/approval/approval-resolved.event.descriptor.js.map +1 -0
  59. package/dist/approval/approval-resolved.job.descriptor.d.ts +36 -0
  60. package/dist/approval/approval-resolved.job.descriptor.d.ts.map +1 -0
  61. package/dist/approval/approval-resolved.job.descriptor.js +24 -0
  62. package/dist/approval/approval-resolved.job.descriptor.js.map +1 -0
  63. package/dist/approval/approval-resolved.job.impl.d.ts +19 -0
  64. package/dist/approval/approval-resolved.job.impl.d.ts.map +1 -0
  65. package/dist/approval/approval-resolved.job.impl.js +26 -0
  66. package/dist/approval/approval-resolved.job.impl.js.map +1 -0
  67. package/dist/approval/approval-resolved.subscription.descriptor.d.ts +21 -0
  68. package/dist/approval/approval-resolved.subscription.descriptor.d.ts.map +1 -0
  69. package/dist/approval/approval-resolved.subscription.descriptor.js +20 -0
  70. package/dist/approval/approval-resolved.subscription.descriptor.js.map +1 -0
  71. package/dist/approval/schemas.d.ts +45 -0
  72. package/dist/approval/schemas.d.ts.map +1 -0
  73. package/dist/approval/schemas.js +27 -0
  74. package/dist/approval/schemas.js.map +1 -0
  75. package/dist/approval/surface-approval-channel.descriptor.d.ts +14 -0
  76. package/dist/approval/surface-approval-channel.descriptor.d.ts.map +1 -0
  77. package/dist/approval/surface-approval-channel.descriptor.js +16 -0
  78. package/dist/approval/surface-approval-channel.descriptor.js.map +1 -0
  79. package/dist/approval/surface-approval-channel.impl.d.ts +19 -0
  80. package/dist/approval/surface-approval-channel.impl.d.ts.map +1 -0
  81. package/dist/approval/surface-approval-channel.impl.js +101 -0
  82. package/dist/approval/surface-approval-channel.impl.js.map +1 -0
  83. package/dist/cli/app/handoff/hq.app.handoff.descriptor.d.ts +40 -0
  84. package/dist/cli/app/handoff/hq.app.handoff.descriptor.d.ts.map +1 -0
  85. package/dist/cli/app/handoff/hq.app.handoff.descriptor.js +23 -0
  86. package/dist/cli/app/handoff/hq.app.handoff.descriptor.js.map +1 -0
  87. package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.d.ts +7 -0
  88. package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.d.ts.map +1 -0
  89. package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.js +107 -0
  90. package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.js.map +1 -0
  91. package/dist/cli/app/hq.app.cli-group.descriptor.d.ts +12 -0
  92. package/dist/cli/app/hq.app.cli-group.descriptor.d.ts.map +1 -0
  93. package/dist/cli/app/hq.app.cli-group.descriptor.js +12 -0
  94. package/dist/cli/app/hq.app.cli-group.descriptor.js.map +1 -0
  95. package/dist/cli/app/pair/hq.app.pair.descriptor.d.ts +43 -0
  96. package/dist/cli/app/pair/hq.app.pair.descriptor.d.ts.map +1 -0
  97. package/dist/cli/app/pair/hq.app.pair.descriptor.js +27 -0
  98. package/dist/cli/app/pair/hq.app.pair.descriptor.js.map +1 -0
  99. package/dist/cli/app/pair/hq.app.pair.impl.consumer.d.ts +7 -0
  100. package/dist/cli/app/pair/hq.app.pair.impl.consumer.d.ts.map +1 -0
  101. package/dist/cli/app/pair/hq.app.pair.impl.consumer.js +89 -0
  102. package/dist/cli/app/pair/hq.app.pair.impl.consumer.js.map +1 -0
  103. package/dist/cli/app/shared/options.d.ts +68 -0
  104. package/dist/cli/app/shared/options.d.ts.map +1 -0
  105. package/dist/cli/app/shared/options.js +7 -0
  106. package/dist/cli/app/shared/options.js.map +1 -0
  107. package/dist/cli/app/token/hq.app.token.descriptor.d.ts +40 -0
  108. package/dist/cli/app/token/hq.app.token.descriptor.d.ts.map +1 -0
  109. package/dist/cli/app/token/hq.app.token.descriptor.js +23 -0
  110. package/dist/cli/app/token/hq.app.token.descriptor.js.map +1 -0
  111. package/dist/cli/app/token/hq.app.token.impl.consumer.d.ts +7 -0
  112. package/dist/cli/app/token/hq.app.token.impl.consumer.d.ts.map +1 -0
  113. package/dist/cli/app/token/hq.app.token.impl.consumer.js +89 -0
  114. package/dist/cli/app/token/hq.app.token.impl.consumer.js.map +1 -0
  115. package/dist/cli/channel/hq.channel.cli-group.descriptor.d.ts +12 -0
  116. package/dist/cli/channel/hq.channel.cli-group.descriptor.d.ts.map +1 -0
  117. package/dist/cli/channel/hq.channel.cli-group.descriptor.js +12 -0
  118. package/dist/cli/channel/hq.channel.cli-group.descriptor.js.map +1 -0
  119. package/dist/cli/channel/hq.channel.enable.descriptor.d.ts +21 -0
  120. package/dist/cli/channel/hq.channel.enable.descriptor.d.ts.map +1 -0
  121. package/dist/cli/channel/hq.channel.enable.descriptor.js +16 -0
  122. package/dist/cli/channel/hq.channel.enable.descriptor.js.map +1 -0
  123. package/dist/cli/channel/hq.channel.enable.impl.d.ts +7 -0
  124. package/dist/cli/channel/hq.channel.enable.impl.d.ts.map +1 -0
  125. package/dist/cli/channel/hq.channel.enable.impl.js +23 -0
  126. package/dist/cli/channel/hq.channel.enable.impl.js.map +1 -0
  127. package/dist/cli/channel/hq.channel.fire.descriptor.d.ts +17 -0
  128. package/dist/cli/channel/hq.channel.fire.descriptor.d.ts.map +1 -0
  129. package/dist/cli/channel/hq.channel.fire.descriptor.js +13 -0
  130. package/dist/cli/channel/hq.channel.fire.descriptor.js.map +1 -0
  131. package/dist/cli/channel/hq.channel.fire.impl.d.ts +7 -0
  132. package/dist/cli/channel/hq.channel.fire.impl.d.ts.map +1 -0
  133. package/dist/cli/channel/hq.channel.fire.impl.js +26 -0
  134. package/dist/cli/channel/hq.channel.fire.impl.js.map +1 -0
  135. package/dist/cli/channel/hq.channel.list.descriptor.d.ts +16 -0
  136. package/dist/cli/channel/hq.channel.list.descriptor.d.ts.map +1 -0
  137. package/dist/cli/channel/hq.channel.list.descriptor.js +13 -0
  138. package/dist/cli/channel/hq.channel.list.descriptor.js.map +1 -0
  139. package/dist/cli/channel/hq.channel.list.impl.d.ts +7 -0
  140. package/dist/cli/channel/hq.channel.list.impl.d.ts.map +1 -0
  141. package/dist/cli/channel/hq.channel.list.impl.js +30 -0
  142. package/dist/cli/channel/hq.channel.list.impl.js.map +1 -0
  143. package/dist/cli/channel/hq.channel.logs.descriptor.d.ts +24 -0
  144. package/dist/cli/channel/hq.channel.logs.descriptor.d.ts.map +1 -0
  145. package/dist/cli/channel/hq.channel.logs.descriptor.js +17 -0
  146. package/dist/cli/channel/hq.channel.logs.descriptor.js.map +1 -0
  147. package/dist/cli/channel/hq.channel.logs.impl.d.ts +9 -0
  148. package/dist/cli/channel/hq.channel.logs.impl.d.ts.map +1 -0
  149. package/dist/cli/channel/hq.channel.logs.impl.js +74 -0
  150. package/dist/cli/channel/hq.channel.logs.impl.js.map +1 -0
  151. package/dist/cli/friction/_store-hint.d.ts +7 -0
  152. package/dist/cli/friction/_store-hint.d.ts.map +1 -0
  153. package/dist/cli/friction/_store-hint.js +13 -0
  154. package/dist/cli/friction/_store-hint.js.map +1 -0
  155. package/dist/cli/friction/hq.friction.cli-group.descriptor.d.ts +11 -0
  156. package/dist/cli/friction/hq.friction.cli-group.descriptor.d.ts.map +1 -0
  157. package/dist/cli/friction/hq.friction.cli-group.descriptor.js +15 -0
  158. package/dist/cli/friction/hq.friction.cli-group.descriptor.js.map +1 -0
  159. package/dist/cli/friction/hq.friction.disposition.d.ts +5 -0
  160. package/dist/cli/friction/hq.friction.disposition.d.ts.map +1 -0
  161. package/dist/cli/friction/hq.friction.disposition.js +64 -0
  162. package/dist/cli/friction/hq.friction.disposition.js.map +1 -0
  163. package/dist/cli/friction/hq.friction.emit.descriptor.d.ts +65 -0
  164. package/dist/cli/friction/hq.friction.emit.descriptor.d.ts.map +1 -0
  165. package/dist/cli/friction/hq.friction.emit.descriptor.js +70 -0
  166. package/dist/cli/friction/hq.friction.emit.descriptor.js.map +1 -0
  167. package/dist/cli/friction/hq.friction.emit.impl.d.ts +7 -0
  168. package/dist/cli/friction/hq.friction.emit.impl.d.ts.map +1 -0
  169. package/dist/cli/friction/hq.friction.emit.impl.js +85 -0
  170. package/dist/cli/friction/hq.friction.emit.impl.js.map +1 -0
  171. package/dist/cli/friction/hq.friction.list.descriptor.d.ts +37 -0
  172. package/dist/cli/friction/hq.friction.list.descriptor.d.ts.map +1 -0
  173. package/dist/cli/friction/hq.friction.list.descriptor.js +22 -0
  174. package/dist/cli/friction/hq.friction.list.descriptor.js.map +1 -0
  175. package/dist/cli/friction/hq.friction.list.impl.d.ts +7 -0
  176. package/dist/cli/friction/hq.friction.list.impl.d.ts.map +1 -0
  177. package/dist/cli/friction/hq.friction.list.impl.js +73 -0
  178. package/dist/cli/friction/hq.friction.list.impl.js.map +1 -0
  179. package/dist/cli/friction/hq.friction.promote.descriptor.d.ts +21 -0
  180. package/dist/cli/friction/hq.friction.promote.descriptor.d.ts.map +1 -0
  181. package/dist/cli/friction/hq.friction.promote.descriptor.js +14 -0
  182. package/dist/cli/friction/hq.friction.promote.descriptor.js.map +1 -0
  183. package/dist/cli/friction/hq.friction.promote.impl.d.ts +7 -0
  184. package/dist/cli/friction/hq.friction.promote.impl.d.ts.map +1 -0
  185. package/dist/cli/friction/hq.friction.promote.impl.js +47 -0
  186. package/dist/cli/friction/hq.friction.promote.impl.js.map +1 -0
  187. package/dist/cli/friction/hq.friction.reject.descriptor.d.ts +24 -0
  188. package/dist/cli/friction/hq.friction.reject.descriptor.d.ts.map +1 -0
  189. package/dist/cli/friction/hq.friction.reject.descriptor.js +17 -0
  190. package/dist/cli/friction/hq.friction.reject.descriptor.js.map +1 -0
  191. package/dist/cli/friction/hq.friction.reject.impl.d.ts +6 -0
  192. package/dist/cli/friction/hq.friction.reject.impl.d.ts.map +1 -0
  193. package/dist/cli/friction/hq.friction.reject.impl.js +7 -0
  194. package/dist/cli/friction/hq.friction.reject.impl.js.map +1 -0
  195. package/dist/cli/friction/hq.friction.resolve.descriptor.d.ts +27 -0
  196. package/dist/cli/friction/hq.friction.resolve.descriptor.d.ts.map +1 -0
  197. package/dist/cli/friction/hq.friction.resolve.descriptor.js +18 -0
  198. package/dist/cli/friction/hq.friction.resolve.descriptor.js.map +1 -0
  199. package/dist/cli/friction/hq.friction.resolve.impl.d.ts +6 -0
  200. package/dist/cli/friction/hq.friction.resolve.impl.d.ts.map +1 -0
  201. package/dist/cli/friction/hq.friction.resolve.impl.js +7 -0
  202. package/dist/cli/friction/hq.friction.resolve.impl.js.map +1 -0
  203. package/dist/cli/friction/hq.friction.show.descriptor.d.ts +24 -0
  204. package/dist/cli/friction/hq.friction.show.descriptor.d.ts.map +1 -0
  205. package/dist/cli/friction/hq.friction.show.descriptor.js +17 -0
  206. package/dist/cli/friction/hq.friction.show.descriptor.js.map +1 -0
  207. package/dist/cli/friction/hq.friction.show.impl.d.ts +7 -0
  208. package/dist/cli/friction/hq.friction.show.impl.d.ts.map +1 -0
  209. package/dist/cli/friction/hq.friction.show.impl.js +64 -0
  210. package/dist/cli/friction/hq.friction.show.impl.js.map +1 -0
  211. package/dist/cli/friction/hq.friction.sync.descriptor.d.ts +16 -0
  212. package/dist/cli/friction/hq.friction.sync.descriptor.d.ts.map +1 -0
  213. package/dist/cli/friction/hq.friction.sync.descriptor.js +13 -0
  214. package/dist/cli/friction/hq.friction.sync.descriptor.js.map +1 -0
  215. package/dist/cli/friction/hq.friction.sync.impl.d.ts +7 -0
  216. package/dist/cli/friction/hq.friction.sync.impl.d.ts.map +1 -0
  217. package/dist/cli/friction/hq.friction.sync.impl.js +29 -0
  218. package/dist/cli/friction/hq.friction.sync.impl.js.map +1 -0
  219. package/dist/cli/friction/hq.friction.triage.descriptor.d.ts +27 -0
  220. package/dist/cli/friction/hq.friction.triage.descriptor.d.ts.map +1 -0
  221. package/dist/cli/friction/hq.friction.triage.descriptor.js +18 -0
  222. package/dist/cli/friction/hq.friction.triage.descriptor.js.map +1 -0
  223. package/dist/cli/friction/hq.friction.triage.impl.d.ts +6 -0
  224. package/dist/cli/friction/hq.friction.triage.impl.d.ts.map +1 -0
  225. package/dist/cli/friction/hq.friction.triage.impl.js +7 -0
  226. package/dist/cli/friction/hq.friction.triage.impl.js.map +1 -0
  227. package/dist/cli/friction/invocation.d.ts +12 -0
  228. package/dist/cli/friction/invocation.d.ts.map +1 -0
  229. package/dist/cli/friction/invocation.js +28 -0
  230. package/dist/cli/friction/invocation.js.map +1 -0
  231. package/dist/cli/health/hq.health.descriptor.d.ts +19 -0
  232. package/dist/cli/health/hq.health.descriptor.d.ts.map +1 -0
  233. package/dist/cli/health/hq.health.descriptor.js +16 -0
  234. package/dist/cli/health/hq.health.descriptor.js.map +1 -0
  235. package/dist/cli/health/hq.health.impl.d.ts +3 -0
  236. package/dist/cli/health/hq.health.impl.d.ts.map +1 -0
  237. package/dist/cli/health/hq.health.impl.js +151 -0
  238. package/dist/cli/health/hq.health.impl.js.map +1 -0
  239. package/dist/cli/host-platform.d.ts +14 -0
  240. package/dist/cli/host-platform.d.ts.map +1 -0
  241. package/dist/cli/host-platform.js +30 -0
  242. package/dist/cli/host-platform.js.map +1 -0
  243. package/dist/cli/hq.cli-group.descriptor.d.ts +11 -0
  244. package/dist/cli/hq.cli-group.descriptor.d.ts.map +1 -0
  245. package/dist/cli/hq.cli-group.descriptor.js +11 -0
  246. package/dist/cli/hq.cli-group.descriptor.js.map +1 -0
  247. package/dist/cli/init/hq.init.descriptor.d.ts +7 -0
  248. package/dist/cli/init/hq.init.descriptor.d.ts.map +1 -0
  249. package/dist/cli/init/hq.init.descriptor.js +36 -0
  250. package/dist/cli/init/hq.init.descriptor.js.map +1 -0
  251. package/dist/cli/init/hq.init.impl.d.ts +7 -0
  252. package/dist/cli/init/hq.init.impl.d.ts.map +1 -0
  253. package/dist/cli/init/hq.init.impl.js +163 -0
  254. package/dist/cli/init/hq.init.impl.js.map +1 -0
  255. package/dist/cli/install/hq.install.descriptor.d.ts +9 -0
  256. package/dist/cli/install/hq.install.descriptor.d.ts.map +1 -0
  257. package/dist/cli/install/hq.install.descriptor.js +34 -0
  258. package/dist/cli/install/hq.install.descriptor.js.map +1 -0
  259. package/dist/cli/install/hq.install.impl.d.ts +6 -0
  260. package/dist/cli/install/hq.install.impl.d.ts.map +1 -0
  261. package/dist/cli/install/hq.install.impl.js +110 -0
  262. package/dist/cli/install/hq.install.impl.js.map +1 -0
  263. package/dist/cli/permissions/hq.permissions.descriptor.d.ts +9 -0
  264. package/dist/cli/permissions/hq.permissions.descriptor.d.ts.map +1 -0
  265. package/dist/cli/permissions/hq.permissions.descriptor.js +25 -0
  266. package/dist/cli/permissions/hq.permissions.descriptor.js.map +1 -0
  267. package/dist/cli/permissions/hq.permissions.impl.d.ts +3 -0
  268. package/dist/cli/permissions/hq.permissions.impl.d.ts.map +1 -0
  269. package/dist/cli/permissions/hq.permissions.impl.js +113 -0
  270. package/dist/cli/permissions/hq.permissions.impl.js.map +1 -0
  271. package/dist/cli/plugin.d.ts +3 -0
  272. package/dist/cli/plugin.d.ts.map +1 -0
  273. package/dist/cli/plugin.js +77 -0
  274. package/dist/cli/plugin.js.map +1 -0
  275. package/dist/cli/schemas/input.d.ts +117 -0
  276. package/dist/cli/schemas/input.d.ts.map +1 -0
  277. package/dist/cli/schemas/input.js +66 -0
  278. package/dist/cli/schemas/input.js.map +1 -0
  279. package/dist/cli/service/hq.service.cli-group.descriptor.d.ts +12 -0
  280. package/dist/cli/service/hq.service.cli-group.descriptor.d.ts.map +1 -0
  281. package/dist/cli/service/hq.service.cli-group.descriptor.js +12 -0
  282. package/dist/cli/service/hq.service.cli-group.descriptor.js.map +1 -0
  283. package/dist/cli/service/hq.service.list.descriptor.d.ts +16 -0
  284. package/dist/cli/service/hq.service.list.descriptor.d.ts.map +1 -0
  285. package/dist/cli/service/hq.service.list.descriptor.js +13 -0
  286. package/dist/cli/service/hq.service.list.descriptor.js.map +1 -0
  287. package/dist/cli/service/hq.service.list.impl.d.ts +7 -0
  288. package/dist/cli/service/hq.service.list.impl.d.ts.map +1 -0
  289. package/dist/cli/service/hq.service.list.impl.js +31 -0
  290. package/dist/cli/service/hq.service.list.impl.js.map +1 -0
  291. package/dist/cli/service/hq.service.manage.descriptor.d.ts +25 -0
  292. package/dist/cli/service/hq.service.manage.descriptor.d.ts.map +1 -0
  293. package/dist/cli/service/hq.service.manage.descriptor.js +23 -0
  294. package/dist/cli/service/hq.service.manage.descriptor.js.map +1 -0
  295. package/dist/cli/service/hq.service.manage.impl.d.ts +7 -0
  296. package/dist/cli/service/hq.service.manage.impl.d.ts.map +1 -0
  297. package/dist/cli/service/hq.service.manage.impl.js +64 -0
  298. package/dist/cli/service/hq.service.manage.impl.js.map +1 -0
  299. package/dist/cli/service/hq.service.register.descriptor.d.ts +21 -0
  300. package/dist/cli/service/hq.service.register.descriptor.d.ts.map +1 -0
  301. package/dist/cli/service/hq.service.register.descriptor.js +20 -0
  302. package/dist/cli/service/hq.service.register.descriptor.js.map +1 -0
  303. package/dist/cli/service/hq.service.register.impl.d.ts +7 -0
  304. package/dist/cli/service/hq.service.register.impl.d.ts.map +1 -0
  305. package/dist/cli/service/hq.service.register.impl.js +35 -0
  306. package/dist/cli/service/hq.service.register.impl.js.map +1 -0
  307. package/dist/cli/setup/hq.setup.descriptor.d.ts +9 -0
  308. package/dist/cli/setup/hq.setup.descriptor.d.ts.map +1 -0
  309. package/dist/cli/setup/hq.setup.descriptor.js +22 -0
  310. package/dist/cli/setup/hq.setup.descriptor.js.map +1 -0
  311. package/dist/cli/setup/hq.setup.impl.d.ts +7 -0
  312. package/dist/cli/setup/hq.setup.impl.d.ts.map +1 -0
  313. package/dist/cli/setup/hq.setup.impl.js +57 -0
  314. package/dist/cli/setup/hq.setup.impl.js.map +1 -0
  315. package/dist/cli/setup/index.d.ts +2 -0
  316. package/dist/cli/setup/index.d.ts.map +1 -0
  317. package/dist/cli/setup/index.js +2 -0
  318. package/dist/cli/setup/index.js.map +1 -0
  319. package/dist/cli/surface/hq.surface.cli-group.descriptor.d.ts +12 -0
  320. package/dist/cli/surface/hq.surface.cli-group.descriptor.d.ts.map +1 -0
  321. package/dist/cli/surface/hq.surface.cli-group.descriptor.js +12 -0
  322. package/dist/cli/surface/hq.surface.cli-group.descriptor.js.map +1 -0
  323. package/dist/cli/surface/hq.surface.list.descriptor.d.ts +20 -0
  324. package/dist/cli/surface/hq.surface.list.descriptor.d.ts.map +1 -0
  325. package/dist/cli/surface/hq.surface.list.descriptor.js +20 -0
  326. package/dist/cli/surface/hq.surface.list.descriptor.js.map +1 -0
  327. package/dist/cli/surface/hq.surface.list.impl.d.ts +7 -0
  328. package/dist/cli/surface/hq.surface.list.impl.d.ts.map +1 -0
  329. package/dist/cli/surface/hq.surface.list.impl.js +35 -0
  330. package/dist/cli/surface/hq.surface.list.impl.js.map +1 -0
  331. package/dist/cli/surface/hq.surface.resolve.descriptor.d.ts +22 -0
  332. package/dist/cli/surface/hq.surface.resolve.descriptor.d.ts.map +1 -0
  333. package/dist/cli/surface/hq.surface.resolve.descriptor.js +20 -0
  334. package/dist/cli/surface/hq.surface.resolve.descriptor.js.map +1 -0
  335. package/dist/cli/surface/hq.surface.resolve.impl.d.ts +7 -0
  336. package/dist/cli/surface/hq.surface.resolve.impl.d.ts.map +1 -0
  337. package/dist/cli/surface/hq.surface.resolve.impl.js +29 -0
  338. package/dist/cli/surface/hq.surface.resolve.impl.js.map +1 -0
  339. package/dist/client/friction/index.d.ts +58 -0
  340. package/dist/client/friction/index.d.ts.map +1 -0
  341. package/dist/client/friction/index.js +146 -0
  342. package/dist/client/friction/index.js.map +1 -0
  343. package/dist/client/friction.client.descriptor.d.ts +14 -0
  344. package/dist/client/friction.client.descriptor.d.ts.map +1 -0
  345. package/dist/client/friction.client.descriptor.js +14 -0
  346. package/dist/client/friction.client.descriptor.js.map +1 -0
  347. package/dist/client/hq.client.descriptor.d.ts +14 -0
  348. package/dist/client/hq.client.descriptor.d.ts.map +1 -0
  349. package/dist/client/hq.client.descriptor.js +14 -0
  350. package/dist/client/hq.client.descriptor.js.map +1 -0
  351. package/dist/client/index.d.ts +95 -0
  352. package/dist/client/index.d.ts.map +1 -0
  353. package/dist/client/index.js +144 -0
  354. package/dist/client/index.js.map +1 -0
  355. package/dist/config/hq-friction.config.descriptor.d.ts +227 -0
  356. package/dist/config/hq-friction.config.descriptor.d.ts.map +1 -0
  357. package/dist/config/hq-friction.config.descriptor.js +116 -0
  358. package/dist/config/hq-friction.config.descriptor.js.map +1 -0
  359. package/dist/dashboard.d.ts +133 -0
  360. package/dist/dashboard.d.ts.map +1 -0
  361. package/dist/dashboard.js +371 -0
  362. package/dist/dashboard.js.map +1 -0
  363. package/dist/docs/hq.machines.docs.descriptor.d.ts +22 -0
  364. package/dist/docs/hq.machines.docs.descriptor.d.ts.map +1 -0
  365. package/dist/docs/hq.machines.docs.descriptor.js +65 -0
  366. package/dist/docs/hq.machines.docs.descriptor.js.map +1 -0
  367. package/dist/docs/hq.sessions.docs.descriptor.d.ts +22 -0
  368. package/dist/docs/hq.sessions.docs.descriptor.d.ts.map +1 -0
  369. package/dist/docs/hq.sessions.docs.descriptor.js +74 -0
  370. package/dist/docs/hq.sessions.docs.descriptor.js.map +1 -0
  371. package/dist/docs/hq.surfaces.docs.descriptor.d.ts +38 -0
  372. package/dist/docs/hq.surfaces.docs.descriptor.d.ts.map +1 -0
  373. package/dist/docs/hq.surfaces.docs.descriptor.js +161 -0
  374. package/dist/docs/hq.surfaces.docs.descriptor.js.map +1 -0
  375. package/dist/docs/hq.terminal.docs.descriptor.d.ts +22 -0
  376. package/dist/docs/hq.terminal.docs.descriptor.d.ts.map +1 -0
  377. package/dist/docs/hq.terminal.docs.descriptor.js +86 -0
  378. package/dist/docs/hq.terminal.docs.descriptor.js.map +1 -0
  379. package/dist/friction/clusters.d.ts +23 -0
  380. package/dist/friction/clusters.d.ts.map +1 -0
  381. package/dist/friction/clusters.js +56 -0
  382. package/dist/friction/clusters.js.map +1 -0
  383. package/dist/friction/fingerprint.d.ts +56 -0
  384. package/dist/friction/fingerprint.d.ts.map +1 -0
  385. package/dist/friction/fingerprint.js +113 -0
  386. package/dist/friction/fingerprint.js.map +1 -0
  387. package/dist/friction/friction-dispositions.record.descriptor.d.ts +4 -0
  388. package/dist/friction/friction-dispositions.record.descriptor.d.ts.map +1 -0
  389. package/dist/friction/friction-dispositions.record.descriptor.js +36 -0
  390. package/dist/friction/friction-dispositions.record.descriptor.js.map +1 -0
  391. package/dist/friction/friction-signals.record.descriptor.d.ts +12 -0
  392. package/dist/friction/friction-signals.record.descriptor.d.ts.map +1 -0
  393. package/dist/friction/friction-signals.record.descriptor.js +52 -0
  394. package/dist/friction/friction-signals.record.descriptor.js.map +1 -0
  395. package/dist/friction/intake.d.ts +79 -0
  396. package/dist/friction/intake.d.ts.map +1 -0
  397. package/dist/friction/intake.js +459 -0
  398. package/dist/friction/intake.js.map +1 -0
  399. package/dist/friction/jobs/friction-clusters.job.descriptor.d.ts +71 -0
  400. package/dist/friction/jobs/friction-clusters.job.descriptor.d.ts.map +1 -0
  401. package/dist/friction/jobs/friction-clusters.job.descriptor.js +34 -0
  402. package/dist/friction/jobs/friction-clusters.job.descriptor.js.map +1 -0
  403. package/dist/friction/jobs/friction-clusters.job.impl.d.ts +22 -0
  404. package/dist/friction/jobs/friction-clusters.job.impl.d.ts.map +1 -0
  405. package/dist/friction/jobs/friction-clusters.job.impl.js +33 -0
  406. package/dist/friction/jobs/friction-clusters.job.impl.js.map +1 -0
  407. package/dist/friction/promote-input.d.ts +37 -0
  408. package/dist/friction/promote-input.d.ts.map +1 -0
  409. package/dist/friction/promote-input.js +58 -0
  410. package/dist/friction/promote-input.js.map +1 -0
  411. package/dist/friction/promotion-visibility.d.ts +34 -0
  412. package/dist/friction/promotion-visibility.d.ts.map +1 -0
  413. package/dist/friction/promotion-visibility.js +57 -0
  414. package/dist/friction/promotion-visibility.js.map +1 -0
  415. package/dist/friction/read.d.ts +21 -0
  416. package/dist/friction/read.d.ts.map +1 -0
  417. package/dist/friction/read.js +23 -0
  418. package/dist/friction/read.js.map +1 -0
  419. package/dist/friction/schemas/disposition.d.ts +42 -0
  420. package/dist/friction/schemas/disposition.d.ts.map +1 -0
  421. package/dist/friction/schemas/disposition.js +22 -0
  422. package/dist/friction/schemas/disposition.js.map +1 -0
  423. package/dist/friction/schemas/intake.d.ts +167 -0
  424. package/dist/friction/schemas/intake.d.ts.map +1 -0
  425. package/dist/friction/schemas/intake.js +69 -0
  426. package/dist/friction/schemas/intake.js.map +1 -0
  427. package/dist/friction/schemas/report.d.ts +138 -0
  428. package/dist/friction/schemas/report.d.ts.map +1 -0
  429. package/dist/friction/schemas/report.js +63 -0
  430. package/dist/friction/schemas/report.js.map +1 -0
  431. package/dist/friction/schemas/signal.d.ts +170 -0
  432. package/dist/friction/schemas/signal.d.ts.map +1 -0
  433. package/dist/friction/schemas/signal.js +77 -0
  434. package/dist/friction/schemas/signal.js.map +1 -0
  435. package/dist/friction/signal-recorded.event.descriptor.d.ts +53 -0
  436. package/dist/friction/signal-recorded.event.descriptor.d.ts.map +1 -0
  437. package/dist/friction/signal-recorded.event.descriptor.js +38 -0
  438. package/dist/friction/signal-recorded.event.descriptor.js.map +1 -0
  439. package/dist/friction/store.d.ts +108 -0
  440. package/dist/friction/store.d.ts.map +1 -0
  441. package/dist/friction/store.js +461 -0
  442. package/dist/friction/store.js.map +1 -0
  443. package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.d.ts +8 -0
  444. package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.d.ts.map +1 -0
  445. package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.js +18 -0
  446. package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.js.map +1 -0
  447. package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.d.ts +8 -0
  448. package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.d.ts.map +1 -0
  449. package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.js +18 -0
  450. package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.js.map +1 -0
  451. package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.d.ts +8 -0
  452. package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.d.ts.map +1 -0
  453. package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.js +14 -0
  454. package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.js.map +1 -0
  455. package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.d.ts +8 -0
  456. package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.d.ts.map +1 -0
  457. package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.js +18 -0
  458. package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.js.map +1 -0
  459. package/dist/host-guidance/kinds/host-health-check.kind.d.ts +17 -0
  460. package/dist/host-guidance/kinds/host-health-check.kind.d.ts.map +1 -0
  461. package/dist/host-guidance/kinds/host-health-check.kind.js +22 -0
  462. package/dist/host-guidance/kinds/host-health-check.kind.js.map +1 -0
  463. package/dist/host-guidance/kinds/host-permission-guidance.kind.d.ts +17 -0
  464. package/dist/host-guidance/kinds/host-permission-guidance.kind.d.ts.map +1 -0
  465. package/dist/host-guidance/kinds/host-permission-guidance.kind.js +22 -0
  466. package/dist/host-guidance/kinds/host-permission-guidance.kind.js.map +1 -0
  467. package/dist/host-guidance/registry.d.ts +16 -0
  468. package/dist/host-guidance/registry.d.ts.map +1 -0
  469. package/dist/host-guidance/registry.js +24 -0
  470. package/dist/host-guidance/registry.js.map +1 -0
  471. package/dist/hq.cloud.plugin.d.ts +3 -0
  472. package/dist/hq.cloud.plugin.d.ts.map +1 -0
  473. package/dist/hq.cloud.plugin.js +40 -0
  474. package/dist/hq.cloud.plugin.js.map +1 -0
  475. package/dist/hq.consumer.plugin.d.ts +3 -0
  476. package/dist/hq.consumer.plugin.d.ts.map +1 -0
  477. package/dist/hq.consumer.plugin.js +15 -0
  478. package/dist/hq.consumer.plugin.js.map +1 -0
  479. package/dist/hq.plugin.d.ts +9 -0
  480. package/dist/hq.plugin.d.ts.map +1 -0
  481. package/dist/hq.plugin.js +99 -0
  482. package/dist/hq.plugin.js.map +1 -0
  483. package/dist/installers/builtin/ai-runtimes/installer.d.ts +21 -0
  484. package/dist/installers/builtin/ai-runtimes/installer.d.ts.map +1 -0
  485. package/dist/installers/builtin/ai-runtimes/installer.js +244 -0
  486. package/dist/installers/builtin/ai-runtimes/installer.js.map +1 -0
  487. package/dist/installers/builtin/index.d.ts +9 -0
  488. package/dist/installers/builtin/index.d.ts.map +1 -0
  489. package/dist/installers/builtin/index.js +15 -0
  490. package/dist/installers/builtin/index.js.map +1 -0
  491. package/dist/installers/builtin/language-servers/installer.d.ts +18 -0
  492. package/dist/installers/builtin/language-servers/installer.d.ts.map +1 -0
  493. package/dist/installers/builtin/language-servers/installer.js +139 -0
  494. package/dist/installers/builtin/language-servers/installer.js.map +1 -0
  495. package/dist/installers/builtin/system-deps/installer.d.ts +8 -0
  496. package/dist/installers/builtin/system-deps/installer.d.ts.map +1 -0
  497. package/dist/installers/builtin/system-deps/installer.js +78 -0
  498. package/dist/installers/builtin/system-deps/installer.js.map +1 -0
  499. package/dist/installers/compatibility.consumer.plugin.d.ts +3 -0
  500. package/dist/installers/compatibility.consumer.plugin.d.ts.map +1 -0
  501. package/dist/installers/compatibility.consumer.plugin.js +26 -0
  502. package/dist/installers/compatibility.consumer.plugin.js.map +1 -0
  503. package/dist/installers/core/index.d.ts +3 -0
  504. package/dist/installers/core/index.d.ts.map +1 -0
  505. package/dist/installers/core/index.js +3 -0
  506. package/dist/installers/core/index.js.map +1 -0
  507. package/dist/installers/core/installer-result.d.ts +10 -0
  508. package/dist/installers/core/installer-result.d.ts.map +1 -0
  509. package/dist/installers/core/installer-result.js +14 -0
  510. package/dist/installers/core/installer-result.js.map +1 -0
  511. package/dist/installers/core/installer-runtime.d.ts +18 -0
  512. package/dist/installers/core/installer-runtime.d.ts.map +1 -0
  513. package/dist/installers/core/installer-runtime.js +5 -0
  514. package/dist/installers/core/installer-runtime.js.map +1 -0
  515. package/dist/installers/core/platform.d.ts +6 -0
  516. package/dist/installers/core/platform.d.ts.map +1 -0
  517. package/dist/installers/core/platform.js +19 -0
  518. package/dist/installers/core/platform.js.map +1 -0
  519. package/dist/installers/core/workspace.d.ts +4 -0
  520. package/dist/installers/core/workspace.d.ts.map +1 -0
  521. package/dist/installers/core/workspace.js +11 -0
  522. package/dist/installers/core/workspace.js.map +1 -0
  523. package/dist/installers/index.d.ts +6 -0
  524. package/dist/installers/index.d.ts.map +1 -0
  525. package/dist/installers/index.js +6 -0
  526. package/dist/installers/index.js.map +1 -0
  527. package/dist/installers/schemas/index.d.ts +2 -0
  528. package/dist/installers/schemas/index.d.ts.map +1 -0
  529. package/dist/installers/schemas/index.js +2 -0
  530. package/dist/installers/schemas/index.js.map +1 -0
  531. package/dist/installers/schemas/platform.d.ts +10 -0
  532. package/dist/installers/schemas/platform.d.ts.map +1 -0
  533. package/dist/installers/schemas/platform.js +9 -0
  534. package/dist/installers/schemas/platform.js.map +1 -0
  535. package/dist/installers/schemas/types.d.ts +4 -0
  536. package/dist/installers/schemas/types.d.ts.map +1 -0
  537. package/dist/installers/schemas/types.js +4 -0
  538. package/dist/installers/schemas/types.js.map +1 -0
  539. package/dist/os-wall/channels.wall.d.ts +9 -0
  540. package/dist/os-wall/channels.wall.d.ts.map +1 -0
  541. package/dist/os-wall/channels.wall.js +9 -0
  542. package/dist/os-wall/channels.wall.js.map +1 -0
  543. package/dist/os-wall/surface-store.wall.d.ts +3 -0
  544. package/dist/os-wall/surface-store.wall.d.ts.map +1 -0
  545. package/dist/os-wall/surface-store.wall.js +3 -0
  546. package/dist/os-wall/surface-store.wall.js.map +1 -0
  547. package/dist/runtime-path.d.ts +7 -0
  548. package/dist/runtime-path.d.ts.map +1 -0
  549. package/dist/runtime-path.js +7 -0
  550. package/dist/runtime-path.js.map +1 -0
  551. package/dist/schemas/host-guidance.d.ts +48 -0
  552. package/dist/schemas/host-guidance.d.ts.map +1 -0
  553. package/dist/schemas/host-guidance.js +48 -0
  554. package/dist/schemas/host-guidance.js.map +1 -0
  555. package/dist/services/backends/index.d.ts +24 -0
  556. package/dist/services/backends/index.d.ts.map +1 -0
  557. package/dist/services/backends/index.js +17 -0
  558. package/dist/services/backends/index.js.map +1 -0
  559. package/dist/services/builtin/index.d.ts +78 -0
  560. package/dist/services/builtin/index.d.ts.map +1 -0
  561. package/dist/services/builtin/index.js +44 -0
  562. package/dist/services/builtin/index.js.map +1 -0
  563. package/dist/services/descriptors/vibes-bridge.os-service.descriptor.d.ts +8 -0
  564. package/dist/services/descriptors/vibes-bridge.os-service.descriptor.d.ts.map +1 -0
  565. package/dist/services/descriptors/vibes-bridge.os-service.descriptor.js +21 -0
  566. package/dist/services/descriptors/vibes-bridge.os-service.descriptor.js.map +1 -0
  567. package/dist/services/descriptors/vibes-mcp.os-service.descriptor.d.ts +8 -0
  568. package/dist/services/descriptors/vibes-mcp.os-service.descriptor.d.ts.map +1 -0
  569. package/dist/services/descriptors/vibes-mcp.os-service.descriptor.js +20 -0
  570. package/dist/services/descriptors/vibes-mcp.os-service.descriptor.js.map +1 -0
  571. package/dist/services/descriptors/vibes-pm.os-service.descriptor.d.ts +8 -0
  572. package/dist/services/descriptors/vibes-pm.os-service.descriptor.d.ts.map +1 -0
  573. package/dist/services/descriptors/vibes-pm.os-service.descriptor.js +20 -0
  574. package/dist/services/descriptors/vibes-pm.os-service.descriptor.js.map +1 -0
  575. package/dist/services/index.d.ts +14 -0
  576. package/dist/services/index.d.ts.map +1 -0
  577. package/dist/services/index.js +12 -0
  578. package/dist/services/index.js.map +1 -0
  579. package/dist/services/kinds/os-service.kind.d.ts +19 -0
  580. package/dist/services/kinds/os-service.kind.d.ts.map +1 -0
  581. package/dist/services/kinds/os-service.kind.js +24 -0
  582. package/dist/services/kinds/os-service.kind.js.map +1 -0
  583. package/dist/services/registry.d.ts +45 -0
  584. package/dist/services/registry.d.ts.map +1 -0
  585. package/dist/services/registry.js +141 -0
  586. package/dist/services/registry.js.map +1 -0
  587. package/dist/services/schemas/service.d.ts +79 -0
  588. package/dist/services/schemas/service.d.ts.map +1 -0
  589. package/dist/services/schemas/service.js +82 -0
  590. package/dist/services/schemas/service.js.map +1 -0
  591. package/dist/svelte/report/ReportProblemDialog.svelte +205 -0
  592. package/dist/svelte/report/ReportProblemDialog.svelte.d.ts +5 -0
  593. package/dist/svelte/report/ReportProblemDialog.svelte.d.ts.map +1 -0
  594. package/dist/svelte/report/capture-context.d.ts +61 -0
  595. package/dist/svelte/report/capture-context.d.ts.map +1 -0
  596. package/dist/svelte/report/capture-context.js +100 -0
  597. package/dist/svelte/report/report.plugin.d.ts +68 -0
  598. package/dist/svelte/report/report.plugin.d.ts.map +1 -0
  599. package/dist/svelte/report/report.plugin.js +109 -0
  600. package/dist/svelte/report/severity.d.ts +32 -0
  601. package/dist/svelte/report/severity.d.ts.map +1 -0
  602. package/dist/svelte/report/severity.js +13 -0
  603. package/dist/tools/applet/applet.schemas.d.ts +6 -0
  604. package/dist/tools/applet/applet.schemas.d.ts.map +1 -0
  605. package/dist/tools/applet/applet.schemas.js +6 -0
  606. package/dist/tools/applet/applet.schemas.js.map +1 -0
  607. package/dist/utils/exec.d.ts +22 -0
  608. package/dist/utils/exec.d.ts.map +1 -0
  609. package/dist/utils/exec.js +38 -0
  610. package/dist/utils/exec.js.map +1 -0
  611. package/dist/utils/fs.d.ts +10 -0
  612. package/dist/utils/fs.d.ts.map +1 -0
  613. package/dist/utils/fs.js +25 -0
  614. package/dist/utils/fs.js.map +1 -0
  615. package/package.json +268 -4
@@ -0,0 +1,24 @@
1
+ declare const _default: {
2
+ readonly id: "hq.friction.show";
3
+ readonly kind: "cli/command";
4
+ readonly name: "show";
5
+ readonly description: "Show one friction signal by id";
6
+ readonly group: "friction";
7
+ readonly arguments: [{
8
+ readonly name: "id";
9
+ readonly description: "Friction signal id";
10
+ readonly required: true;
11
+ }];
12
+ readonly options: [{
13
+ readonly flags: "--org-id <id>";
14
+ readonly description: "Organization id (default: the signed-in organization)";
15
+ }, {
16
+ readonly flags: "--json";
17
+ readonly description: "Output JSON";
18
+ }];
19
+ readonly surfaces: ["cli"];
20
+ readonly hardware: readonly ["consumer"];
21
+ readonly enabled: true;
22
+ };
23
+ export default _default;
24
+ //# sourceMappingURL=hq.friction.show.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.show.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.show.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAEA,wBAcG"}
@@ -0,0 +1,17 @@
1
+ import { createRuntimeAsset } from '@vibesdotdev/kernel';
2
+ export default createRuntimeAsset({
3
+ id: 'hq.friction.show',
4
+ kind: 'cli/command',
5
+ name: 'show',
6
+ description: 'Show one friction signal by id',
7
+ group: 'friction',
8
+ arguments: [{ name: 'id', description: 'Friction signal id', required: true }],
9
+ options: [
10
+ { flags: '--org-id <id>', description: 'Organization id (default: the signed-in organization)' },
11
+ { flags: '--json', description: 'Output JSON' }
12
+ ],
13
+ surfaces: ['cli'],
14
+ hardware: ['consumer'],
15
+ enabled: true
16
+ });
17
+ //# sourceMappingURL=hq.friction.show.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.show.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.show.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,gCAAgC;IAC7C,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9E,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,uDAAuD,EAAE;QAChG,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE;KAC/C;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { CommandOptions } from '@vibesdotdev/cli';
2
+ import type { CommandContext } from '@vibesdotdev/cli';
3
+ declare const _default: {
4
+ execute(inputArgs: CommandOptions, inputOptions: CommandOptions, context: CommandContext): Promise<void>;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=hq.friction.show.impl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.show.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.show.impl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;uBAY7B,cAAc,gBAAgB,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD/G,wBAuDE"}
@@ -0,0 +1,64 @@
1
+ import { writeStdoutLine } from '@vibesdotdev/cli/output';
2
+ import { parseCliArguments, parseCliOptions } from "../schemas/input.js";
3
+ import { CapabilityError } from '@vibesdotdev/kernel';
4
+ import { getFrictionSignal, latestDispositionsBySignal } from "../../friction/store.js";
5
+ import { formatPromotedWorkItems, resolvePromotedWorkItems } from "../../friction/promotion-visibility.js";
6
+ import { printFrictionStoreHintOnce } from "./_store-hint.js";
7
+ import { writeJson } from '@vibesdotdev/cli/output';
8
+ import { frictionOrgId } from "./invocation.js";
9
+ export default {
10
+ async execute(inputArgs, inputOptions, context) {
11
+ const args = parseCliArguments(inputArgs);
12
+ const opts = parseCliOptions(inputOptions);
13
+ const { runtime } = context;
14
+ try {
15
+ await printFrictionStoreHintOnce(runtime);
16
+ const id = args.id ?? '';
17
+ if (!id) {
18
+ throw new CapabilityError('friction signal id is required', 'INVALID_INPUT');
19
+ }
20
+ const orgId = frictionOrgId(runtime, opts.orgId);
21
+ const signal = await getFrictionSignal(runtime, id, { orgId });
22
+ if (!signal) {
23
+ throw new CapabilityError(`No friction signal found for "${id}"`, 'NOT_FOUND');
24
+ }
25
+ const latestDisposition = (await latestDispositionsBySignal(runtime, [signal.id])).get(signal.id);
26
+ if (opts.json) {
27
+ await writeJson(runtime, { ...signal, latestDisposition: latestDisposition ?? null });
28
+ return;
29
+ }
30
+ await writeStdoutLine(context.runtime, `${signal.id}`);
31
+ await writeStdoutLine(context.runtime, `surface: ${signal.surface}`);
32
+ await writeStdoutLine(context.runtime, `source: ${signal.source}`);
33
+ await writeStdoutLine(context.runtime, `audience: ${signal.audience}`);
34
+ await writeStdoutLine(context.runtime, `severity: ${signal.severity}`);
35
+ await writeStdoutLine(context.runtime, `created: ${signal.createdAt}`);
36
+ await writeStdoutLine(context.runtime, `observed: ${signal.observed}`);
37
+ if (signal.expected)
38
+ await writeStdoutLine(context.runtime, `expected: ${signal.expected}`);
39
+ if (signal.repro)
40
+ await writeStdoutLine(context.runtime, `repro: ${signal.repro}`);
41
+ if (signal.workaround)
42
+ await writeStdoutLine(context.runtime, `workaround: ${signal.workaround}`);
43
+ if (latestDisposition) {
44
+ await writeStdoutLine(context.runtime, `disposition: ${latestDisposition.disposition}`);
45
+ await writeStdoutLine(context.runtime, `disposition created: ${latestDisposition.createdAt}`);
46
+ if (latestDisposition.note)
47
+ await writeStdoutLine(context.runtime, `disposition note: ${latestDisposition.note}`);
48
+ if (latestDisposition.workItemIds.length > 0) {
49
+ await writeStdoutLine(context.runtime, `disposition work items: ${latestDisposition.workItemIds.join(', ')}`);
50
+ }
51
+ }
52
+ const promotions = await resolvePromotedWorkItems(runtime, [signal]);
53
+ if (promotions) {
54
+ await writeStdoutLine(context.runtime, `promoted → ${formatPromotedWorkItems(promotions.get(signal.id) ?? [])}`);
55
+ }
56
+ }
57
+ catch (err) {
58
+ if (err instanceof CapabilityError)
59
+ throw err;
60
+ throw new CapabilityError(`Failed to show friction signal: ${err instanceof Error ? err.message : String(err)}`, 'INTERNAL', { cause: err });
61
+ }
62
+ }
63
+ };
64
+ //# sourceMappingURL=hq.friction.show.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.show.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.show.impl.ts"],"names":[],"mappings":"AAAA,O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G,EAAE,CACd,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ readonly id: "hq.friction.sync";
3
+ readonly kind: "cli/command";
4
+ readonly name: "sync";
5
+ readonly description: "Drain offline friction spool rows into the record store";
6
+ readonly group: "friction";
7
+ readonly options: [{
8
+ readonly flags: "--json";
9
+ readonly description: "Output the sync result as JSON";
10
+ }];
11
+ readonly surfaces: ["cli"];
12
+ readonly hardware: readonly ["consumer"];
13
+ readonly enabled: true;
14
+ };
15
+ export default _default;
16
+ //# sourceMappingURL=hq.friction.sync.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.sync.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.sync.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,wBAUG"}
@@ -0,0 +1,13 @@
1
+ import { createRuntimeAsset } from '@vibesdotdev/kernel';
2
+ export default createRuntimeAsset({
3
+ id: 'hq.friction.sync',
4
+ kind: 'cli/command',
5
+ name: 'sync',
6
+ description: 'Drain offline friction spool rows into the record store',
7
+ group: 'friction',
8
+ options: [{ flags: '--json', description: 'Output the sync result as JSON' }],
9
+ surfaces: ['cli'],
10
+ hardware: ['consumer'],
11
+ enabled: true
12
+ });
13
+ //# sourceMappingURL=hq.friction.sync.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.sync.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.sync.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,yDAAyD;IACtE,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;IAC7E,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { CommandOptions } from '@vibesdotdev/cli';
2
+ import type { CommandContext } from '@vibesdotdev/cli';
3
+ declare const _default: {
4
+ execute(inputArgs: CommandOptions, inputOptions: CommandOptions, context: CommandContext): Promise<void>;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=hq.friction.sync.impl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.sync.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.sync.impl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;uBAM7B,cAAc,gBAAgB,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD/G,wBAwBE"}
@@ -0,0 +1,29 @@
1
+ import { writeStdoutLine, commandWriters } from '@vibesdotdev/cli/output';
2
+ import { parseCliArguments, parseCliOptions } from "../schemas/input.js";
3
+ import { writeJson } from '@vibesdotdev/cli/output';
4
+ import { CapabilityError } from '@vibesdotdev/kernel';
5
+ import { drainFrictionSpool } from "../../friction/store.js";
6
+ export default {
7
+ async execute(inputArgs, inputOptions, context) {
8
+ const _args = parseCliArguments(inputArgs);
9
+ const opts = parseCliOptions(inputOptions);
10
+ const { runtime } = context;
11
+ try {
12
+ const result = await drainFrictionSpool(runtime);
13
+ if (opts.json) {
14
+ await writeJson(runtime, result);
15
+ return;
16
+ }
17
+ await writeStdoutLine(context.runtime, `moved: ${result.moved}, skipped: ${result.skipped}`);
18
+ if (!result.recordAvailable) {
19
+ (await commandWriters(context.runtime)).log(' record store unavailable; offline spool retained');
20
+ }
21
+ }
22
+ catch (err) {
23
+ if (err instanceof CapabilityError)
24
+ throw err;
25
+ throw new CapabilityError(`Failed to sync friction spool: ${err instanceof Error ? err.message : String(err)}`, 'INTERNAL', { cause: err });
26
+ }
27
+ }
28
+ };
29
+ //# sourceMappingURL=hq.friction.sync.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.sync.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.sync.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAe;IACd,KAAK,CAAC,OAAO,CAAC,SAAyB,EAAE,YAA4B,EAAE,OAAuB;QAC7F,MAAM,KAAK,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAC3C,MAAM,IAAI,GAAG,eAAe,CAAC,YAAY,CAAC,CAAC;QAC3C,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QAC5B,IAAI,CAAC;YACJ,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,OAAO,CAAC,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBACf,MAAM,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;gBACjC,OAAO;YACR,CAAC;YACD,MAAM,eAAe,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,MAAM,CAAC,KAAK,cAAc,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;YAC7F,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC;gBAC7B,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,oDAAoD,CAAC,CAAC;YACnG,CAAC;QACF,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,IAAI,GAAG,YAAY,eAAe;gBAAE,MAAM,GAAG,CAAC;YAC9C,MAAM,IAAI,eAAe,CACxB,kCAAkC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EACpF,UAAU,EACV,EAAE,KAAK,EAAE,GAAG,EAAE,CACd,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ readonly id: "hq.friction.triage";
3
+ readonly kind: "cli/command";
4
+ readonly name: "triage";
5
+ readonly description: "Record a triage disposition for a friction signal";
6
+ readonly group: "friction";
7
+ readonly arguments: [{
8
+ readonly name: "id";
9
+ readonly description: "Friction signal id";
10
+ readonly required: true;
11
+ }];
12
+ readonly options: [{
13
+ readonly flags: "--note <note>";
14
+ readonly description: "Triage note";
15
+ }, {
16
+ readonly flags: "--duplicate-of <signalId>";
17
+ readonly description: "Mark as a duplicate of this friction signal";
18
+ }, {
19
+ readonly flags: "--json";
20
+ readonly description: "Output the disposition row as JSON";
21
+ }];
22
+ readonly surfaces: ["cli"];
23
+ readonly hardware: readonly ["consumer"];
24
+ readonly enabled: true;
25
+ };
26
+ export default _default;
27
+ //# sourceMappingURL=hq.friction.triage.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.triage.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.triage.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAeG"}
@@ -0,0 +1,18 @@
1
+ import { createRuntimeAsset } from '@vibesdotdev/kernel';
2
+ export default createRuntimeAsset({
3
+ id: 'hq.friction.triage',
4
+ kind: 'cli/command',
5
+ name: 'triage',
6
+ description: 'Record a triage disposition for a friction signal',
7
+ group: 'friction',
8
+ arguments: [{ name: 'id', description: 'Friction signal id', required: true }],
9
+ options: [
10
+ { flags: '--note <note>', description: 'Triage note' },
11
+ { flags: '--duplicate-of <signalId>', description: 'Mark as a duplicate of this friction signal' },
12
+ { flags: '--json', description: 'Output the disposition row as JSON' }
13
+ ],
14
+ surfaces: ['cli'],
15
+ hardware: ['consumer'],
16
+ enabled: true
17
+ });
18
+ //# sourceMappingURL=hq.friction.triage.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.triage.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.triage.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,oBAAoB;IACxB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,mDAAmD;IAChE,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9E,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,aAAa,EAAE;QACtD,EAAE,KAAK,EAAE,2BAA2B,EAAE,WAAW,EAAE,6CAA6C,EAAE;QAClG,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,oCAAoC,EAAE;KACtE;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
2
+ declare const _default: {
3
+ execute(args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=hq.friction.triage.impl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.triage.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.triage.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;kBAIxD,cAAc,QAAQ,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD5F,wBAIE"}
@@ -0,0 +1,7 @@
1
+ import { executeFrictionDisposition } from "./hq.friction.disposition.js";
2
+ export default {
3
+ execute(args, opts, context) {
4
+ return executeFrictionDisposition(context.runtime, args, opts, 'triaged');
5
+ }
6
+ };
7
+ //# sourceMappingURL=hq.friction.triage.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.friction.triage.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.triage.impl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,eAAe;IACd,OAAO,CAAC,IAAoB,EAAE,IAAoB,EAAE,OAAuB;QAC1E,OAAO,0BAA0B,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;IAC3E,CAAC;CACD,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Who a friction command acts as and for which organization: the explicit
3
+ * flag, else the invocation actor the runtime was handed. Nothing reads the
4
+ * environment or the OS user, and nothing defaults to a `local` org on rows
5
+ * another host may share; an invocation with neither fails typed.
6
+ */
7
+ import { type RuntimeRef } from '@vibesdotdev/kernel';
8
+ /** The organization: `--org-id`, else the invocation actor's org. */
9
+ export declare function frictionOrgId(runtime: Pick<RuntimeRef, 'scope'>, explicit: string | undefined): string;
10
+ /** The actor: the explicit flag, else the agent the invocation acts as (`agent/identity`). */
11
+ export declare function frictionActorId(runtime: Pick<RuntimeRef, 'context'>, explicit?: string): Promise<string>;
12
+ //# sourceMappingURL=invocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invocation.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/invocation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAKvE,qEAAqE;AACrE,wBAAgB,aAAa,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAOtG;AAED,8FAA8F;AAC9F,wBAAsB,eAAe,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAK9G"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Who a friction command acts as and for which organization: the explicit
3
+ * flag, else the invocation actor the runtime was handed. Nothing reads the
4
+ * environment or the OS user, and nothing defaults to a `local` org on rows
5
+ * another host may share; an invocation with neither fails typed.
6
+ */
7
+ import { CapabilityError } from '@vibesdotdev/kernel';
8
+ import { AGENT_IDENTITY_CONTEXT_ID } from '@vibesdotdev/kernel/schemas/agent-identity';
9
+ function explicitValue(value) { return value?.trim() || undefined; }
10
+ /** The organization: `--org-id`, else the invocation actor's org. */
11
+ export function frictionOrgId(runtime, explicit) {
12
+ const orgId = explicitValue(explicit) ?? runtime.scope.actor?.orgId;
13
+ if (orgId)
14
+ return orgId;
15
+ throw new CapabilityError('This friction command has no organization: the invocation acts for none.', 'AUTH_REQUIRED', {
16
+ reason: 'friction-org-unresolved',
17
+ recoveryHint: 'Pass --org-id, or sign in with an active organization.'
18
+ });
19
+ }
20
+ /** The actor: the explicit flag, else the agent the invocation acts as (`agent/identity`). */
21
+ export async function frictionActorId(runtime, explicit) {
22
+ const actor = explicitValue(explicit);
23
+ if (actor)
24
+ return actor;
25
+ // An invocation that names no agent fails AUTH_REQUIRED in the identity context itself.
26
+ return (await runtime.context(AGENT_IDENTITY_CONTEXT_ID)).agentId;
27
+ }
28
+ //# sourceMappingURL=invocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invocation.js","sourceRoot":"","sources":["../../../src/cli/friction/invocation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,eAAe,EAAmB,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAsB,MAAM,4CAA4C,CAAC;AAE3G,SAAS,aAAa,CAAC,KAAyB,IAAwB,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC,CAAC,CAAC;AAE5G,qEAAqE;AACrE,MAAM,UAAU,aAAa,CAAC,OAAkC,EAAE,QAA4B;IAC7F,MAAM,KAAK,GAAG,aAAa,CAAC,QAAQ,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC;IACpE,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC;IACxB,MAAM,IAAI,eAAe,CAAC,0EAA0E,EAAE,eAAe,EAAE;QACtH,MAAM,EAAE,yBAAyB;QACjC,YAAY,EAAE,wDAAwD;KACtE,CAAC,CAAC;AACJ,CAAC;AAED,8FAA8F;AAC9F,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,OAAoC,EAAE,QAAiB;IAC5F,MAAM,KAAK,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;IACtC,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC;IACxB,wFAAwF;IACxF,OAAO,CAAC,MAAM,OAAO,CAAC,OAAO,CAAgB,yBAAyB,CAAC,CAAC,CAAC,OAAO,CAAC;AAClF,CAAC"}
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ readonly id: "hq.health";
3
+ readonly kind: "cli/command";
4
+ readonly name: "health";
5
+ readonly description: "Check OS runtime health, pairing state, and app auth readiness";
6
+ readonly group: "hq";
7
+ readonly options: [{
8
+ readonly flags: "--json";
9
+ readonly description: "Output JSON";
10
+ }, {
11
+ readonly flags: "-v, --verbose";
12
+ readonly description: "Verbose output";
13
+ }];
14
+ readonly surfaces: ["cli"];
15
+ readonly hardware: readonly ["consumer"];
16
+ readonly enabled: true;
17
+ };
18
+ export default _default;
19
+ //# sourceMappingURL=hq.health.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.health.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/health/hq.health.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEA,wBAaG"}
@@ -0,0 +1,16 @@
1
+ import { createRuntimeAsset } from '@vibesdotdev/kernel';
2
+ export default createRuntimeAsset({
3
+ id: 'hq.health',
4
+ kind: 'cli/command',
5
+ name: 'health',
6
+ description: 'Check OS runtime health, pairing state, and app auth readiness',
7
+ group: 'hq',
8
+ options: [
9
+ { flags: '--json', description: 'Output JSON' },
10
+ { flags: '-v, --verbose', description: 'Verbose output' }
11
+ ],
12
+ surfaces: ['cli'],
13
+ hardware: ['consumer'],
14
+ enabled: true
15
+ });
16
+ //# sourceMappingURL=hq.health.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.health.descriptor.js","sourceRoot":"","sources":["../../../src/cli/health/hq.health.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,gEAAgE;IAC7E,KAAK,EAAE,IAAI;IACX,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE;QAC/C,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,gBAAgB,EAAE;KACzD;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("@vibesdotdev/cli-contracts").CommandImplementation;
2
+ export default _default;
3
+ //# sourceMappingURL=hq.health.impl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.health.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/health/hq.health.impl.ts"],"names":[],"mappings":";AA8CA,wBA8HG"}
@@ -0,0 +1,151 @@
1
+ import { getLogger } from '@vibesdotdev/logging';
2
+ import { detectPlatform } from "../../installers/core/platform.js";
3
+ /**
4
+ * OS Health Command Implementation
5
+ *
6
+ * Checks basic host readiness and builtin installer availability.
7
+ */
8
+ import * as z from 'zod/v4';
9
+ import { writeJson } from '@vibesdotdev/cli/output';
10
+ import { defineCommandImplementation } from '@vibesdotdev/cli';
11
+ import { getPathRoots } from '@vibesdotdev/paths';
12
+ import { whichCommand } from '@vibesdotdev/kernel/execution';
13
+ import { CapabilityError, settle, valueFreeFailure } from '@vibesdotdev/kernel';
14
+ import { resolveFileSystemAdapter } from '@vibesdotdev/filesystem';
15
+ import { get as getSetupInstaller, installerOptionsSchema, list as listSetupInstallers } from '@vibesdotdev/config/setup/installers';
16
+ import { requireHostPlatform } from "../host-platform.js";
17
+ import { listHostHealthChecks } from "../../host-guidance/registry.js";
18
+ const HealthOptionsSchema = z.object({
19
+ json: z.union([z.boolean(), z.string()]).optional(),
20
+ fix: z.union([z.boolean(), z.string()]).optional(),
21
+ verbose: z.union([z.boolean(), z.string()]).optional(),
22
+ });
23
+ function readBoolean(value) {
24
+ return value === true || value === 'true';
25
+ }
26
+ async function commandExists(runtime, command) {
27
+ return (await whichCommand(runtime, command)) !== null;
28
+ }
29
+ export default defineCommandImplementation({
30
+ options: HealthOptionsSchema,
31
+ async execute(_args, options, commandContext) {
32
+ const { runtime } = commandContext;
33
+ const ui = await runtime.context('cli/ui');
34
+ const asJson = readBoolean(options.json);
35
+ const fix = readBoolean(options.fix);
36
+ const verbose = readBoolean(options.verbose);
37
+ const hostPlatform = requireHostPlatform(runtime);
38
+ const platform = detectPlatform(runtime);
39
+ const checks = [];
40
+ const vibesHome = getPathRoots(runtime).vibesHome;
41
+ // The OS home is a directory under the host home: stat it through the
42
+ // runtime's unbound filesystem adapter, never node:fs directly. Only a
43
+ // confirmed absence answers false; every other failure propagates whole.
44
+ const fs = await resolveFileSystemAdapter(runtime, { binding: false });
45
+ const stated = await settle(() => fs.stat(vibesHome));
46
+ let vibesHomeExists = false;
47
+ if (stated.ok)
48
+ vibesHomeExists = stated.value.kind === 'directory';
49
+ else {
50
+ const code = valueFreeFailure(stated.cause).code;
51
+ if (code !== 'ENOENT')
52
+ throw stated.cause;
53
+ }
54
+ if (!vibesHomeExists && fix) {
55
+ await fs.mkdir(vibesHome, { recursive: true });
56
+ }
57
+ checks.push({
58
+ id: 'vibes-home',
59
+ status: vibesHomeExists || fix ? 'ok' : 'warning',
60
+ message: vibesHomeExists || fix ? `Found ${vibesHome}` : `Missing ${vibesHome}`
61
+ });
62
+ const pythonExists = await commandExists(runtime, 'python3');
63
+ checks.push({
64
+ id: 'python3',
65
+ status: pythonExists ? 'ok' : 'warning',
66
+ message: pythonExists ? 'python3 is available' : 'python3 is not available in PATH'
67
+ });
68
+ // Host probes are `hq/host-health-check` descriptors whose platforms
69
+ // include the selected host — no platform-string branches here.
70
+ const hostProbes = listHostHealthChecks(runtime).filter((probe) => probe.platforms.includes(hostPlatform));
71
+ for (const probe of hostProbes) {
72
+ const probeExists = await commandExists(runtime, probe.command);
73
+ checks.push({
74
+ id: probe.id,
75
+ status: probeExists ? 'ok' : 'warning',
76
+ message: probeExists
77
+ ? (probe.foundMessage ?? `${probe.id} is available`)
78
+ : (probe.missingMessage ?? `${probe.id} is not available`)
79
+ });
80
+ }
81
+ const installers = listSetupInstallers(runtime, { includeDisabled: true })
82
+ .filter((installer) => installer.tags.includes(`platform:${platform}`));
83
+ let installedCount = 0;
84
+ const context = {
85
+ runtime: { runtime, ui },
86
+ ui,
87
+ options: installerOptionsSchema.parse({
88
+ interactive: false,
89
+ dryRun: true,
90
+ force: false,
91
+ scope: 'global',
92
+ skipDependencies: false,
93
+ verbose
94
+ }),
95
+ workspacePath: await runtime.context('runtime/workspace-path'),
96
+ vibesHome,
97
+ logger: getLogger('hq.health', runtime)
98
+ };
99
+ const probeFailures = [];
100
+ for (const installer of installers) {
101
+ const impl = await getSetupInstaller(runtime, installer.id);
102
+ if (!impl)
103
+ continue;
104
+ // Settle each probe on its own: one installer's failure never aborts
105
+ // its siblings, and the report carries only value-free failure facts.
106
+ const probed = await settle(() => impl.isInstalled(context));
107
+ if (probed.ok) {
108
+ if (probed.value)
109
+ installedCount += 1;
110
+ }
111
+ else {
112
+ const failure = valueFreeFailure(probed.cause);
113
+ probeFailures.push(`${installer.id}: probe failed (${failure.code ?? failure.name})`);
114
+ }
115
+ }
116
+ checks.push({
117
+ id: 'installers',
118
+ status: installedCount > 0 ? 'ok' : 'warning',
119
+ message: `${installedCount}/${installers.length} platform installers detected as installed`
120
+ });
121
+ if (probeFailures.length > 0) {
122
+ checks.push({
123
+ id: 'installer-probes',
124
+ status: 'warning',
125
+ message: `Could not probe ${probeFailures.length} installer(s): ${probeFailures.join('; ')}`
126
+ });
127
+ }
128
+ const failed = checks.filter((check) => check.status === 'error').length;
129
+ const warnings = checks.filter((check) => check.status === 'warning').length;
130
+ if (asJson) {
131
+ await writeJson(runtime, { platform, checks, summary: { failed, warnings } });
132
+ }
133
+ else {
134
+ ui.info(`Platform: ${platform}`);
135
+ for (const check of checks) {
136
+ const marker = check.status === 'ok' ? 'OK' : check.status === 'warning' ? 'WARN' : 'ERROR';
137
+ ui.info(`[${marker}] ${check.id}: ${check.message}`);
138
+ }
139
+ if (failed === 0 && warnings === 0)
140
+ ui.success('System health checks passed.');
141
+ else if (failed === 0)
142
+ ui.warn('System health check found warnings.');
143
+ }
144
+ // A blocking issue is a failure on every output path — raise it after the
145
+ // report is rendered so `--json` can't report failures and still exit 0.
146
+ if (failed > 0) {
147
+ throw new CapabilityError(`System health check found ${failed} blocking issue${failed === 1 ? '' : 's'}.`, 'UNAVAILABLE');
148
+ }
149
+ }
150
+ });
151
+ //# sourceMappingURL=hq.health.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.health.impl.js","sourceRoot":"","sources":["../../../src/cli/health/hq.health.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE;;;;GAIG;AACH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAG/D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAqB,MAAM,qBAAqB,CAAC;AACnG,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACN,GAAG,IAAI,iBAAiB,EACxB,sBAAsB,EACtB,IAAI,IAAI,mBAAmB,EAE3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAQvE,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACnD,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,C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AE,CAAC,CAAC,CAAC,GAAG,GAAG,EAC/E,aAAa,CACb,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Selected-host platform facts for CLI commands.
3
+ *
4
+ * Commands read the platform and architecture off the handed runtime's
5
+ * `localEnvironment` host facts — never `process.platform`/`process.arch`,
6
+ * which describe this process instead of the selected host. A host that
7
+ * declares no fact refuses typed; there is no ambient fallback.
8
+ */
9
+ import { type RuntimeRef } from '@vibesdotdev/kernel';
10
+ /** The selected host's platform (`process.platform` spelling), or a typed refusal. */
11
+ export declare function requireHostPlatform(runtime: Pick<RuntimeRef, 'localEnvironment'>): string;
12
+ /** The selected host's architecture (`process.arch` spelling), or a typed refusal. */
13
+ export declare function requireHostArch(runtime: Pick<RuntimeRef, 'localEnvironment'>): string;
14
+ //# sourceMappingURL=host-platform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-platform.d.ts","sourceRoot":"","sources":["../../src/cli/host-platform.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvE,sFAAsF;AACtF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,GAAG,MAAM,CAQzF;AAED,sFAAsF;AACtF,wBAAgB,eAAe,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,GAAG,MAAM,CAQrF"}