@productbrain/cli 0.1.0-beta.1428 → 0.1.0-beta.14295

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 (1756) hide show
  1. package/README.md +18 -6
  2. package/dist/__tests__/adminConfig.test.d.ts +18 -0
  3. package/dist/__tests__/adminConfig.test.d.ts.map +1 -0
  4. package/dist/__tests__/adminConfig.test.js +221 -0
  5. package/dist/__tests__/adminConfig.test.js.map +1 -0
  6. package/dist/__tests__/canonicalRefs.vocab.test.js +2 -2
  7. package/dist/__tests__/canonicalRefs.vocab.test.js.map +1 -1
  8. package/dist/__tests__/capture-receipt-coaching.test.d.ts +2 -0
  9. package/dist/__tests__/capture-receipt-coaching.test.d.ts.map +1 -0
  10. package/dist/__tests__/capture-receipt-coaching.test.js +119 -0
  11. package/dist/__tests__/capture-receipt-coaching.test.js.map +1 -0
  12. package/dist/__tests__/capture-receipt-role-hint.test.d.ts +2 -0
  13. package/dist/__tests__/capture-receipt-role-hint.test.d.ts.map +1 -0
  14. package/dist/__tests__/capture-receipt-role-hint.test.js +64 -0
  15. package/dist/__tests__/capture-receipt-role-hint.test.js.map +1 -0
  16. package/dist/__tests__/capture-receipt-spine-floor.test.d.ts +2 -0
  17. package/dist/__tests__/capture-receipt-spine-floor.test.d.ts.map +1 -0
  18. package/dist/__tests__/capture-receipt-spine-floor.test.js +95 -0
  19. package/dist/__tests__/capture-receipt-spine-floor.test.js.map +1 -0
  20. package/dist/__tests__/capture.test.js +552 -231
  21. package/dist/__tests__/capture.test.js.map +1 -1
  22. package/dist/__tests__/cli-error-once.test.d.ts +2 -0
  23. package/dist/__tests__/cli-error-once.test.d.ts.map +1 -0
  24. package/dist/__tests__/cli-error-once.test.js +53 -0
  25. package/dist/__tests__/cli-error-once.test.js.map +1 -0
  26. package/dist/__tests__/client-binding-guard.test.d.ts +2 -0
  27. package/dist/__tests__/client-binding-guard.test.d.ts.map +1 -0
  28. package/dist/__tests__/client-binding-guard.test.js +84 -0
  29. package/dist/__tests__/client-binding-guard.test.js.map +1 -0
  30. package/dist/__tests__/coaching-mirror-drift.test.d.ts +2 -0
  31. package/dist/__tests__/coaching-mirror-drift.test.d.ts.map +1 -0
  32. package/dist/__tests__/coaching-mirror-drift.test.js +49 -0
  33. package/dist/__tests__/coaching-mirror-drift.test.js.map +1 -0
  34. package/dist/__tests__/codex-prep-parity.test.js +21 -46
  35. package/dist/__tests__/codex-prep-parity.test.js.map +1 -1
  36. package/dist/__tests__/config-conversation-profile.test.d.ts +2 -0
  37. package/dist/__tests__/config-conversation-profile.test.d.ts.map +1 -0
  38. package/dist/__tests__/config-conversation-profile.test.js +91 -0
  39. package/dist/__tests__/config-conversation-profile.test.js.map +1 -0
  40. package/dist/__tests__/config-prod-fallthrough.test.js +23 -12
  41. package/dist/__tests__/config-prod-fallthrough.test.js.map +1 -1
  42. package/dist/__tests__/config.test.js +583 -40
  43. package/dist/__tests__/config.test.js.map +1 -1
  44. package/dist/__tests__/constants.test.js +13 -4
  45. package/dist/__tests__/constants.test.js.map +1 -1
  46. package/dist/__tests__/constellation.test.js +41 -15
  47. package/dist/__tests__/constellation.test.js.map +1 -1
  48. package/dist/__tests__/conversation.test.d.ts +2 -0
  49. package/dist/__tests__/conversation.test.d.ts.map +1 -0
  50. package/dist/__tests__/conversation.test.js +113 -0
  51. package/dist/__tests__/conversation.test.js.map +1 -0
  52. package/dist/__tests__/entry-formatter.test.d.ts +2 -0
  53. package/dist/__tests__/entry-formatter.test.d.ts.map +1 -0
  54. package/dist/__tests__/entry-formatter.test.js +272 -0
  55. package/dist/__tests__/entry-formatter.test.js.map +1 -0
  56. package/dist/__tests__/entry-preflight.test.d.ts +2 -0
  57. package/dist/__tests__/entry-preflight.test.d.ts.map +1 -0
  58. package/dist/__tests__/entry-preflight.test.js +58 -0
  59. package/dist/__tests__/entry-preflight.test.js.map +1 -0
  60. package/dist/__tests__/entryAccept-batch.test.d.ts +2 -0
  61. package/dist/__tests__/entryAccept-batch.test.d.ts.map +1 -0
  62. package/dist/__tests__/entryAccept-batch.test.js +275 -0
  63. package/dist/__tests__/entryAccept-batch.test.js.map +1 -0
  64. package/dist/__tests__/entryAccept.test.d.ts +2 -0
  65. package/dist/__tests__/entryAccept.test.d.ts.map +1 -0
  66. package/dist/__tests__/entryAccept.test.js +549 -0
  67. package/dist/__tests__/entryAccept.test.js.map +1 -0
  68. package/dist/__tests__/entryDiscardResolve.test.d.ts +2 -0
  69. package/dist/__tests__/entryDiscardResolve.test.d.ts.map +1 -0
  70. package/dist/__tests__/entryDiscardResolve.test.js +36 -0
  71. package/dist/__tests__/entryDiscardResolve.test.js.map +1 -0
  72. package/dist/__tests__/entryOwn.test.d.ts +2 -0
  73. package/dist/__tests__/entryOwn.test.d.ts.map +1 -0
  74. package/dist/__tests__/entryOwn.test.js +95 -0
  75. package/dist/__tests__/entryOwn.test.js.map +1 -0
  76. package/dist/__tests__/entryReplace.test.d.ts +2 -0
  77. package/dist/__tests__/entryReplace.test.d.ts.map +1 -0
  78. package/dist/__tests__/entryReplace.test.js +60 -0
  79. package/dist/__tests__/entryReplace.test.js.map +1 -0
  80. package/dist/__tests__/entryTick.test.d.ts +2 -0
  81. package/dist/__tests__/entryTick.test.d.ts.map +1 -0
  82. package/dist/__tests__/entryTick.test.js +40 -0
  83. package/dist/__tests__/entryTick.test.js.map +1 -0
  84. package/dist/__tests__/envelope-contract.test.js +7 -5
  85. package/dist/__tests__/envelope-contract.test.js.map +1 -1
  86. package/dist/__tests__/errors.test.js +70 -0
  87. package/dist/__tests__/errors.test.js.map +1 -1
  88. package/dist/__tests__/fields.test.js +14 -3
  89. package/dist/__tests__/fields.test.js.map +1 -1
  90. package/dist/__tests__/gateway-dry-run-timeout.test.d.ts +2 -0
  91. package/dist/__tests__/gateway-dry-run-timeout.test.d.ts.map +1 -0
  92. package/dist/__tests__/gateway-dry-run-timeout.test.js +70 -0
  93. package/dist/__tests__/gateway-dry-run-timeout.test.js.map +1 -0
  94. package/dist/__tests__/gateway-timeout-body-phase.test.d.ts +2 -0
  95. package/dist/__tests__/gateway-timeout-body-phase.test.d.ts.map +1 -0
  96. package/dist/__tests__/gateway-timeout-body-phase.test.js +116 -0
  97. package/dist/__tests__/gateway-timeout-body-phase.test.js.map +1 -0
  98. package/dist/__tests__/get-batch-spinner.test.d.ts +2 -0
  99. package/dist/__tests__/get-batch-spinner.test.d.ts.map +1 -0
  100. package/dist/__tests__/get-batch-spinner.test.js +47 -0
  101. package/dist/__tests__/get-batch-spinner.test.js.map +1 -0
  102. package/dist/__tests__/get-batch.test.d.ts +2 -0
  103. package/dist/__tests__/get-batch.test.d.ts.map +1 -0
  104. package/dist/__tests__/get-batch.test.js +130 -0
  105. package/dist/__tests__/get-batch.test.js.map +1 -0
  106. package/dist/__tests__/glossary.test.js +10 -27
  107. package/dist/__tests__/glossary.test.js.map +1 -1
  108. package/dist/__tests__/health-gap-kinds-drift.test.d.ts +2 -0
  109. package/dist/__tests__/health-gap-kinds-drift.test.d.ts.map +1 -0
  110. package/dist/__tests__/health-gap-kinds-drift.test.js +43 -0
  111. package/dist/__tests__/health-gap-kinds-drift.test.js.map +1 -0
  112. package/dist/__tests__/help-no-ids.test.d.ts +2 -0
  113. package/dist/__tests__/help-no-ids.test.d.ts.map +1 -0
  114. package/dist/__tests__/help-no-ids.test.js +81 -0
  115. package/dist/__tests__/help-no-ids.test.js.map +1 -0
  116. package/dist/__tests__/init.test.d.ts +2 -1
  117. package/dist/__tests__/init.test.d.ts.map +1 -1
  118. package/dist/__tests__/init.test.js +283 -23
  119. package/dist/__tests__/init.test.js.map +1 -1
  120. package/dist/__tests__/kernel-value-sets-drift.test.d.ts +2 -0
  121. package/dist/__tests__/kernel-value-sets-drift.test.d.ts.map +1 -0
  122. package/dist/__tests__/kernel-value-sets-drift.test.js +46 -0
  123. package/dist/__tests__/kernel-value-sets-drift.test.js.map +1 -0
  124. package/dist/__tests__/kernel-value-sets-generator.test.d.ts +2 -0
  125. package/dist/__tests__/kernel-value-sets-generator.test.d.ts.map +1 -0
  126. package/dist/__tests__/kernel-value-sets-generator.test.js +108 -0
  127. package/dist/__tests__/kernel-value-sets-generator.test.js.map +1 -0
  128. package/dist/__tests__/login.test.js +35 -4
  129. package/dist/__tests__/login.test.js.map +1 -1
  130. package/dist/__tests__/missingPin.test.d.ts +11 -0
  131. package/dist/__tests__/missingPin.test.d.ts.map +1 -0
  132. package/dist/__tests__/missingPin.test.js +232 -0
  133. package/dist/__tests__/missingPin.test.js.map +1 -0
  134. package/dist/__tests__/no-session-one-place.test.d.ts +2 -0
  135. package/dist/__tests__/no-session-one-place.test.d.ts.map +1 -0
  136. package/dist/__tests__/no-session-one-place.test.js +33 -0
  137. package/dist/__tests__/no-session-one-place.test.js.map +1 -0
  138. package/dist/__tests__/notice-marker.test.js +146 -11
  139. package/dist/__tests__/notice-marker.test.js.map +1 -1
  140. package/dist/__tests__/orient-bound-scope.test.d.ts +2 -0
  141. package/dist/__tests__/orient-bound-scope.test.d.ts.map +1 -0
  142. package/dist/__tests__/orient-bound-scope.test.js +173 -0
  143. package/dist/__tests__/orient-bound-scope.test.js.map +1 -0
  144. package/dist/__tests__/orient-rules.test.d.ts +2 -0
  145. package/dist/__tests__/orient-rules.test.d.ts.map +1 -0
  146. package/dist/__tests__/orient-rules.test.js +89 -0
  147. package/dist/__tests__/orient-rules.test.js.map +1 -0
  148. package/dist/__tests__/orient.test.js +349 -61
  149. package/dist/__tests__/orient.test.js.map +1 -1
  150. package/dist/__tests__/preview-key-refresh.test.js +73 -13
  151. package/dist/__tests__/preview-key-refresh.test.js.map +1 -1
  152. package/dist/__tests__/profile-create-key.test.d.ts +2 -0
  153. package/dist/__tests__/profile-create-key.test.d.ts.map +1 -0
  154. package/dist/__tests__/profile-create-key.test.js +57 -0
  155. package/dist/__tests__/profile-create-key.test.js.map +1 -0
  156. package/dist/__tests__/profiles.test.js +534 -16
  157. package/dist/__tests__/profiles.test.js.map +1 -1
  158. package/dist/__tests__/prompts.test.js +18 -1
  159. package/dist/__tests__/prompts.test.js.map +1 -1
  160. package/dist/__tests__/rate-limit-resilience.test.d.ts +8 -0
  161. package/dist/__tests__/rate-limit-resilience.test.d.ts.map +1 -0
  162. package/dist/__tests__/rate-limit-resilience.test.js +191 -0
  163. package/dist/__tests__/rate-limit-resilience.test.js.map +1 -0
  164. package/dist/__tests__/read-target-notice.test.d.ts +2 -0
  165. package/dist/__tests__/read-target-notice.test.d.ts.map +1 -0
  166. package/dist/__tests__/read-target-notice.test.js +125 -0
  167. package/dist/__tests__/read-target-notice.test.js.map +1 -0
  168. package/dist/__tests__/relate.test.js +269 -14
  169. package/dist/__tests__/relate.test.js.map +1 -1
  170. package/dist/__tests__/removed-commands.test.d.ts +2 -0
  171. package/dist/__tests__/removed-commands.test.d.ts.map +1 -0
  172. package/dist/__tests__/removed-commands.test.js +99 -0
  173. package/dist/__tests__/removed-commands.test.js.map +1 -0
  174. package/dist/__tests__/reply-commands-registered.test.d.ts +2 -0
  175. package/dist/__tests__/reply-commands-registered.test.d.ts.map +1 -0
  176. package/dist/__tests__/reply-commands-registered.test.js +83 -0
  177. package/dist/__tests__/reply-commands-registered.test.js.map +1 -0
  178. package/dist/__tests__/reportedProfile.test.d.ts +2 -0
  179. package/dist/__tests__/reportedProfile.test.d.ts.map +1 -0
  180. package/dist/__tests__/reportedProfile.test.js +328 -0
  181. package/dist/__tests__/reportedProfile.test.js.map +1 -0
  182. package/dist/__tests__/restore.test.d.ts +2 -0
  183. package/dist/__tests__/restore.test.d.ts.map +1 -0
  184. package/dist/__tests__/restore.test.js +91 -0
  185. package/dist/__tests__/restore.test.js.map +1 -0
  186. package/dist/__tests__/route-latency-budget.test.d.ts +2 -0
  187. package/dist/__tests__/route-latency-budget.test.d.ts.map +1 -0
  188. package/dist/__tests__/route-latency-budget.test.js +111 -0
  189. package/dist/__tests__/route-latency-budget.test.js.map +1 -0
  190. package/dist/__tests__/runner.test.js +59 -44
  191. package/dist/__tests__/runner.test.js.map +1 -1
  192. package/dist/__tests__/session-binding-refusal-tenant.test.d.ts +2 -0
  193. package/dist/__tests__/session-binding-refusal-tenant.test.d.ts.map +1 -0
  194. package/dist/__tests__/session-binding-refusal-tenant.test.js +112 -0
  195. package/dist/__tests__/session-binding-refusal-tenant.test.js.map +1 -0
  196. package/dist/__tests__/session-close-conversation.test.d.ts +2 -0
  197. package/dist/__tests__/session-close-conversation.test.d.ts.map +1 -0
  198. package/dist/__tests__/session-close-conversation.test.js +75 -0
  199. package/dist/__tests__/session-close-conversation.test.js.map +1 -0
  200. package/dist/__tests__/session-close-loop.test.js +150 -32
  201. package/dist/__tests__/session-close-loop.test.js.map +1 -1
  202. package/dist/__tests__/session-ended-refusal.test.d.ts +2 -0
  203. package/dist/__tests__/session-ended-refusal.test.d.ts.map +1 -0
  204. package/dist/__tests__/session-ended-refusal.test.js +76 -0
  205. package/dist/__tests__/session-ended-refusal.test.js.map +1 -0
  206. package/dist/__tests__/session-hook-conversation.test.d.ts +2 -0
  207. package/dist/__tests__/session-hook-conversation.test.d.ts.map +1 -0
  208. package/dist/__tests__/session-hook-conversation.test.js +87 -0
  209. package/dist/__tests__/session-hook-conversation.test.js.map +1 -0
  210. package/dist/__tests__/session-label.test.d.ts +2 -0
  211. package/dist/__tests__/session-label.test.d.ts.map +1 -0
  212. package/dist/__tests__/session-label.test.js +46 -0
  213. package/dist/__tests__/session-label.test.js.map +1 -0
  214. package/dist/__tests__/session-list-show.test.d.ts +2 -0
  215. package/dist/__tests__/session-list-show.test.d.ts.map +1 -0
  216. package/dist/__tests__/session-list-show.test.js +171 -0
  217. package/dist/__tests__/session-list-show.test.js.map +1 -0
  218. package/dist/__tests__/session-pinned-role.test.d.ts +2 -0
  219. package/dist/__tests__/session-pinned-role.test.d.ts.map +1 -0
  220. package/dist/__tests__/session-pinned-role.test.js +333 -0
  221. package/dist/__tests__/session-pinned-role.test.js.map +1 -0
  222. package/dist/__tests__/session-reset.test.js +26 -11
  223. package/dist/__tests__/session-reset.test.js.map +1 -1
  224. package/dist/__tests__/session-resume-backstop.test.js +42 -2
  225. package/dist/__tests__/session-resume-backstop.test.js.map +1 -1
  226. package/dist/__tests__/session-role-name-sanitize.test.d.ts +2 -0
  227. package/dist/__tests__/session-role-name-sanitize.test.d.ts.map +1 -0
  228. package/dist/__tests__/session-role-name-sanitize.test.js +119 -0
  229. package/dist/__tests__/session-role-name-sanitize.test.js.map +1 -0
  230. package/dist/__tests__/session-seat-split.test.d.ts +2 -0
  231. package/dist/__tests__/session-seat-split.test.d.ts.map +1 -0
  232. package/dist/__tests__/session-seat-split.test.js +142 -0
  233. package/dist/__tests__/session-seat-split.test.js.map +1 -0
  234. package/dist/__tests__/session-start-key-refresh.test.js +64 -30
  235. package/dist/__tests__/session-start-key-refresh.test.js.map +1 -1
  236. package/dist/__tests__/session-state-machine.test.js +193 -27
  237. package/dist/__tests__/session-state-machine.test.js.map +1 -1
  238. package/dist/__tests__/session-switch.test.js +218 -7
  239. package/dist/__tests__/session-switch.test.js.map +1 -1
  240. package/dist/__tests__/session-touch.test.js +86 -107
  241. package/dist/__tests__/session-touch.test.js.map +1 -1
  242. package/dist/__tests__/session.test.js +0 -3
  243. package/dist/__tests__/session.test.js.map +1 -1
  244. package/dist/__tests__/sessionBinding.test.d.ts +2 -0
  245. package/dist/__tests__/sessionBinding.test.d.ts.map +1 -0
  246. package/dist/__tests__/sessionBinding.test.js +131 -0
  247. package/dist/__tests__/sessionBinding.test.js.map +1 -0
  248. package/dist/__tests__/sessionByIdLookup.test.d.ts +2 -0
  249. package/dist/__tests__/sessionByIdLookup.test.d.ts.map +1 -0
  250. package/dist/__tests__/sessionByIdLookup.test.js +63 -0
  251. package/dist/__tests__/sessionByIdLookup.test.js.map +1 -0
  252. package/dist/__tests__/spinner-labels.test.js +8 -0
  253. package/dist/__tests__/spinner-labels.test.js.map +1 -1
  254. package/dist/__tests__/state.test.js +21 -1
  255. package/dist/__tests__/state.test.js.map +1 -1
  256. package/dist/__tests__/stillTrue.test.d.ts +2 -0
  257. package/dist/__tests__/stillTrue.test.d.ts.map +1 -0
  258. package/dist/__tests__/stillTrue.test.js +53 -0
  259. package/dist/__tests__/stillTrue.test.js.map +1 -0
  260. package/dist/__tests__/strip.test.js +57 -3
  261. package/dist/__tests__/strip.test.js.map +1 -1
  262. package/dist/__tests__/tenant-notice-write-path.test.d.ts +2 -0
  263. package/dist/__tests__/tenant-notice-write-path.test.d.ts.map +1 -0
  264. package/dist/__tests__/tenant-notice-write-path.test.js +183 -0
  265. package/dist/__tests__/tenant-notice-write-path.test.js.map +1 -0
  266. package/dist/__tests__/unknown-option-flags.test.d.ts +2 -0
  267. package/dist/__tests__/unknown-option-flags.test.d.ts.map +1 -0
  268. package/dist/__tests__/unknown-option-flags.test.js +81 -0
  269. package/dist/__tests__/unknown-option-flags.test.js.map +1 -0
  270. package/dist/__tests__/update-check.test.js +21 -1
  271. package/dist/__tests__/update-check.test.js.map +1 -1
  272. package/dist/__tests__/update.test.js +535 -8
  273. package/dist/__tests__/update.test.js.map +1 -1
  274. package/dist/__tests__/upgrade-runner.test.js +44 -21
  275. package/dist/__tests__/upgrade-runner.test.js.map +1 -1
  276. package/dist/__tests__/verify-formatter.test.d.ts +2 -0
  277. package/dist/__tests__/verify-formatter.test.d.ts.map +1 -0
  278. package/dist/__tests__/verify-formatter.test.js +85 -0
  279. package/dist/__tests__/verify-formatter.test.js.map +1 -0
  280. package/dist/__tests__/vocabulary-leak.test.d.ts +1 -7
  281. package/dist/__tests__/vocabulary-leak.test.d.ts.map +1 -1
  282. package/dist/__tests__/vocabulary-leak.test.js +9 -117
  283. package/dist/__tests__/vocabulary-leak.test.js.map +1 -1
  284. package/dist/__tests__/workspace.test.js +10 -71
  285. package/dist/__tests__/workspace.test.js.map +1 -1
  286. package/dist/__tests__/workspaceNotice.test.d.ts +2 -0
  287. package/dist/__tests__/workspaceNotice.test.d.ts.map +1 -0
  288. package/dist/__tests__/workspaceNotice.test.js +551 -0
  289. package/dist/__tests__/workspaceNotice.test.js.map +1 -0
  290. package/dist/commands/__tests__/quality.test.d.ts +2 -0
  291. package/dist/commands/__tests__/quality.test.d.ts.map +1 -0
  292. package/dist/commands/__tests__/quality.test.js +315 -0
  293. package/dist/commands/__tests__/quality.test.js.map +1 -0
  294. package/dist/commands/__tests__/rework.test.d.ts +2 -0
  295. package/dist/commands/__tests__/rework.test.d.ts.map +1 -0
  296. package/dist/commands/__tests__/rework.test.js +151 -0
  297. package/dist/commands/__tests__/rework.test.js.map +1 -0
  298. package/dist/commands/__tests__/search.test.d.ts +2 -0
  299. package/dist/commands/__tests__/search.test.d.ts.map +1 -0
  300. package/dist/commands/__tests__/search.test.js +102 -0
  301. package/dist/commands/__tests__/search.test.js.map +1 -0
  302. package/dist/commands/__tests__/tasksList.test.d.ts +2 -0
  303. package/dist/commands/__tests__/tasksList.test.d.ts.map +1 -0
  304. package/dist/commands/__tests__/tasksList.test.js +66 -0
  305. package/dist/commands/__tests__/tasksList.test.js.map +1 -0
  306. package/dist/commands/__tests__/tensionsList.test.d.ts +2 -0
  307. package/dist/commands/__tests__/tensionsList.test.d.ts.map +1 -0
  308. package/dist/commands/__tests__/tensionsList.test.js +63 -0
  309. package/dist/commands/__tests__/tensionsList.test.js.map +1 -0
  310. package/dist/commands/accept-policy.d.ts +10 -0
  311. package/dist/commands/accept-policy.d.ts.map +1 -0
  312. package/dist/commands/accept-policy.js +101 -0
  313. package/dist/commands/accept-policy.js.map +1 -0
  314. package/dist/commands/admin/cockpit.d.ts +3 -14
  315. package/dist/commands/admin/cockpit.d.ts.map +1 -1
  316. package/dist/commands/admin/cockpit.js +14 -79
  317. package/dist/commands/admin/cockpit.js.map +1 -1
  318. package/dist/commands/admin/cockpit.test.d.ts +2 -0
  319. package/dist/commands/admin/cockpit.test.d.ts.map +1 -0
  320. package/dist/commands/admin/cockpit.test.js +104 -0
  321. package/dist/commands/admin/cockpit.test.js.map +1 -0
  322. package/dist/commands/admin/index.d.ts +49 -0
  323. package/dist/commands/admin/index.d.ts.map +1 -1
  324. package/dist/commands/admin/index.js +149 -30
  325. package/dist/commands/admin/index.js.map +1 -1
  326. package/dist/commands/admin/index.test.d.ts +2 -0
  327. package/dist/commands/admin/index.test.d.ts.map +1 -0
  328. package/dist/commands/admin/index.test.js +94 -0
  329. package/dist/commands/admin/index.test.js.map +1 -0
  330. package/dist/commands/admin/inspect.d.ts.map +1 -1
  331. package/dist/commands/admin/inspect.js +10 -15
  332. package/dist/commands/admin/inspect.js.map +1 -1
  333. package/dist/commands/admin/manage.d.ts.map +1 -1
  334. package/dist/commands/admin/manage.js +17 -224
  335. package/dist/commands/admin/manage.js.map +1 -1
  336. package/dist/commands/admin/manage.test.d.ts +0 -14
  337. package/dist/commands/admin/manage.test.d.ts.map +1 -1
  338. package/dist/commands/admin/manage.test.js +86 -142
  339. package/dist/commands/admin/manage.test.js.map +1 -1
  340. package/dist/commands/admin/probe.d.ts +75 -0
  341. package/dist/commands/admin/probe.d.ts.map +1 -0
  342. package/dist/commands/admin/probe.js +224 -0
  343. package/dist/commands/admin/probe.js.map +1 -0
  344. package/dist/commands/admin/probe.test.d.ts +2 -0
  345. package/dist/commands/admin/probe.test.d.ts.map +1 -0
  346. package/dist/commands/admin/probe.test.js +193 -0
  347. package/dist/commands/admin/probe.test.js.map +1 -0
  348. package/dist/commands/admin/run.d.ts +43 -0
  349. package/dist/commands/admin/run.d.ts.map +1 -0
  350. package/dist/commands/admin/run.js +78 -0
  351. package/dist/commands/admin/run.js.map +1 -0
  352. package/dist/commands/admin/run.test.d.ts +18 -0
  353. package/dist/commands/admin/run.test.d.ts.map +1 -0
  354. package/dist/commands/admin/run.test.js +168 -0
  355. package/dist/commands/admin/run.test.js.map +1 -0
  356. package/dist/commands/admin/seed.d.ts +14 -35
  357. package/dist/commands/admin/seed.d.ts.map +1 -1
  358. package/dist/commands/admin/seed.js +50 -352
  359. package/dist/commands/admin/seed.js.map +1 -1
  360. package/dist/commands/admin/seed.test.d.ts +3 -4
  361. package/dist/commands/admin/seed.test.d.ts.map +1 -1
  362. package/dist/commands/admin/seed.test.js +36 -73
  363. package/dist/commands/admin/seed.test.js.map +1 -1
  364. package/dist/commands/admin/seedRegistryEntries.generated.d.ts +3 -1
  365. package/dist/commands/admin/seedRegistryEntries.generated.d.ts.map +1 -1
  366. package/dist/commands/admin/seedRegistryEntries.generated.js +21 -102
  367. package/dist/commands/admin/seedRegistryEntries.generated.js.map +1 -1
  368. package/dist/commands/admin/seedRegistryEntries.test.d.ts +5 -3
  369. package/dist/commands/admin/seedRegistryEntries.test.d.ts.map +1 -1
  370. package/dist/commands/admin/seedRegistryEntries.test.js +69 -30
  371. package/dist/commands/admin/seedRegistryEntries.test.js.map +1 -1
  372. package/dist/commands/admin/seedRowType.d.ts +22 -0
  373. package/dist/commands/admin/seedRowType.d.ts.map +1 -0
  374. package/dist/commands/admin/seedRowType.js +2 -0
  375. package/dist/commands/admin/seedRowType.js.map +1 -0
  376. package/dist/commands/admin/seedStatusColor.d.ts +9 -0
  377. package/dist/commands/admin/seedStatusColor.d.ts.map +1 -0
  378. package/dist/commands/admin/seedStatusColor.js +19 -0
  379. package/dist/commands/admin/seedStatusColor.js.map +1 -0
  380. package/dist/commands/admin/seedStatusColor.test.d.ts +2 -0
  381. package/dist/commands/admin/seedStatusColor.test.d.ts.map +1 -0
  382. package/dist/commands/admin/seedStatusColor.test.js +31 -0
  383. package/dist/commands/admin/seedStatusColor.test.js.map +1 -0
  384. package/dist/commands/brief.d.ts.map +1 -1
  385. package/dist/commands/brief.js +27 -10
  386. package/dist/commands/brief.js.map +1 -1
  387. package/dist/commands/capture.d.ts +17 -16
  388. package/dist/commands/capture.d.ts.map +1 -1
  389. package/dist/commands/capture.js +119 -300
  390. package/dist/commands/capture.js.map +1 -1
  391. package/dist/commands/chain-walk.d.ts.map +1 -1
  392. package/dist/commands/chain-walk.js +1 -3
  393. package/dist/commands/chain-walk.js.map +1 -1
  394. package/dist/commands/changes.d.ts.map +1 -1
  395. package/dist/commands/changes.js +1 -3
  396. package/dist/commands/changes.js.map +1 -1
  397. package/dist/commands/codex-prep.d.ts +3 -3
  398. package/dist/commands/codex-prep.d.ts.map +1 -1
  399. package/dist/commands/codex-prep.js +4 -6
  400. package/dist/commands/codex-prep.js.map +1 -1
  401. package/dist/commands/collections.d.ts +1 -1
  402. package/dist/commands/collections.d.ts.map +1 -1
  403. package/dist/commands/collections.js +5 -13
  404. package/dist/commands/collections.js.map +1 -1
  405. package/dist/commands/conflicts.d.ts +47 -0
  406. package/dist/commands/conflicts.d.ts.map +1 -0
  407. package/dist/commands/conflicts.js +241 -0
  408. package/dist/commands/conflicts.js.map +1 -0
  409. package/dist/commands/conflicts.test.d.ts +2 -0
  410. package/dist/commands/conflicts.test.d.ts.map +1 -0
  411. package/dist/commands/conflicts.test.js +232 -0
  412. package/dist/commands/conflicts.test.js.map +1 -0
  413. package/dist/commands/connect-config.test.js +12 -9
  414. package/dist/commands/connect-config.test.js.map +1 -1
  415. package/dist/commands/connect-decline.test.d.ts +2 -0
  416. package/dist/commands/connect-decline.test.d.ts.map +1 -0
  417. package/dist/commands/connect-decline.test.js +70 -0
  418. package/dist/commands/connect-decline.test.js.map +1 -0
  419. package/dist/commands/connect-integration.test.d.ts +2 -2
  420. package/dist/commands/connect-integration.test.js +38 -18
  421. package/dist/commands/connect-integration.test.js.map +1 -1
  422. package/dist/commands/connect-legacy-migration.test.d.ts +2 -0
  423. package/dist/commands/connect-legacy-migration.test.d.ts.map +1 -0
  424. package/dist/commands/connect-legacy-migration.test.js +108 -0
  425. package/dist/commands/connect-legacy-migration.test.js.map +1 -0
  426. package/dist/commands/connect-redeem-failure.test.d.ts +2 -0
  427. package/dist/commands/connect-redeem-failure.test.d.ts.map +1 -0
  428. package/dist/commands/connect-redeem-failure.test.js +133 -0
  429. package/dist/commands/connect-redeem-failure.test.js.map +1 -0
  430. package/dist/commands/connect-screens.d.ts +11 -17
  431. package/dist/commands/connect-screens.d.ts.map +1 -1
  432. package/dist/commands/connect-screens.js +19 -81
  433. package/dist/commands/connect-screens.js.map +1 -1
  434. package/dist/commands/connect-screens.test.d.ts +2 -0
  435. package/dist/commands/connect-screens.test.d.ts.map +1 -0
  436. package/dist/commands/connect-screens.test.js +19 -0
  437. package/dist/commands/connect-screens.test.js.map +1 -0
  438. package/dist/commands/connect-seal.test.d.ts +2 -0
  439. package/dist/commands/connect-seal.test.d.ts.map +1 -0
  440. package/dist/commands/connect-seal.test.js +54 -0
  441. package/dist/commands/connect-seal.test.js.map +1 -0
  442. package/dist/commands/connect.d.ts +16 -14
  443. package/dist/commands/connect.d.ts.map +1 -1
  444. package/dist/commands/connect.js +249 -89
  445. package/dist/commands/connect.js.map +1 -1
  446. package/dist/commands/connect.test.js +254 -30
  447. package/dist/commands/connect.test.js.map +1 -1
  448. package/dist/commands/constellation.d.ts.map +1 -1
  449. package/dist/commands/constellation.js +1 -3
  450. package/dist/commands/constellation.js.map +1 -1
  451. package/dist/commands/context.d.ts.map +1 -1
  452. package/dist/commands/context.js +1 -3
  453. package/dist/commands/context.js.map +1 -1
  454. package/dist/commands/cross-cut.d.ts.map +1 -1
  455. package/dist/commands/cross-cut.js +1 -3
  456. package/dist/commands/cross-cut.js.map +1 -1
  457. package/dist/commands/direction.d.ts +10 -0
  458. package/dist/commands/direction.d.ts.map +1 -0
  459. package/dist/commands/direction.js +75 -0
  460. package/dist/commands/direction.js.map +1 -0
  461. package/dist/commands/doctor.d.ts.map +1 -1
  462. package/dist/commands/doctor.js +115 -48
  463. package/dist/commands/doctor.js.map +1 -1
  464. package/dist/commands/doctor.test.js +220 -29
  465. package/dist/commands/doctor.test.js.map +1 -1
  466. package/dist/commands/entryAccept.d.ts +59 -0
  467. package/dist/commands/entryAccept.d.ts.map +1 -0
  468. package/dist/commands/entryAccept.js +284 -0
  469. package/dist/commands/entryAccept.js.map +1 -0
  470. package/dist/commands/entryDiscardResolve.d.ts +9 -0
  471. package/dist/commands/entryDiscardResolve.d.ts.map +1 -0
  472. package/dist/commands/entryDiscardResolve.js +27 -0
  473. package/dist/commands/entryDiscardResolve.js.map +1 -0
  474. package/dist/commands/entryOwn.d.ts +10 -0
  475. package/dist/commands/entryOwn.d.ts.map +1 -0
  476. package/dist/commands/entryOwn.js +40 -0
  477. package/dist/commands/entryOwn.js.map +1 -0
  478. package/dist/commands/entryPreflight.d.ts +8 -0
  479. package/dist/commands/entryPreflight.d.ts.map +1 -0
  480. package/dist/commands/entryPreflight.js +44 -0
  481. package/dist/commands/entryPreflight.js.map +1 -0
  482. package/dist/commands/entryReplace.d.ts +7 -0
  483. package/dist/commands/entryReplace.d.ts.map +1 -0
  484. package/dist/commands/entryReplace.js +34 -0
  485. package/dist/commands/entryReplace.js.map +1 -0
  486. package/dist/commands/entryTick.d.ts +8 -0
  487. package/dist/commands/entryTick.d.ts.map +1 -0
  488. package/dist/commands/entryTick.js +42 -0
  489. package/dist/commands/entryTick.js.map +1 -0
  490. package/dist/commands/feedback.d.ts +39 -0
  491. package/dist/commands/feedback.d.ts.map +1 -0
  492. package/dist/commands/feedback.js +165 -0
  493. package/dist/commands/feedback.js.map +1 -0
  494. package/dist/commands/feedback.test.d.ts +2 -0
  495. package/dist/commands/feedback.test.d.ts.map +1 -0
  496. package/dist/commands/feedback.test.js +109 -0
  497. package/dist/commands/feedback.test.js.map +1 -0
  498. package/dist/commands/fields.d.ts.map +1 -1
  499. package/dist/commands/fields.js +2 -4
  500. package/dist/commands/fields.js.map +1 -1
  501. package/dist/commands/files.d.ts +26 -0
  502. package/dist/commands/files.d.ts.map +1 -0
  503. package/dist/commands/files.js +160 -0
  504. package/dist/commands/files.js.map +1 -0
  505. package/dist/commands/files.test.d.ts +2 -0
  506. package/dist/commands/files.test.d.ts.map +1 -0
  507. package/dist/commands/files.test.js +278 -0
  508. package/dist/commands/files.test.js.map +1 -0
  509. package/dist/commands/get.d.ts +9 -4
  510. package/dist/commands/get.d.ts.map +1 -1
  511. package/dist/commands/get.js +34 -47
  512. package/dist/commands/get.js.map +1 -1
  513. package/dist/commands/history.d.ts +32 -0
  514. package/dist/commands/history.d.ts.map +1 -0
  515. package/dist/commands/history.js +55 -0
  516. package/dist/commands/history.js.map +1 -0
  517. package/dist/commands/history.test.d.ts +2 -0
  518. package/dist/commands/history.test.d.ts.map +1 -0
  519. package/dist/commands/history.test.js +135 -0
  520. package/dist/commands/history.test.js.map +1 -0
  521. package/dist/commands/init.d.ts +29 -2
  522. package/dist/commands/init.d.ts.map +1 -1
  523. package/dist/commands/init.js +178 -21
  524. package/dist/commands/init.js.map +1 -1
  525. package/dist/commands/login.d.ts.map +1 -1
  526. package/dist/commands/login.js +25 -20
  527. package/dist/commands/login.js.map +1 -1
  528. package/dist/commands/method.d.ts +5 -97
  529. package/dist/commands/method.d.ts.map +1 -1
  530. package/dist/commands/method.js +47 -767
  531. package/dist/commands/method.js.map +1 -1
  532. package/dist/commands/organisation.d.ts +12 -0
  533. package/dist/commands/organisation.d.ts.map +1 -0
  534. package/dist/commands/organisation.js +143 -0
  535. package/dist/commands/organisation.js.map +1 -0
  536. package/dist/commands/organisation.test.d.ts +2 -0
  537. package/dist/commands/organisation.test.d.ts.map +1 -0
  538. package/dist/commands/organisation.test.js +116 -0
  539. package/dist/commands/organisation.test.js.map +1 -0
  540. package/dist/commands/organisationHierarchy.d.ts +15 -0
  541. package/dist/commands/organisationHierarchy.d.ts.map +1 -0
  542. package/dist/commands/organisationHierarchy.js +102 -0
  543. package/dist/commands/organisationHierarchy.js.map +1 -0
  544. package/dist/commands/organisationHierarchy.test.d.ts +2 -0
  545. package/dist/commands/organisationHierarchy.test.d.ts.map +1 -0
  546. package/dist/commands/organisationHierarchy.test.js +144 -0
  547. package/dist/commands/organisationHierarchy.test.js.map +1 -0
  548. package/dist/commands/organisationWrite.d.ts +20 -0
  549. package/dist/commands/organisationWrite.d.ts.map +1 -0
  550. package/dist/commands/organisationWrite.js +44 -0
  551. package/dist/commands/organisationWrite.js.map +1 -0
  552. package/dist/commands/orient.d.ts +41 -121
  553. package/dist/commands/orient.d.ts.map +1 -1
  554. package/dist/commands/orient.js +147 -39
  555. package/dist/commands/orient.js.map +1 -1
  556. package/dist/commands/outcome.d.ts +96 -0
  557. package/dist/commands/outcome.d.ts.map +1 -0
  558. package/dist/commands/outcome.js +194 -0
  559. package/dist/commands/outcome.js.map +1 -0
  560. package/dist/commands/outcome.test.d.ts +2 -0
  561. package/dist/commands/outcome.test.d.ts.map +1 -0
  562. package/dist/commands/outcome.test.js +326 -0
  563. package/dist/commands/outcome.test.js.map +1 -0
  564. package/dist/commands/people.d.ts +6 -0
  565. package/dist/commands/people.d.ts.map +1 -0
  566. package/dist/commands/people.js +21 -0
  567. package/dist/commands/people.js.map +1 -0
  568. package/dist/commands/people.test.d.ts +2 -0
  569. package/dist/commands/people.test.d.ts.map +1 -0
  570. package/dist/commands/people.test.js +61 -0
  571. package/dist/commands/people.test.js.map +1 -0
  572. package/dist/commands/profile.d.ts +42 -4
  573. package/dist/commands/profile.d.ts.map +1 -1
  574. package/dist/commands/profile.js +222 -36
  575. package/dist/commands/profile.js.map +1 -1
  576. package/dist/commands/quality.d.ts +38 -0
  577. package/dist/commands/quality.d.ts.map +1 -0
  578. package/dist/commands/quality.js +99 -0
  579. package/dist/commands/quality.js.map +1 -0
  580. package/dist/commands/questions.d.ts +27 -0
  581. package/dist/commands/questions.d.ts.map +1 -0
  582. package/dist/commands/questions.js +255 -0
  583. package/dist/commands/questions.js.map +1 -0
  584. package/dist/commands/questions.test.d.ts +2 -0
  585. package/dist/commands/questions.test.d.ts.map +1 -0
  586. package/dist/commands/questions.test.js +261 -0
  587. package/dist/commands/questions.test.js.map +1 -0
  588. package/dist/commands/relate.d.ts +10 -0
  589. package/dist/commands/relate.d.ts.map +1 -1
  590. package/dist/commands/relate.js +119 -26
  591. package/dist/commands/relate.js.map +1 -1
  592. package/dist/commands/restore.d.ts +2 -0
  593. package/dist/commands/restore.d.ts.map +1 -0
  594. package/dist/commands/restore.js +88 -0
  595. package/dist/commands/restore.js.map +1 -0
  596. package/dist/commands/rework.d.ts +24 -0
  597. package/dist/commands/rework.d.ts.map +1 -0
  598. package/dist/commands/rework.js +96 -0
  599. package/dist/commands/rework.js.map +1 -0
  600. package/dist/commands/role.d.ts +90 -0
  601. package/dist/commands/role.d.ts.map +1 -0
  602. package/dist/commands/role.js +172 -0
  603. package/dist/commands/role.js.map +1 -0
  604. package/dist/commands/role.test.d.ts +2 -0
  605. package/dist/commands/role.test.d.ts.map +1 -0
  606. package/dist/commands/role.test.js +345 -0
  607. package/dist/commands/role.test.js.map +1 -0
  608. package/dist/commands/scoreboard.d.ts +23 -0
  609. package/dist/commands/scoreboard.d.ts.map +1 -0
  610. package/dist/commands/scoreboard.js +33 -0
  611. package/dist/commands/scoreboard.js.map +1 -0
  612. package/dist/commands/scoreboard.test.d.ts +2 -0
  613. package/dist/commands/scoreboard.test.d.ts.map +1 -0
  614. package/dist/commands/scoreboard.test.js +51 -0
  615. package/dist/commands/scoreboard.test.js.map +1 -0
  616. package/dist/commands/search.d.ts +14 -2
  617. package/dist/commands/search.d.ts.map +1 -1
  618. package/dist/commands/search.js +52 -6
  619. package/dist/commands/search.js.map +1 -1
  620. package/dist/commands/session-hook.d.ts +38 -0
  621. package/dist/commands/session-hook.d.ts.map +1 -0
  622. package/dist/commands/session-hook.js +97 -0
  623. package/dist/commands/session-hook.js.map +1 -0
  624. package/dist/commands/session-hook.test.d.ts +2 -0
  625. package/dist/commands/session-hook.test.d.ts.map +1 -0
  626. package/dist/commands/session-hook.test.js +89 -0
  627. package/dist/commands/session-hook.test.js.map +1 -0
  628. package/dist/commands/session.d.ts +38 -5
  629. package/dist/commands/session.d.ts.map +1 -1
  630. package/dist/commands/session.js +292 -214
  631. package/dist/commands/session.js.map +1 -1
  632. package/dist/commands/status.d.ts +7 -0
  633. package/dist/commands/status.d.ts.map +1 -0
  634. package/dist/commands/status.js +101 -0
  635. package/dist/commands/status.js.map +1 -0
  636. package/dist/commands/status.test.d.ts +2 -0
  637. package/dist/commands/status.test.d.ts.map +1 -0
  638. package/dist/commands/status.test.js +75 -0
  639. package/dist/commands/status.test.js.map +1 -0
  640. package/dist/commands/stillTrue.d.ts +14 -0
  641. package/dist/commands/stillTrue.d.ts.map +1 -0
  642. package/dist/commands/stillTrue.js +47 -0
  643. package/dist/commands/stillTrue.js.map +1 -0
  644. package/dist/commands/tasksList.d.ts +12 -0
  645. package/dist/commands/tasksList.d.ts.map +1 -0
  646. package/dist/commands/tasksList.js +45 -0
  647. package/dist/commands/tasksList.js.map +1 -0
  648. package/dist/commands/tensionsList.d.ts +5 -0
  649. package/dist/commands/tensionsList.d.ts.map +1 -0
  650. package/dist/commands/tensionsList.js +25 -0
  651. package/dist/commands/tensionsList.js.map +1 -0
  652. package/dist/commands/update.d.ts +23 -0
  653. package/dist/commands/update.d.ts.map +1 -1
  654. package/dist/commands/update.js +198 -48
  655. package/dist/commands/update.js.map +1 -1
  656. package/dist/commands/upgrade.js +9 -9
  657. package/dist/commands/upgrade.js.map +1 -1
  658. package/dist/commands/usage.d.ts.map +1 -1
  659. package/dist/commands/usage.js +0 -18
  660. package/dist/commands/usage.js.map +1 -1
  661. package/dist/commands/verify.d.ts.map +1 -1
  662. package/dist/commands/verify.js +9 -6
  663. package/dist/commands/verify.js.map +1 -1
  664. package/dist/commands/welcome.d.ts.map +1 -1
  665. package/dist/commands/welcome.js +7 -3
  666. package/dist/commands/welcome.js.map +1 -1
  667. package/dist/commands/whoami.d.ts +13 -2
  668. package/dist/commands/whoami.d.ts.map +1 -1
  669. package/dist/commands/whoami.js +82 -20
  670. package/dist/commands/whoami.js.map +1 -1
  671. package/dist/commands/whoami.test.js +101 -6
  672. package/dist/commands/whoami.test.js.map +1 -1
  673. package/dist/commands/workspace.d.ts +7 -74
  674. package/dist/commands/workspace.d.ts.map +1 -1
  675. package/dist/commands/workspace.js +11 -76
  676. package/dist/commands/workspace.js.map +1 -1
  677. package/dist/formatters/__tests__/orient-openTasks.test.d.ts +2 -0
  678. package/dist/formatters/__tests__/orient-openTasks.test.d.ts.map +1 -0
  679. package/dist/formatters/__tests__/orient-openTasks.test.js +77 -0
  680. package/dist/formatters/__tests__/orient-openTasks.test.js.map +1 -0
  681. package/dist/formatters/__tests__/orient-plannedWorkCut.test.d.ts +2 -0
  682. package/dist/formatters/__tests__/orient-plannedWorkCut.test.d.ts.map +1 -0
  683. package/dist/formatters/__tests__/orient-plannedWorkCut.test.js +38 -0
  684. package/dist/formatters/__tests__/orient-plannedWorkCut.test.js.map +1 -0
  685. package/dist/formatters/__tests__/orient-provenance.test.d.ts +2 -3
  686. package/dist/formatters/__tests__/orient-provenance.test.d.ts.map +1 -1
  687. package/dist/formatters/__tests__/orient-provenance.test.js +41 -183
  688. package/dist/formatters/__tests__/orient-provenance.test.js.map +1 -1
  689. package/dist/formatters/__tests__/orient-ruleLists.test.d.ts +2 -0
  690. package/dist/formatters/__tests__/orient-ruleLists.test.d.ts.map +1 -0
  691. package/dist/formatters/__tests__/orient-ruleLists.test.js +93 -0
  692. package/dist/formatters/__tests__/orient-ruleLists.test.js.map +1 -0
  693. package/dist/formatters/__tests__/orient-workPackageList.test.d.ts +2 -0
  694. package/dist/formatters/__tests__/orient-workPackageList.test.d.ts.map +1 -0
  695. package/dist/formatters/__tests__/orient-workPackageList.test.js +69 -0
  696. package/dist/formatters/__tests__/orient-workPackageList.test.js.map +1 -0
  697. package/dist/formatters/__tests__/session-list-show.test.d.ts +2 -0
  698. package/dist/formatters/__tests__/session-list-show.test.d.ts.map +1 -0
  699. package/dist/formatters/__tests__/session-list-show.test.js +199 -0
  700. package/dist/formatters/__tests__/session-list-show.test.js.map +1 -0
  701. package/dist/formatters/__tests__/session.test.js +203 -43
  702. package/dist/formatters/__tests__/session.test.js.map +1 -1
  703. package/dist/formatters/__tests__/tensionsList.test.d.ts +2 -0
  704. package/dist/formatters/__tests__/tensionsList.test.d.ts.map +1 -0
  705. package/dist/formatters/__tests__/tensionsList.test.js +30 -0
  706. package/dist/formatters/__tests__/tensionsList.test.js.map +1 -0
  707. package/dist/formatters/brief.d.ts +7 -15
  708. package/dist/formatters/brief.d.ts.map +1 -1
  709. package/dist/formatters/brief.js +18 -15
  710. package/dist/formatters/brief.js.map +1 -1
  711. package/dist/formatters/brief.test.d.ts +2 -0
  712. package/dist/formatters/brief.test.d.ts.map +1 -0
  713. package/dist/formatters/brief.test.js +33 -0
  714. package/dist/formatters/brief.test.js.map +1 -0
  715. package/dist/formatters/capture.d.ts +26 -17
  716. package/dist/formatters/capture.d.ts.map +1 -1
  717. package/dist/formatters/capture.js +44 -19
  718. package/dist/formatters/capture.js.map +1 -1
  719. package/dist/formatters/coaching.d.ts +59 -0
  720. package/dist/formatters/coaching.d.ts.map +1 -0
  721. package/dist/formatters/coaching.js +51 -0
  722. package/dist/formatters/coaching.js.map +1 -0
  723. package/dist/formatters/collections.d.ts +0 -1
  724. package/dist/formatters/collections.d.ts.map +1 -1
  725. package/dist/formatters/collections.js +14 -5
  726. package/dist/formatters/collections.js.map +1 -1
  727. package/dist/formatters/conflicts.d.ts +83 -0
  728. package/dist/formatters/conflicts.d.ts.map +1 -0
  729. package/dist/formatters/conflicts.js +104 -0
  730. package/dist/formatters/conflicts.js.map +1 -0
  731. package/dist/formatters/conflicts.test.d.ts +2 -0
  732. package/dist/formatters/conflicts.test.d.ts.map +1 -0
  733. package/dist/formatters/conflicts.test.js +195 -0
  734. package/dist/formatters/conflicts.test.js.map +1 -0
  735. package/dist/formatters/constellation.d.ts +2 -0
  736. package/dist/formatters/constellation.d.ts.map +1 -1
  737. package/dist/formatters/constellation.js +2 -0
  738. package/dist/formatters/constellation.js.map +1 -1
  739. package/dist/formatters/context.d.ts +1 -1
  740. package/dist/formatters/context.d.ts.map +1 -1
  741. package/dist/formatters/context.js.map +1 -1
  742. package/dist/formatters/direction.d.ts +48 -0
  743. package/dist/formatters/direction.d.ts.map +1 -0
  744. package/dist/formatters/direction.js +75 -0
  745. package/dist/formatters/direction.js.map +1 -0
  746. package/dist/formatters/direction.test.d.ts +2 -0
  747. package/dist/formatters/direction.test.d.ts.map +1 -0
  748. package/dist/formatters/direction.test.js +70 -0
  749. package/dist/formatters/direction.test.js.map +1 -0
  750. package/dist/formatters/entry.d.ts +77 -3
  751. package/dist/formatters/entry.d.ts.map +1 -1
  752. package/dist/formatters/entry.js +79 -11
  753. package/dist/formatters/entry.js.map +1 -1
  754. package/dist/formatters/entryAccept.d.ts +69 -0
  755. package/dist/formatters/entryAccept.d.ts.map +1 -0
  756. package/dist/formatters/entryAccept.js +71 -0
  757. package/dist/formatters/entryAccept.js.map +1 -0
  758. package/dist/formatters/feedback.d.ts +61 -0
  759. package/dist/formatters/feedback.d.ts.map +1 -0
  760. package/dist/formatters/feedback.js +95 -0
  761. package/dist/formatters/feedback.js.map +1 -0
  762. package/dist/formatters/feedback.test.d.ts +2 -0
  763. package/dist/formatters/feedback.test.d.ts.map +1 -0
  764. package/dist/formatters/feedback.test.js +142 -0
  765. package/dist/formatters/feedback.test.js.map +1 -0
  766. package/dist/formatters/fields.d.ts +7 -1
  767. package/dist/formatters/fields.d.ts.map +1 -1
  768. package/dist/formatters/fields.js +9 -3
  769. package/dist/formatters/fields.js.map +1 -1
  770. package/dist/formatters/fields.test.d.ts +2 -0
  771. package/dist/formatters/fields.test.d.ts.map +1 -0
  772. package/dist/formatters/fields.test.js +42 -0
  773. package/dist/formatters/fields.test.js.map +1 -0
  774. package/dist/formatters/orient.coherencyCheckTag.test.d.ts +2 -0
  775. package/dist/formatters/orient.coherencyCheckTag.test.d.ts.map +1 -0
  776. package/dist/formatters/orient.coherencyCheckTag.test.js +22 -0
  777. package/dist/formatters/orient.coherencyCheckTag.test.js.map +1 -0
  778. package/dist/formatters/orient.d.ts +102 -181
  779. package/dist/formatters/orient.d.ts.map +1 -1
  780. package/dist/formatters/orient.js +151 -258
  781. package/dist/formatters/orient.js.map +1 -1
  782. package/dist/formatters/orient.rcrtMiss.test.d.ts +2 -0
  783. package/dist/formatters/orient.rcrtMiss.test.d.ts.map +1 -0
  784. package/dist/formatters/orient.rcrtMiss.test.js +75 -0
  785. package/dist/formatters/orient.rcrtMiss.test.js.map +1 -0
  786. package/dist/formatters/orient.rituals.test.d.ts +2 -0
  787. package/dist/formatters/orient.rituals.test.d.ts.map +1 -0
  788. package/dist/formatters/orient.rituals.test.js +70 -0
  789. package/dist/formatters/orient.rituals.test.js.map +1 -0
  790. package/dist/formatters/orient.taskAlignment.test.d.ts +2 -0
  791. package/dist/formatters/orient.taskAlignment.test.d.ts.map +1 -0
  792. package/dist/formatters/orient.taskAlignment.test.js +52 -0
  793. package/dist/formatters/orient.taskAlignment.test.js.map +1 -0
  794. package/dist/formatters/orientDegradation.d.ts +35 -0
  795. package/dist/formatters/orientDegradation.d.ts.map +1 -0
  796. package/dist/formatters/orientDegradation.js +47 -0
  797. package/dist/formatters/orientDegradation.js.map +1 -0
  798. package/dist/formatters/orientDegradation.test.d.ts +2 -0
  799. package/dist/formatters/orientDegradation.test.d.ts.map +1 -0
  800. package/dist/formatters/orientDegradation.test.js +26 -0
  801. package/dist/formatters/orientDegradation.test.js.map +1 -0
  802. package/dist/formatters/orientDirection.d.ts +25 -0
  803. package/dist/formatters/orientDirection.d.ts.map +1 -0
  804. package/dist/formatters/orientDirection.js +7 -0
  805. package/dist/formatters/orientDirection.js.map +1 -0
  806. package/dist/formatters/orientDirection.test.d.ts +2 -0
  807. package/dist/formatters/orientDirection.test.d.ts.map +1 -0
  808. package/dist/formatters/orientDirection.test.js +66 -0
  809. package/dist/formatters/orientDirection.test.js.map +1 -0
  810. package/dist/formatters/orientRetrievalMiss.d.ts +22 -0
  811. package/dist/formatters/orientRetrievalMiss.d.ts.map +1 -0
  812. package/dist/formatters/orientRetrievalMiss.js +17 -0
  813. package/dist/formatters/orientRetrievalMiss.js.map +1 -0
  814. package/dist/formatters/plannedWorkCounts.d.ts +16 -0
  815. package/dist/formatters/plannedWorkCounts.d.ts.map +1 -0
  816. package/dist/formatters/plannedWorkCounts.js +15 -0
  817. package/dist/formatters/plannedWorkCounts.js.map +1 -0
  818. package/dist/formatters/qualityChecks.d.ts +21 -0
  819. package/dist/formatters/qualityChecks.d.ts.map +1 -0
  820. package/dist/formatters/qualityChecks.js +132 -0
  821. package/dist/formatters/qualityChecks.js.map +1 -0
  822. package/dist/formatters/questions.d.ts +90 -0
  823. package/dist/formatters/questions.d.ts.map +1 -0
  824. package/dist/formatters/questions.js +126 -0
  825. package/dist/formatters/questions.js.map +1 -0
  826. package/dist/formatters/questions.test.d.ts +2 -0
  827. package/dist/formatters/questions.test.d.ts.map +1 -0
  828. package/dist/formatters/questions.test.js +176 -0
  829. package/dist/formatters/questions.test.js.map +1 -0
  830. package/dist/formatters/relate.d.ts +13 -2
  831. package/dist/formatters/relate.d.ts.map +1 -1
  832. package/dist/formatters/relate.js +15 -5
  833. package/dist/formatters/relate.js.map +1 -1
  834. package/dist/formatters/relate.test.d.ts +2 -0
  835. package/dist/formatters/relate.test.d.ts.map +1 -0
  836. package/dist/formatters/relate.test.js +91 -0
  837. package/dist/formatters/relate.test.js.map +1 -0
  838. package/dist/formatters/scoreboard.d.ts +11 -0
  839. package/dist/formatters/scoreboard.d.ts.map +1 -0
  840. package/dist/formatters/scoreboard.js +144 -0
  841. package/dist/formatters/scoreboard.js.map +1 -0
  842. package/dist/formatters/scoreboard.test.d.ts +2 -0
  843. package/dist/formatters/scoreboard.test.d.ts.map +1 -0
  844. package/dist/formatters/scoreboard.test.js +265 -0
  845. package/dist/formatters/scoreboard.test.js.map +1 -0
  846. package/dist/formatters/search.d.ts +40 -0
  847. package/dist/formatters/search.d.ts.map +1 -1
  848. package/dist/formatters/search.js +41 -12
  849. package/dist/formatters/search.js.map +1 -1
  850. package/dist/formatters/search.test.d.ts +2 -0
  851. package/dist/formatters/search.test.d.ts.map +1 -0
  852. package/dist/formatters/search.test.js +86 -0
  853. package/dist/formatters/search.test.js.map +1 -0
  854. package/dist/formatters/session-feedback.test.d.ts +2 -0
  855. package/dist/formatters/session-feedback.test.d.ts.map +1 -0
  856. package/dist/formatters/session-feedback.test.js +274 -0
  857. package/dist/formatters/session-feedback.test.js.map +1 -0
  858. package/dist/formatters/session.d.ts +106 -13
  859. package/dist/formatters/session.d.ts.map +1 -1
  860. package/dist/formatters/session.js +287 -83
  861. package/dist/formatters/session.js.map +1 -1
  862. package/dist/formatters/spineCheck.d.ts +14 -0
  863. package/dist/formatters/spineCheck.d.ts.map +1 -0
  864. package/dist/formatters/spineCheck.js +128 -0
  865. package/dist/formatters/spineCheck.js.map +1 -0
  866. package/dist/formatters/spineCheck.test.d.ts +2 -0
  867. package/dist/formatters/spineCheck.test.d.ts.map +1 -0
  868. package/dist/formatters/spineCheck.test.js +85 -0
  869. package/dist/formatters/spineCheck.test.js.map +1 -0
  870. package/dist/formatters/tensionsList.d.ts +17 -0
  871. package/dist/formatters/tensionsList.d.ts.map +1 -0
  872. package/dist/formatters/tensionsList.js +33 -0
  873. package/dist/formatters/tensionsList.js.map +1 -0
  874. package/dist/formatters/update.d.ts +26 -0
  875. package/dist/formatters/update.d.ts.map +1 -1
  876. package/dist/formatters/update.js +39 -7
  877. package/dist/formatters/update.js.map +1 -1
  878. package/dist/formatters/update.test.d.ts +2 -0
  879. package/dist/formatters/update.test.d.ts.map +1 -0
  880. package/dist/formatters/update.test.js +71 -0
  881. package/dist/formatters/update.test.js.map +1 -0
  882. package/dist/formatters/verify.d.ts +12 -4
  883. package/dist/formatters/verify.d.ts.map +1 -1
  884. package/dist/formatters/verify.js +20 -2
  885. package/dist/formatters/verify.js.map +1 -1
  886. package/dist/generated/healthGapKinds.generated.d.ts +12 -0
  887. package/dist/generated/healthGapKinds.generated.d.ts.map +1 -0
  888. package/dist/generated/healthGapKinds.generated.js +16 -0
  889. package/dist/generated/healthGapKinds.generated.js.map +1 -0
  890. package/dist/generated/organisationalAuthorityRefusalCodes.generated.d.ts +12 -0
  891. package/dist/generated/organisationalAuthorityRefusalCodes.generated.d.ts.map +1 -0
  892. package/dist/generated/organisationalAuthorityRefusalCodes.generated.js +11 -0
  893. package/dist/generated/organisationalAuthorityRefusalCodes.generated.js.map +1 -0
  894. package/dist/generated/routeLatencyBudget.generated.d.ts +54 -0
  895. package/dist/generated/routeLatencyBudget.generated.d.ts.map +1 -0
  896. package/dist/generated/routeLatencyBudget.generated.js +255 -0
  897. package/dist/generated/routeLatencyBudget.generated.js.map +1 -0
  898. package/dist/handleCliError.d.ts +38 -0
  899. package/dist/handleCliError.d.ts.map +1 -0
  900. package/dist/handleCliError.js +131 -0
  901. package/dist/handleCliError.js.map +1 -0
  902. package/dist/index.d.ts +0 -5
  903. package/dist/index.d.ts.map +1 -1
  904. package/dist/index.js +209 -685
  905. package/dist/index.js.map +1 -1
  906. package/dist/lib/__tests__/parseFields.test.d.ts +2 -0
  907. package/dist/lib/__tests__/parseFields.test.d.ts.map +1 -0
  908. package/dist/lib/__tests__/parseFields.test.js +40 -0
  909. package/dist/lib/__tests__/parseFields.test.js.map +1 -0
  910. package/dist/lib/adminConfig.d.ts +48 -0
  911. package/dist/lib/adminConfig.d.ts.map +1 -0
  912. package/dist/lib/adminConfig.js +126 -0
  913. package/dist/lib/adminConfig.js.map +1 -0
  914. package/dist/lib/boundScope.d.ts +94 -0
  915. package/dist/lib/boundScope.d.ts.map +1 -0
  916. package/dist/lib/boundScope.js +205 -0
  917. package/dist/lib/boundScope.js.map +1 -0
  918. package/dist/lib/canonicalRefs.d.ts +28 -14
  919. package/dist/lib/canonicalRefs.d.ts.map +1 -1
  920. package/dist/lib/canonicalRefs.js +9 -28
  921. package/dist/lib/canonicalRefs.js.map +1 -1
  922. package/dist/lib/captureLink.d.ts +7 -0
  923. package/dist/lib/captureLink.d.ts.map +1 -0
  924. package/dist/lib/captureLink.js +29 -0
  925. package/dist/lib/captureLink.js.map +1 -0
  926. package/dist/lib/checklist.d.ts +151 -0
  927. package/dist/lib/checklist.d.ts.map +1 -0
  928. package/dist/lib/checklist.js +235 -0
  929. package/dist/lib/checklist.js.map +1 -0
  930. package/dist/lib/cliFirstRun.d.ts +36 -0
  931. package/dist/lib/cliFirstRun.d.ts.map +1 -0
  932. package/dist/lib/cliFirstRun.js +36 -0
  933. package/dist/lib/cliFirstRun.js.map +1 -0
  934. package/dist/lib/client.d.ts +30 -27
  935. package/dist/lib/client.d.ts.map +1 -1
  936. package/dist/lib/client.js +254 -110
  937. package/dist/lib/client.js.map +1 -1
  938. package/dist/lib/compose-wrapup-view.d.ts +23 -5
  939. package/dist/lib/compose-wrapup-view.d.ts.map +1 -1
  940. package/dist/lib/compose-wrapup-view.js +6 -4
  941. package/dist/lib/compose-wrapup-view.js.map +1 -1
  942. package/dist/lib/config.d.ts +58 -117
  943. package/dist/lib/config.d.ts.map +1 -1
  944. package/dist/lib/config.js +154 -402
  945. package/dist/lib/config.js.map +1 -1
  946. package/dist/lib/configResult.d.ts +110 -0
  947. package/dist/lib/configResult.d.ts.map +1 -0
  948. package/dist/lib/configResult.js +189 -0
  949. package/dist/lib/configResult.js.map +1 -0
  950. package/dist/lib/conflictResolution.d.ts +98 -0
  951. package/dist/lib/conflictResolution.d.ts.map +1 -0
  952. package/dist/lib/conflictResolution.js +77 -0
  953. package/dist/lib/conflictResolution.js.map +1 -0
  954. package/dist/lib/connectKeyLabel.d.ts +2 -2
  955. package/dist/lib/connectKeyLabel.js +2 -2
  956. package/dist/lib/connectProfileName.d.ts +36 -0
  957. package/dist/lib/connectProfileName.d.ts.map +1 -0
  958. package/dist/lib/connectProfileName.js +72 -0
  959. package/dist/lib/connectProfileName.js.map +1 -0
  960. package/dist/lib/connectProfileName.test.d.ts +2 -0
  961. package/dist/lib/connectProfileName.test.d.ts.map +1 -0
  962. package/dist/lib/connectProfileName.test.js +100 -0
  963. package/dist/lib/connectProfileName.test.js.map +1 -0
  964. package/dist/lib/constants.d.ts +7 -2
  965. package/dist/lib/constants.d.ts.map +1 -1
  966. package/dist/lib/constants.js +9 -2
  967. package/dist/lib/constants.js.map +1 -1
  968. package/dist/lib/conversation.d.ts +48 -0
  969. package/dist/lib/conversation.d.ts.map +1 -0
  970. package/dist/lib/conversation.js +136 -0
  971. package/dist/lib/conversation.js.map +1 -0
  972. package/dist/lib/createEntryResult.d.ts +34 -0
  973. package/dist/lib/createEntryResult.d.ts.map +1 -0
  974. package/dist/lib/createEntryResult.js +12 -0
  975. package/dist/lib/createEntryResult.js.map +1 -0
  976. package/dist/lib/deployment.js +2 -2
  977. package/dist/lib/deployment.js.map +1 -1
  978. package/dist/lib/deployment.test.js +20 -1
  979. package/dist/lib/deployment.test.js.map +1 -1
  980. package/dist/lib/envKeySnapshot.d.ts +10 -0
  981. package/dist/lib/envKeySnapshot.d.ts.map +1 -0
  982. package/dist/lib/envKeySnapshot.js +30 -0
  983. package/dist/lib/envKeySnapshot.js.map +1 -0
  984. package/dist/lib/errors.d.ts +91 -1
  985. package/dist/lib/errors.d.ts.map +1 -1
  986. package/dist/lib/errors.js +87 -1
  987. package/dist/lib/errors.js.map +1 -1
  988. package/dist/lib/gatewayTimeout.d.ts +88 -0
  989. package/dist/lib/gatewayTimeout.d.ts.map +1 -0
  990. package/dist/lib/gatewayTimeout.js +124 -0
  991. package/dist/lib/gatewayTimeout.js.map +1 -0
  992. package/dist/lib/gitEnvLeakKeysParity.test.d.ts +2 -0
  993. package/dist/lib/gitEnvLeakKeysParity.test.d.ts.map +1 -0
  994. package/dist/lib/gitEnvLeakKeysParity.test.js +73 -0
  995. package/dist/lib/gitEnvLeakKeysParity.test.js.map +1 -0
  996. package/dist/lib/glossary.d.ts +3 -15
  997. package/dist/lib/glossary.d.ts.map +1 -1
  998. package/dist/lib/glossary.js +6 -47
  999. package/dist/lib/glossary.js.map +1 -1
  1000. package/dist/lib/historyLine.d.ts +24 -0
  1001. package/dist/lib/historyLine.d.ts.map +1 -0
  1002. package/dist/lib/historyLine.js +12 -0
  1003. package/dist/lib/historyLine.js.map +1 -0
  1004. package/dist/lib/judgeWait.d.ts +50 -0
  1005. package/dist/lib/judgeWait.d.ts.map +1 -0
  1006. package/dist/lib/judgeWait.js +64 -0
  1007. package/dist/lib/judgeWait.js.map +1 -0
  1008. package/dist/lib/kernelEnvelope.d.ts +61 -0
  1009. package/dist/lib/kernelEnvelope.d.ts.map +1 -0
  1010. package/dist/lib/kernelEnvelope.js +98 -0
  1011. package/dist/lib/kernelEnvelope.js.map +1 -0
  1012. package/dist/lib/keyResultLines.d.ts +27 -0
  1013. package/dist/lib/keyResultLines.d.ts.map +1 -0
  1014. package/dist/lib/keyResultLines.js +32 -0
  1015. package/dist/lib/keyResultLines.js.map +1 -0
  1016. package/dist/lib/limits.d.ts +115 -0
  1017. package/dist/lib/limits.d.ts.map +1 -0
  1018. package/dist/lib/limits.js +175 -0
  1019. package/dist/lib/limits.js.map +1 -0
  1020. package/dist/lib/localBinding.d.ts +86 -0
  1021. package/dist/lib/localBinding.d.ts.map +1 -0
  1022. package/dist/lib/localBinding.js +173 -0
  1023. package/dist/lib/localBinding.js.map +1 -0
  1024. package/dist/lib/nameFromText.d.ts +15 -0
  1025. package/dist/lib/nameFromText.d.ts.map +1 -0
  1026. package/dist/lib/nameFromText.js +36 -0
  1027. package/dist/lib/nameFromText.js.map +1 -0
  1028. package/dist/lib/notice-marker.d.ts.map +1 -1
  1029. package/dist/lib/notice-marker.js +186 -16
  1030. package/dist/lib/notice-marker.js.map +1 -1
  1031. package/dist/lib/outcomeObjectiveLines.d.ts +34 -0
  1032. package/dist/lib/outcomeObjectiveLines.d.ts.map +1 -0
  1033. package/dist/lib/outcomeObjectiveLines.js +30 -0
  1034. package/dist/lib/outcomeObjectiveLines.js.map +1 -0
  1035. package/dist/lib/ownerLine.d.ts +90 -0
  1036. package/dist/lib/ownerLine.d.ts.map +1 -0
  1037. package/dist/lib/ownerLine.js +77 -0
  1038. package/dist/lib/ownerLine.js.map +1 -0
  1039. package/dist/lib/parseFields.d.ts +19 -0
  1040. package/dist/lib/parseFields.d.ts.map +1 -0
  1041. package/dist/lib/parseFields.js +49 -0
  1042. package/dist/lib/parseFields.js.map +1 -0
  1043. package/dist/lib/pinnedRole.d.ts +29 -0
  1044. package/dist/lib/pinnedRole.d.ts.map +1 -0
  1045. package/dist/lib/pinnedRole.js +115 -0
  1046. package/dist/lib/pinnedRole.js.map +1 -0
  1047. package/dist/lib/platformGlossary.d.ts +22 -0
  1048. package/dist/lib/platformGlossary.d.ts.map +1 -0
  1049. package/dist/lib/platformGlossary.js +26 -0
  1050. package/dist/lib/platformGlossary.js.map +1 -0
  1051. package/dist/lib/previewBanner.d.ts +9 -0
  1052. package/dist/lib/previewBanner.d.ts.map +1 -0
  1053. package/dist/lib/previewBanner.js +36 -0
  1054. package/dist/lib/previewBanner.js.map +1 -0
  1055. package/dist/lib/priority.d.ts +64 -0
  1056. package/dist/lib/priority.d.ts.map +1 -0
  1057. package/dist/lib/priority.js +31 -0
  1058. package/dist/lib/priority.js.map +1 -0
  1059. package/dist/lib/privateFile.d.ts +13 -0
  1060. package/dist/lib/privateFile.d.ts.map +1 -0
  1061. package/dist/lib/privateFile.js +65 -0
  1062. package/dist/lib/privateFile.js.map +1 -0
  1063. package/dist/lib/privateFile.test.d.ts +2 -0
  1064. package/dist/lib/privateFile.test.d.ts.map +1 -0
  1065. package/dist/lib/privateFile.test.js +76 -0
  1066. package/dist/lib/privateFile.test.js.map +1 -0
  1067. package/dist/lib/productbrain-files.d.ts +108 -0
  1068. package/dist/lib/productbrain-files.d.ts.map +1 -0
  1069. package/dist/lib/productbrain-files.js +240 -0
  1070. package/dist/lib/productbrain-files.js.map +1 -0
  1071. package/dist/lib/productbrain-files.test.d.ts +2 -0
  1072. package/dist/lib/productbrain-files.test.d.ts.map +1 -0
  1073. package/dist/lib/productbrain-files.test.js +518 -0
  1074. package/dist/lib/productbrain-files.test.js.map +1 -0
  1075. package/dist/lib/profiles.d.ts +52 -4
  1076. package/dist/lib/profiles.d.ts.map +1 -1
  1077. package/dist/lib/profiles.js +75 -23
  1078. package/dist/lib/profiles.js.map +1 -1
  1079. package/dist/lib/projectConfig.d.ts +130 -0
  1080. package/dist/lib/projectConfig.d.ts.map +1 -0
  1081. package/dist/lib/projectConfig.js +252 -0
  1082. package/dist/lib/projectConfig.js.map +1 -0
  1083. package/dist/lib/prompts.d.ts +2 -0
  1084. package/dist/lib/prompts.d.ts.map +1 -1
  1085. package/dist/lib/prompts.js +2 -0
  1086. package/dist/lib/prompts.js.map +1 -1
  1087. package/dist/lib/proseBody.d.ts +14 -0
  1088. package/dist/lib/proseBody.d.ts.map +1 -0
  1089. package/dist/lib/proseBody.js +25 -0
  1090. package/dist/lib/proseBody.js.map +1 -0
  1091. package/dist/lib/rate-limit.d.ts +40 -0
  1092. package/dist/lib/rate-limit.d.ts.map +1 -0
  1093. package/dist/lib/rate-limit.js +89 -0
  1094. package/dist/lib/rate-limit.js.map +1 -0
  1095. package/dist/lib/readinessNotices.d.ts +2 -0
  1096. package/dist/lib/readinessNotices.d.ts.map +1 -0
  1097. package/dist/lib/readinessNotices.js +12 -0
  1098. package/dist/lib/readinessNotices.js.map +1 -0
  1099. package/dist/lib/reportedProfile.d.ts +18 -0
  1100. package/dist/lib/reportedProfile.d.ts.map +1 -0
  1101. package/dist/lib/reportedProfile.js +148 -0
  1102. package/dist/lib/reportedProfile.js.map +1 -0
  1103. package/dist/lib/restsOn.d.ts +33 -0
  1104. package/dist/lib/restsOn.d.ts.map +1 -0
  1105. package/dist/lib/restsOn.js +34 -0
  1106. package/dist/lib/restsOn.js.map +1 -0
  1107. package/dist/lib/routeCommandWords.d.ts +13 -0
  1108. package/dist/lib/routeCommandWords.d.ts.map +1 -0
  1109. package/dist/lib/routeCommandWords.js +27 -0
  1110. package/dist/lib/routeCommandWords.js.map +1 -0
  1111. package/dist/lib/ruleListRender.d.ts +325 -0
  1112. package/dist/lib/ruleListRender.d.ts.map +1 -0
  1113. package/dist/lib/ruleListRender.js +387 -0
  1114. package/dist/lib/ruleListRender.js.map +1 -0
  1115. package/dist/lib/runner.d.ts +9 -1
  1116. package/dist/lib/runner.d.ts.map +1 -1
  1117. package/dist/lib/runner.js +30 -4
  1118. package/dist/lib/runner.js.map +1 -1
  1119. package/dist/lib/seatRoster.d.ts +65 -0
  1120. package/dist/lib/seatRoster.d.ts.map +1 -0
  1121. package/dist/lib/seatRoster.js +41 -0
  1122. package/dist/lib/seatRoster.js.map +1 -0
  1123. package/dist/lib/seatSentence.d.ts +196 -0
  1124. package/dist/lib/seatSentence.d.ts.map +1 -0
  1125. package/dist/lib/seatSentence.js +214 -0
  1126. package/dist/lib/seatSentence.js.map +1 -0
  1127. package/dist/lib/session.d.ts +84 -12
  1128. package/dist/lib/session.d.ts.map +1 -1
  1129. package/dist/lib/session.js +238 -24
  1130. package/dist/lib/session.js.map +1 -1
  1131. package/dist/lib/sessionBinding.d.ts +62 -0
  1132. package/dist/lib/sessionBinding.d.ts.map +1 -0
  1133. package/dist/lib/sessionBinding.js +126 -0
  1134. package/dist/lib/sessionBinding.js.map +1 -0
  1135. package/dist/lib/sessionNotices.d.ts +52 -0
  1136. package/dist/lib/sessionNotices.d.ts.map +1 -0
  1137. package/dist/lib/sessionNotices.js +124 -0
  1138. package/dist/lib/sessionNotices.js.map +1 -0
  1139. package/dist/lib/sessionNotices.test.d.ts +2 -0
  1140. package/dist/lib/sessionNotices.test.d.ts.map +1 -0
  1141. package/dist/lib/sessionNotices.test.js +53 -0
  1142. package/dist/lib/sessionNotices.test.js.map +1 -0
  1143. package/dist/lib/sessionOpen.d.ts +26 -0
  1144. package/dist/lib/sessionOpen.d.ts.map +1 -0
  1145. package/dist/lib/sessionOpen.js +56 -0
  1146. package/dist/lib/sessionOpen.js.map +1 -0
  1147. package/dist/lib/sessionStartCommands.d.ts +5 -0
  1148. package/dist/lib/sessionStartCommands.d.ts.map +1 -0
  1149. package/dist/lib/sessionStartCommands.js +12 -0
  1150. package/dist/lib/sessionStartCommands.js.map +1 -0
  1151. package/dist/lib/sessionStartWords.d.ts +18 -0
  1152. package/dist/lib/sessionStartWords.d.ts.map +1 -0
  1153. package/dist/lib/sessionStartWords.js +34 -0
  1154. package/dist/lib/sessionStartWords.js.map +1 -0
  1155. package/dist/lib/spineRungs.d.ts +44 -0
  1156. package/dist/lib/spineRungs.d.ts.map +1 -0
  1157. package/dist/lib/spineRungs.js +19 -0
  1158. package/dist/lib/spineRungs.js.map +1 -0
  1159. package/dist/lib/spineVerdictRead.d.ts +76 -0
  1160. package/dist/lib/spineVerdictRead.d.ts.map +1 -0
  1161. package/dist/lib/spineVerdictRead.js +76 -0
  1162. package/dist/lib/spineVerdictRead.js.map +1 -0
  1163. package/dist/lib/spinner.d.ts +3 -0
  1164. package/dist/lib/spinner.d.ts.map +1 -1
  1165. package/dist/lib/spinner.js +46 -32
  1166. package/dist/lib/spinner.js.map +1 -1
  1167. package/dist/lib/spinner.test.js +44 -1
  1168. package/dist/lib/spinner.test.js.map +1 -1
  1169. package/dist/lib/startup-signals.d.ts +12 -0
  1170. package/dist/lib/startup-signals.d.ts.map +1 -0
  1171. package/dist/lib/startup-signals.js +173 -0
  1172. package/dist/lib/startup-signals.js.map +1 -0
  1173. package/dist/lib/startup-signals.test.d.ts +2 -0
  1174. package/dist/lib/startup-signals.test.d.ts.map +1 -0
  1175. package/dist/lib/startup-signals.test.js +165 -0
  1176. package/dist/lib/startup-signals.test.js.map +1 -0
  1177. package/dist/lib/state.d.ts +11 -2
  1178. package/dist/lib/state.d.ts.map +1 -1
  1179. package/dist/lib/state.js +11 -4
  1180. package/dist/lib/state.js.map +1 -1
  1181. package/dist/lib/statusCategories.d.ts +168 -0
  1182. package/dist/lib/statusCategories.d.ts.map +1 -0
  1183. package/dist/lib/statusCategories.js +299 -0
  1184. package/dist/lib/statusCategories.js.map +1 -0
  1185. package/dist/lib/strip.d.ts +17 -0
  1186. package/dist/lib/strip.d.ts.map +1 -1
  1187. package/dist/lib/strip.js +48 -1
  1188. package/dist/lib/strip.js.map +1 -1
  1189. package/dist/lib/style.d.ts +18 -5
  1190. package/dist/lib/style.d.ts.map +1 -1
  1191. package/dist/lib/style.js +34 -20
  1192. package/dist/lib/style.js.map +1 -1
  1193. package/dist/lib/style.test.js +1 -2
  1194. package/dist/lib/style.test.js.map +1 -1
  1195. package/dist/lib/tokenConstants.d.ts +14 -2
  1196. package/dist/lib/tokenConstants.d.ts.map +1 -1
  1197. package/dist/lib/tokenConstants.js +17 -2
  1198. package/dist/lib/tokenConstants.js.map +1 -1
  1199. package/dist/lib/update-check.d.ts +3 -8
  1200. package/dist/lib/update-check.d.ts.map +1 -1
  1201. package/dist/lib/update-check.js +11 -46
  1202. package/dist/lib/update-check.js.map +1 -1
  1203. package/dist/lib/upgrade-runner.d.ts +20 -4
  1204. package/dist/lib/upgrade-runner.d.ts.map +1 -1
  1205. package/dist/lib/upgrade-runner.js +67 -37
  1206. package/dist/lib/upgrade-runner.js.map +1 -1
  1207. package/dist/lib/workPackageList.d.ts +138 -0
  1208. package/dist/lib/workPackageList.d.ts.map +1 -0
  1209. package/dist/lib/workPackageList.js +139 -0
  1210. package/dist/lib/workPackageList.js.map +1 -0
  1211. package/dist/lib/workspace-probe.d.ts +9 -0
  1212. package/dist/lib/workspace-probe.d.ts.map +1 -1
  1213. package/dist/lib/workspace-probe.js +1 -8
  1214. package/dist/lib/workspace-probe.js.map +1 -1
  1215. package/dist/lib/workspaceNotice.d.ts +201 -0
  1216. package/dist/lib/workspaceNotice.d.ts.map +1 -0
  1217. package/dist/lib/workspaceNotice.js +346 -0
  1218. package/dist/lib/workspaceNotice.js.map +1 -0
  1219. package/dist/lib/workspaceVocabCache.d.ts +3 -9
  1220. package/dist/lib/workspaceVocabCache.d.ts.map +1 -1
  1221. package/dist/lib/workspaceVocabCache.js +3 -9
  1222. package/dist/lib/workspaceVocabCache.js.map +1 -1
  1223. package/dist/registerEntryCommands.d.ts +18 -0
  1224. package/dist/registerEntryCommands.d.ts.map +1 -0
  1225. package/dist/registerEntryCommands.js +146 -0
  1226. package/dist/registerEntryCommands.js.map +1 -0
  1227. package/dist/registerHistoryCommand.d.ts +8 -0
  1228. package/dist/registerHistoryCommand.d.ts.map +1 -0
  1229. package/dist/registerHistoryCommand.js +14 -0
  1230. package/dist/registerHistoryCommand.js.map +1 -0
  1231. package/dist/registerOutcomeCommands.d.ts +27 -0
  1232. package/dist/registerOutcomeCommands.d.ts.map +1 -0
  1233. package/dist/registerOutcomeCommands.js +27 -0
  1234. package/dist/registerOutcomeCommands.js.map +1 -0
  1235. package/dist/registerRoleCommands.d.ts +11 -0
  1236. package/dist/registerRoleCommands.d.ts.map +1 -0
  1237. package/dist/registerRoleCommands.js +43 -0
  1238. package/dist/registerRoleCommands.js.map +1 -0
  1239. package/dist/registerTensionsCommands.d.ts +11 -0
  1240. package/dist/registerTensionsCommands.d.ts.map +1 -0
  1241. package/dist/registerTensionsCommands.js +28 -0
  1242. package/dist/registerTensionsCommands.js.map +1 -0
  1243. package/dist/scoreboard/diagnose.d.ts +133 -0
  1244. package/dist/scoreboard/diagnose.d.ts.map +1 -0
  1245. package/dist/scoreboard/diagnose.js +150 -0
  1246. package/dist/scoreboard/diagnose.js.map +1 -0
  1247. package/dist/scoreboard/diagnose.test.d.ts +15 -0
  1248. package/dist/scoreboard/diagnose.test.d.ts.map +1 -0
  1249. package/dist/scoreboard/diagnose.test.js +189 -0
  1250. package/dist/scoreboard/diagnose.test.js.map +1 -0
  1251. package/dist/scoreboard/floors.d.ts +34 -0
  1252. package/dist/scoreboard/floors.d.ts.map +1 -0
  1253. package/dist/scoreboard/floors.js +11 -0
  1254. package/dist/scoreboard/floors.js.map +1 -0
  1255. package/dist/served-doors.test.d.ts +2 -0
  1256. package/dist/served-doors.test.d.ts.map +1 -0
  1257. package/dist/served-doors.test.js +169 -0
  1258. package/dist/served-doors.test.js.map +1 -0
  1259. package/package.json +8 -8
  1260. package/dist/__tests__/adapters.test.d.ts +0 -2
  1261. package/dist/__tests__/adapters.test.d.ts.map +0 -1
  1262. package/dist/__tests__/adapters.test.js +0 -417
  1263. package/dist/__tests__/adapters.test.js.map +0 -1
  1264. package/dist/__tests__/audit.test.d.ts +0 -2
  1265. package/dist/__tests__/audit.test.d.ts.map +0 -1
  1266. package/dist/__tests__/audit.test.js +0 -399
  1267. package/dist/__tests__/audit.test.js.map +0 -1
  1268. package/dist/__tests__/authority-domains-queue.test.d.ts +0 -2
  1269. package/dist/__tests__/authority-domains-queue.test.d.ts.map +0 -1
  1270. package/dist/__tests__/authority-domains-queue.test.js +0 -169
  1271. package/dist/__tests__/authority-domains-queue.test.js.map +0 -1
  1272. package/dist/__tests__/authority-domains.test.d.ts +0 -2
  1273. package/dist/__tests__/authority-domains.test.d.ts.map +0 -1
  1274. package/dist/__tests__/authority-domains.test.js +0 -48
  1275. package/dist/__tests__/authority-domains.test.js.map +0 -1
  1276. package/dist/__tests__/batch-transformations.test.d.ts +0 -2
  1277. package/dist/__tests__/batch-transformations.test.d.ts.map +0 -1
  1278. package/dist/__tests__/batch-transformations.test.js +0 -263
  1279. package/dist/__tests__/batch-transformations.test.js.map +0 -1
  1280. package/dist/__tests__/capture-receipt-domain.test.d.ts +0 -2
  1281. package/dist/__tests__/capture-receipt-domain.test.d.ts.map +0 -1
  1282. package/dist/__tests__/capture-receipt-domain.test.js +0 -29
  1283. package/dist/__tests__/capture-receipt-domain.test.js.map +0 -1
  1284. package/dist/__tests__/experiment.test.d.ts +0 -6
  1285. package/dist/__tests__/experiment.test.d.ts.map +0 -1
  1286. package/dist/__tests__/experiment.test.js +0 -69
  1287. package/dist/__tests__/experiment.test.js.map +0 -1
  1288. package/dist/__tests__/handshake-augment.test.d.ts +0 -2
  1289. package/dist/__tests__/handshake-augment.test.d.ts.map +0 -1
  1290. package/dist/__tests__/handshake-augment.test.js +0 -423
  1291. package/dist/__tests__/handshake-augment.test.js.map +0 -1
  1292. package/dist/__tests__/handshake-dormancy.test.d.ts +0 -2
  1293. package/dist/__tests__/handshake-dormancy.test.d.ts.map +0 -1
  1294. package/dist/__tests__/handshake-dormancy.test.js +0 -207
  1295. package/dist/__tests__/handshake-dormancy.test.js.map +0 -1
  1296. package/dist/__tests__/handshake-formatter.test.d.ts +0 -2
  1297. package/dist/__tests__/handshake-formatter.test.d.ts.map +0 -1
  1298. package/dist/__tests__/handshake-formatter.test.js +0 -67
  1299. package/dist/__tests__/handshake-formatter.test.js.map +0 -1
  1300. package/dist/__tests__/handshake-preview.test.d.ts +0 -2
  1301. package/dist/__tests__/handshake-preview.test.d.ts.map +0 -1
  1302. package/dist/__tests__/handshake-preview.test.js +0 -949
  1303. package/dist/__tests__/handshake-preview.test.js.map +0 -1
  1304. package/dist/__tests__/handshake.e2e.test.d.ts +0 -2
  1305. package/dist/__tests__/handshake.e2e.test.d.ts.map +0 -1
  1306. package/dist/__tests__/handshake.e2e.test.js +0 -1252
  1307. package/dist/__tests__/handshake.e2e.test.js.map +0 -1
  1308. package/dist/__tests__/handshake.test.d.ts +0 -2
  1309. package/dist/__tests__/handshake.test.d.ts.map +0 -1
  1310. package/dist/__tests__/handshake.test.js +0 -981
  1311. package/dist/__tests__/handshake.test.js.map +0 -1
  1312. package/dist/__tests__/hook-intents.test.d.ts +0 -2
  1313. package/dist/__tests__/hook-intents.test.d.ts.map +0 -1
  1314. package/dist/__tests__/hook-intents.test.js +0 -184
  1315. package/dist/__tests__/hook-intents.test.js.map +0 -1
  1316. package/dist/__tests__/ingest.test.d.ts +0 -2
  1317. package/dist/__tests__/ingest.test.d.ts.map +0 -1
  1318. package/dist/__tests__/ingest.test.js +0 -185
  1319. package/dist/__tests__/ingest.test.js.map +0 -1
  1320. package/dist/__tests__/manifest.test.d.ts +0 -6
  1321. package/dist/__tests__/manifest.test.d.ts.map +0 -1
  1322. package/dist/__tests__/manifest.test.js +0 -255
  1323. package/dist/__tests__/manifest.test.js.map +0 -1
  1324. package/dist/__tests__/method-registry.integration.test.d.ts +0 -6
  1325. package/dist/__tests__/method-registry.integration.test.d.ts.map +0 -1
  1326. package/dist/__tests__/method-registry.integration.test.js +0 -18
  1327. package/dist/__tests__/method-registry.integration.test.js.map +0 -1
  1328. package/dist/__tests__/method-registry.test.d.ts +0 -14
  1329. package/dist/__tests__/method-registry.test.d.ts.map +0 -1
  1330. package/dist/__tests__/method-registry.test.js +0 -134
  1331. package/dist/__tests__/method-registry.test.js.map +0 -1
  1332. package/dist/__tests__/onboarding-path-b.test.d.ts +0 -2
  1333. package/dist/__tests__/onboarding-path-b.test.d.ts.map +0 -1
  1334. package/dist/__tests__/onboarding-path-b.test.js +0 -46
  1335. package/dist/__tests__/onboarding-path-b.test.js.map +0 -1
  1336. package/dist/__tests__/onboarding.test.d.ts +0 -6
  1337. package/dist/__tests__/onboarding.test.d.ts.map +0 -1
  1338. package/dist/__tests__/onboarding.test.js +0 -347
  1339. package/dist/__tests__/onboarding.test.js.map +0 -1
  1340. package/dist/__tests__/perimeter.test.d.ts +0 -2
  1341. package/dist/__tests__/perimeter.test.d.ts.map +0 -1
  1342. package/dist/__tests__/perimeter.test.js +0 -165
  1343. package/dist/__tests__/perimeter.test.js.map +0 -1
  1344. package/dist/__tests__/personal-layer.test.d.ts +0 -11
  1345. package/dist/__tests__/personal-layer.test.d.ts.map +0 -1
  1346. package/dist/__tests__/personal-layer.test.js +0 -268
  1347. package/dist/__tests__/personal-layer.test.js.map +0 -1
  1348. package/dist/__tests__/promote-batch.test.d.ts +0 -2
  1349. package/dist/__tests__/promote-batch.test.d.ts.map +0 -1
  1350. package/dist/__tests__/promote-batch.test.js +0 -185
  1351. package/dist/__tests__/promote-batch.test.js.map +0 -1
  1352. package/dist/__tests__/promote.test.d.ts +0 -2
  1353. package/dist/__tests__/promote.test.d.ts.map +0 -1
  1354. package/dist/__tests__/promote.test.js +0 -230
  1355. package/dist/__tests__/promote.test.js.map +0 -1
  1356. package/dist/__tests__/proposals.test.d.ts +0 -2
  1357. package/dist/__tests__/proposals.test.d.ts.map +0 -1
  1358. package/dist/__tests__/proposals.test.js +0 -167
  1359. package/dist/__tests__/proposals.test.js.map +0 -1
  1360. package/dist/__tests__/repo-detect.test.d.ts +0 -2
  1361. package/dist/__tests__/repo-detect.test.d.ts.map +0 -1
  1362. package/dist/__tests__/repo-detect.test.js +0 -215
  1363. package/dist/__tests__/repo-detect.test.js.map +0 -1
  1364. package/dist/__tests__/setup-ingest.test.d.ts +0 -2
  1365. package/dist/__tests__/setup-ingest.test.d.ts.map +0 -1
  1366. package/dist/__tests__/setup-ingest.test.js +0 -71
  1367. package/dist/__tests__/setup-ingest.test.js.map +0 -1
  1368. package/dist/__tests__/setup-resolver.test.d.ts +0 -14
  1369. package/dist/__tests__/setup-resolver.test.d.ts.map +0 -1
  1370. package/dist/__tests__/setup-resolver.test.js +0 -228
  1371. package/dist/__tests__/setup-resolver.test.js.map +0 -1
  1372. package/dist/__tests__/surface-profiles.test.d.ts +0 -2
  1373. package/dist/__tests__/surface-profiles.test.d.ts.map +0 -1
  1374. package/dist/__tests__/surface-profiles.test.js +0 -233
  1375. package/dist/__tests__/surface-profiles.test.js.map +0 -1
  1376. package/dist/__tests__/surfaces.test.d.ts +0 -2
  1377. package/dist/__tests__/surfaces.test.d.ts.map +0 -1
  1378. package/dist/__tests__/surfaces.test.js +0 -46
  1379. package/dist/__tests__/surfaces.test.js.map +0 -1
  1380. package/dist/commands/__tests__/connect-handoff.test.d.ts +0 -11
  1381. package/dist/commands/__tests__/connect-handoff.test.d.ts.map +0 -1
  1382. package/dist/commands/__tests__/connect-handoff.test.js +0 -111
  1383. package/dist/commands/__tests__/connect-handoff.test.js.map +0 -1
  1384. package/dist/commands/__tests__/setup-detect-surfaces.test.d.ts +0 -15
  1385. package/dist/commands/__tests__/setup-detect-surfaces.test.d.ts.map +0 -1
  1386. package/dist/commands/__tests__/setup-detect-surfaces.test.js +0 -149
  1387. package/dist/commands/__tests__/setup-detect-surfaces.test.js.map +0 -1
  1388. package/dist/commands/__tests__/setup-state.test.d.ts +0 -2
  1389. package/dist/commands/__tests__/setup-state.test.d.ts.map +0 -1
  1390. package/dist/commands/__tests__/setup-state.test.js +0 -194
  1391. package/dist/commands/__tests__/setup-state.test.js.map +0 -1
  1392. package/dist/commands/accept.d.ts +0 -18
  1393. package/dist/commands/accept.d.ts.map +0 -1
  1394. package/dist/commands/accept.js +0 -76
  1395. package/dist/commands/accept.js.map +0 -1
  1396. package/dist/commands/audit.d.ts +0 -25
  1397. package/dist/commands/audit.d.ts.map +0 -1
  1398. package/dist/commands/audit.js +0 -215
  1399. package/dist/commands/audit.js.map +0 -1
  1400. package/dist/commands/authority-domains.d.ts +0 -157
  1401. package/dist/commands/authority-domains.d.ts.map +0 -1
  1402. package/dist/commands/authority-domains.js +0 -356
  1403. package/dist/commands/authority-domains.js.map +0 -1
  1404. package/dist/commands/brand-pack.d.ts +0 -2
  1405. package/dist/commands/brand-pack.d.ts.map +0 -1
  1406. package/dist/commands/brand-pack.js +0 -25
  1407. package/dist/commands/brand-pack.js.map +0 -1
  1408. package/dist/commands/connect-context.d.ts +0 -45
  1409. package/dist/commands/connect-context.d.ts.map +0 -1
  1410. package/dist/commands/connect-context.js +0 -64
  1411. package/dist/commands/connect-context.js.map +0 -1
  1412. package/dist/commands/connect-context.test.d.ts +0 -2
  1413. package/dist/commands/connect-context.test.d.ts.map +0 -1
  1414. package/dist/commands/connect-context.test.js +0 -110
  1415. package/dist/commands/connect-context.test.js.map +0 -1
  1416. package/dist/commands/connect-handoff.d.ts +0 -51
  1417. package/dist/commands/connect-handoff.d.ts.map +0 -1
  1418. package/dist/commands/connect-handoff.js +0 -70
  1419. package/dist/commands/connect-handoff.js.map +0 -1
  1420. package/dist/commands/handshake.d.ts +0 -249
  1421. package/dist/commands/handshake.d.ts.map +0 -1
  1422. package/dist/commands/handshake.js +0 -2635
  1423. package/dist/commands/handshake.js.map +0 -1
  1424. package/dist/commands/ingest.d.ts +0 -14
  1425. package/dist/commands/ingest.d.ts.map +0 -1
  1426. package/dist/commands/ingest.js +0 -189
  1427. package/dist/commands/ingest.js.map +0 -1
  1428. package/dist/commands/migrate-setup.d.ts +0 -18
  1429. package/dist/commands/migrate-setup.d.ts.map +0 -1
  1430. package/dist/commands/migrate-setup.js +0 -148
  1431. package/dist/commands/migrate-setup.js.map +0 -1
  1432. package/dist/commands/promote.d.ts +0 -15
  1433. package/dist/commands/promote.d.ts.map +0 -1
  1434. package/dist/commands/promote.js +0 -182
  1435. package/dist/commands/promote.js.map +0 -1
  1436. package/dist/commands/proposals.d.ts +0 -9
  1437. package/dist/commands/proposals.d.ts.map +0 -1
  1438. package/dist/commands/proposals.js +0 -24
  1439. package/dist/commands/proposals.js.map +0 -1
  1440. package/dist/commands/reject.d.ts +0 -14
  1441. package/dist/commands/reject.d.ts.map +0 -1
  1442. package/dist/commands/reject.js +0 -44
  1443. package/dist/commands/reject.js.map +0 -1
  1444. package/dist/commands/setup-audit.d.ts +0 -59
  1445. package/dist/commands/setup-audit.d.ts.map +0 -1
  1446. package/dist/commands/setup-audit.js +0 -250
  1447. package/dist/commands/setup-audit.js.map +0 -1
  1448. package/dist/commands/setup-detect-surfaces.d.ts +0 -38
  1449. package/dist/commands/setup-detect-surfaces.d.ts.map +0 -1
  1450. package/dist/commands/setup-detect-surfaces.js +0 -76
  1451. package/dist/commands/setup-detect-surfaces.js.map +0 -1
  1452. package/dist/commands/setup-ingest.d.ts +0 -17
  1453. package/dist/commands/setup-ingest.d.ts.map +0 -1
  1454. package/dist/commands/setup-ingest.js +0 -174
  1455. package/dist/commands/setup-ingest.js.map +0 -1
  1456. package/dist/commands/setup-resolver.d.ts +0 -58
  1457. package/dist/commands/setup-resolver.d.ts.map +0 -1
  1458. package/dist/commands/setup-resolver.js +0 -150
  1459. package/dist/commands/setup-resolver.js.map +0 -1
  1460. package/dist/commands/setup-state.d.ts +0 -42
  1461. package/dist/commands/setup-state.d.ts.map +0 -1
  1462. package/dist/commands/setup-state.js +0 -93
  1463. package/dist/commands/setup-state.js.map +0 -1
  1464. package/dist/commands/setup.d.ts +0 -23
  1465. package/dist/commands/setup.d.ts.map +0 -1
  1466. package/dist/commands/setup.js +0 -69
  1467. package/dist/commands/setup.js.map +0 -1
  1468. package/dist/formatters/audit.d.ts +0 -52
  1469. package/dist/formatters/audit.d.ts.map +0 -1
  1470. package/dist/formatters/audit.js +0 -81
  1471. package/dist/formatters/audit.js.map +0 -1
  1472. package/dist/formatters/handshake.d.ts +0 -62
  1473. package/dist/formatters/handshake.d.ts.map +0 -1
  1474. package/dist/formatters/handshake.js +0 -198
  1475. package/dist/formatters/handshake.js.map +0 -1
  1476. package/dist/formatters/promote.d.ts +0 -30
  1477. package/dist/formatters/promote.d.ts.map +0 -1
  1478. package/dist/formatters/promote.js +0 -39
  1479. package/dist/formatters/promote.js.map +0 -1
  1480. package/dist/formatters/proposals.d.ts +0 -45
  1481. package/dist/formatters/proposals.d.ts.map +0 -1
  1482. package/dist/formatters/proposals.js +0 -62
  1483. package/dist/formatters/proposals.js.map +0 -1
  1484. package/dist/generators/adapters.d.ts +0 -44
  1485. package/dist/generators/adapters.d.ts.map +0 -1
  1486. package/dist/generators/adapters.js +0 -290
  1487. package/dist/generators/adapters.js.map +0 -1
  1488. package/dist/generators/adapters.test.d.ts +0 -2
  1489. package/dist/generators/adapters.test.d.ts.map +0 -1
  1490. package/dist/generators/adapters.test.js +0 -27
  1491. package/dist/generators/adapters.test.js.map +0 -1
  1492. package/dist/generators/archetypes.d.ts +0 -52
  1493. package/dist/generators/archetypes.d.ts.map +0 -1
  1494. package/dist/generators/archetypes.js +0 -190
  1495. package/dist/generators/archetypes.js.map +0 -1
  1496. package/dist/generators/archetypes.test.d.ts +0 -2
  1497. package/dist/generators/archetypes.test.d.ts.map +0 -1
  1498. package/dist/generators/archetypes.test.js +0 -272
  1499. package/dist/generators/archetypes.test.js.map +0 -1
  1500. package/dist/generators/boundary-manifest.d.ts +0 -29
  1501. package/dist/generators/boundary-manifest.d.ts.map +0 -1
  1502. package/dist/generators/boundary-manifest.js +0 -183
  1503. package/dist/generators/boundary-manifest.js.map +0 -1
  1504. package/dist/generators/boundary-manifest.test.d.ts +0 -2
  1505. package/dist/generators/boundary-manifest.test.d.ts.map +0 -1
  1506. package/dist/generators/boundary-manifest.test.js +0 -91
  1507. package/dist/generators/boundary-manifest.test.js.map +0 -1
  1508. package/dist/generators/briefing-md.d.ts +0 -8
  1509. package/dist/generators/briefing-md.d.ts.map +0 -1
  1510. package/dist/generators/briefing-md.js +0 -51
  1511. package/dist/generators/briefing-md.js.map +0 -1
  1512. package/dist/generators/chain-classifier.d.ts +0 -63
  1513. package/dist/generators/chain-classifier.d.ts.map +0 -1
  1514. package/dist/generators/chain-classifier.js +0 -131
  1515. package/dist/generators/chain-classifier.js.map +0 -1
  1516. package/dist/generators/chain-classifier.test.d.ts +0 -2
  1517. package/dist/generators/chain-classifier.test.d.ts.map +0 -1
  1518. package/dist/generators/chain-classifier.test.js +0 -371
  1519. package/dist/generators/chain-classifier.test.js.map +0 -1
  1520. package/dist/generators/chain-rules.d.ts +0 -42
  1521. package/dist/generators/chain-rules.d.ts.map +0 -1
  1522. package/dist/generators/chain-rules.js +0 -152
  1523. package/dist/generators/chain-rules.js.map +0 -1
  1524. package/dist/generators/chain-rules.test.d.ts +0 -2
  1525. package/dist/generators/chain-rules.test.d.ts.map +0 -1
  1526. package/dist/generators/chain-rules.test.js +0 -211
  1527. package/dist/generators/chain-rules.test.js.map +0 -1
  1528. package/dist/generators/context-md.d.ts +0 -8
  1529. package/dist/generators/context-md.d.ts.map +0 -1
  1530. package/dist/generators/context-md.js +0 -134
  1531. package/dist/generators/context-md.js.map +0 -1
  1532. package/dist/generators/handshake-diff.d.ts +0 -67
  1533. package/dist/generators/handshake-diff.d.ts.map +0 -1
  1534. package/dist/generators/handshake-diff.js +0 -183
  1535. package/dist/generators/handshake-diff.js.map +0 -1
  1536. package/dist/generators/handshake-diff.test.d.ts +0 -2
  1537. package/dist/generators/handshake-diff.test.d.ts.map +0 -1
  1538. package/dist/generators/handshake-diff.test.js +0 -264
  1539. package/dist/generators/handshake-diff.test.js.map +0 -1
  1540. package/dist/generators/manifest.d.ts +0 -115
  1541. package/dist/generators/manifest.d.ts.map +0 -1
  1542. package/dist/generators/manifest.js +0 -277
  1543. package/dist/generators/manifest.js.map +0 -1
  1544. package/dist/generators/portable-knowledge.d.ts +0 -159
  1545. package/dist/generators/portable-knowledge.d.ts.map +0 -1
  1546. package/dist/generators/portable-knowledge.js +0 -596
  1547. package/dist/generators/portable-knowledge.js.map +0 -1
  1548. package/dist/generators/portable-knowledge.test.d.ts +0 -2
  1549. package/dist/generators/portable-knowledge.test.d.ts.map +0 -1
  1550. package/dist/generators/portable-knowledge.test.js +0 -927
  1551. package/dist/generators/portable-knowledge.test.js.map +0 -1
  1552. package/dist/generators/region-projections.d.ts +0 -18
  1553. package/dist/generators/region-projections.d.ts.map +0 -1
  1554. package/dist/generators/region-projections.js +0 -49
  1555. package/dist/generators/region-projections.js.map +0 -1
  1556. package/dist/generators/region-projections.test.d.ts +0 -2
  1557. package/dist/generators/region-projections.test.d.ts.map +0 -1
  1558. package/dist/generators/region-projections.test.js +0 -63
  1559. package/dist/generators/region-projections.test.js.map +0 -1
  1560. package/dist/generators/region.d.ts +0 -24
  1561. package/dist/generators/region.d.ts.map +0 -1
  1562. package/dist/generators/region.js +0 -87
  1563. package/dist/generators/region.js.map +0 -1
  1564. package/dist/generators/region.test.d.ts +0 -2
  1565. package/dist/generators/region.test.d.ts.map +0 -1
  1566. package/dist/generators/region.test.js +0 -126
  1567. package/dist/generators/region.test.js.map +0 -1
  1568. package/dist/generators/surface-profiles.d.ts +0 -48
  1569. package/dist/generators/surface-profiles.d.ts.map +0 -1
  1570. package/dist/generators/surface-profiles.js +0 -98
  1571. package/dist/generators/surface-profiles.js.map +0 -1
  1572. package/dist/lib/activation.d.ts +0 -28
  1573. package/dist/lib/activation.d.ts.map +0 -1
  1574. package/dist/lib/activation.js +0 -57
  1575. package/dist/lib/activation.js.map +0 -1
  1576. package/dist/lib/activation.test.d.ts +0 -6
  1577. package/dist/lib/activation.test.d.ts.map +0 -1
  1578. package/dist/lib/activation.test.js +0 -121
  1579. package/dist/lib/activation.test.js.map +0 -1
  1580. package/dist/lib/collectionRegistry.d.ts +0 -40
  1581. package/dist/lib/collectionRegistry.d.ts.map +0 -1
  1582. package/dist/lib/collectionRegistry.js +0 -112
  1583. package/dist/lib/collectionRegistry.js.map +0 -1
  1584. package/dist/lib/conversation-engine.d.ts +0 -45
  1585. package/dist/lib/conversation-engine.d.ts.map +0 -1
  1586. package/dist/lib/conversation-engine.js +0 -112
  1587. package/dist/lib/conversation-engine.js.map +0 -1
  1588. package/dist/lib/conversation-phases.d.ts +0 -59
  1589. package/dist/lib/conversation-phases.d.ts.map +0 -1
  1590. package/dist/lib/conversation-phases.js +0 -11
  1591. package/dist/lib/conversation-phases.js.map +0 -1
  1592. package/dist/lib/conversation-signals.d.ts +0 -30
  1593. package/dist/lib/conversation-signals.d.ts.map +0 -1
  1594. package/dist/lib/conversation-signals.js +0 -64
  1595. package/dist/lib/conversation-signals.js.map +0 -1
  1596. package/dist/lib/experiment.d.ts +0 -18
  1597. package/dist/lib/experiment.d.ts.map +0 -1
  1598. package/dist/lib/experiment.js +0 -28
  1599. package/dist/lib/experiment.js.map +0 -1
  1600. package/dist/lib/frontmatter.d.ts +0 -55
  1601. package/dist/lib/frontmatter.d.ts.map +0 -1
  1602. package/dist/lib/frontmatter.js +0 -92
  1603. package/dist/lib/frontmatter.js.map +0 -1
  1604. package/dist/lib/frontmatter.test.d.ts +0 -15
  1605. package/dist/lib/frontmatter.test.d.ts.map +0 -1
  1606. package/dist/lib/frontmatter.test.js +0 -98
  1607. package/dist/lib/frontmatter.test.js.map +0 -1
  1608. package/dist/lib/hook-intents.d.ts +0 -51
  1609. package/dist/lib/hook-intents.d.ts.map +0 -1
  1610. package/dist/lib/hook-intents.js +0 -85
  1611. package/dist/lib/hook-intents.js.map +0 -1
  1612. package/dist/lib/inferSourceDate.d.ts +0 -12
  1613. package/dist/lib/inferSourceDate.d.ts.map +0 -1
  1614. package/dist/lib/inferSourceDate.js +0 -44
  1615. package/dist/lib/inferSourceDate.js.map +0 -1
  1616. package/dist/lib/method-registry.d.ts +0 -32
  1617. package/dist/lib/method-registry.d.ts.map +0 -1
  1618. package/dist/lib/method-registry.js +0 -53
  1619. package/dist/lib/method-registry.js.map +0 -1
  1620. package/dist/lib/normalizeMaterializedFilename.d.ts +0 -28
  1621. package/dist/lib/normalizeMaterializedFilename.d.ts.map +0 -1
  1622. package/dist/lib/normalizeMaterializedFilename.js +0 -56
  1623. package/dist/lib/normalizeMaterializedFilename.js.map +0 -1
  1624. package/dist/lib/normalizeMaterializedFilename.test.d.ts +0 -16
  1625. package/dist/lib/normalizeMaterializedFilename.test.d.ts.map +0 -1
  1626. package/dist/lib/normalizeMaterializedFilename.test.js +0 -90
  1627. package/dist/lib/normalizeMaterializedFilename.test.js.map +0 -1
  1628. package/dist/lib/onboarding-path-b.d.ts +0 -10
  1629. package/dist/lib/onboarding-path-b.d.ts.map +0 -1
  1630. package/dist/lib/onboarding-path-b.js +0 -213
  1631. package/dist/lib/onboarding-path-b.js.map +0 -1
  1632. package/dist/lib/onboarding-shared.d.ts +0 -80
  1633. package/dist/lib/onboarding-shared.d.ts.map +0 -1
  1634. package/dist/lib/onboarding-shared.js +0 -174
  1635. package/dist/lib/onboarding-shared.js.map +0 -1
  1636. package/dist/lib/onboarding-topics.d.ts +0 -27
  1637. package/dist/lib/onboarding-topics.d.ts.map +0 -1
  1638. package/dist/lib/onboarding-topics.js +0 -57
  1639. package/dist/lib/onboarding-topics.js.map +0 -1
  1640. package/dist/lib/onboarding.d.ts +0 -17
  1641. package/dist/lib/onboarding.d.ts.map +0 -1
  1642. package/dist/lib/onboarding.js +0 -350
  1643. package/dist/lib/onboarding.js.map +0 -1
  1644. package/dist/lib/repo-detect.d.ts +0 -33
  1645. package/dist/lib/repo-detect.d.ts.map +0 -1
  1646. package/dist/lib/repo-detect.js +0 -83
  1647. package/dist/lib/repo-detect.js.map +0 -1
  1648. package/dist/lib/startup-resolution-signals.d.ts +0 -34
  1649. package/dist/lib/startup-resolution-signals.d.ts.map +0 -1
  1650. package/dist/lib/startup-resolution-signals.js +0 -118
  1651. package/dist/lib/startup-resolution-signals.js.map +0 -1
  1652. package/dist/lib/startup-resolution-signals.test.d.ts +0 -2
  1653. package/dist/lib/startup-resolution-signals.test.d.ts.map +0 -1
  1654. package/dist/lib/startup-resolution-signals.test.js +0 -113
  1655. package/dist/lib/startup-resolution-signals.test.js.map +0 -1
  1656. package/dist/lib/telemetry.d.ts +0 -15
  1657. package/dist/lib/telemetry.d.ts.map +0 -1
  1658. package/dist/lib/telemetry.js +0 -47
  1659. package/dist/lib/telemetry.js.map +0 -1
  1660. package/dist/lib/wizard-surfaces.d.ts +0 -47
  1661. package/dist/lib/wizard-surfaces.d.ts.map +0 -1
  1662. package/dist/lib/wizard-surfaces.js +0 -176
  1663. package/dist/lib/wizard-surfaces.js.map +0 -1
  1664. package/dist/lib/wizard-surfaces.test.d.ts +0 -2
  1665. package/dist/lib/wizard-surfaces.test.d.ts.map +0 -1
  1666. package/dist/lib/wizard-surfaces.test.js +0 -127
  1667. package/dist/lib/wizard-surfaces.test.js.map +0 -1
  1668. package/dist/lib/wizard-trust.d.ts +0 -31
  1669. package/dist/lib/wizard-trust.d.ts.map +0 -1
  1670. package/dist/lib/wizard-trust.js +0 -66
  1671. package/dist/lib/wizard-trust.js.map +0 -1
  1672. package/dist/lib/wizard-trust.test.d.ts +0 -2
  1673. package/dist/lib/wizard-trust.test.d.ts.map +0 -1
  1674. package/dist/lib/wizard-trust.test.js +0 -32
  1675. package/dist/lib/wizard-trust.test.js.map +0 -1
  1676. package/dist/setup/__tests__/coach-traces.test.d.ts +0 -2
  1677. package/dist/setup/__tests__/coach-traces.test.d.ts.map +0 -1
  1678. package/dist/setup/__tests__/coach-traces.test.js +0 -189
  1679. package/dist/setup/__tests__/coach-traces.test.js.map +0 -1
  1680. package/dist/setup/__tests__/setup-commands.test.d.ts +0 -2
  1681. package/dist/setup/__tests__/setup-commands.test.d.ts.map +0 -1
  1682. package/dist/setup/__tests__/setup-commands.test.js +0 -177
  1683. package/dist/setup/__tests__/setup-commands.test.js.map +0 -1
  1684. package/dist/setup/__tests__/state-machine.test.d.ts +0 -2
  1685. package/dist/setup/__tests__/state-machine.test.d.ts.map +0 -1
  1686. package/dist/setup/__tests__/state-machine.test.js +0 -341
  1687. package/dist/setup/__tests__/state-machine.test.js.map +0 -1
  1688. package/dist/setup/detect-surfaces.d.ts +0 -21
  1689. package/dist/setup/detect-surfaces.d.ts.map +0 -1
  1690. package/dist/setup/detect-surfaces.js +0 -39
  1691. package/dist/setup/detect-surfaces.js.map +0 -1
  1692. package/dist/setup/manifest-writer.d.ts +0 -17
  1693. package/dist/setup/manifest-writer.d.ts.map +0 -1
  1694. package/dist/setup/manifest-writer.js +0 -153
  1695. package/dist/setup/manifest-writer.js.map +0 -1
  1696. package/dist/setup/perimeter.d.ts +0 -72
  1697. package/dist/setup/perimeter.d.ts.map +0 -1
  1698. package/dist/setup/perimeter.js +0 -128
  1699. package/dist/setup/perimeter.js.map +0 -1
  1700. package/dist/setup/state-machine.d.ts +0 -67
  1701. package/dist/setup/state-machine.d.ts.map +0 -1
  1702. package/dist/setup/state-machine.js +0 -124
  1703. package/dist/setup/state-machine.js.map +0 -1
  1704. package/dist/surfaces/__tests__/adapter.test.d.ts +0 -2
  1705. package/dist/surfaces/__tests__/adapter.test.d.ts.map +0 -1
  1706. package/dist/surfaces/__tests__/adapter.test.js +0 -90
  1707. package/dist/surfaces/__tests__/adapter.test.js.map +0 -1
  1708. package/dist/surfaces/__tests__/pb-setup-passthrough.test.d.ts +0 -2
  1709. package/dist/surfaces/__tests__/pb-setup-passthrough.test.d.ts.map +0 -1
  1710. package/dist/surfaces/__tests__/pb-setup-passthrough.test.js +0 -132
  1711. package/dist/surfaces/__tests__/pb-setup-passthrough.test.js.map +0 -1
  1712. package/dist/surfaces/__tests__/telemetry.test.d.ts +0 -2
  1713. package/dist/surfaces/__tests__/telemetry.test.d.ts.map +0 -1
  1714. package/dist/surfaces/__tests__/telemetry.test.js +0 -55
  1715. package/dist/surfaces/__tests__/telemetry.test.js.map +0 -1
  1716. package/dist/surfaces/adapter.d.ts +0 -70
  1717. package/dist/surfaces/adapter.d.ts.map +0 -1
  1718. package/dist/surfaces/adapter.js +0 -2
  1719. package/dist/surfaces/adapter.js.map +0 -1
  1720. package/dist/surfaces/adapters/claude.d.ts +0 -3
  1721. package/dist/surfaces/adapters/claude.d.ts.map +0 -1
  1722. package/dist/surfaces/adapters/claude.js +0 -67
  1723. package/dist/surfaces/adapters/claude.js.map +0 -1
  1724. package/dist/surfaces/adapters/codex.d.ts +0 -3
  1725. package/dist/surfaces/adapters/codex.d.ts.map +0 -1
  1726. package/dist/surfaces/adapters/codex.js +0 -61
  1727. package/dist/surfaces/adapters/codex.js.map +0 -1
  1728. package/dist/surfaces/adapters/copilot.d.ts +0 -3
  1729. package/dist/surfaces/adapters/copilot.d.ts.map +0 -1
  1730. package/dist/surfaces/adapters/copilot.js +0 -59
  1731. package/dist/surfaces/adapters/copilot.js.map +0 -1
  1732. package/dist/surfaces/adapters/cursor.d.ts +0 -3
  1733. package/dist/surfaces/adapters/cursor.d.ts.map +0 -1
  1734. package/dist/surfaces/adapters/cursor.js +0 -78
  1735. package/dist/surfaces/adapters/cursor.js.map +0 -1
  1736. package/dist/surfaces/registry.d.ts +0 -76
  1737. package/dist/surfaces/registry.d.ts.map +0 -1
  1738. package/dist/surfaces/registry.js +0 -117
  1739. package/dist/surfaces/registry.js.map +0 -1
  1740. package/dist/surfaces/telemetry.d.ts +0 -17
  1741. package/dist/surfaces/telemetry.d.ts.map +0 -1
  1742. package/dist/surfaces/telemetry.js +0 -31
  1743. package/dist/surfaces/telemetry.js.map +0 -1
  1744. package/templates/archetypes/boundary.md +0 -23
  1745. package/templates/archetypes/constraint.md +0 -23
  1746. package/templates/archetypes/convention.md +0 -23
  1747. package/templates/archetypes/policy.md +0 -23
  1748. package/templates/archetypes/quality-gate.md +0 -23
  1749. package/templates/archetypes/workflow.md +0 -23
  1750. package/templates/general/code-integrity.md +0 -11
  1751. package/templates/general/getting-started.md +0 -12
  1752. package/templates/method-registry.json +0 -16
  1753. package/templates/node-ts/code-integrity.md +0 -13
  1754. package/templates/node-ts/testing.md +0 -12
  1755. package/templates/python/code-integrity.md +0 -13
  1756. package/templates/python/testing.md +0 -12
@@ -0,0 +1,115 @@
1
+ /**
2
+ * The entry limits every surface shares, in CHARACTERS (`string.length`) except where a name says
3
+ * otherwise. One file, so a number cannot drift between the server, the CLI and the MCP schemas.
4
+ *
5
+ * Body: 150,000 characters is the founder's ruling of 2026-10-03 (DEC-1853): the only physical
6
+ * ceiling is Convex's 1 MiB document, and every version row copies the body. `getDefaultConstraints`
7
+ * reads it for every collection's `body` field whatever its display hint, and for the `hero` hint
8
+ * (guards.ts; DEC-1880); the server create/update doors, the deploy fold
9
+ * step and the MCP capture/workflow schemas read it too (TASK-536, TASK-537; WP-791).
10
+ *
11
+ * Dependency-free: scripts/generate-mcp-embedded-copies.mjs copies it verbatim into the MCP server,
12
+ * because the MCP package builds alone on Railway (packages/mcp-server/Dockerfile) and so cannot
13
+ * import the kernel at runtime (DEC-1481; bundling the kernel at publish is DEC-1455, post-launch).
14
+ */
15
+ export declare const ENTRY_BODY_MAX_CHARS = 150000;
16
+ /**
17
+ * A rule's title limit, in UTF-8 bytes (RULE-703, DEC-2219): the rule row of the name cap table below. It is defined here, with
18
+ * the other name caps, because this file is copied verbatim into the connectors and cannot import the rule lists; the rule
19
+ * lists (kernel/governance/ruleLists.ts) re-export it and the rule gate refuses with it, so the number lives once.
20
+ */
21
+ export declare const RULE_TITLE_MAX_BYTES = 110;
22
+ /**
23
+ * The cap on an entry's `name` (top-level, not a data field) per kind (DEC-2512, DEC-2343, DEC-2550, DEC-2552): the one table
24
+ * every surface reads, so no other file holds a cap number. Characters are code points; the rule row is bytes. An objective or
25
+ * key result holds one label line (the Rail's); working kinds one short line, purpose, vision and strategy a sentence; every
26
+ * other collection keeps 250 until a ruling names it.
27
+ */
28
+ export declare const ENTRY_NAME_CAPS: {
29
+ readonly outcome: 40;
30
+ readonly working: 80;
31
+ readonly rule: 110;
32
+ readonly direction: 250;
33
+ readonly other: 250;
34
+ };
35
+ /** The longest name any kind may hold, derived from the table: the bound for a path that cannot know the kind (a schema, a platform seed). */
36
+ export declare const ENTRY_NAME_MAX_CHARS: number;
37
+ /** A name's length as a person counts it: code points, never bytes or UTF-16 units (one emoji is one character). */
38
+ export declare function nameChars(name: string): number;
39
+ /** The cap on a name in this collection (the catalog slug), in characters; a rule's is in bytes. A slug with no row of its own, or none, takes the `other` cap. */
40
+ export declare function nameCapFor(collectionSlug: string | null | undefined): number;
41
+ /** What a name refusal says to do, in words; the surface adds its own way to do it (DEC-1994). */
42
+ export declare const NAME_REFUSAL_FIX = "Shorten the name; the detail goes in the body.";
43
+ /**
44
+ * The one refusal for a name over its kind's cap, with the count and the cap (RULE-17), or null when the name fits. Every
45
+ * door that writes a name says this and nothing else (RULE-664). A rule's title is held in bytes by the rule gate, which
46
+ * refuses with its own sentence (`ruleLengthRefusal`), so this says nothing for the rule row.
47
+ */
48
+ export declare function entryNameRefusal(name: string, collectionSlug: string | null | undefined): string | null;
49
+ /** The help for a capture's name and body, the same words in the CLI and the MCP capture tool (RULE-664, DEC-2551). */
50
+ export declare const ENTRY_NAME_HELP: string;
51
+ /**
52
+ * The body cap of a kind that has one of its own, in characters (code points, as a name is counted), keyed by the catalog slug
53
+ * (DEC-2555): a key result's whole body is served to every agent beside its name, so its size is bounded at write, never cut at
54
+ * read (DEC-2219). 10 served key results at 4000 characters are about 40 KB, under a sixth of the 262,144-byte orient tier. Every
55
+ * other kind keeps ENTRY_BODY_MAX_CHARS.
56
+ */
57
+ export declare const ENTRY_BODY_CAPS: Readonly<Record<string, {
58
+ word: string;
59
+ max: number;
60
+ }>>;
61
+ /** What a body refusal says to do, in words; the surface adds its own way to do it (DEC-1994). */
62
+ export declare const BODY_REFUSAL_FIX = "Shorten the body; put longer detail in an entry linked to it.";
63
+ /**
64
+ * The one refusal for a body over its kind's cap, with the count and the cap (RULE-17), or null when it fits or the kind has no cap
65
+ * of its own. Every write door says this and nothing else (RULE-664); the caller asks only when the body is new or changed, so an old
66
+ * longer body stays until it is next edited.
67
+ */
68
+ export declare function entryBodyRefusal(body: unknown, collectionSlug: string | null | undefined): string | null;
69
+ /** What a key result's body opens with and how long it may be (DEC-2555, DEC-2512, DEC-2551): agents are served the whole body beside the 40-character name, and the sentence of
70
+ * what counts is the part they judge by (INS-3542). One sentence, the same in the CLI and the MCP capture tool; no field for it. */
71
+ export declare const KEY_RESULT_BODY_HELP: string;
72
+ export declare const ENTRY_BODY_HELP: string;
73
+ /** The verbatim excerpt that backs an entry's claims (`sourceExcerpt`). */
74
+ export declare const SOURCE_EXCERPT_MAX_CHARS = 4000;
75
+ /** A label's `description` (the write site refuses more; the MCP schemas read the same number). */
76
+ export declare const LABEL_DESCRIPTION_MAX_CHARS = 2000;
77
+ /** Relations accepted in one batch call (`relations action=batch-create`, capture's `links`). */
78
+ export declare const RELATION_BATCH_MAX = 25;
79
+ /**
80
+ * Ids per `chain.batchGetEntries` call from pb get, pb orient's Bound scope and the MCP get, which split a longer list into
81
+ * calls of this size (TASK-1639). Every id in a call is a full entry read in one Convex query, which allows 4,096 database
82
+ * calls: a worst-case entry costs 820 of them, so 4 need 3,280, 5 would need 4,106 and 20 would need 16,400 (pinned in
83
+ * convex/agentKnowledge/batchGetEntries.existenceOnly.test.ts). The server still takes 20, so a published client keeps working.
84
+ */
85
+ export declare const BATCH_GET_CHUNK = 4;
86
+ /** The ids read BATCH_GET_CHUNK to a call, the calls in parallel: one answer per id, in the order asked. */
87
+ export declare function readInChunks<T>(ids: string[], read: (chunk: string[]) => Promise<T[]>): Promise<T[]>;
88
+ /**
89
+ * The longest answer a question holds, in characters (`string.length`, as the MCP schema counts), after trimming (DEC-2634): an
90
+ * answer is written in full on the question, so it gets the same 4,000 as a key result's body. The answer door, the field guard
91
+ * on the question's `answer` field, the CLI and the MCP schema read this one number.
92
+ */
93
+ export declare const ANSWER_TEXT_MAX_CHARS = 4000;
94
+ /** What an answer refusal says to do, in words (DEC-1994). */
95
+ export declare const ANSWER_REFUSAL_FIX = "Shorten the answer.";
96
+ /** The one refusal for an answer over the cap, with the count and the cap (RULE-17), or null when it fits. */
97
+ export declare function answerTextRefusal(answer: string): string | null;
98
+ /** The refusal for an answer that is only a link (DEC-2634): a link goes beside the full answer, never instead of it. Surface-free words
99
+ * (DEC-1994); each surface adds its own way to write it (the CLI's command form, the MCP action spec). */
100
+ export declare const ANSWER_POINTER_ONLY_REFUSAL = "An answer is written in full: write the answer, and add the link beside it.";
101
+ /** The refusal for an answer with no text and no link. */
102
+ export declare const ANSWER_EMPTY_REFUSAL = "Answer text cannot be empty.";
103
+ /** The help for an answer's text and its optional link, the same words in the CLI and the MCP question tool (DEC-2551). */
104
+ export declare const ANSWER_TEXT_HELP: string;
105
+ export declare const ANSWER_ENTRY_HELP = "Link an entry beside the answer text; it resolves the question. Never instead of the text.";
106
+ /**
107
+ * The line an entry list prints when its read budget left rows out (TASK-1148, TASK-1157), with rows shown or none. It
108
+ * states the fact only: each surface adds the command it supports to narrow, or says its counts are of the rows read.
109
+ */
110
+ export declare function listCutLine(shown: number): string;
111
+ /** What a surface that cannot narrow a cut list adds to the cut line. */
112
+ export declare const LIST_COUNTS_OF_ROWS_READ = "The counts here are of the rows read.";
113
+ /** The line an entry read prints when it left some of a hub's links out (TASK-1157); the spine and rests-on links are never left out. */
114
+ export declare function relationsCutLine(shown: number): string;
115
+ //# sourceMappingURL=limits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../../src/lib/limits.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;CAAgG,CAAC;AAE7H,8IAA8I;AAC9I,eAAO,MAAM,oBAAoB,QAA8C,CAAC;AAsBhF,oHAAoH;AACpH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED,mKAAmK;AACnK,wBAAgB,UAAU,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAE5E;AAED,kGAAkG;AAClG,eAAO,MAAM,gBAAgB,mDAAmD,CAAC;AAEjF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAQvG;AAkBD,uHAAuH;AACvH,eAAO,MAAM,eAAe,QAA0C,CAAC;AACvE;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAEnF,CAAC;AAEF,kGAAkG;AAClG,eAAO,MAAM,gBAAgB,kEAAkE,CAAC;AAEhG;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAMxG;AAED;qIACqI;AACrI,eAAO,MAAM,oBAAoB,QAAiH,CAAC;AACnJ,eAAO,MAAM,eAAe,QAAqD,CAAC;AAElF,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAE7C,mGAAmG;AACnG,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAEhD,iGAAiG;AACjG,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC;;;;;GAKG;AACH,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC,4GAA4G;AAC5G,wBAAsB,YAAY,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAG1G;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAE1C,8DAA8D;AAC9D,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AAExD,8GAA8G;AAC9G,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG/D;AAED;2GAC2G;AAC3G,eAAO,MAAM,2BAA2B,gFAAgF,CAAC;AAEzH,0DAA0D;AAC1D,eAAO,MAAM,oBAAoB,iCAAiC,CAAC;AAEnE,2HAA2H;AAC3H,eAAO,MAAM,gBAAgB,QAA6F,CAAC;AAC3H,eAAO,MAAM,iBAAiB,+FAA+F,CAAC;AAE9H;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED,yEAAyE;AACzE,eAAO,MAAM,wBAAwB,0CAA0C,CAAC;AAEhF,yIAAyI;AACzI,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD"}
@@ -0,0 +1,175 @@
1
+ // GENERATED by scripts/generate-mcp-embedded-copies.mjs from kernel/entries/limits.ts.
2
+ // DO NOT EDIT. Run `npm run mcp:embedded-copies` to regenerate.
3
+ // Local runtime copy for the isolated connector build.
4
+ /**
5
+ * The entry limits every surface shares, in CHARACTERS (`string.length`) except where a name says
6
+ * otherwise. One file, so a number cannot drift between the server, the CLI and the MCP schemas.
7
+ *
8
+ * Body: 150,000 characters is the founder's ruling of 2026-10-03 (DEC-1853): the only physical
9
+ * ceiling is Convex's 1 MiB document, and every version row copies the body. `getDefaultConstraints`
10
+ * reads it for every collection's `body` field whatever its display hint, and for the `hero` hint
11
+ * (guards.ts; DEC-1880); the server create/update doors, the deploy fold
12
+ * step and the MCP capture/workflow schemas read it too (TASK-536, TASK-537; WP-791).
13
+ *
14
+ * Dependency-free: scripts/generate-mcp-embedded-copies.mjs copies it verbatim into the MCP server,
15
+ * because the MCP package builds alone on Railway (packages/mcp-server/Dockerfile) and so cannot
16
+ * import the kernel at runtime (DEC-1481; bundling the kernel at publish is DEC-1455, post-launch).
17
+ */
18
+ export const ENTRY_BODY_MAX_CHARS = 150000;
19
+ /**
20
+ * A rule's title limit, in UTF-8 bytes (RULE-703, DEC-2219): the rule row of the name cap table below. It is defined here, with
21
+ * the other name caps, because this file is copied verbatim into the connectors and cannot import the rule lists; the rule
22
+ * lists (kernel/governance/ruleLists.ts) re-export it and the rule gate refuses with it, so the number lives once.
23
+ */
24
+ export const RULE_TITLE_MAX_BYTES = 110;
25
+ /**
26
+ * The cap on an entry's `name` (top-level, not a data field) per kind (DEC-2512, DEC-2343, DEC-2550, DEC-2552): the one table
27
+ * every surface reads, so no other file holds a cap number. Characters are code points; the rule row is bytes. An objective or
28
+ * key result holds one label line (the Rail's); working kinds one short line, purpose, vision and strategy a sentence; every
29
+ * other collection keeps 250 until a ruling names it.
30
+ */
31
+ export const ENTRY_NAME_CAPS = { outcome: 40, working: 80, rule: RULE_TITLE_MAX_BYTES, direction: 250, other: 250 };
32
+ /** The longest name any kind may hold, derived from the table: the bound for a path that cannot know the kind (a schema, a platform seed). */
33
+ export const ENTRY_NAME_MAX_CHARS = Math.max(...Object.values(ENTRY_NAME_CAPS));
34
+ /** The kinds that have a cap of their own and the word a refusal and the help call each. A kind not listed takes the `other` cap. */
35
+ const NAME_KINDS = {
36
+ decisions: { word: 'decision', tier: 'working' },
37
+ tensions: { word: 'tension', tier: 'working' },
38
+ insights: { word: 'insight', tier: 'working' },
39
+ tasks: { word: 'task', tier: 'working' },
40
+ questions: { word: 'question', tier: 'working' },
41
+ 'work-packages': { word: 'work package', tier: 'working' },
42
+ purpose: { word: 'purpose', tier: 'direction' },
43
+ vision: { word: 'vision', tier: 'direction' },
44
+ strategy: { word: 'strategy', tier: 'direction' },
45
+ objectives: { word: 'objective', tier: 'outcome' },
46
+ 'key-results': { word: 'key result', tier: 'outcome' },
47
+ rules: { word: 'rule', tier: 'rule' },
48
+ teams: { word: 'team', tier: 'other' },
49
+ labels: { word: 'label', tier: 'other' },
50
+ };
51
+ /** A name's length as a person counts it: code points, never bytes or UTF-16 units (one emoji is one character). */
52
+ export function nameChars(name) {
53
+ return Array.from(name).length;
54
+ }
55
+ /** The cap on a name in this collection (the catalog slug), in characters; a rule's is in bytes. A slug with no row of its own, or none, takes the `other` cap. */
56
+ export function nameCapFor(collectionSlug) {
57
+ return ENTRY_NAME_CAPS[(collectionSlug ? NAME_KINDS[collectionSlug]?.tier : undefined) ?? 'other'];
58
+ }
59
+ /** What a name refusal says to do, in words; the surface adds its own way to do it (DEC-1994). */
60
+ export const NAME_REFUSAL_FIX = 'Shorten the name; the detail goes in the body.';
61
+ /**
62
+ * The one refusal for a name over its kind's cap, with the count and the cap (RULE-17), or null when the name fits. Every
63
+ * door that writes a name says this and nothing else (RULE-664). A rule's title is held in bytes by the rule gate, which
64
+ * refuses with its own sentence (`ruleLengthRefusal`), so this says nothing for the rule row.
65
+ */
66
+ export function entryNameRefusal(name, collectionSlug) {
67
+ const kind = collectionSlug ? NAME_KINDS[collectionSlug] : undefined;
68
+ if (kind?.tier === 'rule')
69
+ return null;
70
+ const chars = nameChars(name);
71
+ const cap = nameCapFor(collectionSlug);
72
+ if (chars <= cap)
73
+ return null;
74
+ const word = kind?.word ?? 'entry';
75
+ return `Name is ${chars} characters; the cap for ${/^[aeiou]/.test(word) ? 'an' : 'a'} ${word} is ${cap}. ${NAME_REFUSAL_FIX}`;
76
+ }
77
+ /** The kinds that share a cap, worded as one list: "a decision, tension or task". */
78
+ function kindsWithCap(cap) {
79
+ const words = Object.values(NAME_KINDS).filter((k) => ENTRY_NAME_CAPS[k.tier] === cap && k.tier !== 'other').map((k) => k.word);
80
+ return words.length < 2 ? words.join('') : `${words.slice(0, -1).join(', ')} or ${words[words.length - 1]}`;
81
+ }
82
+ /**
83
+ * The longest name each kind may hold, worded from the table so the help cannot drift from the refusal (DEC-2551): one clause
84
+ * per cap in order, then the cap every other kind takes. A kind whose cap equals the `other` cap is left to that last clause.
85
+ */
86
+ function nameLimitsSentence() {
87
+ const caps = [...new Set(Object.values(NAME_KINDS).map((k) => ENTRY_NAME_CAPS[k.tier]))].filter((cap) => cap !== ENTRY_NAME_CAPS.other).sort((a, b) => a - b);
88
+ const clauses = caps.map((cap, i) => `${cap}${cap === ENTRY_NAME_CAPS.rule ? ' bytes' : i === 0 ? ' characters' : ''} for ${/^[aeiou]/.test(kindsWithCap(cap)) ? 'an' : 'a'} ${kindsWithCap(cap)}`);
89
+ return `At most ${[...clauses, `${ENTRY_NAME_CAPS.other} for any other kind`].join(', ')}.`;
90
+ }
91
+ /** The help for a capture's name and body, the same words in the CLI and the MCP capture tool (RULE-664, DEC-2551). */
92
+ export const ENTRY_NAME_HELP = `A short name. ${nameLimitsSentence()}`;
93
+ /**
94
+ * The body cap of a kind that has one of its own, in characters (code points, as a name is counted), keyed by the catalog slug
95
+ * (DEC-2555): a key result's whole body is served to every agent beside its name, so its size is bounded at write, never cut at
96
+ * read (DEC-2219). 10 served key results at 4000 characters are about 40 KB, under a sixth of the 262,144-byte orient tier. Every
97
+ * other kind keeps ENTRY_BODY_MAX_CHARS.
98
+ */
99
+ export const ENTRY_BODY_CAPS = {
100
+ 'key-results': { word: 'key result', max: 4000 },
101
+ };
102
+ /** What a body refusal says to do, in words; the surface adds its own way to do it (DEC-1994). */
103
+ export const BODY_REFUSAL_FIX = 'Shorten the body; put longer detail in an entry linked to it.';
104
+ /**
105
+ * The one refusal for a body over its kind's cap, with the count and the cap (RULE-17), or null when it fits or the kind has no cap
106
+ * of its own. Every write door says this and nothing else (RULE-664); the caller asks only when the body is new or changed, so an old
107
+ * longer body stays until it is next edited.
108
+ */
109
+ export function entryBodyRefusal(body, collectionSlug) {
110
+ const row = collectionSlug ? ENTRY_BODY_CAPS[collectionSlug] : undefined;
111
+ if (!row || typeof body !== 'string')
112
+ return null;
113
+ const chars = nameChars(body);
114
+ if (chars <= row.max)
115
+ return null;
116
+ return `Body is ${chars} characters; the cap for ${/^[aeiou]/.test(row.word) ? 'an' : 'a'} ${row.word} is ${row.max}. ${BODY_REFUSAL_FIX}`;
117
+ }
118
+ /** What a key result's body opens with and how long it may be (DEC-2555, DEC-2512, DEC-2551): agents are served the whole body beside the 40-character name, and the sentence of
119
+ * what counts is the part they judge by (INS-3542). One sentence, the same in the CLI and the MCP capture tool; no field for it. */
120
+ export const KEY_RESULT_BODY_HELP = `For a key result, open with what counts toward it; at most ${ENTRY_BODY_CAPS['key-results'].max} characters.`;
121
+ export const ENTRY_BODY_HELP = `The detail, in Markdown. ${KEY_RESULT_BODY_HELP}`;
122
+ /** The verbatim excerpt that backs an entry's claims (`sourceExcerpt`). */
123
+ export const SOURCE_EXCERPT_MAX_CHARS = 4000;
124
+ /** A label's `description` (the write site refuses more; the MCP schemas read the same number). */
125
+ export const LABEL_DESCRIPTION_MAX_CHARS = 2000;
126
+ /** Relations accepted in one batch call (`relations action=batch-create`, capture's `links`). */
127
+ export const RELATION_BATCH_MAX = 25;
128
+ /**
129
+ * Ids per `chain.batchGetEntries` call from pb get, pb orient's Bound scope and the MCP get, which split a longer list into
130
+ * calls of this size (TASK-1639). Every id in a call is a full entry read in one Convex query, which allows 4,096 database
131
+ * calls: a worst-case entry costs 820 of them, so 4 need 3,280, 5 would need 4,106 and 20 would need 16,400 (pinned in
132
+ * convex/agentKnowledge/batchGetEntries.existenceOnly.test.ts). The server still takes 20, so a published client keeps working.
133
+ */
134
+ export const BATCH_GET_CHUNK = 4;
135
+ /** The ids read BATCH_GET_CHUNK to a call, the calls in parallel: one answer per id, in the order asked. */
136
+ export async function readInChunks(ids, read) {
137
+ const chunks = Array.from({ length: Math.ceil(ids.length / BATCH_GET_CHUNK) }, (_, i) => ids.slice(i * BATCH_GET_CHUNK, (i + 1) * BATCH_GET_CHUNK));
138
+ return (await Promise.all(chunks.map(read))).flat();
139
+ }
140
+ /**
141
+ * The longest answer a question holds, in characters (`string.length`, as the MCP schema counts), after trimming (DEC-2634): an
142
+ * answer is written in full on the question, so it gets the same 4,000 as a key result's body. The answer door, the field guard
143
+ * on the question's `answer` field, the CLI and the MCP schema read this one number.
144
+ */
145
+ export const ANSWER_TEXT_MAX_CHARS = 4000;
146
+ /** What an answer refusal says to do, in words (DEC-1994). */
147
+ export const ANSWER_REFUSAL_FIX = 'Shorten the answer.';
148
+ /** The one refusal for an answer over the cap, with the count and the cap (RULE-17), or null when it fits. */
149
+ export function answerTextRefusal(answer) {
150
+ if (answer.length <= ANSWER_TEXT_MAX_CHARS)
151
+ return null;
152
+ return `Answer is ${answer.length} characters; the cap for an answer is ${ANSWER_TEXT_MAX_CHARS}. ${ANSWER_REFUSAL_FIX}`;
153
+ }
154
+ /** The refusal for an answer that is only a link (DEC-2634): a link goes beside the full answer, never instead of it. Surface-free words
155
+ * (DEC-1994); each surface adds its own way to write it (the CLI's command form, the MCP action spec). */
156
+ export const ANSWER_POINTER_ONLY_REFUSAL = 'An answer is written in full: write the answer, and add the link beside it.';
157
+ /** The refusal for an answer with no text and no link. */
158
+ export const ANSWER_EMPTY_REFUSAL = 'Answer text cannot be empty.';
159
+ /** The help for an answer's text and its optional link, the same words in the CLI and the MCP question tool (DEC-2551). */
160
+ export const ANSWER_TEXT_HELP = `The answer in full, at most ${ANSWER_TEXT_MAX_CHARS.toLocaleString('en-US')} characters.`;
161
+ export const ANSWER_ENTRY_HELP = 'Link an entry beside the answer text; it resolves the question. Never instead of the text.';
162
+ /**
163
+ * The line an entry list prints when its read budget left rows out (TASK-1148, TASK-1157), with rows shown or none. It
164
+ * states the fact only: each surface adds the command it supports to narrow, or says its counts are of the rows read.
165
+ */
166
+ export function listCutLine(shown) {
167
+ return shown > 0 ? `Only the first ${shown} entries were read.` : 'No entries matched in the part of the list that was read.';
168
+ }
169
+ /** What a surface that cannot narrow a cut list adds to the cut line. */
170
+ export const LIST_COUNTS_OF_ROWS_READ = 'The counts here are of the rows read.';
171
+ /** The line an entry read prints when it left some of a hub's links out (TASK-1157); the spine and rests-on links are never left out. */
172
+ export function relationsCutLine(shown) {
173
+ return `Some links were left out: ${shown} are shown, every part_of, validates and rests-on link among them; no view shows the rest yet.`;
174
+ }
175
+ //# sourceMappingURL=limits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"limits.js","sourceRoot":"","sources":["../../src/lib/limits.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,86 @@
1
+ /**
2
+ * Repo-local binding resolution — turns what `.productbrain/config.local.json` declares into a
3
+ * credential, or refuses outright.
4
+ *
5
+ * Ordinary commands (`resolveConfig()` / `loadEnv()`) and `resolveAdminConfig()` share
6
+ * `resolvePinnedProfile()` so the pin validity bar cannot drift (STA-3 / TEN-3239). Admin still
7
+ * owns its own cascade around that helper: it never reads config.json siteUrl, CWD .env files, or
8
+ * preview / local-binding keys. Fail loud, fail closed, fail fast (RULE-268); default closed,
9
+ * explicitly opened (PRI-22).
10
+ */
11
+ import { type LocalProjectConfig } from './projectConfig.js';
12
+ /**
13
+ * Resolve the repo-local profile pin to a credential, or refuse outright.
14
+ *
15
+ * FAILS CLOSED on a DANGLING pin: a pin naming a profile that has since been deleted, or whose
16
+ * file carries no key, must NEVER fall through to the global active profile. The repo has
17
+ * explicitly declared its tenant; substituting a different one silently retargets every read AND
18
+ * write at a foreign workspace, and the gateway derives the workspace from the credential (BR-18)
19
+ * — so nothing downstream catches it.
20
+ *
21
+ * INS-2455 is the admin-path instance of exactly this fall-through. Admin now calls this helper
22
+ * too; a present-but-malformed key is a broken pin, not a credential.
23
+ */
24
+ export declare function resolvePinnedProfile(profileName: string): {
25
+ apiKey: string;
26
+ siteUrl?: string;
27
+ };
28
+ /**
29
+ * Does `config.local.json` CLAIM a direct credential binding of its own?
30
+ *
31
+ * The claim is the `preview` marker OR a credential — see `resolveLocalBinding()` below for why
32
+ * the marker alone is not the test. A claim is only a question, never an answer: it says the file
33
+ * MEANT to bind, not that it can. Use `bindsCompletely()` to decide whether a tenant is actually
34
+ * named.
35
+ */
36
+ export declare function declaresLocalBinding(localConfig: LocalProjectConfig | null): localConfig is LocalProjectConfig;
37
+ /**
38
+ * Does `config.local.json` declare a COMPLETE PREVIEW binding — independent of the environment?
39
+ *
40
+ * The env-independence is the whole point (Codex P2 r4). `config.ts`'s `getPreviewBinding()` asks
41
+ * a different question — "is a preview binding what pb is EFFECTIVELY using right now" — so it
42
+ * bails whenever `PRODUCTBRAIN_API_KEY` is set. But `loadEnv()` COPIES the preview key into that
43
+ * very variable, so after any command has resolved config, that question answers "no" on a
44
+ * genuinely preview-bound worktree. Reporting surfaces need the file's own declaration, and
45
+ * handle the env-override case separately and earlier (reportedProfile.ts's startup snapshot).
46
+ *
47
+ * Shared rather than copied so the completeness bar cannot drift (STA-3) — it is the same
48
+ * `bindsCompletely` (SF-3 atomic apiKey+siteUrl) both callers already depend on.
49
+ */
50
+ export declare function declaresCompletePreviewBinding(localConfig: LocalProjectConfig | null): {
51
+ workspaceName: string | null;
52
+ } | null;
53
+ /**
54
+ * Refuse when a project has declared itself (committed config.json) but named no tenant.
55
+ *
56
+ * A dangling pin is a different refusal (`resolvePinnedProfile`). This is the no-tenant case:
57
+ * config.json says "I am a Product Brain project" and nothing in config.local.json — neither a
58
+ * pin nor a direct/preview binding — says which workspace. Falling through to the global profile
59
+ * is the incident. A directory with no config.json is not a project — personal capture and
60
+ * `pb login` stay open.
61
+ *
62
+ * Call after the pin / preview-binding steps, before any global fallback. Those earlier steps
63
+ * already returned or threw when a tenant was claimed; this still re-checks the binding claim
64
+ * because `resolveAdminConfig()` has no binding step of its own and must not mistake a
65
+ * preview-bound worktree for an unpinned one.
66
+ */
67
+ export declare function refuseWhenProjectHasNoTenant(): void;
68
+ /**
69
+ * Resolve the direct credential binding in config.local.json, or null when the file does not
70
+ * claim one (the profile pin then owns resolution).
71
+ *
72
+ * The claim is the `preview` marker OR a credential of its own — deliberately NOT the marker
73
+ * alone. A file carrying an apiKey is asserting which workspace this repo talks to whether or not
74
+ * `pb:preview` stamped the marker, so gating on the marker would let a hand-written or
75
+ * partially-scrubbed binding be skipped and a sibling profile pin silently supply a different
76
+ * tenant's credential instead (the failure class TEN-3237/TEN-3238 closed for the pin path).
77
+ *
78
+ * Once claimed, only the atomic apiKey+siteUrl pair (SF-3) may bind — never a preview key paired
79
+ * with config.json's real-dev gateway (STD-261). Anything else refuses here, ahead of the pin, so
80
+ * a broken binding is named rather than routed around.
81
+ */
82
+ export declare function resolveLocalBinding(localConfig: LocalProjectConfig | null): {
83
+ apiKey: string;
84
+ siteUrl: string;
85
+ } | null;
86
+ //# sourceMappingURL=localBinding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localBinding.d.ts","sourceRoot":"","sources":["../../src/lib/localBinding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,EAA+C,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG1G;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAqB9F;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,kBAAkB,GAAG,IAAI,GACrC,WAAW,IAAI,kBAAkB,CAKnC;AAmBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,kBAAkB,GAAG,IAAI,GACrC;IAAE,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,CAGzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAiCnD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,kBAAkB,GAAG,IAAI,GACrC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAwB5C"}
@@ -0,0 +1,173 @@
1
+ /**
2
+ * Repo-local binding resolution — turns what `.productbrain/config.local.json` declares into a
3
+ * credential, or refuses outright.
4
+ *
5
+ * Ordinary commands (`resolveConfig()` / `loadEnv()`) and `resolveAdminConfig()` share
6
+ * `resolvePinnedProfile()` so the pin validity bar cannot drift (STA-3 / TEN-3239). Admin still
7
+ * owns its own cascade around that helper: it never reads config.json siteUrl, CWD .env files, or
8
+ * preview / local-binding keys. Fail loud, fail closed, fail fast (RULE-268); default closed,
9
+ * explicitly opened (PRI-22).
10
+ */
11
+ import { ConfigResolutionError } from './configResult.js';
12
+ import { ErrorCode } from './errors.js';
13
+ import { resolveNamedProfileConfig } from './profiles.js';
14
+ import { readLocalProjectConfig, projectConfigExists } from './projectConfig.js';
15
+ import { AGENT_KEY_PREFIX, API_KEY_PREFIX, isApiKeyShaped } from './tokenConstants.js';
16
+ /**
17
+ * Resolve the repo-local profile pin to a credential, or refuse outright.
18
+ *
19
+ * FAILS CLOSED on a DANGLING pin: a pin naming a profile that has since been deleted, or whose
20
+ * file carries no key, must NEVER fall through to the global active profile. The repo has
21
+ * explicitly declared its tenant; substituting a different one silently retargets every read AND
22
+ * write at a foreign workspace, and the gateway derives the workspace from the credential (BR-18)
23
+ * — so nothing downstream catches it.
24
+ *
25
+ * INS-2455 is the admin-path instance of exactly this fall-through. Admin now calls this helper
26
+ * too; a present-but-malformed key is a broken pin, not a credential.
27
+ */
28
+ export function resolvePinnedProfile(profileName) {
29
+ const namedConfig = resolveNamedProfileConfig(profileName);
30
+ // A present-but-malformed key is a broken pin, not a credential. Accepting it here would
31
+ // surface as a generic "no API key, run pb login" far downstream, pointing the operator
32
+ // away from the pin that actually broke.
33
+ if (!namedConfig?.apiKey || !isApiKeyShaped(namedConfig.apiKey)) {
34
+ throw new ConfigResolutionError(`This repo is pinned to profile "${profileName}" (.productbrain/config.local.json), ` +
35
+ `but that profile has no valid API key — it may have been deleted or never fully set up. ` +
36
+ `Refusing to silently fall back to a different workspace. ` +
37
+ `Run \`pb profile use --local <profile>\` to fix the pin, or \`pb profile create ${profileName}\` to restore it.`, {
38
+ code: ErrorCode.AUTH_MISSING,
39
+ category: 'auth',
40
+ kind: 'profile-pin',
41
+ nextCommand: 'pb profile use --local <profile>',
42
+ guidance: 'Run `pb profile use --local <profile>` to fix the repo pin.',
43
+ });
44
+ }
45
+ return { apiKey: namedConfig.apiKey, siteUrl: namedConfig.siteUrl };
46
+ }
47
+ /**
48
+ * Does `config.local.json` CLAIM a direct credential binding of its own?
49
+ *
50
+ * The claim is the `preview` marker OR a credential — see `resolveLocalBinding()` below for why
51
+ * the marker alone is not the test. A claim is only a question, never an answer: it says the file
52
+ * MEANT to bind, not that it can. Use `bindsCompletely()` to decide whether a tenant is actually
53
+ * named.
54
+ */
55
+ export function declaresLocalBinding(localConfig) {
56
+ if (!localConfig)
57
+ return false;
58
+ return (localConfig.preview === true || Boolean(localConfig.apiKey) || localConfig.apiKeyMalformed === true);
59
+ }
60
+ /**
61
+ * Does `config.local.json` carry a COMPLETE binding — the atomic apiKey+siteUrl pair (SF-3)?
62
+ *
63
+ * This, not the claim above, is what "the repo names a tenant" means. `resolveLocalBinding()`
64
+ * rejects a claimed-but-incomplete binding, but `resolveAdminConfig()` has no binding step to do
65
+ * that rejecting — so if `refuseWhenProjectHasNoTenant()` accepted a mere claim, a broken binding
66
+ * (`{ preview: true }` alone, a key with no siteUrl, a malformed key) would wave admin straight
67
+ * past the refusal into the global profile, which defaults to production (WP-681/INS-2455 is that
68
+ * exact incident). Shared by both so the bar cannot drift (STA-3), and it is the spec's own word:
69
+ * a *complete* preview binding is what stays unchanged.
70
+ */
71
+ function bindsCompletely(localConfig) {
72
+ return Boolean(localConfig?.apiKey && localConfig.siteUrl);
73
+ }
74
+ /**
75
+ * Does `config.local.json` declare a COMPLETE PREVIEW binding — independent of the environment?
76
+ *
77
+ * The env-independence is the whole point (Codex P2 r4). `config.ts`'s `getPreviewBinding()` asks
78
+ * a different question — "is a preview binding what pb is EFFECTIVELY using right now" — so it
79
+ * bails whenever `PRODUCTBRAIN_API_KEY` is set. But `loadEnv()` COPIES the preview key into that
80
+ * very variable, so after any command has resolved config, that question answers "no" on a
81
+ * genuinely preview-bound worktree. Reporting surfaces need the file's own declaration, and
82
+ * handle the env-override case separately and earlier (reportedProfile.ts's startup snapshot).
83
+ *
84
+ * Shared rather than copied so the completeness bar cannot drift (STA-3) — it is the same
85
+ * `bindsCompletely` (SF-3 atomic apiKey+siteUrl) both callers already depend on.
86
+ */
87
+ export function declaresCompletePreviewBinding(localConfig) {
88
+ if (localConfig?.preview !== true || !bindsCompletely(localConfig))
89
+ return null;
90
+ return { workspaceName: localConfig.workspaceName ?? null };
91
+ }
92
+ /**
93
+ * Refuse when a project has declared itself (committed config.json) but named no tenant.
94
+ *
95
+ * A dangling pin is a different refusal (`resolvePinnedProfile`). This is the no-tenant case:
96
+ * config.json says "I am a Product Brain project" and nothing in config.local.json — neither a
97
+ * pin nor a direct/preview binding — says which workspace. Falling through to the global profile
98
+ * is the incident. A directory with no config.json is not a project — personal capture and
99
+ * `pb login` stay open.
100
+ *
101
+ * Call after the pin / preview-binding steps, before any global fallback. Those earlier steps
102
+ * already returned or threw when a tenant was claimed; this still re-checks the binding claim
103
+ * because `resolveAdminConfig()` has no binding step of its own and must not mistake a
104
+ * preview-bound worktree for an unpinned one.
105
+ */
106
+ export function refuseWhenProjectHasNoTenant() {
107
+ // The declaration is the FILE, not its contents — a corrupt config.json must not read as
108
+ // "not a project" and reopen the fall-through exactly when the committed file is damaged.
109
+ if (!projectConfigExists())
110
+ return;
111
+ const localConfig = readLocalProjectConfig();
112
+ if (localConfig?.profile)
113
+ return;
114
+ // A COMPLETE direct/preview binding names a tenant too: `npm run pb:preview` writes apiKey +
115
+ // siteUrl and no `profile` field. resolveConfig()/loadEnv() already returned at their own
116
+ // binding step, so this only reaches the admin cascade — which by design does not consume
117
+ // preview keys, and without this would call a legitimately preview-bound worktree untenanted.
118
+ // COMPLETE, not merely claimed: an incomplete binding names nothing usable, and admin has no
119
+ // binding step to reject it, so accepting a claim here would route admin to the global profile
120
+ // (Codex review round 2 — a regression this line introduced and this word closes).
121
+ if (bindsCompletely(localConfig))
122
+ return;
123
+ // Deliberately NOT excepted: `PB_PROFILE`. It looks like an explicit tenant, but exported from
124
+ // a shell rc it is exactly as ambient as the global active profile whose silent substitution is
125
+ // the incident — so WP-694 names only an exported PRODUCTBRAIN_API_KEY as the escape hatch, and
126
+ // this refusal outranks the profile system that reads PB_PROFILE (Codex review, declined).
127
+ throw new ConfigResolutionError(`This repo is a Product Brain project (.productbrain/config.json) but has no tenant pin ` +
128
+ `in .productbrain/config.local.json. Refusing to silently use a different workspace. ` +
129
+ `Run \`pb profile use --local <profile>\` to pin this repo, or \`pb profile list\` to see your profiles.`, {
130
+ code: ErrorCode.AUTH_MISSING,
131
+ category: 'auth',
132
+ kind: 'missing-pin',
133
+ nextCommand: 'pb profile use --local <profile>',
134
+ guidance: 'Run `pb profile use --local <profile>` to pin this repo to a workspace.',
135
+ });
136
+ }
137
+ /**
138
+ * Resolve the direct credential binding in config.local.json, or null when the file does not
139
+ * claim one (the profile pin then owns resolution).
140
+ *
141
+ * The claim is the `preview` marker OR a credential of its own — deliberately NOT the marker
142
+ * alone. A file carrying an apiKey is asserting which workspace this repo talks to whether or not
143
+ * `pb:preview` stamped the marker, so gating on the marker would let a hand-written or
144
+ * partially-scrubbed binding be skipped and a sibling profile pin silently supply a different
145
+ * tenant's credential instead (the failure class TEN-3237/TEN-3238 closed for the pin path).
146
+ *
147
+ * Once claimed, only the atomic apiKey+siteUrl pair (SF-3) may bind — never a preview key paired
148
+ * with config.json's real-dev gateway (STD-261). Anything else refuses here, ahead of the pin, so
149
+ * a broken binding is named rather than routed around.
150
+ */
151
+ export function resolveLocalBinding(localConfig) {
152
+ if (!declaresLocalBinding(localConfig))
153
+ return null;
154
+ if (bindsCompletely(localConfig)) {
155
+ return { apiKey: localConfig.apiKey, siteUrl: localConfig.siteUrl.replace(/\/$/, '') };
156
+ }
157
+ // A malformed key is present-but-unusable, not absent — readLocalProjectConfig() withholds it
158
+ // from `apiKey` so it can never bind, and flags it so this refusal can name the real fault.
159
+ const fault = localConfig.apiKeyMalformed
160
+ ? `its API key does not start with ${API_KEY_PREFIX} or ${AGENT_KEY_PREFIX}`
161
+ : !localConfig.apiKey
162
+ ? 'missing API key'
163
+ : 'missing deployment URL';
164
+ throw new ConfigResolutionError(`This repo has an incomplete preview binding (.productbrain/config.local.json): ` +
165
+ `${fault}. Refusing to use its profile pin or another workspace instead.`, {
166
+ code: ErrorCode.CONFIG_INVALID,
167
+ category: 'config',
168
+ kind: 'preview-binding',
169
+ nextCommand: 'npm run pb:preview',
170
+ guidance: 'Run `npm run pb:preview` to repair the preview binding, or `npm run pb:real` to return to the repo pin.',
171
+ });
172
+ }
173
+ //# sourceMappingURL=localBinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localBinding.js","sourceRoot":"","sources":["../../src/lib/localBinding.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * A name made from a text (TASK-1419, DEC-2512; TEN-3332, DEC-1622): the text's first sentence when it fits `cap`, else the
3
+ * text cut back to the last word that fits. The question door (convex/questions/routingFacet.ts) and `pb capture` both name an
4
+ * entry this way, so a long capture text lands as a short name over the whole text as its body. Dependency-free:
5
+ * scripts/generate-mcp-embedded-copies.mjs copies it into the CLI, which builds alone.
6
+ *
7
+ * Lengths are code points (as `nameChars` in limits.ts counts them), so a cut never splits an emoji. Line breaks and runs of
8
+ * spaces fold to one space first: a name is one line.
9
+ *
10
+ * The first sentence wins whenever one exists within `cap`, however short (WP-707 S1 round 2, DEC-1622, operator ruling #10);
11
+ * an abbreviation such as "Dr." ending a sentence early is the accepted trade-off of a punctuation-only rule. Word-boundary
12
+ * cutting applies only when no sentence fits.
13
+ */
14
+ export declare function deriveNameFromText(text: string, cap: number): string;
15
+ //# sourceMappingURL=nameFromText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nameFromText.d.ts","sourceRoot":"","sources":["../../src/lib/nameFromText.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAepE"}