@graphrefly/graphrefly 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/{chunk-WYI7YW54.js → chunk-2OTXEZQO.js} +3 -3
  2. package/dist/{chunk-TZLX4KIT.js → chunk-2VHNCFGG.js} +3 -3
  3. package/dist/{chunk-XCZPGOVP.js → chunk-3WACHRHV.js} +3 -3
  4. package/dist/{chunk-YWTP2XRJ.js → chunk-5WXTWOD7.js} +2 -2
  5. package/dist/{chunk-E7OH6ZAZ.js → chunk-FMVFRP7L.js} +62 -3
  6. package/dist/chunk-FMVFRP7L.js.map +1 -0
  7. package/dist/{chunk-LR2CLSEF.js → chunk-OHUECHWY.js} +2 -3
  8. package/dist/chunk-OHUECHWY.js.map +1 -0
  9. package/dist/{chunk-UCW3VWMN.js → chunk-PZCDQD2U.js} +4 -4
  10. package/dist/{chunk-A2AJJOSJ.js → chunk-U5HFZGAQ.js} +3 -3
  11. package/dist/{chunk-QTZSBQGJ.js → chunk-UG2QZMRN.js} +18 -1
  12. package/dist/chunk-UG2QZMRN.js.map +1 -0
  13. package/dist/compat/nestjs/index.cjs +10 -1
  14. package/dist/compat/nestjs/index.cjs.map +1 -1
  15. package/dist/compat/nestjs/index.d.cts +4 -4
  16. package/dist/compat/nestjs/index.d.ts +4 -4
  17. package/dist/compat/nestjs/index.js +7 -7
  18. package/dist/core/index.cjs +74 -1
  19. package/dist/core/index.cjs.map +1 -1
  20. package/dist/core/index.d.cts +2 -2
  21. package/dist/core/index.d.ts +2 -2
  22. package/dist/core/index.js +12 -3
  23. package/dist/extra/index.cjs +10 -0
  24. package/dist/extra/index.cjs.map +1 -1
  25. package/dist/extra/index.d.cts +4 -4
  26. package/dist/extra/index.d.ts +4 -4
  27. package/dist/extra/index.js +3 -3
  28. package/dist/graph/index.cjs +10 -1
  29. package/dist/graph/index.cjs.map +1 -1
  30. package/dist/graph/index.d.cts +3 -3
  31. package/dist/graph/index.d.ts +3 -3
  32. package/dist/graph/index.js +4 -4
  33. package/dist/{graph-DqTICAY2.d.cts → graph-BE10ujU9.d.cts} +1 -1
  34. package/dist/{graph-X9uwnD_z.d.ts → graph-DXT95WZ3.d.ts} +1 -1
  35. package/dist/{index-DLO8wnYU.d.ts → index-53cDGX7F.d.ts} +3 -3
  36. package/dist/{index-DMv1Etbi.d.ts → index-B10Q0sQB.d.ts} +2 -2
  37. package/dist/{index-a5gHmH5b.d.ts → index-Bbgvinsi.d.ts} +3 -3
  38. package/dist/{index-BPCeYDS4.d.ts → index-C0_7g9sj.d.ts} +1 -1
  39. package/dist/{index-3U0WxdD-.d.cts → index-CCvzN5GB.d.cts} +2 -2
  40. package/dist/{index-BP1t_38S.d.cts → index-DpZozxaJ.d.cts} +3 -3
  41. package/dist/{index-BVG5pjin.d.ts → index-Dzdm20sx.d.ts} +88 -3
  42. package/dist/{index-BYEgosAX.d.cts → index-QfbXNW1N.d.cts} +88 -3
  43. package/dist/{index-BYa2YMat.d.cts → index-aBZ2RoP0.d.cts} +3 -3
  44. package/dist/{index-DbwgQ4Cw.d.cts → index-nRulwTr-.d.cts} +1 -1
  45. package/dist/index.cjs +855 -101
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.d.cts +349 -19
  48. package/dist/index.d.ts +349 -19
  49. package/dist/index.js +800 -116
  50. package/dist/index.js.map +1 -1
  51. package/dist/{meta-BJEU8fYz.d.cts → meta-BcuDhtwu.d.cts} +33 -1
  52. package/dist/{meta-BJEU8fYz.d.ts → meta-BcuDhtwu.d.ts} +33 -1
  53. package/dist/patterns/reactive-layout/index.cjs +10 -1
  54. package/dist/patterns/reactive-layout/index.cjs.map +1 -1
  55. package/dist/patterns/reactive-layout/index.d.cts +3 -3
  56. package/dist/patterns/reactive-layout/index.d.ts +3 -3
  57. package/dist/patterns/reactive-layout/index.js +4 -4
  58. package/dist/{reactive-log-RhgIog2Z.d.ts → reactive-log-Cu0VdqkT.d.ts} +2 -2
  59. package/dist/{reactive-log-BfX6bOSZ.d.cts → reactive-log-OULQssZg.d.cts} +2 -2
  60. package/package.json +7 -2
  61. package/dist/chunk-E7OH6ZAZ.js.map +0 -1
  62. package/dist/chunk-LR2CLSEF.js.map +0 -1
  63. package/dist/chunk-QTZSBQGJ.js.map +0 -1
  64. /package/dist/{chunk-WYI7YW54.js.map → chunk-2OTXEZQO.js.map} +0 -0
  65. /package/dist/{chunk-TZLX4KIT.js.map → chunk-2VHNCFGG.js.map} +0 -0
  66. /package/dist/{chunk-XCZPGOVP.js.map → chunk-3WACHRHV.js.map} +0 -0
  67. /package/dist/{chunk-YWTP2XRJ.js.map → chunk-5WXTWOD7.js.map} +0 -0
  68. /package/dist/{chunk-UCW3VWMN.js.map → chunk-PZCDQD2U.js.map} +0 -0
  69. /package/dist/{chunk-A2AJJOSJ.js.map → chunk-U5HFZGAQ.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -1,16 +1,16 @@
1
- import { N as Node, A as Actor, a as NodeOptions, b as NodeActions, c as NodeFn } from './meta-BJEU8fYz.cjs';
2
- export { C as COMPLETE, D as DATA, d as DEFAULT_ACTOR, e as DIRTY, f as DescribeDetail, g as DescribeField, h as DescribeNodeOutput, E as ERROR, G as GuardAction, i as GuardDenied, j as GuardDeniedDetails, H as HashFn, I as INVALIDATE, M as Message, k as Messages, l as NodeDescribeKind, m as NodeGuard, n as NodeSink, o as NodeStatus, p as NodeTransportOptions, q as NodeVersionInfo, O as OnMessageHandler, P as PAUSE, r as PolicyAllow, s as PolicyDeny, t as PolicyRuleData, R as RESOLVED, u as RESUME, S as SubscribeHints, T as TEARDOWN, V as V0, v as V1, w as VersioningLevel, x as VersioningOptions, y as accessHintForGuard, z as advanceVersion, B as createVersioning, F as defaultHash, J as describeNode, K as isKnownMessageType, L as isPhase2Message, Q as isTerminalMessage, U as isV1, W as knownMessageTypes, X as messageTier, Y as metaSnapshot, Z as node, _ as normalizeActor, $ as policy, a0 as policyFromRules, a1 as propagatesToMeta, a2 as resolveDescribeFields } from './meta-BJEU8fYz.cjs';
3
- import { i as index$a, c as cqrs } from './index-BYa2YMat.cjs';
1
+ import { N as Node, A as Actor, a as NodeOptions, b as NodeActions, c as NodeFn } from './meta-BcuDhtwu.cjs';
2
+ export { C as CLEANUP_RESULT, d as COMPLETE, e as CleanupResult, D as DATA, f as DEFAULT_ACTOR, g as DIRTY, h as DescribeDetail, i as DescribeField, j as DescribeNodeOutput, E as ERROR, G as GuardAction, k as GuardDenied, l as GuardDeniedDetails, H as HashFn, I as INVALIDATE, M as Message, m as Messages, n as NodeDescribeKind, o as NodeGuard, p as NodeSink, q as NodeStatus, r as NodeTransportOptions, s as NodeVersionInfo, O as OnMessageHandler, P as PAUSE, t as PolicyAllow, u as PolicyDeny, v as PolicyRuleData, R as RESOLVED, w as RESUME, S as SubscribeHints, T as TEARDOWN, V as V0, x as V1, y as VersioningLevel, z as VersioningOptions, B as accessHintForGuard, F as advanceVersion, J as cleanupResult, K as createVersioning, L as defaultHash, Q as describeNode, U as isKnownMessageType, W as isPhase2Message, X as isTerminalMessage, Y as isV1, Z as knownMessageTypes, _ as messageTier, $ as metaSnapshot, a0 as node, a1 as normalizeActor, a2 as policy, a3 as policyFromRules, a4 as propagatesToMeta, a5 as resolveDescribeFields } from './meta-BcuDhtwu.cjs';
3
+ import { i as index$a, c as cqrs } from './index-aBZ2RoP0.cjs';
4
4
  import { Ref, WatchSource } from 'vue';
5
- import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-DqTICAY2.cjs';
6
- export { D as DescribeFilter, d as GRAPH_META_SEGMENT, e as GraphActorOptions, f as GraphCheckpointRecord, g as GraphDescribeOptions, h as GraphDescribeOutput, i as GraphDiagramDirection, j as GraphDiagramOptions, k as GraphDiffChange, l as GraphDiffResult, m as GraphDumpOptions, n as GraphFactoryContext, o as GraphNodeFactory, p as GraphObserveAll, q as GraphObserveOne, r as GraphPersistSnapshot, s as GraphSpyHandle, t as GraphSpyOptions, u as GraphSpyTheme, v as GraphSpyThemeName, O as ObserveDetail, w as ObserveEvent, x as ObserveOptions, y as ObserveResult, R as ReachableDirection, z as ReachableOptions, T as TraceEntry, B as reachable } from './graph-DqTICAY2.cjs';
7
- export { D as DynGet, a as DynamicNodeFn, b as DynamicNodeImpl, c as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, d as batch, i as core, e as derived, f as dynamicNode, g as effect, h as emitWithBatch, j as isBatching, m as monotonicNs, p as partitionForBatch, k as pipe, l as producer, s as state, w as wallClockNs } from './index-BYEgosAX.cjs';
8
- import { N as NodeInput, D as DistillBundle, E as Extraction, R as ReactiveListSnapshot, a as ReactiveMapSnapshot } from './index-BP1t_38S.cjs';
9
- export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, aK as ReactiveMapBundle, aL as ReactiveMapOptions, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c8 as extra, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as gate, cN as globToRegExp, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesAnyPattern, cU as matchesCron, cV as merge, cW as mergeMap, cX as nameToSignal, cY as never, cZ as of, c_ as pairwise, c$ as parseCron, d0 as parsePrometheusText, d1 as parseStatsD, d2 as parseSyslog, d3 as pausable, d4 as pubsub, d5 as race, d6 as rateLimiter, d7 as reactiveIndex, d8 as reactiveList, d9 as reactiveMap, da as reduce, db as repeat, dc as replay, dd as rescue, de as resolveBackoffPreset, df as restoreGraphCheckpoint, dg as restoreGraphCheckpointIndexedDb, dh as retry, di as sample, dj as saveGraphCheckpoint, dk as saveGraphCheckpointIndexedDb, dl as scan, dm as serializeError, dn as share, dp as shareReplay, dq as signalToName, dr as skip, ds as startWith, dt as switchMap, du as take, dv as takeUntil, dw as takeWhile, dx as tap, dy as throttle, dz as throttleTime, dA as throwError, dB as tieredStorage, dC as timeout, dD as toArray, dE as toCSV, dF as toClickHouse, dG as toFile, dH as toKafka, dI as toLoki, dJ as toMongo, dK as toNATS, dL as toPostgres, dM as toPulsar, dN as toRabbitMQ, dO as toRedisStream, dP as toS3, dQ as toSSE, dR as toSqlite, dS as toTempo, dT as toWebSocket, dU as tokenBucket, dV as tokenTracker, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from './index-BP1t_38S.cjs';
10
- export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, a as EvictionPolicy, G as GraphCodec, J as JsonCodec, L as LazyGraphCodec, W as WALEntry, c as createDagCborCodec, b as createDagCborZstdCodec, i as graph, n as negotiateCodec, r as replayWAL } from './index-DbwgQ4Cw.cjs';
11
- import { R as ReactiveLogSnapshot } from './reactive-log-BfX6bOSZ.cjs';
12
- export { a as ReactiveLogBundle, b as ReactiveLogOptions, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-BfX6bOSZ.cjs';
13
- import { M as MeasurementAdapter, i as index$b } from './index-3U0WxdD-.cjs';
5
+ import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-BE10ujU9.cjs';
6
+ export { D as DescribeFilter, d as GRAPH_META_SEGMENT, e as GraphActorOptions, f as GraphCheckpointRecord, g as GraphDescribeOptions, h as GraphDescribeOutput, i as GraphDiagramDirection, j as GraphDiagramOptions, k as GraphDiffChange, l as GraphDiffResult, m as GraphDumpOptions, n as GraphFactoryContext, o as GraphNodeFactory, p as GraphObserveAll, q as GraphObserveOne, r as GraphPersistSnapshot, s as GraphSpyHandle, t as GraphSpyOptions, u as GraphSpyTheme, v as GraphSpyThemeName, O as ObserveDetail, w as ObserveEvent, x as ObserveOptions, y as ObserveResult, R as ReachableDirection, z as ReachableOptions, T as TraceEntry, B as reachable } from './graph-BE10ujU9.cjs';
7
+ export { B as BridgeOptions, D as DEFAULT_DOWN, a as DynGet, b as DynamicNodeFn, c as DynamicNodeImpl, d as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, e as batch, f as bridge, i as core, g as derived, h as dynamicNode, j as effect, k as emitWithBatch, l as isBatching, m as monotonicNs, p as partitionForBatch, n as pipe, o as producer, s as state, w as wallClockNs } from './index-QfbXNW1N.cjs';
8
+ import { N as NodeInput, D as DistillBundle, E as Extraction, R as ReactiveListSnapshot, a as ReactiveMapSnapshot } from './index-DpZozxaJ.cjs';
9
+ export { A as AdapterHandlers, b as AsyncSourceOpts, B as BackoffPreset, c as BackoffStrategy, d as BatchMessage, e as BridgeMessage, f as BufferedSinkHandle, C as CSVRow, g as CacheEvictionPolicy, h as CacheTier, i as CascadingCache, j as CascadingCacheOptions, k as CheckpointAdapter, l as CheckpointToRedisOptions, m as CheckpointToS3Options, n as CircuitBreaker, o as CircuitBreakerOptions, p as CircuitOpenError, q as CircuitState, r as ClickHouseClientLike, s as ClickHouseInsertClientLike, t as ClickHouseRow, u as CronSchedule, v as DictCheckpointAdapter, w as DistillOptions, x as DrizzleQueryLike, y as ErrorMessage, z as EventTargetLike, F as ExponentialBackoffOptions, G as FSEvent, H as FSEventType, I as FileCheckpointAdapter, J as FileWriterLike, K as FromCSVOptions, L as FromClickHouseWatchOptions, M as FromCronOptions, O as FromDrizzleOptions, P as FromFSWatchOptions, Q as FromGitHookOptions, S as FromHTTPOptions, T as FromKafkaOptions, U as FromKyselyOptions, V as FromMCPOptions, W as FromNATSOptions, X as FromNDJSONOptions, Y as FromOTelOptions, Z as FromPrismaOptions, _ as FromPrometheusOptions, $ as FromPulsarOptions, a0 as FromRabbitMQOptions, a1 as FromRedisStreamOptions, a2 as FromSqliteOptions, a3 as FromStatsDOptions, a4 as FromSyslogOptions, a5 as GitEvent, a6 as GitHookType, a7 as HTTPBundle, a8 as IndexRow, a9 as IndexedDbCheckpointSpec, aa as InitMessage, ab as JitterMode, ac as KafkaConsumerLike, ad as KafkaMessage, ae as KafkaProducerLike, af as KyselyQueryLike, ag as LokiClientLike, ah as LokiStream, ai as MCPClientLike, aj as MemoryCheckpointAdapter, ak as MergeMapOptions, al as MongoCollectionLike, am as NATSClientLike, an as NATSMessage, ao as NATSSubscriptionLike, ap as NS_PER_MS, aq as NS_PER_SEC, ar as OTelBundle, as as OTelLog, at as OTelMetric, au as OTelRegister, av as OTelSpan, aw as PostgresClientLike, ax as PrismaModelLike, ay as PrometheusMetric, az as PubSubHub, aA as PulsarConsumerLike, aB as PulsarMessage, aC as PulsarProducerLike, aD as RabbitMQChannelLike, aE as RabbitMQMessage, aF as ReactiveIndexBundle, aG as ReactiveIndexOptions, aH as ReactiveIndexSnapshot, aI as ReactiveListBundle, aJ as ReactiveListOptions, aK as ReactiveMapBundle, aL as ReactiveMapOptions, aM as ReadyMessage, aN as RedisCheckpointClientLike, aO as RedisClientLike, aP as RedisStreamEntry, aQ as RetryOptions, aR as S3ClientLike, aS as SignalMessage, aT as SinkHandle, aU as SinkTransportError, aV as SqliteCheckpointAdapter, aW as SqliteDbLike, aX as StatsDMetric, aY as StatsDRegister, aZ as StatusValue, a_ as SyslogMessage, a$ as SyslogRegister, b0 as TapObserver, b1 as TempoClientLike, b2 as ThrottleOptions, b3 as TieredStorage, b4 as TieredStorageOptions, b5 as TimeoutError, b6 as ToCSVOptions, b7 as ToClickHouseOptions, b8 as ToFileOptions, b9 as ToKafkaOptions, ba as ToLokiOptions, bb as ToMongoOptions, bc as ToNATSOptions, bd as ToPostgresOptions, be as ToPulsarOptions, bf as ToRabbitMQOptions, bg as ToRedisStreamOptions, bh as ToS3Options, bi as ToSSEOptions, bj as ToSqliteOptions, bk as ToTempoOptions, bl as ToWebSocketOptions, bm as ToWebSocketTransportError, bn as TokenBucket, bo as ValueMessage, bp as VerifiableBundle, bq as VerifiableOptions, br as VerifyValue, bs as WatermarkController, bt as WatermarkOptions, bu as WebSocketLike, bv as WebSocketMessageEventLike, bw as WebSocketRegister, bx as WebhookRegister, by as WithBreakerBundle, bz as WithStatusBundle, bA as WorkerBridge, bB as WorkerBridgeOptions, bC as WorkerSelfHandle, bD as WorkerSelfOptions, bE as WorkerTransport, bF as audit, bG as buffer, bH as bufferCount, bI as bufferTime, bJ as cache, bK as cached, bL as cascadingCache, bM as catchError, bN as checkpointNodeValue, bO as checkpointToRedis, bP as checkpointToS3, bQ as circuitBreaker, bR as combine, bS as combineLatest, bT as concat, bU as concatMap, bV as constant, bW as createTransport, bX as createWatermarkController, bY as debounce, bZ as debounceTime, b_ as decorrelatedJitter, b$ as delay, c0 as deserializeError, c1 as distill, c2 as distinctUntilChanged, c3 as elementAt, c4 as empty, c5 as escapeRegexChar, c6 as exhaustMap, c7 as exponential, c8 as extra, c9 as fallback, ca as fibonacci, cb as filter, cc as find, cd as first, ce as firstValueFrom, cf as flatMap, cg as forEach, ch as fromAny, ci as fromAsyncIter, cj as fromCSV, ck as fromClickHouseWatch, cl as fromCron, cm as fromDrizzle, cn as fromEvent, co as fromFSWatch, cp as fromGitHook, cq as fromHTTP, cr as fromIDBRequest, cs as fromIDBTransaction, ct as fromIter, cu as fromKafka, cv as fromKysely, cw as fromMCP, cx as fromNATS, cy as fromNDJSON, cz as fromOTel, cA as fromPrisma, cB as fromPrometheus, cC as fromPromise, cD as fromPulsar, cE as fromRabbitMQ, cF as fromRedisStream, cG as fromSqlite, cH as fromStatsD, cI as fromSyslog, cJ as fromTimer, cK as fromWebSocket, cL as fromWebhook, cM as gate, cN as globToRegExp, cO as interval, cP as last, cQ as linear, cR as lru, cS as map, cT as matchesAnyPattern, cU as matchesCron, cV as merge, cW as mergeMap, cX as nameToSignal, cY as never, cZ as of, c_ as pairwise, c$ as parseCron, d0 as parsePrometheusText, d1 as parseStatsD, d2 as parseSyslog, d3 as pausable, d4 as pubsub, d5 as race, d6 as rateLimiter, d7 as reactiveIndex, d8 as reactiveList, d9 as reactiveMap, da as reduce, db as repeat, dc as replay, dd as rescue, de as resolveBackoffPreset, df as restoreGraphCheckpoint, dg as restoreGraphCheckpointIndexedDb, dh as retry, di as sample, dj as saveGraphCheckpoint, dk as saveGraphCheckpointIndexedDb, dl as scan, dm as serializeError, dn as share, dp as shareReplay, dq as signalToName, dr as skip, ds as startWith, dt as switchMap, du as take, dv as takeUntil, dw as takeWhile, dx as tap, dy as throttle, dz as throttleTime, dA as throwError, dB as tieredStorage, dC as timeout, dD as toArray, dE as toCSV, dF as toClickHouse, dG as toFile, dH as toKafka, dI as toLoki, dJ as toMongo, dK as toNATS, dL as toPostgres, dM as toPulsar, dN as toRabbitMQ, dO as toRedisStream, dP as toS3, dQ as toSSE, dR as toSqlite, dS as toTempo, dT as toWebSocket, dU as tokenBucket, dV as tokenTracker, dW as verifiable, dX as window, dY as windowCount, dZ as windowTime, d_ as withBreaker, d$ as withLatestFrom, e0 as withMaxAttempts, e1 as withStatus, e2 as workerBridge, e3 as workerSelf, e4 as zip } from './index-DpZozxaJ.cjs';
10
+ export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, a as EvictionPolicy, G as GraphCodec, J as JsonCodec, L as LazyGraphCodec, W as WALEntry, c as createDagCborCodec, b as createDagCborZstdCodec, i as graph, n as negotiateCodec, r as replayWAL } from './index-nRulwTr-.cjs';
11
+ import { R as ReactiveLogSnapshot } from './reactive-log-OULQssZg.cjs';
12
+ export { a as ReactiveLogBundle, b as ReactiveLogOptions, l as logSlice, o as observeGraph$, c as observeNode$, r as reactiveLog, t as toMessages$, d as toObservable } from './reactive-log-OULQssZg.cjs';
13
+ import { M as MeasurementAdapter, i as index$b } from './index-CCvzN5GB.cjs';
14
14
  import '@nestjs/common';
15
15
  import '@nestjs/core';
16
16
  import 'rxjs';
@@ -1329,6 +1329,233 @@ declare namespace demoShell$1 {
1329
1329
  export { type demoShell$1_DemoShellHandle as DemoShellHandle, type demoShell$1_DemoShellOptions as DemoShellOptions, type demoShell$1_FullscreenPane as FullscreenPane, type demoShell$1_GraphLabelSize as GraphLabelSize, type demoShell$1_HighlightCallbacks as HighlightCallbacks, type demoShell$1_HoverPaneType as HoverPaneType, type demoShell$1_HoverTarget as HoverTarget, type demoShell$1_NodeRegistry as NodeRegistry, demoShell$1_demoShell as demoShell };
1330
1330
  }
1331
1331
 
1332
+ /**
1333
+ * Domain templates (roadmap §8.2).
1334
+ *
1335
+ * Opinionated Graph factories for common "info → action" domains.
1336
+ * Each template wires up §8.1 reduction primitives (stratify, funnel, feedback,
1337
+ * budgetGate, scorer) with domain-specific stages. Users fork/extend by
1338
+ * accessing named nodes and swapping stages.
1339
+ *
1340
+ * **Source injection (option B):** templates accept a `source` node, not a
1341
+ * hardcoded adapter. Pass `fromOTel(...)`, `fromGitHook(...)`, or a test
1342
+ * `state()` — the topology is the same.
1343
+ *
1344
+ * @module
1345
+ */
1346
+
1347
+ /** Stratification branch config for observability signals. */
1348
+ type ObservabilityBranch = {
1349
+ name: string;
1350
+ classify: (value: unknown) => boolean;
1351
+ };
1352
+ /** Options for {@link observabilityGraph}. */
1353
+ type ObservabilityGraphOptions = GraphOptions & {
1354
+ /** Ingested signal source (e.g. fromOTel(...) or test state). */
1355
+ source: Node<unknown>;
1356
+ /**
1357
+ * Classification rules for signal stratification.
1358
+ * Default: errors / traces / metrics branches.
1359
+ */
1360
+ branches?: ObservabilityBranch[];
1361
+ /**
1362
+ * Correlation function: receives stratified branch values and produces
1363
+ * correlated insights. Default: identity pass-through.
1364
+ */
1365
+ correlate?: (values: unknown[]) => unknown;
1366
+ /**
1367
+ * SLO verification function: returns a verification result for a
1368
+ * correlated insight. Default: always passes.
1369
+ */
1370
+ sloCheck?: (value: unknown) => unknown;
1371
+ /**
1372
+ * Scorer weights for alert prioritization. One per branch.
1373
+ * Default: equal weights [1, 1, 1].
1374
+ */
1375
+ weights?: number[];
1376
+ /** Max feedback iterations for false-positive learning. Default: 5. */
1377
+ maxFeedbackIterations?: number;
1378
+ };
1379
+ /**
1380
+ * OTel ingest → stratified reduction → correlation → SLO verification →
1381
+ * alert prioritization → output.
1382
+ *
1383
+ * Well-known node names:
1384
+ * - `"source"` — injected signal source
1385
+ * - `"stratify::branch/<name>"` — per-branch classification
1386
+ * - `"correlate"` — cross-branch correlation
1387
+ * - `"slo_value"`, `"slo_verified"` — SLO verification pair
1388
+ * - `"alerts"` — scored, prioritized output
1389
+ * - `"output"` — final output (alias for alerts)
1390
+ *
1391
+ * @category patterns
1392
+ */
1393
+ declare function observabilityGraph(name: string, opts: ObservabilityGraphOptions): Graph;
1394
+ /** A structured issue extracted from raw findings. */
1395
+ type ExtractedIssue = {
1396
+ id: string;
1397
+ title: string;
1398
+ severity: number;
1399
+ source: string;
1400
+ raw: unknown;
1401
+ };
1402
+ /** Options for {@link issueTrackerGraph}. */
1403
+ type IssueTrackerGraphOptions = GraphOptions & {
1404
+ /** Findings source (e.g. fromGitHook(...), fromFSWatch(...)). */
1405
+ source: Node<unknown>;
1406
+ /**
1407
+ * Extract structured issues from raw findings.
1408
+ * Default: wraps raw value as a single issue.
1409
+ */
1410
+ extract?: (raw: unknown) => ExtractedIssue;
1411
+ /**
1412
+ * Verify an extracted issue (assertion check).
1413
+ * Default: always valid.
1414
+ */
1415
+ verify?: (issue: ExtractedIssue) => unknown;
1416
+ /**
1417
+ * Detect regression by comparing against known patterns.
1418
+ * Receives (current issue, known patterns).
1419
+ * Default: no regression detected.
1420
+ */
1421
+ detectRegression?: (issue: ExtractedIssue, known: unknown) => unknown;
1422
+ /** Max feedback iterations for re-scanning. Default: 3. */
1423
+ maxFeedbackIterations?: number;
1424
+ };
1425
+ /**
1426
+ * Findings ingest → extraction → verification → regression detection →
1427
+ * distillation → prioritized queue.
1428
+ *
1429
+ * Well-known node names:
1430
+ * - `"source"` — injected findings source
1431
+ * - `"extract"` — structured issue extraction
1432
+ * - `"verify"` — issue verification
1433
+ * - `"known_patterns"` — accumulated known issue patterns (state)
1434
+ * - `"regression"` — regression detection
1435
+ * - `"priority"` — severity-based prioritization
1436
+ * - `"output"` — final prioritized output
1437
+ *
1438
+ * @category patterns
1439
+ */
1440
+ declare function issueTrackerGraph(name: string, opts: IssueTrackerGraphOptions): Graph;
1441
+ /** Classification result from LLM moderation. */
1442
+ type ModerationResult = {
1443
+ label: "safe" | "review" | "block";
1444
+ confidence: number;
1445
+ reason?: string;
1446
+ original: unknown;
1447
+ };
1448
+ /** Options for {@link contentModerationGraph}. */
1449
+ type ContentModerationGraphOptions = GraphOptions & {
1450
+ /** Content source (text/multimedia ingest). */
1451
+ source: Node<unknown>;
1452
+ /**
1453
+ * Classification function: returns a ModerationResult.
1454
+ * Default: labels everything "review" with confidence 0.5.
1455
+ */
1456
+ classify?: (content: unknown) => ModerationResult;
1457
+ /** System prompt for LLM classification. */
1458
+ systemPrompt?: string;
1459
+ /** Scorer weights: [safe, review, block]. Default: [0.1, 1, 2]. */
1460
+ weights?: [number, number, number];
1461
+ /** Max feedback iterations for policy refinement. Default: 5. */
1462
+ maxFeedbackIterations?: number;
1463
+ /** Max review queue size. When set, oldest entries are trimmed on overflow. */
1464
+ maxQueueSize?: number;
1465
+ };
1466
+ /**
1467
+ * Content ingest → LLM/rule classification → stratified routing (safe/review/block) →
1468
+ * human review queue → scorer → feedback (false positives → policy refinement) → output.
1469
+ *
1470
+ * Well-known node names:
1471
+ * - `"source"` — content ingest
1472
+ * - `"classify"` — LLM or rule-based classification
1473
+ * - `"stratify::branch/safe"`, `"stratify::branch/review"`, `"stratify::branch/block"` — routed branches
1474
+ * - `"review_queue"` — state node for human review items
1475
+ * - `"priority"` — scored priority output
1476
+ * - `"policy"` — writable state for policy refinement
1477
+ * - `"output"` — final moderation output
1478
+ *
1479
+ * @category patterns
1480
+ */
1481
+ declare function contentModerationGraph(name: string, opts: ContentModerationGraphOptions): Graph;
1482
+ /** Schema validation result. */
1483
+ type ValidationResult = {
1484
+ valid: boolean;
1485
+ errors: string[];
1486
+ record: unknown;
1487
+ };
1488
+ /** Anomaly detection result. */
1489
+ type AnomalyResult = {
1490
+ anomaly: boolean;
1491
+ score: number;
1492
+ detail?: string;
1493
+ record: unknown;
1494
+ };
1495
+ /** Options for {@link dataQualityGraph}. */
1496
+ type DataQualityGraphOptions = GraphOptions & {
1497
+ /** Data source (e.g. fromPrisma(...), fromKysely(...)). */
1498
+ source: Node<unknown>;
1499
+ /**
1500
+ * Schema validation function.
1501
+ * Default: always valid.
1502
+ */
1503
+ validate?: (record: unknown) => ValidationResult;
1504
+ /**
1505
+ * Anomaly detection function.
1506
+ * Default: no anomaly.
1507
+ */
1508
+ detectAnomaly?: (record: unknown) => AnomalyResult;
1509
+ /**
1510
+ * Drift detection: compares current record against baseline.
1511
+ * Default: no drift.
1512
+ */
1513
+ detectDrift?: (record: unknown, baseline: unknown) => unknown;
1514
+ /**
1515
+ * Remediation suggestion function.
1516
+ * Default: no suggestion.
1517
+ */
1518
+ suggest?: (result: {
1519
+ validation: ValidationResult;
1520
+ anomaly: AnomalyResult;
1521
+ }) => unknown;
1522
+ /** Max feedback iterations for rule refinement. Default: 3. */
1523
+ maxFeedbackIterations?: number;
1524
+ };
1525
+ /**
1526
+ * Data ingest → schema validation → anomaly detection → drift alerting →
1527
+ * auto-remediation suggestions → output.
1528
+ *
1529
+ * Well-known node names:
1530
+ * - `"source"` — data ingest
1531
+ * - `"validate"` — schema validation
1532
+ * - `"anomaly"` — anomaly detection
1533
+ * - `"baseline"` — rolling baseline state
1534
+ * - `"drift"` — drift detection
1535
+ * - `"remediate"` — auto-remediation suggestions
1536
+ * - `"output"` — combined quality report
1537
+ *
1538
+ * @category patterns
1539
+ */
1540
+ declare function dataQualityGraph(name: string, opts: DataQualityGraphOptions): Graph;
1541
+
1542
+ type domainTemplates_AnomalyResult = AnomalyResult;
1543
+ type domainTemplates_ContentModerationGraphOptions = ContentModerationGraphOptions;
1544
+ type domainTemplates_DataQualityGraphOptions = DataQualityGraphOptions;
1545
+ type domainTemplates_ExtractedIssue = ExtractedIssue;
1546
+ type domainTemplates_IssueTrackerGraphOptions = IssueTrackerGraphOptions;
1547
+ type domainTemplates_ModerationResult = ModerationResult;
1548
+ type domainTemplates_ObservabilityBranch = ObservabilityBranch;
1549
+ type domainTemplates_ObservabilityGraphOptions = ObservabilityGraphOptions;
1550
+ type domainTemplates_ValidationResult = ValidationResult;
1551
+ declare const domainTemplates_contentModerationGraph: typeof contentModerationGraph;
1552
+ declare const domainTemplates_dataQualityGraph: typeof dataQualityGraph;
1553
+ declare const domainTemplates_issueTrackerGraph: typeof issueTrackerGraph;
1554
+ declare const domainTemplates_observabilityGraph: typeof observabilityGraph;
1555
+ declare namespace domainTemplates {
1556
+ export { type domainTemplates_AnomalyResult as AnomalyResult, type domainTemplates_ContentModerationGraphOptions as ContentModerationGraphOptions, type domainTemplates_DataQualityGraphOptions as DataQualityGraphOptions, type domainTemplates_ExtractedIssue as ExtractedIssue, type domainTemplates_IssueTrackerGraphOptions as IssueTrackerGraphOptions, type domainTemplates_ModerationResult as ModerationResult, type domainTemplates_ObservabilityBranch as ObservabilityBranch, type domainTemplates_ObservabilityGraphOptions as ObservabilityGraphOptions, type domainTemplates_ValidationResult as ValidationResult, domainTemplates_contentModerationGraph as contentModerationGraph, domainTemplates_dataQualityGraph as dataQualityGraph, domainTemplates_issueTrackerGraph as issueTrackerGraph, domainTemplates_observabilityGraph as observabilityGraph };
1557
+ }
1558
+
1332
1559
  /**
1333
1560
  * LLM graph composition (roadmap §8.3).
1334
1561
  *
@@ -1404,11 +1631,88 @@ type FnFactory = (deps: Node<unknown>[], config: Record<string, unknown>) => Nod
1404
1631
  * Receives the config from the spec.
1405
1632
  */
1406
1633
  type SourceFactory = (config: Record<string, unknown>) => Node<unknown>;
1407
- /** Fn/source lookup table passed to compileSpec. */
1634
+ /** Simple config field descriptor for LLM prompt generation and validation. */
1635
+ type ConfigFieldSchema = {
1636
+ /** Human-readable type: "string", "number", "boolean", "string[]", etc. */
1637
+ type: string;
1638
+ /** Whether this field is required (default: true). */
1639
+ required?: boolean;
1640
+ /** Allowed values (enum constraint). */
1641
+ enum?: readonly (string | number | boolean)[];
1642
+ /** Human-readable description for LLM context. */
1643
+ description?: string;
1644
+ /** Default value if omitted. */
1645
+ default?: unknown;
1646
+ };
1647
+ /**
1648
+ * Rich catalog entry: bundles a runtime factory with LLM-facing metadata.
1649
+ *
1650
+ * The metadata is used to:
1651
+ * 1. Auto-generate prompt text for {@link llmCompose} (replaces manual `catalogDescription`)
1652
+ * 2. Validate LLM output in {@link validateSpec} (catch wrong fn names, invalid config)
1653
+ * 3. Provide actionable error messages for {@link llmRefine} feedback loops
1654
+ *
1655
+ * Developers register ONE object; the library handles prompt generation and validation.
1656
+ */
1657
+ type CatalogFnEntry = {
1658
+ /** Runtime factory. */
1659
+ factory: FnFactory;
1660
+ /** One-line description for LLM prompt (what it does, not how). */
1661
+ description: string;
1662
+ /** Config field schemas. Keys are config field names. */
1663
+ configSchema?: Record<string, ConfigFieldSchema>;
1664
+ /** Example config objects (shown in prompt for complex fns). */
1665
+ examples?: Record<string, unknown>[];
1666
+ /** Category tags for grouping in prompt (e.g., "resilience", "reduction", "ai"). */
1667
+ tags?: string[];
1668
+ };
1669
+ /** Rich catalog entry for producer sources. */
1670
+ type CatalogSourceEntry = {
1671
+ /** Runtime factory. */
1672
+ factory: SourceFactory;
1673
+ /** One-line description for LLM prompt. */
1674
+ description: string;
1675
+ /** Config field schemas. */
1676
+ configSchema?: Record<string, ConfigFieldSchema>;
1677
+ /** Example config objects. */
1678
+ examples?: Record<string, unknown>[];
1679
+ /** Category tags. */
1680
+ tags?: string[];
1681
+ };
1682
+ /**
1683
+ * Fn/source lookup table passed to compileSpec and llmCompose.
1684
+ *
1685
+ * Accepts both bare factories (backward-compatible) and rich {@link CatalogFnEntry}
1686
+ * / {@link CatalogSourceEntry} objects. When rich entries are provided, the library
1687
+ * auto-generates LLM prompts and validates LLM output against the catalog.
1688
+ */
1408
1689
  type GraphSpecCatalog = {
1409
- fns?: Record<string, FnFactory>;
1410
- sources?: Record<string, SourceFactory>;
1690
+ fns?: Record<string, FnFactory | CatalogFnEntry>;
1691
+ sources?: Record<string, SourceFactory | CatalogSourceEntry>;
1411
1692
  };
1693
+ /** Type guard: is this a rich catalog fn entry (vs bare factory)? */
1694
+ declare function isRichFnEntry(entry: FnFactory | CatalogFnEntry): entry is CatalogFnEntry;
1695
+ /** Type guard: is this a rich catalog source entry (vs bare factory)? */
1696
+ declare function isRichSourceEntry(entry: SourceFactory | CatalogSourceEntry): entry is CatalogSourceEntry;
1697
+ /** Extract the runtime factory from a catalog entry (rich or bare). */
1698
+ declare function extractFnFactory(entry: FnFactory | CatalogFnEntry): FnFactory;
1699
+ /** Extract the runtime factory from a catalog source entry (rich or bare). */
1700
+ declare function extractSourceFactory(entry: SourceFactory | CatalogSourceEntry): SourceFactory;
1701
+ /**
1702
+ * Auto-generate catalog prompt text from rich catalog entries.
1703
+ *
1704
+ * Groups fns by tag, formats each as `- name: description. Config: { ... }`.
1705
+ * Falls back to listing names only for bare factories.
1706
+ */
1707
+ declare function generateCatalogPrompt(catalog: GraphSpecCatalog): string;
1708
+ /**
1709
+ * Validate a GraphSpec against a catalog.
1710
+ *
1711
+ * Checks that fn/source names reference actual catalog entries, and validates
1712
+ * config fields against configSchema when rich entries are available.
1713
+ * Returns additional errors beyond structural {@link validateSpec} checks.
1714
+ */
1715
+ declare function validateSpecAgainstCatalog(spec: GraphSpec, catalog: GraphSpecCatalog): GraphSpecValidation;
1412
1716
  /** Validation result from {@link validateSpec}. */
1413
1717
  type GraphSpecValidation = {
1414
1718
  valid: boolean;
@@ -1485,8 +1789,24 @@ type LLMComposeOptions = {
1485
1789
  maxTokens?: number;
1486
1790
  /** Extra instructions appended to the system prompt. */
1487
1791
  systemPromptExtra?: string;
1488
- /** Available fn/source catalog names for the LLM to reference. */
1792
+ /**
1793
+ * Available fn/source catalog names for the LLM to reference.
1794
+ * When omitted and `catalog` contains rich {@link CatalogFnEntry} entries,
1795
+ * the prompt is auto-generated via {@link generateCatalogPrompt}.
1796
+ */
1489
1797
  catalogDescription?: string;
1798
+ /**
1799
+ * Catalog for auto-prompt generation and catalog-aware validation.
1800
+ * When rich entries are provided, the catalog prompt is auto-generated
1801
+ * and LLM output is validated against fn/source names and config schemas.
1802
+ */
1803
+ catalog?: GraphSpecCatalog;
1804
+ /**
1805
+ * Max auto-refine attempts when the LLM output fails catalog validation.
1806
+ * Each attempt feeds the validation errors back to the LLM via llmRefine.
1807
+ * Default: 0 (no auto-refine). Set to 2-3 for production use.
1808
+ */
1809
+ maxAutoRefine?: number;
1490
1810
  };
1491
1811
  /**
1492
1812
  * Ask an LLM to compose a GraphSpec from a natural-language problem description.
@@ -1519,7 +1839,10 @@ type LLMRefineOptions = LLMComposeOptions;
1519
1839
  */
1520
1840
  declare function llmRefine(currentSpec: GraphSpec, feedback: string, adapter: LLMAdapter, opts?: LLMRefineOptions): Promise<GraphSpec>;
1521
1841
 
1842
+ type graphspec_CatalogFnEntry = CatalogFnEntry;
1843
+ type graphspec_CatalogSourceEntry = CatalogSourceEntry;
1522
1844
  type graphspec_CompileSpecOptions = CompileSpecOptions;
1845
+ type graphspec_ConfigFieldSchema = ConfigFieldSchema;
1523
1846
  type graphspec_FnFactory = FnFactory;
1524
1847
  type graphspec_GraphSpec = GraphSpec;
1525
1848
  type graphspec_GraphSpecCatalog = GraphSpecCatalog;
@@ -1535,12 +1858,18 @@ type graphspec_SpecDiffEntry = SpecDiffEntry;
1535
1858
  type graphspec_SpecDiffResult = SpecDiffResult;
1536
1859
  declare const graphspec_compileSpec: typeof compileSpec;
1537
1860
  declare const graphspec_decompileGraph: typeof decompileGraph;
1861
+ declare const graphspec_extractFnFactory: typeof extractFnFactory;
1862
+ declare const graphspec_extractSourceFactory: typeof extractSourceFactory;
1863
+ declare const graphspec_generateCatalogPrompt: typeof generateCatalogPrompt;
1864
+ declare const graphspec_isRichFnEntry: typeof isRichFnEntry;
1865
+ declare const graphspec_isRichSourceEntry: typeof isRichSourceEntry;
1538
1866
  declare const graphspec_llmCompose: typeof llmCompose;
1539
1867
  declare const graphspec_llmRefine: typeof llmRefine;
1540
1868
  declare const graphspec_specDiff: typeof specDiff;
1541
1869
  declare const graphspec_validateSpec: typeof validateSpec;
1870
+ declare const graphspec_validateSpecAgainstCatalog: typeof validateSpecAgainstCatalog;
1542
1871
  declare namespace graphspec {
1543
- export { type graphspec_CompileSpecOptions as CompileSpecOptions, type graphspec_FnFactory as FnFactory, type graphspec_GraphSpec as GraphSpec, type graphspec_GraphSpecCatalog as GraphSpecCatalog, type graphspec_GraphSpecFeedbackEdge as GraphSpecFeedbackEdge, type graphspec_GraphSpecNode as GraphSpecNode, type graphspec_GraphSpecTemplate as GraphSpecTemplate, type graphspec_GraphSpecTemplateRef as GraphSpecTemplateRef, type graphspec_GraphSpecValidation as GraphSpecValidation, type graphspec_LLMComposeOptions as LLMComposeOptions, type graphspec_LLMRefineOptions as LLMRefineOptions, type graphspec_SourceFactory as SourceFactory, type graphspec_SpecDiffEntry as SpecDiffEntry, type graphspec_SpecDiffResult as SpecDiffResult, graphspec_compileSpec as compileSpec, graphspec_decompileGraph as decompileGraph, graphspec_llmCompose as llmCompose, graphspec_llmRefine as llmRefine, graphspec_specDiff as specDiff, graphspec_validateSpec as validateSpec };
1872
+ export { type graphspec_CatalogFnEntry as CatalogFnEntry, type graphspec_CatalogSourceEntry as CatalogSourceEntry, type graphspec_CompileSpecOptions as CompileSpecOptions, type graphspec_ConfigFieldSchema as ConfigFieldSchema, type graphspec_FnFactory as FnFactory, type graphspec_GraphSpec as GraphSpec, type graphspec_GraphSpecCatalog as GraphSpecCatalog, type graphspec_GraphSpecFeedbackEdge as GraphSpecFeedbackEdge, type graphspec_GraphSpecNode as GraphSpecNode, type graphspec_GraphSpecTemplate as GraphSpecTemplate, type graphspec_GraphSpecTemplateRef as GraphSpecTemplateRef, type graphspec_GraphSpecValidation as GraphSpecValidation, type graphspec_LLMComposeOptions as LLMComposeOptions, type graphspec_LLMRefineOptions as LLMRefineOptions, type graphspec_SourceFactory as SourceFactory, type graphspec_SpecDiffEntry as SpecDiffEntry, type graphspec_SpecDiffResult as SpecDiffResult, graphspec_compileSpec as compileSpec, graphspec_decompileGraph as decompileGraph, graphspec_extractFnFactory as extractFnFactory, graphspec_extractSourceFactory as extractSourceFactory, graphspec_generateCatalogPrompt as generateCatalogPrompt, graphspec_isRichFnEntry as isRichFnEntry, graphspec_isRichSourceEntry as isRichSourceEntry, graphspec_llmCompose as llmCompose, graphspec_llmRefine as llmRefine, graphspec_specDiff as specDiff, graphspec_validateSpec as validateSpec, graphspec_validateSpecAgainstCatalog as validateSpecAgainstCatalog };
1544
1873
  }
1545
1874
 
1546
1875
  /**
@@ -1988,13 +2317,14 @@ declare namespace reduction {
1988
2317
 
1989
2318
  declare const index_ai: typeof ai;
1990
2319
  declare const index_cqrs: typeof cqrs;
2320
+ declare const index_domainTemplates: typeof domainTemplates;
1991
2321
  declare const index_graphspec: typeof graphspec;
1992
2322
  declare const index_memory: typeof memory;
1993
2323
  declare const index_messaging: typeof messaging;
1994
2324
  declare const index_orchestration: typeof orchestration;
1995
2325
  declare const index_reduction: typeof reduction;
1996
2326
  declare namespace index {
1997
- export { index_ai as ai, index_cqrs as cqrs, demoShell$1 as demoShell, index_graphspec as graphspec, index$b as layout, index_memory as memory, index_messaging as messaging, index_orchestration as orchestration, index_reduction as reduction };
2327
+ export { index_ai as ai, index_cqrs as cqrs, demoShell$1 as demoShell, index_domainTemplates as domainTemplates, index_graphspec as graphspec, index$b as layout, index_memory as memory, index_messaging as messaging, index_orchestration as orchestration, index_reduction as reduction };
1998
2328
  }
1999
2329
 
2000
2330
  /**
@@ -2002,4 +2332,4 @@ declare namespace index {
2002
2332
  */
2003
2333
  declare const version = "0.0.0";
2004
2334
 
2005
- export { Actor, AutoCheckpointAdapter, DistillBundle, Extraction, Graph, GraphAutoCheckpointHandle, GraphAutoCheckpointOptions, GraphOptions, Node, NodeActions, NodeFn, NodeInput, NodeOptions, ReactiveListSnapshot, ReactiveLogSnapshot, ReactiveMapSnapshot, ai, index$1 as compat, cqrs, demoShell$1 as demoShell, graphspec, index$9 as jotai, index$b as layout, memory, messaging, index$8 as nanostores, index$a as nestjs, orchestration, index as patterns, index$7 as react, reduction, index$6 as signals, index$5 as solid, index$4 as svelte, version, index$3 as vue, index$2 as zustand };
2335
+ export { Actor, AutoCheckpointAdapter, DistillBundle, Extraction, Graph, GraphAutoCheckpointHandle, GraphAutoCheckpointOptions, GraphOptions, Node, NodeActions, NodeFn, NodeInput, NodeOptions, ReactiveListSnapshot, ReactiveLogSnapshot, ReactiveMapSnapshot, ai, index$1 as compat, cqrs, demoShell$1 as demoShell, domainTemplates, graphspec, index$9 as jotai, index$b as layout, memory, messaging, index$8 as nanostores, index$a as nestjs, orchestration, index as patterns, index$7 as react, reduction, index$6 as signals, index$5 as solid, index$4 as svelte, version, index$3 as vue, index$2 as zustand };