@sixb/core 0.2.4 → 0.2.6
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/actions/index.js +41 -40
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/validation.d.ts.map +1 -1
- package/dist/agents/errors.d.ts +1 -1
- package/dist/agents/errors.d.ts.map +1 -1
- package/dist/agents/execution.d.ts +50 -3
- package/dist/agents/execution.d.ts.map +1 -1
- package/dist/agents/ids.d.ts +2 -0
- package/dist/agents/ids.d.ts.map +1 -1
- package/dist/agents/index.d.ts +7 -5
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +74 -50
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/model-routing.d.ts +5 -2
- package/dist/agents/model-routing.d.ts.map +1 -1
- package/dist/agents/queued-turn.d.ts +16 -0
- package/dist/agents/queued-turn.d.ts.map +1 -0
- package/dist/agents/request.d.ts +120 -1
- package/dist/agents/request.d.ts.map +1 -1
- package/dist/agents/run-after-finish.d.ts +10 -0
- package/dist/agents/run-after-finish.d.ts.map +1 -1
- package/dist/agents/run-artifacts.d.ts +0 -38
- package/dist/agents/run-artifacts.d.ts.map +1 -1
- package/dist/agents/run-events.d.ts +10 -1
- package/dist/agents/run-events.d.ts.map +1 -1
- package/dist/agents/run-session-children.d.ts.map +1 -1
- package/dist/agents/run-session-http.d.ts.map +1 -1
- package/dist/agents/run-session-serve.d.ts.map +1 -1
- package/dist/agents/run-session.d.ts +14 -1
- package/dist/agents/run-session.d.ts.map +1 -1
- package/dist/agents/run-turn.d.ts +9 -1
- package/dist/agents/run-turn.d.ts.map +1 -1
- package/dist/agents/streams/index.d.ts +1 -1
- package/dist/agents/streams/index.d.ts.map +1 -1
- package/dist/agents/streams/index.js +1 -1
- package/dist/agents/streams/internal.d.ts +2 -1
- package/dist/agents/streams/internal.d.ts.map +1 -1
- package/dist/agents/streams/internal.js +22 -2
- package/dist/agents/streams/internal.js.map +1 -1
- package/dist/agents/streams/protocol.d.ts +53 -0
- package/dist/agents/streams/protocol.d.ts.map +1 -1
- package/dist/agents/streams/steps.d.ts +24 -0
- package/dist/agents/streams/steps.d.ts.map +1 -0
- package/dist/agents/thread-access.d.ts +44 -2
- package/dist/agents/thread-access.d.ts.map +1 -1
- package/dist/agents/turn-answered.d.ts +7 -0
- package/dist/agents/turn-answered.d.ts.map +1 -0
- package/dist/agents/validation.d.ts +1 -1
- package/dist/agents/validation.d.ts.map +1 -1
- package/dist/artifacts/canvas-display.d.ts +3 -5
- package/dist/artifacts/canvas-display.d.ts.map +1 -1
- package/dist/artifacts/comments.d.ts +14 -3
- package/dist/artifacts/comments.d.ts.map +1 -1
- package/dist/artifacts/document-fill.d.ts +18 -0
- package/dist/artifacts/document-fill.d.ts.map +1 -0
- package/dist/artifacts/errors.d.ts +1 -1
- package/dist/artifacts/errors.d.ts.map +1 -1
- package/dist/artifacts/events.d.ts +3 -2
- package/dist/artifacts/events.d.ts.map +1 -1
- package/dist/artifacts/execution.d.ts +40 -4
- package/dist/artifacts/execution.d.ts.map +1 -1
- package/dist/artifacts/frames/assets.d.ts +8 -1
- package/dist/artifacts/frames/assets.d.ts.map +1 -1
- package/dist/artifacts/frames/document-data.d.ts +98 -0
- package/dist/artifacts/frames/document-data.d.ts.map +1 -0
- package/dist/artifacts/frames/entries.d.ts +12 -7
- package/dist/artifacts/frames/entries.d.ts.map +1 -1
- package/dist/artifacts/frames/index.d.ts +2 -1
- package/dist/artifacts/frames/index.d.ts.map +1 -1
- package/dist/artifacts/frames/index.js +22 -13
- package/dist/artifacts/frames/index.js.map +4 -4
- package/dist/artifacts/frames/kit.d.ts +15 -0
- package/dist/artifacts/frames/kit.d.ts.map +1 -1
- package/dist/artifacts/frames/protocol.d.ts +12 -1
- package/dist/artifacts/frames/protocol.d.ts.map +1 -1
- package/dist/artifacts/frames/runtime.d.ts +24 -4
- package/dist/artifacts/frames/runtime.d.ts.map +1 -1
- package/dist/artifacts/index.d.ts +3 -1
- package/dist/artifacts/index.d.ts.map +1 -1
- package/dist/artifacts/index.js +9 -3
- package/dist/artifacts/index.js.map +3 -3
- package/dist/artifacts/live/blocks.d.ts +62 -0
- package/dist/artifacts/live/blocks.d.ts.map +1 -0
- package/dist/artifacts/live/board.d.ts +6 -0
- package/dist/artifacts/live/board.d.ts.map +1 -1
- package/dist/artifacts/live/document.d.ts +12 -0
- package/dist/artifacts/live/document.d.ts.map +1 -1
- package/dist/artifacts/live/index.d.ts +2 -0
- package/dist/artifacts/live/index.d.ts.map +1 -1
- package/dist/artifacts/live/index.js +148 -44
- package/dist/artifacts/live/index.js.map +3 -3
- package/dist/artifacts/live/page.d.ts +49 -0
- package/dist/artifacts/live/page.d.ts.map +1 -0
- package/dist/artifacts/live/protocol.d.ts +5 -0
- package/dist/artifacts/live/protocol.d.ts.map +1 -1
- package/dist/artifacts/live/server.d.ts +2 -2
- package/dist/artifacts/live/server.d.ts.map +1 -1
- package/dist/artifacts/live/server.js +29 -24
- package/dist/artifacts/live/server.js.map +1 -1
- package/dist/artifacts/live/state.d.ts +4 -1
- package/dist/artifacts/live/state.d.ts.map +1 -1
- package/dist/artifacts/outline.d.ts +16 -0
- package/dist/artifacts/outline.d.ts.map +1 -1
- package/dist/artifacts/paper.d.ts +22 -0
- package/dist/artifacts/paper.d.ts.map +1 -0
- package/dist/artifacts/pdf-job.d.ts +9 -0
- package/dist/artifacts/pdf-job.d.ts.map +1 -0
- package/dist/artifacts/publish/fields.d.ts +25 -0
- package/dist/artifacts/publish/fields.d.ts.map +1 -0
- package/dist/artifacts/publish/index.d.ts +2 -1
- package/dist/artifacts/publish/index.d.ts.map +1 -1
- package/dist/artifacts/publish/index.js +32 -23
- package/dist/artifacts/publish/index.js.map +1 -1
- package/dist/artifacts/publish/merge.d.ts +7 -6
- package/dist/artifacts/publish/merge.d.ts.map +1 -1
- package/dist/artifacts/publish/pdf.d.ts +28 -0
- package/dist/artifacts/publish/pdf.d.ts.map +1 -0
- package/dist/artifacts/publish/previews.d.ts +12 -20
- package/dist/artifacts/publish/previews.d.ts.map +1 -1
- package/dist/artifacts/publish/publish.d.ts.map +1 -1
- package/dist/artifacts/publish/queries.d.ts +6 -1
- package/dist/artifacts/publish/queries.d.ts.map +1 -1
- package/dist/artifacts/publish/query-answers.d.ts +5 -2
- package/dist/artifacts/publish/query-answers.d.ts.map +1 -1
- package/dist/artifacts/publish/validate/document-html.d.ts +24 -0
- package/dist/artifacts/publish/validate/document-html.d.ts.map +1 -0
- package/dist/artifacts/publish/validate/document.d.ts +5 -3
- package/dist/artifacts/publish/validate/document.d.ts.map +1 -1
- package/dist/artifacts/queries.d.ts +16 -2
- package/dist/artifacts/queries.d.ts.map +1 -1
- package/dist/artifacts/run-query.d.ts.map +1 -1
- package/dist/auth/index.js +6 -6
- package/dist/authorization/event-visibility.d.ts.map +1 -1
- package/dist/authorization/index.js +2 -2
- package/dist/blob-storage/index.js +1 -1
- package/dist/bootstrap/index.js +50 -48
- package/dist/bootstrap/index.js.map +2 -2
- package/dist/calendar.d.ts +55 -0
- package/dist/calendar.d.ts.map +1 -0
- package/dist/calendar.js +19 -0
- package/dist/calendar.js.map +9 -0
- package/dist/{chunk-5a4a52tq.js → chunk-0pmpwn3g.js} +18 -2
- package/dist/chunk-0pmpwn3g.js.map +10 -0
- package/dist/{chunk-0k3r5kb3.js → chunk-394zjzjs.js} +20 -10
- package/dist/{chunk-0k3r5kb3.js.map → chunk-394zjzjs.js.map} +5 -5
- package/dist/{chunk-stmxh0hv.js → chunk-3neam1y5.js} +2 -2
- package/dist/{chunk-zeykm8my.js → chunk-3qtk0070.js} +16 -42
- package/dist/chunk-3qtk0070.js.map +14 -0
- package/dist/{chunk-p8pgnq8d.js → chunk-425ydk65.js} +5 -5
- package/dist/{chunk-p351afzm.js → chunk-5sswe5ej.js} +2 -2
- package/dist/{chunk-a6fjkcne.js → chunk-60662fyv.js} +54 -28
- package/dist/{chunk-a6fjkcne.js.map → chunk-60662fyv.js.map} +7 -6
- package/dist/{chunk-e0hnbb1m.js → chunk-61zptves.js} +1 -1
- package/dist/chunk-6hfbz4d0.js +98 -0
- package/dist/chunk-6hfbz4d0.js.map +10 -0
- package/dist/{chunk-3zagkr6w.js → chunk-7mhbs9yy.js} +4 -4
- package/dist/{chunk-3zagkr6w.js.map → chunk-7mhbs9yy.js.map} +1 -1
- package/dist/{chunk-gxwy4c3s.js → chunk-7r9mqpva.js} +570 -104
- package/dist/chunk-7r9mqpva.js.map +47 -0
- package/dist/{chunk-3014rfjz.js → chunk-88xeh6zx.js} +28 -8
- package/dist/{chunk-3014rfjz.js.map → chunk-88xeh6zx.js.map} +4 -4
- package/dist/{chunk-9nsjjd44.js → chunk-8tv3qd65.js} +2 -1
- package/dist/chunk-8tv3qd65.js.map +12 -0
- package/dist/chunk-90nqenq8.js +386 -0
- package/dist/chunk-90nqenq8.js.map +14 -0
- package/dist/{chunk-fe6r7yhg.js → chunk-92wrka15.js} +1 -1
- package/dist/{chunk-w1wq7gfr.js → chunk-9c9yknwt.js} +464 -29
- package/dist/{chunk-w1wq7gfr.js.map → chunk-9c9yknwt.js.map} +7 -7
- package/dist/{chunk-q9nkpr8k.js → chunk-9tpmfh3n.js} +1 -1
- package/dist/chunk-9wr3yajk.js.map +2 -2
- package/dist/{chunk-rtm1jq00.js → chunk-ats8y3d9.js} +1202 -246
- package/dist/{chunk-rtm1jq00.js.map → chunk-ats8y3d9.js.map} +16 -14
- package/dist/{chunk-td26wjr5.js → chunk-bcz9dxtf.js} +17 -47
- package/dist/chunk-bcz9dxtf.js.map +12 -0
- package/dist/chunk-bqr703h4.js +1799 -0
- package/dist/chunk-bqr703h4.js.map +13 -0
- package/dist/{chunk-sysnvjce.js → chunk-brhp9d97.js} +2 -2
- package/dist/{chunk-8a8k38tz.js → chunk-brybqw5k.js} +1 -1
- package/dist/{chunk-rsxb14an.js → chunk-bs1sd0e0.js} +12 -8
- package/dist/chunk-bs1sd0e0.js.map +18 -0
- package/dist/{chunk-eptrvnby.js → chunk-c29729me.js} +42 -3
- package/dist/chunk-c29729me.js.map +12 -0
- package/dist/{chunk-855w9nvw.js → chunk-cg7cygfj.js} +1 -1
- package/dist/chunk-dq3t5sr3.js +114 -0
- package/dist/chunk-dq3t5sr3.js.map +11 -0
- package/dist/{chunk-t24yktqr.js → chunk-dvgc56n2.js} +20 -4
- package/dist/{chunk-t24yktqr.js.map → chunk-dvgc56n2.js.map} +5 -5
- package/dist/{chunk-r2psmn42.js → chunk-eg6xqef7.js} +1 -1
- package/dist/{chunk-7kpqntgw.js → chunk-f05994as.js} +1 -1
- package/dist/{chunk-msyevpp3.js → chunk-fmgf9h5e.js} +38 -14
- package/dist/chunk-fmgf9h5e.js.map +22 -0
- package/dist/{chunk-b9qfh2ya.js → chunk-fzbhybya.js} +29 -2
- package/dist/chunk-fzbhybya.js.map +11 -0
- package/dist/{chunk-t0s7b3d1.js → chunk-gaj8djsw.js} +251 -6
- package/dist/chunk-gaj8djsw.js.map +13 -0
- package/dist/{chunk-2bn6813a.js → chunk-grt2j5vp.js} +2 -2
- package/dist/{chunk-s7xqfxs9.js → chunk-hkbks1xm.js} +3 -1
- package/dist/{chunk-s7xqfxs9.js.map → chunk-hkbks1xm.js.map} +3 -3
- package/dist/chunk-hn2r7z41.js.map +1 -1
- package/dist/{chunk-rtdrm592.js → chunk-htdzx40w.js} +2 -2
- package/dist/{chunk-bc3y6gff.js → chunk-jka26v8c.js} +1 -1
- package/dist/{chunk-yy914zfr.js → chunk-jt012fxq.js} +772 -98
- package/dist/chunk-jt012fxq.js.map +34 -0
- package/dist/{chunk-48c1z8nj.js → chunk-kft7mp7z.js} +28 -3
- package/dist/chunk-kft7mp7z.js.map +10 -0
- package/dist/chunk-mbwsgjn7.js +40 -0
- package/dist/chunk-mbwsgjn7.js.map +11 -0
- package/dist/{chunk-wa05txmk.js → chunk-n1hbwc6y.js} +51 -8
- package/dist/chunk-n1hbwc6y.js.map +12 -0
- package/dist/{chunk-n4zzaf6q.js → chunk-nxysqbt0.js} +4 -2
- package/dist/chunk-nxysqbt0.js.map +10 -0
- package/dist/{chunk-6ef4esq4.js → chunk-pqj8vff9.js} +4 -4
- package/dist/chunk-pvpq483h.js.map +2 -2
- package/dist/{chunk-mzx71snp.js → chunk-q7g9cqwt.js} +7 -2
- package/dist/{chunk-mzx71snp.js.map → chunk-q7g9cqwt.js.map} +3 -3
- package/dist/{chunk-n68vz95m.js → chunk-qbd282aa.js} +2 -2
- package/dist/{chunk-e91fmg6t.js → chunk-qsa7nw6f.js} +2 -1
- package/dist/{chunk-e91fmg6t.js.map → chunk-qsa7nw6f.js.map} +3 -3
- package/dist/{chunk-rsrc7vtw.js → chunk-s8xxef60.js} +240 -46
- package/dist/chunk-s8xxef60.js.map +50 -0
- package/dist/{chunk-r9rtavg9.js → chunk-t19wjmnc.js} +7 -7
- package/dist/{chunk-vzkxqf8h.js → chunk-tapdssb5.js} +50 -6
- package/dist/chunk-tapdssb5.js.map +23 -0
- package/dist/{chunk-dhkc9b23.js → chunk-v8a1qjzp.js} +1 -1
- package/dist/{chunk-hvbvq7p4.js → chunk-vs2s3p8n.js} +731 -10
- package/dist/chunk-vs2s3p8n.js.map +20 -0
- package/dist/chunk-vtjzwymr.js.map +2 -2
- package/dist/{chunk-8t2ynwg0.js → chunk-wzcjhv54.js} +31 -1
- package/dist/{chunk-8t2ynwg0.js.map → chunk-wzcjhv54.js.map} +3 -3
- package/dist/{chunk-8tqnsx3q.js → chunk-xavet0qs.js} +5 -3
- package/dist/{chunk-8tqnsx3q.js.map → chunk-xavet0qs.js.map} +3 -3
- package/dist/{chunk-8bns0y68.js → chunk-xf76csps.js} +5 -5
- package/dist/{chunk-cwdzcv37.js → chunk-xrmbhap8.js} +2 -2
- package/dist/{chunk-cwdzcv37.js.map → chunk-xrmbhap8.js.map} +2 -2
- package/dist/{chunk-f6ahf5gf.js → chunk-xxfj0rr2.js} +20 -5
- package/dist/chunk-xxfj0rr2.js.map +13 -0
- package/dist/{chunk-3hzhcfsv.js → chunk-y8fwm3z2.js} +2 -2
- package/dist/{chunk-3hzhcfsv.js.map → chunk-y8fwm3z2.js.map} +3 -3
- package/dist/{chunk-smnt672s.js → chunk-ygvay56w.js} +20 -4
- package/dist/chunk-ygvay56w.js.map +10 -0
- package/dist/{chunk-evj5jxz3.js → chunk-ykchk644.js} +63 -15
- package/dist/{chunk-evj5jxz3.js.map → chunk-ykchk644.js.map} +7 -7
- package/dist/{chunk-vepea5c3.js → chunk-ym1bqd98.js} +6 -6
- package/dist/{chunk-yv8hv4wq.js → chunk-z4jqb44a.js} +3 -1
- package/dist/chunk-z4jqb44a.js.map +10 -0
- package/dist/connectors/connection-handles.d.ts +9 -0
- package/dist/connectors/connection-handles.d.ts.map +1 -0
- package/dist/connectors/connections/authorizations.d.ts +9 -0
- package/dist/connectors/connections/authorizations.d.ts.map +1 -1
- package/dist/connectors/connections/capability.d.ts +11 -0
- package/dist/connectors/connections/capability.d.ts.map +1 -1
- package/dist/connectors/connections/events.d.ts +17 -0
- package/dist/connectors/connections/events.d.ts.map +1 -0
- package/dist/connectors/connections/internal.d.ts +2 -1
- package/dist/connectors/connections/internal.d.ts.map +1 -1
- package/dist/connectors/connections/internal.js +8 -4
- package/dist/connectors/connections/internal.js.map +1 -1
- package/dist/connectors/connections/runs.d.ts +3 -0
- package/dist/connectors/connections/runs.d.ts.map +1 -1
- package/dist/connectors/connections/service.d.ts +13 -1
- package/dist/connectors/connections/service.d.ts.map +1 -1
- package/dist/connectors/execution.d.ts +14 -2
- package/dist/connectors/execution.d.ts.map +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.d.ts.map +1 -1
- package/dist/connectors/service.d.ts +5 -1
- package/dist/connectors/service.d.ts.map +1 -1
- package/dist/connectors/types.d.ts +22 -1
- package/dist/connectors/types.d.ts.map +1 -1
- package/dist/datasets/write.js +1 -1
- package/dist/deploy/index.d.ts +1 -1
- package/dist/deploy/index.d.ts.map +1 -1
- package/dist/deploy/internal.js +3 -2
- package/dist/deploy/internal.js.map +3 -3
- package/dist/deploy/services.d.ts.map +1 -1
- package/dist/deploy/types.d.ts +22 -2
- package/dist/deploy/types.d.ts.map +1 -1
- package/dist/events/definitions.d.ts +4 -0
- package/dist/events/definitions.d.ts.map +1 -1
- package/dist/events/execution.d.ts +8 -1
- package/dist/events/execution.d.ts.map +1 -1
- package/dist/events/index.d.ts +2 -2
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +3 -3
- package/dist/events/outbox-dispatcher.d.ts +7 -0
- package/dist/events/outbox-dispatcher.d.ts.map +1 -1
- package/dist/events/scope.d.ts +1 -0
- package/dist/events/scope.d.ts.map +1 -1
- package/dist/events/scope.js +1 -1
- package/dist/events/selectors/builder.d.ts +9 -1
- package/dist/events/selectors/builder.d.ts.map +1 -1
- package/dist/events/selectors/index.d.ts +2 -2
- package/dist/events/selectors/index.d.ts.map +1 -1
- package/dist/events/selectors/index.js +2 -2
- package/dist/events/selectors/predicate.d.ts.map +1 -1
- package/dist/events/selectors/types.d.ts +18 -3
- package/dist/events/selectors/types.d.ts.map +1 -1
- package/dist/events/types/artifacts.d.ts +7 -1
- package/dist/events/types/artifacts.d.ts.map +1 -1
- package/dist/events/types/connectors.d.ts +32 -0
- package/dist/events/types/connectors.d.ts.map +1 -0
- package/dist/events/types/index.d.ts +3 -1
- package/dist/events/types/index.d.ts.map +1 -1
- package/dist/events/types/syncs.d.ts +4 -0
- package/dist/events/types/syncs.d.ts.map +1 -1
- package/dist/execution/agent.js +43 -42
- package/dist/execution/agent.js.map +1 -1
- package/dist/execution/authorization.d.ts +5 -0
- package/dist/execution/authorization.d.ts.map +1 -1
- package/dist/execution/authorized-object-reader.d.ts +4 -0
- package/dist/execution/authorized-object-reader.d.ts.map +1 -1
- package/dist/execution/object-reader-ontology.d.ts +3 -0
- package/dist/execution/object-reader-ontology.d.ts.map +1 -1
- package/dist/execution/primitive.js +41 -40
- package/dist/execution/primitive.js.map +1 -1
- package/dist/execution/request.d.ts +1 -1
- package/dist/execution/request.d.ts.map +1 -1
- package/dist/execution/request.js +39 -38
- package/dist/execution/request.js.map +3 -3
- package/dist/execution/scopes.d.ts +8 -0
- package/dist/execution/scopes.d.ts.map +1 -1
- package/dist/execution/script.d.ts +7 -0
- package/dist/execution/script.d.ts.map +1 -0
- package/dist/execution/types.d.ts +16 -1
- package/dist/execution/types.d.ts.map +1 -1
- package/dist/http/api-routes.d.ts.map +1 -1
- package/dist/http/index.js +1 -1
- package/dist/index.d.ts +13 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +74 -70
- package/dist/index.js.map +1 -1
- package/dist/lake-storage/index.js +1 -1
- package/dist/lineage/executors.d.ts +1 -1
- package/dist/lineage/executors.d.ts.map +1 -1
- package/dist/maintenance/index.js +2 -2
- package/dist/materialization/event-envelopes.d.ts +3 -3
- package/dist/materialization/event-envelopes.d.ts.map +1 -1
- package/dist/materialization/events.d.ts +6 -0
- package/dist/materialization/events.d.ts.map +1 -1
- package/dist/materialization/index.js +1 -1
- package/dist/materialization/model.d.ts +6 -0
- package/dist/materialization/model.d.ts.map +1 -1
- package/dist/materializer/index.js +24 -23
- package/dist/materializer/index.js.map +1 -1
- package/dist/materializer/projections/replace.d.ts.map +1 -1
- package/dist/materializer/projections/replacement-plan.d.ts +2 -0
- package/dist/materializer/projections/replacement-plan.d.ts.map +1 -1
- package/dist/materializer/shared/normalize.d.ts +1 -0
- package/dist/materializer/shared/normalize.d.ts.map +1 -1
- package/dist/models/audio/runtime.d.ts.map +1 -1
- package/dist/models/audio/types.d.ts +19 -0
- package/dist/models/audio/types.d.ts.map +1 -1
- package/dist/models/execution/index.js +22 -21
- package/dist/models/execution/index.js.map +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/objects/index.js +41 -40
- package/dist/objects/index.js.map +1 -1
- package/dist/objects/query/executor.d.ts +3 -1
- package/dist/objects/query/executor.d.ts.map +1 -1
- package/dist/objects/query/explain.d.ts +3 -1
- package/dist/objects/query/explain.d.ts.map +1 -1
- package/dist/objects/query/index.d.ts +1 -1
- package/dist/objects/query/index.d.ts.map +1 -1
- package/dist/objects/query/index.js +21 -20
- package/dist/objects/query/index.js.map +1 -1
- package/dist/objects/query/link-query-clearance.d.ts +3 -0
- package/dist/objects/query/link-query-clearance.d.ts.map +1 -1
- package/dist/objects/query/links.d.ts +1 -1
- package/dist/objects/query/links.d.ts.map +1 -1
- package/dist/objects/query/validate.d.ts +17 -0
- package/dist/objects/query/validate.d.ts.map +1 -1
- package/dist/objects/sdk/runtime-query-executor.d.ts +1 -1
- package/dist/objects/sdk/runtime-query-executor.d.ts.map +1 -1
- package/dist/ontology/index.js +3 -3
- package/dist/ontology/internal.js +3 -3
- package/dist/pipelines/index.js +27 -26
- package/dist/pipelines/index.js.map +1 -1
- package/dist/projections/builders.d.ts +7 -1
- package/dist/projections/builders.d.ts.map +1 -1
- package/dist/projections/index.d.ts +1 -1
- package/dist/projections/index.d.ts.map +1 -1
- package/dist/projections/internal.js +22 -21
- package/dist/projections/internal.js.map +1 -1
- package/dist/projections/types.d.ts +10 -0
- package/dist/projections/types.d.ts.map +1 -1
- package/dist/projections/validation.d.ts.map +1 -1
- package/dist/queues/in-memory.d.ts +3 -2
- package/dist/queues/in-memory.d.ts.map +1 -1
- package/dist/queues/index.d.ts +1 -1
- package/dist/queues/index.d.ts.map +1 -1
- package/dist/queues/index.js +1 -1
- package/dist/queues/types.d.ts +40 -13
- package/dist/queues/types.d.ts.map +1 -1
- package/dist/runtime/host.d.ts +13 -0
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/internal.d.ts +1 -0
- package/dist/runtime/internal.d.ts.map +1 -1
- package/dist/runtime/internal.js +47 -25
- package/dist/runtime/internal.js.map +4 -3
- package/dist/runtime/locale.d.ts +0 -2
- package/dist/runtime/locale.d.ts.map +1 -1
- package/dist/runtime/resolve-definitions.d.ts +1 -1
- package/dist/runtime/resolve-definitions.d.ts.map +1 -1
- package/dist/runtime/script.d.ts +39 -0
- package/dist/runtime/script.d.ts.map +1 -0
- package/dist/runtime/sixb.d.ts +2 -2
- package/dist/runtime/sixb.d.ts.map +1 -1
- package/dist/sandboxes/auth.d.ts +26 -4
- package/dist/sandboxes/auth.d.ts.map +1 -1
- package/dist/sandboxes/index.d.ts +3 -1
- package/dist/sandboxes/index.d.ts.map +1 -1
- package/dist/sandboxes/index.js +5 -5
- package/dist/schedules/builders.d.ts.map +1 -1
- package/dist/schedules/index.js +3 -3
- package/dist/schedules/runtime.d.ts.map +1 -1
- package/dist/schedules/validation.d.ts +2 -0
- package/dist/schedules/validation.d.ts.map +1 -1
- package/dist/security/view-conditions.d.ts.map +1 -1
- package/dist/shares/internal.js +19 -18
- package/dist/shares/internal.js.map +2 -2
- package/dist/storage/agents/errors.d.ts +1 -1
- package/dist/storage/agents/errors.d.ts.map +1 -1
- package/dist/storage/agents/in-memory.d.ts +43 -1
- package/dist/storage/agents/in-memory.d.ts.map +1 -1
- package/dist/storage/agents/index.d.ts +2 -2
- package/dist/storage/agents/index.d.ts.map +1 -1
- package/dist/storage/agents/provider.d.ts +54 -11
- package/dist/storage/agents/provider.d.ts.map +1 -1
- package/dist/storage/agents/provider.js +41 -5
- package/dist/storage/agents/provider.js.map +1 -1
- package/dist/storage/agents/types.d.ts +291 -3
- package/dist/storage/agents/types.d.ts.map +1 -1
- package/dist/storage/ai-cost/analytics.d.ts +3 -2
- package/dist/storage/ai-cost/analytics.d.ts.map +1 -1
- package/dist/storage/ai-cost/provider.js +4 -3
- package/dist/storage/ai-cost/provider.js.map +1 -1
- package/dist/storage/ai-cost/types.d.ts +5 -1
- package/dist/storage/ai-cost/types.d.ts.map +1 -1
- package/dist/storage/artifacts/in-memory.d.ts +7 -1
- package/dist/storage/artifacts/in-memory.d.ts.map +1 -1
- package/dist/storage/artifacts/index.d.ts +1 -1
- package/dist/storage/artifacts/index.d.ts.map +1 -1
- package/dist/storage/artifacts/record.d.ts +5 -2
- package/dist/storage/artifacts/record.d.ts.map +1 -1
- package/dist/storage/artifacts/types.d.ts +41 -0
- package/dist/storage/artifacts/types.d.ts.map +1 -1
- package/dist/storage/executions/provider.d.ts +3 -3
- package/dist/storage/executions/provider.d.ts.map +1 -1
- package/dist/storage/executions/provider.js +1 -1
- package/dist/storage/executions/types.d.ts +6 -0
- package/dist/storage/executions/types.d.ts.map +1 -1
- package/dist/storage/executions/validation.d.ts.map +1 -1
- package/dist/storage/file-upload-sessions/provider.js +7 -7
- package/dist/storage/index.d.ts +4 -4
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +30 -25
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.d.ts +1 -1
- package/dist/storage/internal.d.ts.map +1 -1
- package/dist/storage/internal.js +12 -10
- package/dist/storage/internal.js.map +2 -2
- package/dist/storage/ontology/in-memory/replacement-plans.d.ts +2 -0
- package/dist/storage/ontology/in-memory/replacement-plans.d.ts.map +1 -1
- package/dist/storage/ontology/provider.js +1 -1
- package/dist/storage/ontology/replacement-plans.d.ts +8 -0
- package/dist/storage/ontology/replacement-plans.d.ts.map +1 -1
- package/dist/storage/operation-scope.d.ts.map +1 -1
- package/dist/storage/operation-scope.js +1 -1
- package/dist/storage/sync-runs/idempotency.d.ts.map +1 -1
- package/dist/storage/sync-runs/in-memory.d.ts +2 -1
- package/dist/storage/sync-runs/in-memory.d.ts.map +1 -1
- package/dist/storage/sync-runs/index.d.ts +1 -1
- package/dist/storage/sync-runs/index.d.ts.map +1 -1
- package/dist/storage/sync-runs/types.d.ts +27 -2
- package/dist/storage/sync-runs/types.d.ts.map +1 -1
- package/dist/storage/workflow-runs/provider.js +7 -7
- package/dist/syncs/accounts.d.ts +36 -0
- package/dist/syncs/accounts.d.ts.map +1 -0
- package/dist/syncs/builders.d.ts.map +1 -1
- package/dist/syncs/connections.d.ts +36 -0
- package/dist/syncs/connections.d.ts.map +1 -0
- package/dist/syncs/execution.d.ts +14 -4
- package/dist/syncs/execution.d.ts.map +1 -1
- package/dist/syncs/index.d.ts +2 -1
- package/dist/syncs/index.d.ts.map +1 -1
- package/dist/syncs/index.js +28 -27
- package/dist/syncs/index.js.map +1 -1
- package/dist/syncs/request.d.ts +16 -2
- package/dist/syncs/request.d.ts.map +1 -1
- package/dist/syncs/run-dispatch.d.ts +14 -2
- package/dist/syncs/run-dispatch.d.ts.map +1 -1
- package/dist/testing/agent-approval-storage-contract.d.ts.map +1 -1
- package/dist/testing/agent-execution.d.ts +3 -0
- package/dist/testing/agent-execution.d.ts.map +1 -1
- package/dist/testing/agent-inbox-storage-contract.d.ts +15 -0
- package/dist/testing/agent-inbox-storage-contract.d.ts.map +1 -0
- package/dist/testing/agent-storage-contract.d.ts.map +1 -1
- package/dist/testing/ai-cost-storage-contract.d.ts.map +1 -1
- package/dist/testing/artifact-storage-contract.d.ts.map +1 -1
- package/dist/testing/execution-storage-contract.d.ts.map +1 -1
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +6589 -4627
- package/dist/testing/index.js.map +13 -12
- package/dist/testing/materializer-storage-contract.d.ts.map +1 -1
- package/dist/testing/queues-contract.d.ts.map +1 -1
- package/dist/testing/run-claim-storage-contract.d.ts.map +1 -1
- package/dist/webhooks/connections.d.ts +3 -4
- package/dist/webhooks/connections.d.ts.map +1 -1
- package/dist/webhooks/index.d.ts +1 -1
- package/dist/webhooks/index.d.ts.map +1 -1
- package/dist/webhooks/internal.js +22 -54
- package/dist/webhooks/internal.js.map +3 -3
- package/dist/webhooks/types.d.ts +2 -11
- package/dist/webhooks/types.d.ts.map +1 -1
- package/dist/workers/index.js +66 -13
- package/dist/workers/index.js.map +4 -4
- package/dist/workers/queue-worker.d.ts +5 -0
- package/dist/workers/queue-worker.d.ts.map +1 -1
- package/dist/workers/queued-run-dispatch.d.ts.map +1 -1
- package/dist/workers/worker.d.ts +8 -0
- package/dist/workers/worker.d.ts.map +1 -1
- package/dist/workflows/index.js +50 -48
- package/dist/workflows/index.js.map +1 -1
- package/package.json +12 -1
- package/src/actions/validation.ts +3 -1
- package/src/agents/README.md +6 -2
- package/src/agents/children.ts +6 -0
- package/src/agents/errors.ts +3 -0
- package/src/agents/execution.ts +331 -43
- package/src/agents/ids.ts +5 -0
- package/src/agents/index.ts +22 -4
- package/src/agents/model-routing.ts +25 -9
- package/src/agents/queued-turn.ts +46 -0
- package/src/agents/request.ts +1444 -210
- package/src/agents/run-after-finish.ts +259 -2
- package/src/agents/run-artifacts.ts +3 -93
- package/src/agents/run-events.ts +256 -34
- package/src/agents/run-session-children.ts +13 -2
- package/src/agents/run-session-http.ts +9 -2
- package/src/agents/run-session-serve.ts +2 -8
- package/src/agents/run-session.ts +142 -3
- package/src/agents/run-turn.ts +148 -23
- package/src/agents/streams/index.ts +3 -0
- package/src/agents/streams/internal.ts +12 -0
- package/src/agents/streams/protocol.ts +109 -1
- package/src/agents/streams/steps.ts +131 -0
- package/src/agents/thread-access.ts +57 -2
- package/src/agents/turn-answered.ts +31 -0
- package/src/agents/validation.ts +2 -0
- package/src/artifacts/canvas-display.ts +4 -6
- package/src/artifacts/comments.ts +70 -17
- package/src/artifacts/document-fill.ts +103 -0
- package/src/artifacts/errors.ts +2 -0
- package/src/artifacts/events.ts +4 -1
- package/src/artifacts/execution.ts +265 -31
- package/src/artifacts/frames/assets.ts +42 -7
- package/src/artifacts/frames/document-data.ts +353 -0
- package/src/artifacts/frames/entries.ts +22 -16
- package/src/artifacts/frames/grants.ts +2 -2
- package/src/artifacts/frames/index.ts +3 -0
- package/src/artifacts/frames/kit.ts +102 -0
- package/src/artifacts/frames/protocol.ts +12 -1
- package/src/artifacts/frames/runtime.ts +413 -6
- package/src/artifacts/index.ts +3 -0
- package/src/artifacts/live/blocks.ts +889 -0
- package/src/artifacts/live/board.ts +195 -42
- package/src/artifacts/live/document.ts +170 -5
- package/src/artifacts/live/index.ts +7 -0
- package/src/artifacts/live/page.ts +807 -0
- package/src/artifacts/live/protocol.ts +5 -0
- package/src/artifacts/live/server.ts +2 -2
- package/src/artifacts/live/state.ts +9 -4
- package/src/artifacts/outline.ts +17 -0
- package/src/artifacts/paper.ts +173 -0
- package/src/artifacts/pdf-job.ts +11 -0
- package/src/artifacts/publish/fields.ts +177 -0
- package/src/artifacts/publish/index.ts +6 -1
- package/src/artifacts/publish/merge.ts +28 -15
- package/src/artifacts/publish/pdf.ts +82 -0
- package/src/artifacts/publish/previews.ts +24 -34
- package/src/artifacts/publish/publish.ts +26 -3
- package/src/artifacts/publish/queries.ts +20 -4
- package/src/artifacts/publish/query-answers.ts +14 -3
- package/src/artifacts/publish/validate/document-html.ts +245 -0
- package/src/artifacts/publish/validate/document.ts +34 -3
- package/src/artifacts/queries.ts +59 -13
- package/src/artifacts/run-query.ts +5 -2
- package/src/authorization/event-visibility.ts +13 -0
- package/src/calendar.ts +195 -0
- package/src/connectors/connection-handles.ts +71 -0
- package/src/connectors/connections/authorizations.ts +50 -2
- package/src/connectors/connections/capability.ts +40 -0
- package/src/connectors/connections/events.ts +57 -0
- package/src/connectors/connections/internal.ts +3 -0
- package/src/connectors/connections/runs.ts +5 -0
- package/src/connectors/connections/service.ts +93 -6
- package/src/connectors/execution.ts +35 -8
- package/src/connectors/index.ts +3 -0
- package/src/connectors/service.ts +23 -0
- package/src/connectors/types.ts +29 -1
- package/src/deploy/index.ts +1 -0
- package/src/deploy/services.ts +1 -0
- package/src/deploy/types.ts +30 -2
- package/src/events/definitions.ts +14 -0
- package/src/events/execution.ts +51 -4
- package/src/events/index.ts +8 -0
- package/src/events/outbox-dispatcher.ts +12 -2
- package/src/events/scope.ts +3 -0
- package/src/events/selectors/builder.ts +49 -0
- package/src/events/selectors/index.ts +5 -0
- package/src/events/selectors/predicate.ts +2 -0
- package/src/events/selectors/types.ts +30 -1
- package/src/events/types/artifacts.ts +7 -1
- package/src/events/types/connectors.ts +36 -0
- package/src/events/types/index.ts +7 -0
- package/src/events/types/syncs.ts +4 -0
- package/src/execution/authorization.ts +45 -0
- package/src/execution/authorized-object-reader.ts +33 -5
- package/src/execution/durable.ts +2 -0
- package/src/execution/object-reader-ontology.ts +6 -0
- package/src/execution/request.ts +1 -0
- package/src/execution/scopes.ts +24 -0
- package/src/execution/script.ts +27 -0
- package/src/execution/types.ts +7 -1
- package/src/http/api-routes.ts +33 -0
- package/src/index.ts +39 -4
- package/src/lineage/executors.ts +3 -1
- package/src/materialization/event-envelopes.ts +10 -5
- package/src/materialization/events.ts +2 -0
- package/src/materialization/model.ts +6 -0
- package/src/materializer/README.md +10 -0
- package/src/materializer/projections/replace.ts +42 -1
- package/src/materializer/projections/replacement-plan.ts +44 -4
- package/src/materializer/shared/normalize.ts +4 -0
- package/src/models/audio/runtime.ts +57 -14
- package/src/models/audio/types.ts +20 -0
- package/src/models/index.ts +1 -0
- package/src/objects/query/executor.ts +4 -0
- package/src/objects/query/explain.ts +5 -0
- package/src/objects/query/index.ts +1 -0
- package/src/objects/query/link-query-clearance.ts +4 -1
- package/src/objects/query/links.ts +5 -1
- package/src/objects/query/validate.ts +33 -1
- package/src/objects/sdk/runtime-query-executor.ts +7 -3
- package/src/projections/builders.ts +20 -0
- package/src/projections/index.ts +1 -0
- package/src/projections/registry.ts +1 -0
- package/src/projections/revision.ts +2 -0
- package/src/projections/types.ts +11 -0
- package/src/projections/validation.ts +6 -0
- package/src/queues/in-memory.ts +5 -0
- package/src/queues/index.ts +3 -1
- package/src/queues/types.ts +45 -14
- package/src/runtime/host.ts +125 -11
- package/src/runtime/internal.ts +1 -0
- package/src/runtime/locale.ts +0 -10
- package/src/runtime/resolve-definitions.ts +4 -1
- package/src/runtime/script.ts +62 -0
- package/src/runtime/sixb.ts +15 -5
- package/src/sandboxes/README.md +3 -1
- package/src/sandboxes/auth.ts +32 -4
- package/src/sandboxes/index.ts +15 -1
- package/src/schedules/builders.ts +4 -1
- package/src/schedules/runtime.ts +3 -0
- package/src/schedules/validation.ts +20 -2
- package/src/security/view-conditions.ts +2 -1
- package/src/storage/agents/errors.ts +1 -0
- package/src/storage/agents/in-memory.ts +500 -7
- package/src/storage/agents/index.ts +26 -0
- package/src/storage/agents/provider.ts +454 -15
- package/src/storage/agents/types.ts +315 -3
- package/src/storage/ai-cost/analytics.ts +22 -43
- package/src/storage/ai-cost/types.ts +5 -1
- package/src/storage/artifacts/in-memory.ts +52 -6
- package/src/storage/artifacts/index.ts +2 -0
- package/src/storage/artifacts/record.ts +33 -4
- package/src/storage/artifacts/types.ts +44 -0
- package/src/storage/executions/provider.ts +22 -2
- package/src/storage/executions/types.ts +2 -0
- package/src/storage/executions/validation.ts +27 -0
- package/src/storage/index.ts +29 -0
- package/src/storage/internal.ts +1 -0
- package/src/storage/ontology/in-memory/replacement-plans.ts +22 -0
- package/src/storage/ontology/replacement-plans.ts +6 -0
- package/src/storage/operation-scope.ts +2 -0
- package/src/storage/sync-runs/idempotency.ts +1 -0
- package/src/storage/sync-runs/in-memory.ts +43 -1
- package/src/storage/sync-runs/index.ts +1 -0
- package/src/storage/sync-runs/types.ts +30 -1
- package/src/syncs/accounts.ts +85 -0
- package/src/syncs/builders.ts +18 -1
- package/src/syncs/connections.ts +123 -0
- package/src/syncs/execution.ts +64 -22
- package/src/syncs/index.ts +3 -0
- package/src/syncs/request.ts +81 -23
- package/src/syncs/run-dispatch.ts +69 -7
- package/src/testing/agent-approval-storage-contract.ts +123 -0
- package/src/testing/agent-execution.ts +45 -2
- package/src/testing/agent-inbox-storage-contract.ts +874 -0
- package/src/testing/agent-storage-contract.ts +965 -103
- package/src/testing/ai-cost-storage-contract.ts +80 -0
- package/src/testing/artifact-storage-contract.ts +201 -4
- package/src/testing/execution-storage-contract.ts +31 -0
- package/src/testing/index.ts +5 -0
- package/src/testing/materializer-storage-contract.ts +139 -1
- package/src/testing/queues-contract.ts +22 -0
- package/src/testing/run-claim-storage-contract.ts +116 -0
- package/src/webhooks/connections.ts +9 -50
- package/src/webhooks/index.ts +0 -2
- package/src/webhooks/types.ts +2 -13
- package/src/workers/README.md +4 -1
- package/src/workers/lost-runs.ts +1 -0
- package/src/workers/queue-worker.ts +16 -5
- package/src/workers/queued-run-dispatch.ts +8 -1
- package/src/workers/worker.ts +67 -7
- package/dist/chunk-3z1vxzcm.js +0 -234
- package/dist/chunk-3z1vxzcm.js.map +0 -12
- package/dist/chunk-48c1z8nj.js.map +0 -10
- package/dist/chunk-58geavnf.js +0 -29
- package/dist/chunk-58geavnf.js.map +0 -10
- package/dist/chunk-5a4a52tq.js.map +0 -10
- package/dist/chunk-9nsjjd44.js.map +0 -12
- package/dist/chunk-b9qfh2ya.js.map +0 -11
- package/dist/chunk-eptrvnby.js.map +0 -12
- package/dist/chunk-f6ahf5gf.js.map +0 -13
- package/dist/chunk-gxwy4c3s.js.map +0 -47
- package/dist/chunk-hvbvq7p4.js.map +0 -18
- package/dist/chunk-m2jerfef.js +0 -474
- package/dist/chunk-m2jerfef.js.map +0 -11
- package/dist/chunk-msyevpp3.js.map +0 -22
- package/dist/chunk-n4zzaf6q.js.map +0 -10
- package/dist/chunk-rsrc7vtw.js.map +0 -49
- package/dist/chunk-rsxb14an.js.map +0 -18
- package/dist/chunk-smnt672s.js.map +0 -10
- package/dist/chunk-t0s7b3d1.js.map +0 -13
- package/dist/chunk-td26wjr5.js.map +0 -13
- package/dist/chunk-vzkxqf8h.js.map +0 -23
- package/dist/chunk-wa05txmk.js.map +0 -11
- package/dist/chunk-yv8hv4wq.js.map +0 -10
- package/dist/chunk-yy914zfr.js.map +0 -30
- package/dist/chunk-zeykm8my.js.map +0 -14
- /package/dist/{chunk-stmxh0hv.js.map → chunk-3neam1y5.js.map} +0 -0
- /package/dist/{chunk-p8pgnq8d.js.map → chunk-425ydk65.js.map} +0 -0
- /package/dist/{chunk-p351afzm.js.map → chunk-5sswe5ej.js.map} +0 -0
- /package/dist/{chunk-e0hnbb1m.js.map → chunk-61zptves.js.map} +0 -0
- /package/dist/{chunk-fe6r7yhg.js.map → chunk-92wrka15.js.map} +0 -0
- /package/dist/{chunk-q9nkpr8k.js.map → chunk-9tpmfh3n.js.map} +0 -0
- /package/dist/{chunk-sysnvjce.js.map → chunk-brhp9d97.js.map} +0 -0
- /package/dist/{chunk-8a8k38tz.js.map → chunk-brybqw5k.js.map} +0 -0
- /package/dist/{chunk-855w9nvw.js.map → chunk-cg7cygfj.js.map} +0 -0
- /package/dist/{chunk-r2psmn42.js.map → chunk-eg6xqef7.js.map} +0 -0
- /package/dist/{chunk-7kpqntgw.js.map → chunk-f05994as.js.map} +0 -0
- /package/dist/{chunk-2bn6813a.js.map → chunk-grt2j5vp.js.map} +0 -0
- /package/dist/{chunk-rtdrm592.js.map → chunk-htdzx40w.js.map} +0 -0
- /package/dist/{chunk-bc3y6gff.js.map → chunk-jka26v8c.js.map} +0 -0
- /package/dist/{chunk-6ef4esq4.js.map → chunk-pqj8vff9.js.map} +0 -0
- /package/dist/{chunk-n68vz95m.js.map → chunk-qbd282aa.js.map} +0 -0
- /package/dist/{chunk-r9rtavg9.js.map → chunk-t19wjmnc.js.map} +0 -0
- /package/dist/{chunk-dhkc9b23.js.map → chunk-v8a1qjzp.js.map} +0 -0
- /package/dist/{chunk-8bns0y68.js.map → chunk-xf76csps.js.map} +0 -0
- /package/dist/{chunk-vepea5c3.js.map → chunk-ym1bqd98.js.map} +0 -0
|
@@ -18,8 +18,28 @@ export interface TranscriptionModelRequest {
|
|
|
18
18
|
readonly signal?: AbortSignal
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
/** One word the provider timed, and who said it when the provider labels voices. */
|
|
22
|
+
export interface TranscriptionWord {
|
|
23
|
+
readonly text: string
|
|
24
|
+
/** Milliseconds from the start of the audio. */
|
|
25
|
+
readonly startMs: number
|
|
26
|
+
/** Milliseconds from the start of the audio; equal to `startMs` for a word it did not span. */
|
|
27
|
+
readonly endMs: number
|
|
28
|
+
/**
|
|
29
|
+
* The provider's label for who said it, such as `speaker_0`. It is stable within one
|
|
30
|
+
* transcript only: the same voice need not carry the same label in another.
|
|
31
|
+
*/
|
|
32
|
+
readonly speaker?: string
|
|
33
|
+
}
|
|
34
|
+
|
|
21
35
|
export interface TranscriptionOutput {
|
|
22
36
|
readonly text: string
|
|
37
|
+
/**
|
|
38
|
+
* The words the provider timed, in spoken order. Text alone cannot say who was speaking at
|
|
39
|
+
* 12:04, or where to put the playhead. Absent when the provider returns none, which is what
|
|
40
|
+
* every provider that neither diarizes nor times words does.
|
|
41
|
+
*/
|
|
42
|
+
readonly words?: readonly TranscriptionWord[]
|
|
23
43
|
}
|
|
24
44
|
|
|
25
45
|
export interface TranscriptionModelResponseMetadata {
|
package/src/models/index.ts
CHANGED
|
@@ -44,6 +44,7 @@ import { sortTieDirection } from "./sort-ties"
|
|
|
44
44
|
import { withoutUserExpansions } from "./user-expansions"
|
|
45
45
|
import {
|
|
46
46
|
type AdmittedObjectQuery,
|
|
47
|
+
type ObjectQueryDiscovery,
|
|
47
48
|
type ObjectQuerySemanticAdmission,
|
|
48
49
|
type ObjectQueryValidationIssue,
|
|
49
50
|
resolveObjectQueryResultShape,
|
|
@@ -88,6 +89,8 @@ export interface QueryExecutorOptions
|
|
|
88
89
|
readableObjectTypes?: ReadableObjectTypes
|
|
89
90
|
/** Reader-specific admission applied after grants, such as marking clearances. */
|
|
90
91
|
admission?: ObjectQuerySemanticAdmission
|
|
92
|
+
/** What the reader discovers of the ontology, which an unknown-property issue lists from. */
|
|
93
|
+
discovery?: ObjectQueryDiscovery
|
|
91
94
|
/** The user `currentUser()` stands for; absent when the reader is not a user. */
|
|
92
95
|
requestingUser?: UserRef
|
|
93
96
|
}
|
|
@@ -450,6 +453,7 @@ function validateExecutableQuery(
|
|
|
450
453
|
maxRefs: options.maxRefs,
|
|
451
454
|
normalize: false,
|
|
452
455
|
resolveLinkEndpoints: true,
|
|
456
|
+
discovery: options.discovery,
|
|
453
457
|
}
|
|
454
458
|
const normalized = normalizeObjectQuery(input.query)
|
|
455
459
|
const validated = validateObjectQuery(normalized, validationOptions)
|
|
@@ -9,6 +9,7 @@ import type {
|
|
|
9
9
|
import { normalizeObjectQuery } from "./normalize"
|
|
10
10
|
import {
|
|
11
11
|
collectObjectQueryValidationIssues,
|
|
12
|
+
type ObjectQueryDiscovery,
|
|
12
13
|
type ObjectQueryValidationIssue,
|
|
13
14
|
validateObjectQuery,
|
|
14
15
|
} from "./validate"
|
|
@@ -19,6 +20,8 @@ export interface ObjectQueryExplainOptions {
|
|
|
19
20
|
maxLimit?: number
|
|
20
21
|
maxPageSize?: number
|
|
21
22
|
maxRefs?: number
|
|
23
|
+
/** What the caller discovers of the ontology. See `ObjectQueryValidationOptions.discovery`. */
|
|
24
|
+
discovery?: ObjectQueryDiscovery
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
export interface ObjectQueryExplanation {
|
|
@@ -50,6 +53,7 @@ export function explainObjectQuery(
|
|
|
50
53
|
maxPageSize: options.maxPageSize,
|
|
51
54
|
maxRefs: options.maxRefs,
|
|
52
55
|
normalize: false,
|
|
56
|
+
discovery: options.discovery,
|
|
53
57
|
})
|
|
54
58
|
: []
|
|
55
59
|
|
|
@@ -61,6 +65,7 @@ export function explainObjectQuery(
|
|
|
61
65
|
maxPageSize: options.maxPageSize,
|
|
62
66
|
maxRefs: options.maxRefs,
|
|
63
67
|
normalize: false,
|
|
68
|
+
discovery: options.discovery,
|
|
64
69
|
}).result
|
|
65
70
|
: undefined
|
|
66
71
|
|
|
@@ -2,6 +2,7 @@ import type { OntologyRegistry } from "../../ontology"
|
|
|
2
2
|
import { type PropertyClearance, unreadableError } from "../property-clearance"
|
|
3
3
|
import type { ObjectQuery } from "./ir"
|
|
4
4
|
import { type ExecuteObjectQueryLinksInput, preflightObjectQueryLinks } from "./links"
|
|
5
|
+
import type { ObjectQueryDiscovery } from "./validate"
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Refuse a link query that could return a link, or an endpoint, the reader cannot read.
|
|
@@ -13,6 +14,8 @@ import { type ExecuteObjectQueryLinksInput, preflightObjectQueryLinks } from "./
|
|
|
13
14
|
*/
|
|
14
15
|
export function assertLinkQueryReadable(input: {
|
|
15
16
|
readonly ontology: OntologyRegistry
|
|
17
|
+
/** What the reader discovers, which an unknown-property issue lists from. */
|
|
18
|
+
readonly discovery?: ObjectQueryDiscovery
|
|
16
19
|
readonly clearance: PropertyClearance
|
|
17
20
|
readonly query: ObjectQuery
|
|
18
21
|
readonly request: Omit<ExecuteObjectQueryLinksInput, "query">
|
|
@@ -25,7 +28,7 @@ export function assertLinkQueryReadable(input: {
|
|
|
25
28
|
|
|
26
29
|
const preflight = preflightObjectQueryLinks(
|
|
27
30
|
{ ...input.request, query: input.query },
|
|
28
|
-
{ ontology }
|
|
31
|
+
{ ontology, discovery: input.discovery }
|
|
29
32
|
)
|
|
30
33
|
|
|
31
34
|
const selected = preflight.validated.result.objectTypeIds
|
|
@@ -61,7 +61,10 @@ const LINK_PAGE_TOKEN_PREFIX = "link:v1:"
|
|
|
61
61
|
*/
|
|
62
62
|
export function preflightObjectQueryLinks(
|
|
63
63
|
input: ExecuteObjectQueryLinksInput,
|
|
64
|
-
options: Pick<
|
|
64
|
+
options: Pick<
|
|
65
|
+
QueryExecutorOptions,
|
|
66
|
+
"ontology" | "maxLimit" | "maxPageSize" | "maxRefs" | "discovery"
|
|
67
|
+
>
|
|
65
68
|
): PreflightObjectQueryLinksResult {
|
|
66
69
|
// Capture caller-owned scalar fields once so validation, token scoping, and execution agree on
|
|
67
70
|
// one request even when this internal API is reached without an AuthorizedObjectReader snapshot.
|
|
@@ -110,6 +113,7 @@ export function preflightObjectQueryLinks(
|
|
|
110
113
|
maxPageSize: options.maxPageSize,
|
|
111
114
|
maxRefs: options.maxRefs,
|
|
112
115
|
normalize: false,
|
|
116
|
+
discovery: options.discovery,
|
|
113
117
|
})
|
|
114
118
|
assertLinkSelectorShape(validated.query)
|
|
115
119
|
const pageScope = linkPageScope(projectId, validated.query, direction, linkId)
|
|
@@ -64,6 +64,20 @@ export interface ObjectQueryValidationOptions {
|
|
|
64
64
|
normalize?: boolean
|
|
65
65
|
/** Name the types each traversal and expansion can reach, for a provider. See `ObjectQueryTraverse`. */
|
|
66
66
|
resolveLinkEndpoints?: boolean
|
|
67
|
+
/**
|
|
68
|
+
* What the caller discovers of the ontology. An unknown-property issue lists the properties it
|
|
69
|
+
* shows on the type, so a guessed name is fixed on the next try. Without it the issue lists none:
|
|
70
|
+
* validation reads the complete registry, which holds types the caller may not view.
|
|
71
|
+
*/
|
|
72
|
+
discovery?: ObjectQueryDiscovery
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The ontology a caller discovers, as an unknown-property issue reads it: a reader's authorized
|
|
77
|
+
* view, or the registry itself for a caller that sees all of it.
|
|
78
|
+
*/
|
|
79
|
+
export interface ObjectQueryDiscovery {
|
|
80
|
+
getObjectTypeById(objectTypeId: string): { readonly properties: readonly { id: string }[] } | null
|
|
67
81
|
}
|
|
68
82
|
|
|
69
83
|
/** Opaque semantic state carried by the canonical query validator for an internal admission. */
|
|
@@ -138,6 +152,7 @@ type QueryValidationContext = Required<
|
|
|
138
152
|
>
|
|
139
153
|
> & {
|
|
140
154
|
ontology: OntologyRegistry
|
|
155
|
+
discovery: ObjectQueryDiscovery | undefined
|
|
141
156
|
valueTypesById: ReadonlyMap<string, ValueType>
|
|
142
157
|
issues: ObjectQueryValidationIssue[]
|
|
143
158
|
touchedObjectTypeIds: Set<string>
|
|
@@ -310,6 +325,7 @@ function createValidationContext(
|
|
|
310
325
|
): QueryValidationContext {
|
|
311
326
|
return {
|
|
312
327
|
ontology: options.ontology,
|
|
328
|
+
discovery: options.discovery,
|
|
313
329
|
valueTypesById: options.ontology.getValueTypesById(),
|
|
314
330
|
maxLimit: options.maxLimit ?? DEFAULT_MAX_LIMIT,
|
|
315
331
|
maxPageSize: options.maxPageSize ?? DEFAULT_MAX_PAGE_SIZE,
|
|
@@ -1979,7 +1995,7 @@ function getPropertiesForResult(
|
|
|
1979
1995
|
ctx,
|
|
1980
1996
|
path,
|
|
1981
1997
|
"unknown_property",
|
|
1982
|
-
`Property '${propertyId}' does not exist on object type '${objectType.id}'`
|
|
1998
|
+
`Property '${propertyId}' does not exist on object type '${objectType.id}'${knownProperties(objectType.id, ctx)}`
|
|
1983
1999
|
)
|
|
1984
2000
|
continue
|
|
1985
2001
|
}
|
|
@@ -1989,6 +2005,22 @@ function getPropertiesForResult(
|
|
|
1989
2005
|
return results
|
|
1990
2006
|
}
|
|
1991
2007
|
|
|
2008
|
+
/** How many property names an unknown-property issue lists. */
|
|
2009
|
+
const KNOWN_PROPERTIES_LISTED = 25
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* The properties the caller may have meant, as its discovery shows them: none on a type it does
|
|
2013
|
+
* not view, and only those a share selects.
|
|
2014
|
+
*/
|
|
2015
|
+
function knownProperties(objectTypeId: string, ctx: QueryValidationContext): string {
|
|
2016
|
+
const ids = ctx.discovery?.getObjectTypeById(objectTypeId)?.properties.map(({ id }) => id) ?? []
|
|
2017
|
+
if (ids.length === 0) return ""
|
|
2018
|
+
const listed = ids.slice(0, KNOWN_PROPERTIES_LISTED).join(", ")
|
|
2019
|
+
const more =
|
|
2020
|
+
ids.length > KNOWN_PROPERTIES_LISTED ? `, and ${ids.length - KNOWN_PROPERTIES_LISTED} more` : ""
|
|
2021
|
+
return `; its properties are ${listed}${more}`
|
|
2022
|
+
}
|
|
2023
|
+
|
|
1992
2024
|
function getProperty(objectType: ObjectType, propertyId: string): Property | undefined {
|
|
1993
2025
|
return objectType.properties.find((property) => property.id === propertyId)
|
|
1994
2026
|
}
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
* HTTP executor in `@sixb/client` is the remote counterpart.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import {
|
|
8
|
+
type AuthorizedObjectReader,
|
|
9
|
+
getQueryDiscovery,
|
|
10
|
+
} from "../../execution/authorized-object-reader"
|
|
8
11
|
import type { OntologyRegistry } from "../../ontology"
|
|
9
12
|
import { ObjectQueryPlanningError } from "../query"
|
|
10
13
|
import { explainObjectQuery } from "../query/explain"
|
|
@@ -17,6 +20,7 @@ export function createRuntimeQueryExecutor(params: {
|
|
|
17
20
|
objectReader: AuthorizedObjectReader
|
|
18
21
|
}): ObjectQueryExecutor {
|
|
19
22
|
const { ontology, objectReader } = params
|
|
23
|
+
const discovery = getQueryDiscovery(objectReader)
|
|
20
24
|
|
|
21
25
|
return {
|
|
22
26
|
async list(query: ObjectQuery, options?: { includeTotal?: boolean; signal?: AbortSignal }) {
|
|
@@ -56,11 +60,11 @@ export function createRuntimeQueryExecutor(params: {
|
|
|
56
60
|
},
|
|
57
61
|
|
|
58
62
|
validate(query: ObjectQuery) {
|
|
59
|
-
return validateObjectQuery(query, { ontology, normalize: false })
|
|
63
|
+
return validateObjectQuery(query, { ontology, discovery, normalize: false })
|
|
60
64
|
},
|
|
61
65
|
|
|
62
66
|
explain(query: ObjectQuery) {
|
|
63
|
-
return explainObjectQuery(query, { ontology, normalize: false })
|
|
67
|
+
return explainObjectQuery(query, { ontology, discovery, normalize: false })
|
|
64
68
|
},
|
|
65
69
|
}
|
|
66
70
|
}
|
|
@@ -25,6 +25,7 @@ import type {
|
|
|
25
25
|
LinkProjectionDefinition,
|
|
26
26
|
LinkProjectionTarget,
|
|
27
27
|
ObjectProjectionDefinition,
|
|
28
|
+
ObjectProjectionMissingPolicy,
|
|
28
29
|
ObjectProjectionTarget,
|
|
29
30
|
ProjectionDefinition,
|
|
30
31
|
ProjectionTarget,
|
|
@@ -433,6 +434,12 @@ export interface ObjectProjectionBuilder<
|
|
|
433
434
|
resolveConflicts(
|
|
434
435
|
resolution: ObjectProjectionConflictResolution<TDataset>
|
|
435
436
|
): ObjectProjectionBuilder<TObjectType, TDataset>
|
|
437
|
+
/**
|
|
438
|
+
* `remove`: an object an Action created is removed too once the dataset, read after the Action
|
|
439
|
+
* last wrote it, does not hold it. A dataset read before then keeps it: the sync has not caught
|
|
440
|
+
* up yet. Without it, such an object stays until it is deleted.
|
|
441
|
+
*/
|
|
442
|
+
whenMissing(policy: ObjectProjectionMissingPolicy): ObjectProjectionBuilder<TObjectType, TDataset>
|
|
436
443
|
}
|
|
437
444
|
|
|
438
445
|
/**
|
|
@@ -576,6 +583,7 @@ function objectProjectionBuilder<
|
|
|
576
583
|
readonly users: Readonly<Record<string, ProjectionUserKey>>
|
|
577
584
|
readonly links: Readonly<Record<string, ForeignKeyDescriptor>>
|
|
578
585
|
readonly conflictResolution: SourceEditConflictResolution
|
|
586
|
+
readonly missing?: ObjectProjectionMissingPolicy
|
|
579
587
|
}): ObjectProjectionBuilder<TObjectType, TDataset> {
|
|
580
588
|
const definition: ObjectProjectionDefinition & {
|
|
581
589
|
readonly conflictResolution: SourceEditConflictResolution
|
|
@@ -588,6 +596,7 @@ function objectProjectionBuilder<
|
|
|
588
596
|
...(Object.keys(input.users).length > 0 ? { users: { ...input.users } } : {}),
|
|
589
597
|
links: { ...input.links },
|
|
590
598
|
conflictResolution: { ...input.conflictResolution },
|
|
599
|
+
...(input.missing ? { missing: input.missing } : {}),
|
|
591
600
|
}
|
|
592
601
|
|
|
593
602
|
return Object.assign(definition, {
|
|
@@ -613,6 +622,17 @@ function objectProjectionBuilder<
|
|
|
613
622
|
conflictResolution: resolution as SourceEditConflictResolution,
|
|
614
623
|
})
|
|
615
624
|
},
|
|
625
|
+
whenMissing(
|
|
626
|
+
policy: ObjectProjectionMissingPolicy
|
|
627
|
+
): ObjectProjectionBuilder<TObjectType, TDataset> {
|
|
628
|
+
if (policy !== "remove") {
|
|
629
|
+
throw new ProjectionValidationError(
|
|
630
|
+
`whenMissing() takes "remove", received ${JSON.stringify(policy)}.`
|
|
631
|
+
)
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
return objectProjectionBuilder({ ...input, missing: policy })
|
|
635
|
+
},
|
|
616
636
|
})
|
|
617
637
|
}
|
|
618
638
|
|
package/src/projections/index.ts
CHANGED
|
@@ -222,6 +222,8 @@ function normalizeProjectionDefinition(projection: ProjectionDefinition): JsonVa
|
|
|
222
222
|
])
|
|
223
223
|
),
|
|
224
224
|
conflictResolution: projection.conflictResolution ?? { strategy: "editsWin" },
|
|
225
|
+
// Written only when set: projections that keep what their dataset misses keep their revision.
|
|
226
|
+
...(projection.missing ? { missing: projection.missing } : {}),
|
|
225
227
|
}
|
|
226
228
|
}
|
|
227
229
|
if (projection._tag === "LinkProjectionDefinition") {
|
package/src/projections/types.ts
CHANGED
|
@@ -48,6 +48,12 @@ export type SourceEditConflictResolution =
|
|
|
48
48
|
| { readonly strategy: "editsWin" }
|
|
49
49
|
| { readonly strategy: "mostRecent"; readonly sourceTimestamp: string }
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* What an object projection does with an object an Action created once its dataset no longer
|
|
53
|
+
* holds it. `remove`: the object is removed, as an object the projection created would be.
|
|
54
|
+
*/
|
|
55
|
+
export type ObjectProjectionMissingPolicy = "remove"
|
|
56
|
+
|
|
51
57
|
/**
|
|
52
58
|
* Lowered, serializable definition for projecting a dataset into object instances.
|
|
53
59
|
*
|
|
@@ -72,6 +78,11 @@ export interface ObjectProjectionDefinition {
|
|
|
72
78
|
readonly links: Readonly<Record<string, ForeignKeyDescriptor>>
|
|
73
79
|
/** Defaults to `editsWin` when omitted by a legacy lowered definition. */
|
|
74
80
|
readonly conflictResolution?: SourceEditConflictResolution
|
|
81
|
+
/**
|
|
82
|
+
* Set by `.whenMissing()`. Omitted, an object an Action created stays until it is deleted, even
|
|
83
|
+
* when the dataset never holds it.
|
|
84
|
+
*/
|
|
85
|
+
readonly missing?: ObjectProjectionMissingPolicy
|
|
75
86
|
}
|
|
76
87
|
|
|
77
88
|
/**
|
|
@@ -377,6 +377,12 @@ export function validateProjectionsAtStartup(
|
|
|
377
377
|
)
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
|
+
if (projection.missing !== undefined && projection.missing !== "remove") {
|
|
381
|
+
throw new ProjectionValidationError(
|
|
382
|
+
`${prefix}: unknown missing policy "${String(projection.missing)}". Use "remove".`
|
|
383
|
+
)
|
|
384
|
+
}
|
|
385
|
+
|
|
380
386
|
const propertyIds = new Set(objectType.properties.map((p) => p.id))
|
|
381
387
|
for (const [propId, columnName] of Object.entries(projection.properties)) {
|
|
382
388
|
if (!propertyIds.has(propId)) {
|
package/src/queues/in-memory.ts
CHANGED
|
@@ -16,6 +16,7 @@ import type {
|
|
|
16
16
|
QueueJob,
|
|
17
17
|
QueueJobFailure,
|
|
18
18
|
Queues,
|
|
19
|
+
RenderQueueJob,
|
|
19
20
|
SyncQueueJobFailureCode,
|
|
20
21
|
SyncRunRequestedQueueJob,
|
|
21
22
|
VectorIndexingQueueJob,
|
|
@@ -486,6 +487,10 @@ export class InMemoryQueues implements Queues {
|
|
|
486
487
|
this.store,
|
|
487
488
|
"lake"
|
|
488
489
|
)
|
|
490
|
+
readonly renders = new InMemoryQueue<RenderQueueJob, "internal.unexpected" | "runtime.cancelled">(
|
|
491
|
+
this.store,
|
|
492
|
+
"renders"
|
|
493
|
+
)
|
|
489
494
|
readonly syncRuns = new InMemoryQueue<SyncRunRequestedQueueJob, SyncQueueJobFailureCode>(
|
|
490
495
|
this.store,
|
|
491
496
|
"sync.runs"
|
package/src/queues/index.ts
CHANGED
|
@@ -16,11 +16,12 @@ export { QueueError } from "./errors"
|
|
|
16
16
|
export { InMemoryQueues } from "./in-memory"
|
|
17
17
|
export type {
|
|
18
18
|
AgentAiUsageRecordRequestedQueueJob,
|
|
19
|
-
AgentArtifactPreviewsRequestedQueueJob,
|
|
20
19
|
AgentQueueJob,
|
|
21
20
|
AgentQueueJobFailureCode,
|
|
22
21
|
AgentRunRequestedQueueJob,
|
|
23
22
|
AgentWorkflowNodeRequestedQueueJob,
|
|
23
|
+
ArtifactPdfRequestedQueueJob,
|
|
24
|
+
ArtifactPreviewsRequestedQueueJob,
|
|
24
25
|
ClaimedQueueJob,
|
|
25
26
|
DatasetIngestFlushRequestedQueueJob,
|
|
26
27
|
LakeQueueJob,
|
|
@@ -35,6 +36,7 @@ export type {
|
|
|
35
36
|
QueueJobEnvelope,
|
|
36
37
|
QueueJobFailure,
|
|
37
38
|
Queues,
|
|
39
|
+
RenderQueueJob,
|
|
38
40
|
SyncQueueJobFailureCode,
|
|
39
41
|
SyncRunRequestedQueueJob,
|
|
40
42
|
VectorIndexingQueueJob,
|
package/src/queues/types.ts
CHANGED
|
@@ -219,28 +219,25 @@ export interface AgentAiUsageRecordRequestedQueueJob
|
|
|
219
219
|
> {}
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
* that asks replaces: it names the latest revision asked for.
|
|
222
|
+
* Someone asked for a designed document's PDF: the render worker prints the version in a blank
|
|
223
|
+
* sandbox of the project. One job per PDF, by its render key.
|
|
225
224
|
*/
|
|
226
|
-
export interface
|
|
225
|
+
export interface ArtifactPdfRequestedQueueJob
|
|
227
226
|
extends QueueJob<
|
|
228
|
-
"
|
|
227
|
+
"artifact.pdf.requested",
|
|
229
228
|
{
|
|
230
229
|
readonly artifactId: string
|
|
231
230
|
readonly version: number
|
|
232
231
|
/**
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
* it replaces it. Creating the version leaves its content, so its job still renders it.
|
|
236
|
-
* Absent on jobs asked for before.
|
|
232
|
+
* What the version printed when it was asked for: once its content changes, the job prints
|
|
233
|
+
* nothing, and the next ask prints what it holds then.
|
|
237
234
|
*/
|
|
238
|
-
readonly
|
|
235
|
+
readonly renderKey: string
|
|
239
236
|
/**
|
|
240
|
-
* The
|
|
241
|
-
*
|
|
237
|
+
* The `document.html` it prints instead of the version's own: with the values its fields
|
|
238
|
+
* read, as whoever asked reads them, written in.
|
|
242
239
|
*/
|
|
243
|
-
readonly
|
|
240
|
+
readonly document?: FileRef
|
|
244
241
|
}
|
|
245
242
|
> {}
|
|
246
243
|
|
|
@@ -248,7 +245,6 @@ export type AgentQueueJob =
|
|
|
248
245
|
| AgentRunRequestedQueueJob
|
|
249
246
|
| AgentWorkflowNodeRequestedQueueJob
|
|
250
247
|
| AgentAiUsageRecordRequestedQueueJob
|
|
251
|
-
| AgentArtifactPreviewsRequestedQueueJob
|
|
252
248
|
|
|
253
249
|
/** Internal lane hosted by ProjectionWorker. */
|
|
254
250
|
export type VectorIndexingQueueJob = QueueJob<
|
|
@@ -276,6 +272,35 @@ export interface DatasetIngestFlushRequestedQueueJob
|
|
|
276
272
|
|
|
277
273
|
export type LakeQueueJob = LakeRetentionRequestedQueueJob | DatasetIngestFlushRequestedQueueJob
|
|
278
274
|
|
|
275
|
+
/**
|
|
276
|
+
* A canvas version's boards miss pictures: the render worker renders them in a blank sandbox of
|
|
277
|
+
* the project, with the data the version's author can see. One job per artifact, which each write
|
|
278
|
+
* that asks replaces: it names the latest revision asked for.
|
|
279
|
+
*/
|
|
280
|
+
export interface ArtifactPreviewsRequestedQueueJob
|
|
281
|
+
extends QueueJob<
|
|
282
|
+
"artifact.previews.requested",
|
|
283
|
+
{
|
|
284
|
+
readonly artifactId: string
|
|
285
|
+
readonly version: number
|
|
286
|
+
/**
|
|
287
|
+
* When the version's content was last written as it was asked for, its `updatedAt` as ISO:
|
|
288
|
+
* once its content is written again, the job renders nothing, and the write that asks for
|
|
289
|
+
* it replaces it. Creating the version leaves its content, so its job still renders it.
|
|
290
|
+
* Absent on jobs asked for before.
|
|
291
|
+
*/
|
|
292
|
+
readonly updatedAt?: string
|
|
293
|
+
/**
|
|
294
|
+
* The version's query answers as its publisher read them when publishing, by name: a JSON
|
|
295
|
+
* blob the boards read their queries from. Absent for a version without queries.
|
|
296
|
+
*/
|
|
297
|
+
readonly queries?: FileRef
|
|
298
|
+
}
|
|
299
|
+
> {}
|
|
300
|
+
|
|
301
|
+
/** What renders in a browser, in a sandbox of the project: RenderWorker consumes it. */
|
|
302
|
+
export type RenderQueueJob = ArtifactPdfRequestedQueueJob | ArtifactPreviewsRequestedQueueJob
|
|
303
|
+
|
|
279
304
|
export interface Queues {
|
|
280
305
|
readonly vectorIndexing: Queue<
|
|
281
306
|
VectorIndexingQueueJob,
|
|
@@ -287,6 +312,12 @@ export interface Queues {
|
|
|
287
312
|
* LakeWorker consumes this lane, so lake work never waits behind a sync or takes its slot.
|
|
288
313
|
*/
|
|
289
314
|
readonly lake: Queue<LakeQueueJob, "internal.unexpected" | "runtime.cancelled">
|
|
315
|
+
/**
|
|
316
|
+
* What the framework renders in a browser, in a sandbox of the project: a designed document's
|
|
317
|
+
* PDF, and the pictures of a canvas's boards. RenderWorker consumes this lane, so a render never waits behind an agent's run or takes
|
|
318
|
+
* its slot.
|
|
319
|
+
*/
|
|
320
|
+
readonly renders: Queue<RenderQueueJob, "internal.unexpected" | "runtime.cancelled">
|
|
290
321
|
readonly syncRuns: Queue<SyncRunRequestedQueueJob, SyncQueueJobFailureCode>
|
|
291
322
|
readonly pipelines: Queue<PipelineRunRequestedQueueJob, PipelineQueueJobFailureCode>
|
|
292
323
|
readonly projections: Queue<ProjectionRunRequestedQueueJob, ProjectionQueueJobFailureCode>
|