@graphrefly/graphrefly 0.17.0 → 0.18.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/{chunk-2PORF4RP.js → chunk-76YPZQTW.js} +2 -8
- package/dist/{chunk-2PORF4RP.js.map → chunk-76YPZQTW.js.map} +1 -1
- package/dist/{chunk-646OG3PO.js → chunk-F6ORUNO7.js} +18 -51
- package/dist/chunk-F6ORUNO7.js.map +1 -0
- package/dist/{chunk-EBNKJULL.js → chunk-FCLROC4Q.js} +2 -2
- package/dist/chunk-FCLROC4Q.js.map +1 -0
- package/dist/{chunk-F2ULI3Q3.js → chunk-J7S54G7I.js} +1 -2
- package/dist/{chunk-XJ6EMQ22.js → chunk-KJGUP35I.js} +3 -9
- package/dist/chunk-KJGUP35I.js.map +1 -0
- package/dist/{chunk-IHJHBADD.js → chunk-LB3RYLSC.js} +206 -173
- package/dist/chunk-LB3RYLSC.js.map +1 -0
- package/dist/{chunk-R6OHUUYB.js → chunk-TNKODJ6E.js} +2 -6
- package/dist/chunk-TNKODJ6E.js.map +1 -0
- package/dist/{chunk-YXROQFXZ.js → chunk-UVWEKTYC.js} +2 -2
- package/dist/compat/nestjs/index.cjs +221 -224
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +4 -4
- package/dist/compat/nestjs/index.d.ts +4 -4
- package/dist/compat/nestjs/index.js +6 -12
- package/dist/core/index.cjs +0 -83
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -6
- package/dist/extra/index.cjs +17 -53
- package/dist/extra/index.cjs.map +1 -1
- package/dist/extra/index.d.cts +4 -4
- package/dist/extra/index.d.ts +4 -4
- package/dist/extra/index.js +2 -8
- package/dist/graph/index.cjs +204 -171
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +3 -3
- package/dist/graph/index.d.ts +3 -3
- package/dist/graph/index.js +3 -3
- package/dist/{graph-Dc-P9BVm.d.ts → graph-BYFlyNpX.d.cts} +47 -45
- package/dist/{graph-fCsaaVIa.d.cts → graph-gISB9n3n.d.ts} +47 -45
- package/dist/{index-N704txAA.d.ts → index-7WnwgjMu.d.ts} +5 -7
- package/dist/{index-DWq0P9T6.d.ts → index-B43mC7uY.d.cts} +5 -7
- package/dist/{index-BmoUvOGN.d.ts → index-B80mMeuf.d.ts} +2 -4
- package/dist/{index-DlGMf_Qe.d.cts → index-BqOWSFhr.d.cts} +2 -2
- package/dist/{index-BBVBYPxr.d.cts → index-CEDaJaYE.d.ts} +5 -7
- package/dist/{index-DhXznWyH.d.ts → index-CgKPpiu8.d.ts} +2 -2
- package/dist/{index-D7y9Q8W4.d.ts → index-Ci_vPaVm.d.cts} +4 -6
- package/dist/{index-4OIX-q0C.d.cts → index-DKaB2x0T.d.ts} +4 -6
- package/dist/{index-ClaKZFPl.d.cts → index-D_tUMcpz.d.cts} +5 -7
- package/dist/{index-YlOH1Gw6.d.cts → index-EmzYk-TG.d.cts} +2 -4
- package/dist/index.cjs +312 -239
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +51 -13
- package/dist/index.d.ts +51 -13
- package/dist/index.js +103 -24
- package/dist/index.js.map +1 -1
- package/dist/{meta-BV4pj9ML.d.cts → meta-npl5b97j.d.cts} +1 -53
- package/dist/{meta-BV4pj9ML.d.ts → meta-npl5b97j.d.ts} +1 -53
- package/dist/observable-DFBCBELR.d.cts +36 -0
- package/dist/observable-oAGygKvc.d.ts +36 -0
- package/dist/patterns/reactive-layout/index.cjs +204 -171
- package/dist/patterns/reactive-layout/index.cjs.map +1 -1
- package/dist/patterns/reactive-layout/index.d.cts +3 -3
- package/dist/patterns/reactive-layout/index.d.ts +3 -3
- package/dist/patterns/reactive-layout/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-646OG3PO.js.map +0 -1
- package/dist/chunk-EBNKJULL.js.map +0 -1
- package/dist/chunk-IHJHBADD.js.map +0 -1
- package/dist/chunk-R6OHUUYB.js.map +0 -1
- package/dist/chunk-XJ6EMQ22.js.map +0 -1
- package/dist/observable-Cz-AWhwR.d.cts +0 -42
- package/dist/observable-DCqlwGyl.d.ts +0 -42
- /package/dist/{chunk-F2ULI3Q3.js.map → chunk-J7S54G7I.js.map} +0 -0
- /package/dist/{chunk-YXROQFXZ.js.map → chunk-UVWEKTYC.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-
|
|
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
|
|
3
|
-
import { i as index$b, c as cqrs } from './index-
|
|
1
|
+
import { N as Node, A as Actor, a as NodeOptions, b as NodeActions, c as NodeFn } from './meta-npl5b97j.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 isKnownMessageType, U as isPhase2Message, W as isTerminalMessage, X as isV1, Y as knownMessageTypes, Z as messageTier, _ as node, $ as normalizeActor, a0 as policy, a1 as policyFromRules, a2 as propagatesToMeta, a3 as resolveDescribeFields } from './meta-npl5b97j.cjs';
|
|
3
|
+
import { i as index$b, c as cqrs } from './index-B43mC7uY.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-
|
|
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,
|
|
7
|
-
export { B as BridgeOptions, D as DEFAULT_DOWN, a as DownStrategy, b as DynGet, c as DynamicNodeFn, d as DynamicNodeImpl, e as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, f as batch, g as bridge, i as core, h as derived, j as downWithBatch, k as dynamicNode, l as effect, m as isBatching, n as monotonicNs, p as partitionForBatch, o as pipe, q as producer, s as state, w as wallClockNs } from './index-
|
|
8
|
-
import { N as NodeInput, D as DistillBundle, E as Extraction } from './index-
|
|
9
|
-
export { A as AdapterHandlers, a as AsyncSourceOpts, B as BackoffPreset, b as BackoffStrategy, c as BatchMessage, d as BridgeMessage, e as BufferedSinkHandle, C as CSVRow, f as CacheEvictionPolicy, g as CacheTier, h as CascadingCache, i as CascadingCacheOptions, j as CheckpointAdapter, k as CheckpointToRedisOptions, l as CheckpointToS3Options, m as CircuitBreaker, n as CircuitBreakerOptions, o as CircuitOpenError, p as CircuitState, q as ClickHouseClientLike, r as ClickHouseInsertClientLike, s as ClickHouseRow, t as CronSchedule, u as DictCheckpointAdapter, v as DistillOptions, w as DrizzleQueryLike, x as ErrorMessage, y as EventTargetLike, z as ExponentialBackoffOptions, F as FSEvent, G as FSEventType, H as FileCheckpointAdapter, I as FileWriterLike, J as FromCSVOptions, K as FromClickHouseWatchOptions, L as FromCronOptions, M as FromDrizzleOptions, O as FromFSWatchOptions, P as FromGitHookOptions, Q as FromHTTPOptions, R as FromKafkaOptions, S as FromKyselyOptions, T as FromMCPOptions, U as FromNATSOptions, V as FromNDJSONOptions, W as FromOTelOptions, X as FromPrismaOptions, Y as FromPrometheusOptions, Z as FromPulsarOptions, _ as FromRabbitMQOptions, $ as FromRedisStreamOptions, a0 as FromSqliteOptions, a1 as FromStatsDOptions, a2 as FromSyslogOptions, a3 as GitEvent, a4 as GitHookType, a5 as HTTPBundle, a6 as IndexRow, a7 as IndexedDbCheckpointSpec, a8 as InitMessage, a9 as JitterMode, aa as KafkaConsumerLike, ab as KafkaMessage, ac as KafkaProducerLike, ad as KyselyQueryLike, ae as LokiClientLike, af as LokiStream, ag as MCPClientLike, ah as MemoryCheckpointAdapter, ai as MergeMapOptions, aj as MongoCollectionLike, ak as NATSClientLike, al as NATSMessage, am as NATSSubscriptionLike, an as NS_PER_MS, ao as NS_PER_SEC, ap as OTelBundle, aq as OTelLog, ar as OTelMetric, as as OTelRegister, at as OTelSpan, au as PostgresClientLike, av as PrismaModelLike, aw as PrometheusMetric, ax as PubSubHub, ay as PulsarConsumerLike, az as PulsarMessage, aA as PulsarProducerLike, aB as RabbitMQChannelLike, aC as RabbitMQMessage, aD as ReactiveIndexBundle, aE as ReactiveIndexOptions, aF as ReactiveListBundle, aG as ReactiveListOptions, aH as ReactiveLogBundle, aI as ReactiveLogOptions, aJ as ReactiveMapBundle, aK as ReactiveMapOptions, aL as ReadyMessage, aM as RedisCheckpointClientLike, aN as RedisClientLike, aO as RedisStreamEntry, aP as RetryOptions, aQ as S3ClientLike, aR as SignalMessage, aS as SinkHandle, aT as SinkTransportError, aU as SqliteCheckpointAdapter, aV as SqliteDbLike, aW as StatsDMetric, aX as StatsDRegister, aY as StatusValue, aZ as SyslogMessage, a_ as SyslogRegister, a$ as TapObserver, b0 as TempoClientLike, b1 as ThrottleOptions, b2 as TieredStorage, b3 as TieredStorageOptions, b4 as TimeoutError, b5 as ToCSVOptions, b6 as ToClickHouseOptions, b7 as ToFileOptions, b8 as ToKafkaOptions, b9 as ToLokiOptions, ba as ToMongoOptions, bb as ToNATSOptions, bc as ToPostgresOptions, bd as ToPulsarOptions, be as ToRabbitMQOptions, bf as ToRedisStreamOptions, bg as ToS3Options, bh as ToSSEOptions, bi as ToSqliteOptions, bj as ToTempoOptions, bk as ToWebSocketOptions, bl as ToWebSocketTransportError, bm as TokenBucket, bn as ValueMessage, bo as VerifiableBundle, bp as VerifiableOptions, bq as VerifyValue, br as WatermarkController, bs as WatermarkOptions, bt as WebSocketLike, bu as WebSocketMessageEventLike, bv as WebSocketRegister, bw as WebhookRegister, bx as WithBreakerBundle, by as WithStatusBundle, bz as WorkerBridge, bA as WorkerBridgeOptions, bB as WorkerSelfHandle, bC as WorkerSelfOptions, bD as WorkerTransport, bE as audit, bF as buffer, bG as bufferCount, bH as bufferTime, bI as cache, bJ as cached, bK as cascadingCache, bL as catchError, bM as checkpointNodeValue, bN as checkpointToRedis, bO as checkpointToS3, bP as circuitBreaker, bQ as combine, bR as combineLatest, bS as concat, bT as concatMap, bU as constant, bV as createTransport, bW as createWatermarkController, bX as debounce, bY as debounceTime, bZ as decorrelatedJitter, b_ as delay, b$ as deserializeError, c0 as distill, c1 as distinctUntilChanged, c2 as elementAt, c3 as empty, c4 as escapeRegexChar, c5 as exhaustMap, c6 as exponential, c7 as extra, c8 as fallback, c9 as fibonacci, ca as filter, cb as find, cc as first, cd as firstValueFrom, ce as flatMap, cf as forEach, cg as fromAny, ch as fromAsyncIter, ci as fromCSV, cj as fromClickHouseWatch, ck as fromCron, cl as fromDrizzle, cm as fromEvent, cn as fromFSWatch, co as fromGitHook, cp as fromHTTP, cq as fromIDBRequest, cr as fromIDBTransaction, cs as fromIter, ct as fromKafka, cu as fromKysely, cv as fromMCP, cw as fromNATS, cx as fromNDJSON, cy as fromOTel, cz as fromPrisma, cA as fromPrometheus, cB as fromPromise, cC as fromPulsar, cD as fromRabbitMQ, cE as fromRedisStream, cF as fromSqlite, cG as fromStatsD, cH as fromSyslog, cI as fromTimer, cJ as fromWebSocket, cK as fromWebhook, cL as globToRegExp, cM as interval, cN as last, cO as linear, cP as logSlice, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveLog, 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 valve, dX as verifiable, dY as window, dZ as windowCount, d_ as windowTime, d$ as withBreaker, e0 as withLatestFrom, e1 as withMaxAttempts, e2 as withStatus, e3 as workerBridge, e4 as workerSelf, e5 as zip } from './index-
|
|
10
|
-
import { G as GraphProfileResult, a as GraphProfileOptions } from './index-
|
|
11
|
-
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, b as EvictionPolicy, c as GraphCodec, J as JsonCodec, L as LazyGraphCodec, N as NodeProfile, W as WALEntry, d as createDagCborCodec, e as createDagCborZstdCodec, i as graph, g as graphProfile, n as negotiateCodec, r as replayWAL, s as sizeof } from './index-
|
|
12
|
-
import { M as MeasurementAdapter, i as index$c } from './index-
|
|
13
|
-
export {
|
|
5
|
+
import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-BYFlyNpX.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, O as ObserveDetail, s as ObserveEvent, t as ObserveOptions, u as ObserveResult, v as ObserveTheme, w as ObserveThemeName, R as ReachableDirection, x as ReachableOptions, T as TraceEntry, y as reachable } from './graph-BYFlyNpX.cjs';
|
|
7
|
+
export { B as BridgeOptions, D as DEFAULT_DOWN, a as DownStrategy, b as DynGet, c as DynamicNodeFn, d as DynamicNodeImpl, e as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, f as batch, g as bridge, i as core, h as derived, j as downWithBatch, k as dynamicNode, l as effect, m as isBatching, n as monotonicNs, p as partitionForBatch, o as pipe, q as producer, s as state, w as wallClockNs } from './index-EmzYk-TG.cjs';
|
|
8
|
+
import { N as NodeInput, D as DistillBundle, E as Extraction } from './index-D_tUMcpz.cjs';
|
|
9
|
+
export { A as AdapterHandlers, a as AsyncSourceOpts, B as BackoffPreset, b as BackoffStrategy, c as BatchMessage, d as BridgeMessage, e as BufferedSinkHandle, C as CSVRow, f as CacheEvictionPolicy, g as CacheTier, h as CascadingCache, i as CascadingCacheOptions, j as CheckpointAdapter, k as CheckpointToRedisOptions, l as CheckpointToS3Options, m as CircuitBreaker, n as CircuitBreakerOptions, o as CircuitOpenError, p as CircuitState, q as ClickHouseClientLike, r as ClickHouseInsertClientLike, s as ClickHouseRow, t as CronSchedule, u as DictCheckpointAdapter, v as DistillOptions, w as DrizzleQueryLike, x as ErrorMessage, y as EventTargetLike, z as ExponentialBackoffOptions, F as FSEvent, G as FSEventType, H as FileCheckpointAdapter, I as FileWriterLike, J as FromCSVOptions, K as FromClickHouseWatchOptions, L as FromCronOptions, M as FromDrizzleOptions, O as FromFSWatchOptions, P as FromGitHookOptions, Q as FromHTTPOptions, R as FromKafkaOptions, S as FromKyselyOptions, T as FromMCPOptions, U as FromNATSOptions, V as FromNDJSONOptions, W as FromOTelOptions, X as FromPrismaOptions, Y as FromPrometheusOptions, Z as FromPulsarOptions, _ as FromRabbitMQOptions, $ as FromRedisStreamOptions, a0 as FromSqliteOptions, a1 as FromStatsDOptions, a2 as FromSyslogOptions, a3 as GitEvent, a4 as GitHookType, a5 as HTTPBundle, a6 as IndexRow, a7 as IndexedDbCheckpointSpec, a8 as InitMessage, a9 as JitterMode, aa as KafkaConsumerLike, ab as KafkaMessage, ac as KafkaProducerLike, ad as KyselyQueryLike, ae as LokiClientLike, af as LokiStream, ag as MCPClientLike, ah as MemoryCheckpointAdapter, ai as MergeMapOptions, aj as MongoCollectionLike, ak as NATSClientLike, al as NATSMessage, am as NATSSubscriptionLike, an as NS_PER_MS, ao as NS_PER_SEC, ap as OTelBundle, aq as OTelLog, ar as OTelMetric, as as OTelRegister, at as OTelSpan, au as PostgresClientLike, av as PrismaModelLike, aw as PrometheusMetric, ax as PubSubHub, ay as PulsarConsumerLike, az as PulsarMessage, aA as PulsarProducerLike, aB as RabbitMQChannelLike, aC as RabbitMQMessage, aD as ReactiveIndexBundle, aE as ReactiveIndexOptions, aF as ReactiveListBundle, aG as ReactiveListOptions, aH as ReactiveLogBundle, aI as ReactiveLogOptions, aJ as ReactiveMapBundle, aK as ReactiveMapOptions, aL as ReadyMessage, aM as RedisCheckpointClientLike, aN as RedisClientLike, aO as RedisStreamEntry, aP as RetryOptions, aQ as S3ClientLike, aR as SignalMessage, aS as SinkHandle, aT as SinkTransportError, aU as SqliteCheckpointAdapter, aV as SqliteDbLike, aW as StatsDMetric, aX as StatsDRegister, aY as StatusValue, aZ as SyslogMessage, a_ as SyslogRegister, a$ as TapObserver, b0 as TempoClientLike, b1 as ThrottleOptions, b2 as TieredStorage, b3 as TieredStorageOptions, b4 as TimeoutError, b5 as ToCSVOptions, b6 as ToClickHouseOptions, b7 as ToFileOptions, b8 as ToKafkaOptions, b9 as ToLokiOptions, ba as ToMongoOptions, bb as ToNATSOptions, bc as ToPostgresOptions, bd as ToPulsarOptions, be as ToRabbitMQOptions, bf as ToRedisStreamOptions, bg as ToS3Options, bh as ToSSEOptions, bi as ToSqliteOptions, bj as ToTempoOptions, bk as ToWebSocketOptions, bl as ToWebSocketTransportError, bm as TokenBucket, bn as ValueMessage, bo as VerifiableBundle, bp as VerifiableOptions, bq as VerifyValue, br as WatermarkController, bs as WatermarkOptions, bt as WebSocketLike, bu as WebSocketMessageEventLike, bv as WebSocketRegister, bw as WebhookRegister, bx as WithBreakerBundle, by as WithStatusBundle, bz as WorkerBridge, bA as WorkerBridgeOptions, bB as WorkerSelfHandle, bC as WorkerSelfOptions, bD as WorkerTransport, bE as audit, bF as buffer, bG as bufferCount, bH as bufferTime, bI as cache, bJ as cached, bK as cascadingCache, bL as catchError, bM as checkpointNodeValue, bN as checkpointToRedis, bO as checkpointToS3, bP as circuitBreaker, bQ as combine, bR as combineLatest, bS as concat, bT as concatMap, bU as constant, bV as createTransport, bW as createWatermarkController, bX as debounce, bY as debounceTime, bZ as decorrelatedJitter, b_ as delay, b$ as deserializeError, c0 as distill, c1 as distinctUntilChanged, c2 as elementAt, c3 as empty, c4 as escapeRegexChar, c5 as exhaustMap, c6 as exponential, c7 as extra, c8 as fallback, c9 as fibonacci, ca as filter, cb as find, cc as first, cd as firstValueFrom, ce as flatMap, cf as forEach, cg as fromAny, ch as fromAsyncIter, ci as fromCSV, cj as fromClickHouseWatch, ck as fromCron, cl as fromDrizzle, cm as fromEvent, cn as fromFSWatch, co as fromGitHook, cp as fromHTTP, cq as fromIDBRequest, cr as fromIDBTransaction, cs as fromIter, ct as fromKafka, cu as fromKysely, cv as fromMCP, cw as fromNATS, cx as fromNDJSON, cy as fromOTel, cz as fromPrisma, cA as fromPrometheus, cB as fromPromise, cC as fromPulsar, cD as fromRabbitMQ, cE as fromRedisStream, cF as fromSqlite, cG as fromStatsD, cH as fromSyslog, cI as fromTimer, cJ as fromWebSocket, cK as fromWebhook, cL as globToRegExp, cM as interval, cN as last, cO as linear, cP as logSlice, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveLog, 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 valve, dX as verifiable, dY as window, dZ as windowCount, d_ as windowTime, d$ as withBreaker, e0 as withLatestFrom, e1 as withMaxAttempts, e2 as withStatus, e3 as workerBridge, e4 as workerSelf, e5 as zip } from './index-D_tUMcpz.cjs';
|
|
10
|
+
import { G as GraphProfileResult, a as GraphProfileOptions } from './index-Ci_vPaVm.cjs';
|
|
11
|
+
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, b as EvictionPolicy, c as GraphCodec, J as JsonCodec, L as LazyGraphCodec, N as NodeProfile, W as WALEntry, d as createDagCborCodec, e as createDagCborZstdCodec, i as graph, g as graphProfile, n as negotiateCodec, r as replayWAL, s as sizeof } from './index-Ci_vPaVm.cjs';
|
|
12
|
+
import { M as MeasurementAdapter, i as index$c } from './index-BqOWSFhr.cjs';
|
|
13
|
+
export { T as ToObservableOptions, t as toObservable } from './observable-DFBCBELR.cjs';
|
|
14
14
|
import '@nestjs/common';
|
|
15
15
|
import '@nestjs/core';
|
|
16
16
|
import 'rxjs';
|
|
@@ -2497,6 +2497,41 @@ interface HarnessProfileResult extends GraphProfileResult {
|
|
|
2497
2497
|
*/
|
|
2498
2498
|
declare function harnessProfile(harness: HarnessGraph, opts?: GraphProfileOptions): HarnessProfileResult;
|
|
2499
2499
|
|
|
2500
|
+
/**
|
|
2501
|
+
* Harness pipeline trace (roadmap §9.0 — Inspection Tool Consolidation).
|
|
2502
|
+
*
|
|
2503
|
+
* Attaches reactive observers (via `observe()`) to all harness stages.
|
|
2504
|
+
* One call gives full pipeline visibility with stage labels and elapsed
|
|
2505
|
+
* timestamps relative to the `harnessTrace()` invocation time.
|
|
2506
|
+
*
|
|
2507
|
+
* @module
|
|
2508
|
+
*/
|
|
2509
|
+
|
|
2510
|
+
/** Handle returned by {@link harnessTrace}. Call `dispose()` to stop tracing. */
|
|
2511
|
+
interface HarnessTraceHandle {
|
|
2512
|
+
dispose(): void;
|
|
2513
|
+
}
|
|
2514
|
+
/** Options for {@link harnessTrace}. */
|
|
2515
|
+
interface HarnessTraceOptions {
|
|
2516
|
+
/** Sink for rendered trace lines. Default: `console.log`. */
|
|
2517
|
+
logger?: (line: string) => void;
|
|
2518
|
+
}
|
|
2519
|
+
/**
|
|
2520
|
+
* Attach reactive trace observers to all harness pipeline stages.
|
|
2521
|
+
*
|
|
2522
|
+
* Wires `graph.observe(path, { format: "json" })` to each stage node,
|
|
2523
|
+
* intercepting the logger callback to emit stage-labeled lines with
|
|
2524
|
+
* elapsed timestamps. Surfaces DATA, ERROR, and COMPLETE events.
|
|
2525
|
+
*
|
|
2526
|
+
* Elapsed timestamps are relative to the `harnessTrace()` invocation time,
|
|
2527
|
+
* not the first event.
|
|
2528
|
+
*
|
|
2529
|
+
* @param harness - The HarnessGraph to trace.
|
|
2530
|
+
* @param opts - Optional configuration.
|
|
2531
|
+
* @returns Handle with `dispose()` to stop tracing.
|
|
2532
|
+
*/
|
|
2533
|
+
declare function harnessTrace(harness: HarnessGraph, opts?: HarnessTraceOptions): HarnessTraceHandle;
|
|
2534
|
+
|
|
2500
2535
|
/**
|
|
2501
2536
|
* Harness wiring (roadmap §9.0).
|
|
2502
2537
|
*
|
|
@@ -2522,6 +2557,8 @@ type index$1_HarnessGraph = HarnessGraph;
|
|
|
2522
2557
|
declare const index$1_HarnessGraph: typeof HarnessGraph;
|
|
2523
2558
|
type index$1_HarnessLoopOptions = HarnessLoopOptions;
|
|
2524
2559
|
type index$1_HarnessProfileResult = HarnessProfileResult;
|
|
2560
|
+
type index$1_HarnessTraceHandle = HarnessTraceHandle;
|
|
2561
|
+
type index$1_HarnessTraceOptions = HarnessTraceOptions;
|
|
2525
2562
|
type index$1_IntakeItem = IntakeItem;
|
|
2526
2563
|
type index$1_IntakeSource = IntakeSource;
|
|
2527
2564
|
type index$1_Intervention = Intervention;
|
|
@@ -2541,11 +2578,12 @@ declare const index$1_defaultErrorClassifier: typeof defaultErrorClassifier;
|
|
|
2541
2578
|
declare const index$1_evalIntakeBridge: typeof evalIntakeBridge;
|
|
2542
2579
|
declare const index$1_harnessLoop: typeof harnessLoop;
|
|
2543
2580
|
declare const index$1_harnessProfile: typeof harnessProfile;
|
|
2581
|
+
declare const index$1_harnessTrace: typeof harnessTrace;
|
|
2544
2582
|
declare const index$1_priorityScore: typeof priorityScore;
|
|
2545
2583
|
declare const index$1_strategyKey: typeof strategyKey;
|
|
2546
2584
|
declare const index$1_strategyModel: typeof strategyModel;
|
|
2547
2585
|
declare namespace index$1 {
|
|
2548
|
-
export { index$1_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index$1_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index$1_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, type index$1_ErrorClass as ErrorClass, type index$1_ErrorClassifier as ErrorClassifier, type index$1_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index$1_EvalJudgeScore as EvalJudgeScore, type index$1_EvalResult as EvalResult, type index$1_EvalTaskResult as EvalTaskResult, type index$1_ExecuteOutput as ExecuteOutput, type index$1_ExecutionResult as ExecutionResult, index$1_HarnessGraph as HarnessGraph, type index$1_HarnessLoopOptions as HarnessLoopOptions, type index$1_HarnessProfileResult as HarnessProfileResult, type index$1_IntakeItem as IntakeItem, type index$1_IntakeSource as IntakeSource, type index$1_Intervention as Intervention, type index$1_PrioritySignals as PrioritySignals, index$1_QUEUE_NAMES as QUEUE_NAMES, type index$1_QueueConfig as QueueConfig, type index$1_QueueRoute as QueueRoute, type index$1_RootCause as RootCause, type index$1_Severity as Severity, type index$1_StrategyEntry as StrategyEntry, type index$1_StrategyKey as StrategyKey, type index$1_StrategyModelBundle as StrategyModelBundle, type index$1_StrategySnapshot as StrategySnapshot, type index$1_TriagedItem as TriagedItem, type index$1_VerifyResult as VerifyResult, index$1_defaultErrorClassifier as defaultErrorClassifier, index$1_evalIntakeBridge as evalIntakeBridge, index$1_harnessLoop as harnessLoop, index$1_harnessProfile as harnessProfile, index$1_priorityScore as priorityScore, index$1_strategyKey as strategyKey, index$1_strategyModel as strategyModel };
|
|
2586
|
+
export { index$1_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index$1_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index$1_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, type index$1_ErrorClass as ErrorClass, type index$1_ErrorClassifier as ErrorClassifier, type index$1_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index$1_EvalJudgeScore as EvalJudgeScore, type index$1_EvalResult as EvalResult, type index$1_EvalTaskResult as EvalTaskResult, type index$1_ExecuteOutput as ExecuteOutput, type index$1_ExecutionResult as ExecutionResult, index$1_HarnessGraph as HarnessGraph, type index$1_HarnessLoopOptions as HarnessLoopOptions, type index$1_HarnessProfileResult as HarnessProfileResult, type index$1_HarnessTraceHandle as HarnessTraceHandle, type index$1_HarnessTraceOptions as HarnessTraceOptions, type index$1_IntakeItem as IntakeItem, type index$1_IntakeSource as IntakeSource, type index$1_Intervention as Intervention, type index$1_PrioritySignals as PrioritySignals, index$1_QUEUE_NAMES as QUEUE_NAMES, type index$1_QueueConfig as QueueConfig, type index$1_QueueRoute as QueueRoute, type index$1_RootCause as RootCause, type index$1_Severity as Severity, type index$1_StrategyEntry as StrategyEntry, type index$1_StrategyKey as StrategyKey, type index$1_StrategyModelBundle as StrategyModelBundle, type index$1_StrategySnapshot as StrategySnapshot, type index$1_TriagedItem as TriagedItem, type index$1_VerifyResult as VerifyResult, index$1_defaultErrorClassifier as defaultErrorClassifier, index$1_evalIntakeBridge as evalIntakeBridge, index$1_harnessLoop as harnessLoop, index$1_harnessProfile as harnessProfile, index$1_harnessTrace as harnessTrace, index$1_priorityScore as priorityScore, index$1_strategyKey as strategyKey, index$1_strategyModel as strategyModel };
|
|
2549
2587
|
}
|
|
2550
2588
|
|
|
2551
2589
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { N as Node, A as Actor, a as NodeOptions, b as NodeActions, c as NodeFn } from './meta-
|
|
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
|
|
3
|
-
import { i as index$b, c as cqrs } from './index-
|
|
1
|
+
import { N as Node, A as Actor, a as NodeOptions, b as NodeActions, c as NodeFn } from './meta-npl5b97j.js';
|
|
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 isKnownMessageType, U as isPhase2Message, W as isTerminalMessage, X as isV1, Y as knownMessageTypes, Z as messageTier, _ as node, $ as normalizeActor, a0 as policy, a1 as policyFromRules, a2 as propagatesToMeta, a3 as resolveDescribeFields } from './meta-npl5b97j.js';
|
|
3
|
+
import { i as index$b, c as cqrs } from './index-CEDaJaYE.js';
|
|
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-
|
|
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,
|
|
7
|
-
export { B as BridgeOptions, D as DEFAULT_DOWN, a as DownStrategy, b as DynGet, c as DynamicNodeFn, d as DynamicNodeImpl, e as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, f as batch, g as bridge, i as core, h as derived, j as downWithBatch, k as dynamicNode, l as effect, m as isBatching, n as monotonicNs, p as partitionForBatch, o as pipe, q as producer, s as state, w as wallClockNs } from './index-
|
|
8
|
-
import { N as NodeInput, D as DistillBundle, E as Extraction } from './index-
|
|
9
|
-
export { A as AdapterHandlers, a as AsyncSourceOpts, B as BackoffPreset, b as BackoffStrategy, c as BatchMessage, d as BridgeMessage, e as BufferedSinkHandle, C as CSVRow, f as CacheEvictionPolicy, g as CacheTier, h as CascadingCache, i as CascadingCacheOptions, j as CheckpointAdapter, k as CheckpointToRedisOptions, l as CheckpointToS3Options, m as CircuitBreaker, n as CircuitBreakerOptions, o as CircuitOpenError, p as CircuitState, q as ClickHouseClientLike, r as ClickHouseInsertClientLike, s as ClickHouseRow, t as CronSchedule, u as DictCheckpointAdapter, v as DistillOptions, w as DrizzleQueryLike, x as ErrorMessage, y as EventTargetLike, z as ExponentialBackoffOptions, F as FSEvent, G as FSEventType, H as FileCheckpointAdapter, I as FileWriterLike, J as FromCSVOptions, K as FromClickHouseWatchOptions, L as FromCronOptions, M as FromDrizzleOptions, O as FromFSWatchOptions, P as FromGitHookOptions, Q as FromHTTPOptions, R as FromKafkaOptions, S as FromKyselyOptions, T as FromMCPOptions, U as FromNATSOptions, V as FromNDJSONOptions, W as FromOTelOptions, X as FromPrismaOptions, Y as FromPrometheusOptions, Z as FromPulsarOptions, _ as FromRabbitMQOptions, $ as FromRedisStreamOptions, a0 as FromSqliteOptions, a1 as FromStatsDOptions, a2 as FromSyslogOptions, a3 as GitEvent, a4 as GitHookType, a5 as HTTPBundle, a6 as IndexRow, a7 as IndexedDbCheckpointSpec, a8 as InitMessage, a9 as JitterMode, aa as KafkaConsumerLike, ab as KafkaMessage, ac as KafkaProducerLike, ad as KyselyQueryLike, ae as LokiClientLike, af as LokiStream, ag as MCPClientLike, ah as MemoryCheckpointAdapter, ai as MergeMapOptions, aj as MongoCollectionLike, ak as NATSClientLike, al as NATSMessage, am as NATSSubscriptionLike, an as NS_PER_MS, ao as NS_PER_SEC, ap as OTelBundle, aq as OTelLog, ar as OTelMetric, as as OTelRegister, at as OTelSpan, au as PostgresClientLike, av as PrismaModelLike, aw as PrometheusMetric, ax as PubSubHub, ay as PulsarConsumerLike, az as PulsarMessage, aA as PulsarProducerLike, aB as RabbitMQChannelLike, aC as RabbitMQMessage, aD as ReactiveIndexBundle, aE as ReactiveIndexOptions, aF as ReactiveListBundle, aG as ReactiveListOptions, aH as ReactiveLogBundle, aI as ReactiveLogOptions, aJ as ReactiveMapBundle, aK as ReactiveMapOptions, aL as ReadyMessage, aM as RedisCheckpointClientLike, aN as RedisClientLike, aO as RedisStreamEntry, aP as RetryOptions, aQ as S3ClientLike, aR as SignalMessage, aS as SinkHandle, aT as SinkTransportError, aU as SqliteCheckpointAdapter, aV as SqliteDbLike, aW as StatsDMetric, aX as StatsDRegister, aY as StatusValue, aZ as SyslogMessage, a_ as SyslogRegister, a$ as TapObserver, b0 as TempoClientLike, b1 as ThrottleOptions, b2 as TieredStorage, b3 as TieredStorageOptions, b4 as TimeoutError, b5 as ToCSVOptions, b6 as ToClickHouseOptions, b7 as ToFileOptions, b8 as ToKafkaOptions, b9 as ToLokiOptions, ba as ToMongoOptions, bb as ToNATSOptions, bc as ToPostgresOptions, bd as ToPulsarOptions, be as ToRabbitMQOptions, bf as ToRedisStreamOptions, bg as ToS3Options, bh as ToSSEOptions, bi as ToSqliteOptions, bj as ToTempoOptions, bk as ToWebSocketOptions, bl as ToWebSocketTransportError, bm as TokenBucket, bn as ValueMessage, bo as VerifiableBundle, bp as VerifiableOptions, bq as VerifyValue, br as WatermarkController, bs as WatermarkOptions, bt as WebSocketLike, bu as WebSocketMessageEventLike, bv as WebSocketRegister, bw as WebhookRegister, bx as WithBreakerBundle, by as WithStatusBundle, bz as WorkerBridge, bA as WorkerBridgeOptions, bB as WorkerSelfHandle, bC as WorkerSelfOptions, bD as WorkerTransport, bE as audit, bF as buffer, bG as bufferCount, bH as bufferTime, bI as cache, bJ as cached, bK as cascadingCache, bL as catchError, bM as checkpointNodeValue, bN as checkpointToRedis, bO as checkpointToS3, bP as circuitBreaker, bQ as combine, bR as combineLatest, bS as concat, bT as concatMap, bU as constant, bV as createTransport, bW as createWatermarkController, bX as debounce, bY as debounceTime, bZ as decorrelatedJitter, b_ as delay, b$ as deserializeError, c0 as distill, c1 as distinctUntilChanged, c2 as elementAt, c3 as empty, c4 as escapeRegexChar, c5 as exhaustMap, c6 as exponential, c7 as extra, c8 as fallback, c9 as fibonacci, ca as filter, cb as find, cc as first, cd as firstValueFrom, ce as flatMap, cf as forEach, cg as fromAny, ch as fromAsyncIter, ci as fromCSV, cj as fromClickHouseWatch, ck as fromCron, cl as fromDrizzle, cm as fromEvent, cn as fromFSWatch, co as fromGitHook, cp as fromHTTP, cq as fromIDBRequest, cr as fromIDBTransaction, cs as fromIter, ct as fromKafka, cu as fromKysely, cv as fromMCP, cw as fromNATS, cx as fromNDJSON, cy as fromOTel, cz as fromPrisma, cA as fromPrometheus, cB as fromPromise, cC as fromPulsar, cD as fromRabbitMQ, cE as fromRedisStream, cF as fromSqlite, cG as fromStatsD, cH as fromSyslog, cI as fromTimer, cJ as fromWebSocket, cK as fromWebhook, cL as globToRegExp, cM as interval, cN as last, cO as linear, cP as logSlice, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveLog, 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 valve, dX as verifiable, dY as window, dZ as windowCount, d_ as windowTime, d$ as withBreaker, e0 as withLatestFrom, e1 as withMaxAttempts, e2 as withStatus, e3 as workerBridge, e4 as workerSelf, e5 as zip } from './index-
|
|
10
|
-
import { G as GraphProfileResult, a as GraphProfileOptions } from './index-
|
|
11
|
-
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, b as EvictionPolicy, c as GraphCodec, J as JsonCodec, L as LazyGraphCodec, N as NodeProfile, W as WALEntry, d as createDagCborCodec, e as createDagCborZstdCodec, i as graph, g as graphProfile, n as negotiateCodec, r as replayWAL, s as sizeof } from './index-
|
|
12
|
-
import { M as MeasurementAdapter, i as index$c } from './index-
|
|
13
|
-
export {
|
|
5
|
+
import { G as Graph, a as GraphOptions, b as GraphAutoCheckpointHandle, A as AutoCheckpointAdapter, c as GraphAutoCheckpointOptions } from './graph-gISB9n3n.js';
|
|
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, O as ObserveDetail, s as ObserveEvent, t as ObserveOptions, u as ObserveResult, v as ObserveTheme, w as ObserveThemeName, R as ReachableDirection, x as ReachableOptions, T as TraceEntry, y as reachable } from './graph-gISB9n3n.js';
|
|
7
|
+
export { B as BridgeOptions, D as DEFAULT_DOWN, a as DownStrategy, b as DynGet, c as DynamicNodeFn, d as DynamicNodeImpl, e as DynamicNodeOptions, P as PipeOperator, R as ResettableTimer, f as batch, g as bridge, i as core, h as derived, j as downWithBatch, k as dynamicNode, l as effect, m as isBatching, n as monotonicNs, p as partitionForBatch, o as pipe, q as producer, s as state, w as wallClockNs } from './index-B80mMeuf.js';
|
|
8
|
+
import { N as NodeInput, D as DistillBundle, E as Extraction } from './index-7WnwgjMu.js';
|
|
9
|
+
export { A as AdapterHandlers, a as AsyncSourceOpts, B as BackoffPreset, b as BackoffStrategy, c as BatchMessage, d as BridgeMessage, e as BufferedSinkHandle, C as CSVRow, f as CacheEvictionPolicy, g as CacheTier, h as CascadingCache, i as CascadingCacheOptions, j as CheckpointAdapter, k as CheckpointToRedisOptions, l as CheckpointToS3Options, m as CircuitBreaker, n as CircuitBreakerOptions, o as CircuitOpenError, p as CircuitState, q as ClickHouseClientLike, r as ClickHouseInsertClientLike, s as ClickHouseRow, t as CronSchedule, u as DictCheckpointAdapter, v as DistillOptions, w as DrizzleQueryLike, x as ErrorMessage, y as EventTargetLike, z as ExponentialBackoffOptions, F as FSEvent, G as FSEventType, H as FileCheckpointAdapter, I as FileWriterLike, J as FromCSVOptions, K as FromClickHouseWatchOptions, L as FromCronOptions, M as FromDrizzleOptions, O as FromFSWatchOptions, P as FromGitHookOptions, Q as FromHTTPOptions, R as FromKafkaOptions, S as FromKyselyOptions, T as FromMCPOptions, U as FromNATSOptions, V as FromNDJSONOptions, W as FromOTelOptions, X as FromPrismaOptions, Y as FromPrometheusOptions, Z as FromPulsarOptions, _ as FromRabbitMQOptions, $ as FromRedisStreamOptions, a0 as FromSqliteOptions, a1 as FromStatsDOptions, a2 as FromSyslogOptions, a3 as GitEvent, a4 as GitHookType, a5 as HTTPBundle, a6 as IndexRow, a7 as IndexedDbCheckpointSpec, a8 as InitMessage, a9 as JitterMode, aa as KafkaConsumerLike, ab as KafkaMessage, ac as KafkaProducerLike, ad as KyselyQueryLike, ae as LokiClientLike, af as LokiStream, ag as MCPClientLike, ah as MemoryCheckpointAdapter, ai as MergeMapOptions, aj as MongoCollectionLike, ak as NATSClientLike, al as NATSMessage, am as NATSSubscriptionLike, an as NS_PER_MS, ao as NS_PER_SEC, ap as OTelBundle, aq as OTelLog, ar as OTelMetric, as as OTelRegister, at as OTelSpan, au as PostgresClientLike, av as PrismaModelLike, aw as PrometheusMetric, ax as PubSubHub, ay as PulsarConsumerLike, az as PulsarMessage, aA as PulsarProducerLike, aB as RabbitMQChannelLike, aC as RabbitMQMessage, aD as ReactiveIndexBundle, aE as ReactiveIndexOptions, aF as ReactiveListBundle, aG as ReactiveListOptions, aH as ReactiveLogBundle, aI as ReactiveLogOptions, aJ as ReactiveMapBundle, aK as ReactiveMapOptions, aL as ReadyMessage, aM as RedisCheckpointClientLike, aN as RedisClientLike, aO as RedisStreamEntry, aP as RetryOptions, aQ as S3ClientLike, aR as SignalMessage, aS as SinkHandle, aT as SinkTransportError, aU as SqliteCheckpointAdapter, aV as SqliteDbLike, aW as StatsDMetric, aX as StatsDRegister, aY as StatusValue, aZ as SyslogMessage, a_ as SyslogRegister, a$ as TapObserver, b0 as TempoClientLike, b1 as ThrottleOptions, b2 as TieredStorage, b3 as TieredStorageOptions, b4 as TimeoutError, b5 as ToCSVOptions, b6 as ToClickHouseOptions, b7 as ToFileOptions, b8 as ToKafkaOptions, b9 as ToLokiOptions, ba as ToMongoOptions, bb as ToNATSOptions, bc as ToPostgresOptions, bd as ToPulsarOptions, be as ToRabbitMQOptions, bf as ToRedisStreamOptions, bg as ToS3Options, bh as ToSSEOptions, bi as ToSqliteOptions, bj as ToTempoOptions, bk as ToWebSocketOptions, bl as ToWebSocketTransportError, bm as TokenBucket, bn as ValueMessage, bo as VerifiableBundle, bp as VerifiableOptions, bq as VerifyValue, br as WatermarkController, bs as WatermarkOptions, bt as WebSocketLike, bu as WebSocketMessageEventLike, bv as WebSocketRegister, bw as WebhookRegister, bx as WithBreakerBundle, by as WithStatusBundle, bz as WorkerBridge, bA as WorkerBridgeOptions, bB as WorkerSelfHandle, bC as WorkerSelfOptions, bD as WorkerTransport, bE as audit, bF as buffer, bG as bufferCount, bH as bufferTime, bI as cache, bJ as cached, bK as cascadingCache, bL as catchError, bM as checkpointNodeValue, bN as checkpointToRedis, bO as checkpointToS3, bP as circuitBreaker, bQ as combine, bR as combineLatest, bS as concat, bT as concatMap, bU as constant, bV as createTransport, bW as createWatermarkController, bX as debounce, bY as debounceTime, bZ as decorrelatedJitter, b_ as delay, b$ as deserializeError, c0 as distill, c1 as distinctUntilChanged, c2 as elementAt, c3 as empty, c4 as escapeRegexChar, c5 as exhaustMap, c6 as exponential, c7 as extra, c8 as fallback, c9 as fibonacci, ca as filter, cb as find, cc as first, cd as firstValueFrom, ce as flatMap, cf as forEach, cg as fromAny, ch as fromAsyncIter, ci as fromCSV, cj as fromClickHouseWatch, ck as fromCron, cl as fromDrizzle, cm as fromEvent, cn as fromFSWatch, co as fromGitHook, cp as fromHTTP, cq as fromIDBRequest, cr as fromIDBTransaction, cs as fromIter, ct as fromKafka, cu as fromKysely, cv as fromMCP, cw as fromNATS, cx as fromNDJSON, cy as fromOTel, cz as fromPrisma, cA as fromPrometheus, cB as fromPromise, cC as fromPulsar, cD as fromRabbitMQ, cE as fromRedisStream, cF as fromSqlite, cG as fromStatsD, cH as fromSyslog, cI as fromTimer, cJ as fromWebSocket, cK as fromWebhook, cL as globToRegExp, cM as interval, cN as last, cO as linear, cP as logSlice, cQ as lru, cR as map, cS as matchesAnyPattern, cT as matchesCron, cU as merge, cV as mergeMap, cW as nameToSignal, cX as never, cY as of, cZ as pairwise, c_ as parseCron, c$ as parsePrometheusText, d0 as parseStatsD, d1 as parseSyslog, d2 as pausable, d3 as pubsub, d4 as race, d5 as rateLimiter, d6 as reactiveIndex, d7 as reactiveList, d8 as reactiveLog, 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 valve, dX as verifiable, dY as window, dZ as windowCount, d_ as windowTime, d$ as withBreaker, e0 as withLatestFrom, e1 as withMaxAttempts, e2 as withStatus, e3 as workerBridge, e4 as workerSelf, e5 as zip } from './index-7WnwgjMu.js';
|
|
10
|
+
import { G as GraphProfileResult, a as GraphProfileOptions } from './index-DKaB2x0T.js';
|
|
11
|
+
export { D as DeltaCheckpoint, E as EvictedSubgraphInfo, b as EvictionPolicy, c as GraphCodec, J as JsonCodec, L as LazyGraphCodec, N as NodeProfile, W as WALEntry, d as createDagCborCodec, e as createDagCborZstdCodec, i as graph, g as graphProfile, n as negotiateCodec, r as replayWAL, s as sizeof } from './index-DKaB2x0T.js';
|
|
12
|
+
import { M as MeasurementAdapter, i as index$c } from './index-CgKPpiu8.js';
|
|
13
|
+
export { T as ToObservableOptions, t as toObservable } from './observable-oAGygKvc.js';
|
|
14
14
|
import '@nestjs/common';
|
|
15
15
|
import '@nestjs/core';
|
|
16
16
|
import 'rxjs';
|
|
@@ -2497,6 +2497,41 @@ interface HarnessProfileResult extends GraphProfileResult {
|
|
|
2497
2497
|
*/
|
|
2498
2498
|
declare function harnessProfile(harness: HarnessGraph, opts?: GraphProfileOptions): HarnessProfileResult;
|
|
2499
2499
|
|
|
2500
|
+
/**
|
|
2501
|
+
* Harness pipeline trace (roadmap §9.0 — Inspection Tool Consolidation).
|
|
2502
|
+
*
|
|
2503
|
+
* Attaches reactive observers (via `observe()`) to all harness stages.
|
|
2504
|
+
* One call gives full pipeline visibility with stage labels and elapsed
|
|
2505
|
+
* timestamps relative to the `harnessTrace()` invocation time.
|
|
2506
|
+
*
|
|
2507
|
+
* @module
|
|
2508
|
+
*/
|
|
2509
|
+
|
|
2510
|
+
/** Handle returned by {@link harnessTrace}. Call `dispose()` to stop tracing. */
|
|
2511
|
+
interface HarnessTraceHandle {
|
|
2512
|
+
dispose(): void;
|
|
2513
|
+
}
|
|
2514
|
+
/** Options for {@link harnessTrace}. */
|
|
2515
|
+
interface HarnessTraceOptions {
|
|
2516
|
+
/** Sink for rendered trace lines. Default: `console.log`. */
|
|
2517
|
+
logger?: (line: string) => void;
|
|
2518
|
+
}
|
|
2519
|
+
/**
|
|
2520
|
+
* Attach reactive trace observers to all harness pipeline stages.
|
|
2521
|
+
*
|
|
2522
|
+
* Wires `graph.observe(path, { format: "json" })` to each stage node,
|
|
2523
|
+
* intercepting the logger callback to emit stage-labeled lines with
|
|
2524
|
+
* elapsed timestamps. Surfaces DATA, ERROR, and COMPLETE events.
|
|
2525
|
+
*
|
|
2526
|
+
* Elapsed timestamps are relative to the `harnessTrace()` invocation time,
|
|
2527
|
+
* not the first event.
|
|
2528
|
+
*
|
|
2529
|
+
* @param harness - The HarnessGraph to trace.
|
|
2530
|
+
* @param opts - Optional configuration.
|
|
2531
|
+
* @returns Handle with `dispose()` to stop tracing.
|
|
2532
|
+
*/
|
|
2533
|
+
declare function harnessTrace(harness: HarnessGraph, opts?: HarnessTraceOptions): HarnessTraceHandle;
|
|
2534
|
+
|
|
2500
2535
|
/**
|
|
2501
2536
|
* Harness wiring (roadmap §9.0).
|
|
2502
2537
|
*
|
|
@@ -2522,6 +2557,8 @@ type index$1_HarnessGraph = HarnessGraph;
|
|
|
2522
2557
|
declare const index$1_HarnessGraph: typeof HarnessGraph;
|
|
2523
2558
|
type index$1_HarnessLoopOptions = HarnessLoopOptions;
|
|
2524
2559
|
type index$1_HarnessProfileResult = HarnessProfileResult;
|
|
2560
|
+
type index$1_HarnessTraceHandle = HarnessTraceHandle;
|
|
2561
|
+
type index$1_HarnessTraceOptions = HarnessTraceOptions;
|
|
2525
2562
|
type index$1_IntakeItem = IntakeItem;
|
|
2526
2563
|
type index$1_IntakeSource = IntakeSource;
|
|
2527
2564
|
type index$1_Intervention = Intervention;
|
|
@@ -2541,11 +2578,12 @@ declare const index$1_defaultErrorClassifier: typeof defaultErrorClassifier;
|
|
|
2541
2578
|
declare const index$1_evalIntakeBridge: typeof evalIntakeBridge;
|
|
2542
2579
|
declare const index$1_harnessLoop: typeof harnessLoop;
|
|
2543
2580
|
declare const index$1_harnessProfile: typeof harnessProfile;
|
|
2581
|
+
declare const index$1_harnessTrace: typeof harnessTrace;
|
|
2544
2582
|
declare const index$1_priorityScore: typeof priorityScore;
|
|
2545
2583
|
declare const index$1_strategyKey: typeof strategyKey;
|
|
2546
2584
|
declare const index$1_strategyModel: typeof strategyModel;
|
|
2547
2585
|
declare namespace index$1 {
|
|
2548
|
-
export { index$1_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index$1_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index$1_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, type index$1_ErrorClass as ErrorClass, type index$1_ErrorClassifier as ErrorClassifier, type index$1_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index$1_EvalJudgeScore as EvalJudgeScore, type index$1_EvalResult as EvalResult, type index$1_EvalTaskResult as EvalTaskResult, type index$1_ExecuteOutput as ExecuteOutput, type index$1_ExecutionResult as ExecutionResult, index$1_HarnessGraph as HarnessGraph, type index$1_HarnessLoopOptions as HarnessLoopOptions, type index$1_HarnessProfileResult as HarnessProfileResult, type index$1_IntakeItem as IntakeItem, type index$1_IntakeSource as IntakeSource, type index$1_Intervention as Intervention, type index$1_PrioritySignals as PrioritySignals, index$1_QUEUE_NAMES as QUEUE_NAMES, type index$1_QueueConfig as QueueConfig, type index$1_QueueRoute as QueueRoute, type index$1_RootCause as RootCause, type index$1_Severity as Severity, type index$1_StrategyEntry as StrategyEntry, type index$1_StrategyKey as StrategyKey, type index$1_StrategyModelBundle as StrategyModelBundle, type index$1_StrategySnapshot as StrategySnapshot, type index$1_TriagedItem as TriagedItem, type index$1_VerifyResult as VerifyResult, index$1_defaultErrorClassifier as defaultErrorClassifier, index$1_evalIntakeBridge as evalIntakeBridge, index$1_harnessLoop as harnessLoop, index$1_harnessProfile as harnessProfile, index$1_priorityScore as priorityScore, index$1_strategyKey as strategyKey, index$1_strategyModel as strategyModel };
|
|
2586
|
+
export { index$1_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index$1_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index$1_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, type index$1_ErrorClass as ErrorClass, type index$1_ErrorClassifier as ErrorClassifier, type index$1_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index$1_EvalJudgeScore as EvalJudgeScore, type index$1_EvalResult as EvalResult, type index$1_EvalTaskResult as EvalTaskResult, type index$1_ExecuteOutput as ExecuteOutput, type index$1_ExecutionResult as ExecutionResult, index$1_HarnessGraph as HarnessGraph, type index$1_HarnessLoopOptions as HarnessLoopOptions, type index$1_HarnessProfileResult as HarnessProfileResult, type index$1_HarnessTraceHandle as HarnessTraceHandle, type index$1_HarnessTraceOptions as HarnessTraceOptions, type index$1_IntakeItem as IntakeItem, type index$1_IntakeSource as IntakeSource, type index$1_Intervention as Intervention, type index$1_PrioritySignals as PrioritySignals, index$1_QUEUE_NAMES as QUEUE_NAMES, type index$1_QueueConfig as QueueConfig, type index$1_QueueRoute as QueueRoute, type index$1_RootCause as RootCause, type index$1_Severity as Severity, type index$1_StrategyEntry as StrategyEntry, type index$1_StrategyKey as StrategyKey, type index$1_StrategyModelBundle as StrategyModelBundle, type index$1_StrategySnapshot as StrategySnapshot, type index$1_TriagedItem as TriagedItem, type index$1_VerifyResult as VerifyResult, index$1_defaultErrorClassifier as defaultErrorClassifier, index$1_evalIntakeBridge as evalIntakeBridge, index$1_harnessLoop as harnessLoop, index$1_harnessProfile as harnessProfile, index$1_harnessTrace as harnessTrace, index$1_priorityScore as priorityScore, index$1_strategyKey as strategyKey, index$1_strategyModel as strategyModel };
|
|
2549
2587
|
}
|
|
2550
2588
|
|
|
2551
2589
|
/**
|
package/dist/index.js
CHANGED
|
@@ -137,11 +137,16 @@ import {
|
|
|
137
137
|
workerBridge,
|
|
138
138
|
workerSelf,
|
|
139
139
|
zip
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-76YPZQTW.js";
|
|
141
141
|
import {
|
|
142
142
|
cqrs_exports,
|
|
143
143
|
nestjs_exports
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-KJGUP35I.js";
|
|
145
|
+
import {
|
|
146
|
+
DEFAULT_DOWN,
|
|
147
|
+
bridge,
|
|
148
|
+
core_exports
|
|
149
|
+
} from "./chunk-TNKODJ6E.js";
|
|
145
150
|
import {
|
|
146
151
|
JsonCodec,
|
|
147
152
|
createDagCborCodec,
|
|
@@ -151,12 +156,7 @@ import {
|
|
|
151
156
|
negotiateCodec,
|
|
152
157
|
replayWAL,
|
|
153
158
|
sizeof
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import {
|
|
156
|
-
DEFAULT_DOWN,
|
|
157
|
-
bridge,
|
|
158
|
-
core_exports
|
|
159
|
-
} from "./chunk-R6OHUUYB.js";
|
|
159
|
+
} from "./chunk-FCLROC4Q.js";
|
|
160
160
|
import {
|
|
161
161
|
cached,
|
|
162
162
|
createWatermarkController,
|
|
@@ -177,8 +177,6 @@ import {
|
|
|
177
177
|
matchesAnyPattern,
|
|
178
178
|
matchesCron,
|
|
179
179
|
never,
|
|
180
|
-
observeGraph$,
|
|
181
|
-
observeNode$,
|
|
182
180
|
of,
|
|
183
181
|
parseCron,
|
|
184
182
|
reactiveLog,
|
|
@@ -187,9 +185,8 @@ import {
|
|
|
187
185
|
shareReplay,
|
|
188
186
|
throwError,
|
|
189
187
|
toArray,
|
|
190
|
-
toMessages$,
|
|
191
188
|
toObservable
|
|
192
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-F6ORUNO7.js";
|
|
193
190
|
import {
|
|
194
191
|
ResettableTimer
|
|
195
192
|
} from "./chunk-WZ2Z2CRV.js";
|
|
@@ -197,17 +194,16 @@ import {
|
|
|
197
194
|
analyzeAndMeasure,
|
|
198
195
|
computeLineBreaks,
|
|
199
196
|
reactive_layout_exports
|
|
200
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-UVWEKTYC.js";
|
|
201
198
|
import {
|
|
202
199
|
GRAPH_META_SEGMENT,
|
|
203
200
|
Graph,
|
|
204
201
|
reachable
|
|
205
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-LB3RYLSC.js";
|
|
206
203
|
import {
|
|
207
204
|
describeNode,
|
|
208
|
-
metaSnapshot,
|
|
209
205
|
resolveDescribeFields
|
|
210
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-J7S54G7I.js";
|
|
211
207
|
import {
|
|
212
208
|
CLEANUP_RESULT,
|
|
213
209
|
COMPLETE,
|
|
@@ -2937,7 +2933,7 @@ function demoShell(opts) {
|
|
|
2937
2933
|
([ref, _tick]) => {
|
|
2938
2934
|
const demo = ref;
|
|
2939
2935
|
if (!demo) return [];
|
|
2940
|
-
return demo.
|
|
2936
|
+
return demo.trace();
|
|
2941
2937
|
},
|
|
2942
2938
|
{ name: "inspect/trace-log" }
|
|
2943
2939
|
);
|
|
@@ -4888,6 +4884,7 @@ __export(harness_exports, {
|
|
|
4888
4884
|
evalIntakeBridge: () => evalIntakeBridge,
|
|
4889
4885
|
harnessLoop: () => harnessLoop,
|
|
4890
4886
|
harnessProfile: () => harnessProfile,
|
|
4887
|
+
harnessTrace: () => harnessTrace,
|
|
4891
4888
|
priorityScore: () => priorityScore,
|
|
4892
4889
|
strategyKey: () => strategyKey,
|
|
4893
4890
|
strategyModel: () => strategyModel
|
|
@@ -6104,7 +6101,7 @@ function harnessLoop(name, opts) {
|
|
|
6104
6101
|
});
|
|
6105
6102
|
const itemRetries = item._retries ?? 0;
|
|
6106
6103
|
if (errClass === "self-correctable" && itemRetries < maxRetries && (totalRetries.get() ?? 0) < maxTotalRetries) {
|
|
6107
|
-
totalRetries.down([[DATA, (totalRetries.get() ?? 0) + 1]]);
|
|
6104
|
+
totalRetries.down([[DIRTY], [DATA, (totalRetries.get() ?? 0) + 1]]);
|
|
6108
6105
|
const key = trackingKey(item);
|
|
6109
6106
|
const retryItem = {
|
|
6110
6107
|
...item,
|
|
@@ -6119,7 +6116,7 @@ function harnessLoop(name, opts) {
|
|
|
6119
6116
|
const key = trackingKey(item);
|
|
6120
6117
|
const itemReingestions = item._reingestions ?? 0;
|
|
6121
6118
|
if (itemReingestions < maxReingestions && (totalReingestions.get() ?? 0) < maxTotalReingestions) {
|
|
6122
|
-
totalReingestions.down([[DATA, (totalReingestions.get() ?? 0) + 1]]);
|
|
6119
|
+
totalReingestions.down([[DIRTY], [DATA, (totalReingestions.get() ?? 0) + 1]]);
|
|
6123
6120
|
intake.publish({
|
|
6124
6121
|
source: "eval",
|
|
6125
6122
|
summary: `Verification failed for: ${key}`,
|
|
@@ -6148,6 +6145,10 @@ function harnessLoop(name, opts) {
|
|
|
6148
6145
|
harness.addDisposer(routerUnsub);
|
|
6149
6146
|
harness.addDisposer(fastRetryUnsub);
|
|
6150
6147
|
harness.addDisposer(strategy.dispose);
|
|
6148
|
+
harness.add("triage", triageNode);
|
|
6149
|
+
harness.add("execute", executeNode);
|
|
6150
|
+
harness.add("verify", verifyNode);
|
|
6151
|
+
harness.add("strategy", strategy.node);
|
|
6151
6152
|
harness.mount("intake", intake);
|
|
6152
6153
|
for (const [route, topic2] of queueTopics) {
|
|
6153
6154
|
harness.mount(`queue/${route}`, topic2);
|
|
@@ -6174,6 +6175,89 @@ function harnessProfile(harness, opts) {
|
|
|
6174
6175
|
};
|
|
6175
6176
|
}
|
|
6176
6177
|
|
|
6178
|
+
// src/patterns/harness/trace.ts
|
|
6179
|
+
var STAGE_LABELS = {
|
|
6180
|
+
"intake::latest": "INTAKE",
|
|
6181
|
+
triage: "TRIAGE",
|
|
6182
|
+
execute: "EXECUTE",
|
|
6183
|
+
"verify-results::latest": "VERIFY",
|
|
6184
|
+
strategy: "STRATEGY"
|
|
6185
|
+
};
|
|
6186
|
+
for (const route of QUEUE_NAMES) {
|
|
6187
|
+
STAGE_LABELS[`queue/${route}::latest`] = "QUEUE";
|
|
6188
|
+
}
|
|
6189
|
+
function harnessTrace(harness, opts) {
|
|
6190
|
+
const logger = opts?.logger ?? console.log;
|
|
6191
|
+
const startNs = monotonicNs();
|
|
6192
|
+
const observations = [];
|
|
6193
|
+
function elapsed() {
|
|
6194
|
+
const deltaNs = monotonicNs() - startNs;
|
|
6195
|
+
const secs = deltaNs / 1e9;
|
|
6196
|
+
return secs.toFixed(3);
|
|
6197
|
+
}
|
|
6198
|
+
for (const [path, stage] of Object.entries(STAGE_LABELS)) {
|
|
6199
|
+
try {
|
|
6200
|
+
const obs = harness.observe(path, {
|
|
6201
|
+
format: "json",
|
|
6202
|
+
logger: (_line, event) => {
|
|
6203
|
+
if (event.type === "data") {
|
|
6204
|
+
const dataStr = event.data !== void 0 ? ` ${summarize(event.data)}` : "";
|
|
6205
|
+
logger(`[${elapsed()}s] ${stage.padEnd(9)} \u2190${dataStr}`);
|
|
6206
|
+
} else if (event.type === "error") {
|
|
6207
|
+
const errStr = event.data !== void 0 ? ` ${summarize(event.data)}` : "";
|
|
6208
|
+
logger(`[${elapsed()}s] ${stage.padEnd(9)} \u2717${errStr}`);
|
|
6209
|
+
} else if (event.type === "complete") {
|
|
6210
|
+
logger(`[${elapsed()}s] ${stage.padEnd(9)} \u25A0 complete`);
|
|
6211
|
+
}
|
|
6212
|
+
},
|
|
6213
|
+
includeTypes: ["data", "error", "complete"]
|
|
6214
|
+
});
|
|
6215
|
+
observations.push(obs);
|
|
6216
|
+
} catch {
|
|
6217
|
+
}
|
|
6218
|
+
}
|
|
6219
|
+
for (const [gatedRoute] of harness.gates) {
|
|
6220
|
+
const gatePath = `gates::${gatedRoute}/gate`;
|
|
6221
|
+
try {
|
|
6222
|
+
const obs = harness.observe(gatePath, {
|
|
6223
|
+
format: "json",
|
|
6224
|
+
logger: (_line, event) => {
|
|
6225
|
+
if (event.type === "data") {
|
|
6226
|
+
const dataStr = event.data !== void 0 ? ` ${summarize(event.data)}` : "";
|
|
6227
|
+
logger(`[${elapsed()}s] GATE \u25B6${dataStr}`);
|
|
6228
|
+
} else if (event.type === "error") {
|
|
6229
|
+
logger(`[${elapsed()}s] GATE \u2717 ${summarize(event.data)}`);
|
|
6230
|
+
}
|
|
6231
|
+
},
|
|
6232
|
+
includeTypes: ["data", "error", "complete"]
|
|
6233
|
+
});
|
|
6234
|
+
observations.push(obs);
|
|
6235
|
+
} catch {
|
|
6236
|
+
}
|
|
6237
|
+
}
|
|
6238
|
+
return {
|
|
6239
|
+
dispose() {
|
|
6240
|
+
for (const obs of observations) obs.dispose();
|
|
6241
|
+
observations.length = 0;
|
|
6242
|
+
}
|
|
6243
|
+
};
|
|
6244
|
+
}
|
|
6245
|
+
function summarize(value) {
|
|
6246
|
+
if (value == null) return "null";
|
|
6247
|
+
if (typeof value === "string") return truncate(value, 80);
|
|
6248
|
+
if (typeof value === "number" || typeof value === "boolean") return String(value);
|
|
6249
|
+
if (typeof value === "bigint") return String(value);
|
|
6250
|
+
try {
|
|
6251
|
+
const json = JSON.stringify(value);
|
|
6252
|
+
return truncate(json, 120);
|
|
6253
|
+
} catch {
|
|
6254
|
+
return String(value);
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
function truncate(s, max) {
|
|
6258
|
+
return s.length > max ? `${s.slice(0, max - 1)}\u2026` : s;
|
|
6259
|
+
}
|
|
6260
|
+
|
|
6177
6261
|
// src/index.ts
|
|
6178
6262
|
var version = "0.0.0";
|
|
6179
6263
|
export {
|
|
@@ -6241,7 +6325,6 @@ export {
|
|
|
6241
6325
|
delay,
|
|
6242
6326
|
demo_shell_exports as demoShell,
|
|
6243
6327
|
derived,
|
|
6244
|
-
describeNode,
|
|
6245
6328
|
deserializeError,
|
|
6246
6329
|
distill,
|
|
6247
6330
|
distinctUntilChanged,
|
|
@@ -6320,7 +6403,6 @@ export {
|
|
|
6320
6403
|
mergeMap,
|
|
6321
6404
|
messageTier,
|
|
6322
6405
|
messaging_exports as messaging,
|
|
6323
|
-
metaSnapshot,
|
|
6324
6406
|
monotonicNs,
|
|
6325
6407
|
nameToSignal,
|
|
6326
6408
|
nanostores_exports as nanostores,
|
|
@@ -6329,8 +6411,6 @@ export {
|
|
|
6329
6411
|
never,
|
|
6330
6412
|
node,
|
|
6331
6413
|
normalizeActor,
|
|
6332
|
-
observeGraph$,
|
|
6333
|
-
observeNode$,
|
|
6334
6414
|
of,
|
|
6335
6415
|
orchestration_exports as orchestration,
|
|
6336
6416
|
pairwise,
|
|
@@ -6397,7 +6477,6 @@ export {
|
|
|
6397
6477
|
toFile,
|
|
6398
6478
|
toKafka,
|
|
6399
6479
|
toLoki,
|
|
6400
|
-
toMessages$,
|
|
6401
6480
|
toMongo,
|
|
6402
6481
|
toNATS,
|
|
6403
6482
|
toObservable,
|