@cortexkit/opencode-antigravity-auth 3.0.6 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1621 -183
- package/dist/cli.js.map +4 -4
- package/dist/cli.meta.json +228 -62
- package/dist/index.js +2728 -883
- package/dist/index.js.map +4 -4
- package/dist/index.meta.json +291 -104
- package/dist/server.js +2255 -390
- package/dist/server.js.map +4 -4
- package/dist/server.meta.json +1 -1
- package/dist/src/common-auth-embedded/claustrum/availability.d.ts +89 -0
- package/dist/src/common-auth-embedded/claustrum/availability.js +106 -0
- package/dist/src/common-auth-embedded/claustrum/consumer.d.ts +41 -1
- package/dist/src/common-auth-embedded/claustrum/consumer.js +152 -6
- package/dist/src/common-auth-embedded/claustrum/custody.d.ts +135 -14
- package/dist/src/common-auth-embedded/claustrum/custody.js +311 -16
- package/dist/src/common-auth-embedded/claustrum/errors.d.ts +1 -0
- package/dist/src/common-auth-embedded/claustrum/index.d.ts +5 -3
- package/dist/src/common-auth-embedded/claustrum/index.js +4 -1
- package/dist/src/common-auth-embedded/claustrum/insula.d.ts +48 -0
- package/dist/src/common-auth-embedded/claustrum/insula.js +286 -21
- package/dist/src/common-auth-embedded/claustrum/watch.d.ts +141 -0
- package/dist/src/common-auth-embedded/claustrum/watch.js +254 -0
- package/dist/src/common-auth-embedded/fs/private-files.js +10 -2
- package/dist/src/common-auth-embedded/fs/refresh-file-lock.d.ts +8 -2
- package/dist/src/common-auth-embedded/fs/refresh-file-lock.js +6 -1
- package/dist/src/common-auth-embedded/pi-slot/lock.js +7 -3
- package/dist/src/common-auth-embedded/quota/format.d.ts +17 -3
- package/dist/src/common-auth-embedded/quota/format.js +203 -18
- package/dist/src/common-auth-embedded/quota/index.d.ts +2 -2
- package/dist/src/common-auth-embedded/quota/index.js +1 -1
- package/dist/src/common-auth-embedded/quota/projection.d.ts +16 -0
- package/dist/src/common-auth-embedded/setup/command-error.d.ts +32 -0
- package/dist/src/common-auth-embedded/setup/command-error.js +79 -0
- package/dist/src/common-auth-embedded/setup/command-runner.js +118 -24
- package/dist/src/common-auth-embedded/setup/command.js +75 -19
- package/dist/src/common-auth-embedded/setup/enroll.js +17 -5
- package/dist/src/common-auth-embedded/setup/index.d.ts +2 -1
- package/dist/src/common-auth-embedded/setup/index.js +1 -0
- package/dist/src/common-auth-embedded/setup/register.js +8 -2
- package/dist/src/common-auth-embedded/setup/types.d.ts +14 -0
- package/dist/src/common-auth-embedded/source-output.json +142 -94
- package/dist/src/common-auth-embedded/store/pool.d.ts +1 -1
- package/dist/src/common-auth-embedded/store/pool.js +0 -1
- package/dist/src/common-auth-embedded/store/refresh-lock.d.ts +0 -1
- package/dist/src/common-auth-embedded/store/refresh-lock.js +0 -1
- package/dist/src/ga/server/index.d.ts +2 -0
- package/dist/src/ga/server/index.d.ts.map +1 -1
- package/dist/src/ga/server/index.js +18 -3
- package/dist/src/ga/server/index.js.map +1 -1
- package/dist/src/ga/tui/host-ga.d.ts.map +1 -1
- package/dist/src/ga/tui/host-ga.js +37 -3
- package/dist/src/ga/tui/host-ga.js.map +1 -1
- package/dist/src/plugin/auth-loader.d.ts +2 -1
- package/dist/src/plugin/auth-loader.d.ts.map +1 -1
- package/dist/src/plugin/auth-loader.js +5 -4
- package/dist/src/plugin/auth-loader.js.map +1 -1
- package/dist/src/plugin/config/schema.d.ts.map +1 -1
- package/dist/src/plugin/config/schema.js +2 -1
- package/dist/src/plugin/config/schema.js.map +1 -1
- package/dist/src/plugin/fetch-interceptor.d.ts +2 -1
- package/dist/src/plugin/fetch-interceptor.d.ts.map +1 -1
- package/dist/src/plugin/fetch-interceptor.js +8 -6
- package/dist/src/plugin/fetch-interceptor.js.map +1 -1
- package/dist/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/src/plugin/ga-location-services.js +7 -3
- package/dist/src/plugin/ga-location-services.js.map +1 -1
- package/dist/src/plugin/gemini-dump.d.ts.map +1 -1
- package/dist/src/plugin/gemini-dump.js +2 -5
- package/dist/src/plugin/gemini-dump.js.map +1 -1
- package/dist/src/plugin/index.d.ts.map +1 -1
- package/dist/src/plugin/index.js +3 -3
- package/dist/src/plugin/index.js.map +1 -1
- package/dist/src/plugin/logging-utils.d.ts.map +1 -1
- package/dist/src/plugin/logging-utils.js +2 -5
- package/dist/src/plugin/logging-utils.js.map +1 -1
- package/dist/src/plugin/request.d.ts +1 -2
- package/dist/src/plugin/request.d.ts.map +1 -1
- package/dist/src/plugin/request.js +8 -12
- package/dist/src/plugin/request.js.map +1 -1
- package/dist/src/plugin/shared/after-handoff.d.ts +14 -0
- package/dist/src/plugin/shared/after-handoff.d.ts.map +1 -0
- package/dist/src/plugin/shared/after-handoff.js +89 -0
- package/dist/src/plugin/shared/after-handoff.js.map +1 -0
- package/dist/src/plugin/shared/request-services.d.ts +16 -3
- package/dist/src/plugin/shared/request-services.d.ts.map +1 -1
- package/dist/src/plugin/shared/request-services.js +193 -90
- package/dist/src/plugin/shared/request-services.js.map +1 -1
- package/dist/src/plugin/shared/vault-request-credentials.d.ts +13 -4
- package/dist/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
- package/dist/src/plugin/shared/vault-request-credentials.js +17 -1
- package/dist/src/plugin/shared/vault-request-credentials.js.map +1 -1
- package/dist/src/plugin/vault-custody.d.ts +16 -1
- package/dist/src/plugin/vault-custody.d.ts.map +1 -1
- package/dist/src/plugin/vault-custody.js +60 -10
- package/dist/src/plugin/vault-custody.js.map +1 -1
- package/dist/src/sidebar-projection.d.ts +4 -0
- package/dist/src/sidebar-projection.d.ts.map +1 -1
- package/dist/src/sidebar-projection.js +6 -2
- package/dist/src/sidebar-projection.js.map +1 -1
- package/dist/src/tui/quota-layout.d.ts +94 -0
- package/dist/src/tui/quota-layout.d.ts.map +1 -0
- package/dist/src/tui/quota-layout.js +139 -0
- package/dist/src/tui/quota-layout.js.map +1 -0
- package/dist/src/tui/route-layout.d.ts +8 -0
- package/dist/src/tui/route-layout.d.ts.map +1 -0
- package/dist/src/tui/route-layout.js +36 -0
- package/dist/src/tui/route-layout.js.map +1 -0
- package/dist/src/tui.d.ts.map +1 -1
- package/dist/src/tui.js +105 -191
- package/dist/src/tui.js.map +1 -1
- package/dist/tui-build-map.json +60 -31
- package/dist/tui-ga-build-map.json +46 -17
- package/dist/types/src/common-auth-embedded/claustrum/availability.d.ts +89 -0
- package/dist/types/src/common-auth-embedded/claustrum/consumer.d.ts +41 -1
- package/dist/types/src/common-auth-embedded/claustrum/custody.d.ts +135 -14
- package/dist/types/src/common-auth-embedded/claustrum/errors.d.ts +1 -0
- package/dist/types/src/common-auth-embedded/claustrum/index.d.ts +5 -3
- package/dist/types/src/common-auth-embedded/claustrum/insula.d.ts +48 -0
- package/dist/types/src/common-auth-embedded/claustrum/watch.d.ts +141 -0
- package/dist/types/src/common-auth-embedded/fs/refresh-file-lock.d.ts +8 -2
- package/dist/types/src/common-auth-embedded/quota/format.d.ts +17 -3
- package/dist/types/src/common-auth-embedded/quota/index.d.ts +2 -2
- package/dist/types/src/common-auth-embedded/quota/projection.d.ts +16 -0
- package/dist/types/src/common-auth-embedded/setup/command-error.d.ts +32 -0
- package/dist/types/src/common-auth-embedded/setup/index.d.ts +2 -1
- package/dist/types/src/common-auth-embedded/setup/types.d.ts +14 -0
- package/dist/types/src/common-auth-embedded/store/pool.d.ts +1 -1
- package/dist/types/src/common-auth-embedded/store/refresh-lock.d.ts +0 -1
- package/dist/types/src/ga/server/index.d.ts +2 -0
- package/dist/types/src/ga/server/index.d.ts.map +1 -1
- package/dist/types/src/plugin/auth-loader.d.ts +2 -1
- package/dist/types/src/plugin/auth-loader.d.ts.map +1 -1
- package/dist/types/src/plugin/config/schema.d.ts.map +1 -1
- package/dist/types/src/plugin/fetch-interceptor.d.ts +2 -1
- package/dist/types/src/plugin/fetch-interceptor.d.ts.map +1 -1
- package/dist/types/src/plugin/ga-location-services.d.ts.map +1 -1
- package/dist/types/src/plugin/gemini-dump.d.ts.map +1 -1
- package/dist/types/src/plugin/index.d.ts.map +1 -1
- package/dist/types/src/plugin/logging-utils.d.ts.map +1 -1
- package/dist/types/src/plugin/request.d.ts +1 -2
- package/dist/types/src/plugin/request.d.ts.map +1 -1
- package/dist/types/src/plugin/shared/after-handoff.d.ts +14 -0
- package/dist/types/src/plugin/shared/after-handoff.d.ts.map +1 -0
- package/dist/types/src/plugin/shared/request-services.d.ts +16 -3
- package/dist/types/src/plugin/shared/request-services.d.ts.map +1 -1
- package/dist/types/src/plugin/shared/vault-request-credentials.d.ts +13 -4
- package/dist/types/src/plugin/shared/vault-request-credentials.d.ts.map +1 -1
- package/dist/types/src/plugin/vault-custody.d.ts +16 -1
- package/dist/types/src/plugin/vault-custody.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/common-auth-embedded/claustrum/availability.d.ts +89 -0
- package/src/common-auth-embedded/claustrum/availability.js +106 -0
- package/src/common-auth-embedded/claustrum/consumer.d.ts +41 -1
- package/src/common-auth-embedded/claustrum/consumer.js +152 -6
- package/src/common-auth-embedded/claustrum/custody.d.ts +135 -14
- package/src/common-auth-embedded/claustrum/custody.js +311 -16
- package/src/common-auth-embedded/claustrum/errors.d.ts +1 -0
- package/src/common-auth-embedded/claustrum/index.d.ts +5 -3
- package/src/common-auth-embedded/claustrum/index.js +4 -1
- package/src/common-auth-embedded/claustrum/insula.d.ts +48 -0
- package/src/common-auth-embedded/claustrum/insula.js +286 -21
- package/src/common-auth-embedded/claustrum/watch.d.ts +141 -0
- package/src/common-auth-embedded/claustrum/watch.js +254 -0
- package/src/common-auth-embedded/fs/private-files.js +10 -2
- package/src/common-auth-embedded/fs/refresh-file-lock.d.ts +8 -2
- package/src/common-auth-embedded/fs/refresh-file-lock.js +6 -1
- package/src/common-auth-embedded/pi-slot/lock.js +7 -3
- package/src/common-auth-embedded/quota/format.d.ts +17 -3
- package/src/common-auth-embedded/quota/format.js +203 -18
- package/src/common-auth-embedded/quota/index.d.ts +2 -2
- package/src/common-auth-embedded/quota/index.js +1 -1
- package/src/common-auth-embedded/quota/projection.d.ts +16 -0
- package/src/common-auth-embedded/setup/command-error.d.ts +32 -0
- package/src/common-auth-embedded/setup/command-error.js +79 -0
- package/src/common-auth-embedded/setup/command-runner.js +118 -24
- package/src/common-auth-embedded/setup/command.js +75 -19
- package/src/common-auth-embedded/setup/enroll.js +17 -5
- package/src/common-auth-embedded/setup/index.d.ts +2 -1
- package/src/common-auth-embedded/setup/index.js +1 -0
- package/src/common-auth-embedded/setup/register.js +8 -2
- package/src/common-auth-embedded/setup/types.d.ts +14 -0
- package/src/common-auth-embedded/source-output.json +142 -94
- package/src/common-auth-embedded/store/pool.d.ts +1 -1
- package/src/common-auth-embedded/store/pool.js +0 -1
- package/src/common-auth-embedded/store/refresh-lock.d.ts +0 -1
- package/src/common-auth-embedded/store/refresh-lock.js +0 -1
- package/src/tui-compiled/common-auth-embedded/fs/private-files.js +10 -2
- package/src/tui-compiled/common-auth-embedded/quota/format.js +203 -18
- package/src/tui-compiled/common-auth-embedded/quota/index.js +1 -1
- package/src/tui-compiled/tui/quota-layout.js +378 -0
- package/src/tui-compiled/tui/route-layout.js +30 -0
- package/src/tui-compiled/tui.js +245 -501
- package/src/tui-ga-compiled/host-ga.js +82 -52
- package/src/tui-ga-compiled/shared/6ca47cd4ec33fe72-route-layout.js +30 -0
- package/src/tui-ga-compiled/shared/8ae1927e5910ea81-sidebar-projection.js +2 -2
- package/src/tui-ga-compiled/shared/aef2402f8fc342f0-format.js +203 -18
- package/src/tui-ga-compiled/shared/bf17cbee28e58197-index.js +1 -1
- package/src/tui-ga-compiled/shared/dd4c9e1a907f8ef0-quota-layout.js +378 -0
- package/src/tui-ga-raw/host-ga.tsx +71 -30
- package/src/tui-ga-raw/shared/6ca47cd4ec33fe72-route-layout.js +30 -0
- package/src/tui-ga-raw/shared/8ae1927e5910ea81-sidebar-projection.js +2 -2
- package/src/tui-ga-raw/shared/aef2402f8fc342f0-format.js +203 -18
- package/src/tui-ga-raw/shared/bf17cbee28e58197-index.js +1 -1
- package/src/tui-ga-raw/shared/dd4c9e1a907f8ef0-quota-layout.tsx +391 -0
- package/src/tui-raw/common-auth-embedded/fs/private-files.js +10 -2
- package/src/tui-raw/common-auth-embedded/quota/format.js +203 -18
- package/src/tui-raw/common-auth-embedded/quota/index.js +1 -1
- package/src/tui-raw/tui/quota-layout.tsx +391 -0
- package/src/tui-raw/tui/route-layout.js +30 -0
- package/src/tui-raw/tui.tsx +171 -411
- package/src/tui.tsx +171 -411
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"package": "@cortexkit/common-auth",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.21.1",
|
|
5
5
|
"artifactStatus": "published",
|
|
6
6
|
"publicRoots": {
|
|
7
7
|
"./rpc": {
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"import": "./dist/opencode2/index.js"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
"input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.
|
|
65
|
-
"tarballSha256": "
|
|
66
|
-
"sri": "sha512-
|
|
67
|
-
"canonicalFiles":
|
|
68
|
-
"canonicalBytes":
|
|
64
|
+
"input": "tools/common-auth-build/inputs/cortexkit-common-auth-0.21.1.tgz",
|
|
65
|
+
"tarballSha256": "4ff9c514bfa7d539483ce9c25e054267c4dc368a0ce8c7f60c74ddac36613a65",
|
|
66
|
+
"sri": "sha512-DORasuyhF7FOTiw0kiL1DlIw9aPvMmBsdoxzkXJEIrKvNzUuv2lcOvHkflpot9KcoqPLCRJxyZLtMO+LVN61gw==",
|
|
67
|
+
"canonicalFiles": 182,
|
|
68
|
+
"canonicalBytes": 1026068,
|
|
69
69
|
"generator": {
|
|
70
70
|
"path": "packages/opencode/scripts/embed-common-auth.ts",
|
|
71
71
|
"version": 3,
|
|
72
|
-
"sha256": "
|
|
72
|
+
"sha256": "18d41d6b7a3db681b7873981c03d88bb19691116f96e0a37a11fabc1f63e5977"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
75
|
{
|
|
@@ -232,36 +232,52 @@
|
|
|
232
232
|
"outputSha256": "134d4950e10d5cd67fd28dba7af51f67e801e719d40b2824bf48e8dde55a1b7b",
|
|
233
233
|
"transform": "verbatim"
|
|
234
234
|
},
|
|
235
|
+
{
|
|
236
|
+
"source": "package/dist/claustrum/availability.d.ts",
|
|
237
|
+
"output": "claustrum/availability.d.ts",
|
|
238
|
+
"bytes": 3375,
|
|
239
|
+
"sourceSha256": "eba8ff78abed434be6194715d214a53322f4414a28e6a7389fe14f8a52b772ac",
|
|
240
|
+
"outputSha256": "eba8ff78abed434be6194715d214a53322f4414a28e6a7389fe14f8a52b772ac",
|
|
241
|
+
"transform": "verbatim"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"source": "package/dist/claustrum/availability.js",
|
|
245
|
+
"output": "claustrum/availability.js",
|
|
246
|
+
"bytes": 4107,
|
|
247
|
+
"sourceSha256": "4bfb03de131ed7d036631a6d6455cc6f465ab7a9ea61575a7378d2f447c7cf67",
|
|
248
|
+
"outputSha256": "4bfb03de131ed7d036631a6d6455cc6f465ab7a9ea61575a7378d2f447c7cf67",
|
|
249
|
+
"transform": "verbatim"
|
|
250
|
+
},
|
|
235
251
|
{
|
|
236
252
|
"source": "package/dist/claustrum/consumer.d.ts",
|
|
237
253
|
"output": "claustrum/consumer.d.ts",
|
|
238
|
-
"bytes":
|
|
239
|
-
"sourceSha256": "
|
|
240
|
-
"outputSha256": "
|
|
254
|
+
"bytes": 9037,
|
|
255
|
+
"sourceSha256": "5d508c6b0e62ada6e60f09f52052fd6ee26fe6dacd626ef4e5e1430bd8535fdb",
|
|
256
|
+
"outputSha256": "5d508c6b0e62ada6e60f09f52052fd6ee26fe6dacd626ef4e5e1430bd8535fdb",
|
|
241
257
|
"transform": "verbatim"
|
|
242
258
|
},
|
|
243
259
|
{
|
|
244
260
|
"source": "package/dist/claustrum/consumer.js",
|
|
245
261
|
"output": "claustrum/consumer.js",
|
|
246
|
-
"bytes":
|
|
247
|
-
"sourceSha256": "
|
|
248
|
-
"outputSha256": "
|
|
262
|
+
"bytes": 23139,
|
|
263
|
+
"sourceSha256": "7b97c80964eaffa9f4c4fc3334885ce4c2da80ed330288311d08b0c8c7edca31",
|
|
264
|
+
"outputSha256": "7b97c80964eaffa9f4c4fc3334885ce4c2da80ed330288311d08b0c8c7edca31",
|
|
249
265
|
"transform": "verbatim"
|
|
250
266
|
},
|
|
251
267
|
{
|
|
252
268
|
"source": "package/dist/claustrum/custody.d.ts",
|
|
253
269
|
"output": "claustrum/custody.d.ts",
|
|
254
|
-
"bytes":
|
|
255
|
-
"sourceSha256": "
|
|
256
|
-
"outputSha256": "
|
|
270
|
+
"bytes": 14842,
|
|
271
|
+
"sourceSha256": "f776af511c7a02f8e5c4cb0361845d1e740eec96244fee5cfa1289d2212dffd9",
|
|
272
|
+
"outputSha256": "f776af511c7a02f8e5c4cb0361845d1e740eec96244fee5cfa1289d2212dffd9",
|
|
257
273
|
"transform": "verbatim"
|
|
258
274
|
},
|
|
259
275
|
{
|
|
260
276
|
"source": "package/dist/claustrum/custody.js",
|
|
261
277
|
"output": "claustrum/custody.js",
|
|
262
|
-
"bytes":
|
|
263
|
-
"sourceSha256": "
|
|
264
|
-
"outputSha256": "
|
|
278
|
+
"bytes": 27016,
|
|
279
|
+
"sourceSha256": "5d2ead857d6e6384980dace94d308f1f47afe831c82e2b644ab434ffb0bcf151",
|
|
280
|
+
"outputSha256": "5d2ead857d6e6384980dace94d308f1f47afe831c82e2b644ab434ffb0bcf151",
|
|
265
281
|
"transform": "verbatim"
|
|
266
282
|
},
|
|
267
283
|
{
|
|
@@ -283,9 +299,9 @@
|
|
|
283
299
|
{
|
|
284
300
|
"source": "package/dist/claustrum/errors.d.ts",
|
|
285
301
|
"output": "claustrum/errors.d.ts",
|
|
286
|
-
"bytes":
|
|
287
|
-
"sourceSha256": "
|
|
288
|
-
"outputSha256": "
|
|
302
|
+
"bytes": 1145,
|
|
303
|
+
"sourceSha256": "b7533d4c281807224d6d05f4bb7a596006862a6c05dc4462fae02af388054bce",
|
|
304
|
+
"outputSha256": "b7533d4c281807224d6d05f4bb7a596006862a6c05dc4462fae02af388054bce",
|
|
289
305
|
"transform": "verbatim"
|
|
290
306
|
},
|
|
291
307
|
{
|
|
@@ -315,33 +331,33 @@
|
|
|
315
331
|
{
|
|
316
332
|
"source": "package/dist/claustrum/index.d.ts",
|
|
317
333
|
"output": "claustrum/index.d.ts",
|
|
318
|
-
"bytes":
|
|
319
|
-
"sourceSha256": "
|
|
320
|
-
"outputSha256": "
|
|
334
|
+
"bytes": 3613,
|
|
335
|
+
"sourceSha256": "b8f9cb374e5d5545d50a1521d85e4337d28b17d4b0dabdb3548186675b1c2965",
|
|
336
|
+
"outputSha256": "b8f9cb374e5d5545d50a1521d85e4337d28b17d4b0dabdb3548186675b1c2965",
|
|
321
337
|
"transform": "verbatim"
|
|
322
338
|
},
|
|
323
339
|
{
|
|
324
340
|
"source": "package/dist/claustrum/index.js",
|
|
325
341
|
"output": "claustrum/index.js",
|
|
326
|
-
"bytes":
|
|
327
|
-
"sourceSha256": "
|
|
328
|
-
"outputSha256": "
|
|
342
|
+
"bytes": 2456,
|
|
343
|
+
"sourceSha256": "1e2ae0ee6f2754189e846298a1c6ce2dd4a5eb8cb7f9293f6c24f9725b8537be",
|
|
344
|
+
"outputSha256": "1e2ae0ee6f2754189e846298a1c6ce2dd4a5eb8cb7f9293f6c24f9725b8537be",
|
|
329
345
|
"transform": "verbatim"
|
|
330
346
|
},
|
|
331
347
|
{
|
|
332
348
|
"source": "package/dist/claustrum/insula.d.ts",
|
|
333
349
|
"output": "claustrum/insula.d.ts",
|
|
334
|
-
"bytes":
|
|
335
|
-
"sourceSha256": "
|
|
336
|
-
"outputSha256": "
|
|
350
|
+
"bytes": 4643,
|
|
351
|
+
"sourceSha256": "be11868f8d766b8c3dc105b3891743bbec1388005be8d2688d617c95b0194e2a",
|
|
352
|
+
"outputSha256": "be11868f8d766b8c3dc105b3891743bbec1388005be8d2688d617c95b0194e2a",
|
|
337
353
|
"transform": "verbatim"
|
|
338
354
|
},
|
|
339
355
|
{
|
|
340
356
|
"source": "package/dist/claustrum/insula.js",
|
|
341
357
|
"output": "claustrum/insula.js",
|
|
342
|
-
"bytes":
|
|
343
|
-
"sourceSha256": "
|
|
344
|
-
"outputSha256": "
|
|
358
|
+
"bytes": 16715,
|
|
359
|
+
"sourceSha256": "98ac4011e091b142618b83e3258eda3ccfb40ec75ee0c5a2cbeff89aa1f88003",
|
|
360
|
+
"outputSha256": "98ac4011e091b142618b83e3258eda3ccfb40ec75ee0c5a2cbeff89aa1f88003",
|
|
345
361
|
"transform": "verbatim"
|
|
346
362
|
},
|
|
347
363
|
{
|
|
@@ -376,6 +392,22 @@
|
|
|
376
392
|
"outputSha256": "e6ac8f59dab51db4756ccbaa89fc73acd213a7a4795fdf5a7c7e4f653455fe94",
|
|
377
393
|
"transform": "verbatim"
|
|
378
394
|
},
|
|
395
|
+
{
|
|
396
|
+
"source": "package/dist/claustrum/watch.d.ts",
|
|
397
|
+
"output": "claustrum/watch.d.ts",
|
|
398
|
+
"bytes": 5760,
|
|
399
|
+
"sourceSha256": "54f088f0e6c863d75295721700a423e682bfd4a6735e02a03556b2faa379d991",
|
|
400
|
+
"outputSha256": "54f088f0e6c863d75295721700a423e682bfd4a6735e02a03556b2faa379d991",
|
|
401
|
+
"transform": "verbatim"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"source": "package/dist/claustrum/watch.js",
|
|
405
|
+
"output": "claustrum/watch.js",
|
|
406
|
+
"bytes": 9226,
|
|
407
|
+
"sourceSha256": "6fdd6ed31d349da6cd016ebbd5f283ce595e9fab376a44cc6587cc9a13d8f589",
|
|
408
|
+
"outputSha256": "6fdd6ed31d349da6cd016ebbd5f283ce595e9fab376a44cc6587cc9a13d8f589",
|
|
409
|
+
"transform": "verbatim"
|
|
410
|
+
},
|
|
379
411
|
{
|
|
380
412
|
"source": "package/dist/commands/builtins.d.ts",
|
|
381
413
|
"output": "commands/builtins.d.ts",
|
|
@@ -531,25 +563,25 @@
|
|
|
531
563
|
{
|
|
532
564
|
"source": "package/dist/fs/private-files.js",
|
|
533
565
|
"output": "fs/private-files.js",
|
|
534
|
-
"bytes":
|
|
535
|
-
"sourceSha256": "
|
|
536
|
-
"outputSha256": "
|
|
566
|
+
"bytes": 12448,
|
|
567
|
+
"sourceSha256": "1c8f34202b535d774d8c1a53bd403255f02701760c7378e020756c02c55a97c4",
|
|
568
|
+
"outputSha256": "1c8f34202b535d774d8c1a53bd403255f02701760c7378e020756c02c55a97c4",
|
|
537
569
|
"transform": "verbatim"
|
|
538
570
|
},
|
|
539
571
|
{
|
|
540
572
|
"source": "package/dist/fs/refresh-file-lock.d.ts",
|
|
541
573
|
"output": "fs/refresh-file-lock.d.ts",
|
|
542
|
-
"bytes":
|
|
543
|
-
"sourceSha256": "
|
|
544
|
-
"outputSha256": "
|
|
574
|
+
"bytes": 2125,
|
|
575
|
+
"sourceSha256": "ec643f4e081c108c1b42ceb17a83cf3e7e9997a4c75e1a61ffc33b5b44ccd414",
|
|
576
|
+
"outputSha256": "ec643f4e081c108c1b42ceb17a83cf3e7e9997a4c75e1a61ffc33b5b44ccd414",
|
|
545
577
|
"transform": "verbatim"
|
|
546
578
|
},
|
|
547
579
|
{
|
|
548
580
|
"source": "package/dist/fs/refresh-file-lock.js",
|
|
549
581
|
"output": "fs/refresh-file-lock.js",
|
|
550
|
-
"bytes":
|
|
551
|
-
"sourceSha256": "
|
|
552
|
-
"outputSha256": "
|
|
582
|
+
"bytes": 29704,
|
|
583
|
+
"sourceSha256": "5c52aad573e84e8065dcf06259ecf38345e8b5a2c401029a23d942f28c7a8521",
|
|
584
|
+
"outputSha256": "5c52aad573e84e8065dcf06259ecf38345e8b5a2c401029a23d942f28c7a8521",
|
|
553
585
|
"transform": "verbatim"
|
|
554
586
|
},
|
|
555
587
|
{
|
|
@@ -739,9 +771,9 @@
|
|
|
739
771
|
{
|
|
740
772
|
"source": "package/dist/pi-slot/lock.js",
|
|
741
773
|
"output": "pi-slot/lock.js",
|
|
742
|
-
"bytes":
|
|
743
|
-
"sourceSha256": "
|
|
744
|
-
"outputSha256": "
|
|
774
|
+
"bytes": 7385,
|
|
775
|
+
"sourceSha256": "68b0c7c764b88391e466f3b9fa172df176bf21529399606bf84475f3b920db8b",
|
|
776
|
+
"outputSha256": "68b0c7c764b88391e466f3b9fa172df176bf21529399606bf84475f3b920db8b",
|
|
745
777
|
"transform": "verbatim"
|
|
746
778
|
},
|
|
747
779
|
{
|
|
@@ -779,33 +811,33 @@
|
|
|
779
811
|
{
|
|
780
812
|
"source": "package/dist/quota/format.d.ts",
|
|
781
813
|
"output": "quota/format.d.ts",
|
|
782
|
-
"bytes":
|
|
783
|
-
"sourceSha256": "
|
|
784
|
-
"outputSha256": "
|
|
814
|
+
"bytes": 4415,
|
|
815
|
+
"sourceSha256": "293073e9f75e7f15790669f4be8340061566e889259593fcfaf17be9fa4f0a01",
|
|
816
|
+
"outputSha256": "293073e9f75e7f15790669f4be8340061566e889259593fcfaf17be9fa4f0a01",
|
|
785
817
|
"transform": "verbatim"
|
|
786
818
|
},
|
|
787
819
|
{
|
|
788
820
|
"source": "package/dist/quota/format.js",
|
|
789
821
|
"output": "quota/format.js",
|
|
790
|
-
"bytes":
|
|
791
|
-
"sourceSha256": "
|
|
792
|
-
"outputSha256": "
|
|
822
|
+
"bytes": 16323,
|
|
823
|
+
"sourceSha256": "d4856ea40dc4269f9a6ffa78bee8564ba648170530e8ff71af4cf38ba5f3baaa",
|
|
824
|
+
"outputSha256": "d4856ea40dc4269f9a6ffa78bee8564ba648170530e8ff71af4cf38ba5f3baaa",
|
|
793
825
|
"transform": "verbatim"
|
|
794
826
|
},
|
|
795
827
|
{
|
|
796
828
|
"source": "package/dist/quota/index.d.ts",
|
|
797
829
|
"output": "quota/index.d.ts",
|
|
798
|
-
"bytes":
|
|
799
|
-
"sourceSha256": "
|
|
800
|
-
"outputSha256": "
|
|
830
|
+
"bytes": 1059,
|
|
831
|
+
"sourceSha256": "fbb7a865108f98da1f3bb44fba20614a2998ccf5c906b271419b49d37a814214",
|
|
832
|
+
"outputSha256": "fbb7a865108f98da1f3bb44fba20614a2998ccf5c906b271419b49d37a814214",
|
|
801
833
|
"transform": "verbatim"
|
|
802
834
|
},
|
|
803
835
|
{
|
|
804
836
|
"source": "package/dist/quota/index.js",
|
|
805
837
|
"output": "quota/index.js",
|
|
806
|
-
"bytes":
|
|
807
|
-
"sourceSha256": "
|
|
808
|
-
"outputSha256": "
|
|
838
|
+
"bytes": 511,
|
|
839
|
+
"sourceSha256": "691e7db4bf6025770991f98adda82ca4cb9be45eeefa3709b114fb2decfdf66e",
|
|
840
|
+
"outputSha256": "691e7db4bf6025770991f98adda82ca4cb9be45eeefa3709b114fb2decfdf66e",
|
|
809
841
|
"transform": "verbatim"
|
|
810
842
|
},
|
|
811
843
|
{
|
|
@@ -843,9 +875,9 @@
|
|
|
843
875
|
{
|
|
844
876
|
"source": "package/dist/quota/projection.d.ts",
|
|
845
877
|
"output": "quota/projection.d.ts",
|
|
846
|
-
"bytes":
|
|
847
|
-
"sourceSha256": "
|
|
848
|
-
"outputSha256": "
|
|
878
|
+
"bytes": 3549,
|
|
879
|
+
"sourceSha256": "2bbf4942bc034f3521c6c35e30446d73de525a099f7ba49c004d160e4dd917ea",
|
|
880
|
+
"outputSha256": "2bbf4942bc034f3521c6c35e30446d73de525a099f7ba49c004d160e4dd917ea",
|
|
849
881
|
"transform": "verbatim"
|
|
850
882
|
},
|
|
851
883
|
{
|
|
@@ -1048,12 +1080,28 @@
|
|
|
1048
1080
|
"outputSha256": "7a7bb67f11f072e2fd655694445458295c5461579bc4e73b11559c9d18d3c93d",
|
|
1049
1081
|
"transform": "verbatim"
|
|
1050
1082
|
},
|
|
1083
|
+
{
|
|
1084
|
+
"source": "package/dist/setup/command-error.d.ts",
|
|
1085
|
+
"output": "setup/command-error.d.ts",
|
|
1086
|
+
"bytes": 1498,
|
|
1087
|
+
"sourceSha256": "fd447696460a03cb04842a5984e9801797c09e1789da1f006f7f8e0943bd7d60",
|
|
1088
|
+
"outputSha256": "fd447696460a03cb04842a5984e9801797c09e1789da1f006f7f8e0943bd7d60",
|
|
1089
|
+
"transform": "verbatim"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"source": "package/dist/setup/command-error.js",
|
|
1093
|
+
"output": "setup/command-error.js",
|
|
1094
|
+
"bytes": 3307,
|
|
1095
|
+
"sourceSha256": "2ead4c487c2dfc6e25cdc56362650ed294d1422fe9b705fbcc842ad1aac0ab10",
|
|
1096
|
+
"outputSha256": "2ead4c487c2dfc6e25cdc56362650ed294d1422fe9b705fbcc842ad1aac0ab10",
|
|
1097
|
+
"transform": "verbatim"
|
|
1098
|
+
},
|
|
1051
1099
|
{
|
|
1052
1100
|
"source": "package/dist/setup/command-runner.js",
|
|
1053
1101
|
"output": "setup/command-runner.js",
|
|
1054
|
-
"bytes":
|
|
1055
|
-
"sourceSha256": "
|
|
1056
|
-
"outputSha256": "
|
|
1102
|
+
"bytes": 5843,
|
|
1103
|
+
"sourceSha256": "d7f745555acbdd67a63049efcdb59e3daed7c7f68302baa65403315a14e2da6b",
|
|
1104
|
+
"outputSha256": "d7f745555acbdd67a63049efcdb59e3daed7c7f68302baa65403315a14e2da6b",
|
|
1057
1105
|
"transform": "verbatim"
|
|
1058
1106
|
},
|
|
1059
1107
|
{
|
|
@@ -1067,9 +1115,9 @@
|
|
|
1067
1115
|
{
|
|
1068
1116
|
"source": "package/dist/setup/command.js",
|
|
1069
1117
|
"output": "setup/command.js",
|
|
1070
|
-
"bytes":
|
|
1071
|
-
"sourceSha256": "
|
|
1072
|
-
"outputSha256": "
|
|
1118
|
+
"bytes": 13180,
|
|
1119
|
+
"sourceSha256": "ed9ff680ea01e09b9d443018b1d4746cb2e54200970165d3ddd76104f631bf12",
|
|
1120
|
+
"outputSha256": "ed9ff680ea01e09b9d443018b1d4746cb2e54200970165d3ddd76104f631bf12",
|
|
1073
1121
|
"transform": "verbatim"
|
|
1074
1122
|
},
|
|
1075
1123
|
{
|
|
@@ -1099,25 +1147,25 @@
|
|
|
1099
1147
|
{
|
|
1100
1148
|
"source": "package/dist/setup/enroll.js",
|
|
1101
1149
|
"output": "setup/enroll.js",
|
|
1102
|
-
"bytes":
|
|
1103
|
-
"sourceSha256": "
|
|
1104
|
-
"outputSha256": "
|
|
1150
|
+
"bytes": 4022,
|
|
1151
|
+
"sourceSha256": "233b36d6422c93e7de0f7e73d1c09fdac54d8ae4090b15b91e1b99160e1ad0fa",
|
|
1152
|
+
"outputSha256": "233b36d6422c93e7de0f7e73d1c09fdac54d8ae4090b15b91e1b99160e1ad0fa",
|
|
1105
1153
|
"transform": "verbatim"
|
|
1106
1154
|
},
|
|
1107
1155
|
{
|
|
1108
1156
|
"source": "package/dist/setup/index.d.ts",
|
|
1109
1157
|
"output": "setup/index.d.ts",
|
|
1110
|
-
"bytes":
|
|
1111
|
-
"sourceSha256": "
|
|
1112
|
-
"outputSha256": "
|
|
1158
|
+
"bytes": 842,
|
|
1159
|
+
"sourceSha256": "43b22470cb458058db2bc628e6502f4cd55184deff519c86213dd8d0e3e0000e",
|
|
1160
|
+
"outputSha256": "43b22470cb458058db2bc628e6502f4cd55184deff519c86213dd8d0e3e0000e",
|
|
1113
1161
|
"transform": "verbatim"
|
|
1114
1162
|
},
|
|
1115
1163
|
{
|
|
1116
1164
|
"source": "package/dist/setup/index.js",
|
|
1117
1165
|
"output": "setup/index.js",
|
|
1118
|
-
"bytes":
|
|
1119
|
-
"sourceSha256": "
|
|
1120
|
-
"outputSha256": "
|
|
1166
|
+
"bytes": 517,
|
|
1167
|
+
"sourceSha256": "4b00ca576b580ce54b53c2ef6c2a03d1e00c3fde9d3174328cd7458edd38ec79",
|
|
1168
|
+
"outputSha256": "4b00ca576b580ce54b53c2ef6c2a03d1e00c3fde9d3174328cd7458edd38ec79",
|
|
1121
1169
|
"transform": "verbatim"
|
|
1122
1170
|
},
|
|
1123
1171
|
{
|
|
@@ -1163,17 +1211,17 @@
|
|
|
1163
1211
|
{
|
|
1164
1212
|
"source": "package/dist/setup/register.js",
|
|
1165
1213
|
"output": "setup/register.js",
|
|
1166
|
-
"bytes":
|
|
1167
|
-
"sourceSha256": "
|
|
1168
|
-
"outputSha256": "
|
|
1214
|
+
"bytes": 6178,
|
|
1215
|
+
"sourceSha256": "65171657a6b2b5788bc3dea16729a045b70c73b0f6d37ada0f1864c889450dfe",
|
|
1216
|
+
"outputSha256": "65171657a6b2b5788bc3dea16729a045b70c73b0f6d37ada0f1864c889450dfe",
|
|
1169
1217
|
"transform": "verbatim"
|
|
1170
1218
|
},
|
|
1171
1219
|
{
|
|
1172
1220
|
"source": "package/dist/setup/types.d.ts",
|
|
1173
1221
|
"output": "setup/types.d.ts",
|
|
1174
|
-
"bytes":
|
|
1175
|
-
"sourceSha256": "
|
|
1176
|
-
"outputSha256": "
|
|
1222
|
+
"bytes": 5535,
|
|
1223
|
+
"sourceSha256": "69f8ee1e9345d72dec1e04bb5ce9fa38e6cc77339f53ad042b625c636c415068",
|
|
1224
|
+
"outputSha256": "69f8ee1e9345d72dec1e04bb5ce9fa38e6cc77339f53ad042b625c636c415068",
|
|
1177
1225
|
"transform": "verbatim"
|
|
1178
1226
|
},
|
|
1179
1227
|
{
|
|
@@ -1275,17 +1323,17 @@
|
|
|
1275
1323
|
{
|
|
1276
1324
|
"source": "package/dist/store/pool.d.ts",
|
|
1277
1325
|
"output": "store/pool.d.ts",
|
|
1278
|
-
"bytes":
|
|
1279
|
-
"sourceSha256": "
|
|
1280
|
-
"outputSha256": "
|
|
1326
|
+
"bytes": 10785,
|
|
1327
|
+
"sourceSha256": "192ea359d2ce746b31693cf06795a281f2e06804c567975f127ea05fa6fb4aef",
|
|
1328
|
+
"outputSha256": "192ea359d2ce746b31693cf06795a281f2e06804c567975f127ea05fa6fb4aef",
|
|
1281
1329
|
"transform": "verbatim"
|
|
1282
1330
|
},
|
|
1283
1331
|
{
|
|
1284
1332
|
"source": "package/dist/store/pool.js",
|
|
1285
1333
|
"output": "store/pool.js",
|
|
1286
|
-
"bytes":
|
|
1287
|
-
"sourceSha256": "
|
|
1288
|
-
"outputSha256": "
|
|
1334
|
+
"bytes": 5671,
|
|
1335
|
+
"sourceSha256": "8dc0d27b37204c2c3229296e8efbbfac6bcb30538b39d8d95771267487a06292",
|
|
1336
|
+
"outputSha256": "8dc0d27b37204c2c3229296e8efbbfac6bcb30538b39d8d95771267487a06292",
|
|
1289
1337
|
"transform": "verbatim"
|
|
1290
1338
|
},
|
|
1291
1339
|
{
|
|
@@ -1339,17 +1387,17 @@
|
|
|
1339
1387
|
{
|
|
1340
1388
|
"source": "package/dist/store/refresh-lock.d.ts",
|
|
1341
1389
|
"output": "store/refresh-lock.d.ts",
|
|
1342
|
-
"bytes":
|
|
1343
|
-
"sourceSha256": "
|
|
1344
|
-
"outputSha256": "
|
|
1390
|
+
"bytes": 2419,
|
|
1391
|
+
"sourceSha256": "50401b2e9b69b73592e0a4391fc1992a380539360b7cabfe5fce6d35fb29c648",
|
|
1392
|
+
"outputSha256": "50401b2e9b69b73592e0a4391fc1992a380539360b7cabfe5fce6d35fb29c648",
|
|
1345
1393
|
"transform": "verbatim"
|
|
1346
1394
|
},
|
|
1347
1395
|
{
|
|
1348
1396
|
"source": "package/dist/store/refresh-lock.js",
|
|
1349
1397
|
"output": "store/refresh-lock.js",
|
|
1350
|
-
"bytes":
|
|
1351
|
-
"sourceSha256": "
|
|
1352
|
-
"outputSha256": "
|
|
1398
|
+
"bytes": 4655,
|
|
1399
|
+
"sourceSha256": "f2a316af681d1a14254873b9dc2d608a76919b7ba930636ee9f266c99195fb67",
|
|
1400
|
+
"outputSha256": "f2a316af681d1a14254873b9dc2d608a76919b7ba930636ee9f266c99195fb67",
|
|
1353
1401
|
"transform": "verbatim"
|
|
1354
1402
|
},
|
|
1355
1403
|
{
|
|
@@ -42,7 +42,7 @@ export interface OpenPoolStoreOptions {
|
|
|
42
42
|
requireCredentialStamps?: boolean;
|
|
43
43
|
/** Require an exact secret fingerprint for every roster-publication removal. */
|
|
44
44
|
requireRemovedFingerprint?: boolean;
|
|
45
|
-
/**
|
|
45
|
+
/** Logical clock for refresh stamps and `addedAt`; filesystem leases always use wall time. */
|
|
46
46
|
now?: () => number;
|
|
47
47
|
/**
|
|
48
48
|
* Ordered store-lock list held across every read-modify-write. Defaults to
|
|
@@ -57,7 +57,6 @@ export function openPoolStore(options) {
|
|
|
57
57
|
],
|
|
58
58
|
lockDefaults,
|
|
59
59
|
lockEnv: {
|
|
60
|
-
now: options.now ?? Date.now,
|
|
61
60
|
...(options.onLockEvent ? { onLockEvent: options.onLockEvent } : {}),
|
|
62
61
|
...(options.onLockStep ? { onLockStep: options.onLockStep } : {}),
|
|
63
62
|
...(options.onRenewalTimer
|
|
@@ -184,19 +184,25 @@ export async function replaceWindowsFile(from, to, options = {}) {
|
|
|
184
184
|
to = resolve(to);
|
|
185
185
|
const now = options.now ?? (() => performance.now());
|
|
186
186
|
const start = now();
|
|
187
|
-
const
|
|
187
|
+
const leaseDeadline = options.deadline ?? Infinity;
|
|
188
|
+
let retryDeadline;
|
|
188
189
|
const delays = [0, 10, 20, 40, 80, 100];
|
|
189
190
|
let original;
|
|
190
191
|
let attempts = 0;
|
|
191
192
|
for (const delay of delays) {
|
|
193
|
+
const deadline = Math.min(retryDeadline ?? Infinity, leaseDeadline);
|
|
192
194
|
if (now() >= deadline)
|
|
193
195
|
break;
|
|
194
196
|
if (delay)
|
|
195
197
|
await (options.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms))))(Math.min(delay, Math.max(0, deadline - now())));
|
|
196
198
|
if (now() >= deadline)
|
|
197
199
|
break;
|
|
200
|
+
const fenceStart = now();
|
|
198
201
|
await options.beforeRename?.();
|
|
199
|
-
|
|
202
|
+
// Ownership checks fence every attempt but do not spend the sharing-retry budget.
|
|
203
|
+
if (retryDeadline !== undefined)
|
|
204
|
+
retryDeadline += now() - fenceStart;
|
|
205
|
+
if (now() >= leaseDeadline)
|
|
200
206
|
break;
|
|
201
207
|
attempts++;
|
|
202
208
|
try {
|
|
@@ -212,6 +218,8 @@ export async function replaceWindowsFile(from, to, options = {}) {
|
|
|
212
218
|
!detail.reason;
|
|
213
219
|
if (!candidate)
|
|
214
220
|
break;
|
|
221
|
+
// Start the retry window only once a rename has actually failed.
|
|
222
|
+
retryDeadline ??= now() + 500;
|
|
215
223
|
}
|
|
216
224
|
}
|
|
217
225
|
const error = new PrivateFileError(to, 'rename', original ??
|