@graphrefly/graphrefly 0.41.0 → 0.42.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/{cascading-Cxs1eztH.d.cts → cascading-CH-_VwG9.d.cts} +2 -2
- package/dist/{cascading-BNfxffgc.d.ts → cascading-OgKQZjsa.d.ts} +2 -2
- package/dist/{chunk-L77I47VU.js → chunk-2K5RXLAH.js} +1 -1
- package/dist/chunk-3ERTUW2J.js +45 -0
- package/dist/chunk-3K7HA4Y6.js +1 -0
- package/dist/chunk-3ZZX7M25.js +1 -0
- package/dist/chunk-4QH6VJF4.js +1 -0
- package/dist/{chunk-M3FQSXEW.js → chunk-5QRRKBUT.js} +1 -1
- package/dist/chunk-5ST42ESJ.js +1 -0
- package/dist/{chunk-AK5RHMC5.js → chunk-6YFZMUMR.js} +1 -1
- package/dist/{chunk-SC27WTSG.js → chunk-7ARY3Y3T.js} +1 -1
- package/dist/chunk-7B7ELAT2.js +1 -0
- package/dist/{chunk-F7VUYPP6.js → chunk-7VKFXLZQ.js} +1 -1
- package/dist/chunk-ACMJ2ZPS.js +3 -0
- package/dist/{chunk-7PQLZMOG.js → chunk-AGNM6RS6.js} +1 -1
- package/dist/chunk-AS3TV2TV.js +1 -0
- package/dist/{chunk-CGNOWGV6.js → chunk-CISGGAIF.js} +1 -1
- package/dist/{chunk-ZAJ7J7TO.js → chunk-DEJTNNQC.js} +1 -1
- package/dist/{chunk-AI7QC7J6.js → chunk-FDZAZNRO.js} +1 -1
- package/dist/{chunk-OV5AA6HJ.js → chunk-FUZ6S2DY.js} +1 -1
- package/dist/{chunk-G3M3IMEV.js → chunk-G5VBJ5K6.js} +1 -1
- package/dist/{chunk-KNVCCBIU.js → chunk-HZKW2AAB.js} +1 -1
- package/dist/{chunk-CYOSWFT2.js → chunk-IZM3UEH3.js} +3 -3
- package/dist/{chunk-UISPDFJ3.js → chunk-KCACBSJH.js} +1 -1
- package/dist/{chunk-GI4Q7PNY.js → chunk-KT5DTRBP.js} +1 -1
- package/dist/{chunk-33N4TU3X.js → chunk-KY2LMAXU.js} +1 -1
- package/dist/{chunk-TT4C7DXW.js → chunk-LDQ3IUIP.js} +1 -1
- package/dist/chunk-LPRWATHB.js +61 -0
- package/dist/{chunk-X7QKTXXC.js → chunk-NWXQIOIB.js} +3 -3
- package/dist/{chunk-VV62MIG4.js → chunk-Q7QQQA3I.js} +1 -1
- package/dist/chunk-VE5SIZEM.js +1 -0
- package/dist/chunk-VRALOYRD.js +1 -0
- package/dist/{chunk-5VEZLQFN.js → chunk-WHMUB5QB.js} +1 -1
- package/dist/chunk-XLQPNNIC.js +1 -0
- package/dist/{chunk-YQRN4CIV.js → chunk-YGL7FPVQ.js} +1 -1
- package/dist/compat/index.cjs +5 -5
- package/dist/compat/index.d.cts +16 -16
- package/dist/compat/index.d.ts +16 -16
- package/dist/compat/index.js +1 -1
- package/dist/compat/jotai/index.d.cts +2 -2
- package/dist/compat/jotai/index.d.ts +2 -2
- package/dist/compat/nanostores/index.d.cts +2 -2
- package/dist/compat/nanostores/index.d.ts +2 -2
- package/dist/compat/nestjs/index.cjs +5 -5
- package/dist/compat/nestjs/index.d.cts +8 -8
- package/dist/compat/nestjs/index.d.ts +8 -8
- package/dist/compat/nestjs/index.js +1 -1
- package/dist/compat/react/index.d.cts +2 -2
- package/dist/compat/react/index.d.ts +2 -2
- package/dist/compat/solid/index.d.cts +2 -2
- package/dist/compat/solid/index.d.ts +2 -2
- package/dist/compat/svelte/index.d.cts +2 -2
- package/dist/compat/svelte/index.d.ts +2 -2
- package/dist/compat/vue/index.d.cts +2 -2
- package/dist/compat/vue/index.d.ts +2 -2
- package/dist/compat/zustand/index.cjs +3 -3
- package/dist/compat/zustand/index.d.cts +4 -4
- package/dist/compat/zustand/index.d.ts +4 -4
- package/dist/compat/zustand/index.js +1 -1
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/{decay-C25AyNAj.d.cts → decay-2ZukgQ4o.d.cts} +2 -2
- package/dist/{decay-BnrlbxSv.d.ts → decay-CdEBmDIs.d.ts} +2 -2
- package/dist/extra/browser.d.cts +1 -1
- package/dist/extra/browser.d.ts +1 -1
- package/dist/extra/index.cjs +14 -14
- package/dist/extra/index.d.cts +10 -11
- package/dist/extra/index.d.ts +10 -11
- package/dist/extra/index.js +1 -1
- package/dist/extra/node.cjs +2 -2
- package/dist/extra/node.d.cts +1 -1
- package/dist/extra/node.d.ts +1 -1
- package/dist/extra/node.js +1 -1
- package/dist/extra/operators.cjs +1 -1
- package/dist/extra/operators.d.cts +1 -1
- package/dist/extra/operators.d.ts +1 -1
- package/dist/extra/operators.js +1 -1
- package/dist/extra/reactive.d.cts +3 -3
- package/dist/extra/reactive.d.ts +3 -3
- package/dist/extra/reactive.js +1 -1
- package/dist/extra/render/index.d.cts +3 -3
- package/dist/extra/render/index.d.ts +3 -3
- package/dist/extra/sources.cjs +3 -1
- package/dist/extra/sources.d.cts +1 -1
- package/dist/extra/sources.d.ts +1 -1
- package/dist/extra/sources.js +1 -1
- package/dist/extra/storage-browser.d.cts +1 -1
- package/dist/extra/storage-browser.d.ts +1 -1
- package/dist/{fallback-CMZl39L5.d.ts → fallback-CqYVLL6X.d.ts} +1 -1
- package/dist/{fallback-8JYU8tlT.d.cts → fallback-Ctlj2tMY.d.cts} +1 -1
- package/dist/graph/index.cjs +7 -7
- package/dist/graph/index.d.cts +5 -5
- package/dist/graph/index.d.ts +5 -5
- package/dist/graph/index.js +1 -1
- package/dist/{graph-BkIkog4h.d.ts → graph-7VguS7a4.d.ts} +3 -3
- package/dist/{graph-E6likq7w.d.cts → graph-C4SHb3Ly.d.cts} +3 -3
- package/dist/{index-DktLSZOc.d.cts → index-2B7u2pVn.d.cts} +4 -4
- package/dist/{index-DGD4_fj6.d.cts → index-3NmAfcH0.d.cts} +8 -5
- package/dist/{index-DfOK_oL5.d.ts → index-4Uz-e_fL.d.ts} +372 -17
- package/dist/{index-BAQrjuZF.d.ts → index-B-i4_g3k.d.ts} +2 -2
- package/dist/{index-DpiGqtrs.d.cts → index-B11anra4.d.cts} +441 -381
- package/dist/{index-WSlcjhQF.d.ts → index-B3OTH1dV.d.ts} +124 -13
- package/dist/{index-2n8Eai6M.d.ts → index-BG0BN3PB.d.ts} +1 -1
- package/dist/{index-z8WFPVI8.d.cts → index-BJX94aud.d.cts} +1 -1
- package/dist/{index-DhLyOHYZ.d.ts → index-BP8a88zx.d.ts} +11 -4
- package/dist/{index-Cnr1WrlX.d.cts → index-BTQtTb_H.d.cts} +14 -3
- package/dist/{index-BaA-xpSw.d.ts → index-BUYXac2c.d.ts} +3 -3
- package/dist/{index-DOBLxOti.d.cts → index-BVpm6noz.d.cts} +1 -1
- package/dist/{index-DhnsQfa3.d.ts → index-Bbkgpt5t.d.ts} +441 -381
- package/dist/{index-Cczxgd2D.d.ts → index-Bc41FuHp.d.cts} +3 -3
- package/dist/{index-BiHUBEKq.d.cts → index-BdGtBX-X.d.cts} +3 -3
- package/dist/index-BeT2r7sk.d.ts +760 -0
- package/dist/{index-da2V5vPy.d.ts → index-Bf7eqeSF.d.ts} +2 -2
- package/dist/{index-bXXLSvor.d.ts → index-Bn4zHYLj.d.ts} +4 -4
- package/dist/{index-DGTo1yka.d.cts → index-BoLv_OfD.d.cts} +2 -2
- package/dist/{index-B72TQQHd.d.cts → index-BsT7F2et.d.ts} +3 -3
- package/dist/{index-Bd91Nmf4.d.cts → index-BtAsBp8K.d.cts} +4 -4
- package/dist/{index-DgJc8Zgc.d.cts → index-C0-Jv1kP.d.cts} +81 -5
- package/dist/{index-C6ZUaos7.d.ts → index-C7O6r5fV.d.ts} +1 -1
- package/dist/{index-CL7oilfm.d.cts → index-C9kSENB4.d.cts} +1 -1
- package/dist/{index-yLt-aPMp.d.ts → index-CCq87F7t.d.ts} +1 -1
- package/dist/{index-DQQCOIt8.d.cts → index-CEMx8n40.d.cts} +10 -5
- package/dist/{index-BilOa6AE.d.cts → index-CJIuLu2f.d.cts} +124 -13
- package/dist/{index-B2RUoIUz.d.ts → index-CJK1JkYy.d.ts} +1 -1
- package/dist/{index-CG33HeBW.d.ts → index-CJQm0g38.d.ts} +8 -5
- package/dist/index-CPNSy-U0.d.cts +760 -0
- package/dist/{index-A3U3CSve.d.cts → index-CZjOhcBy.d.cts} +2 -2
- package/dist/{index-CAP3UGsq.d.ts → index-CZmcDtFn.d.ts} +1 -1
- package/dist/{index-DYTBbF8T.d.cts → index-ChOyVLKm.d.cts} +1 -1
- package/dist/{index-eaQuGJnv.d.ts → index-CpyNFqkB.d.ts} +3 -3
- package/dist/{index-BJSZxSFX.d.ts → index-CvrqGfNS.d.ts} +1 -1
- package/dist/{index-DuRsN9ae.d.cts → index-D-Xs74HZ.d.cts} +372 -17
- package/dist/{index-C5cQ7Gfx.d.ts → index-D6egPFAL.d.ts} +4 -4
- package/dist/{index-CD2dBMet.d.ts → index-D8l8hNXn.d.ts} +10 -5
- package/dist/{index-40ZT4MHj.d.ts → index-DBHK8O6H.d.ts} +14 -3
- package/dist/{index-DVDapw2k.d.cts → index-DBIqYS43.d.cts} +35 -21
- package/dist/{index-3k4Gg6-n.d.ts → index-DBevwHj_.d.ts} +3 -3
- package/dist/{index-Ctb7_2sG.d.ts → index-DIOoAZUX.d.ts} +1 -1
- package/dist/{index-BQ1fR4li.d.ts → index-DO9XxMzS.d.ts} +35 -21
- package/dist/{index-CQtWm7jS.d.ts → index-DQo8xBgd.d.ts} +9 -9
- package/dist/{index-DH4fm2Ck.d.ts → index-Dgs8zcj7.d.ts} +2 -2
- package/dist/{index-CtFNGe-m.d.cts → index-Dhc7a7Xo.d.cts} +2 -2
- package/dist/{index-MxYuWOrf.d.cts → index-DmAgG5CI.d.cts} +3 -3
- package/dist/{index-CoM4rzyB.d.ts → index-Dmqp7KjD.d.ts} +1 -1
- package/dist/{index-B6iTqKtJ.d.ts → index-Dn-wI9g4.d.ts} +2 -2
- package/dist/{index-C-dkXOpB.d.cts → index-Du7u1lSf.d.cts} +11 -4
- package/dist/{index-DVAlsmEU.d.cts → index-HoU88d5U.d.cts} +3 -3
- package/dist/{index-CRm0YIzC.d.cts → index-LIpQQE9f.d.cts} +9 -9
- package/dist/{index-CgnCFhr2.d.cts → index-f5IivDUX.d.cts} +1 -1
- package/dist/{index-PgwvGWa1.d.cts → index-hHcaFlJX.d.cts} +1 -1
- package/dist/{index-I1cCY3ZI.d.ts → index-pT8sCpOJ.d.ts} +81 -5
- package/dist/{index-D4uimgee.d.cts → index-sl4NyzQx.d.cts} +1 -1
- package/dist/{index-tV3AA9hI.d.cts → index-tJoTcnHh.d.cts} +2 -2
- package/dist/{index-D3ayz3hy.d.cts → index-z96luz5O.d.cts} +1 -1
- package/dist/index.cjs +48 -48
- package/dist/index.d.cts +45 -50
- package/dist/index.d.ts +45 -50
- package/dist/index.js +1 -1
- package/dist/{meta-D8OyedKp.d.ts → meta-BgVAsg9j.d.ts} +1 -1
- package/dist/{meta-Ct9nqQS5.d.cts → meta-vE8bxW1E.d.cts} +1 -1
- package/dist/{node-BYInONRr.d.cts → node-ClS5yC-B.d.cts} +1 -1
- package/dist/{node-BYInONRr.d.ts → node-ClS5yC-B.d.ts} +1 -1
- package/dist/{observable-DO8DDEzv.d.ts → observable-BsBzUrcI.d.ts} +1 -1
- package/dist/{observable-DMIlYJV1.d.cts → observable-DLGPPtb8.d.cts} +1 -1
- package/dist/patterns/ai/browser.d.cts +4 -4
- package/dist/patterns/ai/browser.d.ts +4 -4
- package/dist/patterns/ai/browser.js +1 -1
- package/dist/patterns/ai/index.cjs +17 -17
- package/dist/patterns/ai/index.d.cts +17 -17
- package/dist/patterns/ai/index.d.ts +17 -17
- package/dist/patterns/ai/index.js +1 -1
- package/dist/patterns/ai/node.d.cts +4 -4
- package/dist/patterns/ai/node.d.ts +4 -4
- package/dist/patterns/ai/node.js +1 -1
- package/dist/patterns/cqrs/index.cjs +3 -3
- package/dist/patterns/cqrs/index.d.cts +6 -6
- package/dist/patterns/cqrs/index.d.ts +6 -6
- package/dist/patterns/cqrs/index.js +1 -1
- package/dist/patterns/demo-shell/index.cjs +5 -5
- package/dist/patterns/demo-shell/index.d.cts +5 -5
- package/dist/patterns/demo-shell/index.d.ts +5 -5
- package/dist/patterns/demo-shell/index.js +1 -1
- package/dist/patterns/domain-templates/index.cjs +3 -3
- package/dist/patterns/domain-templates/index.d.cts +4 -4
- package/dist/patterns/domain-templates/index.d.ts +4 -4
- package/dist/patterns/domain-templates/index.js +1 -1
- package/dist/patterns/graphspec/index.cjs +12 -12
- package/dist/patterns/graphspec/index.d.cts +5 -5
- package/dist/patterns/graphspec/index.d.ts +5 -5
- package/dist/patterns/graphspec/index.js +1 -1
- package/dist/patterns/harness/index.cjs +10 -8
- package/dist/patterns/harness/index.d.cts +11 -12
- package/dist/patterns/harness/index.d.ts +11 -12
- package/dist/patterns/harness/index.js +1 -1
- package/dist/patterns/inspect/index.cjs +3 -0
- package/dist/patterns/inspect/index.d.cts +9 -0
- package/dist/patterns/inspect/index.d.ts +9 -0
- package/dist/patterns/inspect/index.js +1 -0
- package/dist/patterns/job-queue/index.cjs +3 -3
- package/dist/patterns/job-queue/index.d.cts +6 -6
- package/dist/patterns/job-queue/index.d.ts +6 -6
- package/dist/patterns/job-queue/index.js +1 -1
- package/dist/patterns/memory/index.cjs +3 -3
- package/dist/patterns/memory/index.d.cts +6 -6
- package/dist/patterns/memory/index.d.ts +6 -6
- package/dist/patterns/memory/index.js +1 -1
- package/dist/patterns/messaging/index.cjs +3 -3
- package/dist/patterns/messaging/index.d.cts +5 -5
- package/dist/patterns/messaging/index.d.ts +5 -5
- package/dist/patterns/messaging/index.js +1 -1
- package/dist/patterns/orchestration/index.cjs +3 -3
- package/dist/patterns/orchestration/index.d.cts +7 -7
- package/dist/patterns/orchestration/index.d.ts +7 -7
- package/dist/patterns/orchestration/index.js +1 -1
- package/dist/patterns/process/index.cjs +1 -1
- package/dist/patterns/process/index.d.cts +7 -7
- package/dist/patterns/process/index.d.ts +7 -7
- package/dist/patterns/process/index.js +1 -1
- package/dist/patterns/reactive-layout/index.cjs +4 -4
- package/dist/patterns/reactive-layout/index.d.cts +5 -5
- package/dist/patterns/reactive-layout/index.d.ts +5 -5
- package/dist/patterns/reactive-layout/index.js +1 -1
- package/dist/patterns/reduction/index.cjs +3 -3
- package/dist/patterns/reduction/index.d.cts +4 -4
- package/dist/patterns/reduction/index.d.ts +4 -4
- package/dist/patterns/reduction/index.js +1 -1
- package/dist/patterns/surface/index.cjs +8 -8
- package/dist/patterns/surface/index.d.cts +6 -6
- package/dist/patterns/surface/index.d.ts +6 -6
- package/dist/patterns/surface/index.js +1 -1
- package/dist/{pipeline-graph-MWrQZXCq.d.cts → pipeline-graph-WBlobVhU.d.cts} +5 -5
- package/dist/{pipeline-graph-CB4La-UW.d.ts → pipeline-graph-v8fMvqNk.d.ts} +5 -5
- package/dist/{reactive-layout-BtZfUKuL.d.cts → reactive-layout-Dsvob4zD.d.cts} +2 -2
- package/dist/{reactive-layout-KJj4E2dT.d.ts → reactive-layout-v7KPvxoc.d.ts} +2 -2
- package/dist/{reactive-log-_zeEnB9H.d.cts → reactive-log-B00laMSQ.d.cts} +1 -1
- package/dist/{reactive-log-BlAsPLl2.d.ts → reactive-log-BezYsbA_.d.ts} +1 -1
- package/dist/{reactive-map-6P_k3AQM.d.cts → reactive-map-48mnZ-nu.d.cts} +1 -1
- package/dist/{reactive-map-CjXByDV-.d.ts → reactive-map-BVVPdvmi.d.ts} +1 -1
- package/dist/resilience-445VFFXQ.js +1 -0
- package/dist/{sugar-BhfjgetH.d.ts → sugar-CH-2ZY90.d.ts} +1 -1
- package/dist/{sugar-DzePN5-g.d.cts → sugar-DStZfUEK.d.cts} +1 -1
- package/dist/{topology-tree-mF7Emqzm.d.ts → topology-tree-BNGvuG82.d.ts} +1 -1
- package/dist/{topology-tree-3LBKFsUo.d.cts → topology-tree-BSdfSwMi.d.cts} +1 -1
- package/dist/{types-1Dhoi7HM.d.cts → types-B1jDWVsM.d.cts} +1 -1
- package/dist/{types-39jk0kaV.d.ts → types-DkzUUs0H.d.ts} +1 -1
- package/package.json +11 -51
- package/dist/budget-gate-CmmVtasH.d.ts +0 -115
- package/dist/budget-gate-DiP_nK0n.d.cts +0 -115
- package/dist/chunk-2W553JJC.js +0 -1
- package/dist/chunk-4MKL6Q3K.js +0 -1
- package/dist/chunk-5B3JDG5F.js +0 -1
- package/dist/chunk-5QSXEMXG.js +0 -1
- package/dist/chunk-5TEFC2ZX.js +0 -1
- package/dist/chunk-5TOPVRN6.js +0 -1
- package/dist/chunk-EC2WNSZ7.js +0 -1
- package/dist/chunk-ELAASRBT.js +0 -3
- package/dist/chunk-H5SCWHWP.js +0 -1
- package/dist/chunk-OLIKJUKI.js +0 -1
- package/dist/chunk-POXANAJ6.js +0 -3
- package/dist/chunk-RSMEXK53.js +0 -43
- package/dist/chunk-SGS4OJGS.js +0 -1
- package/dist/chunk-URJ2VFNC.js +0 -1
- package/dist/chunk-VXPLLA4P.js +0 -1
- package/dist/chunk-WZYB3JQS.js +0 -1
- package/dist/chunk-Z6X7B6A4.js +0 -61
- package/dist/index-8s-Qm-gz.d.ts +0 -218
- package/dist/index-BgjS2b8N.d.ts +0 -366
- package/dist/index-BmSQLAZo.d.cts +0 -244
- package/dist/index-CGhMJNHb.d.cts +0 -128
- package/dist/index-CUIkE1l9.d.cts +0 -230
- package/dist/index-Ck35nA-T.d.ts +0 -244
- package/dist/index-CuPUehFa.d.cts +0 -218
- package/dist/index-D1Gc7wV5.d.ts +0 -230
- package/dist/index-N2MAxt7_.d.ts +0 -128
- package/dist/index-t6L2qpHh.d.cts +0 -366
- package/dist/patterns/audit/index.cjs +0 -3
- package/dist/patterns/audit/index.d.cts +0 -8
- package/dist/patterns/audit/index.d.ts +0 -8
- package/dist/patterns/audit/index.js +0 -1
- package/dist/patterns/guarded-execution/index.cjs +0 -3
- package/dist/patterns/guarded-execution/index.d.cts +0 -9
- package/dist/patterns/guarded-execution/index.d.ts +0 -9
- package/dist/patterns/guarded-execution/index.js +0 -1
- package/dist/patterns/lens/index.cjs +0 -3
- package/dist/patterns/lens/index.d.cts +0 -7
- package/dist/patterns/lens/index.d.ts +0 -7
- package/dist/patterns/lens/index.js +0 -1
- package/dist/patterns/refine-loop/index.cjs +0 -5
- package/dist/patterns/refine-loop/index.d.cts +0 -9
- package/dist/patterns/refine-loop/index.d.ts +0 -9
- package/dist/patterns/refine-loop/index.js +0 -1
- package/dist/patterns/resilient-pipeline/index.cjs +0 -3
- package/dist/patterns/resilient-pipeline/index.d.cts +0 -8
- package/dist/patterns/resilient-pipeline/index.d.ts +0 -8
- package/dist/patterns/resilient-pipeline/index.js +0 -1
- package/dist/resilience-JISHQD2F.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Actor,
|
|
2
|
-
import { D as DescribeNodeOutput, a as DescribeDetail, b as DescribeField } from './meta-
|
|
1
|
+
import { A as Actor, n as GraphReFlyConfig, V as VersioningLevel, N as Node, M as Messages, K as NodeSink } from './node-ClS5yC-B.cjs';
|
|
2
|
+
import { D as DescribeNodeOutput, a as DescribeDetail, b as DescribeField } from './meta-vE8bxW1E.cjs';
|
|
3
3
|
import { StorageHandle } from './extra/storage-core.cjs';
|
|
4
4
|
import { SnapshotStorageTier } from './extra/storage-tiers.cjs';
|
|
5
5
|
|
|
@@ -1665,4 +1665,4 @@ declare function reachable(described: GraphDescribeOutput, from: string, directi
|
|
|
1665
1665
|
}): ReachableResult;
|
|
1666
1666
|
declare function reachable(described: GraphDescribeOutput, from: string, direction: ReachableDirection, options?: ReachableOptions): string[];
|
|
1667
1667
|
|
|
1668
|
-
export { type ObserveTheme as A, type ObserveThemeName as B, type CausalChain as C, type
|
|
1668
|
+
export { type ObserveTheme as A, type ObserveThemeName as B, type CausalChain as C, type DescribeChangeset as D, type ExplainPathOptions as E, type ObserveTier as F, Graph as G, type ReachableOptions as H, type TraceEntry as I, diffForWAL as J, explainPath as K, graphProfile as L, type Meta as M, type NodeProfile as N, type ObserveChangeset as O, reachable as P, topologyDiff as Q, type ReachableDirection as R, SNAPSHOT_VERSION as S, type TopologyEvent as T, type GraphOptions as a, type GraphDescribeOutput as b, type CausalStep as c, type DescribeEvent as d, type DescribeFilter as e, GRAPH_META_SEGMENT as f, type GraphActorOptions as g, type GraphAttachStorageOptions as h, type GraphCheckpointRecord as i, type GraphDescribeOptions as j, type GraphDiagramDirection as k, type GraphDiffChange as l, type GraphDiffResult as m, type GraphFactoryContext as n, type GraphNodeFactory as o, type GraphObserveAll as p, type GraphObserveOne as q, type GraphPersistSnapshot as r, type GraphProfileOptions as s, type GraphProfileResult as t, type GraphVersionChange as u, type GraphWALDiff as v, type ObserveDetail as w, type ObserveEvent as x, type ObserveOptions as y, type ObserveResult as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { N as Node } from './node-
|
|
2
|
-
import { B as BaseAuditRecord } from './index-
|
|
3
|
-
import { a as ReactiveLogBundle } from './reactive-log-
|
|
4
|
-
import { G as Graph } from './graph-
|
|
1
|
+
import { N as Node } from './node-ClS5yC-B.cjs';
|
|
2
|
+
import { B as BaseAuditRecord } from './index-DBIqYS43.cjs';
|
|
3
|
+
import { a as ReactiveLogBundle } from './reactive-log-B00laMSQ.cjs';
|
|
4
|
+
import { G as Graph } from './graph-C4SHb3Ly.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Memory patterns (roadmap §4.3) — public-face Phase-4 primitives audited under
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { N as Node } from './node-
|
|
2
|
-
import { B as BaseAuditRecord } from './index-
|
|
3
|
-
import { a as ReactiveLogBundle } from './reactive-log-
|
|
1
|
+
import { N as Node } from './node-ClS5yC-B.cjs';
|
|
2
|
+
import { B as BaseAuditRecord } from './index-DBIqYS43.cjs';
|
|
3
|
+
import { a as ReactiveLogBundle } from './reactive-log-B00laMSQ.cjs';
|
|
4
4
|
import { NodeInput } from './extra/sources.cjs';
|
|
5
5
|
import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
|
|
6
|
-
import { G as Graph, a as GraphOptions } from './graph-
|
|
6
|
+
import { G as Graph, a as GraphOptions } from './graph-C4SHb3Ly.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Job queue patterns (roadmap §4.2).
|
|
@@ -47,8 +47,11 @@ declare class JobQueueGraph<T> extends Graph {
|
|
|
47
47
|
readonly events: ReactiveLogBundle<JobEvent<T>>;
|
|
48
48
|
/** Alias for {@link JobQueueGraph.events} — Audit 2 `.audit` duplication. */
|
|
49
49
|
readonly audit: ReactiveLogBundle<JobEvent<T>>;
|
|
50
|
+
private readonly _enqueueImpl;
|
|
51
|
+
private readonly _ackImpl;
|
|
52
|
+
private readonly _nackImpl;
|
|
53
|
+
private readonly _removeByIdImpl;
|
|
50
54
|
constructor(name: string, opts?: JobQueueOptions);
|
|
51
|
-
private _bumpSeq;
|
|
52
55
|
/**
|
|
53
56
|
* Wire append-log storage tiers (Audit 4). Returns a disposer.
|
|
54
57
|
*
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { NodeInput } from './extra/sources.js';
|
|
2
|
-
import { N as Node } from './node-
|
|
3
|
-
import { L as LLMAdapter } from './types-
|
|
4
|
-
import { J as JobEnvelope, a as JobFlowGraph, b as JobQueueGraph } from './index-
|
|
5
|
-
import { T as TopicGraph, M as MessagingHubGraph } from './index-
|
|
6
|
-
import {
|
|
7
|
-
import { G as
|
|
8
|
-
import { G as GateController } from './pipeline-graph-CB4La-UW.js';
|
|
2
|
+
import { N as Node } from './node-ClS5yC-B.js';
|
|
3
|
+
import { L as LLMAdapter } from './types-DkzUUs0H.js';
|
|
4
|
+
import { J as JobEnvelope, a as JobFlowGraph, b as JobQueueGraph } from './index-CJQm0g38.js';
|
|
5
|
+
import { T as TopicGraph, M as MessagingHubGraph } from './index-DBHK8O6H.js';
|
|
6
|
+
import { a as GraphOptions, G as Graph, t as GraphProfileResult, s as GraphProfileOptions } from './graph-7VguS7a4.js';
|
|
7
|
+
import { G as GateController } from './pipeline-graph-v8fMvqNk.js';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Strategy model and priority scoring (roadmap §9.0).
|
|
@@ -695,7 +694,7 @@ declare function createIntakeBridge<T>(source: Node<T>, intakeTopic: TopicGraph<
|
|
|
695
694
|
* TS eval runner uses `EvalRun` from `evals/lib/types.ts` which is a superset
|
|
696
695
|
* of this shape. The bridge only reads what it needs.
|
|
697
696
|
*/
|
|
698
|
-
interface
|
|
697
|
+
interface EvalRunResult {
|
|
699
698
|
run_id: string;
|
|
700
699
|
model: string;
|
|
701
700
|
tasks: EvalTaskResult[];
|
|
@@ -723,12 +722,12 @@ interface EvalIntakeBridgeOptions {
|
|
|
723
722
|
* Each failing judge criterion produces a separate IntakeItem — not one
|
|
724
723
|
* item per task. This gives the triage stage granular findings to classify.
|
|
725
724
|
*
|
|
726
|
-
* @param evalSource - Node emitting
|
|
725
|
+
* @param evalSource - Node emitting EvalRunResult (or EvalRunResult[]).
|
|
727
726
|
* @param intakeTopic - TopicGraph to publish IntakeItem entries to.
|
|
728
727
|
* @param opts - Optional configuration.
|
|
729
728
|
* @returns The effect node (for lifecycle management).
|
|
730
729
|
*/
|
|
731
|
-
declare function evalIntakeBridge(evalSource: Node<
|
|
730
|
+
declare function evalIntakeBridge(evalSource: Node<EvalRunResult | EvalRunResult[]>, intakeTopic: TopicGraph<IntakeItem>, opts?: EvalIntakeBridgeOptions): Node<unknown>;
|
|
732
731
|
/**
|
|
733
732
|
* Wrap any eval runner as a reactive producer node.
|
|
734
733
|
*
|
|
@@ -744,9 +743,9 @@ declare function evalIntakeBridge(evalSource: Node<EvalResult | EvalResult[]>, i
|
|
|
744
743
|
* ```
|
|
745
744
|
*
|
|
746
745
|
* @param trigger - Any node; each new DATA emission fires the runner.
|
|
747
|
-
* @param runner - Returns an
|
|
746
|
+
* @param runner - Returns an EvalRunResult (or promise of one).
|
|
748
747
|
*/
|
|
749
|
-
declare function evalSource<T extends
|
|
748
|
+
declare function evalSource<T extends EvalRunResult>(trigger: Node<unknown>, runner: () => T | Promise<T>): Node<T>;
|
|
750
749
|
/** Per-task delta produced by {@link beforeAfterCompare}. */
|
|
751
750
|
interface EvalTaskDelta {
|
|
752
751
|
taskId: string;
|
|
@@ -770,12 +769,12 @@ interface EvalDelta {
|
|
|
770
769
|
* Derived node that computes before/after eval deltas.
|
|
771
770
|
*
|
|
772
771
|
* Pure computation: no LLM, no async. Compares per-task validity and
|
|
773
|
-
* pass counts between two `
|
|
772
|
+
* pass counts between two `EvalRunResult` snapshots.
|
|
774
773
|
*
|
|
775
774
|
* @param before - Node holding the baseline eval result.
|
|
776
775
|
* @param after - Node holding the new eval result.
|
|
777
776
|
*/
|
|
778
|
-
declare function beforeAfterCompare(before: Node<
|
|
777
|
+
declare function beforeAfterCompare(before: Node<EvalRunResult>, after: Node<EvalRunResult>): Node<EvalDelta>;
|
|
779
778
|
/**
|
|
780
779
|
* Derived node that selects which eval task IDs to re-run.
|
|
781
780
|
*
|
|
@@ -912,6 +911,341 @@ type EffectivenessTrackerOptions = {
|
|
|
912
911
|
*/
|
|
913
912
|
declare function effectivenessTracker(opts?: EffectivenessTrackerOptions): EffectivenessTrackerBundle;
|
|
914
913
|
|
|
914
|
+
/**
|
|
915
|
+
* refineLoop — universal prompt/artifact optimization loop as a reactive Graph.
|
|
916
|
+
*
|
|
917
|
+
* Roadmap §9.8 (Wave 2.5). The loop is a 4-topic reactive pipeline:
|
|
918
|
+
*
|
|
919
|
+
* iterationTrigger ──▶ GENERATE ──▶ EVALUATE ──▶ ANALYZE ──▶ DECIDE
|
|
920
|
+
* │ │
|
|
921
|
+
* └─────── feedback + trigger ◀─────┘
|
|
922
|
+
*
|
|
923
|
+
* Each stage is a `TopicGraph` so dispatches stay O(1) per subscriber (cursor-
|
|
924
|
+
* based) and every iteration is observable, replayable, and checkpointable.
|
|
925
|
+
*
|
|
926
|
+
* Composition invariants (from COMPOSITION-GUIDE):
|
|
927
|
+
* - §7 feedback cycle: only `iterationTrigger` drives re-generation. Strategy
|
|
928
|
+
* + feedback + dataset are read via closure updaters (§28 factory-time seed)
|
|
929
|
+
* so mid-run swaps apply to the NEXT iteration, never retrigger the current.
|
|
930
|
+
* - §28 factory-time seed: strategy, lastFeedback, prevCandidates, dataset
|
|
931
|
+
* closures captured at wiring time + updated via subscribe handlers so the
|
|
932
|
+
* first activation doesn't drop the initial pair.
|
|
933
|
+
* - §32 nested-drain state-mirror: the decide-effect writes `lastFeedback`
|
|
934
|
+
* BEFORE bumping `iterationTrigger` inside its `batch()`, guaranteeing the
|
|
935
|
+
* mirror is current when the next-iteration wave reaches the generate fn.
|
|
936
|
+
* - §19 terminal-emission: history / best emit once per iteration (settled),
|
|
937
|
+
* not on every intermediate wave.
|
|
938
|
+
* - §27 attachSnapshotStorage: the whole graph is checkpointable — pause overnight,
|
|
939
|
+
* resume tomorrow from the exact iteration count, candidate set, strategy.
|
|
940
|
+
*
|
|
941
|
+
* Scope clamp (v1): core factory + `RefineStrategy<T>` + `blindVariation` and
|
|
942
|
+
* `errorCritique` built-ins + budget gating + checkpoint/resume.
|
|
943
|
+
* `mutateAndRefine` / registry / `autoSelectStrategy` / `optimizeCatalog` /
|
|
944
|
+
* `refineExecutor` are deferred.
|
|
945
|
+
*
|
|
946
|
+
* @module
|
|
947
|
+
*/
|
|
948
|
+
|
|
949
|
+
/** A single task row — the unit the evaluator scores one candidate against. */
|
|
950
|
+
interface DatasetItem {
|
|
951
|
+
readonly id: string;
|
|
952
|
+
readonly [k: string]: unknown;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* One candidate's score on one task. Higher is better by convention.
|
|
956
|
+
*
|
|
957
|
+
* Set `candidateIndex` when the evaluator fans out scores across multiple
|
|
958
|
+
* candidates (e.g. `candidates × tasks`). `pickBest` aggregates mean scores
|
|
959
|
+
* per `candidateIndex` when present; when absent, falls back to positional
|
|
960
|
+
* alignment (`scores[i]` ↔ `candidates[i]`).
|
|
961
|
+
*/
|
|
962
|
+
interface EvalResult {
|
|
963
|
+
readonly taskId: string;
|
|
964
|
+
readonly score: number;
|
|
965
|
+
readonly error?: string;
|
|
966
|
+
readonly detail?: unknown;
|
|
967
|
+
/** 0-based index into the `candidates` batch this score belongs to. */
|
|
968
|
+
readonly candidateIndex?: number;
|
|
969
|
+
}
|
|
970
|
+
/** Aggregated feedback the strategy produces from a scores batch. */
|
|
971
|
+
interface Feedback {
|
|
972
|
+
readonly summary: string;
|
|
973
|
+
readonly critique?: unknown;
|
|
974
|
+
readonly weakTasks?: readonly string[];
|
|
975
|
+
readonly score: number;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* Strategy interface — plain object, no base class. Strategies implement three
|
|
979
|
+
* pure hooks; the loop infrastructure wraps them in reactive nodes so every
|
|
980
|
+
* decision is visible in `describe()`.
|
|
981
|
+
*
|
|
982
|
+
* `generate` may be sync or async. Async generates yield a microtask per
|
|
983
|
+
* iteration — that's what gives `pause()` / `setStrategy()` a window to
|
|
984
|
+
* interleave. **A fully synchronous `generate` will drain the entire loop
|
|
985
|
+
* during factory activation** (all iterations run before `refineLoop()`
|
|
986
|
+
* returns), which is usually not what you want for observable, steerable
|
|
987
|
+
* loops. Real strategies that call LLMs / evals are async and Just Work;
|
|
988
|
+
* custom sync strategies for tests are fine but should be marked `async`
|
|
989
|
+
* to match real cadence.
|
|
990
|
+
*/
|
|
991
|
+
interface RefineStrategy<T> {
|
|
992
|
+
readonly name: string;
|
|
993
|
+
/** Produce initial candidates from the seed. Called at iteration 0. */
|
|
994
|
+
seed(seed: T): readonly T[];
|
|
995
|
+
/** Reduce scores to feedback. Pure function. */
|
|
996
|
+
analyze(scores: readonly EvalResult[], candidates: readonly T[]): Feedback;
|
|
997
|
+
/**
|
|
998
|
+
* Generate next-iteration candidates from feedback + prior candidates.
|
|
999
|
+
* Async allowed — the loop awaits via `fromAny`.
|
|
1000
|
+
*/
|
|
1001
|
+
generate(feedback: Feedback, candidates: readonly T[]): Promise<readonly T[]> | readonly T[];
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* Evaluator shape — Shape 4 (2026-04-22): both `candidates` and `dataset` are
|
|
1005
|
+
* reactive nodes; the evaluator's returned node IS the EVALUATE topic's source
|
|
1006
|
+
* (no glue). Implementers can batch-eval (e.g. `funnel` with concurrency) or
|
|
1007
|
+
* map per-candidate — user's code.
|
|
1008
|
+
*
|
|
1009
|
+
* **`EvalResult.candidateIndex` semantics.** Optional per-result field.
|
|
1010
|
+
* When present, multi-candidate aggregators ({@link errorCritique}'s
|
|
1011
|
+
* `pickBest`) score per index, picking the candidate with the highest
|
|
1012
|
+
* mean score. When absent across all results, those aggregators fall back
|
|
1013
|
+
* to positional matching against `candidates[0]` — meaning a strategy that
|
|
1014
|
+
* generates >1 candidate but emits unindexed scores effectively only ever
|
|
1015
|
+
* critiques the first candidate. Set `candidateIndex` whenever the
|
|
1016
|
+
* evaluator's score corresponds to a specific candidate in the batch.
|
|
1017
|
+
*/
|
|
1018
|
+
type Evaluator<T> = (candidates: Node<readonly T[]>, dataset: Node<readonly DatasetItem[]>) => Node<readonly EvalResult[]>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Early-stop controls. Each field fans into its own derived node; the four
|
|
1021
|
+
* combine via `||` into `converged: Node<boolean>`. Callers see exactly
|
|
1022
|
+
* which rule tripped via `status` / the DECIDE topic's `reason`.
|
|
1023
|
+
*/
|
|
1024
|
+
interface ConvergenceOptions {
|
|
1025
|
+
/** Stop when aggregate score has not improved for N iterations. */
|
|
1026
|
+
patience?: number;
|
|
1027
|
+
/** Stop when aggregate score reaches or exceeds this. */
|
|
1028
|
+
minScore?: number;
|
|
1029
|
+
/** Stop when absolute delta between consecutive scores falls below this. */
|
|
1030
|
+
minDelta?: number;
|
|
1031
|
+
/** Stop after N total evaluations (iteration count × per-iter candidates). */
|
|
1032
|
+
maxEvaluations?: number;
|
|
1033
|
+
/** Stop after N iterations. Always set a finite bound in production. */
|
|
1034
|
+
maxIterations?: number;
|
|
1035
|
+
}
|
|
1036
|
+
/** Emitted to the GENERATE topic each time the strategy produces a batch. */
|
|
1037
|
+
interface GenerateEvent<T> {
|
|
1038
|
+
readonly iteration: number;
|
|
1039
|
+
readonly candidates: readonly T[];
|
|
1040
|
+
readonly timestamp_ns: number;
|
|
1041
|
+
}
|
|
1042
|
+
/** Emitted to the EVALUATE topic when scores settle for an iteration. */
|
|
1043
|
+
interface EvaluateEvent<T> {
|
|
1044
|
+
readonly iteration: number;
|
|
1045
|
+
readonly candidates: readonly T[];
|
|
1046
|
+
readonly scores: readonly EvalResult[];
|
|
1047
|
+
readonly timestamp_ns: number;
|
|
1048
|
+
}
|
|
1049
|
+
/** Emitted to the ANALYZE topic — strategy's reduction over scores. */
|
|
1050
|
+
interface AnalyzeEvent<T> {
|
|
1051
|
+
readonly iteration: number;
|
|
1052
|
+
readonly candidates: readonly T[];
|
|
1053
|
+
readonly feedback: Feedback;
|
|
1054
|
+
readonly timestamp_ns: number;
|
|
1055
|
+
}
|
|
1056
|
+
/** Emitted to the DECIDE topic — branch taken this iteration. */
|
|
1057
|
+
interface DecideEvent {
|
|
1058
|
+
readonly iteration: number;
|
|
1059
|
+
readonly decision: "continue" | "converged" | "budget" | "paused";
|
|
1060
|
+
readonly reason?: string;
|
|
1061
|
+
readonly timestamp_ns: number;
|
|
1062
|
+
}
|
|
1063
|
+
type RefineStatus = "running" | "converged" | "budget" | "paused" | "errored";
|
|
1064
|
+
interface Iteration<T> {
|
|
1065
|
+
readonly n: number;
|
|
1066
|
+
readonly candidates: readonly T[];
|
|
1067
|
+
readonly scores: readonly EvalResult[];
|
|
1068
|
+
readonly feedback: Feedback;
|
|
1069
|
+
/** `null` iff the candidate batch for this iteration was empty. */
|
|
1070
|
+
readonly best: T | null;
|
|
1071
|
+
readonly bestScore: number;
|
|
1072
|
+
readonly timestamp_ns: number;
|
|
1073
|
+
}
|
|
1074
|
+
interface RefineLoopOptions extends ConvergenceOptions {
|
|
1075
|
+
/** Reactive dataset OR a plain array (auto-wrapped into `state`). */
|
|
1076
|
+
dataset: NodeInput<readonly DatasetItem[]> | readonly DatasetItem[];
|
|
1077
|
+
/** Total teacher calls cap across iterations. Default: unlimited. */
|
|
1078
|
+
budget?: number;
|
|
1079
|
+
/** Graph name. Default: `"refine-loop"`. */
|
|
1080
|
+
name?: string;
|
|
1081
|
+
/** Extra graph options forwarded to the underlying `Graph`. */
|
|
1082
|
+
graph?: GraphOptions;
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Return type — extends Graph so all observability tools (`describe`,
|
|
1086
|
+
* `explain`, `observe`, `attachSnapshotStorage`, `snapshot`) Just Work.
|
|
1087
|
+
*/
|
|
1088
|
+
interface RefineLoopGraph<T> extends Graph {
|
|
1089
|
+
readonly best: Node<T | null>;
|
|
1090
|
+
readonly score: Node<number>;
|
|
1091
|
+
readonly status: Node<RefineStatus>;
|
|
1092
|
+
readonly history: Node<readonly Iteration<T>[]>;
|
|
1093
|
+
readonly strategy: Node<RefineStrategy<T>>;
|
|
1094
|
+
readonly iteration: Node<number>;
|
|
1095
|
+
/** Stage topics — subscribe for per-stage streaming / cursor consumers. */
|
|
1096
|
+
readonly generate: TopicGraph<GenerateEvent<T>>;
|
|
1097
|
+
readonly evaluate: TopicGraph<EvaluateEvent<T>>;
|
|
1098
|
+
readonly analyze: TopicGraph<AnalyzeEvent<T>>;
|
|
1099
|
+
readonly decide: TopicGraph<DecideEvent>;
|
|
1100
|
+
/** Swap the active strategy mid-run (human-in-the-loop handoff). */
|
|
1101
|
+
setStrategy(next: RefineStrategy<T>): void;
|
|
1102
|
+
/** Pause after the current iteration completes. */
|
|
1103
|
+
pause(): void;
|
|
1104
|
+
/** Resume a paused loop. */
|
|
1105
|
+
resume(): void;
|
|
1106
|
+
}
|
|
1107
|
+
declare function refineLoop<T>(seed: T, evaluator: Evaluator<T>, initialStrategy: RefineStrategy<T>, opts: RefineLoopOptions): RefineLoopGraph<T>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Context passed to a `blindVariation` teacher per call. `reportCost` is a
|
|
1110
|
+
* per-call hook — see `BlindVariationOptions.tokens`.
|
|
1111
|
+
*/
|
|
1112
|
+
interface BlindVariationContext<T> {
|
|
1113
|
+
readonly prior: T;
|
|
1114
|
+
/**
|
|
1115
|
+
* Report tokens consumed by this teacher call. Aggregated per iteration
|
|
1116
|
+
* and flushed to `opts.tokens` in the strategy's `finally` block so
|
|
1117
|
+
* partial spend is preserved when the teacher throws mid-batch.
|
|
1118
|
+
*/
|
|
1119
|
+
readonly reportCost: (tokens: number) => void;
|
|
1120
|
+
}
|
|
1121
|
+
interface BlindVariationOptions<T> {
|
|
1122
|
+
/** Name — default: `"blindVariation"`. */
|
|
1123
|
+
name?: string;
|
|
1124
|
+
/** Number of candidates generated per iteration. Default: 4. */
|
|
1125
|
+
width?: number;
|
|
1126
|
+
/**
|
|
1127
|
+
* Run teacher calls in parallel via `Promise.all`. Default `true` — the
|
|
1128
|
+
* common case (independent LLM calls). Set `false` to run sequentially
|
|
1129
|
+
* via `for/await` when teachers share stateful resources (rate limiters,
|
|
1130
|
+
* rolling context, serial API ordering) that don't tolerate concurrency.
|
|
1131
|
+
*/
|
|
1132
|
+
parallel?: boolean;
|
|
1133
|
+
/**
|
|
1134
|
+
* Optional cost counter node. Running total tokens reported via
|
|
1135
|
+
* `ctx.reportCost` during each iteration is added to this node in the
|
|
1136
|
+
* strategy's `finally` block — fires on success AND on teacher throw so
|
|
1137
|
+
* partial spend is never lost. User owns the node; wire to `budgetGate`,
|
|
1138
|
+
* `attachSnapshotStorage`, telemetry, etc.
|
|
1139
|
+
*/
|
|
1140
|
+
tokens?: Node<number>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Teacher — given `{prior, reportCost}`, produce one variant. Async
|
|
1143
|
+
* allowed. Called `width` times per iteration. Call `ctx.reportCost(n)`
|
|
1144
|
+
* to track tokens consumed per call (optional, no-op if `opts.tokens`
|
|
1145
|
+
* is not set).
|
|
1146
|
+
*/
|
|
1147
|
+
teacher: (ctx: BlindVariationContext<T>) => Promise<T> | T;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* Simplest built-in strategy: generate N variants per iteration via the
|
|
1151
|
+
* supplied `teacher`; no feedback-informed steering (equivalent to Random
|
|
1152
|
+
* Search). Validates the loop infrastructure end-to-end and is the baseline
|
|
1153
|
+
* every other strategy should outperform.
|
|
1154
|
+
*
|
|
1155
|
+
* `analyze` records the mean score and flags the worst task — strategies that
|
|
1156
|
+
* care about per-task critique layer on top.
|
|
1157
|
+
*/
|
|
1158
|
+
declare function blindVariation<T>(opts: BlindVariationOptions<T>): RefineStrategy<T>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Context passed to an `errorCritique` teacher. `critique` is the pre-formatted
|
|
1161
|
+
* summary a prompt template can drop in verbatim; `failures` carries the
|
|
1162
|
+
* structured evidence (per-task error / score / detail) for richer prompts.
|
|
1163
|
+
*/
|
|
1164
|
+
interface ErrorCritiqueContext<T> {
|
|
1165
|
+
readonly prior: T;
|
|
1166
|
+
readonly critique: string;
|
|
1167
|
+
readonly failures: readonly EvalResult[];
|
|
1168
|
+
/**
|
|
1169
|
+
* Report tokens consumed by this teacher call. Aggregated per iteration
|
|
1170
|
+
* and flushed to `opts.tokens` in the strategy's `finally` block so
|
|
1171
|
+
* partial spend is preserved when the teacher throws mid-batch.
|
|
1172
|
+
*/
|
|
1173
|
+
readonly reportCost: (tokens: number) => void;
|
|
1174
|
+
}
|
|
1175
|
+
interface ErrorCritiqueOptions<T> {
|
|
1176
|
+
/** Name — default: `"errorCritique"`. */
|
|
1177
|
+
name?: string;
|
|
1178
|
+
/** Number of candidates generated per iteration. Default: 4. */
|
|
1179
|
+
width?: number;
|
|
1180
|
+
/**
|
|
1181
|
+
* Cut-off below which a task is classified as a failure and fed into the
|
|
1182
|
+
* critique. Default: the batch mean — any task scoring below the batch
|
|
1183
|
+
* mean is a failure. Pass a number for an absolute cut-off, or a function
|
|
1184
|
+
* for per-batch computation (e.g. a percentile). When the default mean
|
|
1185
|
+
* is non-finite (NaN / ±Infinity from a degenerate evaluator), ALL scores
|
|
1186
|
+
* are treated as failures so the critique loop continues to steer.
|
|
1187
|
+
*/
|
|
1188
|
+
failureThreshold?: number | ((scores: readonly EvalResult[]) => number);
|
|
1189
|
+
/** Cap on failure samples packed into the critique. Default: 5. */
|
|
1190
|
+
maxFailureSamples?: number;
|
|
1191
|
+
/**
|
|
1192
|
+
* Format failures into the `critique` string passed to the teacher. Default
|
|
1193
|
+
* joins `- taskId (score=N) | error: …` lines. Override to shape LLM prompts.
|
|
1194
|
+
*
|
|
1195
|
+
* **Note:** the `feedback` argument is a shell with `{score, weakTasks}`
|
|
1196
|
+
* populated; `summary` is empty because `analyze` computes the final summary
|
|
1197
|
+
* AFTER `formatCritique` runs (the summary embeds the formatted count).
|
|
1198
|
+
* Rely on `failures` and `feedback.score` — do not read `feedback.summary`
|
|
1199
|
+
* here.
|
|
1200
|
+
*/
|
|
1201
|
+
formatCritique?: (failures: readonly EvalResult[], feedback: Feedback) => string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Run teacher calls in parallel via `Promise.all`. Default `true` — the
|
|
1204
|
+
* common case (independent LLM calls). Set `false` to run sequentially
|
|
1205
|
+
* via `for/await` when teachers share stateful resources (rate limiters,
|
|
1206
|
+
* rolling context, serial API ordering) that don't tolerate concurrency.
|
|
1207
|
+
*/
|
|
1208
|
+
parallel?: boolean;
|
|
1209
|
+
/**
|
|
1210
|
+
* Optional cost counter node. Running total tokens reported via
|
|
1211
|
+
* `ctx.reportCost` during each iteration is added to this node in the
|
|
1212
|
+
* strategy's `finally` block — fires on success AND on teacher throw so
|
|
1213
|
+
* partial spend is never lost. User owns the node; wire to `budgetGate`,
|
|
1214
|
+
* `attachSnapshotStorage`, telemetry, etc.
|
|
1215
|
+
*/
|
|
1216
|
+
tokens?: Node<number>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Teacher — given `{prior, critique, failures, reportCost}`, produce one
|
|
1219
|
+
* refined variant. Called `width` times per iteration. Async allowed.
|
|
1220
|
+
* Call `ctx.reportCost(n)` to track tokens consumed per call (optional,
|
|
1221
|
+
* no-op if `opts.tokens` is not set).
|
|
1222
|
+
*/
|
|
1223
|
+
teacher: (ctx: ErrorCritiqueContext<T>) => Promise<T> | T;
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* Critique-driven strategy (ProTeGi-style "textual gradient"). Each iteration:
|
|
1227
|
+
* 1. `analyze` classifies tasks scoring below a threshold as failures, picks
|
|
1228
|
+
* the best candidate from the batch, and packs both plus a formatted
|
|
1229
|
+
* critique string into `feedback.critique` as a private payload.
|
|
1230
|
+
* 2. `generate` unpacks that payload and calls the teacher with
|
|
1231
|
+
* `{prior, critique, failures, reportCost}` `width` times, returning the
|
|
1232
|
+
* refined batch.
|
|
1233
|
+
*
|
|
1234
|
+
* The teacher receives a pre-formatted string (drop into an LLM prompt) AND
|
|
1235
|
+
* the structured failure list (for richer prompts that want per-task detail).
|
|
1236
|
+
* Throws on empty candidate batches — matches `blindVariation`'s contract
|
|
1237
|
+
* (no silent zero-candidate cycles).
|
|
1238
|
+
*
|
|
1239
|
+
* When `setStrategy()` swaps this strategy in mid-run, the first `generate`
|
|
1240
|
+
* may receive a `Feedback` produced by the prior strategy (no private payload);
|
|
1241
|
+
* the fallback path uses `candidates[last]` as the prior and the feedback
|
|
1242
|
+
* summary as the critique, so the loop keeps running without a stall. When a
|
|
1243
|
+
* private payload IS present, `priv.critiqueText` takes precedence over any
|
|
1244
|
+
* edits a caller made to `feedback.summary` — treat `critique` as the
|
|
1245
|
+
* strategy-owned channel.
|
|
1246
|
+
*/
|
|
1247
|
+
declare function errorCritique<T>(opts: ErrorCritiqueOptions<T>): RefineStrategy<T>;
|
|
1248
|
+
|
|
915
1249
|
/**
|
|
916
1250
|
* evalVerifier — re-run the affected eval tasks against the execute-stage
|
|
917
1251
|
* artifact instead of asking an LLM to opine on the fix.
|
|
@@ -931,7 +1265,7 @@ declare function effectivenessTracker(opts?: EffectivenessTrackerOptions): Effec
|
|
|
931
1265
|
|
|
932
1266
|
/** Summary of the re-eval wave passed to a custom `toOutput` mapper. */
|
|
933
1267
|
interface EvalVerifierSummary {
|
|
934
|
-
readonly scores: readonly EvalResult
|
|
1268
|
+
readonly scores: readonly EvalResult[];
|
|
935
1269
|
readonly meanScore: number;
|
|
936
1270
|
readonly passCount: number;
|
|
937
1271
|
readonly total: number;
|
|
@@ -1382,15 +1716,21 @@ declare function harnessTrace(harness: HarnessGraph, opts?: HarnessTraceOptions)
|
|
|
1382
1716
|
type index_ActuatorApplyFn<R> = ActuatorApplyFn<R>;
|
|
1383
1717
|
type index_ActuatorExecutorConfig<R> = ActuatorExecutorConfig<R>;
|
|
1384
1718
|
type index_ActuatorResult<R> = ActuatorResult<R>;
|
|
1719
|
+
type index_AnalyzeEvent<T> = AnalyzeEvent<T>;
|
|
1385
1720
|
type index_AutoSolidifyConfig<R, T = R> = AutoSolidifyConfig<R, T>;
|
|
1721
|
+
type index_BlindVariationContext<T> = BlindVariationContext<T>;
|
|
1722
|
+
type index_BlindVariationOptions<T> = BlindVariationOptions<T>;
|
|
1386
1723
|
type index_CodeChange = CodeChange;
|
|
1387
1724
|
type index_CodeChangeBridgeOptions = CodeChangeBridgeOptions;
|
|
1725
|
+
type index_ConvergenceOptions = ConvergenceOptions;
|
|
1388
1726
|
declare const index_DEFAULT_DECAY_RATE: typeof DEFAULT_DECAY_RATE;
|
|
1389
1727
|
declare const index_DEFAULT_EXECUTE_PROMPT: typeof DEFAULT_EXECUTE_PROMPT;
|
|
1390
1728
|
declare const index_DEFAULT_QUEUE_CONFIGS: typeof DEFAULT_QUEUE_CONFIGS;
|
|
1391
1729
|
declare const index_DEFAULT_SEVERITY_WEIGHTS: typeof DEFAULT_SEVERITY_WEIGHTS;
|
|
1392
1730
|
declare const index_DEFAULT_TRIAGE_PROMPT: typeof DEFAULT_TRIAGE_PROMPT;
|
|
1393
1731
|
declare const index_DEFAULT_VERIFY_PROMPT: typeof DEFAULT_VERIFY_PROMPT;
|
|
1732
|
+
type index_DatasetItem = DatasetItem;
|
|
1733
|
+
type index_DecideEvent = DecideEvent;
|
|
1394
1734
|
type index_DispatchActuatorConfig<R> = DispatchActuatorConfig<R>;
|
|
1395
1735
|
type index_EffectivenessEntry = EffectivenessEntry;
|
|
1396
1736
|
type index_EffectivenessSnapshot = EffectivenessSnapshot;
|
|
@@ -1398,17 +1738,24 @@ type index_EffectivenessTrackerBundle = EffectivenessTrackerBundle;
|
|
|
1398
1738
|
type index_EffectivenessTrackerOptions = EffectivenessTrackerOptions;
|
|
1399
1739
|
type index_ErrorClass = ErrorClass;
|
|
1400
1740
|
type index_ErrorClassifier = ErrorClassifier;
|
|
1741
|
+
type index_ErrorCritiqueContext<T> = ErrorCritiqueContext<T>;
|
|
1742
|
+
type index_ErrorCritiqueOptions<T> = ErrorCritiqueOptions<T>;
|
|
1401
1743
|
type index_EvalDelta = EvalDelta;
|
|
1402
1744
|
type index_EvalIntakeBridgeOptions = EvalIntakeBridgeOptions;
|
|
1403
1745
|
type index_EvalJudgeScore = EvalJudgeScore;
|
|
1404
1746
|
type index_EvalResult = EvalResult;
|
|
1747
|
+
type index_EvalRunResult = EvalRunResult;
|
|
1405
1748
|
type index_EvalTaskDelta = EvalTaskDelta;
|
|
1406
1749
|
type index_EvalTaskResult = EvalTaskResult;
|
|
1407
1750
|
type index_EvalVerifierConfig<T> = EvalVerifierConfig<T>;
|
|
1408
1751
|
type index_EvalVerifierSummary = EvalVerifierSummary;
|
|
1752
|
+
type index_EvaluateEvent<T> = EvaluateEvent<T>;
|
|
1753
|
+
type index_Evaluator<T> = Evaluator<T>;
|
|
1409
1754
|
type index_ExecuteOutput<A = unknown> = ExecuteOutput<A>;
|
|
1410
1755
|
type index_ExecutePromptFn = ExecutePromptFn;
|
|
1411
1756
|
type index_ExecutionResult<A = unknown> = ExecutionResult<A>;
|
|
1757
|
+
type index_Feedback = Feedback;
|
|
1758
|
+
type index_GenerateEvent<T> = GenerateEvent<T>;
|
|
1412
1759
|
type index_HarnessEvalPairConfig<T> = HarnessEvalPairConfig<T>;
|
|
1413
1760
|
type index_HarnessExecutor<A = unknown> = HarnessExecutor<A>;
|
|
1414
1761
|
type index_HarnessGraph<A = unknown> = HarnessGraph<A>;
|
|
@@ -1423,6 +1770,7 @@ type index_IntakeBridgeOptions = IntakeBridgeOptions;
|
|
|
1423
1770
|
type index_IntakeItem = IntakeItem;
|
|
1424
1771
|
type index_IntakeSource = IntakeSource;
|
|
1425
1772
|
type index_Intervention = Intervention;
|
|
1773
|
+
type index_Iteration<T> = Iteration<T>;
|
|
1426
1774
|
type index_KnownIntakeSource = KnownIntakeSource;
|
|
1427
1775
|
type index_LintError = LintError;
|
|
1428
1776
|
type index_NotifyEffectOptions = NotifyEffectOptions;
|
|
@@ -1433,6 +1781,10 @@ type index_QueueConfig = QueueConfig;
|
|
|
1433
1781
|
type index_QueueRoute = QueueRoute;
|
|
1434
1782
|
type index_RefineExecutorConfig<T> = RefineExecutorConfig<T>;
|
|
1435
1783
|
type index_RefineExecutorResult<T> = RefineExecutorResult<T>;
|
|
1784
|
+
type index_RefineLoopGraph<T> = RefineLoopGraph<T>;
|
|
1785
|
+
type index_RefineLoopOptions = RefineLoopOptions;
|
|
1786
|
+
type index_RefineStatus = RefineStatus;
|
|
1787
|
+
type index_RefineStrategy<T> = RefineStrategy<T>;
|
|
1436
1788
|
type index_RootCause = RootCause;
|
|
1437
1789
|
type index_Severity = Severity;
|
|
1438
1790
|
type index_StrategyEntry = StrategyEntry;
|
|
@@ -1452,6 +1804,7 @@ declare const index_actuatorExecutor: typeof actuatorExecutor;
|
|
|
1452
1804
|
declare const index_affectedTaskFilter: typeof affectedTaskFilter;
|
|
1453
1805
|
declare const index_autoSolidify: typeof autoSolidify;
|
|
1454
1806
|
declare const index_beforeAfterCompare: typeof beforeAfterCompare;
|
|
1807
|
+
declare const index_blindVariation: typeof blindVariation;
|
|
1455
1808
|
declare const index_codeChangeBridge: typeof codeChangeBridge;
|
|
1456
1809
|
declare const index_createIntakeBridge: typeof createIntakeBridge;
|
|
1457
1810
|
declare const index_defaultErrorClassifier: typeof defaultErrorClassifier;
|
|
@@ -1459,6 +1812,7 @@ declare const index_defaultLlmExecutor: typeof defaultLlmExecutor;
|
|
|
1459
1812
|
declare const index_defaultLlmVerifier: typeof defaultLlmVerifier;
|
|
1460
1813
|
declare const index_dispatchActuator: typeof dispatchActuator;
|
|
1461
1814
|
declare const index_effectivenessTracker: typeof effectivenessTracker;
|
|
1815
|
+
declare const index_errorCritique: typeof errorCritique;
|
|
1462
1816
|
declare const index_evalIntakeBridge: typeof evalIntakeBridge;
|
|
1463
1817
|
declare const index_evalSource: typeof evalSource;
|
|
1464
1818
|
declare const index_evalVerifier: typeof evalVerifier;
|
|
@@ -1469,11 +1823,12 @@ declare const index_harnessTrace: typeof harnessTrace;
|
|
|
1469
1823
|
declare const index_notifyEffect: typeof notifyEffect;
|
|
1470
1824
|
declare const index_priorityScore: typeof priorityScore;
|
|
1471
1825
|
declare const index_refineExecutor: typeof refineExecutor;
|
|
1826
|
+
declare const index_refineLoop: typeof refineLoop;
|
|
1472
1827
|
declare const index_resolvePromptFn: typeof resolvePromptFn;
|
|
1473
1828
|
declare const index_strategyKey: typeof strategyKey;
|
|
1474
1829
|
declare const index_strategyModel: typeof strategyModel;
|
|
1475
1830
|
declare namespace index {
|
|
1476
|
-
export { type index_ActuatorApplyFn as ActuatorApplyFn, type index_ActuatorExecutorConfig as ActuatorExecutorConfig, type index_ActuatorResult as ActuatorResult, type index_AutoSolidifyConfig as AutoSolidifyConfig, type index_CodeChange as CodeChange, type index_CodeChangeBridgeOptions as CodeChangeBridgeOptions, index_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index_DEFAULT_EXECUTE_PROMPT as DEFAULT_EXECUTE_PROMPT, index_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, index_DEFAULT_TRIAGE_PROMPT as DEFAULT_TRIAGE_PROMPT, index_DEFAULT_VERIFY_PROMPT as DEFAULT_VERIFY_PROMPT, type index_DispatchActuatorConfig as DispatchActuatorConfig, type index_EffectivenessEntry as EffectivenessEntry, type index_EffectivenessSnapshot as EffectivenessSnapshot, type index_EffectivenessTrackerBundle as EffectivenessTrackerBundle, type index_EffectivenessTrackerOptions as EffectivenessTrackerOptions, type index_ErrorClass as ErrorClass, type index_ErrorClassifier as ErrorClassifier, type index_EvalDelta as EvalDelta, type index_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index_EvalJudgeScore as EvalJudgeScore, type index_EvalResult as EvalResult, type index_EvalTaskDelta as EvalTaskDelta, type index_EvalTaskResult as EvalTaskResult, type index_EvalVerifierConfig as EvalVerifierConfig, type index_EvalVerifierSummary as EvalVerifierSummary, type index_ExecuteOutput as ExecuteOutput, type index_ExecutePromptFn as ExecutePromptFn, type index_ExecutionResult as ExecutionResult, type index_HarnessEvalPairConfig as HarnessEvalPairConfig, type index_HarnessExecutor as HarnessExecutor, index_HarnessGraph as HarnessGraph, type index_HarnessJobPayload as HarnessJobPayload, type index_HarnessLoopOptions as HarnessLoopOptions, type index_HarnessProfileResult as HarnessProfileResult, type index_HarnessTraceHandle as HarnessTraceHandle, type index_HarnessTraceOptions as HarnessTraceOptions, type index_HarnessVerifier as HarnessVerifier, type index_IntakeBridgeOptions as IntakeBridgeOptions, type index_IntakeItem as IntakeItem, type index_IntakeSource as IntakeSource, type index_Intervention as Intervention, type index_KnownIntakeSource as KnownIntakeSource, type index_LintError as LintError, type index_NotifyEffectOptions as NotifyEffectOptions, type index_NotifyTransport as NotifyTransport, type index_PrioritySignals as PrioritySignals, index_QUEUE_NAMES as QUEUE_NAMES, type index_QueueConfig as QueueConfig, type index_QueueRoute as QueueRoute, type index_RefineExecutorConfig as RefineExecutorConfig, type index_RefineExecutorResult as RefineExecutorResult, type index_RootCause as RootCause, type index_Severity as Severity, type index_StrategyEntry as StrategyEntry, type index_StrategyKey as StrategyKey, type index_StrategyModelBundle as StrategyModelBundle, type index_StrategySnapshot as StrategySnapshot, type index_TestFailure as TestFailure, type index_TraceDetail as TraceDetail, type index_TraceEvent as TraceEvent, type index_TraceEventType as TraceEventType, type index_TriagePromptFn as TriagePromptFn, type index_TriagedItem as TriagedItem, type index_VerifyOutput as VerifyOutput, type index_VerifyPromptFn as VerifyPromptFn, type index_VerifyResult as VerifyResult, index_actuatorExecutor as actuatorExecutor, index_affectedTaskFilter as affectedTaskFilter, index_autoSolidify as autoSolidify, index_beforeAfterCompare as beforeAfterCompare, index_codeChangeBridge as codeChangeBridge, index_createIntakeBridge as createIntakeBridge, index_defaultErrorClassifier as defaultErrorClassifier, index_defaultLlmExecutor as defaultLlmExecutor, index_defaultLlmVerifier as defaultLlmVerifier, index_dispatchActuator as dispatchActuator, index_effectivenessTracker as effectivenessTracker, index_evalIntakeBridge as evalIntakeBridge, index_evalSource as evalSource, index_evalVerifier as evalVerifier, index_harnessEvalPair as harnessEvalPair, index_harnessLoop as harnessLoop, index_harnessProfile as harnessProfile, index_harnessTrace as harnessTrace, index_notifyEffect as notifyEffect, index_priorityScore as priorityScore, index_refineExecutor as refineExecutor, index_resolvePromptFn as resolvePromptFn, index_strategyKey as strategyKey, index_strategyModel as strategyModel };
|
|
1831
|
+
export { type index_ActuatorApplyFn as ActuatorApplyFn, type index_ActuatorExecutorConfig as ActuatorExecutorConfig, type index_ActuatorResult as ActuatorResult, type index_AnalyzeEvent as AnalyzeEvent, type index_AutoSolidifyConfig as AutoSolidifyConfig, type index_BlindVariationContext as BlindVariationContext, type index_BlindVariationOptions as BlindVariationOptions, type index_CodeChange as CodeChange, type index_CodeChangeBridgeOptions as CodeChangeBridgeOptions, type index_ConvergenceOptions as ConvergenceOptions, index_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index_DEFAULT_EXECUTE_PROMPT as DEFAULT_EXECUTE_PROMPT, index_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, index_DEFAULT_TRIAGE_PROMPT as DEFAULT_TRIAGE_PROMPT, index_DEFAULT_VERIFY_PROMPT as DEFAULT_VERIFY_PROMPT, type index_DatasetItem as DatasetItem, type index_DecideEvent as DecideEvent, type index_DispatchActuatorConfig as DispatchActuatorConfig, type index_EffectivenessEntry as EffectivenessEntry, type index_EffectivenessSnapshot as EffectivenessSnapshot, type index_EffectivenessTrackerBundle as EffectivenessTrackerBundle, type index_EffectivenessTrackerOptions as EffectivenessTrackerOptions, type index_ErrorClass as ErrorClass, type index_ErrorClassifier as ErrorClassifier, type index_ErrorCritiqueContext as ErrorCritiqueContext, type index_ErrorCritiqueOptions as ErrorCritiqueOptions, type index_EvalDelta as EvalDelta, type index_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index_EvalJudgeScore as EvalJudgeScore, type index_EvalResult as EvalResult, type index_EvalRunResult as EvalRunResult, type index_EvalTaskDelta as EvalTaskDelta, type index_EvalTaskResult as EvalTaskResult, type index_EvalVerifierConfig as EvalVerifierConfig, type index_EvalVerifierSummary as EvalVerifierSummary, type index_EvaluateEvent as EvaluateEvent, type index_Evaluator as Evaluator, type index_ExecuteOutput as ExecuteOutput, type index_ExecutePromptFn as ExecutePromptFn, type index_ExecutionResult as ExecutionResult, type index_Feedback as Feedback, type index_GenerateEvent as GenerateEvent, type index_HarnessEvalPairConfig as HarnessEvalPairConfig, type index_HarnessExecutor as HarnessExecutor, index_HarnessGraph as HarnessGraph, type index_HarnessJobPayload as HarnessJobPayload, type index_HarnessLoopOptions as HarnessLoopOptions, type index_HarnessProfileResult as HarnessProfileResult, type index_HarnessTraceHandle as HarnessTraceHandle, type index_HarnessTraceOptions as HarnessTraceOptions, type index_HarnessVerifier as HarnessVerifier, type index_IntakeBridgeOptions as IntakeBridgeOptions, type index_IntakeItem as IntakeItem, type index_IntakeSource as IntakeSource, type index_Intervention as Intervention, type index_Iteration as Iteration, type index_KnownIntakeSource as KnownIntakeSource, type index_LintError as LintError, type index_NotifyEffectOptions as NotifyEffectOptions, type index_NotifyTransport as NotifyTransport, type index_PrioritySignals as PrioritySignals, index_QUEUE_NAMES as QUEUE_NAMES, type index_QueueConfig as QueueConfig, type index_QueueRoute as QueueRoute, type index_RefineExecutorConfig as RefineExecutorConfig, type index_RefineExecutorResult as RefineExecutorResult, type index_RefineLoopGraph as RefineLoopGraph, type index_RefineLoopOptions as RefineLoopOptions, type index_RefineStatus as RefineStatus, type index_RefineStrategy as RefineStrategy, type index_RootCause as RootCause, type index_Severity as Severity, type index_StrategyEntry as StrategyEntry, type index_StrategyKey as StrategyKey, type index_StrategyModelBundle as StrategyModelBundle, type index_StrategySnapshot as StrategySnapshot, type index_TestFailure as TestFailure, type index_TraceDetail as TraceDetail, type index_TraceEvent as TraceEvent, type index_TraceEventType as TraceEventType, type index_TriagePromptFn as TriagePromptFn, type index_TriagedItem as TriagedItem, type index_VerifyOutput as VerifyOutput, type index_VerifyPromptFn as VerifyPromptFn, type index_VerifyResult as VerifyResult, index_actuatorExecutor as actuatorExecutor, index_affectedTaskFilter as affectedTaskFilter, index_autoSolidify as autoSolidify, index_beforeAfterCompare as beforeAfterCompare, index_blindVariation as blindVariation, index_codeChangeBridge as codeChangeBridge, index_createIntakeBridge as createIntakeBridge, index_defaultErrorClassifier as defaultErrorClassifier, index_defaultLlmExecutor as defaultLlmExecutor, index_defaultLlmVerifier as defaultLlmVerifier, index_dispatchActuator as dispatchActuator, index_effectivenessTracker as effectivenessTracker, index_errorCritique as errorCritique, index_evalIntakeBridge as evalIntakeBridge, index_evalSource as evalSource, index_evalVerifier as evalVerifier, index_harnessEvalPair as harnessEvalPair, index_harnessLoop as harnessLoop, index_harnessProfile as harnessProfile, index_harnessTrace as harnessTrace, index_notifyEffect as notifyEffect, index_priorityScore as priorityScore, index_refineExecutor as refineExecutor, index_refineLoop as refineLoop, index_resolvePromptFn as resolvePromptFn, index_strategyKey as strategyKey, index_strategyModel as strategyModel };
|
|
1477
1832
|
}
|
|
1478
1833
|
|
|
1479
|
-
export { type
|
|
1834
|
+
export { type IntakeBridgeOptions as $, type ActuatorApplyFn as A, type BlindVariationContext as B, type CodeChange as C, DEFAULT_DECAY_RATE as D, type EffectivenessEntry as E, type EvalResult as F, type EvalRunResult as G, type EvalTaskDelta as H, type EvalTaskResult as I, type EvalVerifierConfig as J, type EvalVerifierSummary as K, type EvaluateEvent as L, type Evaluator as M, type ExecuteOutput as N, type ExecutePromptFn as O, type ExecutionResult as P, type Feedback as Q, type GenerateEvent as R, type HarnessEvalPairConfig as S, type HarnessExecutor as T, HarnessGraph as U, type HarnessJobPayload as V, type HarnessLoopOptions as W, type HarnessProfileResult as X, type HarnessTraceHandle as Y, type HarnessTraceOptions as Z, type HarnessVerifier as _, type ActuatorExecutorConfig as a, type IntakeItem as a0, type IntakeSource as a1, type Intervention as a2, type Iteration as a3, type KnownIntakeSource as a4, type LintError as a5, type NotifyEffectOptions as a6, type NotifyTransport as a7, type PrioritySignals as a8, QUEUE_NAMES as a9, beforeAfterCompare as aA, blindVariation as aB, codeChangeBridge as aC, createIntakeBridge as aD, defaultErrorClassifier as aE, defaultLlmExecutor as aF, defaultLlmVerifier as aG, dispatchActuator as aH, effectivenessTracker as aI, errorCritique as aJ, evalIntakeBridge as aK, evalSource as aL, evalVerifier as aM, harnessEvalPair as aN, harnessLoop as aO, harnessProfile as aP, harnessTrace as aQ, notifyEffect as aR, priorityScore as aS, refineExecutor as aT, refineLoop as aU, resolvePromptFn as aV, strategyKey as aW, strategyModel as aX, type QueueConfig as aa, type QueueRoute as ab, type RefineExecutorConfig as ac, type RefineExecutorResult as ad, type RefineLoopGraph as ae, type RefineLoopOptions as af, type RefineStatus as ag, type RefineStrategy as ah, type RootCause as ai, type Severity as aj, type StrategyEntry as ak, type StrategyKey as al, type StrategyModelBundle as am, type StrategySnapshot as an, type TestFailure as ao, type TraceDetail as ap, type TraceEvent as aq, type TraceEventType as ar, type TriagePromptFn as as, type TriagedItem as at, type VerifyOutput as au, type VerifyPromptFn as av, type VerifyResult as aw, actuatorExecutor as ax, affectedTaskFilter as ay, autoSolidify as az, type ActuatorResult as b, type AnalyzeEvent as c, type AutoSolidifyConfig as d, type BlindVariationOptions as e, type CodeChangeBridgeOptions as f, type ConvergenceOptions as g, DEFAULT_EXECUTE_PROMPT as h, index as i, DEFAULT_QUEUE_CONFIGS as j, DEFAULT_SEVERITY_WEIGHTS as k, DEFAULT_TRIAGE_PROMPT as l, DEFAULT_VERIFY_PROMPT as m, type DatasetItem as n, type DecideEvent as o, type DispatchActuatorConfig as p, type EffectivenessSnapshot as q, type EffectivenessTrackerBundle as r, type EffectivenessTrackerOptions as s, type ErrorClass as t, type ErrorClassifier as u, type ErrorCritiqueContext as v, type ErrorCritiqueOptions as w, type EvalDelta as x, type EvalIntakeBridgeOptions as y, type EvalJudgeScore as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as Node } from './node-
|
|
1
|
+
import { N as Node } from './node-ClS5yC-B.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Backoff strategies for {@link retry} (roadmap §3.1). Delays are in **nanoseconds**.
|
|
@@ -648,4 +648,4 @@ declare function timeout<T>(source: Node<T>, timeoutNs: number, options?: {
|
|
|
648
648
|
meta?: Record<string, unknown>;
|
|
649
649
|
}): Node<T>;
|
|
650
650
|
|
|
651
|
-
export { type BackoffPreset as B, type
|
|
651
|
+
export { type BackoffPreset as B, type CircuitBreaker as C, type ExponentialBackoffOptions as E, type FallbackInput as F, type JitterMode as J, NS_PER_MS as N, type RateLimiterOptions as R, type StatusValue as S, TimeoutError as T, type WithBreakerBundle as W, type BackoffStrategy as a, type CircuitBreakerOptions as b, CircuitOpenError as c, type CircuitState as d, NS_PER_SEC as e, RateLimiterOverflowError as f, type RateLimiterOverflowPolicy as g, type RetryOptions as h, type TokenBucket as i, type WithStatusBundle as j, circuitBreaker as k, constant as l, decorrelatedJitter as m, exponential as n, fallback as o, fibonacci as p, linear as q, rateLimiter as r, resolveBackoffPreset as s, retry as t, timeout as u, tokenBucket as v, withBreaker as w, withMaxAttempts as x, withStatus as y };
|