@almadar/std 17.0.2 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/lolo/auth/atoms/std-dev-personas.lolo +27 -2
- package/behaviors/lolo/cli/atoms/std-orb-goldens.lolo +6 -3
- package/behaviors/lolo/cli/atoms/std-orb-lint-mem-handles.lolo +54 -34
- package/behaviors/lolo/cli/atoms/std-orb-lint-os-grants.lolo +4 -4
- package/behaviors/lolo/cli/atoms/std-orb-mcp.lolo +16 -21
- package/behaviors/lolo/cli/atoms/std-orb-packages.lolo +26 -16
- package/behaviors/lolo/cli/atoms/std-orb-serve.lolo +24 -4
- package/behaviors/lolo/codec/atoms/std-lolo-kotlin.lolo +26 -3
- package/behaviors/lolo/codec/atoms/std-lolo-python.lolo +15 -2
- package/behaviors/lolo/codec/atoms/std-lolo-rust.lolo +27 -2
- package/behaviors/lolo/codec/atoms/std-lolo-source.lolo +251 -60
- package/behaviors/lolo/codec/atoms/std-lolo-swift.lolo +24 -1
- package/behaviors/lolo/codec/atoms/std-lolo-typescript.lolo +24 -3
- package/behaviors/lolo/connect/atoms/std-meta-ads.lolo +4 -4
- package/behaviors/lolo/connect/atoms/std-stdio-lines.lolo +7 -4
- package/behaviors/lolo/connect/atoms/std-youtube.lolo +9 -9
- package/behaviors/lolo/dev/atoms/std-guest-session.lolo +122 -10
- package/behaviors/lolo/dev/atoms/std-mock-seed-marks.lolo +66 -0
- package/behaviors/lolo/dev/organisms/std-behavior-playground.lolo +5 -2
- package/behaviors/lolo/dev/organisms/std-launchpad.lolo +4 -3
- package/behaviors/lolo/gpu/atoms/std-gpu-compute.lolo +329 -0
- package/behaviors/lolo/net/atoms/std-http-client.lolo +4 -4
- package/behaviors/lolo/net/atoms/std-http-fetch.lolo +6 -6
- package/behaviors/lolo/net/atoms/std-npm-lookup.lolo +1 -1
- package/behaviors/lolo/net/atoms/std-npm-registry.lolo +2 -2
- package/behaviors/lolo/spec/auth/dev-personas.replay.goldens.json +263 -2
- package/behaviors/lolo/spec/cli/lint-all.lolo +1 -0
- package/behaviors/lolo/spec/cli/lint-item-action-event.replay.goldens.json +9 -9
- package/behaviors/lolo/spec/cli/lint-mem-handles.replay.goldens.json +3021 -1
- package/behaviors/lolo/spec/cli/lint-os-grants.replay.goldens.json +284 -12
- package/behaviors/lolo/spec/cli/mcp-server.replay.goldens.json +51 -55
- package/behaviors/lolo/spec/cli/orb-compile.replay.goldens.json +10 -4
- package/behaviors/lolo/spec/cli/orb-packages.lolo +1 -1
- package/behaviors/lolo/spec/codec/lolo-kotlin.replay.goldens.json +7496 -7497
- package/behaviors/lolo/spec/codec/lolo-python.replay.goldens.json +341 -3
- package/behaviors/lolo/spec/codec/lolo-rust.replay.goldens.json +18931 -6142
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/compose-pair.lolo +44 -0
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/config-read.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/divide-default.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/divide-plain.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/get-past-end.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/list-call.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/list-plain.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/minus-binary.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/minus-unary.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/nested-let.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/no-machine.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/no-template.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/nth-past-end.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/nth-raw.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/ports-call.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/range-one.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/range-two.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/router-trio.lolo +88 -0
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/store-pair.lolo +62 -0
- package/behaviors/lolo/spec/codec/lolo-source.fixtures/string-literal.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.gen/knobs.py +27 -1
- package/behaviors/lolo/spec/codec/lolo-source.gen/src_assemble.in +54 -2
- package/behaviors/lolo/spec/codec/lolo-source.gen/src_finish.in +1 -1
- package/behaviors/lolo/spec/codec/lolo-source.gen/src_fold.in +24 -4
- package/behaviors/lolo/spec/codec/lolo-source.gen/src_head.in +8 -3
- package/behaviors/lolo/spec/codec/lolo-source.gen/src_prepare.in +6 -2
- package/behaviors/lolo/spec/codec/lolo-source.gen/src_trait.in +12 -2
- package/behaviors/lolo/spec/codec/lolo-source.parity/agent-step.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.parity/agent-step.server.lolo +1 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/chunk.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.parity/chunk.server.lolo +1 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/compose-pair.events.json +36 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/compose-pair.replay.goldens.json +91 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/cosine.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.parity/cosine.server.lolo +1 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/kotlin/compose-pair.kt +31 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/kotlin/router-trio.kt +31 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/kotlin/store-pair.kt +31 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/python/compose-pair.py +18 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/python/router-trio.py +18 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/python/store-pair.py +17 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/rust/compose-pair.rs +37 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/rust/router-trio.rs +37 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/rust/store-pair.rs +36 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/swift/compose-pair.swift +24 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/swift/router-trio.swift +24 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/swift/store-pair.swift +23 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/typescript/compose-pair.mts +24 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/typescript/router-trio.mts +24 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/drivers/typescript/store-pair.mts +22 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/recall-at-k.lolo +2 -1
- package/behaviors/lolo/spec/codec/lolo-source.parity/recall-at-k.server.lolo +1 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/router-trio.events.json +18 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/router-trio.replay.goldens.json +87 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/store-pair.events.json +58 -0
- package/behaviors/lolo/spec/codec/lolo-source.parity/store-pair.replay.goldens.json +238 -0
- package/behaviors/lolo/spec/codec/lolo-swift.replay.goldens.json +15599 -2204
- package/behaviors/lolo/spec/codec/lolo-typescript.replay.goldens.json +28930 -28929
- package/behaviors/lolo/spec/connect/bearer-api.replay.goldens.json +1 -1
- package/behaviors/lolo/spec/connect/esign.replay.goldens.json +3 -3
- package/behaviors/lolo/spec/connect/github.replay.goldens.json +13 -13
- package/behaviors/lolo/spec/connect/google-calendar.replay.goldens.json +2 -2
- package/behaviors/lolo/spec/connect/image.replay.goldens.json +1 -1
- package/behaviors/lolo/spec/connect/meta-ads.replay.goldens.json +2 -2
- package/behaviors/lolo/spec/connect/stdio-lines.replay.goldens.json +90 -0
- package/behaviors/lolo/spec/connect/twilio.replay.goldens.json +2 -2
- package/behaviors/lolo/spec/connect/youtube.replay.goldens.json +1 -1
- package/behaviors/lolo/spec/dev/guest-session.replay.goldens.json +824 -0
- package/behaviors/lolo/spec/dev/mock-seed-marks.replay.goldens.json +365 -0
- package/behaviors/lolo/spec/dev/verify-walk.replay.goldens.json +2 -1
- package/behaviors/lolo/spec/gpu/gpu-compute.replay.goldens.json +784 -0
- package/behaviors/lolo/spec/mem/mem-buffer.replay.goldens.json +97 -1
- package/behaviors/lolo/spec/ml/vector-write.goldens.json +1 -1
- package/behaviors/lolo/spec/ml/vector-write.replay.goldens.json +2 -2
- package/behaviors/lolo/spec/net/http-client-call-host.replay.goldens.json +3 -3
- package/behaviors/lolo/spec/net/http-client-env-host.replay.goldens.json +3 -3
- package/behaviors/lolo/spec/net/http-client.replay.goldens.json +56 -56
- package/behaviors/lolo/spec/net/http-fetch.replay.goldens.json +2 -2
- package/behaviors/lolo/spec/net/npm-lookup.replay.goldens.json +1 -1
- package/behaviors/lolo/spec/net/npm-registry.replay.goldens.json +2 -2
- package/behaviors/lolo/spec/net/server-declared-traits.replay.goldens.json +6 -3
- package/behaviors/lolo/spec/net/server-external-inputs.replay.goldens.json +16 -8
- package/behaviors/lolo/spec/net/server-retargeted-leg.replay.goldens.json +4 -2
- package/behaviors/lolo/spec/net/server-untargeted-discovery.replay.goldens.json +50 -45
- package/behaviors/lolo/spec/ops/llm-spend-board.replay.goldens.json +112 -16
- package/behaviors/lolo/spec/store/firestore-twin.replay.goldens.json +1 -1
- package/behaviors/lolo/spec/store/row-store-postgres.gen/record_real_sql.py +1 -1
- package/behaviors/lolo/spec/ui/game/fx-particles.replay.goldens.json +37 -0
- package/behaviors/lolo/ui/avl/atoms/std-avl-cosmic-zoom.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/std-fx-particles.lolo +10 -1
- package/behaviors/lolo/ui/game/atoms/ui-draw-fx-layer.lolo +4 -4
- package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +9 -9
- package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +4 -4
- package/behaviors/lolo/ui/game/organisms/std-dungeon-board-2d.lolo +5 -5
- package/behaviors/lolo/ui/game/organisms/std-market-board-3d.lolo +9 -9
- package/behaviors/lolo/ui/game/organisms/std-objective-board-3d.lolo +9 -9
- package/behaviors/lolo/ui/game/organisms/std-platformer-board-2d.lolo +5 -5
- package/behaviors/lolo/ui/game/organisms/std-platformer-puzzle.lolo +4 -4
- package/behaviors/lolo/ui/game/organisms/std-survival-board-3d.lolo +9 -9
- package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +5 -5
- package/behaviors/lolo/ui/game/organisms/std-tactics-board-3d.lolo +9 -9
- package/behaviors/registry/auth/atoms/std-dev-personas.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-goldens.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-mem-handles.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-os-grants.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-mcp.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-packages.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-serve.orb +1 -1
- package/behaviors/registry/codec/atoms/std-lolo-kotlin.orb +1 -1
- package/behaviors/registry/codec/atoms/std-lolo-python.orb +1 -1
- package/behaviors/registry/codec/atoms/std-lolo-rust.orb +1 -1
- package/behaviors/registry/codec/atoms/std-lolo-source.orb +1 -1
- package/behaviors/registry/codec/atoms/std-lolo-swift.orb +1 -1
- package/behaviors/registry/codec/atoms/std-lolo-typescript.orb +1 -1
- package/behaviors/registry/connect/atoms/std-meta-ads.orb +1 -1
- package/behaviors/registry/connect/atoms/std-stdio-lines.orb +1 -1
- package/behaviors/registry/connect/atoms/std-youtube.orb +1 -1
- package/behaviors/registry/dev/atoms/std-guest-session.orb +1 -1
- package/behaviors/registry/dev/atoms/std-mock-seed-marks.orb +1 -0
- package/behaviors/registry/dev/organisms/std-behavior-playground.orb +37 -0
- package/behaviors/registry/dev/organisms/std-launchpad.orb +25 -0
- package/behaviors/registry/gpu/atoms/std-gpu-compute.orb +1 -0
- package/behaviors/registry/net/atoms/std-http-client.orb +1 -1
- package/behaviors/registry/net/atoms/std-http-fetch.orb +1 -1
- package/behaviors/registry/net/atoms/std-npm-lookup.orb +1 -1
- package/behaviors/registry/net/atoms/std-npm-registry.orb +1 -1
- package/behaviors/registry/spec/cli/lint-all.orb +1 -1
- package/behaviors/registry/spec/cli/orb-packages.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/compose-pair.orb +1 -0
- package/behaviors/registry/spec/codec/lolo-source.fixtures/config-read.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/divide-default.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/divide-plain.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/get-past-end.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/list-call.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/list-plain.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/minus-binary.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/minus-unary.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/nested-let.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/no-machine.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/no-template.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/nth-past-end.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/nth-raw.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/ports-call.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/range-one.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/range-two.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.fixtures/router-trio.orb +1 -0
- package/behaviors/registry/spec/codec/lolo-source.fixtures/store-pair.orb +1 -0
- package/behaviors/registry/spec/codec/lolo-source.fixtures/string-literal.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/agent-step.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/agent-step.server.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/chunk.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/chunk.server.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/cosine.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/cosine.server.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/recall-at-k.orb +1 -1
- package/behaviors/registry/spec/codec/lolo-source.parity/recall-at-k.server.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/std-avl-cosmic-zoom.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-fx-layer.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +20 -13
- package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +9 -5
- package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +17 -7
- package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +19 -15
- package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +15 -12
- package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +17 -7
- package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +4 -0
- package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +15 -12
- package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +13 -6
- package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +14 -12
- package/canonical-operators.json +1426 -103
- package/dist/{chunk-EK22WRB6.js → chunk-2UGHBVU2.js} +2 -2
- package/dist/{chunk-GDMH5T4J.js → chunk-3DK7GI2C.js} +2 -2
- package/dist/chunk-3MDASC5C.js +26 -0
- package/dist/{chunk-K5ZI27PB.js → chunk-3PHO4RRF.js} +1 -1
- package/dist/{chunk-7IEMMYM6.js → chunk-4MJCLAZW.js} +1 -1
- package/dist/{chunk-W4IEV4BY.js → chunk-55JPIL7A.js} +2 -2
- package/dist/{chunk-RUGBZTV3.js → chunk-66BLZLFI.js} +1 -1
- package/dist/{chunk-YWFISV7L.js → chunk-66RAJFOD.js} +1 -1
- package/dist/{chunk-JWOWWGNZ.js → chunk-6ED4SUC6.js} +1 -1
- package/dist/{chunk-LL7P6EII.js → chunk-6KFCHNE2.js} +2 -2
- package/dist/{chunk-GFBL2TW6.js → chunk-A4QB3Y6L.js} +1 -1
- package/dist/chunk-BVWMLS32.js +123 -0
- package/dist/{chunk-5KQCGSNC.js → chunk-CRKVDCY7.js} +1 -1
- package/dist/{chunk-WHQDLLC3.js → chunk-EKWEY4OJ.js} +1 -1
- package/dist/{chunk-Y3BRVNYK.js → chunk-EU22GCGV.js} +2 -2
- package/dist/{chunk-XQPYTDZ4.js → chunk-FB6PKNRS.js} +1 -1
- package/dist/{chunk-UX3MDFX6.js → chunk-FSVOJQLP.js} +1 -1
- package/dist/{chunk-LDBD2FBQ.js → chunk-GAKLBWBR.js} +1 -1
- package/dist/{chunk-C3IEMPRZ.js → chunk-GO3FKBV2.js} +2 -2
- package/dist/{chunk-LZSPEHSM.js → chunk-GPDTJHYY.js} +1 -1
- package/dist/{chunk-W5ABMOXU.js → chunk-JQBWLH5V.js} +1 -1
- package/dist/{chunk-63X6RNY6.js → chunk-KKW3JHTC.js} +1 -1
- package/dist/{chunk-5PLJE42Q.js → chunk-LF2EZVAM.js} +1 -1
- package/dist/{chunk-RXWBYWQB.js → chunk-LGCKOZP3.js} +2 -2
- package/dist/{chunk-JJEADYP7.js → chunk-LMZ6XJFB.js} +2 -2
- package/dist/{chunk-CWYSQZJU.js → chunk-M2YQNSAZ.js} +2 -2
- package/dist/{chunk-GNCKJV3P.js → chunk-MKWHYBIS.js} +1 -1
- package/dist/{chunk-ZB2CLGEG.js → chunk-MXBGYTYF.js} +1 -1
- package/dist/{chunk-UN76TRSK.js → chunk-NH6MXHZR.js} +41 -41
- package/dist/{chunk-II2VW7T6.js → chunk-ODBIX4DB.js} +1 -1
- package/dist/{chunk-3F3CNWOG.js → chunk-OYDQR6DT.js} +2 -2
- package/dist/{chunk-FVL6BT6L.js → chunk-PD6POR44.js} +1 -1
- package/dist/{chunk-U6USXZ5M.js → chunk-PHFT3QNS.js} +2 -2
- package/dist/{chunk-RJYKIZMS.js → chunk-PQZ6PVKG.js} +2 -2
- package/dist/{chunk-TQPQXCSZ.js → chunk-Q6NHXIOZ.js} +2 -2
- package/dist/{chunk-KYGWVCTM.js → chunk-QMDVYTB7.js} +1 -1
- package/dist/{chunk-XKTATY45.js → chunk-RW2KMSG5.js} +4 -4
- package/dist/{chunk-UHNSPTFT.js → chunk-SA2ZS24W.js} +1 -1
- package/dist/{chunk-6YPUQK36.js → chunk-SFWP4UMK.js} +2 -2
- package/dist/{chunk-ZZYLFHBU.js → chunk-TLNEQA4D.js} +1 -1
- package/dist/{chunk-RGTBRWWA.js → chunk-TOODE5AD.js} +2 -2
- package/dist/{chunk-QGWAHOFR.js → chunk-U57GY7SM.js} +2 -2
- package/dist/{chunk-FDJZKB7J.js → chunk-UIDQQJSX.js} +1 -1
- package/dist/{chunk-LLH3WXM3.js → chunk-UVFP2B7I.js} +1 -1
- package/dist/{chunk-4OF7727E.js → chunk-VEGZPCTZ.js} +2 -2
- package/dist/{chunk-73YUPNIT.js → chunk-VXN4V7LC.js} +1 -1
- package/dist/{chunk-4D3W6AAE.js → chunk-YHQVZWPG.js} +1 -1
- package/dist/{chunk-XXYBHYLM.js → chunk-YQO3TO66.js} +2 -2
- package/dist/{chunk-YZAYFR5A.js → chunk-ZSJ3GEOJ.js} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +50 -50
- package/dist/modules/anim.js +2 -2
- package/dist/modules/array.js +2 -2
- package/dist/modules/auth.js +3 -3
- package/dist/modules/behavior.js +2 -2
- package/dist/modules/bit.js +2 -2
- package/dist/modules/browser.js +2 -2
- package/dist/modules/bytes.js +2 -2
- package/dist/modules/codec.js +3 -3
- package/dist/modules/composition.js +2 -2
- package/dist/modules/core.js +2 -2
- package/dist/modules/csv.js +2 -2
- package/dist/modules/ffi.js +3 -3
- package/dist/modules/format.js +2 -2
- package/dist/modules/geo.js +2 -2
- package/dist/modules/gpu.d.ts +12 -0
- package/dist/modules/gpu.js +3 -0
- package/dist/modules/grid.js +2 -2
- package/dist/modules/i18n.js +2 -2
- package/dist/modules/index.d.ts +1 -2
- package/dist/modules/index.js +45 -46
- package/dist/modules/json.js +2 -2
- package/dist/modules/kernel.js +3 -3
- package/dist/modules/kv.js +3 -3
- package/dist/modules/llm.js +2 -2
- package/dist/modules/math.js +2 -2
- package/dist/modules/mem.js +3 -3
- package/dist/modules/object.js +2 -2
- package/dist/modules/os-common.d.ts +1 -1
- package/dist/modules/os-common.js +2 -2
- package/dist/modules/os-desktop.js +3 -3
- package/dist/modules/os-dev.js +3 -3
- package/dist/modules/os-dir.js +3 -3
- package/dist/modules/os-env-stdio.js +3 -3
- package/dist/modules/os-fs.js +3 -3
- package/dist/modules/os-net.js +3 -3
- package/dist/modules/os-path.js +3 -3
- package/dist/modules/os-process.js +3 -3
- package/dist/modules/os-sys.js +3 -3
- package/dist/modules/os-time-users.js +3 -3
- package/dist/modules/os.js +13 -13
- package/dist/modules/path.js +2 -2
- package/dist/modules/prob.js +2 -2
- package/dist/modules/program.js +2 -2
- package/dist/modules/session.js +2 -2
- package/dist/modules/str.js +2 -2
- package/dist/modules/time.js +2 -2
- package/dist/modules/validate.js +2 -2
- package/dist/modules/vector.js +2 -2
- package/dist/modules/workspace.js +2 -2
- package/dist/modules/xml.js +2 -2
- package/dist/modules/yaml.js +2 -2
- package/dist/registry.d.ts +2 -2
- package/dist/registry.js +49 -49
- package/dist/{types-BA4LkhNJ.d.ts → types-CgiGhK6t.d.ts} +17 -3
- package/package.json +5 -5
- package/dist/chunk-F5TP25JA.js +0 -26
- package/dist/chunk-NE4WSTN7.js +0 -26
- package/dist/modules/trace.d.ts +0 -15
- package/dist/modules/trace.js +0 -2
- /package/dist/{chunk-SHSBTDDX.js → chunk-QUQ33UXH.js} +0 -0
|
@@ -0,0 +1,784 @@
|
|
|
1
|
+
{
|
|
2
|
+
"atom": "gpu/atoms/std-gpu-compute.lolo",
|
|
3
|
+
"trait": "GpuCompute",
|
|
4
|
+
"cases": [
|
|
5
|
+
{
|
|
6
|
+
"id": "open asks the host for a device",
|
|
7
|
+
"steps": [
|
|
8
|
+
{
|
|
9
|
+
"from": "idle",
|
|
10
|
+
"event": "GPU_OPEN",
|
|
11
|
+
"payload": {},
|
|
12
|
+
"expect": {
|
|
13
|
+
"fired": true,
|
|
14
|
+
"state": "opening",
|
|
15
|
+
"effects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "gpu/device-open"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "a denied open lands in failed with the kind",
|
|
26
|
+
"steps": [
|
|
27
|
+
{
|
|
28
|
+
"from": "opening",
|
|
29
|
+
"event": "GPU_FAILED",
|
|
30
|
+
"payload": {
|
|
31
|
+
"error": "no open grant",
|
|
32
|
+
"kind": "denied"
|
|
33
|
+
},
|
|
34
|
+
"expect": {
|
|
35
|
+
"fired": true,
|
|
36
|
+
"state": "failed",
|
|
37
|
+
"emits": [
|
|
38
|
+
{
|
|
39
|
+
"event": "GPU_ERROR",
|
|
40
|
+
"payload": {
|
|
41
|
+
"error": "no open grant",
|
|
42
|
+
"kind": "denied"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"entity": {
|
|
48
|
+
"id": "g"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "run before open reports closed",
|
|
55
|
+
"steps": [
|
|
56
|
+
{
|
|
57
|
+
"from": "idle",
|
|
58
|
+
"event": "GPU_RUN",
|
|
59
|
+
"payload": {
|
|
60
|
+
"a": "AAAAAAAAgD8=",
|
|
61
|
+
"b": "AAAAAAAAgD8="
|
|
62
|
+
},
|
|
63
|
+
"expect": {
|
|
64
|
+
"fired": true,
|
|
65
|
+
"state": "idle",
|
|
66
|
+
"emits": [
|
|
67
|
+
{
|
|
68
|
+
"event": "GPU_ERROR",
|
|
69
|
+
"payload": {
|
|
70
|
+
"error": "the device is not open",
|
|
71
|
+
"kind": "closed"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"entity": {
|
|
77
|
+
"id": "g"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "run creates the first input buffer",
|
|
84
|
+
"steps": [
|
|
85
|
+
{
|
|
86
|
+
"from": "ready",
|
|
87
|
+
"event": "GPU_RUN",
|
|
88
|
+
"payload": {
|
|
89
|
+
"a": "AAAAAAAAgD8=",
|
|
90
|
+
"b": "AAAAAAAAgD8="
|
|
91
|
+
},
|
|
92
|
+
"expect": {
|
|
93
|
+
"fired": true,
|
|
94
|
+
"state": "creatingA",
|
|
95
|
+
"effects": [
|
|
96
|
+
{
|
|
97
|
+
"type": "gpu/buffer-create"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"entity": {
|
|
102
|
+
"id": "g",
|
|
103
|
+
"device": {
|
|
104
|
+
"id": 1,
|
|
105
|
+
"maxBytes": 16777216
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "a full job runs on handles the kernel mints from the host's plain answers",
|
|
113
|
+
"steps": [
|
|
114
|
+
{
|
|
115
|
+
"from": "idle",
|
|
116
|
+
"event": "GPU_OPEN",
|
|
117
|
+
"payload": {},
|
|
118
|
+
"answers": [
|
|
119
|
+
{
|
|
120
|
+
"operator": "gpu/device-open",
|
|
121
|
+
"ok": {
|
|
122
|
+
"device": 1,
|
|
123
|
+
"features": [],
|
|
124
|
+
"limits": {}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"expect": {
|
|
129
|
+
"fired": true,
|
|
130
|
+
"state": "opening",
|
|
131
|
+
"emits": [
|
|
132
|
+
{
|
|
133
|
+
"event": "GPU_OPENED",
|
|
134
|
+
"payload": {}
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"neverEmits": [
|
|
138
|
+
"GPU_ERROR"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"event": "GPU_RUN",
|
|
144
|
+
"payload": {
|
|
145
|
+
"a": "AACAPwAAAEA=",
|
|
146
|
+
"b": "AABAQAAAgEA="
|
|
147
|
+
},
|
|
148
|
+
"answers": [
|
|
149
|
+
{
|
|
150
|
+
"operator": "gpu/buffer-create",
|
|
151
|
+
"ok": {
|
|
152
|
+
"buffer": 2
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"operator": "gpu/buffer-create",
|
|
157
|
+
"ok": {
|
|
158
|
+
"buffer": 3
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"operator": "gpu/buffer-create",
|
|
163
|
+
"ok": {
|
|
164
|
+
"buffer": 4
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"operator": "gpu/shader-create",
|
|
169
|
+
"ok": {
|
|
170
|
+
"shader": 5
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"operator": "gpu/pipeline-create",
|
|
175
|
+
"ok": {
|
|
176
|
+
"pipeline": 6
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"operator": "gpu/bind-group-create",
|
|
181
|
+
"ok": {
|
|
182
|
+
"bindGroup": 7
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"operator": "gpu/submit",
|
|
187
|
+
"ok": {
|
|
188
|
+
"reads": [
|
|
189
|
+
"AACAQAAAwEA="
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"expect": {
|
|
195
|
+
"fired": true,
|
|
196
|
+
"state": "creatingA",
|
|
197
|
+
"emits": [
|
|
198
|
+
{
|
|
199
|
+
"event": "GPU_RESULT",
|
|
200
|
+
"payload": {
|
|
201
|
+
"data": "AACAQAAAwEA="
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"neverEmits": [
|
|
206
|
+
"GPU_ERROR"
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "an invalid shader lands in failed",
|
|
214
|
+
"steps": [
|
|
215
|
+
{
|
|
216
|
+
"from": "shading",
|
|
217
|
+
"event": "GPU_FAILED",
|
|
218
|
+
"payload": {
|
|
219
|
+
"error": "wgsl: unexpected token",
|
|
220
|
+
"kind": "invalid"
|
|
221
|
+
},
|
|
222
|
+
"expect": {
|
|
223
|
+
"fired": true,
|
|
224
|
+
"state": "failed",
|
|
225
|
+
"emits": [
|
|
226
|
+
{
|
|
227
|
+
"event": "GPU_ERROR",
|
|
228
|
+
"payload": {
|
|
229
|
+
"error": "wgsl: unexpected token",
|
|
230
|
+
"kind": "invalid"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"entity": {
|
|
236
|
+
"id": "g",
|
|
237
|
+
"device": {
|
|
238
|
+
"id": 1,
|
|
239
|
+
"maxBytes": 16777216
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "the submit answer emits the bytes its read brought back",
|
|
247
|
+
"steps": [
|
|
248
|
+
{
|
|
249
|
+
"from": "submitting",
|
|
250
|
+
"event": "GPU_SUBMITTED",
|
|
251
|
+
"payload": {
|
|
252
|
+
"reads": [
|
|
253
|
+
"AAAAAAAAgD8="
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"expect": {
|
|
257
|
+
"fired": true,
|
|
258
|
+
"state": "done",
|
|
259
|
+
"emits": [
|
|
260
|
+
{
|
|
261
|
+
"event": "GPU_RESULT",
|
|
262
|
+
"payload": {
|
|
263
|
+
"data": "AAAAAAAAgD8="
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"neverEmits": [
|
|
268
|
+
"GPU_ERROR"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"entity": {
|
|
272
|
+
"id": "g",
|
|
273
|
+
"device": {
|
|
274
|
+
"id": 1,
|
|
275
|
+
"maxBytes": 16777216
|
|
276
|
+
},
|
|
277
|
+
"bufOut": {
|
|
278
|
+
"id": 3,
|
|
279
|
+
"device": 1,
|
|
280
|
+
"size": 16
|
|
281
|
+
},
|
|
282
|
+
"size": 8
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"id": "a submit answer without the read reports io",
|
|
289
|
+
"steps": [
|
|
290
|
+
{
|
|
291
|
+
"from": "submitting",
|
|
292
|
+
"event": "GPU_SUBMITTED",
|
|
293
|
+
"payload": {
|
|
294
|
+
"reads": []
|
|
295
|
+
},
|
|
296
|
+
"expect": {
|
|
297
|
+
"fired": true,
|
|
298
|
+
"state": "done",
|
|
299
|
+
"emits": [
|
|
300
|
+
{
|
|
301
|
+
"event": "GPU_ERROR",
|
|
302
|
+
"payload": {
|
|
303
|
+
"error": "the job's read answered no bytes",
|
|
304
|
+
"kind": "io"
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"neverEmits": [
|
|
309
|
+
"GPU_RESULT"
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
"entity": {
|
|
313
|
+
"id": "g",
|
|
314
|
+
"device": {
|
|
315
|
+
"id": 1,
|
|
316
|
+
"maxBytes": 16777216
|
|
317
|
+
},
|
|
318
|
+
"bufOut": {
|
|
319
|
+
"id": 3,
|
|
320
|
+
"device": 1,
|
|
321
|
+
"size": 16
|
|
322
|
+
},
|
|
323
|
+
"size": 8
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"id": "close starts releasing",
|
|
330
|
+
"steps": [
|
|
331
|
+
{
|
|
332
|
+
"from": "ready",
|
|
333
|
+
"event": "GPU_CLOSE",
|
|
334
|
+
"payload": {},
|
|
335
|
+
"expect": {
|
|
336
|
+
"fired": true,
|
|
337
|
+
"state": "releasing"
|
|
338
|
+
},
|
|
339
|
+
"entity": {
|
|
340
|
+
"id": "g",
|
|
341
|
+
"device": {
|
|
342
|
+
"id": 1,
|
|
343
|
+
"maxBytes": 16777216
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"id": "releasing frees the bind group first",
|
|
351
|
+
"steps": [
|
|
352
|
+
{
|
|
353
|
+
"from": "releasing",
|
|
354
|
+
"event": "GPU_RELEASE_NEXT",
|
|
355
|
+
"payload": {},
|
|
356
|
+
"expect": {
|
|
357
|
+
"fired": true,
|
|
358
|
+
"state": "releasing",
|
|
359
|
+
"effects": [
|
|
360
|
+
{
|
|
361
|
+
"type": "gpu/release"
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"entity": {
|
|
366
|
+
"id": "g",
|
|
367
|
+
"device": {
|
|
368
|
+
"id": 1,
|
|
369
|
+
"maxBytes": 16777216
|
|
370
|
+
},
|
|
371
|
+
"bufA": {
|
|
372
|
+
"id": 1,
|
|
373
|
+
"device": 1,
|
|
374
|
+
"size": 16
|
|
375
|
+
},
|
|
376
|
+
"bindGroup": {
|
|
377
|
+
"id": 6,
|
|
378
|
+
"device": 1
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"id": "with every object released the device closes",
|
|
386
|
+
"steps": [
|
|
387
|
+
{
|
|
388
|
+
"from": "releasing",
|
|
389
|
+
"event": "GPU_RELEASE_NEXT",
|
|
390
|
+
"payload": {},
|
|
391
|
+
"expect": {
|
|
392
|
+
"fired": true,
|
|
393
|
+
"state": "closing",
|
|
394
|
+
"effects": [
|
|
395
|
+
{
|
|
396
|
+
"type": "gpu/device-close"
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"entity": {
|
|
401
|
+
"id": "g",
|
|
402
|
+
"device": {
|
|
403
|
+
"id": 1,
|
|
404
|
+
"maxBytes": 16777216
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"id": "the device close answer returns to idle",
|
|
412
|
+
"steps": [
|
|
413
|
+
{
|
|
414
|
+
"from": "closing",
|
|
415
|
+
"event": "GPU_DEVICE_CLOSED",
|
|
416
|
+
"payload": {},
|
|
417
|
+
"expect": {
|
|
418
|
+
"fired": true,
|
|
419
|
+
"state": "idle",
|
|
420
|
+
"emits": [
|
|
421
|
+
{
|
|
422
|
+
"event": "GPU_CLOSED",
|
|
423
|
+
"payload": {}
|
|
424
|
+
}
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
"entity": {
|
|
428
|
+
"id": "g",
|
|
429
|
+
"device": {
|
|
430
|
+
"id": 1,
|
|
431
|
+
"maxBytes": 16777216
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
]
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"id": "a failed job can be closed",
|
|
439
|
+
"steps": [
|
|
440
|
+
{
|
|
441
|
+
"from": "failed",
|
|
442
|
+
"event": "GPU_CLOSE",
|
|
443
|
+
"payload": {},
|
|
444
|
+
"expect": {
|
|
445
|
+
"fired": true,
|
|
446
|
+
"state": "releasing"
|
|
447
|
+
},
|
|
448
|
+
"entity": {
|
|
449
|
+
"id": "g",
|
|
450
|
+
"device": {
|
|
451
|
+
"id": 1,
|
|
452
|
+
"maxBytes": 16777216
|
|
453
|
+
},
|
|
454
|
+
"bufA": {
|
|
455
|
+
"id": 1,
|
|
456
|
+
"device": 1,
|
|
457
|
+
"size": 16
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"id": "after a job, each step reruns the dispatch on the same buffers and emits the read",
|
|
465
|
+
"steps": [
|
|
466
|
+
{
|
|
467
|
+
"from": "idle",
|
|
468
|
+
"event": "GPU_OPEN",
|
|
469
|
+
"payload": {},
|
|
470
|
+
"answers": [
|
|
471
|
+
{
|
|
472
|
+
"operator": "gpu/device-open",
|
|
473
|
+
"ok": {
|
|
474
|
+
"device": 1,
|
|
475
|
+
"features": [],
|
|
476
|
+
"limits": {}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"expect": {
|
|
481
|
+
"fired": true,
|
|
482
|
+
"state": "opening",
|
|
483
|
+
"emits": [
|
|
484
|
+
{
|
|
485
|
+
"event": "GPU_OPENED",
|
|
486
|
+
"payload": {}
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"neverEmits": [
|
|
490
|
+
"GPU_ERROR"
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"event": "GPU_RUN",
|
|
496
|
+
"payload": {
|
|
497
|
+
"a": "AACAPwAAAEA=",
|
|
498
|
+
"b": "AABAQAAAgEA="
|
|
499
|
+
},
|
|
500
|
+
"answers": [
|
|
501
|
+
{
|
|
502
|
+
"operator": "gpu/buffer-create",
|
|
503
|
+
"ok": {
|
|
504
|
+
"buffer": 2
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"operator": "gpu/buffer-create",
|
|
509
|
+
"ok": {
|
|
510
|
+
"buffer": 3
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"operator": "gpu/buffer-create",
|
|
515
|
+
"ok": {
|
|
516
|
+
"buffer": 4
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"operator": "gpu/shader-create",
|
|
521
|
+
"ok": {
|
|
522
|
+
"shader": 5
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"operator": "gpu/pipeline-create",
|
|
527
|
+
"ok": {
|
|
528
|
+
"pipeline": 6
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"operator": "gpu/bind-group-create",
|
|
533
|
+
"ok": {
|
|
534
|
+
"bindGroup": 7
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"operator": "gpu/submit",
|
|
539
|
+
"ok": {
|
|
540
|
+
"reads": [
|
|
541
|
+
"AACAQAAAwEA="
|
|
542
|
+
]
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"expect": {
|
|
547
|
+
"fired": true,
|
|
548
|
+
"state": "creatingA",
|
|
549
|
+
"emits": [
|
|
550
|
+
{
|
|
551
|
+
"event": "GPU_RESULT",
|
|
552
|
+
"payload": {
|
|
553
|
+
"data": "AACAQAAAwEA="
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
],
|
|
557
|
+
"neverEmits": [
|
|
558
|
+
"GPU_ERROR"
|
|
559
|
+
]
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"event": "GPU_STEP",
|
|
564
|
+
"payload": {
|
|
565
|
+
"params": [
|
|
566
|
+
"AQAAAA==",
|
|
567
|
+
"AgAAAA=="
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
"answers": [
|
|
571
|
+
{
|
|
572
|
+
"operator": "gpu/submit",
|
|
573
|
+
"ok": {
|
|
574
|
+
"reads": [
|
|
575
|
+
"AABAQQAAoEE="
|
|
576
|
+
]
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"expect": {
|
|
581
|
+
"fired": true,
|
|
582
|
+
"state": "stepping",
|
|
583
|
+
"emits": [
|
|
584
|
+
{
|
|
585
|
+
"event": "GPU_RESULT",
|
|
586
|
+
"payload": {
|
|
587
|
+
"data": "AABAQQAAoEE="
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"neverEmits": [
|
|
592
|
+
"GPU_ERROR"
|
|
593
|
+
]
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"event": "GPU_STEP",
|
|
598
|
+
"payload": {
|
|
599
|
+
"params": [
|
|
600
|
+
"AQAAAA==",
|
|
601
|
+
"AgAAAA=="
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
"answers": [
|
|
605
|
+
{
|
|
606
|
+
"operator": "gpu/submit",
|
|
607
|
+
"ok": {
|
|
608
|
+
"reads": [
|
|
609
|
+
"AACAQQAAAEI="
|
|
610
|
+
]
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"expect": {
|
|
615
|
+
"fired": true,
|
|
616
|
+
"state": "stepping",
|
|
617
|
+
"emits": [
|
|
618
|
+
{
|
|
619
|
+
"event": "GPU_RESULT",
|
|
620
|
+
"payload": {
|
|
621
|
+
"data": "AACAQQAAAEI="
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
],
|
|
625
|
+
"neverEmits": [
|
|
626
|
+
"GPU_ERROR"
|
|
627
|
+
]
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
]
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"id": "a step before open reports closed",
|
|
634
|
+
"steps": [
|
|
635
|
+
{
|
|
636
|
+
"from": "idle",
|
|
637
|
+
"event": "GPU_STEP",
|
|
638
|
+
"payload": {
|
|
639
|
+
"params": [
|
|
640
|
+
"AQAAAA=="
|
|
641
|
+
]
|
|
642
|
+
},
|
|
643
|
+
"expect": {
|
|
644
|
+
"fired": true,
|
|
645
|
+
"state": "idle",
|
|
646
|
+
"emits": [
|
|
647
|
+
{
|
|
648
|
+
"event": "GPU_ERROR",
|
|
649
|
+
"payload": {
|
|
650
|
+
"error": "the device is not open",
|
|
651
|
+
"kind": "closed"
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
]
|
|
655
|
+
},
|
|
656
|
+
"entity": {
|
|
657
|
+
"id": "g"
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"id": "a step before the first job is refused",
|
|
664
|
+
"steps": [
|
|
665
|
+
{
|
|
666
|
+
"from": "ready",
|
|
667
|
+
"event": "GPU_STEP",
|
|
668
|
+
"payload": {
|
|
669
|
+
"params": [
|
|
670
|
+
"AQAAAA=="
|
|
671
|
+
]
|
|
672
|
+
},
|
|
673
|
+
"expect": {
|
|
674
|
+
"fired": true,
|
|
675
|
+
"state": "ready",
|
|
676
|
+
"emits": [
|
|
677
|
+
{
|
|
678
|
+
"event": "GPU_ERROR",
|
|
679
|
+
"payload": {
|
|
680
|
+
"error": "run the job before stepping it",
|
|
681
|
+
"kind": "invalid"
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
},
|
|
686
|
+
"entity": {
|
|
687
|
+
"id": "g"
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
]
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"id": "a step while one is running is refused",
|
|
694
|
+
"steps": [
|
|
695
|
+
{
|
|
696
|
+
"from": "stepping",
|
|
697
|
+
"event": "GPU_STEP",
|
|
698
|
+
"payload": {
|
|
699
|
+
"params": [
|
|
700
|
+
"AQAAAA=="
|
|
701
|
+
]
|
|
702
|
+
},
|
|
703
|
+
"expect": {
|
|
704
|
+
"fired": true,
|
|
705
|
+
"state": "stepping",
|
|
706
|
+
"emits": [
|
|
707
|
+
{
|
|
708
|
+
"event": "GPU_ERROR",
|
|
709
|
+
"payload": {
|
|
710
|
+
"error": "a step is already running",
|
|
711
|
+
"kind": "invalid"
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
]
|
|
715
|
+
},
|
|
716
|
+
"entity": {
|
|
717
|
+
"id": "g"
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
]
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"id": "a step answer without the read reports io",
|
|
724
|
+
"steps": [
|
|
725
|
+
{
|
|
726
|
+
"from": "stepping",
|
|
727
|
+
"event": "GPU_SUBMITTED",
|
|
728
|
+
"payload": {
|
|
729
|
+
"reads": []
|
|
730
|
+
},
|
|
731
|
+
"expect": {
|
|
732
|
+
"fired": true,
|
|
733
|
+
"state": "done",
|
|
734
|
+
"emits": [
|
|
735
|
+
{
|
|
736
|
+
"event": "GPU_ERROR",
|
|
737
|
+
"payload": {
|
|
738
|
+
"error": "the step's read answered no bytes",
|
|
739
|
+
"kind": "io"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
"neverEmits": [
|
|
744
|
+
"GPU_RESULT"
|
|
745
|
+
]
|
|
746
|
+
},
|
|
747
|
+
"entity": {
|
|
748
|
+
"id": "g"
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
]
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"id": "a done job with no handles cannot step",
|
|
755
|
+
"steps": [
|
|
756
|
+
{
|
|
757
|
+
"from": "done",
|
|
758
|
+
"event": "GPU_STEP",
|
|
759
|
+
"payload": {
|
|
760
|
+
"params": [
|
|
761
|
+
"AQAAAA=="
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
|
+
"expect": {
|
|
765
|
+
"fired": true,
|
|
766
|
+
"state": "failed",
|
|
767
|
+
"emits": [
|
|
768
|
+
{
|
|
769
|
+
"event": "GPU_ERROR",
|
|
770
|
+
"payload": {
|
|
771
|
+
"error": "the job holds no device, pipeline, bind group or buffers",
|
|
772
|
+
"kind": "closed"
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
]
|
|
776
|
+
},
|
|
777
|
+
"entity": {
|
|
778
|
+
"id": "g"
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
]
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
}
|