@sixb/core 0.2.5 → 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 +36 -35
- 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 +17 -2
- package/dist/agents/execution.d.ts.map +1 -1
- package/dist/agents/index.d.ts +2 -2
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +50 -44
- 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/request.d.ts +45 -4
- package/dist/agents/request.d.ts.map +1 -1
- package/dist/agents/run-events.d.ts +4 -0
- 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-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 +37 -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/artifacts/live/server.js +19 -18
- package/dist/artifacts/live/server.js.map +1 -1
- package/dist/artifacts/publish/index.js +18 -17
- package/dist/artifacts/publish/index.js.map +1 -1
- package/dist/artifacts/publish/merge.d.ts +2 -1
- package/dist/artifacts/publish/merge.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/index.js +2 -2
- package/dist/bootstrap/index.js +40 -38
- 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-xcrnrpfh.js → chunk-394zjzjs.js} +20 -10
- package/dist/{chunk-xcrnrpfh.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-0mvjpgvm.js → chunk-425ydk65.js} +4 -4
- package/dist/{chunk-s5pj68fa.js → chunk-5sswe5ej.js} +2 -2
- 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-fpf57gca.js → chunk-7r9mqpva.js} +273 -66
- package/dist/{chunk-fpf57gca.js.map → chunk-7r9mqpva.js.map} +5 -5
- package/dist/{chunk-ewqn51gr.js → chunk-88xeh6zx.js} +6 -4
- package/dist/{chunk-ewqn51gr.js.map → chunk-88xeh6zx.js.map} +4 -4
- package/dist/chunk-90nqenq8.js +386 -0
- package/dist/chunk-90nqenq8.js.map +14 -0
- package/dist/{chunk-gjhrz66x.js → chunk-9c9yknwt.js} +247 -20
- package/dist/{chunk-gjhrz66x.js.map → chunk-9c9yknwt.js.map} +6 -6
- package/dist/{chunk-q9nkpr8k.js → chunk-9tpmfh3n.js} +1 -1
- package/dist/chunk-9wr3yajk.js.map +2 -2
- package/dist/{chunk-z1njfqqs.js → chunk-ats8y3d9.js} +721 -156
- package/dist/{chunk-z1njfqqs.js.map → chunk-ats8y3d9.js.map} +13 -13
- package/dist/{chunk-68hm50qh.js → chunk-bcz9dxtf.js} +16 -46
- package/dist/chunk-bcz9dxtf.js.map +12 -0
- package/dist/{chunk-naxjka9v.js → chunk-brhp9d97.js} +2 -2
- package/dist/{chunk-8a8k38tz.js → chunk-brybqw5k.js} +1 -1
- package/dist/{chunk-s1mqyqmm.js → chunk-bs1sd0e0.js} +12 -8
- package/dist/chunk-bs1sd0e0.js.map +18 -0
- package/dist/{chunk-vehcr9eb.js → chunk-cg7cygfj.js} +1 -1
- package/dist/chunk-dq3t5sr3.js +114 -0
- package/dist/chunk-dq3t5sr3.js.map +11 -0
- package/dist/{chunk-r2psmn42.js → chunk-eg6xqef7.js} +1 -1
- package/dist/{chunk-zxhym8tr.js → chunk-f05994as.js} +1 -1
- package/dist/{chunk-5t9gm5tt.js → chunk-fmgf9h5e.js} +38 -14
- package/dist/chunk-fmgf9h5e.js.map +22 -0
- package/dist/{chunk-ey1p8w68.js → chunk-gaj8djsw.js} +80 -4
- package/dist/chunk-gaj8djsw.js.map +13 -0
- package/dist/{chunk-1yh6jgtz.js → chunk-grt2j5vp.js} +2 -2
- package/dist/{chunk-zft9bzbc.js → chunk-hkbks1xm.js} +2 -1
- package/dist/{chunk-zft9bzbc.js.map → chunk-hkbks1xm.js.map} +3 -3
- package/dist/{chunk-rtdrm592.js → chunk-htdzx40w.js} +2 -2
- package/dist/{chunk-bc3y6gff.js → chunk-jka26v8c.js} +1 -1
- package/dist/{chunk-m3qx2pns.js → chunk-jt012fxq.js} +28 -12
- package/dist/{chunk-m3qx2pns.js.map → chunk-jt012fxq.js.map} +5 -5
- package/dist/{chunk-k3jh8gsg.js → chunk-kft7mp7z.js} +20 -3
- package/dist/chunk-kft7mp7z.js.map +10 -0
- package/dist/{chunk-qavwr628.js → chunk-n1hbwc6y.js} +5 -6
- package/dist/chunk-n1hbwc6y.js.map +12 -0
- package/dist/chunk-nxysqbt0.js.map +2 -2
- package/dist/{chunk-pqvvqc65.js → chunk-pqj8vff9.js} +3 -3
- package/dist/{chunk-wqe9shx2.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-rg725hry.js → chunk-s8xxef60.js} +83 -33
- package/dist/{chunk-rg725hry.js.map → chunk-s8xxef60.js.map} +5 -5
- package/dist/{chunk-fzae1jpq.js → chunk-t19wjmnc.js} +5 -5
- package/dist/{chunk-paxabbqd.js → chunk-tapdssb5.js} +1 -1
- package/dist/{chunk-dhkc9b23.js → chunk-v8a1qjzp.js} +1 -1
- package/dist/{chunk-q8d9p0tb.js → chunk-wzcjhv54.js} +8 -1
- package/dist/{chunk-q8d9p0tb.js.map → chunk-wzcjhv54.js.map} +3 -3
- package/dist/{chunk-pc7kra3k.js → chunk-xavet0qs.js} +1 -1
- package/dist/{chunk-0hkdtwqk.js → chunk-xf76csps.js} +5 -5
- package/dist/{chunk-m9ketb51.js → chunk-ygvay56w.js} +1 -1
- package/dist/{chunk-b4escq4c.js → chunk-ykchk644.js} +6 -6
- package/dist/{chunk-k29n4176.js → chunk-ym1bqd98.js} +6 -6
- package/dist/connectors/connections/capability.d.ts +11 -0
- package/dist/connectors/connections/capability.d.ts.map +1 -1
- 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/service.d.ts +9 -1
- package/dist/connectors/connections/service.d.ts.map +1 -1
- package/dist/connectors/execution.d.ts +7 -1
- package/dist/connectors/execution.d.ts.map +1 -1
- package/dist/connectors/service.d.ts +5 -1
- package/dist/connectors/service.d.ts.map +1 -1
- package/dist/deploy/types.d.ts +4 -1
- package/dist/deploy/types.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/types/syncs.d.ts +4 -0
- package/dist/events/types/syncs.d.ts.map +1 -1
- package/dist/execution/agent.js +37 -36
- package/dist/execution/agent.js.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 +36 -35
- 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 +33 -32
- package/dist/execution/request.js.map +3 -3
- package/dist/http/api-routes.d.ts.map +1 -1
- package/dist/http/index.js +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +61 -59
- package/dist/index.js.map +1 -1
- package/dist/maintenance/index.js +1 -1
- package/dist/materializer/index.js +22 -21
- package/dist/materializer/index.js.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 +20 -19
- 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 +36 -35
- 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 +19 -18
- 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 +21 -20
- package/dist/pipelines/index.js.map +1 -1
- package/dist/projections/internal.js +20 -19
- package/dist/projections/internal.js.map +1 -1
- package/dist/queues/in-memory.d.ts +1 -1
- package/dist/queues/in-memory.d.ts.map +1 -1
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/internal.js +24 -23
- package/dist/runtime/internal.js.map +2 -2
- package/dist/runtime/locale.d.ts +0 -2
- package/dist/runtime/locale.d.ts.map +1 -1
- 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/security/view-conditions.d.ts.map +1 -1
- package/dist/shares/internal.js +16 -15
- package/dist/shares/internal.js.map +2 -2
- package/dist/storage/agents/in-memory.d.ts +18 -1
- package/dist/storage/agents/in-memory.d.ts.map +1 -1
- package/dist/storage/agents/index.d.ts +1 -1
- package/dist/storage/agents/index.d.ts.map +1 -1
- package/dist/storage/agents/provider.d.ts +43 -9
- package/dist/storage/agents/provider.d.ts.map +1 -1
- package/dist/storage/agents/provider.js +18 -2
- package/dist/storage/agents/provider.js.map +1 -1
- package/dist/storage/agents/types.d.ts +136 -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.map +1 -1
- package/dist/storage/artifacts/record.d.ts +3 -1
- package/dist/storage/artifacts/record.d.ts.map +1 -1
- package/dist/storage/artifacts/types.d.ts +7 -0
- package/dist/storage/artifacts/types.d.ts.map +1 -1
- package/dist/storage/file-upload-sessions/provider.js +7 -7
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +22 -21
- package/dist/storage/index.js.map +1 -1
- package/dist/storage/internal.js +8 -8
- 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 +22 -21
- 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-inbox-storage-contract.d.ts.map +1 -1
- 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/index.js +1051 -58
- package/dist/testing/index.js.map +8 -8
- package/dist/testing/run-claim-storage-contract.d.ts.map +1 -1
- package/dist/webhooks/internal.js +17 -16
- package/dist/webhooks/internal.js.map +2 -2
- 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/worker.d.ts +8 -0
- package/dist/workers/worker.d.ts.map +1 -1
- package/dist/workflows/index.js +42 -40
- package/dist/workflows/index.js.map +1 -1
- package/package.json +7 -1
- package/src/actions/validation.ts +3 -1
- package/src/agents/children.ts +6 -0
- package/src/agents/errors.ts +3 -0
- package/src/agents/execution.ts +170 -20
- package/src/agents/index.ts +4 -0
- package/src/agents/model-routing.ts +25 -9
- package/src/agents/request.ts +759 -40
- package/src/agents/run-events.ts +235 -38
- package/src/agents/run-session-children.ts +13 -2
- package/src/agents/run-turn.ts +140 -23
- package/src/agents/streams/index.ts +2 -0
- package/src/agents/streams/internal.ts +12 -0
- package/src/agents/streams/protocol.ts +69 -1
- package/src/agents/streams/steps.ts +131 -0
- package/src/agents/thread-access.ts +57 -2
- package/src/artifacts/publish/merge.ts +14 -3
- package/src/artifacts/run-query.ts +5 -2
- package/src/calendar.ts +195 -0
- package/src/connectors/connections/capability.ts +40 -0
- package/src/connectors/connections/internal.ts +3 -0
- package/src/connectors/connections/service.ts +74 -5
- package/src/connectors/execution.ts +5 -6
- package/src/connectors/service.ts +23 -0
- package/src/deploy/types.ts +4 -1
- package/src/events/execution.ts +42 -2
- package/src/events/types/syncs.ts +4 -0
- package/src/execution/authorized-object-reader.ts +33 -5
- package/src/execution/object-reader-ontology.ts +6 -0
- package/src/execution/request.ts +1 -0
- package/src/http/api-routes.ts +8 -0
- package/src/index.ts +18 -2
- 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/runtime/host.ts +13 -7
- package/src/runtime/locale.ts +0 -10
- package/src/runtime/sixb.ts +12 -2
- package/src/sandboxes/README.md +3 -1
- package/src/sandboxes/auth.ts +32 -4
- package/src/sandboxes/index.ts +15 -1
- package/src/security/view-conditions.ts +2 -1
- package/src/storage/agents/in-memory.ts +271 -6
- package/src/storage/agents/index.ts +10 -0
- package/src/storage/agents/provider.ts +170 -13
- package/src/storage/agents/types.ts +148 -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 +20 -5
- package/src/storage/artifacts/record.ts +8 -2
- package/src/storage/artifacts/types.ts +7 -0
- package/src/storage/index.ts +11 -0
- package/src/storage/operation-scope.ts +1 -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-inbox-storage-contract.ts +59 -0
- package/src/testing/agent-storage-contract.ts +767 -8
- package/src/testing/ai-cost-storage-contract.ts +80 -0
- package/src/testing/artifact-storage-contract.ts +129 -0
- package/src/testing/run-claim-storage-contract.ts +116 -0
- 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/worker.ts +67 -7
- package/dist/chunk-5a4a52tq.js.map +0 -10
- package/dist/chunk-5t9gm5tt.js.map +0 -22
- package/dist/chunk-68hm50qh.js.map +0 -13
- package/dist/chunk-aw1z0gre.js +0 -234
- package/dist/chunk-aw1z0gre.js.map +0 -12
- package/dist/chunk-ey1p8w68.js.map +0 -13
- package/dist/chunk-k3jh8gsg.js.map +0 -10
- package/dist/chunk-qavwr628.js.map +0 -12
- package/dist/chunk-s1mqyqmm.js.map +0 -18
- package/dist/chunk-zeykm8my.js.map +0 -14
- /package/dist/{chunk-stmxh0hv.js.map → chunk-3neam1y5.js.map} +0 -0
- /package/dist/{chunk-0mvjpgvm.js.map → chunk-425ydk65.js.map} +0 -0
- /package/dist/{chunk-s5pj68fa.js.map → chunk-5sswe5ej.js.map} +0 -0
- /package/dist/{chunk-q9nkpr8k.js.map → chunk-9tpmfh3n.js.map} +0 -0
- /package/dist/{chunk-naxjka9v.js.map → chunk-brhp9d97.js.map} +0 -0
- /package/dist/{chunk-8a8k38tz.js.map → chunk-brybqw5k.js.map} +0 -0
- /package/dist/{chunk-vehcr9eb.js.map → chunk-cg7cygfj.js.map} +0 -0
- /package/dist/{chunk-r2psmn42.js.map → chunk-eg6xqef7.js.map} +0 -0
- /package/dist/{chunk-zxhym8tr.js.map → chunk-f05994as.js.map} +0 -0
- /package/dist/{chunk-1yh6jgtz.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-pqvvqc65.js.map → chunk-pqj8vff9.js.map} +0 -0
- /package/dist/{chunk-wqe9shx2.js.map → chunk-qbd282aa.js.map} +0 -0
- /package/dist/{chunk-fzae1jpq.js.map → chunk-t19wjmnc.js.map} +0 -0
- /package/dist/{chunk-paxabbqd.js.map → chunk-tapdssb5.js.map} +0 -0
- /package/dist/{chunk-dhkc9b23.js.map → chunk-v8a1qjzp.js.map} +0 -0
- /package/dist/{chunk-pc7kra3k.js.map → chunk-xavet0qs.js.map} +0 -0
- /package/dist/{chunk-0hkdtwqk.js.map → chunk-xf76csps.js.map} +0 -0
- /package/dist/{chunk-m9ketb51.js.map → chunk-ygvay56w.js.map} +0 -0
- /package/dist/{chunk-b4escq4c.js.map → chunk-ykchk644.js.map} +0 -0
- /package/dist/{chunk-k29n4176.js.map → chunk-ym1bqd98.js.map} +0 -0
|
@@ -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
|
}
|
package/src/runtime/host.ts
CHANGED
|
@@ -23,8 +23,13 @@ import {
|
|
|
23
23
|
} from "../auth"
|
|
24
24
|
import type { BlobStorage } from "../blob-storage"
|
|
25
25
|
import type { Broker } from "../broker"
|
|
26
|
-
import {
|
|
26
|
+
import { canonicalTimeZone } from "../calendar"
|
|
27
|
+
import {
|
|
28
|
+
registerConnectorConnectionCallbackProcess,
|
|
29
|
+
registerSandboxConnectionTokenAccess,
|
|
30
|
+
} from "../connectors/connections/capability"
|
|
27
31
|
import { createConnectorCredentialProtectorFromKey } from "../connectors/credentials"
|
|
32
|
+
import { assertPersonalConnectionRequester } from "../connectors/execution"
|
|
28
33
|
import { ConnectorService } from "../connectors/service"
|
|
29
34
|
import {
|
|
30
35
|
type ConnectorConnectionOptions,
|
|
@@ -120,17 +125,13 @@ import type { ParamsConfig } from "../shared/params/types"
|
|
|
120
125
|
import type { ShareDefinition } from "../shares"
|
|
121
126
|
import type { Storage } from "../storage"
|
|
122
127
|
import type { SyncDefinition } from "../syncs"
|
|
128
|
+
import { createSyncConnections, registerSyncConnections } from "../syncs/connections"
|
|
123
129
|
import type { RegisteredWebhook } from "../webhooks"
|
|
124
130
|
import { WebhookRegistry, WebhookValidationError } from "../webhooks"
|
|
125
131
|
import type { WorkflowDefinition } from "../workflows"
|
|
126
132
|
import type { SixbDefinitions } from "./definitions"
|
|
127
133
|
import { RuntimeError } from "./errors"
|
|
128
|
-
import {
|
|
129
|
-
canonicalLocale,
|
|
130
|
-
canonicalTimeZone,
|
|
131
|
-
DEFAULT_PROJECT_LOCALE,
|
|
132
|
-
DEFAULT_PROJECT_TIME_ZONE,
|
|
133
|
-
} from "./locale"
|
|
134
|
+
import { canonicalLocale, DEFAULT_PROJECT_LOCALE, DEFAULT_PROJECT_TIME_ZONE } from "./locale"
|
|
134
135
|
import {
|
|
135
136
|
createOntologyMutationRuntime,
|
|
136
137
|
registerOntologyMutationRuntime,
|
|
@@ -320,7 +321,12 @@ export class SixbHost<in out TParams extends ParamsConfig = ParamsConfig> {
|
|
|
320
321
|
this,
|
|
321
322
|
this.connectorService.connectionProcess.callbackProcess
|
|
322
323
|
)
|
|
324
|
+
registerSyncConnections(this, createSyncConnections(this.connectorService))
|
|
323
325
|
}
|
|
326
|
+
registerSandboxConnectionTokenAccess(this, ({ connector, selector, requestedBy }) => {
|
|
327
|
+
assertPersonalConnectionRequester(connector, requestedBy, selector)
|
|
328
|
+
return this.connectorService.createConnectionTokenSource(connector, selector)
|
|
329
|
+
})
|
|
324
330
|
assertWebhookRunStorage(connectors, this.storage)
|
|
325
331
|
this.webhookRegistry = new WebhookRegistry({ connectors })
|
|
326
332
|
|
package/src/runtime/locale.ts
CHANGED
|
@@ -14,13 +14,3 @@ export function canonicalLocale(value: unknown): string | undefined {
|
|
|
14
14
|
return undefined
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
/** The canonical IANA name of a time zone (`europe/paris` → `Europe/Paris`), or `undefined`. */
|
|
19
|
-
export function canonicalTimeZone(value: unknown): string | undefined {
|
|
20
|
-
if (typeof value !== "string" || value.trim() !== value || value === "") return undefined
|
|
21
|
-
try {
|
|
22
|
-
return new Intl.DateTimeFormat("en-US", { timeZone: value }).resolvedOptions().timeZone
|
|
23
|
-
} catch {
|
|
24
|
-
return undefined
|
|
25
|
-
}
|
|
26
|
-
}
|
package/src/runtime/sixb.ts
CHANGED
|
@@ -38,6 +38,7 @@ import type { SandboxDefinition } from "../sandboxes/configuration"
|
|
|
38
38
|
import { createSchedulesRuntime, type SchedulesRuntime } from "../schedules/execution"
|
|
39
39
|
import type { DatasetVersionMarkings } from "../security/dataset-version-markings"
|
|
40
40
|
import { createSharesRuntime, type SharesRuntime } from "../shares/execution"
|
|
41
|
+
import { createSyncConnections, visibleSyncConnectionIds } from "../syncs/connections"
|
|
41
42
|
import { createSyncsRuntime, type SyncsRuntime } from "../syncs/execution"
|
|
42
43
|
import { createUsersRuntime, type MemberStatusRuntime, type UsersRuntime } from "../users"
|
|
43
44
|
import { createWorkflowsRuntime, type WorkflowsRuntime } from "../workflows/execution"
|
|
@@ -135,6 +136,7 @@ function createExecutionFacades<TParams extends Record<string, unknown>>(
|
|
|
135
136
|
dependencies: SixbDependencies
|
|
136
137
|
): Omit<Sixb<TParams>, "execution"> {
|
|
137
138
|
const actions = createActionsRuntime(runtime, execution)
|
|
139
|
+
const syncConnections = createSyncConnections(dependencies.connectorService)
|
|
138
140
|
const workflows = createWorkflowsRuntime(runtime, execution, dependencies.definitions.workflows)
|
|
139
141
|
// One session per execution: the facade's model calls and the Agent's decisions share its
|
|
140
142
|
// accounting, AI limits and cancellation.
|
|
@@ -170,7 +172,7 @@ function createExecutionFacades<TParams extends Record<string, unknown>>(
|
|
|
170
172
|
dependencies.datasetIngest
|
|
171
173
|
),
|
|
172
174
|
workflows,
|
|
173
|
-
syncs: createSyncsRuntime(runtime, execution, dependencies.definitions.syncs),
|
|
175
|
+
syncs: createSyncsRuntime(runtime, execution, dependencies.definitions.syncs, syncConnections),
|
|
174
176
|
pipelines: createPipelinesRuntime(runtime, execution, dependencies.definitions.pipelines),
|
|
175
177
|
projections: createProjectionsRuntime(runtime, dependencies.definitions.projections),
|
|
176
178
|
rules: createRulesRuntime(runtime, dependencies.definitions.rules),
|
|
@@ -191,7 +193,15 @@ function createExecutionFacades<TParams extends Record<string, unknown>>(
|
|
|
191
193
|
dependencies.blobStorage
|
|
192
194
|
),
|
|
193
195
|
aiUsage: createAiUsageRuntime(runtime, dependencies.definitions.security),
|
|
194
|
-
events: createEventsRuntime(runtime
|
|
196
|
+
events: createEventsRuntime(runtime, {
|
|
197
|
+
visibleSyncConnectionIds: (syncIds) =>
|
|
198
|
+
visibleSyncConnectionIds(
|
|
199
|
+
runtime,
|
|
200
|
+
execution,
|
|
201
|
+
syncIds.map((syncId) => dependencies.definitions.syncs.getById(syncId)),
|
|
202
|
+
syncConnections
|
|
203
|
+
),
|
|
204
|
+
}),
|
|
195
205
|
logs: createLogsRuntime(runtime, dependencies.logging),
|
|
196
206
|
activity: createActivityRuntime(runtime, dependencies.activity),
|
|
197
207
|
schedules: createSchedulesRuntime(runtime, dependencies.definitions.schedules),
|
package/src/sandboxes/README.md
CHANGED
|
@@ -49,7 +49,9 @@ Vercel requests can outlive their worker: storage fencing cannot cancel provider
|
|
|
49
49
|
Uncertain sandboxes stay blocked; explicit recreation uses a new name without deleting old state.
|
|
50
50
|
Saved files remain subject to provider retention.
|
|
51
51
|
|
|
52
|
-
Source `auth` stays host-side
|
|
52
|
+
Source `auth` stays host-side and receives the run's `requestedBy` principal and a host-only
|
|
53
|
+
`connectionToken` resolver for OAuth connector connections, enforcing the same personal-connection
|
|
54
|
+
ownership and member-suspension rules as `sixb.connector()`. Providers advertising `supportsRequestCredentials`, as every
|
|
53
55
|
agent's provider must, apply execution-prepared credentials; direct create/resume never invoke `auth` implicitly. They apply
|
|
54
56
|
initial credentials before setup and expose session-scoped renewal, for ephemeral and named
|
|
55
57
|
sandboxes alike. Unsupported providers reject credentials before provisioning. During initial
|
package/src/sandboxes/auth.ts
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
1
|
+
import type { ConnectorAccessToken, ConnectorConnectionSelector } from "../connectors/types"
|
|
2
|
+
import type { AuthorizablePrincipal } from "../execution/types"
|
|
1
3
|
import type { SandboxSource } from "./configuration"
|
|
2
4
|
import type { SandboxRequestCredential } from "./sandbox"
|
|
3
5
|
|
|
6
|
+
/** Registered OAuth connector accepted by host-side sandbox source authentication. */
|
|
7
|
+
export interface SandboxOAuthConnector {
|
|
8
|
+
readonly kind: "connector"
|
|
9
|
+
readonly id: string
|
|
10
|
+
readonly adapter: {
|
|
11
|
+
readonly authentication: {
|
|
12
|
+
readonly type: "oauth2"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Resolve a live token from an OAuth connector connection on the host. */
|
|
18
|
+
export type SandboxConnectionTokenResolver = (
|
|
19
|
+
connector: SandboxOAuthConnector,
|
|
20
|
+
selector: ConnectorConnectionSelector
|
|
21
|
+
) => Promise<ConnectorAccessToken>
|
|
22
|
+
|
|
23
|
+
export interface SandboxSourceAuthInput {
|
|
24
|
+
readonly source: SandboxSource
|
|
25
|
+
readonly signal: AbortSignal
|
|
26
|
+
/** Who requested the run, when a person or service account started it. */
|
|
27
|
+
readonly requestedBy?: AuthorizablePrincipal
|
|
28
|
+
/**
|
|
29
|
+
* Resolve a live access token from an OAuth connector connection on the host.
|
|
30
|
+
* Enforces the same requester and member-status rules as `sixb.connector()`.
|
|
31
|
+
*/
|
|
32
|
+
readonly connectionToken?: SandboxConnectionTokenResolver
|
|
33
|
+
}
|
|
34
|
+
|
|
4
35
|
/** Per-run source access. Never persist these grants or expose them to the guest. */
|
|
5
36
|
export interface SandboxSourceCredentials {
|
|
6
37
|
/**
|
|
@@ -26,8 +57,5 @@ export interface SandboxSourceCredentials {
|
|
|
26
57
|
/** Integration-owned authentication; grant source.access (read by default), or reject. */
|
|
27
58
|
export interface SandboxSourceAuth {
|
|
28
59
|
/** A thrown error is reported to onError: it and its causes must never contain a credential. */
|
|
29
|
-
authorize(input:
|
|
30
|
-
readonly source: SandboxSource
|
|
31
|
-
readonly signal: AbortSignal
|
|
32
|
-
}): Promise<SandboxSourceCredentials>
|
|
60
|
+
authorize(input: SandboxSourceAuthInput): Promise<SandboxSourceCredentials>
|
|
33
61
|
}
|
package/src/sandboxes/index.ts
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
|
+
export type {
|
|
2
|
+
ConnectorAccessToken,
|
|
3
|
+
ConnectorConnectionOwner,
|
|
4
|
+
ConnectorConnectionSelector,
|
|
5
|
+
ProjectConnectorConnectionOwner,
|
|
6
|
+
UserConnectorConnectionOwner,
|
|
7
|
+
} from "../connectors/types"
|
|
8
|
+
export type { AuthorizablePrincipal } from "../execution/types"
|
|
1
9
|
export type { InferParams, ParamsConfig } from "../shared/params/types"
|
|
2
|
-
export type {
|
|
10
|
+
export type {
|
|
11
|
+
SandboxConnectionTokenResolver,
|
|
12
|
+
SandboxOAuthConnector,
|
|
13
|
+
SandboxSourceAuth,
|
|
14
|
+
SandboxSourceAuthInput,
|
|
15
|
+
SandboxSourceCredentials,
|
|
16
|
+
} from "./auth"
|
|
3
17
|
export { sandboxConfig } from "./config"
|
|
4
18
|
export type {
|
|
5
19
|
SandboxConfig,
|
|
@@ -61,7 +61,8 @@ export function resolveViewCondition(
|
|
|
61
61
|
input: { kind: "start", objectTypeId, includeSubtypes: true },
|
|
62
62
|
predicate: grant.condition,
|
|
63
63
|
},
|
|
64
|
-
|
|
64
|
+
// The author writes the role, so the issue may name every property of the type.
|
|
65
|
+
{ ontology, discovery: ontology },
|
|
65
66
|
unmarkedPropertiesOnly(subject, objectTypeIds, ontology)
|
|
66
67
|
)
|
|
67
68
|
|