@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.
- package/dist/cli/commands/build-plan.d.ts +2 -0
- package/dist/cli/commands/build-plan.js +376 -0
- package/dist/cli/commands/{compile.d.ts → build.d.ts} +2 -2
- package/dist/cli/commands/{compile.js → build.js} +18 -18
- package/dist/cli/commands/doctor.js +2 -2
- package/dist/cli/commands/mcp.d.ts +0 -34
- package/dist/cli/commands/mcp.js +261 -60
- package/dist/cli/commands/prep.js +67 -35
- package/dist/cli/commands/reset.d.ts +1 -1
- package/dist/cli/commands/reset.js +6 -6
- package/dist/cli/commands/runs.js +105 -33
- package/dist/cli/commands/status.js +4 -2
- package/dist/cli/commands/test.d.ts +10 -0
- package/dist/cli/commands/{verify.js → test.js} +19 -21
- package/dist/cli/commands/web.js +82 -8
- package/dist/cli/commands/wizard.js +63 -64
- package/dist/cli/index.d.ts +4 -4
- package/dist/cli/index.js +7 -7
- package/dist/interf-ui/404.html +1 -0
- package/dist/interf-ui/__next.__PAGE__.txt +10 -0
- package/dist/{compiler-ui → interf-ui}/__next._full.txt +12 -12
- package/dist/interf-ui/__next._head.txt +5 -0
- package/dist/{compiler-ui → interf-ui}/__next._index.txt +4 -4
- package/dist/{compiler-ui → interf-ui}/__next._tree.txt +3 -3
- package/dist/interf-ui/_next/static/chunks/0.tjb6f4golw..css +3 -0
- package/dist/interf-ui/_next/static/chunks/085-n_jv2ng_q.css +1 -0
- package/dist/{compiler-ui/_next/static/chunks/0_i-3_5l9t2qe.js → interf-ui/_next/static/chunks/0dn41fa_zvgsl.js} +1 -1
- package/dist/interf-ui/_next/static/chunks/0g-ea0zj5d-0k.js +1 -0
- package/dist/interf-ui/_next/static/chunks/0gwqglc4iz583.js +1 -0
- package/dist/interf-ui/_next/static/chunks/0haldgm65ve6l.js +1 -0
- package/dist/{compiler-ui/_next/static/chunks/08g7lvje.te.u.js → interf-ui/_next/static/chunks/0nv3am99vjzn4.js} +1 -1
- package/dist/{compiler-ui/_next/static/chunks/0n51hrfoufc7g.js → interf-ui/_next/static/chunks/0s77gt_o4jwtx.js} +1 -1
- package/dist/interf-ui/_next/static/chunks/0~a36ujuzpaz..js +116 -0
- package/dist/interf-ui/_next/static/chunks/10jeodxe4nkgj.js +31 -0
- package/dist/interf-ui/_next/static/chunks/119h2rouych2t.js +1 -0
- package/dist/interf-ui/_next/static/chunks/13c8b~m8knjsf.js +1 -0
- package/dist/{compiler-ui/_next/static/chunks/08m7vf5asqlsm.js → interf-ui/_next/static/chunks/14dznb2qpt-ho.js} +5 -5
- package/dist/interf-ui/_next/static/chunks/15z_en80lrq-3.js +5 -0
- package/dist/{compiler-ui/_next/static/chunks/turbopack-10e~t1yzi4svj.js → interf-ui/_next/static/chunks/turbopack-0p.pvcjrtq-jh.js} +1 -1
- package/dist/interf-ui/_next/static/chunks/turbopack-0usj_75.8frlw.js +1 -0
- package/dist/{compiler-ui → interf-ui}/_not-found/__next._full.txt +9 -9
- package/dist/interf-ui/_not-found/__next._head.txt +5 -0
- package/dist/{compiler-ui → interf-ui}/_not-found/__next._index.txt +4 -4
- package/dist/{compiler-ui → interf-ui}/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/dist/interf-ui/_not-found/__next._not-found.txt +5 -0
- package/dist/{compiler-ui → interf-ui}/_not-found/__next._tree.txt +2 -2
- package/dist/interf-ui/_not-found.html +1 -0
- package/dist/{compiler-ui → interf-ui}/_not-found.txt +9 -9
- package/dist/interf-ui/index.html +1 -0
- package/dist/{compiler-ui → interf-ui}/index.txt +12 -12
- package/dist/packages/build-plans/authoring/build-plan-authoring.d.ts +36 -0
- package/dist/packages/{methods/authoring/method-authoring.js → build-plans/authoring/build-plan-authoring.js} +57 -88
- package/dist/packages/build-plans/authoring/build-plan-edit-session.d.ts +18 -0
- package/dist/packages/{methods/authoring/method-edit-session.js → build-plans/authoring/build-plan-edit-session.js} +34 -34
- package/dist/packages/build-plans/authoring/build-plan-improvement.d.ts +23 -0
- package/dist/packages/build-plans/authoring/build-plan-improvement.js +216 -0
- package/dist/packages/build-plans/authoring/index.d.ts +4 -0
- package/dist/packages/build-plans/authoring/index.js +4 -0
- package/dist/packages/{methods/authoring/lib/method-edit-utils.d.ts → build-plans/authoring/lib/build-plan-edit-utils.d.ts} +3 -3
- package/dist/packages/build-plans/build-plan-resolution.d.ts +6 -0
- package/dist/packages/build-plans/build-plan-resolution.js +7 -0
- package/dist/packages/build-plans/index.d.ts +2 -0
- package/dist/packages/build-plans/index.js +2 -0
- package/dist/packages/build-plans/package/build-plan-definitions.d.ts +61 -0
- package/dist/packages/build-plans/package/build-plan-definitions.js +214 -0
- package/dist/packages/{methods/package/method-helpers.d.ts → build-plans/package/build-plan-helpers.d.ts} +7 -7
- package/dist/packages/{methods/package/method-helpers.js → build-plans/package/build-plan-helpers.js} +20 -20
- package/dist/packages/build-plans/package/build-plan-review-paths.d.ts +10 -0
- package/dist/packages/build-plans/package/build-plan-review-paths.js +31 -0
- package/dist/packages/{methods/package/method-stage-runner.d.ts → build-plans/package/build-plan-stage-runner.d.ts} +12 -12
- package/dist/packages/{methods/package/method-stage-runner.js → build-plans/package/build-plan-stage-runner.js} +10 -10
- package/dist/packages/build-plans/package/builtin-build-plan.d.ts +37 -0
- package/dist/packages/build-plans/package/builtin-build-plan.js +91 -0
- package/dist/packages/{methods → build-plans}/package/context-interface.d.ts +11 -11
- package/dist/packages/{methods → build-plans}/package/context-interface.js +23 -23
- package/dist/packages/build-plans/package/interf-build-plan-package.d.ts +31 -0
- package/dist/packages/build-plans/package/interf-build-plan-package.js +466 -0
- package/dist/packages/{methods → build-plans}/package/lib/package-root.js +1 -1
- package/dist/packages/build-plans/package/local-build-plans.d.ts +74 -0
- package/dist/packages/build-plans/package/local-build-plans.js +472 -0
- package/dist/packages/build-plans/package/user-build-plans.d.ts +17 -0
- package/dist/packages/build-plans/package/user-build-plans.js +77 -0
- package/dist/packages/contracts/index.d.ts +1 -1
- package/dist/packages/contracts/lib/preparation-paths.d.ts +37 -37
- package/dist/packages/contracts/lib/preparation-paths.js +43 -43
- package/dist/packages/contracts/lib/schema.d.ts +38 -41
- package/dist/packages/contracts/lib/schema.js +44 -35
- package/dist/packages/engine/action-definitions.d.ts +228 -67
- package/dist/packages/engine/action-definitions.js +277 -273
- package/dist/packages/engine/action-planner.d.ts +2 -2
- package/dist/packages/engine/action-planner.js +8 -15
- package/dist/packages/engine/action-values.d.ts +1 -1
- package/dist/packages/engine/action-values.js +1 -1
- package/dist/packages/engine/agents/index.d.ts +2 -2
- package/dist/packages/engine/agents/index.js +1 -1
- package/dist/packages/engine/agents/lib/args.d.ts +2 -2
- package/dist/packages/engine/agents/lib/args.js +1 -1
- package/dist/packages/engine/agents/lib/constants.js +1 -1
- package/dist/packages/engine/agents/lib/execution-profile.d.ts +5 -5
- package/dist/packages/engine/agents/lib/execution-profile.js +3 -3
- package/dist/packages/engine/agents/lib/executors.d.ts +11 -11
- package/dist/packages/engine/agents/lib/render.js +4 -4
- package/dist/packages/engine/agents/lib/shells.d.ts +33 -31
- package/dist/packages/engine/agents/lib/shells.js +254 -250
- package/dist/packages/engine/agents/lib/types.d.ts +2 -2
- package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.d.ts +3 -0
- package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.js +19 -0
- package/dist/packages/engine/agents/role-executors.d.ts +7 -7
- package/dist/packages/engine/agents/role-executors.js +2 -2
- package/dist/packages/engine/agents/role-router.d.ts +2 -2
- package/dist/packages/engine/agents/role-router.js +1 -1
- package/dist/packages/engine/build/artifact-counts.d.ts +1 -0
- package/dist/packages/engine/{compile → build}/artifact-counts.js +7 -7
- package/dist/packages/engine/{compile → build}/artifact-status.d.ts +8 -8
- package/dist/packages/engine/{compile → build}/artifact-status.js +19 -19
- package/dist/packages/engine/{compile → build}/billing-events.d.ts +4 -4
- package/dist/packages/engine/{compile → build}/billing-events.js +4 -4
- package/dist/packages/engine/build/build-execution.d.ts +4 -0
- package/dist/packages/engine/build/build-execution.js +4 -0
- package/dist/packages/engine/build/build-pipeline.d.ts +56 -0
- package/dist/packages/engine/{compile/compiled-pipeline.js → build/build-pipeline.js} +55 -55
- package/dist/packages/engine/build/build-plan-primitives.d.ts +2 -0
- package/dist/packages/engine/{compile/method-primitives.js → build/build-plan-primitives.js} +1 -1
- package/dist/packages/engine/build/build-plan-runs.d.ts +14 -0
- package/dist/packages/engine/build/build-plan-runs.js +31 -0
- package/dist/packages/engine/build/build-stage-plan.d.ts +16 -0
- package/dist/packages/engine/build/build-stage-plan.js +100 -0
- package/dist/packages/engine/build/build-stage-runner.d.ts +15 -0
- package/dist/packages/engine/{compile/compiled-stage-runner.js → build/build-stage-runner.js} +21 -21
- package/dist/packages/engine/build/build-target.d.ts +11 -0
- package/dist/packages/engine/build/build-target.js +16 -0
- package/dist/packages/engine/{compile → build}/check-evaluator.d.ts +4 -4
- package/dist/packages/engine/{compile → build}/check-evaluator.js +1 -1
- package/dist/packages/engine/{compile → build}/discovery.d.ts +2 -2
- package/dist/packages/engine/{compile → build}/discovery.js +4 -4
- package/dist/packages/engine/{compile → build}/index.d.ts +6 -6
- package/dist/packages/engine/{compile → build}/index.js +5 -5
- package/dist/packages/engine/{compile → build}/lib/schema.d.ts +79 -79
- package/dist/packages/engine/{compile → build}/lib/schema.js +71 -71
- package/dist/packages/engine/build/reset.d.ts +2 -0
- package/dist/packages/engine/build/reset.js +74 -0
- package/dist/packages/engine/{compile → build}/runtime-contracts.js +8 -8
- package/dist/packages/engine/build/runtime-inventory.d.ts +7 -0
- package/dist/packages/engine/{compile → build}/runtime-inventory.js +8 -8
- package/dist/packages/engine/{compile → build}/runtime-paths.js +6 -6
- package/dist/packages/engine/{compile → build}/runtime-prompt.js +11 -11
- package/dist/packages/engine/build/runtime-reconcile.d.ts +2 -0
- package/dist/packages/engine/{compile → build}/runtime-reconcile.js +18 -18
- package/dist/packages/engine/{compile → build}/runtime-runs.js +27 -27
- package/dist/packages/engine/{compile → build}/runtime-types.d.ts +10 -10
- package/dist/packages/engine/build/source-files.d.ts +46 -0
- package/dist/packages/engine/{compile → build}/source-files.js +32 -32
- package/dist/packages/engine/build/state-artifacts.d.ts +9 -0
- package/dist/packages/engine/build/state-artifacts.js +14 -0
- package/dist/packages/engine/build/state-health.d.ts +4 -0
- package/dist/packages/engine/{compile → build}/state-health.js +40 -40
- package/dist/packages/engine/build/state-io.d.ts +11 -0
- package/dist/packages/engine/{compile → build}/state-io.js +22 -22
- package/dist/packages/engine/build/state-paths.js +16 -0
- package/dist/packages/engine/build/state-view.d.ts +5 -0
- package/dist/packages/engine/{compile → build}/state-view.js +29 -29
- package/dist/packages/engine/build/state.d.ts +7 -0
- package/dist/packages/engine/build/state.js +12 -0
- package/dist/packages/engine/build/validate-verifiable-context.d.ts +27 -0
- package/dist/packages/engine/{compile/validate-compiled.js → build/validate-verifiable-context.js} +73 -73
- package/dist/packages/engine/{compile → build}/validate.d.ts +4 -4
- package/dist/packages/engine/{compile → build}/validate.js +27 -27
- package/dist/packages/engine/build/verifiable-context-paths.d.ts +47 -0
- package/dist/packages/engine/build/verifiable-context-paths.js +121 -0
- package/dist/packages/engine/build/verifiable-context-schema.d.ts +21 -0
- package/dist/packages/engine/build/verifiable-context-schema.js +126 -0
- package/dist/packages/engine/client.d.ts +16 -16
- package/dist/packages/engine/client.js +21 -21
- package/dist/packages/engine/cloud-seams.d.ts +3 -3
- package/dist/packages/engine/connection-config.js +1 -1
- package/dist/packages/engine/execution/index.d.ts +2 -2
- package/dist/packages/engine/execution/index.js +1 -1
- package/dist/packages/engine/execution/lib/schema.d.ts +100 -95
- package/dist/packages/engine/execution/lib/schema.js +31 -31
- package/dist/packages/engine/index.d.ts +7 -7
- package/dist/packages/engine/index.js +3 -3
- package/dist/packages/engine/instance-paths.d.ts +45 -39
- package/dist/packages/engine/instance-paths.js +54 -48
- package/dist/packages/engine/lib/schema.d.ts +1568 -484
- package/dist/packages/engine/lib/schema.js +172 -161
- package/dist/packages/engine/native-run-handlers.d.ts +12 -12
- package/dist/packages/engine/native-run-handlers.js +138 -136
- package/dist/packages/engine/preparation-store.d.ts +31 -36
- package/dist/packages/engine/preparation-store.js +42 -31
- package/dist/packages/engine/readiness-check-draft.d.ts +2 -2
- package/dist/packages/engine/readiness-check-draft.js +1 -1
- package/dist/packages/engine/requested-artifacts.d.ts +5 -0
- package/dist/packages/engine/requested-artifacts.js +36 -0
- package/dist/packages/engine/routes.d.ts +18 -17
- package/dist/packages/engine/routes.js +20 -19
- package/dist/packages/engine/run-observability.d.ts +5 -3
- package/dist/packages/engine/run-observability.js +103 -90
- package/dist/packages/engine/runtime-caches.d.ts +16 -16
- package/dist/packages/engine/runtime-caches.js +26 -26
- package/dist/packages/engine/runtime-event-applier.d.ts +2 -2
- package/dist/packages/engine/runtime-event-applier.js +1 -1
- package/dist/packages/engine/runtime-persistence.d.ts +9 -9
- package/dist/packages/engine/runtime-persistence.js +16 -16
- package/dist/packages/engine/runtime-proposal-helpers.d.ts +15 -15
- package/dist/packages/engine/runtime-proposal-helpers.js +81 -85
- package/dist/packages/engine/runtime-resource-builders.d.ts +16 -11
- package/dist/packages/engine/runtime-resource-builders.js +32 -21
- package/dist/packages/engine/runtime.d.ts +53 -60
- package/dist/packages/engine/runtime.js +555 -453
- package/dist/packages/engine/server.d.ts +2 -2
- package/dist/packages/engine/server.js +226 -143
- package/dist/packages/engine/service-registry.d.ts +5 -17
- package/dist/packages/engine/service-registry.js +5 -20
- package/dist/packages/engine/verify/lib/schema.d.ts +19 -19
- package/dist/packages/engine/verify/lib/schema.js +36 -8
- package/dist/packages/engine/verify/readiness-check-run.d.ts +15 -16
- package/dist/packages/engine/verify/readiness-check-run.js +46 -46
- package/dist/packages/engine/verify/verify-execution.d.ts +3 -3
- package/dist/packages/engine/verify/verify-execution.js +10 -10
- package/dist/packages/engine/verify/verify-paths.d.ts +4 -4
- package/dist/packages/engine/verify/verify-paths.js +17 -17
- package/dist/packages/engine/verify/verify-sandbox.d.ts +1 -1
- package/dist/packages/engine/verify/verify-sandbox.js +26 -26
- package/dist/packages/engine/verify/verify-targets.d.ts +2 -2
- package/dist/packages/engine/verify/verify-targets.js +17 -17
- package/dist/packages/engine/verify/verify-types.d.ts +2 -2
- package/dist/packages/engine/verify/verify.d.ts +1 -1
- package/dist/packages/engine/verify/verify.js +1 -1
- package/dist/packages/engine/wire-schemas.d.ts +42 -40
- package/dist/packages/engine/wire-schemas.js +13 -13
- package/dist/packages/project/index.d.ts +1 -1
- package/dist/packages/project/interf-bootstrap.d.ts +1 -1
- package/dist/packages/project/interf-bootstrap.js +1 -1
- package/dist/packages/project/interf-detect.d.ts +11 -11
- package/dist/packages/project/interf-detect.js +36 -36
- package/dist/packages/project/interf-scaffold.d.ts +3 -3
- package/dist/packages/project/interf-scaffold.js +72 -72
- package/dist/packages/project/interf.d.ts +4 -4
- package/dist/packages/project/interf.js +3 -3
- package/dist/packages/project/lib/schema.d.ts +205 -12
- package/dist/packages/project/lib/schema.js +59 -14
- package/dist/packages/project/preparation-entries.d.ts +3 -3
- package/dist/packages/project/preparation-entries.js +19 -19
- package/dist/packages/project/source-config.d.ts +10 -10
- package/dist/packages/project/source-config.js +62 -58
- package/dist/packages/project/source-folders.js +1 -1
- package/package.json +14 -17
- package/public-repo/CONTRIBUTING.md +47 -0
- package/public-repo/README.md +327 -0
- package/public-repo/SECURITY.md +67 -0
- package/public-repo/build-plans/interf-default/README.md +33 -0
- package/public-repo/build-plans/interf-default/build/stages/shape/SKILL.md +27 -0
- package/{builtin-methods/interf-default/compile → public-repo/build-plans/interf-default/build}/stages/structure/SKILL.md +2 -2
- package/{builtin-methods/interf-default/compile → public-repo/build-plans/interf-default/build}/stages/summarize/SKILL.md +1 -1
- package/{builtin-methods/interf-default/method.json → public-repo/build-plans/interf-default/build-plan.json} +16 -16
- package/{builtin-methods/interf-default/method.schema.json → public-repo/build-plans/interf-default/build-plan.schema.json} +4 -4
- package/public-repo/build-plans/interf-default/improve/SKILL.md +18 -0
- package/public-repo/build-plans/interf-default/use/query/SKILL.md +23 -0
- package/public-repo/plugins/README.md +9 -0
- package/public-repo/plugins/interf/.claude-plugin/plugin.json +21 -0
- package/public-repo/plugins/interf/.mcp.json +12 -0
- package/public-repo/plugins/interf/README.md +32 -0
- package/public-repo/plugins/interf/skills/interf/SKILL.md +376 -0
- package/public-repo/skills/interf/SKILL.md +376 -0
- package/README.md +0 -311
- package/agent-skills/interf-actions/SKILL.md +0 -185
- package/agent-skills/interf-actions/references/cli.md +0 -243
- package/builtin-methods/interf-default/README.md +0 -29
- package/builtin-methods/interf-default/compile/stages/shape/SKILL.md +0 -31
- package/builtin-methods/interf-default/improve/SKILL.md +0 -18
- package/builtin-methods/interf-default/use/query/SKILL.md +0 -28
- package/dist/cli/commands/method.d.ts +0 -2
- package/dist/cli/commands/method.js +0 -113
- package/dist/cli/commands/verify.d.ts +0 -10
- package/dist/compiler-ui/404.html +0 -1
- package/dist/compiler-ui/__next.__PAGE__.txt +0 -10
- package/dist/compiler-ui/__next._head.txt +0 -5
- package/dist/compiler-ui/_next/static/chunks/06yhdspx~ca5-.js +0 -5
- package/dist/compiler-ui/_next/static/chunks/06z~l3kwb891e.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0_c_tvh-cukjz.css +0 -3
- package/dist/compiler-ui/_next/static/chunks/0b-ywny_j0g~0.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0b52v41o1gixx.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +0 -114
- package/dist/compiler-ui/_next/static/chunks/0gpzgsv0w.q~m.js +0 -31
- package/dist/compiler-ui/_next/static/chunks/0ilwfezfvu6~-.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/0xxmf45eskdt~.css +0 -1
- package/dist/compiler-ui/_next/static/chunks/14wtz~vq25~qq.js +0 -1
- package/dist/compiler-ui/_next/static/chunks/turbopack-0.uq1k8c0j4s..js +0 -1
- package/dist/compiler-ui/_not-found/__next._head.txt +0 -5
- package/dist/compiler-ui/_not-found/__next._not-found.txt +0 -5
- package/dist/compiler-ui/_not-found.html +0 -1
- package/dist/compiler-ui/index.html +0 -1
- package/dist/packages/engine/agents/lib/compiled-bootstrap.d.ts +0 -3
- package/dist/packages/engine/agents/lib/compiled-bootstrap.js +0 -19
- package/dist/packages/engine/compile/artifact-counts.d.ts +0 -1
- package/dist/packages/engine/compile/compiled-compile.d.ts +0 -4
- package/dist/packages/engine/compile/compiled-compile.js +0 -4
- package/dist/packages/engine/compile/compiled-paths.d.ts +0 -47
- package/dist/packages/engine/compile/compiled-paths.js +0 -121
- package/dist/packages/engine/compile/compiled-pipeline.d.ts +0 -56
- package/dist/packages/engine/compile/compiled-schema.d.ts +0 -21
- package/dist/packages/engine/compile/compiled-schema.js +0 -126
- package/dist/packages/engine/compile/compiled-stage-plan.d.ts +0 -16
- package/dist/packages/engine/compile/compiled-stage-plan.js +0 -100
- package/dist/packages/engine/compile/compiled-stage-runner.d.ts +0 -15
- package/dist/packages/engine/compile/compiled-target.d.ts +0 -11
- package/dist/packages/engine/compile/compiled-target.js +0 -16
- package/dist/packages/engine/compile/method-primitives.d.ts +0 -2
- package/dist/packages/engine/compile/method-runs.d.ts +0 -14
- package/dist/packages/engine/compile/method-runs.js +0 -31
- package/dist/packages/engine/compile/reset.d.ts +0 -2
- package/dist/packages/engine/compile/reset.js +0 -74
- package/dist/packages/engine/compile/runtime-inventory.d.ts +0 -7
- package/dist/packages/engine/compile/runtime-reconcile.d.ts +0 -2
- package/dist/packages/engine/compile/source-files.d.ts +0 -46
- package/dist/packages/engine/compile/state-artifacts.d.ts +0 -9
- package/dist/packages/engine/compile/state-artifacts.js +0 -14
- package/dist/packages/engine/compile/state-health.d.ts +0 -4
- package/dist/packages/engine/compile/state-io.d.ts +0 -11
- package/dist/packages/engine/compile/state-paths.js +0 -16
- package/dist/packages/engine/compile/state-view.d.ts +0 -5
- package/dist/packages/engine/compile/state.d.ts +0 -7
- package/dist/packages/engine/compile/state.js +0 -12
- package/dist/packages/engine/compile/validate-compiled.d.ts +0 -27
- package/dist/packages/methods/authoring/index.d.ts +0 -4
- package/dist/packages/methods/authoring/index.js +0 -4
- package/dist/packages/methods/authoring/method-authoring.d.ts +0 -34
- package/dist/packages/methods/authoring/method-edit-session.d.ts +0 -18
- package/dist/packages/methods/authoring/method-improvement.d.ts +0 -23
- package/dist/packages/methods/authoring/method-improvement.js +0 -217
- package/dist/packages/methods/index.d.ts +0 -2
- package/dist/packages/methods/index.js +0 -2
- package/dist/packages/methods/method-resolution.d.ts +0 -6
- package/dist/packages/methods/method-resolution.js +0 -7
- package/dist/packages/methods/package/builtin-compiled-method.d.ts +0 -37
- package/dist/packages/methods/package/builtin-compiled-method.js +0 -91
- package/dist/packages/methods/package/interf-method-package.d.ts +0 -31
- package/dist/packages/methods/package/interf-method-package.js +0 -466
- package/dist/packages/methods/package/local-methods.d.ts +0 -73
- package/dist/packages/methods/package/local-methods.js +0 -457
- package/dist/packages/methods/package/method-definitions.d.ts +0 -61
- package/dist/packages/methods/package/method-definitions.js +0 -214
- package/dist/packages/methods/package/method-review-paths.d.ts +0 -10
- package/dist/packages/methods/package/method-review-paths.js +0 -31
- package/dist/packages/methods/package/user-methods.d.ts +0 -17
- package/dist/packages/methods/package/user-methods.js +0 -77
- /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_buildManifest.js +0 -0
- /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_clientMiddlewareManifest.js +0 -0
- /package/dist/{compiler-ui/_next/static/6qyE1u9m_oBUkvAhhoCmO → interf-ui/_next/static/_qJKnA0dammQ306MG_zMq}/_ssgManifest.js +0 -0
- /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/03~yq9q893hmn.js +0 -0
- /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/0y5z3t-z1c8ks.js.map +0 -0
- /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +0 -0
- /package/dist/{compiler-ui → interf-ui}/_next/static/media/GeistMono_Variable.p.17jn9btb_52pq.woff2 +0 -0
- /package/dist/{compiler-ui → interf-ui}/_next/static/media/Geist_Variable-s.p.0-te~ja_gpvcf.woff2 +0 -0
- /package/dist/{compiler-ui → interf-ui}/_next/static/media/worker.102zas1s52_pf.js +0 -0
- /package/dist/packages/{methods/authoring/lib/method-edit-utils.js → build-plans/authoring/lib/build-plan-edit-utils.js} +0 -0
- /package/dist/packages/{methods → build-plans}/package/lib/package-root.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/runtime-contracts.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/runtime-paths.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/runtime-prompt.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/runtime-runs.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/runtime-types.js +0 -0
- /package/dist/packages/engine/{compile → build}/runtime.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/runtime.js +0 -0
- /package/dist/packages/engine/{compile → build}/state-paths.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/validate-helpers.d.ts +0 -0
- /package/dist/packages/engine/{compile → build}/validate-helpers.js +0 -0
- /package/{LICENSE.md → public-repo/LICENSE.md} +0 -0
- /package/{TRADEMARKS.md → public-repo/TRADEMARKS.md} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
2
|
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { isAbsolute, relative, resolve, sep } from "node:path";
|
|
4
|
-
import {
|
|
4
|
+
import { refreshVerifiableContextBootstrapGuidance } from "../engine/agents/lib/verifiable-context-bootstrap.js";
|
|
5
5
|
import { readInterfConfig, } from "./interf.js";
|
|
6
|
-
import {
|
|
6
|
+
import { seedVerifiableContextBuildPlanPackage } from "../build-plans/package/interf-build-plan-package.js";
|
|
7
7
|
import { readJsonFileWithSchema } from "../contracts/utils/parse.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { getBuildPlan } from "../build-plans/package/build-plan-definitions.js";
|
|
9
|
+
import { DEFAULT_BUILD_PLAN_ID, buildPlanIdForSourcePreparationConfig, } from "../build-plans/build-plan-resolution.js";
|
|
10
10
|
import { SourceFolderConfigSchema, } from "./lib/schema.js";
|
|
11
11
|
import { slugify } from "../contracts/utils/naming.js";
|
|
12
12
|
import { assertPathWithinRoot, isPathWithinRoot } from "../contracts/utils/path-guards.js";
|
|
13
|
-
import {
|
|
13
|
+
import { defaultControlPathForVerifiableContext, resolveSourceControlPathForVerifiableContext, verifiableContextInterfConfigPath, verifiableContextInterfRoot, } from "../engine/build/verifiable-context-paths.js";
|
|
14
14
|
import { asPreparationDataDir, preparationConfigPath, PREPARATION_CONFIG_FILENAME, } from "../contracts/lib/preparation-paths.js";
|
|
15
15
|
export const SOURCE_FOLDER_CONFIG_FILE = PREPARATION_CONFIG_FILENAME;
|
|
16
16
|
export const SOURCE_FOLDER_CONFIG_PATH = SOURCE_FOLDER_CONFIG_FILE;
|
|
@@ -61,18 +61,18 @@ export function loadSourceFolderConfig(prepDataDir) {
|
|
|
61
61
|
return null;
|
|
62
62
|
return readSourceFolderConfigFile(filePath);
|
|
63
63
|
}
|
|
64
|
-
export {
|
|
64
|
+
export { DEFAULT_BUILD_PLAN_ID, buildPlanIdForSourcePreparationConfig } from "../build-plans/build-plan-resolution.js";
|
|
65
65
|
function normalizeSourcePreparationConfig(preparationConfig) {
|
|
66
|
-
const
|
|
66
|
+
const buildPlan = buildPlanIdForSourcePreparationConfig(preparationConfig);
|
|
67
67
|
return {
|
|
68
68
|
...preparationConfig,
|
|
69
|
-
...(
|
|
69
|
+
...(buildPlan ? { build_plan: buildPlan } : {}),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
export function listSourcePreparationConfigs(config) {
|
|
73
73
|
return (config?.preparations ?? []).map((preparation) => normalizeSourcePreparationConfig(preparation));
|
|
74
74
|
}
|
|
75
|
-
export function
|
|
75
|
+
export function resolvePreparationBuildMaxAttempts(preparationConfig, override = null) {
|
|
76
76
|
const configured = override ?? preparationConfig.max_attempts ?? null;
|
|
77
77
|
if (configured == null)
|
|
78
78
|
return null;
|
|
@@ -81,7 +81,7 @@ export function resolvePreparationCompileMaxAttempts(preparationConfig, override
|
|
|
81
81
|
return 1;
|
|
82
82
|
return Math.min(5, normalized);
|
|
83
83
|
}
|
|
84
|
-
export function
|
|
84
|
+
export function resolvePreparationBuildMaxLoops(preparationConfig, override = null) {
|
|
85
85
|
const configured = override ?? preparationConfig.max_loops ?? null;
|
|
86
86
|
if (configured == null)
|
|
87
87
|
return null;
|
|
@@ -119,15 +119,19 @@ function toWritableSourceProjectConfig(config) {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
function toWritableSourcePreparationConfig(preparation) {
|
|
122
|
-
const
|
|
122
|
+
const buildPlan = buildPlanIdForSourcePreparationConfig(preparation);
|
|
123
123
|
return {
|
|
124
124
|
name: preparation.name,
|
|
125
125
|
path: preparation.path,
|
|
126
126
|
...(preparation.about ? { about: preparation.about } : {}),
|
|
127
|
-
...(
|
|
127
|
+
...(buildPlan ? { build_plan: buildPlan } : {}),
|
|
128
128
|
...(typeof preparation.max_attempts === "number" ? { max_attempts: preparation.max_attempts } : {}),
|
|
129
129
|
...(typeof preparation.max_loops === "number" ? { max_loops: preparation.max_loops } : {}),
|
|
130
130
|
checks: preparation.checks,
|
|
131
|
+
...(preparation.requested_artifacts?.length
|
|
132
|
+
? { requested_artifacts: preparation.requested_artifacts }
|
|
133
|
+
: {}),
|
|
134
|
+
...(preparation.source_profile ? { source_profile: preparation.source_profile } : {}),
|
|
131
135
|
};
|
|
132
136
|
}
|
|
133
137
|
export function saveSourceFolderConfig(prepDataDir, config) {
|
|
@@ -185,22 +189,22 @@ export function removeSourcePreparationConfig(prepDataDir, preparationName) {
|
|
|
185
189
|
});
|
|
186
190
|
return true;
|
|
187
191
|
}
|
|
188
|
-
export function
|
|
192
|
+
export function buildMaxAttempts(maxAttempts) {
|
|
189
193
|
if (maxAttempts == null)
|
|
190
194
|
return undefined;
|
|
191
|
-
return
|
|
195
|
+
return resolvePreparationBuildMaxAttempts({ max_attempts: maxAttempts }, null) ?? 1;
|
|
192
196
|
}
|
|
193
|
-
export function
|
|
197
|
+
export function buildMaxLoops(maxLoops) {
|
|
194
198
|
if (maxLoops == null)
|
|
195
199
|
return undefined;
|
|
196
|
-
return
|
|
200
|
+
return resolvePreparationBuildMaxLoops({ max_loops: maxLoops }, null) ?? 1;
|
|
197
201
|
}
|
|
198
202
|
export function sourcePreparationConfigFromInterfConfig(config, preparationPath = `./${config.name}`) {
|
|
199
203
|
return {
|
|
200
204
|
name: config.name,
|
|
201
205
|
path: preparationPath,
|
|
202
206
|
...(config.about ? { about: config.about } : {}),
|
|
203
|
-
|
|
207
|
+
build_plan: config.build_plan,
|
|
204
208
|
...(typeof config.max_attempts === "number"
|
|
205
209
|
? { max_attempts: config.max_attempts }
|
|
206
210
|
: {}),
|
|
@@ -210,11 +214,11 @@ export function sourcePreparationConfigFromInterfConfig(config, preparationPath
|
|
|
210
214
|
checks: config.checks ?? [],
|
|
211
215
|
};
|
|
212
216
|
}
|
|
213
|
-
export function
|
|
214
|
-
const config = readInterfConfig(
|
|
217
|
+
export function loadVerifiableContextPreparationConfig(verifiableContextPath) {
|
|
218
|
+
const config = readInterfConfig(verifiableContextPath);
|
|
215
219
|
if (!config)
|
|
216
220
|
return null;
|
|
217
|
-
const prepDataDir =
|
|
221
|
+
const prepDataDir = resolveSourceControlPathForVerifiableContext(verifiableContextPath);
|
|
218
222
|
const configuredPreparations = listSourcePreparationConfigs(loadSourceFolderConfig(prepDataDir));
|
|
219
223
|
const defaultPreparationPath = configuredPreparations.length === 1
|
|
220
224
|
? configuredPreparations[0].path
|
|
@@ -224,7 +228,7 @@ export function loadCompiledPreparationConfig(compiledPath) {
|
|
|
224
228
|
: null;
|
|
225
229
|
const preparationPath = sourceBinding
|
|
226
230
|
? (() => {
|
|
227
|
-
const sourceAbsolutePath = resolve(
|
|
231
|
+
const sourceAbsolutePath = resolve(verifiableContextPath, sourceBinding);
|
|
228
232
|
if (!isPathWithinRoot(prepDataDir, sourceAbsolutePath)) {
|
|
229
233
|
return sourceAbsolutePath;
|
|
230
234
|
}
|
|
@@ -233,40 +237,40 @@ export function loadCompiledPreparationConfig(compiledPath) {
|
|
|
233
237
|
: defaultPreparationPath;
|
|
234
238
|
return sourcePreparationConfigFromInterfConfig(config, preparationPath);
|
|
235
239
|
}
|
|
236
|
-
export function
|
|
237
|
-
mkdirSync(
|
|
238
|
-
writeFileSync(
|
|
240
|
+
export function saveVerifiableContextInterfConfig(verifiableContextPath, config) {
|
|
241
|
+
mkdirSync(verifiableContextInterfRoot(verifiableContextPath), { recursive: true });
|
|
242
|
+
writeFileSync(verifiableContextInterfConfigPath(verifiableContextPath), JSON.stringify(config, null, 2) + "\n");
|
|
239
243
|
return config;
|
|
240
244
|
}
|
|
241
|
-
export function
|
|
242
|
-
const current = readInterfConfig(
|
|
243
|
-
const prepDataDir =
|
|
245
|
+
export function syncVerifiableContextInterfConfigFromSourcePreparationConfig(verifiableContextPath, preparationConfig) {
|
|
246
|
+
const current = readInterfConfig(verifiableContextPath);
|
|
247
|
+
const prepDataDir = resolveSourceControlPathForVerifiableContext(verifiableContextPath);
|
|
244
248
|
const preparationAbsolutePath = resolveConfiguredSourceFolderPath(prepDataDir) ??
|
|
245
249
|
resolveSourcePreparationPath(prepDataDir, preparationConfig);
|
|
246
|
-
const preparationRelativePath = relative(
|
|
247
|
-
const
|
|
248
|
-
??
|
|
249
|
-
??
|
|
250
|
-
const
|
|
251
|
-
const
|
|
250
|
+
const preparationRelativePath = relative(verifiableContextPath, preparationAbsolutePath).split(sep).join("/") || ".";
|
|
251
|
+
const buildPlanId = buildPlanIdForSourcePreparationConfig(preparationConfig)
|
|
252
|
+
?? buildPlanIdForSourcePreparationConfig(current)
|
|
253
|
+
?? DEFAULT_BUILD_PLAN_ID;
|
|
254
|
+
const buildPlanChanged = current?.build_plan !== undefined && current.build_plan !== buildPlanId;
|
|
255
|
+
const buildPlanOrigin = buildPlanChanged || !current?.build_plan_origin
|
|
252
256
|
? {
|
|
253
|
-
selected:
|
|
257
|
+
selected: buildPlanId,
|
|
254
258
|
local_draft: false,
|
|
255
259
|
}
|
|
256
|
-
: current.
|
|
257
|
-
const { type: _ignoredType, name: _ignoredName, about: _ignoredAbout,
|
|
260
|
+
: current.build_plan_origin;
|
|
261
|
+
const { type: _ignoredType, name: _ignoredName, about: _ignoredAbout, build_plan: _ignoredBuildPlan, max_attempts: _ignoredMaxAttempts, max_loops: _ignoredMaxLoops, checks: _ignoredChecks, build_plan_origin: _ignoredBuildPlanOrigin, source: _ignoredSource, ...passthrough } = current ?? {};
|
|
258
262
|
const nextConfig = {
|
|
259
263
|
...passthrough,
|
|
260
264
|
...(!current ? {
|
|
261
|
-
type: "
|
|
265
|
+
type: "verifiable-context",
|
|
262
266
|
source: {
|
|
263
267
|
path: preparationRelativePath,
|
|
264
268
|
},
|
|
265
269
|
} : {}),
|
|
266
|
-
type: "
|
|
270
|
+
type: "verifiable-context",
|
|
267
271
|
name: preparationConfig.name,
|
|
268
272
|
...(preparationConfig.about ? { about: preparationConfig.about } : {}),
|
|
269
|
-
|
|
273
|
+
build_plan: buildPlanId,
|
|
270
274
|
...(typeof preparationConfig.max_attempts === "number"
|
|
271
275
|
? { max_attempts: preparationConfig.max_attempts }
|
|
272
276
|
: {}),
|
|
@@ -274,23 +278,23 @@ export function syncCompiledInterfConfigFromSourcePreparationConfig(compiledPath
|
|
|
274
278
|
? { max_loops: preparationConfig.max_loops }
|
|
275
279
|
: {}),
|
|
276
280
|
checks: preparationConfig.checks,
|
|
277
|
-
|
|
281
|
+
build_plan_origin: buildPlanOrigin,
|
|
278
282
|
source: {
|
|
279
283
|
path: preparationRelativePath,
|
|
280
|
-
control_path:
|
|
284
|
+
control_path: defaultControlPathForVerifiableContext(verifiableContextPath),
|
|
281
285
|
preparation_path: preparationRelativePath,
|
|
282
286
|
},
|
|
283
287
|
};
|
|
284
|
-
const saved =
|
|
285
|
-
if (
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
|
|
288
|
+
const saved = saveVerifiableContextInterfConfig(verifiableContextPath, nextConfig);
|
|
289
|
+
if (buildPlanChanged) {
|
|
290
|
+
const selectedBuildPlan = getBuildPlan(buildPlanId, { prepDataDir });
|
|
291
|
+
seedVerifiableContextBuildPlanPackage({
|
|
292
|
+
verifiableContextPath,
|
|
289
293
|
prepDataDir,
|
|
290
|
-
|
|
294
|
+
buildPlanId: selectedBuildPlan.id,
|
|
291
295
|
});
|
|
292
296
|
}
|
|
293
|
-
|
|
297
|
+
refreshVerifiableContextBootstrapGuidance(verifiableContextPath);
|
|
294
298
|
return saved;
|
|
295
299
|
}
|
|
296
300
|
function buildLoadedTestSpec(options) {
|
|
@@ -298,7 +302,7 @@ function buildLoadedTestSpec(options) {
|
|
|
298
302
|
return null;
|
|
299
303
|
const testId = options.id ?? slugify(options.name);
|
|
300
304
|
return {
|
|
301
|
-
id: options.targetType === "source-files" ? `${testId}-source-files` : testId
|
|
305
|
+
id: options.targetType === "source-files" ? `${testId}-source-files` : `${testId}-verifiable-context`,
|
|
302
306
|
filePath: options.filePath,
|
|
303
307
|
type: options.targetType,
|
|
304
308
|
name: options.name,
|
|
@@ -307,7 +311,7 @@ function buildLoadedTestSpec(options) {
|
|
|
307
311
|
};
|
|
308
312
|
}
|
|
309
313
|
export function buildTestSpecFromSourceFolderConfig(options) {
|
|
310
|
-
const { prepDataDir, targetName, targetType = "
|
|
314
|
+
const { prepDataDir, targetName, targetType = "verifiable-context" } = options;
|
|
311
315
|
const config = loadSourceFolderConfig(prepDataDir);
|
|
312
316
|
if (!config)
|
|
313
317
|
return null;
|
|
@@ -330,14 +334,14 @@ export function buildTestSpecFromSourceFolderConfig(options) {
|
|
|
330
334
|
targetType,
|
|
331
335
|
filePath: targetType === "source-files"
|
|
332
336
|
? `${configPath}#preparations/${match.name}:source-files`
|
|
333
|
-
: `${configPath}#preparations/${match.name}:
|
|
337
|
+
: `${configPath}#preparations/${match.name}:verifiable-context`,
|
|
334
338
|
defaultDescription: `Derived from saved Preparation checks in ${SOURCE_FOLDER_CONFIG_PATH}`,
|
|
335
339
|
});
|
|
336
340
|
}
|
|
337
|
-
export function
|
|
338
|
-
const {
|
|
339
|
-
const config = readInterfConfig(
|
|
340
|
-
const configPath =
|
|
341
|
+
export function buildTestSpecFromPreparationConfig(options) {
|
|
342
|
+
const { verifiableContextPath, targetType = "verifiable-context" } = options;
|
|
343
|
+
const config = readInterfConfig(verifiableContextPath);
|
|
344
|
+
const configPath = verifiableContextInterfConfigPath(verifiableContextPath);
|
|
341
345
|
if (!config)
|
|
342
346
|
return null;
|
|
343
347
|
return buildLoadedTestSpec({
|
|
@@ -347,8 +351,8 @@ export function buildTestSpecFromCompiledPreparationConfig(options) {
|
|
|
347
351
|
targetType,
|
|
348
352
|
filePath: targetType === "source-files"
|
|
349
353
|
? `${configPath}#checks:source-files`
|
|
350
|
-
: `${configPath}#checks:
|
|
351
|
-
defaultDescription: "Derived from checks in the
|
|
354
|
+
: `${configPath}#checks:verifiable-context`,
|
|
355
|
+
defaultDescription: "Derived from checks in the verifiable-context config.",
|
|
352
356
|
});
|
|
353
357
|
}
|
|
354
358
|
/**
|
|
@@ -356,7 +360,7 @@ export function buildTestSpecFromCompiledPreparationConfig(options) {
|
|
|
356
360
|
* absolute `preparation.path` was authored by hand. The schema-level
|
|
357
361
|
* refinement in `SourcePreparationConfigSchema` is the primary line of
|
|
358
362
|
* defense; this is the in-process backstop for callers that hand-craft a
|
|
359
|
-
* SourcePreparationConfig at runtime (e.g.
|
|
363
|
+
* SourcePreparationConfig at runtime (e.g. Build Plan authoring helpers that
|
|
360
364
|
* construct a config from an InterfConfig).
|
|
361
365
|
*/
|
|
362
366
|
const FORBIDDEN_PREPARATION_PATH_PREFIXES = [
|
|
@@ -47,7 +47,7 @@ export function normalizeSourcePreparationPathForConfig(prepDataDir, value) {
|
|
|
47
47
|
const resolvedPath = resolveSourcePreparationPath(prepDataDir, { path: trimmedValue });
|
|
48
48
|
const relativePath = relative(prepDataDir, resolvedPath).split(sep).join("/") || ".";
|
|
49
49
|
if (relativePath === ".") {
|
|
50
|
-
throw new Error("Pick a Source Folder, not the Interf
|
|
50
|
+
throw new Error("Pick a Source Folder, not the Interf preparation data folder itself.");
|
|
51
51
|
}
|
|
52
52
|
if (isAbsolute(trimmedValue) && !isPathWithinRoot(prepDataDir, resolvedPath)) {
|
|
53
53
|
if (!existsSync(resolvedPath)) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interf/compiler",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Interf
|
|
3
|
+
"version": "0.22.0",
|
|
4
|
+
"description": "Interf builds verifiable context for agents from your files.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"interf": "dist/bin.js"
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true});require('fs').rmSync('.tsbuildinfo',{force:true})\" && tsc && chmod 755 dist/bin.js",
|
|
21
21
|
"dev": "tsc --watch",
|
|
22
|
-
"web:dev": "npm --prefix apps/
|
|
23
|
-
"web:typecheck": "npm --prefix apps/
|
|
24
|
-
"web:build": "node scripts/web/build-
|
|
25
|
-
"docs:sync-
|
|
26
|
-
"docs:check-
|
|
22
|
+
"web:dev": "npm --prefix src/apps/interf-ui run dev",
|
|
23
|
+
"web:typecheck": "npm --prefix src/apps/interf-ui run typecheck",
|
|
24
|
+
"web:build": "node scripts/web/build-interf-ui.mjs",
|
|
25
|
+
"docs:sync-public": "node scripts/docs/sync-public-repo.mjs",
|
|
26
|
+
"docs:check-public": "node scripts/docs/sync-public-repo.mjs --check",
|
|
27
27
|
"test:smoke": "npm run build && node --test test/**/*.test.mjs",
|
|
28
28
|
"test": "npm run test:smoke",
|
|
29
29
|
"test:full": "npm test && npm run web:build",
|
|
@@ -33,17 +33,14 @@
|
|
|
33
33
|
"test:acceptance": "npm run build && node scripts/acceptance/release.mjs",
|
|
34
34
|
"test:release": "npm run web:typecheck && npm test && node scripts/acceptance/release.mjs && npm run web:build",
|
|
35
35
|
"test:acceptance-live": "npm run build && node scripts/acceptance/live.mjs",
|
|
36
|
-
"test:acceptance-quick:create-
|
|
37
|
-
"test:acceptance-quick:
|
|
38
|
-
"test:acceptance-quick:self-improving": "npm run build && node scripts/acceptance/targeted.mjs self-improving-
|
|
36
|
+
"test:acceptance-quick:create-build": "npm run build && node scripts/acceptance/targeted.mjs create-build",
|
|
37
|
+
"test:acceptance-quick:context-query": "npm run build && node scripts/acceptance/targeted.mjs context-query",
|
|
38
|
+
"test:acceptance-quick:self-improving": "npm run build && node scripts/acceptance/targeted.mjs self-improving-build",
|
|
39
39
|
"prepublishOnly": "node scripts/release/prepublish-gate.mjs"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist",
|
|
43
|
-
"
|
|
44
|
-
"agent-skills",
|
|
45
|
-
"LICENSE.md",
|
|
46
|
-
"TRADEMARKS.md"
|
|
43
|
+
"public-repo"
|
|
47
44
|
],
|
|
48
45
|
"publishConfig": {
|
|
49
46
|
"access": "public"
|
|
@@ -56,14 +53,14 @@
|
|
|
56
53
|
"claude",
|
|
57
54
|
"codex"
|
|
58
55
|
],
|
|
59
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
56
|
+
"license": "SEE LICENSE IN public-repo/LICENSE.md",
|
|
60
57
|
"author": "Interf Inc.",
|
|
61
58
|
"repository": {
|
|
62
59
|
"type": "git",
|
|
63
|
-
"url": "git+https://github.com/interf-labs/
|
|
60
|
+
"url": "git+https://github.com/interf-labs/interf.git"
|
|
64
61
|
},
|
|
65
62
|
"bugs": {
|
|
66
|
-
"url": "https://github.com/interf-labs/
|
|
63
|
+
"url": "https://github.com/interf-labs/interf/issues"
|
|
67
64
|
},
|
|
68
65
|
"homepage": "https://interf.com",
|
|
69
66
|
"engines": {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
This public surface contains the files users and agent hosts need to inspect:
|
|
4
|
+
the README, license and security docs, bundled Skills, plugin manifests, and
|
|
5
|
+
public Build Plans.
|
|
6
|
+
|
|
7
|
+
The Interf engine source is private. Do not add private source paths,
|
|
8
|
+
maintainer docs, or internal repo instructions here.
|
|
9
|
+
|
|
10
|
+
## What To Change Here
|
|
11
|
+
|
|
12
|
+
- Public product docs: the public README, `SECURITY.md`, and `TRADEMARKS.md`.
|
|
13
|
+
- Agent Skills: `skills/interf/`.
|
|
14
|
+
- Host plugin bundles: `plugins/`.
|
|
15
|
+
- Public Build Plans: `build-plans/`.
|
|
16
|
+
|
|
17
|
+
## Public Build Plans
|
|
18
|
+
|
|
19
|
+
Build Plans are inspectable folders. Keep them standalone:
|
|
20
|
+
|
|
21
|
+
- `build-plan.json` is the current technical filename for the Build Plan stages and Artifact outputs.
|
|
22
|
+
- `build-plan.schema.json` is the current technical filename for the output contract.
|
|
23
|
+
- `build/stages/<stage>/SKILL.md` contains stage instructions.
|
|
24
|
+
- `use/query/SKILL.md` tells agents how to read the verifiable context.
|
|
25
|
+
- `improve/SKILL.md` tells Interf how to revise the plan when checks fail.
|
|
26
|
+
|
|
27
|
+
For the shipped default Build Plan, edit `build-plans/interf-default/`.
|
|
28
|
+
|
|
29
|
+
## Agent Skills And Plugins
|
|
30
|
+
|
|
31
|
+
Keep `skills/interf/SKILL.md` as the canonical Skill.
|
|
32
|
+
|
|
33
|
+
Plugin bundles should stay thin:
|
|
34
|
+
|
|
35
|
+
- host manifest
|
|
36
|
+
- copied Interf Skill when the host requires a local copy
|
|
37
|
+
- MCP configuration that launches `interf mcp`
|
|
38
|
+
|
|
39
|
+
The MCP server implementation ships inside `interf`.
|
|
40
|
+
|
|
41
|
+
## Before Opening A PR
|
|
42
|
+
|
|
43
|
+
Check that public docs do not reference private paths such as internal source
|
|
44
|
+
trees, maintainer-only docs, or local machine paths.
|
|
45
|
+
|
|
46
|
+
If you changed a Build Plan, test it with an installed `interf`
|
|
47
|
+
runtime before submitting the change.
|