@graphrefly/graphrefly 0.47.2 → 0.48.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/base/composition/index.cjs +4 -3
- package/dist/base/composition/index.cjs.map +1 -1
- package/dist/base/composition/index.d.cts +14 -5
- package/dist/base/composition/index.d.ts +14 -5
- package/dist/base/composition/index.js +8 -8
- package/dist/base/index.cjs +152 -78
- package/dist/base/index.cjs.map +1 -1
- package/dist/base/index.d.cts +2 -2
- package/dist/base/index.d.ts +2 -2
- package/dist/base/index.js +75 -70
- package/dist/base/io/index.cjs +31 -17
- package/dist/base/io/index.cjs.map +1 -1
- package/dist/base/io/index.d.cts +32 -5
- package/dist/base/io/index.d.ts +32 -5
- package/dist/base/io/index.js +1 -1
- package/dist/base/mutation/index.cjs +21 -0
- package/dist/base/mutation/index.cjs.map +1 -1
- package/dist/base/mutation/index.d.cts +23 -1
- package/dist/base/mutation/index.d.ts +23 -1
- package/dist/base/mutation/index.js +3 -1
- package/dist/base/sources/browser/index.cjs +5 -3
- package/dist/base/sources/browser/index.cjs.map +1 -1
- package/dist/base/sources/browser/index.d.cts +20 -2
- package/dist/base/sources/browser/index.d.ts +20 -2
- package/dist/base/sources/browser/index.js +5 -3
- package/dist/base/sources/browser/index.js.map +1 -1
- package/dist/base/sources/event/index.cjs +28 -0
- package/dist/base/sources/event/index.cjs.map +1 -1
- package/dist/base/sources/event/index.d.cts +67 -3
- package/dist/base/sources/event/index.d.ts +67 -3
- package/dist/base/sources/event/index.js +4 -1
- package/dist/base/sources/index.cjs +75 -37
- package/dist/base/sources/index.cjs.map +1 -1
- package/dist/base/sources/index.d.cts +1 -1
- package/dist/base/sources/index.d.ts +1 -1
- package/dist/base/sources/index.js +5 -2
- package/dist/{chunk-R6ZCSXKX.js → chunk-23MAWVOJ.js} +3 -3
- package/dist/{chunk-MS3WPRJR.js → chunk-3REMCHSS.js} +6 -6
- package/dist/chunk-3REMCHSS.js.map +1 -0
- package/dist/{chunk-CEVNQ74M.js → chunk-3YGXPUHW.js} +2 -2
- package/dist/{chunk-CEVNQ74M.js.map → chunk-3YGXPUHW.js.map} +1 -1
- package/dist/{chunk-6ZLCPUXS.js → chunk-46X2EFQH.js} +15 -4
- package/dist/chunk-46X2EFQH.js.map +1 -0
- package/dist/{chunk-NY2PYHNC.js → chunk-5UY3PNFY.js} +12 -5
- package/dist/chunk-5UY3PNFY.js.map +1 -0
- package/dist/{chunk-FQSQONOU.js → chunk-65OM4XLQ.js} +49 -3
- package/dist/chunk-65OM4XLQ.js.map +1 -0
- package/dist/{chunk-3PSLNJDU.js → chunk-6DQYBIHW.js} +314 -49
- package/dist/chunk-6DQYBIHW.js.map +1 -0
- package/dist/{chunk-LDCSZ72P.js → chunk-6YBER5UP.js} +3 -3
- package/dist/{chunk-LDCSZ72P.js.map → chunk-6YBER5UP.js.map} +1 -1
- package/dist/{chunk-3O3NKZJW.js → chunk-7T7WLEPM.js} +24 -3
- package/dist/chunk-7T7WLEPM.js.map +1 -0
- package/dist/{chunk-PKPO3JTZ.js → chunk-AQAKDE7F.js} +29 -11
- package/dist/chunk-AQAKDE7F.js.map +1 -0
- package/dist/{chunk-6MRSX3YK.js → chunk-B5Y5GPD5.js} +2 -2
- package/dist/{chunk-BXGZFGZ4.js → chunk-C5QD5DQX.js} +22 -1
- package/dist/chunk-C5QD5DQX.js.map +1 -0
- package/dist/{chunk-4XCHZRUJ.js → chunk-D5YGR4TP.js} +58 -7
- package/dist/chunk-D5YGR4TP.js.map +1 -0
- package/dist/{chunk-NPRP3MCV.js → chunk-DHDCOOJU.js} +2 -2
- package/dist/chunk-DHDCOOJU.js.map +1 -0
- package/dist/{chunk-VP3TIUDF.js → chunk-DVTDF5OI.js} +2 -2
- package/dist/{chunk-OXD5LFQP.js → chunk-G7H6PN7P.js} +2 -2
- package/dist/{chunk-EL5VHUGK.js → chunk-GGKHHG5Y.js} +32 -18
- package/dist/chunk-GGKHHG5Y.js.map +1 -0
- package/dist/{chunk-446I4EGD.js → chunk-J5TBZFBD.js} +2 -2
- package/dist/{chunk-7AVQIGF6.js → chunk-K4ZYJ4EM.js} +554 -460
- package/dist/chunk-K4ZYJ4EM.js.map +1 -0
- package/dist/{chunk-QFE5BQH7.js → chunk-LTSI7ULC.js} +2 -2
- package/dist/{chunk-5GVURVIG.js → chunk-MMHGYX44.js} +12 -2
- package/dist/{chunk-5GVURVIG.js.map → chunk-MMHGYX44.js.map} +1 -1
- package/dist/{chunk-KRFGO5QH.js → chunk-MQMTRKY3.js} +118 -43
- package/dist/chunk-MQMTRKY3.js.map +1 -0
- package/dist/{chunk-42FQ27MQ.js → chunk-MTODGQBR.js} +44 -179
- package/dist/chunk-MTODGQBR.js.map +1 -0
- package/dist/{chunk-FVINAAKA.js → chunk-NBK6QQMG.js} +14 -13
- package/dist/{chunk-FVINAAKA.js.map → chunk-NBK6QQMG.js.map} +1 -1
- package/dist/{chunk-KNU73RZW.js → chunk-NSA5K5G2.js} +2 -2
- package/dist/{chunk-MLTPJMH6.js → chunk-QQYULEZL.js} +2 -2
- package/dist/chunk-QSW4DFKE.js +31 -0
- package/dist/chunk-QSW4DFKE.js.map +1 -0
- package/dist/{chunk-VAZXUK6G.js → chunk-SUNCHMML.js} +2 -2
- package/dist/{chunk-EP4WVQLX.js → chunk-T2U6N3FV.js} +6 -6
- package/dist/{chunk-T7SP3EYR.js → chunk-T5URUIIY.js} +33 -24
- package/dist/chunk-T5URUIIY.js.map +1 -0
- package/dist/{chunk-VNXAF2KE.js → chunk-TPTZZV25.js} +6 -6
- package/dist/chunk-TPTZZV25.js.map +1 -0
- package/dist/{chunk-IOJDYUA7.js → chunk-V46JWFGV.js} +6 -5
- package/dist/chunk-V46JWFGV.js.map +1 -0
- package/dist/{chunk-WGDEBIP4.js → chunk-X6ESZDR6.js} +5 -6
- package/dist/chunk-X6ESZDR6.js.map +1 -0
- package/dist/{chunk-N65E26UL.js → chunk-XEWV254I.js} +2 -2
- package/dist/{chunk-N65E26UL.js.map → chunk-XEWV254I.js.map} +1 -1
- package/dist/{chunk-PTWADEH3.js → chunk-YBJVKMTM.js} +34 -14
- package/dist/chunk-YBJVKMTM.js.map +1 -0
- package/dist/{chunk-DDTS7F5O.js → chunk-ZW32BPXV.js} +12 -3
- package/dist/chunk-ZW32BPXV.js.map +1 -0
- package/dist/compat/index.cjs +51 -4
- package/dist/compat/index.cjs.map +1 -1
- package/dist/compat/index.d.cts +1 -1
- package/dist/compat/index.d.ts +1 -1
- package/dist/compat/index.js +6 -6
- package/dist/compat/nestjs/index.cjs +51 -4
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +1 -1
- package/dist/compat/nestjs/index.d.ts +1 -1
- package/dist/compat/nestjs/index.js +3 -3
- package/dist/{fallback-Bx46zqky.d.cts → fallback-BROR6ZhO.d.cts} +1 -1
- package/dist/{fallback-pIWW8A2d.d.ts → fallback-DO80aM_3.d.ts} +1 -1
- package/dist/{index-B_p8tnvf.d.cts → index-D1z3XcF9.d.cts} +1 -0
- package/dist/{index-_HDSmPyp.d.ts → index-DZ6yua0Q.d.ts} +1 -0
- package/dist/index.cjs +2215 -1676
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +169 -146
- package/dist/index.js.map +1 -1
- package/dist/presets/ai/index.cjs +46 -0
- package/dist/presets/ai/index.cjs.map +1 -1
- package/dist/presets/ai/index.js +12 -12
- package/dist/presets/harness/index.cjs +130 -18
- package/dist/presets/harness/index.cjs.map +1 -1
- package/dist/presets/harness/index.d.cts +15 -5
- package/dist/presets/harness/index.d.ts +15 -5
- package/dist/presets/harness/index.js +22 -22
- package/dist/presets/index.cjs +222 -53
- package/dist/presets/index.cjs.map +1 -1
- package/dist/presets/index.d.cts +2 -2
- package/dist/presets/index.d.ts +2 -2
- package/dist/presets/index.js +45 -45
- package/dist/presets/inspect/index.cjs +63 -14
- package/dist/presets/inspect/index.cjs.map +1 -1
- package/dist/presets/inspect/index.d.cts +1 -1
- package/dist/presets/inspect/index.d.ts +1 -1
- package/dist/presets/inspect/index.js +6 -6
- package/dist/presets/resilience/index.cjs +29 -21
- package/dist/presets/resilience/index.cjs.map +1 -1
- package/dist/presets/resilience/index.d.cts +12 -8
- package/dist/presets/resilience/index.d.ts +12 -8
- package/dist/presets/resilience/index.js +3 -3
- package/dist/{rate-limiter-DpVbSYdH.d.cts → rate-limiter-DC26FM8J.d.cts} +10 -1
- package/dist/{rate-limiter-CEALq4N1.d.ts → rate-limiter-DyWpwpQP.d.ts} +10 -1
- package/dist/{reactive-layout-fswlBUvX.d.ts → reactive-layout-BBBWH0V_.d.cts} +85 -4
- package/dist/{reactive-layout-fswlBUvX.d.cts → reactive-layout-BBBWH0V_.d.ts} +85 -4
- package/dist/solutions/index.cjs +168 -47
- package/dist/solutions/index.cjs.map +1 -1
- package/dist/solutions/index.d.cts +2 -2
- package/dist/solutions/index.d.ts +2 -2
- package/dist/solutions/index.js +28 -28
- package/dist/{spawnable-5mDY501F.d.cts → spawnable-B2IlW60f.d.cts} +23 -2
- package/dist/{spawnable-D3lR0oQu.d.ts → spawnable-tttFz2Nh.d.ts} +23 -2
- package/dist/testing/index.cjs +94 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.cts +59 -0
- package/dist/testing/index.d.ts +59 -0
- package/dist/testing/index.js +73 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/utils/ai/browser.cjs.map +1 -1
- package/dist/utils/ai/browser.d.cts +2 -2
- package/dist/utils/ai/browser.d.ts +2 -2
- package/dist/utils/ai/browser.js +6 -6
- package/dist/utils/ai/browser.js.map +1 -1
- package/dist/utils/ai/index.cjs +250 -166
- package/dist/utils/ai/index.cjs.map +1 -1
- package/dist/utils/ai/index.d.cts +108 -12
- package/dist/utils/ai/index.d.ts +108 -12
- package/dist/utils/ai/index.js +21 -19
- package/dist/utils/ai/node.cjs.map +1 -1
- package/dist/utils/ai/node.d.cts +5 -5
- package/dist/utils/ai/node.d.ts +5 -5
- package/dist/utils/ai/node.js +2 -2
- package/dist/utils/ai/node.js.map +1 -1
- package/dist/utils/cqrs/index.cjs +29 -3
- package/dist/utils/cqrs/index.cjs.map +1 -1
- package/dist/utils/cqrs/index.d.cts +12 -7
- package/dist/utils/cqrs/index.d.ts +12 -7
- package/dist/utils/cqrs/index.js +2 -2
- package/dist/utils/demo-shell/index.cjs +45 -19
- package/dist/utils/demo-shell/index.cjs.map +1 -1
- package/dist/utils/demo-shell/index.d.cts +1 -1
- package/dist/utils/demo-shell/index.d.ts +1 -1
- package/dist/utils/demo-shell/index.js +2 -2
- package/dist/utils/domain-templates/index.cjs.map +1 -1
- package/dist/utils/domain-templates/index.js +3 -3
- package/dist/utils/graphspec/index.cjs.map +1 -1
- package/dist/utils/graphspec/index.js +3 -3
- package/dist/utils/index.cjs +1642 -1225
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +7 -7
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.js +72 -54
- package/dist/utils/inspect/index.cjs +52 -4
- package/dist/utils/inspect/index.cjs.map +1 -1
- package/dist/utils/inspect/index.d.cts +32 -3
- package/dist/utils/inspect/index.d.ts +32 -3
- package/dist/utils/inspect/index.js +4 -4
- package/dist/utils/job-queue/index.cjs +46 -9
- package/dist/utils/job-queue/index.cjs.map +1 -1
- package/dist/utils/job-queue/index.d.cts +33 -3
- package/dist/utils/job-queue/index.d.ts +33 -3
- package/dist/utils/job-queue/index.js +2 -2
- package/dist/utils/memory/index.cjs +556 -462
- package/dist/utils/memory/index.cjs.map +1 -1
- package/dist/utils/memory/index.d.cts +203 -24
- package/dist/utils/memory/index.d.ts +203 -24
- package/dist/utils/memory/index.js +10 -2
- package/dist/utils/messaging/index.cjs.map +1 -1
- package/dist/utils/messaging/index.d.cts +4 -3
- package/dist/utils/messaging/index.d.ts +4 -3
- package/dist/utils/messaging/index.js +2 -2
- package/dist/utils/orchestration/index.cjs +9 -0
- package/dist/utils/orchestration/index.cjs.map +1 -1
- package/dist/utils/orchestration/index.js +3 -3
- package/dist/utils/process/index.cjs +32 -2
- package/dist/utils/process/index.cjs.map +1 -1
- package/dist/utils/process/index.d.cts +4 -3
- package/dist/utils/process/index.d.ts +4 -3
- package/dist/utils/process/index.js +2 -2
- package/dist/utils/reactive-layout/index.cjs +184 -55
- package/dist/utils/reactive-layout/index.cjs.map +1 -1
- package/dist/utils/reactive-layout/index.d.cts +128 -3
- package/dist/utils/reactive-layout/index.d.ts +128 -3
- package/dist/utils/reactive-layout/index.js +16 -8
- package/dist/utils/reduction/index.cjs.map +1 -1
- package/dist/utils/reduction/index.js +2 -2
- package/dist/utils/resilience/index.cjs +29 -20
- package/dist/utils/resilience/index.cjs.map +1 -1
- package/dist/utils/resilience/index.d.cts +1 -1
- package/dist/utils/resilience/index.d.ts +1 -1
- package/dist/utils/resilience/index.js +2 -2
- package/dist/utils/surface/index.cjs.map +1 -1
- package/dist/utils/surface/index.js +4 -4
- package/package.json +15 -3
- package/dist/chunk-3O3NKZJW.js.map +0 -1
- package/dist/chunk-3PSLNJDU.js.map +0 -1
- package/dist/chunk-42FQ27MQ.js.map +0 -1
- package/dist/chunk-4XCHZRUJ.js.map +0 -1
- package/dist/chunk-6ZLCPUXS.js.map +0 -1
- package/dist/chunk-7AVQIGF6.js.map +0 -1
- package/dist/chunk-BXGZFGZ4.js.map +0 -1
- package/dist/chunk-DDTS7F5O.js.map +0 -1
- package/dist/chunk-EL5VHUGK.js.map +0 -1
- package/dist/chunk-FQSQONOU.js.map +0 -1
- package/dist/chunk-IOJDYUA7.js.map +0 -1
- package/dist/chunk-KRFGO5QH.js.map +0 -1
- package/dist/chunk-MS3WPRJR.js.map +0 -1
- package/dist/chunk-NPRP3MCV.js.map +0 -1
- package/dist/chunk-NY2PYHNC.js.map +0 -1
- package/dist/chunk-PKPO3JTZ.js.map +0 -1
- package/dist/chunk-PTWADEH3.js.map +0 -1
- package/dist/chunk-T7SP3EYR.js.map +0 -1
- package/dist/chunk-VNXAF2KE.js.map +0 -1
- package/dist/chunk-W2BOPXTI.js +0 -1
- package/dist/chunk-W2BOPXTI.js.map +0 -1
- package/dist/chunk-WGDEBIP4.js.map +0 -1
- /package/dist/{chunk-R6ZCSXKX.js.map → chunk-23MAWVOJ.js.map} +0 -0
- /package/dist/{chunk-6MRSX3YK.js.map → chunk-B5Y5GPD5.js.map} +0 -0
- /package/dist/{chunk-VP3TIUDF.js.map → chunk-DVTDF5OI.js.map} +0 -0
- /package/dist/{chunk-OXD5LFQP.js.map → chunk-G7H6PN7P.js.map} +0 -0
- /package/dist/{chunk-446I4EGD.js.map → chunk-J5TBZFBD.js.map} +0 -0
- /package/dist/{chunk-QFE5BQH7.js.map → chunk-LTSI7ULC.js.map} +0 -0
- /package/dist/{chunk-KNU73RZW.js.map → chunk-NSA5K5G2.js.map} +0 -0
- /package/dist/{chunk-MLTPJMH6.js.map → chunk-QQYULEZL.js.map} +0 -0
- /package/dist/{chunk-VAZXUK6G.js.map → chunk-SUNCHMML.js.map} +0 -0
- /package/dist/{chunk-EP4WVQLX.js.map → chunk-T2U6N3FV.js.map} +0 -0
package/dist/presets/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ export { A as AgentBundle, a as AgentGraph, b as AgentLoopGraph, c as AgentLoopO
|
|
|
2
2
|
export { C as CompressionCache, a as CompressionRule, b as ContextEntry, c as ContextView, L as LlmCompress, P as PoolGCPolicy, R as RenderedEntry, d as RuleMatch, T as Tag, e as TaggedContextPoolBundle, f as TaggedContextPoolOptions, g as Tier, r as renderContextView, t as taggedContextPool, h as tierCompress } from '../index-DLAxYaN5.cjs';
|
|
3
3
|
export { DebateGraph, DebateOutput, DebateParticipant, DebateStatus, DebateTermination, HeterogeneousDebateBundle, HeterogeneousDebateOptions, Turn, heterogeneousDebate } from './ai/index.cjs';
|
|
4
4
|
export { ActorHandle, ActorId, ActorPoolBundle, ActorPoolOptions, ActorSpec, ActorState, ActorStatus, EvalVerifierConfig, EvalVerifierSummary, HarnessEvalPairConfig, HarnessProfileResult, HarnessTraceHandle, HarnessTraceOptions, OwnershipControllerGraph, OwnershipControllerOptions, OwnershipState, RefineExecutorConfig, RefineExecutorResult, Todo, TraceDetail, TraceEvent, TraceEventType, actorPool, evalVerifier, harnessEvalPair, harnessProfile, harnessTrace, ownershipController, refineExecutor } from './harness/index.cjs';
|
|
5
|
-
export { A as AnalyzeEvent, B as BlindVariationContext, a as BlindVariationOptions, C as ConvergenceOptions, D as DatasetItem, b as DecideEvent, E as ErrorCritiqueContext, c as ErrorCritiqueOptions, d as EvalResult, e as EvaluateEvent, f as Evaluator, F as Feedback, G as GenerateEvent, H as HarnessGraph, I as Iteration, R as RefineLoopGraph, g as RefineLoopOptions, h as RefineStatus, i as RefineStrategy, S as SpawnPayload, j as SpawnRejection, k as SpawnableBundle, l as SpawnableGraph, m as SpawnableOpts, n as blindVariation, o as defaultLlmExecutor, p as defaultLlmVerifier, q as errorCritique, r as harnessLoop, s as refineLoop, t as spawnable } from '../spawnable-
|
|
5
|
+
export { A as AnalyzeEvent, B as BlindVariationContext, a as BlindVariationOptions, C as ConvergenceOptions, D as DatasetItem, b as DecideEvent, E as ErrorCritiqueContext, c as ErrorCritiqueOptions, d as EvalResult, e as EvaluateEvent, f as Evaluator, F as Feedback, G as GenerateEvent, H as HarnessGraph, I as Iteration, R as RefineLoopGraph, g as RefineLoopOptions, h as RefineStatus, i as RefineStrategy, S as SpawnPayload, j as SpawnRejection, k as SpawnableBundle, l as SpawnableGraph, m as SpawnableOpts, n as blindVariation, o as defaultLlmExecutor, p as defaultLlmVerifier, q as errorCritique, r as harnessLoop, s as refineLoop, t as spawnable } from '../spawnable-B2IlW60f.cjs';
|
|
6
6
|
export { InspectGraph, InspectOptions, inspect } from './inspect/index.cjs';
|
|
7
7
|
export { G as GuardedExecutionGraph, a as GuardedExecutionLint, b as GuardedExecutionOptions, c as GuardedScope, g as guardedExecution } from '../guarded-execution-C-3hnP6A.cjs';
|
|
8
8
|
export { ResilientPipelineGraph, ResilientPipelineOptions, resilientPipeline } from './resilience/index.cjs';
|
|
@@ -24,5 +24,5 @@ import '../utils/inspect/index.cjs';
|
|
|
24
24
|
import '../retry-DWuhjvsA.cjs';
|
|
25
25
|
import '../backoff-Bnb9OoPh.cjs';
|
|
26
26
|
import '../status-U-rUI79b.cjs';
|
|
27
|
-
import '../rate-limiter-
|
|
27
|
+
import '../rate-limiter-DC26FM8J.cjs';
|
|
28
28
|
import '../breaker-ugSdq54q.cjs';
|
package/dist/presets/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { A as AgentBundle, a as AgentGraph, b as AgentLoopGraph, c as AgentLoopO
|
|
|
2
2
|
export { C as CompressionCache, a as CompressionRule, b as ContextEntry, c as ContextView, L as LlmCompress, P as PoolGCPolicy, R as RenderedEntry, d as RuleMatch, T as Tag, e as TaggedContextPoolBundle, f as TaggedContextPoolOptions, g as Tier, r as renderContextView, t as taggedContextPool, h as tierCompress } from '../index-DLAxYaN5.js';
|
|
3
3
|
export { DebateGraph, DebateOutput, DebateParticipant, DebateStatus, DebateTermination, HeterogeneousDebateBundle, HeterogeneousDebateOptions, Turn, heterogeneousDebate } from './ai/index.js';
|
|
4
4
|
export { ActorHandle, ActorId, ActorPoolBundle, ActorPoolOptions, ActorSpec, ActorState, ActorStatus, EvalVerifierConfig, EvalVerifierSummary, HarnessEvalPairConfig, HarnessProfileResult, HarnessTraceHandle, HarnessTraceOptions, OwnershipControllerGraph, OwnershipControllerOptions, OwnershipState, RefineExecutorConfig, RefineExecutorResult, Todo, TraceDetail, TraceEvent, TraceEventType, actorPool, evalVerifier, harnessEvalPair, harnessProfile, harnessTrace, ownershipController, refineExecutor } from './harness/index.js';
|
|
5
|
-
export { A as AnalyzeEvent, B as BlindVariationContext, a as BlindVariationOptions, C as ConvergenceOptions, D as DatasetItem, b as DecideEvent, E as ErrorCritiqueContext, c as ErrorCritiqueOptions, d as EvalResult, e as EvaluateEvent, f as Evaluator, F as Feedback, G as GenerateEvent, H as HarnessGraph, I as Iteration, R as RefineLoopGraph, g as RefineLoopOptions, h as RefineStatus, i as RefineStrategy, S as SpawnPayload, j as SpawnRejection, k as SpawnableBundle, l as SpawnableGraph, m as SpawnableOpts, n as blindVariation, o as defaultLlmExecutor, p as defaultLlmVerifier, q as errorCritique, r as harnessLoop, s as refineLoop, t as spawnable } from '../spawnable-
|
|
5
|
+
export { A as AnalyzeEvent, B as BlindVariationContext, a as BlindVariationOptions, C as ConvergenceOptions, D as DatasetItem, b as DecideEvent, E as ErrorCritiqueContext, c as ErrorCritiqueOptions, d as EvalResult, e as EvaluateEvent, f as Evaluator, F as Feedback, G as GenerateEvent, H as HarnessGraph, I as Iteration, R as RefineLoopGraph, g as RefineLoopOptions, h as RefineStatus, i as RefineStrategy, S as SpawnPayload, j as SpawnRejection, k as SpawnableBundle, l as SpawnableGraph, m as SpawnableOpts, n as blindVariation, o as defaultLlmExecutor, p as defaultLlmVerifier, q as errorCritique, r as harnessLoop, s as refineLoop, t as spawnable } from '../spawnable-tttFz2Nh.js';
|
|
6
6
|
export { InspectGraph, InspectOptions, inspect } from './inspect/index.js';
|
|
7
7
|
export { G as GuardedExecutionGraph, a as GuardedExecutionLint, b as GuardedExecutionOptions, c as GuardedScope, g as guardedExecution } from '../guarded-execution-BcdtxeBk.js';
|
|
8
8
|
export { ResilientPipelineGraph, ResilientPipelineOptions, resilientPipeline } from './resilience/index.js';
|
|
@@ -24,5 +24,5 @@ import '../utils/inspect/index.js';
|
|
|
24
24
|
import '../retry-BDbRZ_gx.js';
|
|
25
25
|
import '../backoff-Bnb9OoPh.js';
|
|
26
26
|
import '../status-U-rUI79b.js';
|
|
27
|
-
import '../rate-limiter-
|
|
27
|
+
import '../rate-limiter-DyWpwpQP.js';
|
|
28
28
|
import '../breaker-C9skL3d8.js';
|
package/dist/presets/index.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import "../chunk-2LO3EL4W.js";
|
|
2
|
-
import {
|
|
3
|
-
InspectGraph,
|
|
4
|
-
inspect
|
|
5
|
-
} from "../chunk-LDCSZ72P.js";
|
|
6
|
-
import "../chunk-KRNQ6RGQ.js";
|
|
7
|
-
import {
|
|
8
|
-
DebateGraph,
|
|
9
|
-
heterogeneousDebate
|
|
10
|
-
} from "../chunk-X7BA5PWG.js";
|
|
11
2
|
import {
|
|
12
3
|
OwnershipControllerGraph,
|
|
13
4
|
actorPool,
|
|
@@ -17,25 +8,22 @@ import {
|
|
|
17
8
|
harnessTrace,
|
|
18
9
|
ownershipController,
|
|
19
10
|
refineExecutor
|
|
20
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-TPTZZV25.js";
|
|
12
|
+
import {
|
|
13
|
+
InspectGraph,
|
|
14
|
+
inspect
|
|
15
|
+
} from "../chunk-6YBER5UP.js";
|
|
16
|
+
import "../chunk-KRNQ6RGQ.js";
|
|
17
|
+
import {
|
|
18
|
+
DebateGraph,
|
|
19
|
+
heterogeneousDebate
|
|
20
|
+
} from "../chunk-X7BA5PWG.js";
|
|
21
21
|
import {
|
|
22
22
|
CompressionCache,
|
|
23
23
|
renderContextView,
|
|
24
24
|
taggedContextPool,
|
|
25
25
|
tierCompress
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import {
|
|
28
|
-
GuardedExecutionGraph,
|
|
29
|
-
guardedExecution
|
|
30
|
-
} from "../chunk-FVINAAKA.js";
|
|
31
|
-
import {
|
|
32
|
-
ResilientPipelineGraph,
|
|
33
|
-
resilientPipeline
|
|
34
|
-
} from "../chunk-WGDEBIP4.js";
|
|
35
|
-
import {
|
|
36
|
-
AgentMemoryGraph,
|
|
37
|
-
agentMemory
|
|
38
|
-
} from "../chunk-R6ZCSXKX.js";
|
|
26
|
+
} from "../chunk-DVTDF5OI.js";
|
|
39
27
|
import {
|
|
40
28
|
HarnessGraph,
|
|
41
29
|
RefineLoopGraph,
|
|
@@ -47,7 +35,19 @@ import {
|
|
|
47
35
|
harnessLoop,
|
|
48
36
|
refineLoop,
|
|
49
37
|
spawnable
|
|
50
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-YBJVKMTM.js";
|
|
39
|
+
import {
|
|
40
|
+
GuardedExecutionGraph,
|
|
41
|
+
guardedExecution
|
|
42
|
+
} from "../chunk-NBK6QQMG.js";
|
|
43
|
+
import {
|
|
44
|
+
ResilientPipelineGraph,
|
|
45
|
+
resilientPipeline
|
|
46
|
+
} from "../chunk-X6ESZDR6.js";
|
|
47
|
+
import {
|
|
48
|
+
AgentMemoryGraph,
|
|
49
|
+
agentMemory
|
|
50
|
+
} from "../chunk-23MAWVOJ.js";
|
|
51
51
|
import {
|
|
52
52
|
AgentGraph,
|
|
53
53
|
AgentLoopGraph,
|
|
@@ -56,34 +56,34 @@ import {
|
|
|
56
56
|
agent,
|
|
57
57
|
agentLoop,
|
|
58
58
|
presetRegistry
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-CEVNQ74M.js";
|
|
59
|
+
} from "../chunk-65OM4XLQ.js";
|
|
60
|
+
import "../chunk-D5YGR4TP.js";
|
|
62
61
|
import "../chunk-OIWU3NYV.js";
|
|
63
|
-
import "../chunk-
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
66
|
-
import "../chunk-
|
|
67
|
-
import "../chunk-
|
|
68
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-AQAKDE7F.js";
|
|
63
|
+
import "../chunk-3YGXPUHW.js";
|
|
64
|
+
import "../chunk-MQMTRKY3.js";
|
|
65
|
+
import "../chunk-B5Y5GPD5.js";
|
|
66
|
+
import "../chunk-LTSI7ULC.js";
|
|
67
|
+
import "../chunk-ZW32BPXV.js";
|
|
68
|
+
import "../chunk-T2U6N3FV.js";
|
|
69
|
+
import "../chunk-T5URUIIY.js";
|
|
69
70
|
import "../chunk-GUNIRPEJ.js";
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
74
|
-
import "../chunk-NPRP3MCV.js";
|
|
75
|
-
import "../chunk-QMBYUVRL.js";
|
|
76
|
-
import "../chunk-FMPF42Q4.js";
|
|
77
|
-
import "../chunk-BXGZFGZ4.js";
|
|
78
|
-
import "../chunk-IOJDYUA7.js";
|
|
79
|
-
import "../chunk-OXD5LFQP.js";
|
|
80
|
-
import "../chunk-5GVURVIG.js";
|
|
81
|
-
import "../chunk-N6MNJNHB.js";
|
|
71
|
+
import "../chunk-XEWV254I.js";
|
|
72
|
+
import "../chunk-3REMCHSS.js";
|
|
73
|
+
import "../chunk-K4ZYJ4EM.js";
|
|
74
|
+
import "../chunk-DHDCOOJU.js";
|
|
82
75
|
import "../chunk-F7EKHR32.js";
|
|
83
76
|
import "../chunk-JA67ZQG2.js";
|
|
84
77
|
import "../chunk-KUFXLAEY.js";
|
|
85
78
|
import "../chunk-TSBFTJKM.js";
|
|
86
79
|
import "../chunk-P5LBT622.js";
|
|
80
|
+
import "../chunk-QMBYUVRL.js";
|
|
81
|
+
import "../chunk-FMPF42Q4.js";
|
|
82
|
+
import "../chunk-C5QD5DQX.js";
|
|
83
|
+
import "../chunk-V46JWFGV.js";
|
|
84
|
+
import "../chunk-G7H6PN7P.js";
|
|
85
|
+
import "../chunk-MMHGYX44.js";
|
|
86
|
+
import "../chunk-N6MNJNHB.js";
|
|
87
87
|
import "../chunk-AZDQPQ3V.js";
|
|
88
88
|
export {
|
|
89
89
|
AgentGraph,
|
|
@@ -724,7 +724,11 @@ function healthReportEqual(a, b) {
|
|
|
724
724
|
}
|
|
725
725
|
return true;
|
|
726
726
|
}
|
|
727
|
-
function graphLens(target) {
|
|
727
|
+
function graphLens(target, opts = {}) {
|
|
728
|
+
const mutLogOpt = opts.mutations;
|
|
729
|
+
const mutationsEnabled = mutLogOpt != null;
|
|
730
|
+
const pendingFlowChanges = [];
|
|
731
|
+
let disposed = false;
|
|
728
732
|
const topologyHandle = target.describe({
|
|
729
733
|
reactive: true,
|
|
730
734
|
detail: "standard",
|
|
@@ -767,17 +771,26 @@ function graphLens(target) {
|
|
|
767
771
|
const path = event.path;
|
|
768
772
|
if (path == null || path === "") continue;
|
|
769
773
|
const prior = flowMap.get(path);
|
|
774
|
+
const count = (prior?.count ?? 0) + 1;
|
|
770
775
|
flowMap.set(path, {
|
|
771
776
|
path,
|
|
772
|
-
count
|
|
777
|
+
count,
|
|
773
778
|
lastUpdate_ns: c.flushedAt_ns
|
|
774
779
|
});
|
|
780
|
+
if (mutationsEnabled && !disposed) {
|
|
781
|
+
pendingFlowChanges.push({ kind: "tick", path, count });
|
|
782
|
+
}
|
|
775
783
|
}
|
|
776
784
|
}
|
|
777
785
|
if (desc != null && flowMap.size > 0) {
|
|
778
786
|
const valid = new Set(Object.keys(desc.nodes));
|
|
779
787
|
for (const k of [...flowMap.keys()]) {
|
|
780
|
-
if (!valid.has(k))
|
|
788
|
+
if (!valid.has(k)) {
|
|
789
|
+
flowMap.delete(k);
|
|
790
|
+
if (mutationsEnabled && !disposed) {
|
|
791
|
+
pendingFlowChanges.push({ kind: "evict", path: k });
|
|
792
|
+
}
|
|
793
|
+
}
|
|
781
794
|
}
|
|
782
795
|
}
|
|
783
796
|
actions.emit(new Map(flowMap));
|
|
@@ -788,15 +801,50 @@ function graphLens(target) {
|
|
|
788
801
|
meta: domainMeta("lens", "flow")
|
|
789
802
|
}
|
|
790
803
|
);
|
|
804
|
+
let flowMutations;
|
|
805
|
+
let stopFlowMutKeep;
|
|
806
|
+
if (mutLogOpt != null) {
|
|
807
|
+
const log = (0, import_extra4.reactiveLog)(void 0, {
|
|
808
|
+
name: mutLogOpt === true ? "graphLens.flowMutations" : mutLogOpt.name ?? "graphLens.flowMutations",
|
|
809
|
+
maxSize: mutLogOpt === true ? void 0 : mutLogOpt.maxSize
|
|
810
|
+
});
|
|
811
|
+
flowMutations = log;
|
|
812
|
+
let mutVersion = 0;
|
|
813
|
+
const flowMutationsDrain = (0, import_core4.node)(
|
|
814
|
+
[flow],
|
|
815
|
+
(_batchData, _actions, _ctx) => {
|
|
816
|
+
if (pendingFlowChanges.length === 0) return;
|
|
817
|
+
const drained = pendingFlowChanges.splice(0);
|
|
818
|
+
for (const change of drained) {
|
|
819
|
+
log.append({
|
|
820
|
+
structure: "lensFlow",
|
|
821
|
+
version: ++mutVersion,
|
|
822
|
+
t_ns: (0, import_core4.wallClockNs)(),
|
|
823
|
+
lifecycle: "data",
|
|
824
|
+
change
|
|
825
|
+
});
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
name: "graphLens.flowMutationsDrain",
|
|
830
|
+
describeKind: "effect",
|
|
831
|
+
meta: domainMeta("lens", "flowMutations")
|
|
832
|
+
}
|
|
833
|
+
);
|
|
834
|
+
stopFlowMutKeep = (0, import_extra4.keepalive)(flowMutationsDrain);
|
|
835
|
+
}
|
|
791
836
|
const stopFlowKeep = (0, import_extra4.keepalive)(flow);
|
|
792
|
-
let disposed = false;
|
|
793
837
|
return {
|
|
794
838
|
topology,
|
|
795
839
|
health,
|
|
796
840
|
flow,
|
|
841
|
+
...flowMutations ? { flowMutations } : {},
|
|
797
842
|
dispose() {
|
|
798
843
|
if (disposed) return;
|
|
799
844
|
disposed = true;
|
|
845
|
+
stopFlowMutKeep?.();
|
|
846
|
+
flowMutations?.dispose();
|
|
847
|
+
pendingFlowChanges.length = 0;
|
|
800
848
|
stopFlowKeep();
|
|
801
849
|
stopHealthKeep();
|
|
802
850
|
topologyHandle.dispose();
|
|
@@ -1015,11 +1063,12 @@ var GuardedExecutionGraph = class extends import_graph7.Graph {
|
|
|
1015
1063
|
this.addDisposer((0, import_extra5.keepalive)(this.scope));
|
|
1016
1064
|
const scopedHandle = target.describe({
|
|
1017
1065
|
reactive: true,
|
|
1018
|
-
// F8 (
|
|
1019
|
-
//
|
|
1020
|
-
//
|
|
1021
|
-
// (full visibility)
|
|
1022
|
-
//
|
|
1066
|
+
// F8 (resolved 2026-05-18): `GraphDescribeOptions.actor` is now
|
|
1067
|
+
// `Actor | Node<Actor | null>`, so `_actorNode` (a
|
|
1068
|
+
// `Node<Actor | null>`) passes without a cast. A `null`/`undefined`
|
|
1069
|
+
// cache resolves to "no scoping" (full visibility) per
|
|
1070
|
+
// `resolveActorOption`. See graph.ts § "Cache-undefined/null
|
|
1071
|
+
// semantics".
|
|
1023
1072
|
actor: this._actorNode,
|
|
1024
1073
|
reactiveName: "scopedDescribe"
|
|
1025
1074
|
});
|
|
@@ -1065,11 +1114,11 @@ var GuardedExecutionGraph = class extends import_graph7.Graph {
|
|
|
1065
1114
|
const actorNode = actorOverride == null ? this._actorNode : isNode2(actorOverride) ? actorOverride : (0, import_core6.node)([], { name: "actor_override", initial: actorOverride });
|
|
1066
1115
|
const handle = this._target.describe({
|
|
1067
1116
|
reactive: true,
|
|
1068
|
-
// `
|
|
1069
|
-
//
|
|
1070
|
-
// `
|
|
1071
|
-
//
|
|
1072
|
-
//
|
|
1117
|
+
// F8 (resolved 2026-05-18): `actor` accepts `Node<Actor | null>`
|
|
1118
|
+
// directly. `actorNode` is `_actorNode` (`Node<Actor | null>`) or
|
|
1119
|
+
// an override (`Node<Actor>`/`Node<Actor | null>`); both assign
|
|
1120
|
+
// without a cast. `_describeReactive` resolves via
|
|
1121
|
+
// `resolveActorOption` (null/undefined cache → no scoping).
|
|
1073
1122
|
actor: actorNode,
|
|
1074
1123
|
...opts ?? {}
|
|
1075
1124
|
});
|