@graphrefly/graphrefly 0.47.2 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/composition/index.cjs +4 -3
- package/dist/base/composition/index.cjs.map +1 -1
- package/dist/base/composition/index.d.cts +14 -5
- package/dist/base/composition/index.d.ts +14 -5
- package/dist/base/composition/index.js +8 -8
- package/dist/base/index.cjs +152 -78
- package/dist/base/index.cjs.map +1 -1
- package/dist/base/index.d.cts +2 -2
- package/dist/base/index.d.ts +2 -2
- package/dist/base/index.js +75 -70
- package/dist/base/io/index.cjs +31 -17
- package/dist/base/io/index.cjs.map +1 -1
- package/dist/base/io/index.d.cts +32 -5
- package/dist/base/io/index.d.ts +32 -5
- package/dist/base/io/index.js +1 -1
- package/dist/base/mutation/index.cjs +21 -0
- package/dist/base/mutation/index.cjs.map +1 -1
- package/dist/base/mutation/index.d.cts +23 -1
- package/dist/base/mutation/index.d.ts +23 -1
- package/dist/base/mutation/index.js +3 -1
- package/dist/base/sources/browser/index.cjs +5 -3
- package/dist/base/sources/browser/index.cjs.map +1 -1
- package/dist/base/sources/browser/index.d.cts +20 -2
- package/dist/base/sources/browser/index.d.ts +20 -2
- package/dist/base/sources/browser/index.js +5 -3
- package/dist/base/sources/browser/index.js.map +1 -1
- package/dist/base/sources/event/index.cjs +28 -0
- package/dist/base/sources/event/index.cjs.map +1 -1
- package/dist/base/sources/event/index.d.cts +67 -3
- package/dist/base/sources/event/index.d.ts +67 -3
- package/dist/base/sources/event/index.js +4 -1
- package/dist/base/sources/index.cjs +75 -37
- package/dist/base/sources/index.cjs.map +1 -1
- package/dist/base/sources/index.d.cts +1 -1
- package/dist/base/sources/index.d.ts +1 -1
- package/dist/base/sources/index.js +5 -2
- package/dist/{chunk-R6ZCSXKX.js → chunk-23MAWVOJ.js} +3 -3
- package/dist/{chunk-MS3WPRJR.js → chunk-3REMCHSS.js} +6 -6
- package/dist/chunk-3REMCHSS.js.map +1 -0
- package/dist/{chunk-CEVNQ74M.js → chunk-3YGXPUHW.js} +2 -2
- package/dist/{chunk-CEVNQ74M.js.map → chunk-3YGXPUHW.js.map} +1 -1
- package/dist/{chunk-6ZLCPUXS.js → chunk-46X2EFQH.js} +15 -4
- package/dist/chunk-46X2EFQH.js.map +1 -0
- package/dist/{chunk-NY2PYHNC.js → chunk-5UY3PNFY.js} +12 -5
- package/dist/chunk-5UY3PNFY.js.map +1 -0
- package/dist/{chunk-FQSQONOU.js → chunk-65OM4XLQ.js} +49 -3
- package/dist/chunk-65OM4XLQ.js.map +1 -0
- package/dist/{chunk-3PSLNJDU.js → chunk-6DQYBIHW.js} +314 -49
- package/dist/chunk-6DQYBIHW.js.map +1 -0
- package/dist/{chunk-LDCSZ72P.js → chunk-6YBER5UP.js} +3 -3
- package/dist/{chunk-LDCSZ72P.js.map → chunk-6YBER5UP.js.map} +1 -1
- package/dist/{chunk-3O3NKZJW.js → chunk-7T7WLEPM.js} +24 -3
- package/dist/chunk-7T7WLEPM.js.map +1 -0
- package/dist/{chunk-PKPO3JTZ.js → chunk-AQAKDE7F.js} +29 -11
- package/dist/chunk-AQAKDE7F.js.map +1 -0
- package/dist/{chunk-6MRSX3YK.js → chunk-B5Y5GPD5.js} +2 -2
- package/dist/{chunk-BXGZFGZ4.js → chunk-C5QD5DQX.js} +22 -1
- package/dist/chunk-C5QD5DQX.js.map +1 -0
- package/dist/{chunk-4XCHZRUJ.js → chunk-D5YGR4TP.js} +58 -7
- package/dist/chunk-D5YGR4TP.js.map +1 -0
- package/dist/{chunk-NPRP3MCV.js → chunk-DHDCOOJU.js} +2 -2
- package/dist/chunk-DHDCOOJU.js.map +1 -0
- package/dist/{chunk-VP3TIUDF.js → chunk-DVTDF5OI.js} +2 -2
- package/dist/{chunk-OXD5LFQP.js → chunk-G7H6PN7P.js} +2 -2
- package/dist/{chunk-EL5VHUGK.js → chunk-GGKHHG5Y.js} +32 -18
- package/dist/chunk-GGKHHG5Y.js.map +1 -0
- package/dist/{chunk-446I4EGD.js → chunk-J5TBZFBD.js} +2 -2
- package/dist/{chunk-7AVQIGF6.js → chunk-K4ZYJ4EM.js} +554 -460
- package/dist/chunk-K4ZYJ4EM.js.map +1 -0
- package/dist/{chunk-QFE5BQH7.js → chunk-LTSI7ULC.js} +2 -2
- package/dist/{chunk-5GVURVIG.js → chunk-MMHGYX44.js} +12 -2
- package/dist/{chunk-5GVURVIG.js.map → chunk-MMHGYX44.js.map} +1 -1
- package/dist/{chunk-KRFGO5QH.js → chunk-MQMTRKY3.js} +118 -43
- package/dist/chunk-MQMTRKY3.js.map +1 -0
- package/dist/{chunk-42FQ27MQ.js → chunk-MTODGQBR.js} +44 -179
- package/dist/chunk-MTODGQBR.js.map +1 -0
- package/dist/{chunk-FVINAAKA.js → chunk-NBK6QQMG.js} +14 -13
- package/dist/{chunk-FVINAAKA.js.map → chunk-NBK6QQMG.js.map} +1 -1
- package/dist/{chunk-KNU73RZW.js → chunk-NSA5K5G2.js} +2 -2
- package/dist/{chunk-MLTPJMH6.js → chunk-QQYULEZL.js} +2 -2
- package/dist/chunk-QSW4DFKE.js +31 -0
- package/dist/chunk-QSW4DFKE.js.map +1 -0
- package/dist/{chunk-VAZXUK6G.js → chunk-SUNCHMML.js} +2 -2
- package/dist/{chunk-EP4WVQLX.js → chunk-T2U6N3FV.js} +6 -6
- package/dist/{chunk-T7SP3EYR.js → chunk-T5URUIIY.js} +33 -24
- package/dist/chunk-T5URUIIY.js.map +1 -0
- package/dist/{chunk-VNXAF2KE.js → chunk-TPTZZV25.js} +6 -6
- package/dist/chunk-TPTZZV25.js.map +1 -0
- package/dist/{chunk-IOJDYUA7.js → chunk-V46JWFGV.js} +6 -5
- package/dist/chunk-V46JWFGV.js.map +1 -0
- package/dist/{chunk-WGDEBIP4.js → chunk-X6ESZDR6.js} +5 -6
- package/dist/chunk-X6ESZDR6.js.map +1 -0
- package/dist/{chunk-N65E26UL.js → chunk-XEWV254I.js} +2 -2
- package/dist/{chunk-N65E26UL.js.map → chunk-XEWV254I.js.map} +1 -1
- package/dist/{chunk-PTWADEH3.js → chunk-YBJVKMTM.js} +34 -14
- package/dist/chunk-YBJVKMTM.js.map +1 -0
- package/dist/{chunk-DDTS7F5O.js → chunk-ZW32BPXV.js} +12 -3
- package/dist/chunk-ZW32BPXV.js.map +1 -0
- package/dist/compat/index.cjs +51 -4
- package/dist/compat/index.cjs.map +1 -1
- package/dist/compat/index.d.cts +1 -1
- package/dist/compat/index.d.ts +1 -1
- package/dist/compat/index.js +6 -6
- package/dist/compat/nestjs/index.cjs +51 -4
- package/dist/compat/nestjs/index.cjs.map +1 -1
- package/dist/compat/nestjs/index.d.cts +1 -1
- package/dist/compat/nestjs/index.d.ts +1 -1
- package/dist/compat/nestjs/index.js +3 -3
- package/dist/{fallback-Bx46zqky.d.cts → fallback-BROR6ZhO.d.cts} +1 -1
- package/dist/{fallback-pIWW8A2d.d.ts → fallback-DO80aM_3.d.ts} +1 -1
- package/dist/{index-B_p8tnvf.d.cts → index-D1z3XcF9.d.cts} +1 -0
- package/dist/{index-_HDSmPyp.d.ts → index-DZ6yua0Q.d.ts} +1 -0
- package/dist/index.cjs +2215 -1676
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +169 -146
- package/dist/index.js.map +1 -1
- package/dist/presets/ai/index.cjs +46 -0
- package/dist/presets/ai/index.cjs.map +1 -1
- package/dist/presets/ai/index.js +12 -12
- package/dist/presets/harness/index.cjs +130 -18
- package/dist/presets/harness/index.cjs.map +1 -1
- package/dist/presets/harness/index.d.cts +15 -5
- package/dist/presets/harness/index.d.ts +15 -5
- package/dist/presets/harness/index.js +22 -22
- package/dist/presets/index.cjs +222 -53
- package/dist/presets/index.cjs.map +1 -1
- package/dist/presets/index.d.cts +2 -2
- package/dist/presets/index.d.ts +2 -2
- package/dist/presets/index.js +45 -45
- package/dist/presets/inspect/index.cjs +63 -14
- package/dist/presets/inspect/index.cjs.map +1 -1
- package/dist/presets/inspect/index.d.cts +1 -1
- package/dist/presets/inspect/index.d.ts +1 -1
- package/dist/presets/inspect/index.js +6 -6
- package/dist/presets/resilience/index.cjs +29 -21
- package/dist/presets/resilience/index.cjs.map +1 -1
- package/dist/presets/resilience/index.d.cts +12 -8
- package/dist/presets/resilience/index.d.ts +12 -8
- package/dist/presets/resilience/index.js +3 -3
- package/dist/{rate-limiter-DpVbSYdH.d.cts → rate-limiter-DC26FM8J.d.cts} +10 -1
- package/dist/{rate-limiter-CEALq4N1.d.ts → rate-limiter-DyWpwpQP.d.ts} +10 -1
- package/dist/{reactive-layout-fswlBUvX.d.ts → reactive-layout-BBBWH0V_.d.cts} +85 -4
- package/dist/{reactive-layout-fswlBUvX.d.cts → reactive-layout-BBBWH0V_.d.ts} +85 -4
- package/dist/solutions/index.cjs +168 -47
- package/dist/solutions/index.cjs.map +1 -1
- package/dist/solutions/index.d.cts +2 -2
- package/dist/solutions/index.d.ts +2 -2
- package/dist/solutions/index.js +28 -28
- package/dist/{spawnable-5mDY501F.d.cts → spawnable-B2IlW60f.d.cts} +23 -2
- package/dist/{spawnable-D3lR0oQu.d.ts → spawnable-tttFz2Nh.d.ts} +23 -2
- package/dist/testing/index.cjs +94 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.cts +59 -0
- package/dist/testing/index.d.ts +59 -0
- package/dist/testing/index.js +73 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/utils/ai/browser.cjs.map +1 -1
- package/dist/utils/ai/browser.d.cts +2 -2
- package/dist/utils/ai/browser.d.ts +2 -2
- package/dist/utils/ai/browser.js +6 -6
- package/dist/utils/ai/browser.js.map +1 -1
- package/dist/utils/ai/index.cjs +250 -166
- package/dist/utils/ai/index.cjs.map +1 -1
- package/dist/utils/ai/index.d.cts +108 -12
- package/dist/utils/ai/index.d.ts +108 -12
- package/dist/utils/ai/index.js +21 -19
- package/dist/utils/ai/node.cjs.map +1 -1
- package/dist/utils/ai/node.d.cts +5 -5
- package/dist/utils/ai/node.d.ts +5 -5
- package/dist/utils/ai/node.js +2 -2
- package/dist/utils/ai/node.js.map +1 -1
- package/dist/utils/cqrs/index.cjs +29 -3
- package/dist/utils/cqrs/index.cjs.map +1 -1
- package/dist/utils/cqrs/index.d.cts +12 -7
- package/dist/utils/cqrs/index.d.ts +12 -7
- package/dist/utils/cqrs/index.js +2 -2
- package/dist/utils/demo-shell/index.cjs +45 -19
- package/dist/utils/demo-shell/index.cjs.map +1 -1
- package/dist/utils/demo-shell/index.d.cts +1 -1
- package/dist/utils/demo-shell/index.d.ts +1 -1
- package/dist/utils/demo-shell/index.js +2 -2
- package/dist/utils/domain-templates/index.cjs.map +1 -1
- package/dist/utils/domain-templates/index.js +3 -3
- package/dist/utils/graphspec/index.cjs.map +1 -1
- package/dist/utils/graphspec/index.js +3 -3
- package/dist/utils/index.cjs +1642 -1225
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +7 -7
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.js +72 -54
- package/dist/utils/inspect/index.cjs +52 -4
- package/dist/utils/inspect/index.cjs.map +1 -1
- package/dist/utils/inspect/index.d.cts +32 -3
- package/dist/utils/inspect/index.d.ts +32 -3
- package/dist/utils/inspect/index.js +4 -4
- package/dist/utils/job-queue/index.cjs +46 -9
- package/dist/utils/job-queue/index.cjs.map +1 -1
- package/dist/utils/job-queue/index.d.cts +33 -3
- package/dist/utils/job-queue/index.d.ts +33 -3
- package/dist/utils/job-queue/index.js +2 -2
- package/dist/utils/memory/index.cjs +556 -462
- package/dist/utils/memory/index.cjs.map +1 -1
- package/dist/utils/memory/index.d.cts +203 -24
- package/dist/utils/memory/index.d.ts +203 -24
- package/dist/utils/memory/index.js +10 -2
- package/dist/utils/messaging/index.cjs.map +1 -1
- package/dist/utils/messaging/index.d.cts +4 -3
- package/dist/utils/messaging/index.d.ts +4 -3
- package/dist/utils/messaging/index.js +2 -2
- package/dist/utils/orchestration/index.cjs +9 -0
- package/dist/utils/orchestration/index.cjs.map +1 -1
- package/dist/utils/orchestration/index.js +3 -3
- package/dist/utils/process/index.cjs +32 -2
- package/dist/utils/process/index.cjs.map +1 -1
- package/dist/utils/process/index.d.cts +4 -3
- package/dist/utils/process/index.d.ts +4 -3
- package/dist/utils/process/index.js +2 -2
- package/dist/utils/reactive-layout/index.cjs +184 -55
- package/dist/utils/reactive-layout/index.cjs.map +1 -1
- package/dist/utils/reactive-layout/index.d.cts +128 -3
- package/dist/utils/reactive-layout/index.d.ts +128 -3
- package/dist/utils/reactive-layout/index.js +16 -8
- package/dist/utils/reduction/index.cjs.map +1 -1
- package/dist/utils/reduction/index.js +2 -2
- package/dist/utils/resilience/index.cjs +29 -20
- package/dist/utils/resilience/index.cjs.map +1 -1
- package/dist/utils/resilience/index.d.cts +1 -1
- package/dist/utils/resilience/index.d.ts +1 -1
- package/dist/utils/resilience/index.js +2 -2
- package/dist/utils/surface/index.cjs.map +1 -1
- package/dist/utils/surface/index.js +4 -4
- package/package.json +15 -3
- package/dist/chunk-3O3NKZJW.js.map +0 -1
- package/dist/chunk-3PSLNJDU.js.map +0 -1
- package/dist/chunk-42FQ27MQ.js.map +0 -1
- package/dist/chunk-4XCHZRUJ.js.map +0 -1
- package/dist/chunk-6ZLCPUXS.js.map +0 -1
- package/dist/chunk-7AVQIGF6.js.map +0 -1
- package/dist/chunk-BXGZFGZ4.js.map +0 -1
- package/dist/chunk-DDTS7F5O.js.map +0 -1
- package/dist/chunk-EL5VHUGK.js.map +0 -1
- package/dist/chunk-FQSQONOU.js.map +0 -1
- package/dist/chunk-IOJDYUA7.js.map +0 -1
- package/dist/chunk-KRFGO5QH.js.map +0 -1
- package/dist/chunk-MS3WPRJR.js.map +0 -1
- package/dist/chunk-NPRP3MCV.js.map +0 -1
- package/dist/chunk-NY2PYHNC.js.map +0 -1
- package/dist/chunk-PKPO3JTZ.js.map +0 -1
- package/dist/chunk-PTWADEH3.js.map +0 -1
- package/dist/chunk-T7SP3EYR.js.map +0 -1
- package/dist/chunk-VNXAF2KE.js.map +0 -1
- package/dist/chunk-W2BOPXTI.js +0 -1
- package/dist/chunk-W2BOPXTI.js.map +0 -1
- package/dist/chunk-WGDEBIP4.js.map +0 -1
- /package/dist/{chunk-R6ZCSXKX.js.map → chunk-23MAWVOJ.js.map} +0 -0
- /package/dist/{chunk-6MRSX3YK.js.map → chunk-B5Y5GPD5.js.map} +0 -0
- /package/dist/{chunk-VP3TIUDF.js.map → chunk-DVTDF5OI.js.map} +0 -0
- /package/dist/{chunk-OXD5LFQP.js.map → chunk-G7H6PN7P.js.map} +0 -0
- /package/dist/{chunk-446I4EGD.js.map → chunk-J5TBZFBD.js.map} +0 -0
- /package/dist/{chunk-QFE5BQH7.js.map → chunk-LTSI7ULC.js.map} +0 -0
- /package/dist/{chunk-KNU73RZW.js.map → chunk-NSA5K5G2.js.map} +0 -0
- /package/dist/{chunk-MLTPJMH6.js.map → chunk-QQYULEZL.js.map} +0 -0
- /package/dist/{chunk-VAZXUK6G.js.map → chunk-SUNCHMML.js.map} +0 -0
- /package/dist/{chunk-EP4WVQLX.js.map → chunk-T2U6N3FV.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,7 +1,58 @@
|
|
|
1
1
|
import "./chunk-CZQHCKKG.js";
|
|
2
|
+
import {
|
|
3
|
+
checkpointToRedis,
|
|
4
|
+
checkpointToS3,
|
|
5
|
+
csvRows,
|
|
6
|
+
fromCSV,
|
|
7
|
+
fromClickHouseWatch,
|
|
8
|
+
fromDrizzle,
|
|
9
|
+
fromHTTP,
|
|
10
|
+
fromHTTPPoll,
|
|
11
|
+
fromHTTPStream,
|
|
12
|
+
fromKafka,
|
|
13
|
+
fromKysely,
|
|
14
|
+
fromMCP,
|
|
15
|
+
fromNATS,
|
|
16
|
+
fromNDJSON,
|
|
17
|
+
fromOTel,
|
|
18
|
+
fromPrisma,
|
|
19
|
+
fromPrometheus,
|
|
20
|
+
fromPulsar,
|
|
21
|
+
fromRabbitMQ,
|
|
22
|
+
fromRedisStream,
|
|
23
|
+
fromSqlite,
|
|
24
|
+
fromSqliteCursor,
|
|
25
|
+
fromStatsD,
|
|
26
|
+
fromSyslog,
|
|
27
|
+
fromWebSocket,
|
|
28
|
+
fromWebSocketReconnect,
|
|
29
|
+
fromWebhook,
|
|
30
|
+
ndjsonRows,
|
|
31
|
+
parsePrometheusText,
|
|
32
|
+
parseStatsD,
|
|
33
|
+
parseSyslog,
|
|
34
|
+
toCSV,
|
|
35
|
+
toClickHouse,
|
|
36
|
+
toFile,
|
|
37
|
+
toHTTP,
|
|
38
|
+
toKafka,
|
|
39
|
+
toLoki,
|
|
40
|
+
toMongo,
|
|
41
|
+
toNATS,
|
|
42
|
+
toPostgres,
|
|
43
|
+
toPulsar,
|
|
44
|
+
toRabbitMQ,
|
|
45
|
+
toRedisStream,
|
|
46
|
+
toS3,
|
|
47
|
+
toSqlite,
|
|
48
|
+
toTempo,
|
|
49
|
+
toWebSocket
|
|
50
|
+
} from "./chunk-GGKHHG5Y.js";
|
|
2
51
|
import "./chunk-KPG3DGLA.js";
|
|
3
52
|
import "./chunk-T5BN5KG7.js";
|
|
4
|
-
import
|
|
53
|
+
import {
|
|
54
|
+
fromPushNotification
|
|
55
|
+
} from "./chunk-QSW4DFKE.js";
|
|
5
56
|
import "./chunk-OQUIJT7A.js";
|
|
6
57
|
import {
|
|
7
58
|
createTransport,
|
|
@@ -18,15 +69,6 @@ import {
|
|
|
18
69
|
parseCron
|
|
19
70
|
} from "./chunk-7BULJTL6.js";
|
|
20
71
|
import "./chunk-2LO3EL4W.js";
|
|
21
|
-
import {
|
|
22
|
-
InspectGraph,
|
|
23
|
-
inspect
|
|
24
|
-
} from "./chunk-LDCSZ72P.js";
|
|
25
|
-
import "./chunk-KRNQ6RGQ.js";
|
|
26
|
-
import {
|
|
27
|
-
DebateGraph,
|
|
28
|
-
heterogeneousDebate
|
|
29
|
-
} from "./chunk-X7BA5PWG.js";
|
|
30
72
|
import {
|
|
31
73
|
OwnershipControllerGraph,
|
|
32
74
|
actorPool,
|
|
@@ -36,26 +78,23 @@ import {
|
|
|
36
78
|
harnessTrace,
|
|
37
79
|
ownershipController,
|
|
38
80
|
refineExecutor
|
|
39
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-TPTZZV25.js";
|
|
82
|
+
import {
|
|
83
|
+
InspectGraph,
|
|
84
|
+
inspect
|
|
85
|
+
} from "./chunk-6YBER5UP.js";
|
|
86
|
+
import "./chunk-KRNQ6RGQ.js";
|
|
87
|
+
import {
|
|
88
|
+
DebateGraph,
|
|
89
|
+
heterogeneousDebate
|
|
90
|
+
} from "./chunk-X7BA5PWG.js";
|
|
40
91
|
import {
|
|
41
92
|
CompressionCache,
|
|
42
93
|
renderContextView,
|
|
43
94
|
taggedContextPool,
|
|
44
95
|
tierCompress
|
|
45
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-DVTDF5OI.js";
|
|
46
97
|
import "./chunk-3CEXCBN6.js";
|
|
47
|
-
import {
|
|
48
|
-
GuardedExecutionGraph,
|
|
49
|
-
guardedExecution
|
|
50
|
-
} from "./chunk-FVINAAKA.js";
|
|
51
|
-
import {
|
|
52
|
-
ResilientPipelineGraph,
|
|
53
|
-
resilientPipeline
|
|
54
|
-
} from "./chunk-WGDEBIP4.js";
|
|
55
|
-
import {
|
|
56
|
-
AgentMemoryGraph,
|
|
57
|
-
agentMemory
|
|
58
|
-
} from "./chunk-R6ZCSXKX.js";
|
|
59
98
|
import {
|
|
60
99
|
HarnessGraph,
|
|
61
100
|
RefineLoopGraph,
|
|
@@ -67,7 +106,19 @@ import {
|
|
|
67
106
|
harnessLoop,
|
|
68
107
|
refineLoop,
|
|
69
108
|
spawnable
|
|
70
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-YBJVKMTM.js";
|
|
110
|
+
import {
|
|
111
|
+
GuardedExecutionGraph,
|
|
112
|
+
guardedExecution
|
|
113
|
+
} from "./chunk-NBK6QQMG.js";
|
|
114
|
+
import {
|
|
115
|
+
ResilientPipelineGraph,
|
|
116
|
+
resilientPipeline
|
|
117
|
+
} from "./chunk-X6ESZDR6.js";
|
|
118
|
+
import {
|
|
119
|
+
AgentMemoryGraph,
|
|
120
|
+
agentMemory
|
|
121
|
+
} from "./chunk-23MAWVOJ.js";
|
|
71
122
|
import {
|
|
72
123
|
AgentGraph,
|
|
73
124
|
AgentLoopGraph,
|
|
@@ -76,15 +127,14 @@ import {
|
|
|
76
127
|
agent,
|
|
77
128
|
agentLoop,
|
|
78
129
|
presetRegistry
|
|
79
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-65OM4XLQ.js";
|
|
80
131
|
import "./chunk-HL7HUJIX.js";
|
|
81
132
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
SvgBoundsAdapter,
|
|
133
|
+
processInstanceKeyOf,
|
|
134
|
+
processManager,
|
|
135
|
+
processStateKeyOf
|
|
136
|
+
} from "./chunk-46X2EFQH.js";
|
|
137
|
+
import {
|
|
88
138
|
circleIntervalForBand,
|
|
89
139
|
computeBlockFlow,
|
|
90
140
|
computeFlowLines,
|
|
@@ -94,7 +144,7 @@ import {
|
|
|
94
144
|
reactiveBlockLayout,
|
|
95
145
|
reactiveFlowLayout,
|
|
96
146
|
rectIntervalForBand
|
|
97
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-MTODGQBR.js";
|
|
98
148
|
import {
|
|
99
149
|
SNAPSHOT_WIRE_VERSION,
|
|
100
150
|
SurfaceError,
|
|
@@ -106,11 +156,17 @@ import {
|
|
|
106
156
|
restoreSnapshot,
|
|
107
157
|
runReduction,
|
|
108
158
|
saveSnapshot
|
|
109
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-SUNCHMML.js";
|
|
110
160
|
import {
|
|
111
161
|
TopologyViewGraph,
|
|
112
162
|
topologyView
|
|
113
163
|
} from "./chunk-APY2SS5X.js";
|
|
164
|
+
import {
|
|
165
|
+
contentModerationGraph,
|
|
166
|
+
dataQualityGraph,
|
|
167
|
+
issueTrackerGraph,
|
|
168
|
+
observabilityGraph
|
|
169
|
+
} from "./chunk-NSA5K5G2.js";
|
|
114
170
|
import {
|
|
115
171
|
actuatorExecutor,
|
|
116
172
|
affectedTaskFilter,
|
|
@@ -124,28 +180,27 @@ import {
|
|
|
124
180
|
notifyEffect
|
|
125
181
|
} from "./chunk-S7HN5FHL.js";
|
|
126
182
|
import "./chunk-FDFD67UO.js";
|
|
127
|
-
import {
|
|
128
|
-
processInstanceKeyOf,
|
|
129
|
-
processManager,
|
|
130
|
-
processStateKeyOf
|
|
131
|
-
} from "./chunk-6ZLCPUXS.js";
|
|
132
183
|
import {
|
|
133
184
|
demoShell
|
|
134
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-QQYULEZL.js";
|
|
135
186
|
import {
|
|
187
|
+
CanvasMeasureAdapter,
|
|
188
|
+
CliMeasureAdapter,
|
|
189
|
+
ImageSizeAdapter,
|
|
190
|
+
InjectedMeasureAdapter,
|
|
191
|
+
IntlSegmentAdapter,
|
|
192
|
+
NodeCanvasMeasureAdapter,
|
|
193
|
+
PrecomputedAdapter,
|
|
194
|
+
SvgBoundsAdapter,
|
|
195
|
+
_resetDefaultSegmentAdapterForTests,
|
|
136
196
|
analyzeAndMeasure,
|
|
137
197
|
carveTextLineSlots,
|
|
138
198
|
computeCharPositions,
|
|
139
199
|
computeLineBreaks,
|
|
200
|
+
getDefaultSegmentAdapter,
|
|
140
201
|
layoutNextLine,
|
|
141
202
|
reactiveLayout
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import {
|
|
144
|
-
contentModerationGraph,
|
|
145
|
-
dataQualityGraph,
|
|
146
|
-
issueTrackerGraph,
|
|
147
|
-
observabilityGraph
|
|
148
|
-
} from "./chunk-KNU73RZW.js";
|
|
203
|
+
} from "./chunk-6DQYBIHW.js";
|
|
149
204
|
import {
|
|
150
205
|
emitToMeta
|
|
151
206
|
} from "./chunk-KN3H5CNT.js";
|
|
@@ -175,20 +230,13 @@ import {
|
|
|
175
230
|
cqrsEventKeyOf,
|
|
176
231
|
dispatchKeyOf,
|
|
177
232
|
sagaInvocationKeyOf
|
|
178
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-5UY3PNFY.js";
|
|
179
234
|
import {
|
|
180
235
|
computeHealthReport,
|
|
181
236
|
graphLens,
|
|
182
237
|
healthReportEqual,
|
|
183
238
|
watchTopologyTree
|
|
184
|
-
} from "./chunk-
|
|
185
|
-
import {
|
|
186
|
-
AuditTrailGraph,
|
|
187
|
-
PolicyGateGraph,
|
|
188
|
-
auditTrail,
|
|
189
|
-
complianceSnapshot,
|
|
190
|
-
policyGate
|
|
191
|
-
} from "./chunk-CEVNQ74M.js";
|
|
239
|
+
} from "./chunk-D5YGR4TP.js";
|
|
192
240
|
import {
|
|
193
241
|
DEFAULT_EXECUTE_PROMPT,
|
|
194
242
|
DEFAULT_PRESET_ID,
|
|
@@ -209,7 +257,14 @@ import {
|
|
|
209
257
|
jobEventKeyOf,
|
|
210
258
|
jobFlow,
|
|
211
259
|
jobQueue
|
|
212
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-AQAKDE7F.js";
|
|
261
|
+
import {
|
|
262
|
+
AuditTrailGraph,
|
|
263
|
+
PolicyGateGraph,
|
|
264
|
+
auditTrail,
|
|
265
|
+
complianceSnapshot,
|
|
266
|
+
policyGate
|
|
267
|
+
} from "./chunk-3YGXPUHW.js";
|
|
213
268
|
import {
|
|
214
269
|
BudgetExhaustedError,
|
|
215
270
|
LLMTimeoutError,
|
|
@@ -241,6 +296,7 @@ import {
|
|
|
241
296
|
suggestStrategyReactive,
|
|
242
297
|
systemPromptBuilder,
|
|
243
298
|
toolCallExtractor,
|
|
299
|
+
toolInterceptor,
|
|
244
300
|
toolSelector,
|
|
245
301
|
validateGraphDef,
|
|
246
302
|
withBudgetGate,
|
|
@@ -250,7 +306,7 @@ import {
|
|
|
250
306
|
withRateLimiter,
|
|
251
307
|
withRetry,
|
|
252
308
|
zeroPrice
|
|
253
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-MQMTRKY3.js";
|
|
254
310
|
import {
|
|
255
311
|
compileSpec,
|
|
256
312
|
decompileSpec,
|
|
@@ -265,14 +321,19 @@ import {
|
|
|
265
321
|
validateOwnership,
|
|
266
322
|
validateSpec,
|
|
267
323
|
validateSpecAgainstCatalog
|
|
268
|
-
} from "./chunk-
|
|
324
|
+
} from "./chunk-B5Y5GPD5.js";
|
|
325
|
+
import {
|
|
326
|
+
feedback,
|
|
327
|
+
funnel,
|
|
328
|
+
scorer
|
|
329
|
+
} from "./chunk-LTSI7ULC.js";
|
|
269
330
|
import {
|
|
270
331
|
PipelineGraph,
|
|
271
332
|
decisionKeyOf,
|
|
272
333
|
humanInput,
|
|
273
334
|
pipelineGraph,
|
|
274
335
|
tracker
|
|
275
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-ZW32BPXV.js";
|
|
276
337
|
import {
|
|
277
338
|
AllTiersExhaustedError,
|
|
278
339
|
anthropicAdapter,
|
|
@@ -281,7 +342,7 @@ import {
|
|
|
281
342
|
googleAdapter,
|
|
282
343
|
openAICompatAdapter,
|
|
283
344
|
tier
|
|
284
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-T2U6N3FV.js";
|
|
285
346
|
import {
|
|
286
347
|
CircuitOpenError,
|
|
287
348
|
RateLimiterOverflowError,
|
|
@@ -292,7 +353,7 @@ import {
|
|
|
292
353
|
rateLimiter,
|
|
293
354
|
tokenBucket,
|
|
294
355
|
withBreaker
|
|
295
|
-
} from "./chunk-
|
|
356
|
+
} from "./chunk-T5URUIIY.js";
|
|
296
357
|
import {
|
|
297
358
|
TimeoutError,
|
|
298
359
|
withTimeout
|
|
@@ -303,12 +364,7 @@ import {
|
|
|
303
364
|
dryRunAdapter,
|
|
304
365
|
fallbackAdapter,
|
|
305
366
|
withReplayCache
|
|
306
|
-
} from "./chunk-
|
|
307
|
-
import {
|
|
308
|
-
feedback,
|
|
309
|
-
funnel,
|
|
310
|
-
scorer
|
|
311
|
-
} from "./chunk-QFE5BQH7.js";
|
|
367
|
+
} from "./chunk-XEWV254I.js";
|
|
312
368
|
import {
|
|
313
369
|
ChatStreamGraph,
|
|
314
370
|
MemoryRetrievalGraph,
|
|
@@ -327,8 +383,11 @@ import {
|
|
|
327
383
|
promptNode,
|
|
328
384
|
toolExecution,
|
|
329
385
|
toolRegistry
|
|
330
|
-
} from "./chunk-
|
|
386
|
+
} from "./chunk-3REMCHSS.js";
|
|
331
387
|
import {
|
|
388
|
+
DEFAULT_DECAY_HALF_LIFE_NS,
|
|
389
|
+
DEFAULT_DECAY_PERIOD_MS,
|
|
390
|
+
ReactiveFactStoreGraph,
|
|
332
391
|
admissionLlmJudge,
|
|
333
392
|
bitemporalQuery,
|
|
334
393
|
collection,
|
|
@@ -342,8 +401,9 @@ import {
|
|
|
342
401
|
reactiveFactStore,
|
|
343
402
|
scoringByOutcome,
|
|
344
403
|
shardByTenant,
|
|
404
|
+
simpleFactStore,
|
|
345
405
|
vectorIndex
|
|
346
|
-
} from "./chunk-
|
|
406
|
+
} from "./chunk-K4ZYJ4EM.js";
|
|
347
407
|
import {
|
|
348
408
|
CONTEXT_TOPIC,
|
|
349
409
|
DEFERRED_TOPIC,
|
|
@@ -368,7 +428,24 @@ import {
|
|
|
368
428
|
topic,
|
|
369
429
|
topicBridge,
|
|
370
430
|
topicPublishKeyOf
|
|
371
|
-
} from "./chunk-
|
|
431
|
+
} from "./chunk-DHDCOOJU.js";
|
|
432
|
+
import {
|
|
433
|
+
fromSSE,
|
|
434
|
+
parseSSEStream,
|
|
435
|
+
toReadableStream,
|
|
436
|
+
toSSE,
|
|
437
|
+
toSSEBytes
|
|
438
|
+
} from "./chunk-F7EKHR32.js";
|
|
439
|
+
import {
|
|
440
|
+
withStatus
|
|
441
|
+
} from "./chunk-JA67ZQG2.js";
|
|
442
|
+
import {
|
|
443
|
+
retry
|
|
444
|
+
} from "./chunk-KUFXLAEY.js";
|
|
445
|
+
import "./chunk-TSBFTJKM.js";
|
|
446
|
+
import {
|
|
447
|
+
NS_PER_SEC
|
|
448
|
+
} from "./chunk-P5LBT622.js";
|
|
372
449
|
import {
|
|
373
450
|
DEFAULT_DECAY_RATE,
|
|
374
451
|
decay
|
|
@@ -382,17 +459,22 @@ import {
|
|
|
382
459
|
bumpCursor,
|
|
383
460
|
createAuditLog,
|
|
384
461
|
mutate,
|
|
462
|
+
readonlyAuditLog,
|
|
385
463
|
registerCursor,
|
|
386
464
|
registerCursorMap,
|
|
387
465
|
tryIncrementBounded
|
|
388
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-C5QD5DQX.js";
|
|
389
467
|
import {
|
|
390
468
|
NativePubSubBackend,
|
|
391
469
|
materialize,
|
|
392
470
|
pubsub,
|
|
393
471
|
selector,
|
|
394
472
|
verifiable
|
|
395
|
-
} from "./chunk-
|
|
473
|
+
} from "./chunk-J5TBZFBD.js";
|
|
474
|
+
import {
|
|
475
|
+
externalBundle,
|
|
476
|
+
externalProducer
|
|
477
|
+
} from "./chunk-VLDRAMP7.js";
|
|
396
478
|
import {
|
|
397
479
|
createWatermarkController,
|
|
398
480
|
toObservable
|
|
@@ -400,10 +482,10 @@ import {
|
|
|
400
482
|
import {
|
|
401
483
|
singleFromAny,
|
|
402
484
|
singleNodeFromAny
|
|
403
|
-
} from "./chunk-
|
|
485
|
+
} from "./chunk-V46JWFGV.js";
|
|
404
486
|
import {
|
|
405
487
|
distill
|
|
406
|
-
} from "./chunk-
|
|
488
|
+
} from "./chunk-G7H6PN7P.js";
|
|
407
489
|
import {
|
|
408
490
|
cached,
|
|
409
491
|
defer,
|
|
@@ -412,7 +494,7 @@ import {
|
|
|
412
494
|
share,
|
|
413
495
|
shareReplay,
|
|
414
496
|
toArray
|
|
415
|
-
} from "./chunk-
|
|
497
|
+
} from "./chunk-MMHGYX44.js";
|
|
416
498
|
import {
|
|
417
499
|
awaitSettled,
|
|
418
500
|
firstValueFrom,
|
|
@@ -420,76 +502,6 @@ import {
|
|
|
420
502
|
nodeSignal,
|
|
421
503
|
reactiveCounter
|
|
422
504
|
} from "./chunk-N6MNJNHB.js";
|
|
423
|
-
import {
|
|
424
|
-
checkpointToRedis,
|
|
425
|
-
checkpointToS3,
|
|
426
|
-
csvRows,
|
|
427
|
-
fromCSV,
|
|
428
|
-
fromClickHouseWatch,
|
|
429
|
-
fromDrizzle,
|
|
430
|
-
fromHTTP,
|
|
431
|
-
fromHTTPPoll,
|
|
432
|
-
fromHTTPStream,
|
|
433
|
-
fromKafka,
|
|
434
|
-
fromKysely,
|
|
435
|
-
fromMCP,
|
|
436
|
-
fromNATS,
|
|
437
|
-
fromNDJSON,
|
|
438
|
-
fromOTel,
|
|
439
|
-
fromPrisma,
|
|
440
|
-
fromPrometheus,
|
|
441
|
-
fromPulsar,
|
|
442
|
-
fromRabbitMQ,
|
|
443
|
-
fromRedisStream,
|
|
444
|
-
fromSqlite,
|
|
445
|
-
fromSqliteCursor,
|
|
446
|
-
fromStatsD,
|
|
447
|
-
fromSyslog,
|
|
448
|
-
fromWebSocket,
|
|
449
|
-
fromWebSocketReconnect,
|
|
450
|
-
fromWebhook,
|
|
451
|
-
ndjsonRows,
|
|
452
|
-
parsePrometheusText,
|
|
453
|
-
parseStatsD,
|
|
454
|
-
parseSyslog,
|
|
455
|
-
toCSV,
|
|
456
|
-
toClickHouse,
|
|
457
|
-
toFile,
|
|
458
|
-
toHTTP,
|
|
459
|
-
toKafka,
|
|
460
|
-
toLoki,
|
|
461
|
-
toMongo,
|
|
462
|
-
toNATS,
|
|
463
|
-
toPostgres,
|
|
464
|
-
toPulsar,
|
|
465
|
-
toRabbitMQ,
|
|
466
|
-
toRedisStream,
|
|
467
|
-
toS3,
|
|
468
|
-
toSqlite,
|
|
469
|
-
toTempo,
|
|
470
|
-
toWebSocket
|
|
471
|
-
} from "./chunk-EL5VHUGK.js";
|
|
472
|
-
import {
|
|
473
|
-
fromSSE,
|
|
474
|
-
parseSSEStream,
|
|
475
|
-
toReadableStream,
|
|
476
|
-
toSSE,
|
|
477
|
-
toSSEBytes
|
|
478
|
-
} from "./chunk-F7EKHR32.js";
|
|
479
|
-
import {
|
|
480
|
-
withStatus
|
|
481
|
-
} from "./chunk-JA67ZQG2.js";
|
|
482
|
-
import {
|
|
483
|
-
retry
|
|
484
|
-
} from "./chunk-KUFXLAEY.js";
|
|
485
|
-
import "./chunk-TSBFTJKM.js";
|
|
486
|
-
import {
|
|
487
|
-
NS_PER_SEC
|
|
488
|
-
} from "./chunk-P5LBT622.js";
|
|
489
|
-
import {
|
|
490
|
-
externalBundle,
|
|
491
|
-
externalProducer
|
|
492
|
-
} from "./chunk-VLDRAMP7.js";
|
|
493
505
|
import "./chunk-AZDQPQ3V.js";
|
|
494
506
|
|
|
495
507
|
// src/index.ts
|
|
@@ -510,6 +522,8 @@ export {
|
|
|
510
522
|
CompressionCache,
|
|
511
523
|
CqrsGraph,
|
|
512
524
|
DEFAULT_AUDIT_GUARD,
|
|
525
|
+
DEFAULT_DECAY_HALF_LIFE_NS,
|
|
526
|
+
DEFAULT_DECAY_PERIOD_MS,
|
|
513
527
|
DEFAULT_DECAY_RATE,
|
|
514
528
|
DEFAULT_EXECUTE_PROMPT,
|
|
515
529
|
DEFAULT_PRESET_ID,
|
|
@@ -526,7 +540,9 @@ export {
|
|
|
526
540
|
HarnessGraph,
|
|
527
541
|
INJECTIONS_TOPIC,
|
|
528
542
|
ImageSizeAdapter,
|
|
543
|
+
InjectedMeasureAdapter,
|
|
529
544
|
InspectGraph,
|
|
545
|
+
IntlSegmentAdapter,
|
|
530
546
|
JobFlowGraph,
|
|
531
547
|
JobQueueGraph,
|
|
532
548
|
LLMTimeoutError,
|
|
@@ -548,6 +564,7 @@ export {
|
|
|
548
564
|
QUEUE_NAMES,
|
|
549
565
|
RESPONSES_TOPIC,
|
|
550
566
|
RateLimiterOverflowError,
|
|
567
|
+
ReactiveFactStoreGraph,
|
|
551
568
|
RebuildError,
|
|
552
569
|
RefineLoopGraph,
|
|
553
570
|
ReplayCacheMissError,
|
|
@@ -570,6 +587,7 @@ export {
|
|
|
570
587
|
UndeclaredEmitError,
|
|
571
588
|
UnknownCommandError,
|
|
572
589
|
ZERO_COST,
|
|
590
|
+
_resetDefaultSegmentAdapterForTests,
|
|
573
591
|
actorPool,
|
|
574
592
|
actuatorExecutor,
|
|
575
593
|
adaptiveRateLimiter,
|
|
@@ -678,6 +696,7 @@ export {
|
|
|
678
696
|
fromPrisma,
|
|
679
697
|
fromPrometheus,
|
|
680
698
|
fromPulsar,
|
|
699
|
+
fromPushNotification,
|
|
681
700
|
fromRabbitMQ,
|
|
682
701
|
fromRedisStream,
|
|
683
702
|
fromSSE,
|
|
@@ -693,6 +712,7 @@ export {
|
|
|
693
712
|
gatedStream,
|
|
694
713
|
gaugesAsContext,
|
|
695
714
|
generateCatalogPrompt,
|
|
715
|
+
getDefaultSegmentAdapter,
|
|
696
716
|
googleAdapter,
|
|
697
717
|
graphFromSpec,
|
|
698
718
|
graphFromSpecReactive,
|
|
@@ -776,6 +796,7 @@ export {
|
|
|
776
796
|
reactiveFactStore,
|
|
777
797
|
reactiveFlowLayout,
|
|
778
798
|
reactiveLayout,
|
|
799
|
+
readonlyAuditLog,
|
|
779
800
|
rectIntervalForBand,
|
|
780
801
|
redactor,
|
|
781
802
|
refineExecutor,
|
|
@@ -801,6 +822,7 @@ export {
|
|
|
801
822
|
share,
|
|
802
823
|
shareReplay,
|
|
803
824
|
signalToName,
|
|
825
|
+
simpleFactStore,
|
|
804
826
|
singleFromAny,
|
|
805
827
|
singleNodeFromAny,
|
|
806
828
|
spawnable,
|
|
@@ -842,6 +864,7 @@ export {
|
|
|
842
864
|
tokenBucket,
|
|
843
865
|
toolCallExtractor,
|
|
844
866
|
toolExecution,
|
|
867
|
+
toolInterceptor,
|
|
845
868
|
toolRegistry,
|
|
846
869
|
toolSelector,
|
|
847
870
|
topic,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @graphrefly/graphrefly — presentation layer for the GraphReFly reactive graph protocol.\n *\n * This package composes:\n * 1. Substrate re-export from @graphrefly/pure-ts (ergonomic single-import: node,\n * state, graph, derived, effect, produce, batch, operators, data-structures,\n * storage, stratify, fromTimer, fromPromise, fromAsyncIter, fromAny, etc.)\n * 2. Presentation layers (base → utils → presets → solutions) — patterns, IO\n * adapters, composition helpers, mutation wrappers, render, compat adapters.\n *\n * Peer dependency: @graphrefly/pure-ts.\n *\n * NOTE (2026-05-15): the install-time `@graphrefly/native` drop-in via\n * `overrides` (Q28 = option (c), D198) is NOT functional today and is\n * design-pending. `@graphrefly/native`'s napi surface is irreducibly\n * async (Core on a tokio blocking pool; sync calls deadlock — D070/D077),\n * while this presentation package consumes pure-ts's SYNC public API\n * (sync `node()/state()/map()`, sync `.cache` at construction, sync\n * `.subscribe/.emit/.down`). A `@graphrefly/pure-ts`→`@graphrefly/native`\n * override would therefore break every substrate call. The only\n * documented coherent path is D080 (async-everywhere public API across\n * all siblings), which is itself deferred to near-1.0 and was never\n * reconciled with the Q28/D198 overrides framing. Until that design\n * session lands, `@graphrefly/pure-ts` is the only working substrate\n * provider; `@graphrefly/native` is a parity-test arm, not a consumable\n * drop-in. See `docs/optimizations.md` \"Native substrate contract\n * (D080 ↔ Q28/D198 unreconciled)\".\n *\n * Node-only subpath: @graphrefly/graphrefly/base/sources/node\n * Browser-only subpath: @graphrefly/graphrefly/base/sources/browser\n * Compat per-framework: @graphrefly/graphrefly/compat/<framework>\n *\n * @module\n */\n\n// 1. Substrate — node, state, graph, extra (operators, data-structures, storage, sources)\nexport * from \"@graphrefly/pure-ts\";\n\n// 2. Presentation layers (top-down per 4-layer model; CI-enforced by Biome layer-boundary rule)\nexport * from \"./base/index.js\";\nexport * from \"./presets/index.js\";\nexport * from \"./solutions/index.js\";\nexport * from \"./utils/index.js\";\n// compat is namespaced; import from @graphrefly/graphrefly/compat/<framework>\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @graphrefly/graphrefly — presentation layer for the GraphReFly reactive graph protocol.\n *\n * This package composes:\n * 1. Substrate re-export from @graphrefly/pure-ts (ergonomic single-import: node,\n * state, graph, derived, effect, produce, batch, operators, data-structures,\n * storage, stratify, fromTimer, fromPromise, fromAsyncIter, fromAny, etc.)\n * 2. Presentation layers (base → utils → presets → solutions) — patterns, IO\n * adapters, composition helpers, mutation wrappers, render, compat adapters.\n *\n * Peer dependency: @graphrefly/pure-ts.\n *\n * NOTE (2026-05-15): the install-time `@graphrefly/native` drop-in via\n * `overrides` (Q28 = option (c), D198) is NOT functional today and is\n * design-pending. `@graphrefly/native`'s napi surface is irreducibly\n * async (Core on a tokio blocking pool; sync calls deadlock — D070/D077),\n * while this presentation package consumes pure-ts's SYNC public API\n * (sync `node()/state()/map()`, sync `.cache` at construction, sync\n * `.subscribe/.emit/.down`). A `@graphrefly/pure-ts`→`@graphrefly/native`\n * override would therefore break every substrate call. The only\n * documented coherent path is D080 (async-everywhere public API across\n * all siblings), which is itself deferred to near-1.0 and was never\n * reconciled with the Q28/D198 overrides framing. Until that design\n * session lands, `@graphrefly/pure-ts` is the only working substrate\n * provider; `@graphrefly/native` is a parity-test arm, not a consumable\n * drop-in. See `docs/optimizations.md` \"Native substrate contract\n * (D080 ↔ Q28/D198 unreconciled)\".\n *\n * Node-only subpath: @graphrefly/graphrefly/base/sources/node\n * Browser-only subpath: @graphrefly/graphrefly/base/sources/browser\n * Compat per-framework: @graphrefly/graphrefly/compat/<framework>\n *\n * @module\n */\n\n// 1. Substrate — node, state, graph, extra (operators, data-structures, storage, sources)\nexport * from \"@graphrefly/pure-ts\";\n\n// 2. Presentation layers (top-down per 4-layer model; CI-enforced by Biome layer-boundary rule)\nexport * from \"./base/index.js\";\nexport * from \"./presets/index.js\";\nexport * from \"./solutions/index.js\";\nexport * from \"./utils/index.js\";\n// compat is namespaced; import from @graphrefly/graphrefly/compat/<framework>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,cAAc;","names":[]}
|
|
@@ -1659,6 +1659,11 @@ var AgentLoopGraph = class extends import_graph5.Graph {
|
|
|
1659
1659
|
chat.append("assistant", response.content, {
|
|
1660
1660
|
toolCalls: response.toolCalls
|
|
1661
1661
|
});
|
|
1662
|
+
if (capReached && hasToolCalls) {
|
|
1663
|
+
for (const tc of response.toolCalls) {
|
|
1664
|
+
chat.appendToolResult(tc.id, "[tool call denied: maxTurns reached]");
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1662
1667
|
});
|
|
1663
1668
|
},
|
|
1664
1669
|
{ describeKind: "effect" }
|
|
@@ -1680,6 +1685,45 @@ var AgentLoopGraph = class extends import_graph5.Graph {
|
|
|
1680
1685
|
},
|
|
1681
1686
|
{ describeKind: "effect" }
|
|
1682
1687
|
);
|
|
1688
|
+
const effFullDeny = gatedToolCallsNode !== toolCallsRaw ? (0, import_core11.node)(
|
|
1689
|
+
[toolCallsRaw, gatedToolCallsNode],
|
|
1690
|
+
(batchData) => {
|
|
1691
|
+
if (latestAborted) return;
|
|
1692
|
+
const rawBatch = batchData[0];
|
|
1693
|
+
const gatedBatch = batchData[1];
|
|
1694
|
+
const rawCalls = rawBatch != null && rawBatch.length > 0 ? rawBatch.at(-1) : null;
|
|
1695
|
+
if (rawCalls == null || rawCalls.length === 0) return;
|
|
1696
|
+
const gatedCalls = gatedBatch != null && gatedBatch.length > 0 ? gatedBatch.at(-1) : null;
|
|
1697
|
+
const allowedIds = gatedCalls === null ? null : new Set(gatedCalls.map((c) => c.id));
|
|
1698
|
+
const denied = allowedIds === null ? rawCalls : rawCalls.filter((c) => !allowedIds.has(c.id));
|
|
1699
|
+
if (denied.length === 0) return;
|
|
1700
|
+
const isFullDeny = gatedCalls === null;
|
|
1701
|
+
(0, import_core11.batch)(() => {
|
|
1702
|
+
if (isFullDeny) {
|
|
1703
|
+
statusNode.emit(latestTurn >= maxTurns ? "done" : "thinking");
|
|
1704
|
+
}
|
|
1705
|
+
for (const c of denied)
|
|
1706
|
+
chat.appendToolResult(c.id, "[tool call denied by interceptor]");
|
|
1707
|
+
});
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
name: "fullDenyRecovery",
|
|
1711
|
+
describeKind: "effect",
|
|
1712
|
+
meta: aiMeta("agent_full_deny_recovery"),
|
|
1713
|
+
// MUST be explicit: the core `node()` default is
|
|
1714
|
+
// `partial: false` (node.ts `opts.partial ?? false`),
|
|
1715
|
+
// and `gatedToolCallsNode` only ever emits RESOLVED on the
|
|
1716
|
+
// full-deny path (never DATA/terminal). Spec R2.7.0
|
|
1717
|
+
// (DS-2.7.A, 2026-05-19) holds the `partial: false`
|
|
1718
|
+
// first-run gate until every dep has contributed real
|
|
1719
|
+
// DATA, so a `partial: false` effFullDeny would hold the
|
|
1720
|
+
// fn FOREVER. Spec R2.7.2 = `partial: true` disables the
|
|
1721
|
+
// gate; the fn body's `denied`-subtraction guard above
|
|
1722
|
+
// covers the SENTINEL slot per the R2.7.2 author
|
|
1723
|
+
// contract.
|
|
1724
|
+
partial: true
|
|
1725
|
+
}
|
|
1726
|
+
) : null;
|
|
1683
1727
|
let latestStatus = statusNode.cache ?? "idle";
|
|
1684
1728
|
const statusSub = statusNode.subscribe((msgs) => {
|
|
1685
1729
|
for (const m of msgs) if (m[0] === import_core11.DATA) latestStatus = m[1];
|
|
@@ -1699,6 +1743,7 @@ var AgentLoopGraph = class extends import_graph5.Graph {
|
|
|
1699
1743
|
);
|
|
1700
1744
|
const kaResponse = (0, import_extra7.keepalive)(effResponse);
|
|
1701
1745
|
const kaResults = (0, import_extra7.keepalive)(effResults);
|
|
1746
|
+
const kaFullDeny = effFullDeny ? (0, import_extra7.keepalive)(effFullDeny) : null;
|
|
1702
1747
|
const kaAbort = (0, import_extra7.keepalive)(effAbort);
|
|
1703
1748
|
this._terminalResult = (0, import_core11.node)(
|
|
1704
1749
|
[statusNode, lastResponseState],
|
|
@@ -1751,6 +1796,7 @@ var AgentLoopGraph = class extends import_graph5.Graph {
|
|
|
1751
1796
|
this.addDisposer(statusSub);
|
|
1752
1797
|
this.addDisposer(kaResponse);
|
|
1753
1798
|
this.addDisposer(kaResults);
|
|
1799
|
+
if (kaFullDeny) this.addDisposer(kaFullDeny);
|
|
1754
1800
|
this.addDisposer(kaAbort);
|
|
1755
1801
|
this._disposeRunWiring = () => {
|
|
1756
1802
|
};
|