@paradigma-inc/flywheel 0.1.60 → 0.1.73

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 (187) hide show
  1. package/README.md +35 -14
  2. package/package.json +4 -2
  3. package/skills/flywheel/SKILL.md +4 -3
  4. package/skills/flywheel/getting-started/flywheel-quickstart.md +4 -4
  5. package/skills/flywheel/references/flywheel-cli-tool-map.md +40 -36
  6. package/skills/flywheel/references/flywheel-mcp-tool-map.md +8 -5
  7. package/skills/flywheel/setting-up-flywheel/claude-code-cli-installation.md +3 -3
  8. package/skills/flywheel/setting-up-flywheel/codex-cli-installation.md +3 -3
  9. package/skills/flywheel/setting-up-flywheel/installation-overview.md +9 -8
  10. package/skills/flywheel/setting-up-flywheel/other-hosts-installation.md +1 -1
  11. package/skills/flywheel/setting-up-flywheel/updating-flywheel-mcp.md +4 -4
  12. package/skills/flywheel-auto/SKILL.md +4 -3
  13. package/skills/flywheel-auto/references/flywheel-cli-tool-map.md +37 -35
  14. package/skills/flywheel-auto/references/flywheel-mcp-tool-map.md +4 -4
  15. package/skills/flywheel-lookahead/SKILL.md +1 -1
  16. package/skills/flywheel-lookahead/references/flywheel-cli-tool-map.md +37 -35
  17. package/skills/flywheel-lookahead/references/flywheel-mcp-tool-map.md +4 -4
  18. package/skills/flywheel-prove/SKILL.md +1 -1
  19. package/skills/flywheel-reproduce/SKILL.md +4 -3
  20. package/skills/flywheel-reproduce/references/flywheel-cli-tool-map.md +37 -35
  21. package/skills/flywheel-reproduce/references/flywheel-mcp-tool-map.md +4 -4
  22. package/skills/flywheel-to-graph/SKILL.md +1 -1
  23. package/skills/flywheel-to-graph/references/flywheel-cli-tool-map.md +37 -35
  24. package/skills/flywheel-to-graph/references/flywheel-mcp-tool-map.md +4 -4
  25. package/skills/flywheel-tree/SKILL.md +1 -1
  26. package/src/cli.mjs +111 -26
  27. package/src/runtime/required-runtime-commands.json +2 -0
  28. package/src/runtime/vendor/flywheel-cli-dist/commands/_admin-auth.d.ts +3 -1
  29. package/src/runtime/vendor/flywheel-cli-dist/commands/_admin-auth.js +23 -4
  30. package/src/runtime/vendor/flywheel-cli-dist/commands/_admin-auth.js.map +1 -1
  31. package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.d.ts +1 -1
  32. package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js +6 -5
  33. package/src/runtime/vendor/flywheel-cli-dist/commands/_artifacts-upload-helpers.js.map +1 -1
  34. package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.d.ts +21 -0
  35. package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.js +51 -0
  36. package/src/runtime/vendor/flywheel-cli-dist/commands/_browser-handoff.js.map +1 -0
  37. package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.d.ts +1 -1
  38. package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js +6 -3
  39. package/src/runtime/vendor/flywheel-cli-dist/commands/_open-url.js.map +1 -1
  40. package/src/runtime/vendor/flywheel-cli-dist/commands/_secret-param.d.ts +7 -0
  41. package/src/runtime/vendor/flywheel-cli-dist/commands/_secret-param.js +18 -0
  42. package/src/runtime/vendor/flywheel-cli-dist/commands/_secret-param.js.map +1 -0
  43. package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.js +2 -0
  44. package/src/runtime/vendor/flywheel-cli-dist/commands/account-detach.js.map +1 -1
  45. package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.js +2 -0
  46. package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-add.js.map +1 -1
  47. package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.js +2 -0
  48. package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-remove.js.map +1 -1
  49. package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.js +2 -0
  50. package/src/runtime/vendor/flywheel-cli-dist/commands/account-emails-set-primary.js.map +1 -1
  51. package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.d.ts +2 -1
  52. package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.js +6 -1
  53. package/src/runtime/vendor/flywheel-cli-dist/commands/account-get.js.map +1 -1
  54. package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.js +2 -0
  55. package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-preview.js.map +1 -1
  56. package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.js +2 -0
  57. package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge-proof.js.map +1 -1
  58. package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.js +2 -0
  59. package/src/runtime/vendor/flywheel-cli-dist/commands/account-merge.js.map +1 -1
  60. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-get.js +2 -1
  61. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-get.js.map +1 -1
  62. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-set.js +49 -13
  63. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-compute-policy-set.js.map +1 -1
  64. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export-stream.js +2 -1
  65. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export-stream.js.map +1 -1
  66. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export.js +2 -1
  67. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-export.js.map +1 -1
  68. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-list.js +2 -1
  69. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-graphs-list.js.map +1 -1
  70. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-nodes-audit-list.js +2 -1
  71. package/src/runtime/vendor/flywheel-cli-dist/commands/admin-nodes-audit-list.js.map +1 -1
  72. package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.d.ts +18 -1
  73. package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.js +38 -5
  74. package/src/runtime/vendor/flywheel-cli-dist/commands/api-keys-list.js.map +1 -1
  75. package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js +1 -1
  76. package/src/runtime/vendor/flywheel-cli-dist/commands/artifacts-delete.js.map +1 -1
  77. package/src/runtime/vendor/flywheel-cli-dist/commands/auth-mode.d.ts +4 -0
  78. package/src/runtime/vendor/flywheel-cli-dist/commands/auth-mode.js +42 -0
  79. package/src/runtime/vendor/flywheel-cli-dist/commands/auth-mode.js.map +1 -0
  80. package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js +15 -1
  81. package/src/runtime/vendor/flywheel-cli-dist/commands/auth-status.js.map +1 -1
  82. package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.js +8 -2
  83. package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-list.js.map +1 -1
  84. package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.js +6 -1
  85. package/src/runtime/vendor/flywheel-cli-dist/commands/compute-grants-request-approval.js.map +1 -1
  86. package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.js +18 -7
  87. package/src/runtime/vendor/flywheel-cli-dist/commands/compute-release-all.js.map +1 -1
  88. package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.js +8 -4
  89. package/src/runtime/vendor/flywheel-cli-dist/commands/credits-billing-portal.js.map +1 -1
  90. package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.js +8 -4
  91. package/src/runtime/vendor/flywheel-cli-dist/commands/credits-purchase.js.map +1 -1
  92. package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.js +8 -4
  93. package/src/runtime/vendor/flywheel-cli-dist/commands/credits-subscribe.js.map +1 -1
  94. package/src/runtime/vendor/flywheel-cli-dist/commands/destructive-confirmation.d.ts +2 -0
  95. package/src/runtime/vendor/flywheel-cli-dist/commands/destructive-confirmation.js +7 -0
  96. package/src/runtime/vendor/flywheel-cli-dist/commands/destructive-confirmation.js.map +1 -0
  97. package/src/runtime/vendor/flywheel-cli-dist/commands/enums.d.ts +2 -0
  98. package/src/runtime/vendor/flywheel-cli-dist/commands/enums.js +1 -0
  99. package/src/runtime/vendor/flywheel-cli-dist/commands/enums.js.map +1 -1
  100. package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.js +2 -0
  101. package/src/runtime/vendor/flywheel-cli-dist/commands/export-history.js.map +1 -1
  102. package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.js +12 -4
  103. package/src/runtime/vendor/flywheel-cli-dist/commands/export-subgraph.js.map +1 -1
  104. package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.js +9 -14
  105. package/src/runtime/vendor/flywheel-cli-dist/commands/github-link.js.map +1 -1
  106. package/src/runtime/vendor/flywheel-cli-dist/commands/help-format.d.ts +31 -0
  107. package/src/runtime/vendor/flywheel-cli-dist/commands/help-format.js +69 -0
  108. package/src/runtime/vendor/flywheel-cli-dist/commands/help-format.js.map +1 -0
  109. package/src/runtime/vendor/flywheel-cli-dist/commands/help.d.ts +4 -1
  110. package/src/runtime/vendor/flywheel-cli-dist/commands/help.js +181 -129
  111. package/src/runtime/vendor/flywheel-cli-dist/commands/help.js.map +1 -1
  112. package/src/runtime/vendor/flywheel-cli-dist/commands/index.js +4 -0
  113. package/src/runtime/vendor/flywheel-cli-dist/commands/index.js.map +1 -1
  114. package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.js +7 -3
  115. package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-huggingface-set.js.map +1 -1
  116. package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.js +6 -2
  117. package/src/runtime/vendor/flywheel-cli-dist/commands/integrations-wandb-set.js.map +1 -1
  118. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js +6 -1
  119. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-add-parent.js.map +1 -1
  120. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js +2 -0
  121. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete-bulk.js.map +1 -1
  122. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js +2 -0
  123. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-delete.js.map +1 -1
  124. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js +8 -1
  125. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-remove-parent.js.map +1 -1
  126. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.js +55 -2
  127. package/src/runtime/vendor/flywheel-cli-dist/commands/nodes-resolve-slug.js.map +1 -1
  128. package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.js +13 -1
  129. package/src/runtime/vendor/flywheel-cli-dist/commands/profile-list.js.map +1 -1
  130. package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.js +16 -1
  131. package/src/runtime/vendor/flywheel-cli-dist/commands/profile-show.js.map +1 -1
  132. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.js +8 -7
  133. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/account.js.map +1 -1
  134. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.js +14 -1
  135. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/admin.js.map +1 -1
  136. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.js +8 -2
  137. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/api-keys.js.map +1 -1
  138. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.js +29 -1
  139. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/approval.js.map +1 -1
  140. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js +13 -1
  141. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/artifacts.js.map +1 -1
  142. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.js +11 -2
  143. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/budgets.js.map +1 -1
  144. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.js +2 -2
  145. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/compute.js.map +1 -1
  146. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.js +8 -6
  147. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/credits.js.map +1 -1
  148. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.js +6 -14
  149. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/github.js.map +1 -1
  150. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hooks.d.ts +1 -1
  151. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hooks.js +193 -125
  152. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/hooks.js.map +1 -1
  153. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.js +22 -8
  154. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/integrations.js.map +1 -1
  155. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.js +123 -11
  156. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/lifecycle.js.map +1 -1
  157. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.js +12 -4
  158. package/src/runtime/vendor/flywheel-cli-dist/commands/registry/sharing.js.map +1 -1
  159. package/src/runtime/vendor/flywheel-cli-dist/commands/registry.d.ts +1 -1
  160. package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js +42 -9
  161. package/src/runtime/vendor/flywheel-cli-dist/commands/registry.js.map +1 -1
  162. package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-refresh.d.ts +2 -0
  163. package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-refresh.js +20 -0
  164. package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-refresh.js.map +1 -0
  165. package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-resolve.d.ts +2 -0
  166. package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-resolve.js +23 -0
  167. package/src/runtime/vendor/flywheel-cli-dist/commands/remote-artifacts-resolve.js.map +1 -0
  168. package/src/runtime/vendor/flywheel-cli-dist/errors.d.ts +15 -0
  169. package/src/runtime/vendor/flywheel-cli-dist/errors.js +16 -1
  170. package/src/runtime/vendor/flywheel-cli-dist/errors.js.map +1 -1
  171. package/src/runtime/vendor/flywheel-cli-dist/http/client.d.ts +1 -0
  172. package/src/runtime/vendor/flywheel-cli-dist/http/client.js +75 -19
  173. package/src/runtime/vendor/flywheel-cli-dist/http/client.js.map +1 -1
  174. package/src/runtime/vendor/flywheel-cli-dist/http/debug.d.ts +3 -0
  175. package/src/runtime/vendor/flywheel-cli-dist/http/debug.js +21 -2
  176. package/src/runtime/vendor/flywheel-cli-dist/http/debug.js.map +1 -1
  177. package/src/runtime/vendor/flywheel-cli-dist/main.js +118 -9
  178. package/src/runtime/vendor/flywheel-cli-dist/main.js.map +1 -1
  179. package/src/runtime/vendor/flywheel-cli-dist/output/format.js +44 -6
  180. package/src/runtime/vendor/flywheel-cli-dist/output/format.js.map +1 -1
  181. package/src/runtime/vendor/manifest.json +22 -1
  182. package/src/setup/base-url.mjs +43 -0
  183. package/src/setup/command.mjs +2 -0
  184. package/src/setup/modes/cli.mjs +33 -10
  185. package/src/setup/modes/mcp-command.mjs +48 -19
  186. package/src/setup/resolved-selection-record.mjs +25 -0
  187. package/src/setup-auth.mjs +3 -2
@@ -1,3 +1,5 @@
1
+ const CREDITS_BROWSER_HANDOFF = 'return browser_flow_required JSON with url, opened, and next_action';
2
+ const CREDITS_POST_BROWSER_VERIFY = 'After completing the browser flow, verify with flywheel credits:balance, credits:transactions, or credits:subscription.';
1
3
  export const CREDITS_COMMANDS = [
2
4
  {
3
5
  name: 'credits:balance',
@@ -42,7 +44,7 @@ export const CREDITS_COMMANDS = [
42
44
  {
43
45
  name: 'credits:purchase',
44
46
  group: 'account-credits',
45
- summary: 'Create a Stripe checkout session for a one-time purchase.',
47
+ summary: `Create a Stripe checkout session for a one-time purchase and ${CREDITS_BROWSER_HANDOFF}.`,
46
48
  endpoints: ['POST /credits/purchase'],
47
49
  required: [
48
50
  { name: 'amount_cents', type: 'integer', description: 'Purchase amount in cents.' },
@@ -50,7 +52,7 @@ export const CREDITS_COMMANDS = [
50
52
  optional: [],
51
53
  examples: [
52
54
  {
53
- description: 'Buy 25.00 of credit.',
55
+ description: `Buy 25.00 of credit. ${CREDITS_POST_BROWSER_VERIFY}`,
54
56
  invocation: 'flywheel credits:purchase --amount_cents 2500',
55
57
  },
56
58
  ],
@@ -59,7 +61,7 @@ export const CREDITS_COMMANDS = [
59
61
  {
60
62
  name: 'credits:subscribe',
61
63
  group: 'account-credits',
62
- summary: 'Create a Stripe checkout session for a subscription.',
64
+ summary: `Create a Stripe checkout session for a subscription and ${CREDITS_BROWSER_HANDOFF}.`,
63
65
  endpoints: ['POST /credits/subscribe'],
64
66
  required: [],
65
67
  optional: [
@@ -67,7 +69,7 @@ export const CREDITS_COMMANDS = [
67
69
  ],
68
70
  examples: [
69
71
  {
70
- description: 'Subscribe.',
72
+ description: `Subscribe. ${CREDITS_POST_BROWSER_VERIFY}`,
71
73
  invocation: 'flywheel credits:subscribe --billing_interval monthly',
72
74
  },
73
75
  ],
@@ -76,13 +78,13 @@ export const CREDITS_COMMANDS = [
76
78
  {
77
79
  name: 'credits:billing-portal',
78
80
  group: 'account-credits',
79
- summary: 'Open the Stripe billing portal for the current user.',
81
+ summary: `Open the Stripe billing portal for the current user and ${CREDITS_BROWSER_HANDOFF}.`,
80
82
  endpoints: ['POST /credits/billing-portal'],
81
83
  required: [],
82
84
  optional: [],
83
85
  examples: [
84
86
  {
85
- description: 'Billing portal URL.',
87
+ description: `Open billing settings in the browser. ${CREDITS_POST_BROWSER_VERIFY}`,
86
88
  invocation: 'flywheel credits:billing-portal',
87
89
  },
88
90
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"credits.js","sourceRoot":"","sources":["../../../src/commands/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C;SACF;QACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;KAC/B;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,qCAAqC;QAC9C,SAAS,EAAE,CAAC,uBAAuB,CAAC;QACpC,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,2BAA2B,EAAE;SACtE;QACD,OAAO,EAAE,CAAC,wBAAwB,CAAC;KACpC;IACD;QACE,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,sCAAsC;QAC/C,SAAS,EAAE,CAAC,8BAA8B,CAAC;QAC3C,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;QAC3E,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,QAAQ;gBACrB,UAAU,EAAE,+CAA+C;aAC5D;SACF;QACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAC9B;CACF,CAAC"}
@@ -12,22 +12,14 @@ export const GITHUB_COMMANDS = [
12
12
  {
13
13
  name: 'github:link',
14
14
  group: 'integrations',
15
- summary: 'Link a GitHub installation ID to your account.',
16
- endpoints: ['POST /auth/github/link-installation'],
17
- required: [
18
- {
19
- name: 'installation_id',
20
- type: 'string',
21
- description: 'GitHub App installation ID (from the install redirect).',
22
- },
23
- ],
24
- optional: [
25
- { name: 'state', type: 'string', description: 'Signed state token from bootstrap flow.' },
26
- ],
15
+ summary: 'Start the GitHub App install/link browser flow.',
16
+ endpoints: ['GET /auth/github/install-url'],
17
+ required: [],
18
+ optional: [],
27
19
  examples: [
28
20
  {
29
- description: 'Link installation.',
30
- invocation: 'flywheel github:link --installation_id 12345 --state s_abc',
21
+ description: 'Open the GitHub App install flow.',
22
+ invocation: 'flywheel github:link --open',
31
23
  },
32
24
  ],
33
25
  related: ['github:disconnect'],
@@ -1 +1 @@
1
- {"version":3,"file":"github.js","sourceRoot":"","sources":["../../../src/commands/registry/github.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAqC;IAC/D;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,cAAc;QACrB,OAAO,EAAE,iCAAiC;QAC1C,SAAS,EAAE,CAAC,yBAAyB,CAAC;QACtC,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,wBAAwB,EAAE,CAAC;QAC5E,OAAO,EAAE,CAAC,aAAa,CAAC;KACzB;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,cAAc;QACrB,OAAO,EAAE,gDAAgD;QACzD,SAAS,EAAE,CAAC,qCAAqC,CAAC;QAClD,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yDAAyD;aACvE;SACF;QACD,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yCAAyC,EAAE;SAC1F;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,oBAAoB;gBACjC,UAAU,EACR,4DAA4D;aAC/D;SACF;QACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;KAC/B;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,KAAK,EAAE,cAAc;QACrB,OAAO,EAAE,8CAA8C;QACvD,SAAS,EAAE,CAAC,iCAAiC,CAAC;QAC9C,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,+BAA+B,EAAE;SAC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,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,+BAA+B,EAAE;SACzE;QACD,OAAO,EAAE,CAAC,eAAe,CAAC;KAC3B;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,cAAc;QACrB,OAAO,EAAE,sCAAsC;QAC/C,SAAS,EAAE,CAAC,gCAAgC,CAAC;QAC7C,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,4BAA4B,EAAE;SACzE;QACD,OAAO,EAAE,CAAC,aAAa,CAAC;KACzB;CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import type { CommandDefinition } from '../registry.js';
1
+ import type { CommandDefinition } from "../registry.js";
2
2
  export declare const HOOKS_COMMANDS: ReadonlyArray<CommandDefinition>;
@@ -1,244 +1,312 @@
1
1
  export const HOOKS_COMMANDS = [
2
2
  {
3
- name: 'hooks:list',
4
- group: 'artifacts-files',
5
- summary: 'List hooks configured for an owner node.',
6
- endpoints: ['GET /nodes/{owner_node_id}/hooks'],
3
+ name: "hooks:list",
4
+ group: "hooks",
5
+ summary: "List hooks configured for an owner node.",
6
+ endpoints: ["GET /nodes/{owner_node_id}/hooks"],
7
7
  required: [
8
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
8
+ {
9
+ name: "owner_node_id",
10
+ type: "string",
11
+ description: "Owner node identifier.",
12
+ },
9
13
  ],
10
14
  optional: [
11
15
  {
12
- name: 'include_disabled',
13
- type: 'boolean',
14
- description: 'Include disabled hooks in the response.',
16
+ name: "include_disabled",
17
+ type: "boolean",
18
+ description: "Include disabled hooks in the response.",
15
19
  },
16
20
  ],
17
21
  examples: [
18
22
  {
19
- description: 'List all hooks including disabled entries.',
20
- invocation: 'flywheel hooks:list --owner_node_id n_owner --include_disabled',
23
+ description: "List all hooks including disabled entries.",
24
+ invocation: "flywheel hooks:list --owner_node_id n_owner --include_disabled",
21
25
  },
22
26
  ],
23
- related: ['hooks:create', 'hooks:update', 'hooks:runs:list'],
27
+ related: ["hooks:create", "hooks:update", "hooks:runs:list"],
24
28
  },
25
29
  {
26
- name: 'hooks:create',
27
- group: 'artifacts-files',
28
- summary: 'Create a new hook on an owner node.',
29
- endpoints: ['POST /nodes/{owner_node_id}/hooks'],
30
+ name: "hooks:create",
31
+ group: "hooks",
32
+ summary: "Create a new hook on an owner node.",
33
+ endpoints: ["POST /nodes/{owner_node_id}/hooks"],
30
34
  required: [
31
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
32
- { name: 'name', type: 'string', description: 'Human-readable hook name.' },
33
35
  {
34
- name: 'workflow_yaml',
35
- type: 'string',
36
- description: 'Workflow YAML payload for hook execution.',
36
+ name: "owner_node_id",
37
+ type: "string",
38
+ description: "Owner node identifier.",
39
+ },
40
+ {
41
+ name: "name",
42
+ type: "string",
43
+ description: "Human-readable hook name.",
44
+ },
45
+ {
46
+ name: "workflow_yaml",
47
+ type: "string",
48
+ description: "Workflow YAML payload for hook execution.",
37
49
  },
38
50
  ],
39
51
  optional: [
40
52
  {
41
- name: 'trigger_event',
42
- type: 'string',
43
- description: 'Trigger event (currently only artifact.finalized).',
53
+ name: "trigger_event",
54
+ type: "string",
55
+ description: "Trigger event (currently only artifact.finalized).",
44
56
  },
45
57
  {
46
- name: 'scope',
47
- type: 'string',
48
- description: 'Hook scope: self|subtree|graph.',
58
+ name: "scope",
59
+ type: "string",
60
+ description: "Hook scope: self|subtree|graph.",
49
61
  },
50
62
  {
51
- name: 'rerun_policy',
52
- type: 'string',
53
- description: 'Rerun policy (currently only if_inputs_changed).',
63
+ name: "rerun_policy",
64
+ type: "string",
65
+ description: "Rerun policy (currently only if_inputs_changed).",
54
66
  },
55
67
  {
56
- name: 'enabled',
57
- type: 'boolean',
58
- description: 'Set initial enabled state.',
68
+ name: "enabled",
69
+ type: "boolean",
70
+ description: "Set initial enabled state.",
59
71
  },
60
72
  ],
61
73
  examples: [
62
74
  {
63
- description: 'Create an enabled subtree hook.',
64
- invocation: 'flywheel hooks:create --owner_node_id n_owner --name build --workflow_yaml "on:\\n artifact.finalized: {}\\njobs:\\n main:\\n steps: []" --scope subtree --trigger_event artifact.finalized --enabled',
75
+ description: "Create an enabled subtree hook.",
76
+ invocation: 'flywheel hooks:create --owner_node_id n_owner --name build --workflow_yaml "on:\\n artifact.finalized: {}\\njobs:\\n main:\\n steps:\\n - id: call_eval\\n uses: flywheel/http_request@v1\\n with:\\n url: https://example.invalid/eval\\n method: POST" --scope subtree --trigger_event artifact.finalized --enabled',
77
+ },
78
+ {
79
+ description: "Create an enabled subtree hook that tags finalized submissions.",
80
+ invocation: "flywheel hooks:create --owner_node_id n_owner --name tag-red-submissions --workflow_yaml 'on:\\n artifact.finalized: {}\\nif:\\n any_artifact:\\n field: metadata.submission_kind\\n eq: red\\njobs:\\n main:\\n steps:\\n - id: tag_red_submission\\n uses: flywheel/add_node_tags@v1\\n with:\\n node_id: ${{ event.source_node_id }}\\n tag_ids:\\n - tag-red-submission' --scope subtree --trigger_event artifact.finalized --enabled",
65
81
  },
66
82
  ],
67
- related: ['hooks:list', 'hooks:update', 'hooks:set-enabled'],
83
+ related: ["hooks:list", "hooks:update", "hooks:set-enabled"],
68
84
  },
69
85
  {
70
- name: 'hooks:update',
71
- group: 'artifacts-files',
72
- summary: 'Update mutable hook fields for an existing hook.',
73
- endpoints: ['PATCH /nodes/{owner_node_id}/hooks/{hook_id}'],
86
+ name: "hooks:update",
87
+ group: "hooks",
88
+ summary: "Update mutable hook fields for an existing hook.",
89
+ endpoints: ["PATCH /nodes/{owner_node_id}/hooks/{hook_id}"],
74
90
  required: [
75
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
76
- { name: 'hook_id', type: 'string', description: 'Hook identifier.' },
91
+ {
92
+ name: "owner_node_id",
93
+ type: "string",
94
+ description: "Owner node identifier.",
95
+ },
96
+ { name: "hook_id", type: "string", description: "Hook identifier." },
77
97
  ],
78
98
  optional: [
79
- { name: 'name', type: 'string', description: 'Updated hook name.' },
99
+ { name: "name", type: "string", description: "Updated hook name." },
80
100
  {
81
- name: 'trigger_event',
82
- type: 'string',
83
- description: 'Updated trigger event (artifact.finalized).',
101
+ name: "trigger_event",
102
+ type: "string",
103
+ description: "Updated trigger event (artifact.finalized).",
84
104
  },
85
105
  {
86
- name: 'scope',
87
- type: 'string',
88
- description: 'Updated scope: self|subtree|graph.',
106
+ name: "scope",
107
+ type: "string",
108
+ description: "Updated scope: self|subtree|graph.",
89
109
  },
90
110
  {
91
- name: 'workflow_yaml',
92
- type: 'string',
93
- description: 'Updated workflow YAML payload.',
111
+ name: "workflow_yaml",
112
+ type: "string",
113
+ description: "Updated workflow YAML payload.",
94
114
  },
95
115
  {
96
- name: 'rerun_policy',
97
- type: 'string',
98
- description: 'Updated rerun policy (if_inputs_changed).',
116
+ name: "rerun_policy",
117
+ type: "string",
118
+ description: "Updated rerun policy (if_inputs_changed).",
99
119
  },
100
120
  ],
101
121
  examples: [
102
122
  {
103
- description: 'Move a hook to graph scope.',
104
- invocation: 'flywheel hooks:update --owner_node_id n_owner --hook_id hk_1 --scope graph',
123
+ description: "Move a hook to graph scope.",
124
+ invocation: "flywheel hooks:update --owner_node_id n_owner --hook_id hk_1 --scope graph",
105
125
  },
106
126
  ],
107
- related: ['hooks:list', 'hooks:create', 'hooks:delete'],
127
+ related: ["hooks:list", "hooks:create", "hooks:delete"],
108
128
  },
109
129
  {
110
- name: 'hooks:delete',
111
- group: 'artifacts-files',
112
- summary: 'Delete a hook from an owner node.',
113
- endpoints: ['DELETE /nodes/{owner_node_id}/hooks/{hook_id}'],
130
+ name: "hooks:delete",
131
+ group: "hooks",
132
+ summary: "Delete a hook from an owner node.",
133
+ endpoints: ["DELETE /nodes/{owner_node_id}/hooks/{hook_id}"],
114
134
  required: [
115
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
116
- { name: 'hook_id', type: 'string', description: 'Hook identifier.' },
135
+ {
136
+ name: "owner_node_id",
137
+ type: "string",
138
+ description: "Owner node identifier.",
139
+ },
140
+ { name: "hook_id", type: "string", description: "Hook identifier." },
117
141
  ],
118
142
  optional: [],
119
143
  examples: [
120
144
  {
121
- description: 'Delete one hook.',
122
- invocation: 'flywheel hooks:delete --owner_node_id n_owner --hook_id hk_1',
145
+ description: "Delete one hook.",
146
+ invocation: "flywheel hooks:delete --owner_node_id n_owner --hook_id hk_1",
123
147
  },
124
148
  ],
125
- related: ['hooks:list'],
149
+ related: ["hooks:list"],
126
150
  },
127
151
  {
128
- name: 'hooks:set-enabled',
129
- group: 'artifacts-files',
130
- summary: 'Enable or disable an existing hook.',
131
- endpoints: ['PATCH /nodes/{owner_node_id}/hooks/{hook_id}/enabled'],
152
+ name: "hooks:set-enabled",
153
+ group: "hooks",
154
+ summary: "Enable or disable an existing hook.",
155
+ endpoints: ["PATCH /nodes/{owner_node_id}/hooks/{hook_id}/enabled"],
132
156
  required: [
133
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
134
- { name: 'hook_id', type: 'string', description: 'Hook identifier.' },
135
- { name: 'enabled', type: 'boolean', description: 'Desired enabled state.' },
157
+ {
158
+ name: "owner_node_id",
159
+ type: "string",
160
+ description: "Owner node identifier.",
161
+ },
162
+ { name: "hook_id", type: "string", description: "Hook identifier." },
163
+ {
164
+ name: "enabled",
165
+ type: "boolean",
166
+ description: "Desired enabled state.",
167
+ },
136
168
  ],
137
169
  optional: [],
138
170
  examples: [
139
171
  {
140
- description: 'Disable one hook.',
141
- invocation: 'flywheel hooks:set-enabled --owner_node_id n_owner --hook_id hk_1 --enabled=false',
172
+ description: "Disable one hook.",
173
+ invocation: "flywheel hooks:set-enabled --owner_node_id n_owner --hook_id hk_1 --enabled=false",
142
174
  },
143
175
  ],
144
- related: ['hooks:list', 'hooks:update'],
176
+ related: ["hooks:list", "hooks:update"],
145
177
  },
146
178
  {
147
- name: 'hooks:runs:list',
148
- group: 'artifacts-files',
149
- summary: 'List hook runs for an owner node.',
150
- endpoints: ['GET /nodes/{owner_node_id}/hook-runs'],
179
+ name: "hooks:runs:list",
180
+ group: "hooks",
181
+ summary: "List hook runs for an owner node.",
182
+ endpoints: ["GET /nodes/{owner_node_id}/hook-runs"],
151
183
  required: [
152
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
184
+ {
185
+ name: "owner_node_id",
186
+ type: "string",
187
+ description: "Owner node identifier.",
188
+ },
153
189
  ],
154
190
  optional: [
155
- { name: 'hook_id', type: 'string', description: 'Filter runs to one hook ID.' },
156
191
  {
157
- name: 'limit',
158
- type: 'integer',
159
- description: 'Maximum number of runs to return.',
192
+ name: "hook_id",
193
+ type: "string",
194
+ description: "Filter runs to one hook ID.",
195
+ },
196
+ {
197
+ name: "limit",
198
+ type: "integer",
199
+ description: "Maximum number of runs to return.",
160
200
  },
161
201
  ],
162
202
  examples: [
163
203
  {
164
- description: 'List the last 25 runs for one hook.',
165
- invocation: 'flywheel hooks:runs:list --owner_node_id n_owner --hook_id hk_1 --limit 25',
204
+ description: "List the last 25 runs for one hook.",
205
+ invocation: "flywheel hooks:runs:list --owner_node_id n_owner --hook_id hk_1 --limit 25",
166
206
  },
167
207
  ],
168
- related: ['hooks:list'],
208
+ related: ["hooks:list"],
169
209
  },
170
210
  {
171
- name: 'hooks:secrets:list',
172
- group: 'artifacts-files',
173
- summary: 'List hook secret metadata for an owner node.',
174
- endpoints: ['GET /nodes/{owner_node_id}/hook-secrets'],
211
+ name: "hooks:secrets:list",
212
+ group: "hooks",
213
+ summary: "List hook secret metadata for an owner node.",
214
+ endpoints: ["GET /nodes/{owner_node_id}/hook-secrets"],
175
215
  required: [
176
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
216
+ {
217
+ name: "owner_node_id",
218
+ type: "string",
219
+ description: "Owner node identifier.",
220
+ },
177
221
  ],
178
222
  optional: [],
179
223
  examples: [
180
224
  {
181
- description: 'List secrets configured for hooks on an owner node.',
182
- invocation: 'flywheel hooks:secrets:list --owner_node_id n_owner',
225
+ description: "List secrets configured for hooks on an owner node.",
226
+ invocation: "flywheel hooks:secrets:list --owner_node_id n_owner",
183
227
  },
184
228
  ],
185
- related: ['hooks:secrets:create', 'hooks:secrets:update', 'hooks:secrets:delete'],
229
+ related: [
230
+ "hooks:secrets:create",
231
+ "hooks:secrets:update",
232
+ "hooks:secrets:delete",
233
+ ],
186
234
  },
187
235
  {
188
- name: 'hooks:secrets:create',
189
- group: 'artifacts-files',
190
- summary: 'Create a hook secret.',
191
- endpoints: ['POST /nodes/{owner_node_id}/hook-secrets'],
236
+ name: "hooks:secrets:create",
237
+ group: "hooks",
238
+ summary: "Create a hook secret.",
239
+ endpoints: ["POST /nodes/{owner_node_id}/hook-secrets"],
192
240
  required: [
193
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
194
- { name: 'name', type: 'string', description: 'Secret name.' },
195
- { name: 'value', type: 'string', description: 'Secret plaintext value.' },
241
+ {
242
+ name: "owner_node_id",
243
+ type: "string",
244
+ description: "Owner node identifier.",
245
+ },
246
+ { name: "name", type: "string", description: "Secret name." },
247
+ { name: "value", type: "string", description: "Secret plaintext value." },
196
248
  ],
197
249
  optional: [],
198
250
  examples: [
199
251
  {
200
- description: 'Create one hook secret.',
201
- invocation: 'flywheel hooks:secrets:create --owner_node_id n_owner --name API_TOKEN --value token',
252
+ description: "Create one hook secret.",
253
+ invocation: "flywheel hooks:secrets:create --owner_node_id n_owner --name API_TOKEN --value token",
202
254
  },
203
255
  ],
204
- related: ['hooks:secrets:list', 'hooks:secrets:update'],
256
+ related: ["hooks:secrets:list", "hooks:secrets:update"],
205
257
  },
206
258
  {
207
- name: 'hooks:secrets:update',
208
- group: 'artifacts-files',
209
- summary: 'Rotate one hook secret value.',
210
- endpoints: ['PATCH /nodes/{owner_node_id}/hook-secrets/{secret_id}'],
259
+ name: "hooks:secrets:update",
260
+ group: "hooks",
261
+ summary: "Rotate one hook secret value.",
262
+ endpoints: ["PATCH /nodes/{owner_node_id}/hook-secrets/{secret_id}"],
211
263
  required: [
212
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
213
- { name: 'secret_id', type: 'string', description: 'Secret identifier.' },
214
- { name: 'value', type: 'string', description: 'New secret plaintext value.' },
264
+ {
265
+ name: "owner_node_id",
266
+ type: "string",
267
+ description: "Owner node identifier.",
268
+ },
269
+ { name: "secret_id", type: "string", description: "Secret identifier." },
270
+ {
271
+ name: "value",
272
+ type: "string",
273
+ description: "New secret plaintext value.",
274
+ },
215
275
  ],
216
276
  optional: [],
217
277
  examples: [
218
278
  {
219
- description: 'Rotate one hook secret.',
220
- invocation: 'flywheel hooks:secrets:update --owner_node_id n_owner --secret_id hs_1 --value rotated',
279
+ description: "Rotate one hook secret.",
280
+ invocation: "flywheel hooks:secrets:update --owner_node_id n_owner --secret_id hs_1 --value rotated",
221
281
  },
222
282
  ],
223
- related: ['hooks:secrets:list', 'hooks:secrets:create', 'hooks:secrets:delete'],
283
+ related: [
284
+ "hooks:secrets:list",
285
+ "hooks:secrets:create",
286
+ "hooks:secrets:delete",
287
+ ],
224
288
  },
225
289
  {
226
- name: 'hooks:secrets:delete',
227
- group: 'artifacts-files',
228
- summary: 'Delete one hook secret.',
229
- endpoints: ['DELETE /nodes/{owner_node_id}/hook-secrets/{secret_id}'],
290
+ name: "hooks:secrets:delete",
291
+ group: "hooks",
292
+ summary: "Delete one hook secret.",
293
+ endpoints: ["DELETE /nodes/{owner_node_id}/hook-secrets/{secret_id}"],
230
294
  required: [
231
- { name: 'owner_node_id', type: 'string', description: 'Owner node identifier.' },
232
- { name: 'secret_id', type: 'string', description: 'Secret identifier.' },
295
+ {
296
+ name: "owner_node_id",
297
+ type: "string",
298
+ description: "Owner node identifier.",
299
+ },
300
+ { name: "secret_id", type: "string", description: "Secret identifier." },
233
301
  ],
234
302
  optional: [],
235
303
  examples: [
236
304
  {
237
- description: 'Delete one hook secret.',
238
- invocation: 'flywheel hooks:secrets:delete --owner_node_id n_owner --secret_id hs_1',
305
+ description: "Delete one hook secret.",
306
+ invocation: "flywheel hooks:secrets:delete --owner_node_id n_owner --secret_id hs_1",
239
307
  },
240
308
  ],
241
- related: ['hooks:secrets:list'],
309
+ related: ["hooks:secrets:list"],
242
310
  },
243
311
  ];
244
312
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/commands/registry/hooks.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAqC;IAC9D;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,0CAA0C;QACnD,SAAS,EAAE,CAAC,kCAAkC,CAAC;QAC/C,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,wBAAwB,EAAE;SACjF;QACD,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,yCAAyC;aACvD;SACF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,4CAA4C;gBACzD,UAAU,EAAE,gEAAgE;aAC7E;SACF;QACD,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,iBAAiB,CAAC;KAC7D;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,qCAAqC;QAC9C,SAAS,EAAE,CAAC,mCAAmC,CAAC;QAChD,QAAQ,EAAE;YACR,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,wBAAwB,EAAE;YAChF,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,2BAA2B,EAAE;YAC1E;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EA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,WAAW,EAAE,wBAAwB,EAAE;YAChF,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE;SACzE;QACD,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,yBAAyB;gBACtC,UAAU,EACR,wEAAwE;aAC3E;SACF;QACD,OAAO,EAAE,CAAC,oBAAoB,CAAC;KAChC;CACF,CAAC"}
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/commands/registry/hooks.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAqC;IAC9D;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,0CAA0C;QACnD,SAAS,EAAE,CAAC,kCAAkC,CAAC;QAC/C,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wBAAwB;aACtC;SACF;QACD,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,yCAAyC;aACvD;SACF;QACD,QAAQ,EAAE;YACR;gBACE,WAAW,EAAE,4CAA4C;gBACzD,UAAU,EACR,gEAAgE;aACnE;SACF;QACD,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,iBAAiB,CAAC;KAC7D;IACD;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,qCAAqC;QAC9C,SAAS,EAAE,CAAC,mCAAmC,CAAC;QAChD,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wBAAwB;aACtC;YACD;gBACE,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2BAA2B;aACzC;YACD;gBACE,IAAI,E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