@interf/compiler 0.18.0 → 0.22.0

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 (369) hide show
  1. package/dist/cli/commands/build-plan.d.ts +2 -0
  2. package/dist/cli/commands/build-plan.js +376 -0
  3. package/dist/cli/commands/{compile.d.ts → build.d.ts} +2 -2
  4. package/dist/cli/commands/{compile.js → build.js} +18 -18
  5. package/dist/cli/commands/doctor.js +2 -2
  6. package/dist/cli/commands/mcp.d.ts +0 -34
  7. package/dist/cli/commands/mcp.js +261 -60
  8. package/dist/cli/commands/prep.js +67 -35
  9. package/dist/cli/commands/reset.d.ts +1 -1
  10. package/dist/cli/commands/reset.js +6 -6
  11. package/dist/cli/commands/runs.js +105 -33
  12. package/dist/cli/commands/status.js +4 -2
  13. package/dist/cli/commands/test.d.ts +10 -0
  14. package/dist/cli/commands/{verify.js → test.js} +19 -21
  15. package/dist/cli/commands/web.js +82 -8
  16. package/dist/cli/commands/wizard.js +63 -64
  17. package/dist/cli/index.d.ts +4 -4
  18. package/dist/cli/index.js +7 -7
  19. package/dist/interf-ui/404.html +1 -0
  20. package/dist/interf-ui/__next.__PAGE__.txt +10 -0
  21. package/dist/{compiler-ui → interf-ui}/__next._full.txt +12 -12
  22. package/dist/interf-ui/__next._head.txt +5 -0
  23. package/dist/{compiler-ui → interf-ui}/__next._index.txt +4 -4
  24. package/dist/{compiler-ui → interf-ui}/__next._tree.txt +3 -3
  25. package/dist/interf-ui/_next/static/chunks/0.tjb6f4golw..css +3 -0
  26. package/dist/interf-ui/_next/static/chunks/085-n_jv2ng_q.css +1 -0
  27. package/dist/{compiler-ui/_next/static/chunks/0_i-3_5l9t2qe.js → interf-ui/_next/static/chunks/0dn41fa_zvgsl.js} +1 -1
  28. package/dist/interf-ui/_next/static/chunks/0g-ea0zj5d-0k.js +1 -0
  29. package/dist/interf-ui/_next/static/chunks/0gwqglc4iz583.js +1 -0
  30. package/dist/interf-ui/_next/static/chunks/0haldgm65ve6l.js +1 -0
  31. package/dist/{compiler-ui/_next/static/chunks/08g7lvje.te.u.js → interf-ui/_next/static/chunks/0nv3am99vjzn4.js} +1 -1
  32. package/dist/{compiler-ui/_next/static/chunks/0n51hrfoufc7g.js → interf-ui/_next/static/chunks/0s77gt_o4jwtx.js} +1 -1
  33. package/dist/interf-ui/_next/static/chunks/0~a36ujuzpaz..js +116 -0
  34. package/dist/interf-ui/_next/static/chunks/10jeodxe4nkgj.js +31 -0
  35. package/dist/interf-ui/_next/static/chunks/119h2rouych2t.js +1 -0
  36. package/dist/interf-ui/_next/static/chunks/13c8b~m8knjsf.js +1 -0
  37. package/dist/{compiler-ui/_next/static/chunks/08m7vf5asqlsm.js → interf-ui/_next/static/chunks/14dznb2qpt-ho.js} +5 -5
  38. package/dist/interf-ui/_next/static/chunks/15z_en80lrq-3.js +5 -0
  39. package/dist/{compiler-ui/_next/static/chunks/turbopack-10e~t1yzi4svj.js → interf-ui/_next/static/chunks/turbopack-0p.pvcjrtq-jh.js} +1 -1
  40. package/dist/interf-ui/_next/static/chunks/turbopack-0usj_75.8frlw.js +1 -0
  41. package/dist/{compiler-ui → interf-ui}/_not-found/__next._full.txt +9 -9
  42. package/dist/interf-ui/_not-found/__next._head.txt +5 -0
  43. package/dist/{compiler-ui → interf-ui}/_not-found/__next._index.txt +4 -4
  44. package/dist/{compiler-ui → interf-ui}/_not-found/__next._not-found.__PAGE__.txt +2 -2
  45. package/dist/interf-ui/_not-found/__next._not-found.txt +5 -0
  46. package/dist/{compiler-ui → interf-ui}/_not-found/__next._tree.txt +2 -2
  47. package/dist/interf-ui/_not-found.html +1 -0
  48. package/dist/{compiler-ui → interf-ui}/_not-found.txt +9 -9
  49. package/dist/interf-ui/index.html +1 -0
  50. package/dist/{compiler-ui → interf-ui}/index.txt +12 -12
  51. package/dist/packages/build-plans/authoring/build-plan-authoring.d.ts +36 -0
  52. package/dist/packages/{methods/authoring/method-authoring.js → build-plans/authoring/build-plan-authoring.js} +57 -88
  53. package/dist/packages/build-plans/authoring/build-plan-edit-session.d.ts +18 -0
  54. package/dist/packages/{methods/authoring/method-edit-session.js → build-plans/authoring/build-plan-edit-session.js} +34 -34
  55. package/dist/packages/build-plans/authoring/build-plan-improvement.d.ts +23 -0
  56. package/dist/packages/build-plans/authoring/build-plan-improvement.js +216 -0
  57. package/dist/packages/build-plans/authoring/index.d.ts +4 -0
  58. package/dist/packages/build-plans/authoring/index.js +4 -0
  59. package/dist/packages/{methods/authoring/lib/method-edit-utils.d.ts → build-plans/authoring/lib/build-plan-edit-utils.d.ts} +3 -3
  60. package/dist/packages/build-plans/build-plan-resolution.d.ts +6 -0
  61. package/dist/packages/build-plans/build-plan-resolution.js +7 -0
  62. package/dist/packages/build-plans/index.d.ts +2 -0
  63. package/dist/packages/build-plans/index.js +2 -0
  64. package/dist/packages/build-plans/package/build-plan-definitions.d.ts +61 -0
  65. package/dist/packages/build-plans/package/build-plan-definitions.js +214 -0
  66. package/dist/packages/{methods/package/method-helpers.d.ts → build-plans/package/build-plan-helpers.d.ts} +7 -7
  67. package/dist/packages/{methods/package/method-helpers.js → build-plans/package/build-plan-helpers.js} +20 -20
  68. package/dist/packages/build-plans/package/build-plan-review-paths.d.ts +10 -0
  69. package/dist/packages/build-plans/package/build-plan-review-paths.js +31 -0
  70. package/dist/packages/{methods/package/method-stage-runner.d.ts → build-plans/package/build-plan-stage-runner.d.ts} +12 -12
  71. package/dist/packages/{methods/package/method-stage-runner.js → build-plans/package/build-plan-stage-runner.js} +10 -10
  72. package/dist/packages/build-plans/package/builtin-build-plan.d.ts +37 -0
  73. package/dist/packages/build-plans/package/builtin-build-plan.js +91 -0
  74. package/dist/packages/{methods → build-plans}/package/context-interface.d.ts +11 -11
  75. package/dist/packages/{methods → build-plans}/package/context-interface.js +23 -23
  76. package/dist/packages/build-plans/package/interf-build-plan-package.d.ts +31 -0
  77. package/dist/packages/build-plans/package/interf-build-plan-package.js +466 -0
  78. package/dist/packages/{methods → build-plans}/package/lib/package-root.js +1 -1
  79. package/dist/packages/build-plans/package/local-build-plans.d.ts +74 -0
  80. package/dist/packages/build-plans/package/local-build-plans.js +472 -0
  81. package/dist/packages/build-plans/package/user-build-plans.d.ts +17 -0
  82. package/dist/packages/build-plans/package/user-build-plans.js +77 -0
  83. package/dist/packages/contracts/index.d.ts +1 -1
  84. package/dist/packages/contracts/lib/preparation-paths.d.ts +37 -37
  85. package/dist/packages/contracts/lib/preparation-paths.js +43 -43
  86. package/dist/packages/contracts/lib/schema.d.ts +38 -41
  87. package/dist/packages/contracts/lib/schema.js +44 -35
  88. package/dist/packages/engine/action-definitions.d.ts +228 -67
  89. package/dist/packages/engine/action-definitions.js +277 -273
  90. package/dist/packages/engine/action-planner.d.ts +2 -2
  91. package/dist/packages/engine/action-planner.js +8 -15
  92. package/dist/packages/engine/action-values.d.ts +1 -1
  93. package/dist/packages/engine/action-values.js +1 -1
  94. package/dist/packages/engine/agents/index.d.ts +2 -2
  95. package/dist/packages/engine/agents/index.js +1 -1
  96. package/dist/packages/engine/agents/lib/args.d.ts +2 -2
  97. package/dist/packages/engine/agents/lib/args.js +1 -1
  98. package/dist/packages/engine/agents/lib/constants.js +1 -1
  99. package/dist/packages/engine/agents/lib/execution-profile.d.ts +5 -5
  100. package/dist/packages/engine/agents/lib/execution-profile.js +3 -3
  101. package/dist/packages/engine/agents/lib/executors.d.ts +11 -11
  102. package/dist/packages/engine/agents/lib/render.js +4 -4
  103. package/dist/packages/engine/agents/lib/shells.d.ts +33 -31
  104. package/dist/packages/engine/agents/lib/shells.js +254 -250
  105. package/dist/packages/engine/agents/lib/types.d.ts +2 -2
  106. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.d.ts +3 -0
  107. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.js +19 -0
  108. package/dist/packages/engine/agents/role-executors.d.ts +7 -7
  109. package/dist/packages/engine/agents/role-executors.js +2 -2
  110. package/dist/packages/engine/agents/role-router.d.ts +2 -2
  111. package/dist/packages/engine/agents/role-router.js +1 -1
  112. package/dist/packages/engine/build/artifact-counts.d.ts +1 -0
  113. package/dist/packages/engine/{compile → build}/artifact-counts.js +7 -7
  114. package/dist/packages/engine/{compile → build}/artifact-status.d.ts +8 -8
  115. package/dist/packages/engine/{compile → build}/artifact-status.js +19 -19
  116. package/dist/packages/engine/{compile → build}/billing-events.d.ts +4 -4
  117. package/dist/packages/engine/{compile → build}/billing-events.js +4 -4
  118. package/dist/packages/engine/build/build-execution.d.ts +4 -0
  119. package/dist/packages/engine/build/build-execution.js +4 -0
  120. package/dist/packages/engine/build/build-pipeline.d.ts +56 -0
  121. package/dist/packages/engine/{compile/compiled-pipeline.js → build/build-pipeline.js} +55 -55
  122. package/dist/packages/engine/build/build-plan-primitives.d.ts +2 -0
  123. package/dist/packages/engine/{compile/method-primitives.js → build/build-plan-primitives.js} +1 -1
  124. package/dist/packages/engine/build/build-plan-runs.d.ts +14 -0
  125. package/dist/packages/engine/build/build-plan-runs.js +31 -0
  126. package/dist/packages/engine/build/build-stage-plan.d.ts +16 -0
  127. package/dist/packages/engine/build/build-stage-plan.js +100 -0
  128. package/dist/packages/engine/build/build-stage-runner.d.ts +15 -0
  129. package/dist/packages/engine/{compile/compiled-stage-runner.js → build/build-stage-runner.js} +21 -21
  130. package/dist/packages/engine/build/build-target.d.ts +11 -0
  131. package/dist/packages/engine/build/build-target.js +16 -0
  132. package/dist/packages/engine/{compile → build}/check-evaluator.d.ts +4 -4
  133. package/dist/packages/engine/{compile → build}/check-evaluator.js +1 -1
  134. package/dist/packages/engine/{compile → build}/discovery.d.ts +2 -2
  135. package/dist/packages/engine/{compile → build}/discovery.js +4 -4
  136. package/dist/packages/engine/{compile → build}/index.d.ts +6 -6
  137. package/dist/packages/engine/{compile → build}/index.js +5 -5
  138. package/dist/packages/engine/{compile → build}/lib/schema.d.ts +79 -79
  139. package/dist/packages/engine/{compile → build}/lib/schema.js +71 -71
  140. package/dist/packages/engine/build/reset.d.ts +2 -0
  141. package/dist/packages/engine/build/reset.js +74 -0
  142. package/dist/packages/engine/{compile → build}/runtime-contracts.js +8 -8
  143. package/dist/packages/engine/build/runtime-inventory.d.ts +7 -0
  144. package/dist/packages/engine/{compile → build}/runtime-inventory.js +8 -8
  145. package/dist/packages/engine/{compile → build}/runtime-paths.js +6 -6
  146. package/dist/packages/engine/{compile → build}/runtime-prompt.js +11 -11
  147. package/dist/packages/engine/build/runtime-reconcile.d.ts +2 -0
  148. package/dist/packages/engine/{compile → build}/runtime-reconcile.js +18 -18
  149. package/dist/packages/engine/{compile → build}/runtime-runs.js +27 -27
  150. package/dist/packages/engine/{compile → build}/runtime-types.d.ts +10 -10
  151. package/dist/packages/engine/build/source-files.d.ts +46 -0
  152. package/dist/packages/engine/{compile → build}/source-files.js +32 -32
  153. package/dist/packages/engine/build/state-artifacts.d.ts +9 -0
  154. package/dist/packages/engine/build/state-artifacts.js +14 -0
  155. package/dist/packages/engine/build/state-health.d.ts +4 -0
  156. package/dist/packages/engine/{compile → build}/state-health.js +40 -40
  157. package/dist/packages/engine/build/state-io.d.ts +11 -0
  158. package/dist/packages/engine/{compile → build}/state-io.js +22 -22
  159. package/dist/packages/engine/build/state-paths.js +16 -0
  160. package/dist/packages/engine/build/state-view.d.ts +5 -0
  161. package/dist/packages/engine/{compile → build}/state-view.js +29 -29
  162. package/dist/packages/engine/build/state.d.ts +7 -0
  163. package/dist/packages/engine/build/state.js +12 -0
  164. package/dist/packages/engine/build/validate-verifiable-context.d.ts +27 -0
  165. package/dist/packages/engine/{compile/validate-compiled.js → build/validate-verifiable-context.js} +73 -73
  166. package/dist/packages/engine/{compile → build}/validate.d.ts +4 -4
  167. package/dist/packages/engine/{compile → build}/validate.js +27 -27
  168. package/dist/packages/engine/build/verifiable-context-paths.d.ts +47 -0
  169. package/dist/packages/engine/build/verifiable-context-paths.js +121 -0
  170. package/dist/packages/engine/build/verifiable-context-schema.d.ts +21 -0
  171. package/dist/packages/engine/build/verifiable-context-schema.js +126 -0
  172. package/dist/packages/engine/client.d.ts +16 -16
  173. package/dist/packages/engine/client.js +21 -21
  174. package/dist/packages/engine/cloud-seams.d.ts +3 -3
  175. package/dist/packages/engine/connection-config.js +1 -1
  176. package/dist/packages/engine/execution/index.d.ts +2 -2
  177. package/dist/packages/engine/execution/index.js +1 -1
  178. package/dist/packages/engine/execution/lib/schema.d.ts +100 -95
  179. package/dist/packages/engine/execution/lib/schema.js +31 -31
  180. package/dist/packages/engine/index.d.ts +7 -7
  181. package/dist/packages/engine/index.js +3 -3
  182. package/dist/packages/engine/instance-paths.d.ts +45 -39
  183. package/dist/packages/engine/instance-paths.js +54 -48
  184. package/dist/packages/engine/lib/schema.d.ts +1568 -484
  185. package/dist/packages/engine/lib/schema.js +172 -161
  186. package/dist/packages/engine/native-run-handlers.d.ts +12 -12
  187. package/dist/packages/engine/native-run-handlers.js +138 -136
  188. package/dist/packages/engine/preparation-store.d.ts +31 -36
  189. package/dist/packages/engine/preparation-store.js +42 -31
  190. package/dist/packages/engine/readiness-check-draft.d.ts +2 -2
  191. package/dist/packages/engine/readiness-check-draft.js +1 -1
  192. package/dist/packages/engine/requested-artifacts.d.ts +5 -0
  193. package/dist/packages/engine/requested-artifacts.js +36 -0
  194. package/dist/packages/engine/routes.d.ts +18 -17
  195. package/dist/packages/engine/routes.js +20 -19
  196. package/dist/packages/engine/run-observability.d.ts +5 -3
  197. package/dist/packages/engine/run-observability.js +103 -90
  198. package/dist/packages/engine/runtime-caches.d.ts +16 -16
  199. package/dist/packages/engine/runtime-caches.js +26 -26
  200. package/dist/packages/engine/runtime-event-applier.d.ts +2 -2
  201. package/dist/packages/engine/runtime-event-applier.js +1 -1
  202. package/dist/packages/engine/runtime-persistence.d.ts +9 -9
  203. package/dist/packages/engine/runtime-persistence.js +16 -16
  204. package/dist/packages/engine/runtime-proposal-helpers.d.ts +15 -15
  205. package/dist/packages/engine/runtime-proposal-helpers.js +81 -85
  206. package/dist/packages/engine/runtime-resource-builders.d.ts +16 -11
  207. package/dist/packages/engine/runtime-resource-builders.js +32 -21
  208. package/dist/packages/engine/runtime.d.ts +53 -60
  209. package/dist/packages/engine/runtime.js +555 -453
  210. package/dist/packages/engine/server.d.ts +2 -2
  211. package/dist/packages/engine/server.js +226 -143
  212. package/dist/packages/engine/service-registry.d.ts +5 -17
  213. package/dist/packages/engine/service-registry.js +5 -20
  214. package/dist/packages/engine/verify/lib/schema.d.ts +19 -19
  215. package/dist/packages/engine/verify/lib/schema.js +36 -8
  216. package/dist/packages/engine/verify/readiness-check-run.d.ts +15 -16
  217. package/dist/packages/engine/verify/readiness-check-run.js +46 -46
  218. package/dist/packages/engine/verify/verify-execution.d.ts +3 -3
  219. package/dist/packages/engine/verify/verify-execution.js +10 -10
  220. package/dist/packages/engine/verify/verify-paths.d.ts +4 -4
  221. package/dist/packages/engine/verify/verify-paths.js +17 -17
  222. package/dist/packages/engine/verify/verify-sandbox.d.ts +1 -1
  223. package/dist/packages/engine/verify/verify-sandbox.js +26 -26
  224. package/dist/packages/engine/verify/verify-targets.d.ts +2 -2
  225. package/dist/packages/engine/verify/verify-targets.js +17 -17
  226. package/dist/packages/engine/verify/verify-types.d.ts +2 -2
  227. package/dist/packages/engine/verify/verify.d.ts +1 -1
  228. package/dist/packages/engine/verify/verify.js +1 -1
  229. package/dist/packages/engine/wire-schemas.d.ts +42 -40
  230. package/dist/packages/engine/wire-schemas.js +13 -13
  231. package/dist/packages/project/index.d.ts +1 -1
  232. package/dist/packages/project/interf-bootstrap.d.ts +1 -1
  233. package/dist/packages/project/interf-bootstrap.js +1 -1
  234. package/dist/packages/project/interf-detect.d.ts +11 -11
  235. package/dist/packages/project/interf-detect.js +36 -36
  236. package/dist/packages/project/interf-scaffold.d.ts +3 -3
  237. package/dist/packages/project/interf-scaffold.js +72 -72
  238. package/dist/packages/project/interf.d.ts +4 -4
  239. package/dist/packages/project/interf.js +3 -3
  240. package/dist/packages/project/lib/schema.d.ts +205 -12
  241. package/dist/packages/project/lib/schema.js +59 -14
  242. package/dist/packages/project/preparation-entries.d.ts +3 -3
  243. package/dist/packages/project/preparation-entries.js +19 -19
  244. package/dist/packages/project/source-config.d.ts +10 -10
  245. package/dist/packages/project/source-config.js +62 -58
  246. package/dist/packages/project/source-folders.js +1 -1
  247. package/package.json +14 -17
  248. package/public-repo/CONTRIBUTING.md +47 -0
  249. package/public-repo/README.md +327 -0
  250. package/public-repo/SECURITY.md +67 -0
  251. package/public-repo/build-plans/interf-default/README.md +33 -0
  252. package/public-repo/build-plans/interf-default/build/stages/shape/SKILL.md +27 -0
  253. package/{builtin-methods/interf-default/compile → public-repo/build-plans/interf-default/build}/stages/structure/SKILL.md +2 -2
  254. package/{builtin-methods/interf-default/compile → public-repo/build-plans/interf-default/build}/stages/summarize/SKILL.md +1 -1
  255. package/{builtin-methods/interf-default/method.json → public-repo/build-plans/interf-default/build-plan.json} +16 -16
  256. package/{builtin-methods/interf-default/method.schema.json → public-repo/build-plans/interf-default/build-plan.schema.json} +4 -4
  257. package/public-repo/build-plans/interf-default/improve/SKILL.md +18 -0
  258. package/public-repo/build-plans/interf-default/use/query/SKILL.md +23 -0
  259. package/public-repo/plugins/README.md +9 -0
  260. package/public-repo/plugins/interf/.claude-plugin/plugin.json +21 -0
  261. package/public-repo/plugins/interf/.mcp.json +12 -0
  262. package/public-repo/plugins/interf/README.md +32 -0
  263. package/public-repo/plugins/interf/skills/interf/SKILL.md +376 -0
  264. package/public-repo/skills/interf/SKILL.md +376 -0
  265. package/README.md +0 -311
  266. package/agent-skills/interf-actions/SKILL.md +0 -185
  267. package/agent-skills/interf-actions/references/cli.md +0 -243
  268. package/builtin-methods/interf-default/README.md +0 -29
  269. package/builtin-methods/interf-default/compile/stages/shape/SKILL.md +0 -31
  270. package/builtin-methods/interf-default/improve/SKILL.md +0 -18
  271. package/builtin-methods/interf-default/use/query/SKILL.md +0 -28
  272. package/dist/cli/commands/method.d.ts +0 -2
  273. package/dist/cli/commands/method.js +0 -113
  274. package/dist/cli/commands/verify.d.ts +0 -10
  275. package/dist/compiler-ui/404.html +0 -1
  276. package/dist/compiler-ui/__next.__PAGE__.txt +0 -10
  277. package/dist/compiler-ui/__next._head.txt +0 -5
  278. package/dist/compiler-ui/_next/static/chunks/06yhdspx~ca5-.js +0 -5
  279. package/dist/compiler-ui/_next/static/chunks/06z~l3kwb891e.js +0 -1
  280. package/dist/compiler-ui/_next/static/chunks/0_c_tvh-cukjz.css +0 -3
  281. package/dist/compiler-ui/_next/static/chunks/0b-ywny_j0g~0.js +0 -1
  282. package/dist/compiler-ui/_next/static/chunks/0b52v41o1gixx.js +0 -1
  283. package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +0 -114
  284. package/dist/compiler-ui/_next/static/chunks/0gpzgsv0w.q~m.js +0 -31
  285. package/dist/compiler-ui/_next/static/chunks/0ilwfezfvu6~-.js +0 -1
  286. package/dist/compiler-ui/_next/static/chunks/0xxmf45eskdt~.css +0 -1
  287. package/dist/compiler-ui/_next/static/chunks/14wtz~vq25~qq.js +0 -1
  288. package/dist/compiler-ui/_next/static/chunks/turbopack-0.uq1k8c0j4s..js +0 -1
  289. package/dist/compiler-ui/_not-found/__next._head.txt +0 -5
  290. package/dist/compiler-ui/_not-found/__next._not-found.txt +0 -5
  291. package/dist/compiler-ui/_not-found.html +0 -1
  292. package/dist/compiler-ui/index.html +0 -1
  293. package/dist/packages/engine/agents/lib/compiled-bootstrap.d.ts +0 -3
  294. package/dist/packages/engine/agents/lib/compiled-bootstrap.js +0 -19
  295. package/dist/packages/engine/compile/artifact-counts.d.ts +0 -1
  296. package/dist/packages/engine/compile/compiled-compile.d.ts +0 -4
  297. package/dist/packages/engine/compile/compiled-compile.js +0 -4
  298. package/dist/packages/engine/compile/compiled-paths.d.ts +0 -47
  299. package/dist/packages/engine/compile/compiled-paths.js +0 -121
  300. package/dist/packages/engine/compile/compiled-pipeline.d.ts +0 -56
  301. package/dist/packages/engine/compile/compiled-schema.d.ts +0 -21
  302. package/dist/packages/engine/compile/compiled-schema.js +0 -126
  303. package/dist/packages/engine/compile/compiled-stage-plan.d.ts +0 -16
  304. package/dist/packages/engine/compile/compiled-stage-plan.js +0 -100
  305. package/dist/packages/engine/compile/compiled-stage-runner.d.ts +0 -15
  306. package/dist/packages/engine/compile/compiled-target.d.ts +0 -11
  307. package/dist/packages/engine/compile/compiled-target.js +0 -16
  308. package/dist/packages/engine/compile/method-primitives.d.ts +0 -2
  309. package/dist/packages/engine/compile/method-runs.d.ts +0 -14
  310. package/dist/packages/engine/compile/method-runs.js +0 -31
  311. package/dist/packages/engine/compile/reset.d.ts +0 -2
  312. package/dist/packages/engine/compile/reset.js +0 -74
  313. package/dist/packages/engine/compile/runtime-inventory.d.ts +0 -7
  314. package/dist/packages/engine/compile/runtime-reconcile.d.ts +0 -2
  315. package/dist/packages/engine/compile/source-files.d.ts +0 -46
  316. package/dist/packages/engine/compile/state-artifacts.d.ts +0 -9
  317. package/dist/packages/engine/compile/state-artifacts.js +0 -14
  318. package/dist/packages/engine/compile/state-health.d.ts +0 -4
  319. package/dist/packages/engine/compile/state-io.d.ts +0 -11
  320. package/dist/packages/engine/compile/state-paths.js +0 -16
  321. package/dist/packages/engine/compile/state-view.d.ts +0 -5
  322. package/dist/packages/engine/compile/state.d.ts +0 -7
  323. package/dist/packages/engine/compile/state.js +0 -12
  324. package/dist/packages/engine/compile/validate-compiled.d.ts +0 -27
  325. package/dist/packages/methods/authoring/index.d.ts +0 -4
  326. package/dist/packages/methods/authoring/index.js +0 -4
  327. package/dist/packages/methods/authoring/method-authoring.d.ts +0 -34
  328. package/dist/packages/methods/authoring/method-edit-session.d.ts +0 -18
  329. package/dist/packages/methods/authoring/method-improvement.d.ts +0 -23
  330. package/dist/packages/methods/authoring/method-improvement.js +0 -217
  331. package/dist/packages/methods/index.d.ts +0 -2
  332. package/dist/packages/methods/index.js +0 -2
  333. package/dist/packages/methods/method-resolution.d.ts +0 -6
  334. package/dist/packages/methods/method-resolution.js +0 -7
  335. package/dist/packages/methods/package/builtin-compiled-method.d.ts +0 -37
  336. package/dist/packages/methods/package/builtin-compiled-method.js +0 -91
  337. package/dist/packages/methods/package/interf-method-package.d.ts +0 -31
  338. package/dist/packages/methods/package/interf-method-package.js +0 -466
  339. package/dist/packages/methods/package/local-methods.d.ts +0 -73
  340. package/dist/packages/methods/package/local-methods.js +0 -457
  341. package/dist/packages/methods/package/method-definitions.d.ts +0 -61
  342. package/dist/packages/methods/package/method-definitions.js +0 -214
  343. package/dist/packages/methods/package/method-review-paths.d.ts +0 -10
  344. package/dist/packages/methods/package/method-review-paths.js +0 -31
  345. package/dist/packages/methods/package/user-methods.d.ts +0 -17
  346. package/dist/packages/methods/package/user-methods.js +0 -77
  347. /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_buildManifest.js +0 -0
  348. /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_clientMiddlewareManifest.js +0 -0
  349. /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_ssgManifest.js +0 -0
  350. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/03~yq9q893hmn.js +0 -0
  351. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/0y5z3t-z1c8ks.js.map +0 -0
  352. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +0 -0
  353. /package/dist/{compiler-ui → interf-ui}/_next/static/media/GeistMono_Variable.p.17jn9btb_52pq.woff2 +0 -0
  354. /package/dist/{compiler-ui → interf-ui}/_next/static/media/Geist_Variable-s.p.0-te~ja_gpvcf.woff2 +0 -0
  355. /package/dist/{compiler-ui → interf-ui}/_next/static/media/worker.102zas1s52_pf.js +0 -0
  356. /package/dist/packages/{methods/authoring/lib/method-edit-utils.js → build-plans/authoring/lib/build-plan-edit-utils.js} +0 -0
  357. /package/dist/packages/{methods → build-plans}/package/lib/package-root.d.ts +0 -0
  358. /package/dist/packages/engine/{compile → build}/runtime-contracts.d.ts +0 -0
  359. /package/dist/packages/engine/{compile → build}/runtime-paths.d.ts +0 -0
  360. /package/dist/packages/engine/{compile → build}/runtime-prompt.d.ts +0 -0
  361. /package/dist/packages/engine/{compile → build}/runtime-runs.d.ts +0 -0
  362. /package/dist/packages/engine/{compile → build}/runtime-types.js +0 -0
  363. /package/dist/packages/engine/{compile → build}/runtime.d.ts +0 -0
  364. /package/dist/packages/engine/{compile → build}/runtime.js +0 -0
  365. /package/dist/packages/engine/{compile → build}/state-paths.d.ts +0 -0
  366. /package/dist/packages/engine/{compile → build}/validate-helpers.d.ts +0 -0
  367. /package/dist/packages/engine/{compile → build}/validate-helpers.js +0 -0
  368. /package/{LICENSE.md → public-repo/LICENSE.md} +0 -0
  369. /package/{TRADEMARKS.md → public-repo/TRADEMARKS.md} +0 -0
@@ -1,243 +0,0 @@
1
- # Interf CLI Reference Snapshot
2
-
3
- <!-- Generated from the built CLI help by scripts/docs/sync-agent-skill-cli-reference.mjs. Do not edit by hand. -->
4
-
5
- This snapshot is bundled with the `interf-actions` skill. The installed `interf` command remains the source of truth when available.
6
-
7
- ## interf
8
-
9
- ```text
10
- interf
11
-
12
- Open the interactive wizard (default when no subcommand is given)
13
-
14
- Commands:
15
- interf Open the interactive wizard (default when no subcommand is given) [default]
16
- interf init Open the interactive wizard
17
- interf compile <prep-id> Start a compile run for a preparation
18
- interf verify <prep-id> Verify a preparation's claim-checks against its portable context
19
- interf agents <subcommand> Manage connected agents and role mapping
20
- interf doctor Check local executor configuration before a real local run
21
- interf method <subcommand> Manage methods on the connected instance
22
- interf mcp Run the Interf Model Context Protocol server (stdio by default).
23
- interf runs <subcommand> Inspect runs on the connected instance
24
- interf status Show connection + preparation summary
25
- interf web [subcommand] Start / stop / inspect the Interf engine
26
- interf reset <prep-id> Reset a preparation's compile output
27
- interf prep <subcommand> Manage preparations on the connected instance
28
- interf login Set the active Interf instance connection (URL + optional bearer token)
29
- interf logout Clear the active Interf instance connection
30
-
31
- Options:
32
- --help Show help [boolean]
33
- --version Show version number [boolean]
34
- --url Override the active connection URL [string]
35
- --token Override the active bearer token [string]
36
- ```
37
-
38
- ## interf web
39
-
40
- ```text
41
- interf web [subcommand]
42
-
43
- Start / stop / inspect the Interf engine
44
-
45
- Commands:
46
- interf web stop Stop the connected engine
47
- interf web status Show engine status via the connected URL
48
- interf web Start the engine in the foreground (default) [default]
49
-
50
- Options:
51
- --help Show help [boolean]
52
- --version Show version number [boolean]
53
- --host Host to bind [string] [default: "127.0.0.1"]
54
- --port Port to bind [number] [default: 4873]
55
- ```
56
-
57
- ## interf prep
58
-
59
- ```text
60
- interf prep <subcommand>
61
-
62
- Manage preparations on the connected instance
63
-
64
- Commands:
65
- interf prep ls List preparations
66
- interf prep create <prep-id> Create a preparation (method binding optional — set later if you don't have one yet)
67
- interf prep set-method <prep-id> <method-id> Bind a method to a preparation (or change which method it uses)
68
- interf prep show <prep-id> Show a preparation's full record
69
- interf prep rm <prep-id> Delete a preparation
70
-
71
- Options:
72
- --help Show help [boolean]
73
- --version Show version number [boolean]
74
- --url Override the active connection URL [string]
75
- --token Override the active bearer token [string]
76
- ```
77
-
78
- ## interf compile
79
-
80
- ```text
81
- interf compile <prep-id>
82
-
83
- Start a compile run for a preparation
84
-
85
- Positionals:
86
- prep-id Preparation id [string] [required]
87
-
88
- Options:
89
- --help Show help [boolean]
90
- --version Show version number [boolean]
91
- --watch Stream run events [boolean] [default: false]
92
- --quiet Print only the portable-context locator on success [boolean] [default: false]
93
- --idempotency-key Client-supplied dedupe key [string]
94
- --url Override the active connection URL [string]
95
- --token Override the active bearer token [string]
96
- ```
97
-
98
- ## interf verify
99
-
100
- ```text
101
- interf verify <prep-id>
102
-
103
- Verify a preparation's claim-checks against its portable context
104
-
105
- Positionals:
106
- prep-id Preparation id [string] [required]
107
-
108
- Options:
109
- --help Show help [boolean]
110
- --version Show version number [boolean]
111
- --url Override the active connection URL [string]
112
- --token Override the active bearer token [string]
113
- ```
114
-
115
- ## interf method
116
-
117
- ```text
118
- interf method <subcommand>
119
-
120
- Manage methods on the connected instance
121
-
122
- Commands:
123
- interf method ls List methods on the instance
124
- interf method install <path> Install a method package from a local folder
125
- interf method draft <prep-id> Start a method-authoring run for a preparation
126
- interf method improve <prep-id> Start a method-improvement run for a preparation
127
-
128
- Options:
129
- --help Show help [boolean]
130
- --version Show version number [boolean]
131
- --url Override the active connection URL [string]
132
- --token Override the active bearer token [string]
133
- ```
134
-
135
- ## interf runs
136
-
137
- ```text
138
- interf runs <subcommand>
139
-
140
- Inspect runs on the connected instance
141
-
142
- Commands:
143
- interf runs ls List runs (optionally filtered by preparation)
144
- interf runs status <run-id> Show full record for a run
145
- interf runs cancel <run-id> Cancel a running run
146
- interf runs fetch <run-id> Download a run's portable context
147
-
148
- Options:
149
- --help Show help [boolean]
150
- --version Show version number [boolean]
151
- --url Override the active connection URL [string]
152
- --token Override the active bearer token [string]
153
- ```
154
-
155
- ## interf runs fetch
156
-
157
- ```text
158
- interf runs fetch <run-id>
159
-
160
- Download a run's portable context
161
-
162
- Positionals:
163
- run-id Run id [string] [required]
164
-
165
- Options:
166
- --help Show help [boolean]
167
- --version Show version number [boolean]
168
- --url Override the active connection URL [string]
169
- --token Override the active bearer token [string]
170
- --to Target path [string] [required]
171
- ```
172
-
173
- ## interf status
174
-
175
- ```text
176
- interf status
177
-
178
- Show connection + preparation summary
179
-
180
- Options:
181
- --help Show help [boolean]
182
- --version Show version number [boolean]
183
- --url Override the active connection URL [string]
184
- --token Override the active bearer token [string]
185
- ```
186
-
187
- ## interf login
188
-
189
- ```text
190
- interf login
191
-
192
- Set the active Interf instance connection (URL + optional bearer token)
193
-
194
- Options:
195
- --help Show help [boolean]
196
- --version Show version number [boolean]
197
- --url Engine URL, e.g. https://api.interf.cloud or http://127.0.0.1:4873 [string] [required]
198
- --token Bearer token for non-loopback connections [string]
199
- ```
200
-
201
- ## interf logout
202
-
203
- ```text
204
- interf logout
205
-
206
- Clear the active Interf instance connection
207
-
208
- Options:
209
- --help Show help [boolean]
210
- --version Show version number [boolean]
211
- ```
212
-
213
- ## interf reset
214
-
215
- ```text
216
- interf reset <prep-id>
217
-
218
- Reset a preparation's compile output
219
-
220
- Positionals:
221
- prep-id Preparation id [string] [required]
222
-
223
- Options:
224
- --help Show help [boolean]
225
- --version Show version number [boolean]
226
- --mode Scope of the reset [string] [choices: "compile", "all"] [default: "compile"]
227
- --url Override the active connection URL [string]
228
- --token Override the active bearer token [string]
229
- ```
230
-
231
- ## interf doctor
232
-
233
- ```text
234
- interf doctor
235
-
236
- Check local executor configuration before a real local run
237
-
238
- Options:
239
- --help Show help [boolean]
240
- --version Show version number [boolean]
241
- --live Run a real executor preflight against the configured local agent [boolean] [default: false]
242
- --json Print machine-readable doctor output [boolean] [default: false]
243
- ```
@@ -1,29 +0,0 @@
1
- # Built-in Interf Method
2
-
3
- Built-in file-processing Method: summarize source-grounded evidence, structure cross-file connections, and shape portable context around the saved readiness checks.
4
-
5
- ## Purpose
6
-
7
- - General portable-context Method for agent use
8
- - Compile mixed source files into evidence-backed summaries, cross-file structure, and a usable entrypoint for agents running the readiness checks this task depends on.
9
-
10
- ## Artifacts
11
-
12
- - `summaries` — output directory at `summaries`
13
- - `knowledge-entities` — output directory at `knowledge/entities`
14
- - `knowledge-claims` — output directory at `knowledge/claims`
15
- - `knowledge-indexes` — output directory at `knowledge/indexes`
16
- - `atlas` — output file at `home.md` used as the primary entrypoint for this Method
17
-
18
- ## Stages
19
-
20
- - `summarize` — Turn source files into per-file summaries. (compiled-file-evidence; reads: none; writes: summaries)
21
- - `structure` — Build the cross-file knowledge structure from the summaries. (compiled-knowledge-structure; reads: summaries; writes: knowledge-entities, knowledge-claims, knowledge-indexes)
22
- - `shape` — Shape the final portable context around the saved task focus and readiness checks. (compiled-query-shape; reads: summaries, knowledge-entities, knowledge-claims, knowledge-indexes; writes: knowledge-indexes, atlas)
23
-
24
- ## Why `home.md` exists here
25
-
26
- This built-in Method creates `home.md` as the main agent entrypoint for the portable context.
27
- That is behavior of the `interf-default` Method, not a compiler-wide rule.
28
-
29
- This package is the built-in seed for `interf-default`.
@@ -1,31 +0,0 @@
1
- # Shape
2
-
3
- Shape the final portable context around the saved task focus and readiness checks.
4
-
5
- Contract type: `compiled-query-shape`
6
-
7
- ## Requirements
8
-
9
- - Use the compiled task focus plus saved readiness-check text to shape `home.md` and retrieval routes.
10
- - Rewrite `home.md` into a real entrypoint note. Do not leave the scaffold `Not yet compiled.` placeholder in place.
11
- - When you add wikilinks, target real compiled notes by exact basename or explicit relative path.
12
- - If you introduce a new note name in `home.md` or another shaped output, the same stage must also create that note file.
13
- - Prefer direct file-reading and search tools over shell commands for routine file inspection.
14
- - When a chart-derived value is approximate, use a bounded range instead of a pseudo-exact number.
15
- - Match the granularity of the visible axis labels or bands. Do not invent finer precision than the chart supports.
16
- - Keep the answer inside the visible tick band unless the chart supports a tighter bound.
17
- - Use an upper-half or lower-half band only when the mark clearly sits there.
18
- - If a mark touches or nearly touches a labeled gridline, anchor the answer at that gridline or the immediately adjacent half-band.
19
- - Do not widen a chart-derived range across multiple visible bands unless the chart genuinely supports that uncertainty.
20
- - When you settle on a bounded chart read, keep that same band consistent across `home.md`, focused indexes, and claim/entity notes for that metric and year.
21
- - Do not copy expected answers into the portable context.
22
-
23
- ## Notes
24
-
25
- - Use the saved task focus and readiness checks to bias the final portable context toward the job it should be especially good at.
26
- - Do not copy expected answers into the final portable context just because the checks imply them.
27
- - Prefer the saved summary evidence and structured notes when they already preserve the bounded chart/table reads plus provenance you need.
28
- - Reopen source references during shaping only when the compiled layer is missing the needed value, the metric family is ambiguous, or the earlier bounded read is clearly inconsistent.
29
- - If a saved readiness check depends on chart-derived or table-derived values, carry the final bounded reads forward into focused notes with provenance instead of repeatedly recomputing them from source files.
30
- - Prefer better routing, prioritization, and focused navigation over speculative synthesis.
31
- - Any wikilinks you add to `home.md` or indexes must resolve to real compiled note basenames or explicit relative paths.
@@ -1,18 +0,0 @@
1
- # Method Improvement
2
-
3
- Method: interf-default
4
-
5
- This file is the editable authoring source for Interf's generated native Method-improver shell.
6
- The improver edits this local package directly.
7
-
8
- Default loop:
9
- 1. Read the loop context first.
10
- 2. Review preserved stage shells, runtime logs, and saved test runs from failed attempts.
11
- 3. Edit only the local Method package for this portable context to create a better Method variation for this task.
12
- 4. Keep `method.json`, `method.schema.json`, and any changed stage docs aligned.
13
-
14
- Guardrails:
15
- - do not edit checks, test specs, or source files
16
- - do not hardcode expected answers into Method docs
17
- - keep this package standalone; do not rely on runtime inheritance
18
- - prefer small, defensible Method changes over random churn
@@ -1,28 +0,0 @@
1
- # Manual Query Loop
2
-
3
- This file is the editable authoring source for the generated native local `interf-query` skill.
4
-
5
- Default loop:
6
- 1. Read `home.md` first.
7
- 2. Browse `knowledge/` before source re-checks.
8
- 3. Use `summaries/` for source-grounded evidence.
9
- 4. Use `.interf/runtime/source-snapshot.json` for direct quotes, verification, exact table lookups, and chart-derived values.
10
-
11
- Answering rule:
12
- - do not modify source files while answering
13
- - when a number is chart-derived, say that explicitly
14
- - if the compiled layer already contains a bounded chart-derived read for the exact metric and year the user asked about, answer from that compiled read first
15
- - use source references to confirm the source page, metric family, or provenance, not to replace a good compiled bounded read with a mismatched range
16
- - when the compiled layer preserves a bounded chart-derived range, keep that bounded range in the answer instead of collapsing it to a midpoint or pseudo-exact single value
17
- - match the granularity of the visible axis labels or bands and do not invent finer precision than the chart supports
18
- - when reading charts, verify you are on the correct metric family and year before answering
19
- - keep historical annual charts separate from current-quarter snapshots, sector splits, or nearby lookalike panels
20
- - when a chart-derived value is approximate, use a bounded range instead of a pseudo-exact number.
21
- - keep the answer inside the visible tick band unless the chart supports a tighter bound.
22
- - use an upper-half or lower-half band only when the mark clearly sits there.
23
- - if a mark touches or nearly touches a labeled gridline, anchor the answer at that gridline or the immediately adjacent half-band.
24
- - do not widen a chart-derived range across multiple visible bands unless the chart genuinely supports that uncertainty.
25
- - if multiple compiled notes mention the same chart read, keep the answer consistent with the most focused compiled note rather than synthesizing a new midpoint or shifted band
26
- - when the compiled layer is insufficient, verify against source references and then answer
27
-
28
- You can edit this file to bias manual question-answering behavior for this portable context.
@@ -1,2 +0,0 @@
1
- import type { CommandModule } from "yargs";
2
- export declare const methodCommand: CommandModule;
@@ -1,113 +0,0 @@
1
- /**
2
- * `interf method` — manage methods on the connected instance.
3
- *
4
- * interf method ls # list methods (instance-wide)
5
- * interf method install <path> # install a method package
6
- * interf method draft <prep-id> # start a method-authoring run
7
- * interf method improve <prep-id> # start a method-improvement run
8
- */
9
- import chalk from "chalk";
10
- import { resolve } from "node:path";
11
- import { CONNECT_OR_ERROR_HINT, readActiveConnection } from "../../packages/engine/connection-config.js";
12
- function resolveConnection(args) {
13
- const conn = readActiveConnection({
14
- urlOverride: args.url,
15
- authTokenOverride: args.token,
16
- });
17
- if (!conn) {
18
- console.error(CONNECT_OR_ERROR_HINT);
19
- process.exit(1);
20
- }
21
- return { url: conn.url.replace(/\/+$/, ""), token: conn.auth_token };
22
- }
23
- async function callJson(url, token, init = {}) {
24
- const headers = new Headers(init.headers ?? {});
25
- if (token)
26
- headers.set("authorization", `Bearer ${token}`);
27
- if (init.body && !headers.has("content-type"))
28
- headers.set("content-type", "application/json");
29
- const response = await fetch(url, { ...init, headers });
30
- const raw = await response.text();
31
- let body = null;
32
- if (raw) {
33
- try {
34
- body = JSON.parse(raw);
35
- }
36
- catch {
37
- body = null;
38
- }
39
- }
40
- return { status: response.status, body, raw };
41
- }
42
- export const methodCommand = {
43
- command: "method <subcommand>",
44
- describe: "Manage methods on the connected instance",
45
- builder: (yargs) => yargs
46
- .option("url", { type: "string", describe: "Override the active connection URL" })
47
- .option("token", { type: "string", describe: "Override the active bearer token" })
48
- .command("ls", "List methods on the instance", (y) => y, async (args) => {
49
- const { url, token } = resolveConnection(args);
50
- const { status, body, raw } = await callJson(`${url}/v1/methods`, token);
51
- if (status !== 200) {
52
- console.error(chalk.red(`Failed to list methods (HTTP ${status}).`));
53
- if (raw)
54
- console.error(raw);
55
- process.exit(1);
56
- }
57
- const methods = body?.methods ?? [];
58
- if (methods.length === 0) {
59
- console.log(chalk.dim(" No methods on this instance."));
60
- return;
61
- }
62
- console.log();
63
- for (const m of methods) {
64
- const id = m.method_id ?? m.id ?? "(?)";
65
- const label = m.label ? ` ${chalk.dim(m.label)}` : "";
66
- const kind = m.source_kind ? chalk.dim(`[${m.source_kind}]`) : "";
67
- console.log(` ${chalk.bold(id)} ${kind}${label}`);
68
- if (m.active_for_preparations?.length) {
69
- console.log(chalk.dim(` used by: ${m.active_for_preparations.join(", ")}`));
70
- }
71
- }
72
- console.log();
73
- })
74
- .command("install <path>", "Install a method package from a local folder", (y) => y.positional("path", { type: "string", demandOption: true, describe: "Path to the method package" }), async (args) => {
75
- const { url, token } = resolveConnection(args);
76
- const absolute = resolve(process.cwd(), args.path);
77
- const { status, raw } = await callJson(`${url}/v1/methods`, token, { method: "POST", body: JSON.stringify({ source_path: absolute }) });
78
- if (status !== 201 && status !== 200) {
79
- console.error(chalk.red(`Failed to install method (HTTP ${status}).`));
80
- if (raw)
81
- console.error(raw);
82
- process.exit(1);
83
- }
84
- console.log(chalk.green(`Installed method from ${absolute}.`));
85
- })
86
- .command("draft <prep-id>", "Start a method-authoring run for a preparation", (y) => y.positional("prep-id", { type: "string", demandOption: true, describe: "Preparation id" }), async (args) => {
87
- const { url, token } = resolveConnection(args);
88
- const { status, body, raw } = await callJson(`${url}/v1/preparations/${encodeURIComponent(args.prepId)}/method-authoring-runs`, token, { method: "POST", body: JSON.stringify({}) });
89
- if (status !== 201 && status !== 200) {
90
- console.error(chalk.red(`Failed to start method-authoring run (HTTP ${status}).`));
91
- if (raw)
92
- console.error(raw);
93
- process.exit(1);
94
- }
95
- console.log(chalk.green(`Method-authoring run ${chalk.bold(body?.run_id ?? "(?)")} started.`));
96
- })
97
- .command("improve <prep-id>", "Start a method-improvement run for a preparation", (y) => y.positional("prep-id", { type: "string", demandOption: true, describe: "Preparation id" }), async (args) => {
98
- const { url, token } = resolveConnection(args);
99
- const { status, body, raw } = await callJson(`${url}/v1/preparations/${encodeURIComponent(args.prepId)}/method-improvement-runs`, token, { method: "POST", body: JSON.stringify({}) });
100
- if (status !== 201 && status !== 200) {
101
- console.error(chalk.red(`Failed to start method-improvement run (HTTP ${status}).`));
102
- if (raw)
103
- console.error(raw);
104
- process.exit(1);
105
- }
106
- console.log(chalk.green(`Method-improvement run ${chalk.bold(body?.run_id ?? "(?)")} started.`));
107
- })
108
- .demandCommand(1)
109
- .strict(),
110
- handler: () => {
111
- /* yargs subcommand handlers do the work */
112
- },
113
- };
@@ -1,10 +0,0 @@
1
- import type { CommandModule } from "yargs";
2
- type VerifyTarget = "compiled" | "source-files";
3
- interface VerifyArgs {
4
- prepId: string;
5
- target?: VerifyTarget;
6
- url?: string;
7
- token?: string;
8
- }
9
- export declare const verifyCommand: CommandModule<unknown, VerifyArgs>;
10
- export {};
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="dark geistsans_d5a4f12f-module__iZqIaq__variable geistmono_157ca88a-module__uNhmwG__variable" lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0_c_tvh-cukjz.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0gpzgsv0w.q~m.js"/><script src="/_next/static/chunks/06yhdspx~ca5-.js" async=""></script><script src="/_next/static/chunks/0ilwfezfvu6~-.js" async=""></script><script src="/_next/static/chunks/turbopack-0.uq1k8c0j4s..js" async=""></script><script src="/_next/static/chunks/06z~l3kwb891e.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Interf Compiler</title><meta name="description" content="Local Interf workspace for Preparations, Methods, runs, readiness checks, and portable context."/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0gpzgsv0w.q~m.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[26439,[\"/_next/static/chunks/06z~l3kwb891e.js\"],\"default\"]\n3:I[99569,[\"/_next/static/chunks/06z~l3kwb891e.js\"],\"default\"]\n4:I[26890,[\"/_next/static/chunks/06z~l3kwb891e.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[26890,[\"/_next/static/chunks/06z~l3kwb891e.js\"],\"ViewportBoundary\"]\na:I[26890,[\"/_next/static/chunks/06z~l3kwb891e.js\"],\"MetadataBoundary\"]\nc:I[28946,[\"/_next/static/chunks/06z~l3kwb891e.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0_c_tvh-cukjz.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0_c_tvh-cukjz.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/06z~l3kwb891e.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"className\":\"dark geistsans_d5a4f12f-module__iZqIaq__variable geistmono_157ca88a-module__uNhmwG__variable\",\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0_c_tvh-cukjz.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"6qyE1u9m_oBUkvAhhoCmO\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Interf Compiler\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Local Interf workspace for Preparations, Methods, runs, readiness checks, and portable context.\"}]]\n"])</script></body></html>
@@ -1,10 +0,0 @@
1
- 1:"$Sreact.fragment"
2
- 2:I[419,["/_next/static/chunks/06z~l3kwb891e.js"],"ClientPageRoot"]
3
- 3:I[12562,["/_next/static/chunks/06z~l3kwb891e.js","/_next/static/chunks/0b-ywny_j0g~0.js","/_next/static/chunks/0_i-3_5l9t2qe.js","/_next/static/chunks/0f_geuwdesg_c.js","/_next/static/chunks/08m7vf5asqlsm.js"],"default"]
4
- 6:I[26890,["/_next/static/chunks/06z~l3kwb891e.js"],"OutletBoundary"]
5
- 7:"$Sreact.suspense"
6
- :HL["/_next/static/chunks/0xxmf45eskdt~.css","style"]
7
- 0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0xxmf45eskdt~.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0b-ywny_j0g~0.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0_i-3_5l9t2qe.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0f_geuwdesg_c.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/08m7vf5asqlsm.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"6qyE1u9m_oBUkvAhhoCmO"}
8
- 4:{}
9
- 5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
10
- 8:null
@@ -1,5 +0,0 @@
1
- 1:"$Sreact.fragment"
2
- 2:I[26890,["/_next/static/chunks/06z~l3kwb891e.js"],"ViewportBoundary"]
3
- 3:I[26890,["/_next/static/chunks/06z~l3kwb891e.js"],"MetadataBoundary"]
4
- 4:"$Sreact.suspense"
5
- 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Interf Compiler"}],["$","meta","1",{"name":"description","content":"Local Interf workspace for Preparations, Methods, runs, readiness checks, and portable context."}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"6qyE1u9m_oBUkvAhhoCmO"}