@flighthq/shell 0.5.1-edge.4399.0979a37 → 0.5.1-edge.5211.71b571d

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/README.md CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/shell`. The `@flight
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/shell@0.5.1-edge.4399.0979a37](https://github.com/flighthq/flight/tree/0979a374e595344a147d96702abe9ae2437369db/packages/shell)
17
- - [License](https://github.com/flighthq/flight/blob/0979a374e595344a147d96702abe9ae2437369db/LICENSE.md)
16
+ - [Source for @flighthq/shell@0.5.1-edge.5211.71b571d](https://github.com/flighthq/flight/tree/71b571d68dc6ad0df7c02d1c10912cde2a880993/packages/shell)
17
+ - [License](https://github.com/flighthq/flight/blob/71b571d68dc6ad0df7c02d1c10912cde2a880993/LICENSE.md)
@@ -0,0 +1 @@
1
+ {"version":"7.0.2","root":[[74,75]],"packageJsons":["../../../node_modules/@standard-schema/spec/package.json","../../../node_modules/@testing-library/jest-dom/package.json","../../../node_modules/@types/aria-query/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/expect/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/pretty-format/package.json","../../../node_modules/@vitest/runner/package.json","../../../node_modules/@vitest/snapshot/package.json","../../../node_modules/@vitest/spy/package.json","../../../node_modules/@vitest/utils/package.json","../../../node_modules/@webgpu/types/package.json","../../../node_modules/aria-query/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/tinyrainbow/package.json","../../../node_modules/tsx/package.json","../../../node_modules/vite/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/package.json","../../../node_modules/yaml/package.json","../../entity/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/aria-query/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/jest/package.json","../../../node_modules/@testing-library/jest-dom/types/package.json","../../../node_modules/@types/jest/package.json","../../../node_modules/@types/testing-library__jest-dom/package.json","../../../node_modules/@types/vitest/globals/package.json","../../../node_modules/@types/webgpu__types/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/expect/dist/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/@vitest/pretty-format/dist/package.json","../../../node_modules/@vitest/runner/dist/package.json","../../../node_modules/@vitest/runner/utils/package.json","../../../node_modules/@vitest/snapshot/dist/package.json","../../../node_modules/@vitest/spy/dist/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/@vitest/utils/diff/package.json","../../../node_modules/@vitest/utils/display/package.json","../../../node_modules/@vitest/utils/dist/package.json","../../../node_modules/@webgpu/types/dist/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/jest/package.json","../../../node_modules/less/package.json","../../../node_modules/lightningcss/package.json","../../../node_modules/msw/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tinyrainbow/dist/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vitest/globals/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.dom.asynciterable.d.ts","lib.webworker.importscripts.d.ts","lib.scripthost.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.es2022.full.d.ts","../../entity/dist/types.d.ts","../../entity/dist/binding.d.ts","../../entity/dist/clone.d.ts","../../entity/dist/enableEntityRuntimeGuards.d.ts","../../entity/dist/entity.d.ts","../../entity/dist/entityUid.d.ts","../../entity/dist/explainEntityRuntimeWrite.d.ts","../../entity/dist/guards.d.ts","../../entity/dist/runtime.d.ts","../../entity/dist/contract.d.ts","../src/types.ts","../src/contract.shell-types.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@testing-library/jest-dom/types/matchers.d.ts","../../../node_modules/@testing-library/jest-dom/types/jest.d.ts","../../../node_modules/@testing-library/jest-dom/types/index.d.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-DEYaIMIu.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/vitest/dist/runners.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../../../node_modules/vitest/globals.d.ts","../../../node_modules/@webgpu/types/dist/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237","abad6dd56cc8caf095c165df8124d237",{"version":"2a9941db0809c9ad0e8837ed629b1dcc","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d051b93324f36bcc68d152a5ca0988cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"0eb5b8b97bde45c8fde5cd07c33f6631","22772bc49abb63e5c9ba66ac5fb78a3d","daf7ba9e176366b3caf843bd266d163a","1cd6ad8dcb5625d764e0d55a82295469","76aca40ee07d543a14c24ba839109332","6f54f49ea7e96bdd7a9078f6c94e88fd","e9fd0536114fa9a746eacd5bc23969e5","add935c05420698ee2f670e9c7605d49","8202b77f954e4d5a21783859414fcc7c","524a08ff038d375ae8c86bf6481e17d2","9ff787c1324b2d4c07a342936293f47a",{"version":"4253210e26057a1589c7464c9d0279de","signature":"8df36e00caaf516e5c494018c8f9978e","impliedNodeFormat":1},{"version":"c4694da8cdaa966a5c8ea6338668c959","signature":"ca8113eaed6e5071dcb37d1354bf3eb7","impliedNodeFormat":1},"56d080dfccb3c53a2d6c74c4f24252e3","75ebd62d9641cc8b34ba9b09be8283a9",{"version":"753f71e16f2994f332390bb1c997b0e3","affectsGlobalScope":true,"impliedNodeFormat":1},"8def0ea0e249f49397d74a4f5bdd45a5",{"version":"ed63d99e1e5c371dc120bef1b84057fc","impliedNodeFormat":99},{"version":"4d3fb552bfc7fb53c9195b2fafb512c0","impliedNodeFormat":99},{"version":"fbf7ba69043f86dc506ba28263e2e783","impliedNodeFormat":99},{"version":"a611eb6935df7737a77b34b01c631a4a","impliedNodeFormat":99},{"version":"6d08f6f1d0ee294c119d0e66f826331a","impliedNodeFormat":99},{"version":"d0abb8fa314728650d85450ff59db909","impliedNodeFormat":99},{"version":"abe007be89c2ad52c4d67fc2b0f6da6b","impliedNodeFormat":99},{"version":"ae1fe3925f3a2c8dfbb269ac2a50f5a6","impliedNodeFormat":99},{"version":"ee8ce731ff781ae7011350481a1af176","impliedNodeFormat":99},{"version":"08dcd98985ae16732a9be03d2b56aea6","impliedNodeFormat":99},{"version":"47f7401876f3c0a5b80bd01fbdfaed2b","impliedNodeFormat":99},"ab8e1ea59f16bc290a0451d09dc5a52e",{"version":"e9d43fb880595ac4ee66a56a364fd5fb","impliedNodeFormat":99},"24367c4ec7d778084b3a83bbdc5a23d4","edbf4843929ee5fe6521503f424e4464",{"version":"5e0eecd60ec8ccc15c22c507248ef1aa","impliedNodeFormat":99},{"version":"0221e2868d1f0d6df8321d945764aadb","impliedNodeFormat":99},{"version":"d2f6ad6f161f0a522886f64842c96a0e","impliedNodeFormat":99},{"version":"618ace1500cc84e42bc2e47c64f8c407","impliedNodeFormat":99},{"version":"9dd3c481cc870c4bf19e59d34f030a27","impliedNodeFormat":99},{"version":"b5c81396e966d59acab5a45f66b70866","impliedNodeFormat":99},{"version":"f94aa434ddb9e71f6e80395de85f6850","impliedNodeFormat":99},{"version":"3486e8f7f01b9874a793ddd451eb62a5","impliedNodeFormat":99},{"version":"cb0e7222aae349c2fb4f89b26efa81bd","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"0d7bbad7f82c886c5f36730065aec119","impliedNodeFormat":99},{"version":"369460c2755240ac2d3d006f09adb5ca","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},"548472bfd4ebe2f1c8f494b960a27836",{"version":"fa98b0905a86da0a95fa8fd3e974e038","impliedNodeFormat":99},{"version":"5ede871fecbb2b6f672a99d3c3c6bee7","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"2c51637edf65b89d39356deff680ed36","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"0bf0efdacfd4bfadb631a4376097e382","impliedNodeFormat":99},{"version":"bd01f3bcdc72c9256e5cd5093d132df3","impliedNodeFormat":99},{"version":"b01bdc9acbaf3eb24eef464959e8e627","impliedNodeFormat":99},{"version":"2a75a1a065e5d0439fa1514d9c89b0eb","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"c01d22bc96b89eedc0ed1f11d8c270ab","impliedNodeFormat":99},{"version":"c15bc5b81c64386efb6f85fb596c4349","impliedNodeFormat":99},{"version":"5794a694c1f75a9cc38cb5e9c757224e","impliedNodeFormat":99},{"version":"4040d5640775a803b2ca1aa914f7a1d4","impliedNodeFormat":99},{"version":"5ed96746ee2e7eb084ad54f0e0e518bc","impliedNodeFormat":99},{"version":"eba7786b00a4e551c36bafa71bfb1876","impliedNodeFormat":99},"8d8a98bf45979ce5401d9ca4027940cd","7d98e95d38525423bbe0f05e0a508a41","96920299d013de56061cbc74a1d658b2","439adabdf29be1212ec7acc292679f21","3eb46d20ed056dcbfa5e75bad9014661",{"version":"b46aa1886055db890de9be52a97b301e","impliedNodeFormat":99},{"version":"23cbcf6109a45b21e5b22d5f36f59db4","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"851c83981c28a32944597c743f666820","affectsGlobalScope":true,"impliedNodeFormat":1}],"fileIdsList":[[78],[77],[76],[108,109],[81,87,105,106,107,110],[117],[117,118],[85,87,88],[85,87],[85],[80,85,96,97],[80,85,96],[104],[80,86],[80],[82],[80,81,82,83,84],[123,124],[123,124,125,126],[123,125],[123],[91],[91,92,93,94],[93],[89,112,113,115],[89,90,102,115],[80,87,89,90,98,115],[95],[80,89,90,98,111,114],[89,90,95,98,115],[89,112,113,114,115],[89,95,99,100,101,115],[80,85,87,89,90,95,98,99,100,101,102,103,105,111,112,113,114,115,116,119,120,121,122,127],[80,87,89,90,98,99,112,113,114,115,120],[128],[64],[64,65,66,67,68,69,70,71,72],[74],[73]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","rewriteRelativeImportExtensions":true,"rootDir":"../src","skipLibCheck":true,"strict":true,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo.contract","useDefineForClassFields":true},"referencedMap":[[79,1],[78,2],[77,3],[110,4],[111,5],[118,6],[119,7],[89,8],[88,9],[112,8],[96,10],[98,11],[97,12],[105,13],[87,14],[81,15],[83,16],[85,17],[86,15],[125,18],[127,19],[126,20],[124,21],[92,22],[95,23],[93,22],[94,24],[114,25],[103,26],[99,27],[100,10],[121,28],[115,29],[101,30],[120,31],[102,32],[128,33],[122,34],[129,35],[65,36],[66,36],[73,37],[67,36],[68,36],[69,36],[70,36],[71,36],[72,36],[75,38],[74,39]],"latestChangedDtsFile":"./contract.shell-types.d.ts"}
@@ -0,0 +1 @@
1
+ {"version":"7.0.2","root":[[76,83]],"packageJsons":["../../../node_modules/@standard-schema/spec/package.json","../../../node_modules/@testing-library/jest-dom/package.json","../../../node_modules/@types/aria-query/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/expect/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/pretty-format/package.json","../../../node_modules/@vitest/runner/package.json","../../../node_modules/@vitest/snapshot/package.json","../../../node_modules/@vitest/spy/package.json","../../../node_modules/@vitest/utils/package.json","../../../node_modules/@webgpu/types/package.json","../../../node_modules/aria-query/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/tinyrainbow/package.json","../../../node_modules/tsx/package.json","../../../node_modules/vite/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/package.json","../../../node_modules/yaml/package.json","../../entity/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/aria-query/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/jest/package.json","../../../node_modules/@testing-library/jest-dom/types/package.json","../../../node_modules/@types/jest/package.json","../../../node_modules/@types/testing-library__jest-dom/package.json","../../../node_modules/@types/vitest/globals/package.json","../../../node_modules/@types/webgpu__types/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/expect/dist/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/@vitest/pretty-format/dist/package.json","../../../node_modules/@vitest/runner/dist/package.json","../../../node_modules/@vitest/runner/utils/package.json","../../../node_modules/@vitest/snapshot/dist/package.json","../../../node_modules/@vitest/spy/dist/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/@vitest/utils/diff/package.json","../../../node_modules/@vitest/utils/display/package.json","../../../node_modules/@vitest/utils/dist/package.json","../../../node_modules/@webgpu/types/dist/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/jest/package.json","../../../node_modules/less/package.json","../../../node_modules/lightningcss/package.json","../../../node_modules/msw/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tinyrainbow/dist/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vitest/globals/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.dom.asynciterable.d.ts","lib.webworker.importscripts.d.ts","lib.scripthost.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.es2022.full.d.ts","../../entity/dist/types.d.ts","../../entity/dist/binding.d.ts","../../entity/dist/clone.d.ts","../../entity/dist/enableEntityRuntimeGuards.d.ts","../../entity/dist/entity.d.ts","../../entity/dist/entityUid.d.ts","../../entity/dist/explainEntityRuntimeWrite.d.ts","../../entity/dist/guards.d.ts","../../entity/dist/runtime.d.ts","../../entity/dist/contract.d.ts","./types.d.ts","./contract.shell-types.d.ts","../src/shell.native.ts","../src/shell.generated.ts","../src/shell.ts","../src/contract.ts","../src/index.ts","../src/shell.generated.test.ts","../src/shell.native.test.ts","../src/shell.test.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@testing-library/jest-dom/types/matchers.d.ts","../../../node_modules/@testing-library/jest-dom/types/jest.d.ts","../../../node_modules/@testing-library/jest-dom/types/index.d.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-DEYaIMIu.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/vitest/dist/runners.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../../../node_modules/vitest/globals.d.ts","../../../node_modules/@webgpu/types/dist/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237","abad6dd56cc8caf095c165df8124d237",{"version":"2a9941db0809c9ad0e8837ed629b1dcc","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d051b93324f36bcc68d152a5ca0988cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"0eb5b8b97bde45c8fde5cd07c33f6631","22772bc49abb63e5c9ba66ac5fb78a3d","daf7ba9e176366b3caf843bd266d163a","1cd6ad8dcb5625d764e0d55a82295469","76aca40ee07d543a14c24ba839109332","6f54f49ea7e96bdd7a9078f6c94e88fd","e9fd0536114fa9a746eacd5bc23969e5","add935c05420698ee2f670e9c7605d49","8202b77f954e4d5a21783859414fcc7c","524a08ff038d375ae8c86bf6481e17d2","9ff787c1324b2d4c07a342936293f47a","cad515ef233fd1e3d6e52bc1f7b6a02e","617f37de97d98d2146018658c129f564",{"version":"0bc7300ceab2af1ac9ddb9973b8ebab8","signature":"094d9074c1f874d5681bd44b203ccb4b","impliedNodeFormat":1},{"version":"1c94980e9cc71e01d57cf9a8bcb43106","signature":"d9f4612adb42a1a0595bfe3e8311ab16","impliedNodeFormat":1},{"version":"5b6e88be4f89cb48c357d7e30afd094a","signature":"7344c04fc73c53295aa2e2f8f04a0868","impliedNodeFormat":1},"0b79ee9ca719adfece393afbe33481f2",{"version":"130c14448b13a9dcb7b40213cb420102","signature":"2ed7f6d07b6045f4170e609875a834c1","impliedNodeFormat":1},{"version":"380d3aef63c2f04152085abcde9d684e","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"eb6ffb6b854aa56ecdcff2b69b1c8dec","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"456277abdc900dad0e8ea736fe1c71b6","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},"56d080dfccb3c53a2d6c74c4f24252e3","75ebd62d9641cc8b34ba9b09be8283a9",{"version":"753f71e16f2994f332390bb1c997b0e3","affectsGlobalScope":true,"impliedNodeFormat":1},"8def0ea0e249f49397d74a4f5bdd45a5",{"version":"ed63d99e1e5c371dc120bef1b84057fc","impliedNodeFormat":99},{"version":"4d3fb552bfc7fb53c9195b2fafb512c0","impliedNodeFormat":99},{"version":"fbf7ba69043f86dc506ba28263e2e783","impliedNodeFormat":99},{"version":"a611eb6935df7737a77b34b01c631a4a","impliedNodeFormat":99},{"version":"6d08f6f1d0ee294c119d0e66f826331a","impliedNodeFormat":99},{"version":"d0abb8fa314728650d85450ff59db909","impliedNodeFormat":99},{"version":"abe007be89c2ad52c4d67fc2b0f6da6b","impliedNodeFormat":99},{"version":"ae1fe3925f3a2c8dfbb269ac2a50f5a6","impliedNodeFormat":99},{"version":"ee8ce731ff781ae7011350481a1af176","impliedNodeFormat":99},{"version":"08dcd98985ae16732a9be03d2b56aea6","impliedNodeFormat":99},{"version":"47f7401876f3c0a5b80bd01fbdfaed2b","impliedNodeFormat":99},"ab8e1ea59f16bc290a0451d09dc5a52e",{"version":"e9d43fb880595ac4ee66a56a364fd5fb","impliedNodeFormat":99},"24367c4ec7d778084b3a83bbdc5a23d4","edbf4843929ee5fe6521503f424e4464",{"version":"5e0eecd60ec8ccc15c22c507248ef1aa","impliedNodeFormat":99},{"version":"0221e2868d1f0d6df8321d945764aadb","impliedNodeFormat":99},{"version":"d2f6ad6f161f0a522886f64842c96a0e","impliedNodeFormat":99},{"version":"618ace1500cc84e42bc2e47c64f8c407","impliedNodeFormat":99},{"version":"9dd3c481cc870c4bf19e59d34f030a27","impliedNodeFormat":99},{"version":"b5c81396e966d59acab5a45f66b70866","impliedNodeFormat":99},{"version":"f94aa434ddb9e71f6e80395de85f6850","impliedNodeFormat":99},{"version":"3486e8f7f01b9874a793ddd451eb62a5","impliedNodeFormat":99},{"version":"cb0e7222aae349c2fb4f89b26efa81bd","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"0d7bbad7f82c886c5f36730065aec119","impliedNodeFormat":99},{"version":"369460c2755240ac2d3d006f09adb5ca","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},"548472bfd4ebe2f1c8f494b960a27836",{"version":"fa98b0905a86da0a95fa8fd3e974e038","impliedNodeFormat":99},{"version":"5ede871fecbb2b6f672a99d3c3c6bee7","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"2c51637edf65b89d39356deff680ed36","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"0bf0efdacfd4bfadb631a4376097e382","impliedNodeFormat":99},{"version":"bd01f3bcdc72c9256e5cd5093d132df3","impliedNodeFormat":99},{"version":"b01bdc9acbaf3eb24eef464959e8e627","impliedNodeFormat":99},{"version":"2a75a1a065e5d0439fa1514d9c89b0eb","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"c01d22bc96b89eedc0ed1f11d8c270ab","impliedNodeFormat":99},{"version":"c15bc5b81c64386efb6f85fb596c4349","impliedNodeFormat":99},{"version":"5794a694c1f75a9cc38cb5e9c757224e","impliedNodeFormat":99},{"version":"4040d5640775a803b2ca1aa914f7a1d4","impliedNodeFormat":99},{"version":"5ed96746ee2e7eb084ad54f0e0e518bc","impliedNodeFormat":99},{"version":"eba7786b00a4e551c36bafa71bfb1876","impliedNodeFormat":99},"8d8a98bf45979ce5401d9ca4027940cd","7d98e95d38525423bbe0f05e0a508a41","96920299d013de56061cbc74a1d658b2","439adabdf29be1212ec7acc292679f21","3eb46d20ed056dcbfa5e75bad9014661",{"version":"b46aa1886055db890de9be52a97b301e","impliedNodeFormat":99},{"version":"23cbcf6109a45b21e5b22d5f36f59db4","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"851c83981c28a32944597c743f666820","affectsGlobalScope":true,"impliedNodeFormat":1}],"fileIdsList":[[86],[85],[84],[116,117],[89,95,113,114,115,118],[125],[125,126],[93,95,96],[93,95],[93],[88,93,104,105],[88,93,104],[112],[88,94],[88],[90],[88,89,90,91,92],[131,132],[131,132,133,134],[131,133],[131],[99],[99,100,101,102],[101],[97,120,121,123],[97,98,110,123],[88,95,97,98,106,123],[103],[88,97,98,106,119,122],[97,98,103,106,123],[97,120,121,122,123],[97,103,107,108,109,123],[88,93,95,97,98,103,106,107,108,109,110,111,113,119,120,121,122,123,124,127,128,129,130,135],[88,95,97,98,106,107,120,121,122,123,128],[136],[64],[64,65,66,67,68,69,70,71,72],[74],[73],[75,78],[79],[77,78],[74,76],[76,78],[73,74,78],[76,77]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","rewriteRelativeImportExtensions":true,"rootDir":"../src","skipLibCheck":true,"strict":true,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo.runtime","useDefineForClassFields":true},"referencedMap":[[87,1],[86,2],[85,3],[118,4],[119,5],[126,6],[127,7],[97,8],[96,9],[120,8],[104,10],[106,11],[105,12],[113,13],[95,14],[89,15],[91,16],[93,17],[94,15],[133,18],[135,19],[134,20],[132,21],[100,22],[103,23],[101,22],[102,24],[122,25],[111,26],[107,27],[108,10],[129,28],[123,29],[109,30],[128,31],[110,32],[136,33],[130,34],[137,35],[65,36],[66,36],[73,37],[67,36],[68,36],[69,36],[70,36],[71,36],[72,36],[75,38],[74,39],[79,40],[80,41],[81,42],[77,43],[82,44],[76,38],[83,45],[78,46]],"latestChangedDtsFile":"./shell.test.d.ts"}
@@ -1,2 +1,3 @@
1
+ export * from './contract.shell-types.ts';
1
2
  export * from './shell.ts';
2
3
  //# sourceMappingURL=contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC"}
package/dist/contract.js CHANGED
@@ -1,2 +1,3 @@
1
+ export * from './contract.shell-types.js';
1
2
  export * from './shell.js';
2
3
  //# sourceMappingURL=contract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type { HostShellBeepCapability, HostShellCapabilities, HostShellExternalCapability, HostShellPathOpenCapability, HostShellPathRevealCapability, HostShellProcessCapability, HostShellShortcutLinkCapability, HostShellTrashCapability, ShellExternalOutcome, ShellExternalReason, ShellExternalUrlPolicy, ShellPathOpenOutcome, ShellPathRevealOutcome, ShellProcess, ShellProcessExitStatus, ShellProcessOptions, ShellShortcutLink, ShellShortcutLinkReadOutcome, ShellShortcutLinkWriteOutcome, ShellShortcutWriteOperation, ShellTrashOutcome, } from './types.ts';
2
+ //# sourceMappingURL=contract.shell-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.shell-types.d.ts","sourceRoot":"","sources":["../src/contract.shell-types.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=contract.shell-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.shell-types.js","sourceRoot":"","sources":["../src/contract.shell-types.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { isShellUrlAllowed, moveShellItemToTrash, moveShellItemsToTrash, openShellExternalUrl, openShellPath, readShellShortcutLink, revealShellPath, shellBeep, spawnShellProcess, writeShellShortcutLink, } from './contract.ts';
2
+ export type { HostShellBeepCapability, HostShellCapabilities, HostShellExternalCapability, HostShellPathOpenCapability, HostShellPathRevealCapability, HostShellProcessCapability, HostShellShortcutLinkCapability, HostShellTrashCapability, ShellExternalOutcome, ShellExternalReason, ShellExternalUrlPolicy, ShellPathOpenOutcome, ShellPathRevealOutcome, ShellProcess, ShellProcessExitStatus, ShellProcessOptions, ShellShortcutLink, ShellShortcutLinkReadOutcome, ShellShortcutLinkWriteOutcome, ShellShortcutWriteOperation, ShellTrashOutcome, } from './contract.ts';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,eAAe,CAAC"}
package/dist/shell.d.ts CHANGED
@@ -1,12 +1,3 @@
1
- import type { HostShellBeepCapability, HostShellExternalCapability, HostShellPathOpenCapability, HostShellPathRevealCapability, HostShellProcessCapability, HostShellShortcutLinkCapability, HostShellTrashCapability, ShellExternalOutcome, ShellExternalUrlPolicy, ShellPathOpenOutcome, ShellPathRevealOutcome, ShellProcess, ShellProcessOptions, ShellShortcutLink, ShellShortcutLinkReadOutcome, ShellShortcutLinkWriteOutcome, ShellShortcutWriteOperation, ShellTrashOutcome } from '@flighthq/types/contract';
2
- export declare function isShellUrlAllowed(url: string, policy: Readonly<ShellExternalUrlPolicy>): boolean;
3
- export declare function moveShellItemsToTrash(hostShellTrash: Readonly<HostShellTrashCapability>, paths: readonly string[]): Promise<readonly ShellTrashOutcome[]>;
4
- export declare function moveShellItemToTrash(hostShellTrash: Readonly<HostShellTrashCapability>, path: string): Promise<ShellTrashOutcome>;
5
- export declare function openShellExternalUrl(hostShellExternal: Readonly<HostShellExternalCapability>, url: string, policy: Readonly<ShellExternalUrlPolicy>): Promise<ShellExternalOutcome>;
6
- export declare function openShellPath(hostShellPathOpen: Readonly<HostShellPathOpenCapability>, path: string): Promise<ShellPathOpenOutcome>;
7
- export declare function readShellShortcutLink(hostShellShortcutLink: Readonly<HostShellShortcutLinkCapability>, shortcutPath: string): Promise<ShellShortcutLinkReadOutcome>;
8
- export declare function revealShellPath(hostShellPathReveal: Readonly<HostShellPathRevealCapability>, path: string): Promise<ShellPathRevealOutcome>;
9
- export declare function shellBeep(hostShellBeep: Readonly<HostShellBeepCapability>): void;
10
- export declare function spawnShellProcess(hostShellProcess: Readonly<HostShellProcessCapability>, command: string, args: readonly string[], options?: Readonly<ShellProcessOptions>): ShellProcess;
11
- export declare function writeShellShortcutLink(hostShellShortcutLink: Readonly<HostShellShortcutLinkCapability>, shortcutPath: string, link: Readonly<ShellShortcutLink>, operation: ShellShortcutWriteOperation): Promise<ShellShortcutLinkWriteOutcome>;
1
+ export { moveShellItemToTrash, openShellExternalUrl, openShellPath, readShellShortcutLink, revealShellPath, shellBeep, spawnShellProcess, writeShellShortcutLink, } from './shell.generated.ts';
2
+ export { isShellUrlAllowed, moveShellItemsToTrash } from './shell.native.ts';
12
3
  //# sourceMappingURL=shell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../src/shell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,0BAA0B,CAAC;AAIlC,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAOhG;AAID,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,KAAK,EAAE,SAAS,MAAM,EAAE,GACvB,OAAO,CAAC,SAAS,iBAAiB,EAAE,CAAC,CAEvC;AAED,wBAAgB,oBAAoB,CAClC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,iBAAiB,CAAC,CAE5B;AAKD,wBAAgB,oBAAoB,CAClC,iBAAiB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,EACxD,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GACvC,OAAO,CAAC,oBAAoB,CAAC,CAG/B;AAED,wBAAgB,aAAa,CAC3B,iBAAiB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,EACxD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,oBAAoB,CAAC,CAE/B;AAED,wBAAgB,qBAAqB,CACnC,qBAAqB,EAAE,QAAQ,CAAC,+BAA+B,CAAC,EAChE,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,4BAA4B,CAAC,CAEvC;AAED,wBAAgB,eAAe,CAC7B,mBAAmB,EAAE,QAAQ,CAAC,6BAA6B,CAAC,EAC5D,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAED,wBAAgB,SAAS,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAEhF;AAED,wBAAgB,iBAAiB,CAC/B,gBAAgB,EAAE,QAAQ,CAAC,0BAA0B,CAAC,EACtD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GACtC,YAAY,CAEd;AAED,wBAAgB,sBAAsB,CACpC,qBAAqB,EAAE,QAAQ,CAAC,+BAA+B,CAAC,EAChE,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EACjC,SAAS,EAAE,2BAA2B,GACrC,OAAO,CAAC,6BAA6B,CAAC,CAExC"}
1
+ {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../src/shell.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,39 @@
1
+ import type { HostShellBeepCapability, HostShellExternalCapability, HostShellPathOpenCapability, HostShellPathRevealCapability, HostShellProcessCapability, HostShellShortcutLinkCapability, HostShellTrashCapability, ShellExternalOutcome, ShellExternalUrlPolicy, ShellPathOpenOutcome, ShellPathRevealOutcome, ShellProcess, ShellProcessOptions, ShellShortcutLink, ShellShortcutLinkReadOutcome, ShellShortcutLinkWriteOutcome, ShellShortcutWriteOperation, ShellTrashOutcome } from './types.ts';
2
+ /**
3
+ * Moves one path to the trash through the host (TS `moveShellItemToTrash`).
4
+ */
5
+ export declare function moveShellItemToTrash(hostShellTrash: Readonly<HostShellTrashCapability>, path: string): Promise<ShellTrashOutcome>;
6
+ /**
7
+ * Hands a URL to an OS handler after the required per-call policy check (TS
8
+ * `openShellExternalUrl`). A blocked or malformed scheme never reaches the host; there is
9
+ * intentionally no policy default, ambient allowlist or allow-all path.
10
+ */
11
+ export declare function openShellExternalUrl(hostShellExternal: Readonly<HostShellExternalCapability>, url: string, policy: Readonly<ShellExternalUrlPolicy>): Promise<ShellExternalOutcome>;
12
+ /**
13
+ * Opens a path through the host (TS `openShellPath`).
14
+ */
15
+ export declare function openShellPath(hostShellPathOpen: Readonly<HostShellPathOpenCapability>, path: string): Promise<ShellPathOpenOutcome>;
16
+ /**
17
+ * Reads a shortcut link through the host (TS `readShellShortcutLink`).
18
+ */
19
+ export declare function readShellShortcutLink(hostShellShortcutLink: Readonly<HostShellShortcutLinkCapability>, shortcutPath: string): Promise<ShellShortcutLinkReadOutcome>;
20
+ /**
21
+ * Reveals a path through the host (TS `revealShellPath`).
22
+ */
23
+ export declare function revealShellPath(hostShellPathReveal: Readonly<HostShellPathRevealCapability>, path: string): Promise<ShellPathRevealOutcome>;
24
+ /**
25
+ * Plays the platform alert sound through the host (TS `shellBeep`). Synchronous dispatch.
26
+ */
27
+ export declare function shellBeep(hostShellBeep: Readonly<HostShellBeepCapability>): void;
28
+ /**
29
+ * Spawns one child process from an argument vector (TS `spawnShellProcess`). The command, the
30
+ * argument vector and the optional options are forwarded unchanged; the provider owns the
31
+ * returned live handle.
32
+ */
33
+ export declare function spawnShellProcess(hostShellProcess: Readonly<HostShellProcessCapability>, command: string, args: Readonly<string[]>, options?: Readonly<ShellProcessOptions>): ShellProcess;
34
+ /**
35
+ * Writes a shortcut link through the host (TS `writeShellShortcutLink`). The operation is
36
+ * explicit and forwarded unchanged.
37
+ */
38
+ export declare function writeShellShortcutLink(hostShellShortcutLink: Readonly<HostShellShortcutLinkCapability>, shortcutPath: string, link: Readonly<ShellShortcutLink>, operation: ShellShortcutWriteOperation): Promise<ShellShortcutLinkWriteOutcome>;
39
+ //# sourceMappingURL=shell.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell.generated.d.ts","sourceRoot":"","sources":["../src/shell.generated.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAIpB;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,iBAAiB,CAAC,CAE5B;AAID;;;;GAIG;AACH,wBAAsB,oBAAoB,CACxC,iBAAiB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,EACxD,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GACvC,OAAO,CAAC,oBAAoB,CAAC,CAK/B;AAED;;GAEG;AACH,wBAAsB,aAAa,CACjC,iBAAiB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,EACxD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,oBAAoB,CAAC,CAE/B;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,qBAAqB,EAAE,QAAQ,CAAC,+BAA+B,CAAC,EAChE,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,4BAA4B,CAAC,CAEvC;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,mBAAmB,EAAE,QAAQ,CAAC,6BAA6B,CAAC,EAC5D,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAEhF;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,gBAAgB,EAAE,QAAQ,CAAC,0BAA0B,CAAC,EACtD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC,EACxB,OAAO,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GACtC,YAAY,CAEd;AAED;;;GAGG;AACH,wBAAsB,sBAAsB,CAC1C,qBAAqB,EAAE,QAAQ,CAAC,+BAA+B,CAAC,EAChE,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EACjC,SAAS,EAAE,2BAA2B,GACrC,OAAO,CAAC,6BAA6B,CAAC,CAExC"}
@@ -0,0 +1,62 @@
1
+ // Generated from crates/flight-shell/src/shell.rs by flight-compiler.
2
+ // Rust is authoritative; run `npm run generate` after changing it.
3
+ import { isShellUrlAllowed } from './shell.native.js';
4
+ // [lenient] fn is_shell_url_allowed: unsupported Rust method call `.scheme()`; impl sugar is not a transpilation source
5
+ /**
6
+ * Moves one path to the trash through the host (TS `moveShellItemToTrash`).
7
+ */
8
+ export async function moveShellItemToTrash(hostShellTrash, path) {
9
+ return await hostShellTrash.moveToTrash(String(path));
10
+ }
11
+ // [lenient] fn move_shell_items_to_trash: unsupported Rust method call `.poll()`; impl sugar is not a transpilation source
12
+ /**
13
+ * Hands a URL to an OS handler after the required per-call policy check (TS
14
+ * `openShellExternalUrl`). A blocked or malformed scheme never reaches the host; there is
15
+ * intentionally no policy default, ambient allowlist or allow-all path.
16
+ */
17
+ export async function openShellExternalUrl(hostShellExternal, url, policy) {
18
+ if (!isShellUrlAllowed(url, policy)) {
19
+ return { reason: 'blocked-scheme' };
20
+ }
21
+ return await hostShellExternal.open(String(url));
22
+ }
23
+ /**
24
+ * Opens a path through the host (TS `openShellPath`).
25
+ */
26
+ export async function openShellPath(hostShellPathOpen, path) {
27
+ return await hostShellPathOpen.open(String(path));
28
+ }
29
+ /**
30
+ * Reads a shortcut link through the host (TS `readShellShortcutLink`).
31
+ */
32
+ export async function readShellShortcutLink(hostShellShortcutLink, shortcutPath) {
33
+ return await hostShellShortcutLink.read(String(shortcutPath));
34
+ }
35
+ /**
36
+ * Reveals a path through the host (TS `revealShellPath`).
37
+ */
38
+ export async function revealShellPath(hostShellPathReveal, path) {
39
+ return await hostShellPathReveal.reveal(String(path));
40
+ }
41
+ /**
42
+ * Plays the platform alert sound through the host (TS `shellBeep`). Synchronous dispatch.
43
+ */
44
+ export function shellBeep(hostShellBeep) {
45
+ hostShellBeep.beep();
46
+ }
47
+ /**
48
+ * Spawns one child process from an argument vector (TS `spawnShellProcess`). The command, the
49
+ * argument vector and the optional options are forwarded unchanged; the provider owns the
50
+ * returned live handle.
51
+ */
52
+ export function spawnShellProcess(hostShellProcess, command, args, options) {
53
+ return hostShellProcess.spawn(command, args, options);
54
+ }
55
+ /**
56
+ * Writes a shortcut link through the host (TS `writeShellShortcutLink`). The operation is
57
+ * explicit and forwarded unchanged.
58
+ */
59
+ export async function writeShellShortcutLink(hostShellShortcutLink, shortcutPath, link, operation) {
60
+ return await hostShellShortcutLink.write(String(shortcutPath), link, operation);
61
+ }
62
+ //# sourceMappingURL=shell.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell.generated.js","sourceRoot":"","sources":["../src/shell.generated.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,mEAAmE;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAsBtD,wHAAwH;AAExH;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,cAAkD,EAClD,IAAY;IAEZ,OAAO,MAAM,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AACxD,CAAC;AAED,2HAA2H;AAE3H;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,iBAAwD,EACxD,GAAW,EACX,MAAwC;IAExC,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,CAAC;QACpC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC;IACtC,CAAC;IACD,OAAO,MAAM,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AACnD,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,iBAAwD,EACxD,IAAY;IAEZ,OAAO,MAAM,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AACpD,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,qBAAgE,EAChE,YAAoB;IAEpB,OAAO,MAAM,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC;AAChE,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,mBAA4D,EAC5D,IAAY;IAEZ,OAAO,MAAM,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AACxD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,SAAS,CAAC,aAAgD;IACxE,aAAa,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAC/B,gBAAsD,EACtD,OAAe,EACf,IAAwB,EACxB,OAAuC;IAEvC,OAAO,gBAAgB,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACxD,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,qBAAgE,EAChE,YAAoB,EACpB,IAAiC,EACjC,SAAsC;IAEtC,OAAO,MAAM,qBAAqB,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAClF,CAAC"}
package/dist/shell.js CHANGED
@@ -1,46 +1,5 @@
1
- // Pure policy validation used by openShellExternalUrl before any host effect. Callers must supply the
2
- // policy on every invocation; an empty allowedSchemes array intentionally blocks every URL.
3
- export function isShellUrlAllowed(url, policy) {
4
- try {
5
- const scheme = new URL(url).protocol.replace(/:$/, '').toLowerCase();
6
- return policy.allowedSchemes.some((allowed) => allowed.toLowerCase() === scheme);
7
- }
8
- catch {
9
- return false;
10
- }
11
- }
12
- // Projects the one-path provider operation across the batch. Promise.all starts every operation,
13
- // awaits every settlement, and returns outcomes in the same order as paths.
14
- export function moveShellItemsToTrash(hostShellTrash, paths) {
15
- return Promise.all(paths.map((path) => hostShellTrash.moveToTrash(path)));
16
- }
17
- export function moveShellItemToTrash(hostShellTrash, path) {
18
- return hostShellTrash.moveToTrash(path);
19
- }
20
- // Handing a URL to an OS handler can launch a local application or registered protocol. The required
21
- // per-call policy is validated before dispatch, so a blocked or malformed scheme never reaches the
22
- // host. There is intentionally no policy default, ambient allowlist, or allow-all path.
23
- export function openShellExternalUrl(hostShellExternal, url, policy) {
24
- if (!isShellUrlAllowed(url, policy))
25
- return Promise.resolve({ reason: 'blocked-scheme' });
26
- return hostShellExternal.open(url);
27
- }
28
- export function openShellPath(hostShellPathOpen, path) {
29
- return hostShellPathOpen.open(path);
30
- }
31
- export function readShellShortcutLink(hostShellShortcutLink, shortcutPath) {
32
- return hostShellShortcutLink.read(shortcutPath);
33
- }
34
- export function revealShellPath(hostShellPathReveal, path) {
35
- return hostShellPathReveal.reveal(path);
36
- }
37
- export function shellBeep(hostShellBeep) {
38
- hostShellBeep.beep();
39
- }
40
- export function spawnShellProcess(hostShellProcess, command, args, options) {
41
- return hostShellProcess.spawn(command, args, options);
42
- }
43
- export function writeShellShortcutLink(hostShellShortcutLink, shortcutPath, link, operation) {
44
- return hostShellShortcutLink.write(shortcutPath, link, operation);
45
- }
1
+ // Generated from crates/flight-shell/src/shell.rs by flight-compiler.
2
+ // Rust is authoritative; run `npm run generate` after changing it.
3
+ export { moveShellItemToTrash, openShellExternalUrl, openShellPath, readShellShortcutLink, revealShellPath, shellBeep, spawnShellProcess, writeShellShortcutLink, } from './shell.generated.js';
4
+ export { isShellUrlAllowed, moveShellItemsToTrash } from './shell.native.js';
46
5
  //# sourceMappingURL=shell.js.map
package/dist/shell.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"shell.js","sourceRoot":"","sources":["../src/shell.ts"],"names":[],"mappings":"AAqBA,sGAAsG;AACtG,4FAA4F;AAC5F,MAAM,UAAU,iBAAiB,CAAC,GAAW,EAAE,MAAwC;IACrF,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QACrE,OAAO,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC,CAAC;IACnF,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED,iGAAiG;AACjG,4EAA4E;AAC5E,MAAM,UAAU,qBAAqB,CACnC,cAAkD,EAClD,KAAwB;IAExB,OAAO,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,cAAkD,EAClD,IAAY;IAEZ,OAAO,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,qGAAqG;AACrG,mGAAmG;AACnG,wFAAwF;AACxF,MAAM,UAAU,oBAAoB,CAClC,iBAAwD,EACxD,GAAW,EACX,MAAwC;IAExC,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,CAAC;QAAE,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAC;IAC1F,OAAO,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,aAAa,CAC3B,iBAAwD,EACxD,IAAY;IAEZ,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,qBAAqB,CACnC,qBAAgE,EAChE,YAAoB;IAEpB,OAAO,qBAAqB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,eAAe,CAC7B,mBAA4D,EAC5D,IAAY;IAEZ,OAAO,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,aAAgD;IACxE,aAAa,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,gBAAsD,EACtD,OAAe,EACf,IAAuB,EACvB,OAAuC;IAEvC,OAAO,gBAAgB,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,qBAAgE,EAChE,YAAoB,EACpB,IAAiC,EACjC,SAAsC;IAEtC,OAAO,qBAAqB,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AACpE,CAAC"}
1
+ {"version":3,"file":"shell.js","sourceRoot":"","sources":["../src/shell.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,mEAAmE;AAEnE,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { HostShellBeepCapability, HostShellExternalCapability, HostShellPathOpenCapability, HostShellPathRevealCapability, HostShellProcessCapability, HostShellShortcutLinkCapability, HostShellTrashCapability, ShellExternalOutcome, ShellExternalUrlPolicy, ShellPathOpenOutcome, ShellPathRevealOutcome, ShellProcess, ShellProcessOptions, ShellShortcutLink, ShellShortcutLinkReadOutcome, ShellShortcutLinkWriteOutcome, ShellShortcutWriteOperation, ShellTrashOutcome } from './types.ts';
2
+ export declare function isShellUrlAllowed(url: string, policy: Readonly<ShellExternalUrlPolicy>): boolean;
3
+ export declare function moveShellItemsToTrash(hostShellTrash: Readonly<HostShellTrashCapability>, paths: readonly string[]): Promise<readonly ShellTrashOutcome[]>;
4
+ export declare function moveShellItemToTrash(hostShellTrash: Readonly<HostShellTrashCapability>, path: string): Promise<ShellTrashOutcome>;
5
+ export declare function openShellExternalUrl(hostShellExternal: Readonly<HostShellExternalCapability>, url: string, policy: Readonly<ShellExternalUrlPolicy>): Promise<ShellExternalOutcome>;
6
+ export declare function openShellPath(hostShellPathOpen: Readonly<HostShellPathOpenCapability>, path: string): Promise<ShellPathOpenOutcome>;
7
+ export declare function readShellShortcutLink(hostShellShortcutLink: Readonly<HostShellShortcutLinkCapability>, shortcutPath: string): Promise<ShellShortcutLinkReadOutcome>;
8
+ export declare function revealShellPath(hostShellPathReveal: Readonly<HostShellPathRevealCapability>, path: string): Promise<ShellPathRevealOutcome>;
9
+ export declare function shellBeep(hostShellBeep: Readonly<HostShellBeepCapability>): void;
10
+ export declare function spawnShellProcess(hostShellProcess: Readonly<HostShellProcessCapability>, command: string, args: readonly string[], options?: Readonly<ShellProcessOptions>): ShellProcess;
11
+ export declare function writeShellShortcutLink(hostShellShortcutLink: Readonly<HostShellShortcutLinkCapability>, shortcutPath: string, link: Readonly<ShellShortcutLink>, operation: ShellShortcutWriteOperation): Promise<ShellShortcutLinkWriteOutcome>;
12
+ //# sourceMappingURL=shell.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell.native.d.ts","sourceRoot":"","sources":["../src/shell.native.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,oBAAoB,EAEpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAIpB,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAOhG;AAID,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,KAAK,EAAE,SAAS,MAAM,EAAE,GACvB,OAAO,CAAC,SAAS,iBAAiB,EAAE,CAAC,CAEvC;AAED,wBAAgB,oBAAoB,CAClC,cAAc,EAAE,QAAQ,CAAC,wBAAwB,CAAC,EAClD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,iBAAiB,CAAC,CAE5B;AAKD,wBAAgB,oBAAoB,CAClC,iBAAiB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,EACxD,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GACvC,OAAO,CAAC,oBAAoB,CAAC,CAK/B;AAED,wBAAgB,aAAa,CAC3B,iBAAiB,EAAE,QAAQ,CAAC,2BAA2B,CAAC,EACxD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,oBAAoB,CAAC,CAE/B;AAED,wBAAgB,qBAAqB,CACnC,qBAAqB,EAAE,QAAQ,CAAC,+BAA+B,CAAC,EAChE,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,4BAA4B,CAAC,CAEvC;AAED,wBAAgB,eAAe,CAC7B,mBAAmB,EAAE,QAAQ,CAAC,6BAA6B,CAAC,EAC5D,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,sBAAsB,CAAC,CAEjC;AAED,wBAAgB,SAAS,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAEhF;AAED,wBAAgB,iBAAiB,CAC/B,gBAAgB,EAAE,QAAQ,CAAC,0BAA0B,CAAC,EACtD,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GACtC,YAAY,CAEd;AAED,wBAAgB,sBAAsB,CACpC,qBAAqB,EAAE,QAAQ,CAAC,+BAA+B,CAAC,EAChE,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EACjC,SAAS,EAAE,2BAA2B,GACrC,OAAO,CAAC,6BAA6B,CAAC,CAExC"}
@@ -0,0 +1,47 @@
1
+ // Pure policy validation used by openShellExternalUrl before any host effect. Callers must supply the
2
+ // policy on every invocation; an empty allowedSchemes array intentionally blocks every URL.
3
+ export function isShellUrlAllowed(url, policy) {
4
+ try {
5
+ const scheme = new URL(url).protocol.replace(/:$/, '').toLowerCase();
6
+ return policy.allowedSchemes.some((allowed) => allowed.toLowerCase() === scheme);
7
+ }
8
+ catch {
9
+ return false;
10
+ }
11
+ }
12
+ // Projects the one-path provider operation across the batch. Promise.all starts every operation,
13
+ // awaits every settlement, and returns outcomes in the same order as paths.
14
+ export function moveShellItemsToTrash(hostShellTrash, paths) {
15
+ return Promise.all(paths.map((path) => hostShellTrash.moveToTrash(path)));
16
+ }
17
+ export function moveShellItemToTrash(hostShellTrash, path) {
18
+ return hostShellTrash.moveToTrash(path);
19
+ }
20
+ // Handing a URL to an OS handler can launch a local application or registered protocol. The required
21
+ // per-call policy is validated before dispatch, so a blocked or malformed scheme never reaches the
22
+ // host. There is intentionally no policy default, ambient allowlist, or allow-all path.
23
+ export function openShellExternalUrl(hostShellExternal, url, policy) {
24
+ if (!isShellUrlAllowed(url, policy)) {
25
+ return Promise.resolve({ reason: 'blocked-scheme' });
26
+ }
27
+ return hostShellExternal.open(url);
28
+ }
29
+ export function openShellPath(hostShellPathOpen, path) {
30
+ return hostShellPathOpen.open(path);
31
+ }
32
+ export function readShellShortcutLink(hostShellShortcutLink, shortcutPath) {
33
+ return hostShellShortcutLink.read(shortcutPath);
34
+ }
35
+ export function revealShellPath(hostShellPathReveal, path) {
36
+ return hostShellPathReveal.reveal(path);
37
+ }
38
+ export function shellBeep(hostShellBeep) {
39
+ hostShellBeep.beep();
40
+ }
41
+ export function spawnShellProcess(hostShellProcess, command, args, options) {
42
+ return hostShellProcess.spawn(command, args, options);
43
+ }
44
+ export function writeShellShortcutLink(hostShellShortcutLink, shortcutPath, link, operation) {
45
+ return hostShellShortcutLink.write(shortcutPath, link, operation);
46
+ }
47
+ //# sourceMappingURL=shell.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell.native.js","sourceRoot":"","sources":["../src/shell.native.ts"],"names":[],"mappings":"AAsBA,sGAAsG;AACtG,4FAA4F;AAC5F,MAAM,UAAU,iBAAiB,CAAC,GAAW,EAAE,MAAwC;IACrF,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QACrE,OAAO,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC,CAAC;IACnF,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED,iGAAiG;AACjG,4EAA4E;AAC5E,MAAM,UAAU,qBAAqB,CACnC,cAAkD,EAClD,KAAwB;IAExB,OAAO,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,cAAkD,EAClD,IAAY;IAEZ,OAAO,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,qGAAqG;AACrG,mGAAmG;AACnG,wFAAwF;AACxF,MAAM,UAAU,oBAAoB,CAClC,iBAAwD,EACxD,GAAW,EACX,MAAwC;IAExC,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAuC,EAAE,CAAC,CAAC;IAC9E,CAAC;IACD,OAAO,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,aAAa,CAC3B,iBAAwD,EACxD,IAAY;IAEZ,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,qBAAqB,CACnC,qBAAgE,EAChE,YAAoB;IAEpB,OAAO,qBAAqB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,eAAe,CAC7B,mBAA4D,EAC5D,IAAY;IAEZ,OAAO,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,aAAgD;IACxE,aAAa,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,gBAAsD,EACtD,OAAe,EACf,IAAuB,EACvB,OAAuC;IAEvC,OAAO,gBAAgB,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,qBAAgE,EAChE,YAAoB,EACpB,IAAiC,EACjC,SAAsC;IAEtC,OAAO,qBAAqB,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AACpE,CAAC"}
@@ -0,0 +1,89 @@
1
+ import type { EntityRaw, EntityRuntime, EntityRuntimeKey } from '@flighthq/entity/contract';
2
+ export interface ShellExternalUrlPolicy {
3
+ readonly allowedSchemes: readonly string[];
4
+ }
5
+ export type ShellExternalReason = 'blocked-scheme' | 'ok' | 'operation-failed' | 'popup-blocked';
6
+ export type ShellExternalOutcome = {
7
+ readonly reason: ShellExternalReason;
8
+ };
9
+ export type ShellPathOpenOutcome = {
10
+ readonly reason: 'ok';
11
+ } | {
12
+ readonly message: string;
13
+ readonly reason: 'operation-failed';
14
+ };
15
+ export type ShellPathRevealOutcome = {
16
+ readonly reason: 'ok' | 'operation-failed';
17
+ };
18
+ export type ShellShortcutLinkReadOutcome = {
19
+ readonly link: Readonly<ShellShortcutLink>;
20
+ readonly reason: 'ok';
21
+ } | {
22
+ readonly message: string;
23
+ readonly reason: 'operation-failed';
24
+ };
25
+ export type ShellShortcutLinkWriteOutcome = {
26
+ readonly reason: 'ok' | 'operation-failed';
27
+ };
28
+ export type ShellTrashOutcome = {
29
+ readonly reason: 'ok' | 'operation-failed';
30
+ };
31
+ export interface ShellProcessOptions {
32
+ readonly cwd?: string;
33
+ readonly environment?: Readonly<Record<string, string>>;
34
+ }
35
+ export interface ShellProcessExitStatus {
36
+ readonly code: number | null;
37
+ readonly signal: string | null;
38
+ }
39
+ export interface ShellProcess extends EntityRaw {
40
+ [EntityRuntimeKey]: EntityRuntime | undefined;
41
+ readonly exit: Promise<Readonly<ShellProcessExitStatus>>;
42
+ readonly stderr: ReadableStream<Uint8Array>;
43
+ readonly stdin: WritableStream<Uint8Array>;
44
+ readonly stdout: ReadableStream<Uint8Array>;
45
+ terminate(): void;
46
+ }
47
+ export interface HostShellBeepCapability {
48
+ beep(): void;
49
+ }
50
+ export interface HostShellExternalCapability {
51
+ open(url: string): Promise<ShellExternalOutcome>;
52
+ }
53
+ export interface HostShellPathOpenCapability {
54
+ open(path: string): Promise<ShellPathOpenOutcome>;
55
+ }
56
+ export interface HostShellPathRevealCapability {
57
+ reveal(path: string): Promise<ShellPathRevealOutcome>;
58
+ }
59
+ export interface HostShellProcessCapability {
60
+ spawn(command: string, args: readonly string[], options?: Readonly<ShellProcessOptions>): ShellProcess;
61
+ }
62
+ export interface HostShellShortcutLinkCapability {
63
+ read(shortcutPath: string): Promise<ShellShortcutLinkReadOutcome>;
64
+ write(shortcutPath: string, link: Readonly<ShellShortcutLink>, operation: ShellShortcutWriteOperation): Promise<ShellShortcutLinkWriteOutcome>;
65
+ }
66
+ export interface HostShellTrashCapability {
67
+ moveToTrash(path: string): Promise<ShellTrashOutcome>;
68
+ }
69
+ /** The complete shell capability group. An omitted slot is capability absence. */
70
+ export interface HostShellCapabilities {
71
+ readonly beep?: HostShellBeepCapability;
72
+ readonly external?: HostShellExternalCapability;
73
+ readonly pathOpen?: HostShellPathOpenCapability;
74
+ readonly pathReveal?: HostShellPathRevealCapability;
75
+ readonly process?: HostShellProcessCapability;
76
+ readonly shortcutLink?: HostShellShortcutLinkCapability;
77
+ readonly trash?: HostShellTrashCapability;
78
+ }
79
+ export interface ShellShortcutLink {
80
+ target: string;
81
+ appUserModelId?: string;
82
+ args?: string;
83
+ description?: string;
84
+ icon?: string;
85
+ iconIndex?: number;
86
+ workingDirectory?: string;
87
+ }
88
+ export type ShellShortcutWriteOperation = 'create' | 'replace' | 'update';
89
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAK5F,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5C;AAED,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG,IAAI,GAAG,kBAAkB,GAAG,eAAe,CAAC;AAEjG,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B;IAAE,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAA;CAAE,GACzB;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAEtE,MAAM,MAAM,sBAAsB,GAAG;IAAE,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAG,kBAAkB,CAAA;CAAE,CAAC;AAEpF,MAAM,MAAM,4BAA4B,GACpC;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAA;CAAE,GACrE;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAEtE,MAAM,MAAM,6BAA6B,GAAG;IAAE,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAG,kBAAkB,CAAA;CAAE,CAAC;AAE3F,MAAM,MAAM,iBAAiB,GAAG;IAAE,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAG,kBAAkB,CAAA;CAAE,CAAC;AAI/E,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACzD;AAKD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAKD,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C,CAAC,gBAAgB,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC;IACzD,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAC3C,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAC5C,SAAS,IAAI,IAAI,CAAC;CACnB;AAMD,MAAM,WAAW,uBAAuB;IACtC,IAAI,IAAI,IAAI,CAAC;CACd;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACvD;AAKD,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAAC;CACxG;AAED,MAAM,WAAW,+BAA+B;IAC9C,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;IAClE,KAAK,CACH,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EACjC,SAAS,EAAE,2BAA2B,GACrC,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACvD;AAED,kFAAkF;AAClF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,CAAC,EAAE,uBAAuB,CAAC;IACxC,QAAQ,CAAC,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IAChD,QAAQ,CAAC,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,6BAA6B,CAAC;IACpD,QAAQ,CAAC,OAAO,CAAC,EAAE,0BAA0B,CAAC;IAC9C,QAAQ,CAAC,YAAY,CAAC,EAAE,+BAA+B,CAAC;IACxD,QAAQ,CAAC,KAAK,CAAC,EAAE,wBAAwB,CAAC;CAC3C;AAID,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,MAAM,MAAM,2BAA2B,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC"}
package/dist/types.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/shell",
3
- "version": "0.5.1-edge.4399.0979a37",
3
+ "version": "0.5.1-edge.5211.71b571d",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,16 +32,17 @@
32
32
  "scripts": {
33
33
  "build": "tsc -b",
34
34
  "clean": "tsc -b --clean",
35
+ "generate": "tsx ../../scripts/generate-rust-package.ts --crate flight-shell --package shell --lenient",
36
+ "generate:check": "tsx ../../scripts/generate-rust-package.ts --crate flight-shell --package shell --lenient --check",
35
37
  "test": "vitest run --config vitest.config.ts",
36
38
  "test:watch": "vitest --watch --config vitest.config.ts",
37
39
  "prepack": "npm run clean && npm run clean:dist && npm run build",
38
40
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
41
  },
40
42
  "dependencies": {
41
- "@flighthq/types": "0.5.1-edge.4399.0979a37"
43
+ "@flighthq/entity": "0.5.1-edge.5211.71b571d"
42
44
  },
43
45
  "devDependencies": {
44
- "@flighthq/entity": "*",
45
46
  "typescript": "^7.0.2"
46
47
  },
47
48
  "description": "OS shell commands over seven explicit Host capability slots with required external URL policy",
@@ -0,0 +1,50 @@
1
+ import * as generated from './shell.generated.ts';
2
+ import * as shell from './shell.ts';
3
+
4
+ describe('moveShellItemToTrash', () => {
5
+ it('is routed through the generated implementation', () => {
6
+ expect(shell.moveShellItemToTrash).toBe(generated.moveShellItemToTrash);
7
+ });
8
+ });
9
+
10
+ describe('openShellExternalUrl', () => {
11
+ it('is routed through the generated implementation', () => {
12
+ expect(shell.openShellExternalUrl).toBe(generated.openShellExternalUrl);
13
+ });
14
+ });
15
+
16
+ describe('openShellPath', () => {
17
+ it('is routed through the generated implementation', () => {
18
+ expect(shell.openShellPath).toBe(generated.openShellPath);
19
+ });
20
+ });
21
+
22
+ describe('readShellShortcutLink', () => {
23
+ it('is routed through the generated implementation', () => {
24
+ expect(shell.readShellShortcutLink).toBe(generated.readShellShortcutLink);
25
+ });
26
+ });
27
+
28
+ describe('revealShellPath', () => {
29
+ it('is routed through the generated implementation', () => {
30
+ expect(shell.revealShellPath).toBe(generated.revealShellPath);
31
+ });
32
+ });
33
+
34
+ describe('shellBeep', () => {
35
+ it('is routed through the generated implementation', () => {
36
+ expect(shell.shellBeep).toBe(generated.shellBeep);
37
+ });
38
+ });
39
+
40
+ describe('spawnShellProcess', () => {
41
+ it('is routed through the generated implementation', () => {
42
+ expect(shell.spawnShellProcess).toBe(generated.spawnShellProcess);
43
+ });
44
+ });
45
+
46
+ describe('writeShellShortcutLink', () => {
47
+ it('is routed through the generated implementation', () => {
48
+ expect(shell.writeShellShortcutLink).toBe(generated.writeShellShortcutLink);
49
+ });
50
+ });
@@ -0,0 +1,62 @@
1
+ import * as native from './shell.native.ts';
2
+ import * as shell from './shell.ts';
3
+
4
+ describe('isShellUrlAllowed', () => {
5
+ it('remains the native fallback', () => {
6
+ expect(shell.isShellUrlAllowed).toBe(native.isShellUrlAllowed);
7
+ });
8
+ });
9
+
10
+ describe('moveShellItemsToTrash', () => {
11
+ it('remains the native fallback', () => {
12
+ expect(shell.moveShellItemsToTrash).toBe(native.moveShellItemsToTrash);
13
+ });
14
+ });
15
+
16
+ describe('moveShellItemToTrash', () => {
17
+ it('is hidden behind the generated implementation', () => {
18
+ expect(shell.moveShellItemToTrash).not.toBe(native.moveShellItemToTrash);
19
+ });
20
+ });
21
+
22
+ describe('openShellExternalUrl', () => {
23
+ it('is hidden behind the generated implementation', () => {
24
+ expect(shell.openShellExternalUrl).not.toBe(native.openShellExternalUrl);
25
+ });
26
+ });
27
+
28
+ describe('openShellPath', () => {
29
+ it('is hidden behind the generated implementation', () => {
30
+ expect(shell.openShellPath).not.toBe(native.openShellPath);
31
+ });
32
+ });
33
+
34
+ describe('readShellShortcutLink', () => {
35
+ it('is hidden behind the generated implementation', () => {
36
+ expect(shell.readShellShortcutLink).not.toBe(native.readShellShortcutLink);
37
+ });
38
+ });
39
+
40
+ describe('revealShellPath', () => {
41
+ it('is hidden behind the generated implementation', () => {
42
+ expect(shell.revealShellPath).not.toBe(native.revealShellPath);
43
+ });
44
+ });
45
+
46
+ describe('shellBeep', () => {
47
+ it('is hidden behind the generated implementation', () => {
48
+ expect(shell.shellBeep).not.toBe(native.shellBeep);
49
+ });
50
+ });
51
+
52
+ describe('spawnShellProcess', () => {
53
+ it('is hidden behind the generated implementation', () => {
54
+ expect(shell.spawnShellProcess).not.toBe(native.spawnShellProcess);
55
+ });
56
+ });
57
+
58
+ describe('writeShellShortcutLink', () => {
59
+ it('is hidden behind the generated implementation', () => {
60
+ expect(shell.writeShellShortcutLink).not.toBe(native.writeShellShortcutLink);
61
+ });
62
+ });
package/src/shell.test.ts CHANGED
@@ -1,17 +1,4 @@
1
- import { allocateEntity, finishEntity } from '@flighthq/entity/contract';
2
- import type {
3
- EntityRuntimeKey,
4
- HostShellBeepCapability,
5
- HostShellExternalCapability,
6
- HostShellPathOpenCapability,
7
- HostShellPathRevealCapability,
8
- HostShellShortcutLinkCapability,
9
- HostShellTrashCapability,
10
- ShellExternalUrlPolicy,
11
- ShellProcess,
12
- HostShellProcessCapability,
13
- ShellProcessOptions,
14
- } from '@flighthq/types/contract';
1
+ import { allocateEntity } from '@flighthq/entity/contract';
15
2
 
16
3
  import {
17
4
  isShellUrlAllowed,
@@ -25,6 +12,18 @@ import {
25
12
  spawnShellProcess,
26
13
  writeShellShortcutLink,
27
14
  } from './shell.ts';
15
+ import type {
16
+ HostShellBeepCapability,
17
+ HostShellExternalCapability,
18
+ HostShellPathOpenCapability,
19
+ HostShellPathRevealCapability,
20
+ HostShellShortcutLinkCapability,
21
+ HostShellTrashCapability,
22
+ ShellExternalUrlPolicy,
23
+ ShellProcess,
24
+ HostShellProcessCapability,
25
+ ShellProcessOptions,
26
+ } from './types.ts';
28
27
 
29
28
  describe('isShellUrlAllowed', () => {
30
29
  it('matches schemes case-insensitively from an explicit policy', () => {
@@ -44,12 +43,12 @@ describe('moveShellItemsToTrash', () => {
44
43
  const resolvers: Array<(outcome: { reason: 'ok' | 'operation-failed' }) => void> = [];
45
44
  const host = trashHost(
46
45
  (() => {
47
- const out = allocateEntity<any>();
46
+ const out = allocateEntity<any>() as any;
48
47
  out.moveToTrash = (path: string) => {
49
48
  paths.push(path);
50
49
  return new Promise((resolve) => resolvers.push(resolve));
51
50
  };
52
- return finishEntity(out);
51
+ return out;
53
52
  })(),
54
53
  );
55
54
 
@@ -74,9 +73,9 @@ describe('moveShellItemToTrash', () => {
74
73
  moveShellItemToTrash(
75
74
  trashHost(
76
75
  (() => {
77
- const out = allocateEntity<any>();
76
+ const out = allocateEntity<any>() as any;
78
77
  out.moveToTrash = moveToTrash;
79
- return finishEntity(out);
78
+ return out;
80
79
  })(),
81
80
  ).shell.trash,
82
81
  '/item',
@@ -99,9 +98,9 @@ describe('openShellExternalUrl', () => {
99
98
  const open = vi.fn(async () => ({ reason: 'ok' as const }));
100
99
  const host = externalHost(
101
100
  (() => {
102
- const out = allocateEntity<any>();
101
+ const out = allocateEntity<any>() as any;
103
102
  out.open = open;
104
- return finishEntity(out);
103
+ return out;
105
104
  })(),
106
105
  );
107
106
  await expect(
@@ -116,22 +115,22 @@ describe('openShellExternalUrl', () => {
116
115
  const calls: string[] = [];
117
116
  const first = externalHost(
118
117
  (() => {
119
- const out = allocateEntity<any>();
118
+ const out = allocateEntity<any>() as any;
120
119
  out.open = async (url: string) => {
121
120
  calls.push(`first:${url}`);
122
121
  return { reason: 'ok' };
123
122
  };
124
- return finishEntity(out);
123
+ return out;
125
124
  })(),
126
125
  );
127
126
  const second = externalHost(
128
127
  (() => {
129
- const out = allocateEntity<any>();
128
+ const out = allocateEntity<any>() as any;
130
129
  out.open = async (url: string) => {
131
130
  calls.push(`second:${url}`);
132
131
  return { reason: 'operation-failed' };
133
132
  };
134
- return finishEntity(out);
133
+ return out;
135
134
  })(),
136
135
  );
137
136
  await expect(openShellExternalUrl(first.shell.external, 'https://one.test', HTTPS_ONLY)).resolves.toEqual({
@@ -174,9 +173,9 @@ describe('revealShellPath', () => {
174
173
  revealShellPath(
175
174
  pathRevealHost(
176
175
  (() => {
177
- const out = allocateEntity<any>();
176
+ const out = allocateEntity<any>() as any;
178
177
  out.reveal = reveal;
179
- return finishEntity(out);
178
+ return out;
180
179
  })(),
181
180
  ).shell.pathReveal,
182
181
  '/item',
@@ -193,9 +192,9 @@ describe('shellBeep', () => {
193
192
  shellBeep(
194
193
  beepHost(
195
194
  (() => {
196
- const out = allocateEntity<any>();
195
+ const out = allocateEntity<any>() as any;
197
196
  out.beep = beep;
198
- return finishEntity(out);
197
+ return out;
199
198
  })(),
200
199
  ).shell.beep,
201
200
  );
@@ -216,9 +215,9 @@ describe('spawnShellProcess', () => {
216
215
  const spawn = vi.fn(() => process);
217
216
  const host = processHost(
218
217
  (() => {
219
- const out = allocateEntity<any>();
218
+ const out = allocateEntity<any>() as any;
220
219
  out.spawn = spawn;
221
- return finishEntity(out);
220
+ return out;
222
221
  })(),
223
222
  );
224
223
  const args = ['--flag', 'value'] as const;
@@ -270,13 +269,13 @@ function processHost(process: HostShellProcessCapability): {
270
269
  }
271
270
 
272
271
  function shellProcess(): ShellProcess {
273
- const out = allocateEntity<any>();
272
+ const out = allocateEntity<any>() as any;
274
273
  out.exit = Promise.resolve({ code: 0, signal: null });
275
274
  out.stderr = new ReadableStream<Uint8Array>();
276
275
  out.stdin = new WritableStream<Uint8Array>();
277
276
  out.stdout = new ReadableStream<Uint8Array>();
278
277
  out.terminate = vi.fn();
279
- return finishEntity(out);
278
+ return out;
280
279
  }
281
280
 
282
281
  function shortcutLinkHost(shortcutLink: HostShellShortcutLinkCapability): {
@@ -286,12 +285,12 @@ function shortcutLinkHost(shortcutLink: HostShellShortcutLinkCapability): {
286
285
  }
287
286
 
288
287
  function shortcutLinkProvider(): HostShellShortcutLinkCapability & { write: ReturnType<typeof vi.fn> } {
289
- const out = allocateEntity<any>();
288
+ const out = allocateEntity<any>() as any;
290
289
  out.read = async () => {
291
290
  return { link: { target: '/app' }, reason: 'ok' };
292
291
  };
293
292
  out.write = vi.fn(async () => ({ reason: 'ok' as const }));
294
- return finishEntity(out);
293
+ return out;
295
294
  }
296
295
 
297
296
  function trashHost(trash: HostShellTrashCapability): { readonly shell: { readonly trash: HostShellTrashCapability } } {