@kodycodes/cli 3.46.3 → 3.46.4
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/{auth-Q6TDDWB2.js → auth-2UN7GB4F.js} +8 -8
- package/dist/bin.js +11 -11
- package/dist/{chunk-F6N7JCMD.js → chunk-3LTYWJRX.js} +3 -3
- package/dist/{chunk-BYZB4U4P.js → chunk-5JI7IJFP.js} +7 -7
- package/dist/{chunk-MWC6FYWF.js → chunk-6XHJV62I.js} +4 -4
- package/dist/{chunk-3YQOVS3N.js → chunk-7DTONYR5.js} +3 -3
- package/dist/{chunk-HQ6Q5IU6.js → chunk-BPSD6VMQ.js} +46 -46
- package/dist/{chunk-Q7XRVWKZ.js → chunk-ERURT3VD.js} +3 -3
- package/dist/{chunk-OFI4MF3S.js → chunk-FS5G5OLI.js} +4 -4
- package/dist/{chunk-6HPU7SMS.js → chunk-GBIQBEKD.js} +2 -2
- package/dist/{chunk-6JQXFR73.js → chunk-HRDM7TRJ.js} +3 -3
- package/dist/{chunk-5LC5QQ67.js → chunk-IQSN4HQY.js} +6 -6
- package/dist/{chunk-XSRTFMCF.js → chunk-KIC65VM5.js} +4 -4
- package/dist/{chunk-2G3YXYZ4.js → chunk-LKJPBFUD.js} +2 -2
- package/dist/{chunk-2G3YXYZ4.js.map → chunk-LKJPBFUD.js.map} +1 -1
- package/dist/{chunk-VX2KDCQF.js → chunk-NZDTFELD.js} +3 -3
- package/dist/{chunk-ZER4SBOV.js → chunk-OZG2CY42.js} +5 -5
- package/dist/{chunk-OBK4CIB2.js → chunk-PQ53PPOM.js} +3 -3
- package/dist/{chunk-42C77QLO.js → chunk-RSODG7NF.js} +2 -2
- package/dist/{chunk-ZIL2JPJC.js → chunk-SCQKYYSW.js} +5 -5
- package/dist/{chunk-AM2SBW3C.js → chunk-U5MKJ4L4.js} +2 -2
- package/dist/{chunk-N33Y3A4H.js → chunk-UYRRMDAI.js} +2 -1
- package/dist/{chunk-N33Y3A4H.js.map → chunk-UYRRMDAI.js.map} +1 -1
- package/dist/{chunk-EJOF2MYU.js → chunk-VHOKL4CU.js} +2 -2
- package/dist/cli.js +11 -11
- package/dist/{commands-LHAEANQD.js → commands-2KBEAASD.js} +6 -6
- package/dist/{dev-command-FJ3UVYU3.js → dev-command-WYZNJ7NO.js} +13 -13
- package/dist/{execute-local-package-PVPTFQFM.js → execute-local-package-ILH7ARJT.js} +13 -13
- package/dist/{git-credential-BL7KCA76.js → git-credential-F3VDL2HQ.js} +9 -9
- package/dist/{local-execute-AQEAOJXS.js → local-execute-PM2TBMAH.js} +9 -9
- package/dist/{local-kody-BJ7OORPF.js → local-kody-BOIWOFLS.js} +10 -10
- package/dist/{local-package-graph-7A4ZQBXJ.js → local-package-graph-GKLQ4MGD.js} +7 -7
- package/dist/{local-package-run-GP4WFMDG.js → local-package-run-62YJYFJF.js} +11 -11
- package/dist/{local-secrets-2S7KJ6EI.js → local-secrets-56KLEWFI.js} +7 -7
- package/dist/{mock-dep-resolve-ACHQAI36.js → mock-dep-resolve-DC7VVS4R.js} +6 -6
- package/dist/{mock-local-deps-43QBYHHF.js → mock-local-deps-OXSL65A4.js} +8 -8
- package/dist/{open-api-client-Z3LIDWQ2.js → open-api-client-DRJJFK2G.js} +7 -7
- package/dist/{org-ZPHE7DVE.js → org-JRDAABYV.js} +2 -2
- package/dist/{package-run-E34M5ERO.js → package-run-FO2LQL5J.js} +7 -7
- package/dist/publish-builder.js +205 -51
- package/dist/{remote-execute-CINWGFKJ.js → remote-execute-3OM2JI3S.js} +8 -8
- package/dist/{run-executor-66E7F2CW.js → run-executor-I4R6QJHK.js} +2 -2
- package/dist/{setup-git-P5HLZX3R.js → setup-git-7LTQO23B.js} +8 -8
- package/dist/{store-7AFDVRNS.js → store-RVFCVRGK.js} +2 -2
- package/dist/store.d.ts +16 -3
- package/dist/{whoami-EU7HSV45.js → whoami-WSBAFVF3.js} +6 -6
- package/package.json +1 -1
- /package/dist/{auth-Q6TDDWB2.js.map → auth-2UN7GB4F.js.map} +0 -0
- /package/dist/{chunk-F6N7JCMD.js.map → chunk-3LTYWJRX.js.map} +0 -0
- /package/dist/{chunk-BYZB4U4P.js.map → chunk-5JI7IJFP.js.map} +0 -0
- /package/dist/{chunk-MWC6FYWF.js.map → chunk-6XHJV62I.js.map} +0 -0
- /package/dist/{chunk-3YQOVS3N.js.map → chunk-7DTONYR5.js.map} +0 -0
- /package/dist/{chunk-HQ6Q5IU6.js.map → chunk-BPSD6VMQ.js.map} +0 -0
- /package/dist/{chunk-Q7XRVWKZ.js.map → chunk-ERURT3VD.js.map} +0 -0
- /package/dist/{chunk-OFI4MF3S.js.map → chunk-FS5G5OLI.js.map} +0 -0
- /package/dist/{chunk-6HPU7SMS.js.map → chunk-GBIQBEKD.js.map} +0 -0
- /package/dist/{chunk-6JQXFR73.js.map → chunk-HRDM7TRJ.js.map} +0 -0
- /package/dist/{chunk-5LC5QQ67.js.map → chunk-IQSN4HQY.js.map} +0 -0
- /package/dist/{chunk-XSRTFMCF.js.map → chunk-KIC65VM5.js.map} +0 -0
- /package/dist/{chunk-VX2KDCQF.js.map → chunk-NZDTFELD.js.map} +0 -0
- /package/dist/{chunk-ZER4SBOV.js.map → chunk-OZG2CY42.js.map} +0 -0
- /package/dist/{chunk-OBK4CIB2.js.map → chunk-PQ53PPOM.js.map} +0 -0
- /package/dist/{chunk-42C77QLO.js.map → chunk-RSODG7NF.js.map} +0 -0
- /package/dist/{chunk-ZIL2JPJC.js.map → chunk-SCQKYYSW.js.map} +0 -0
- /package/dist/{chunk-AM2SBW3C.js.map → chunk-U5MKJ4L4.js.map} +0 -0
- /package/dist/{chunk-EJOF2MYU.js.map → chunk-VHOKL4CU.js.map} +0 -0
- /package/dist/{commands-LHAEANQD.js.map → commands-2KBEAASD.js.map} +0 -0
- /package/dist/{dev-command-FJ3UVYU3.js.map → dev-command-WYZNJ7NO.js.map} +0 -0
- /package/dist/{execute-local-package-PVPTFQFM.js.map → execute-local-package-ILH7ARJT.js.map} +0 -0
- /package/dist/{git-credential-BL7KCA76.js.map → git-credential-F3VDL2HQ.js.map} +0 -0
- /package/dist/{local-execute-AQEAOJXS.js.map → local-execute-PM2TBMAH.js.map} +0 -0
- /package/dist/{local-kody-BJ7OORPF.js.map → local-kody-BOIWOFLS.js.map} +0 -0
- /package/dist/{local-package-graph-7A4ZQBXJ.js.map → local-package-graph-GKLQ4MGD.js.map} +0 -0
- /package/dist/{local-package-run-GP4WFMDG.js.map → local-package-run-62YJYFJF.js.map} +0 -0
- /package/dist/{local-secrets-2S7KJ6EI.js.map → local-secrets-56KLEWFI.js.map} +0 -0
- /package/dist/{mock-dep-resolve-ACHQAI36.js.map → mock-dep-resolve-DC7VVS4R.js.map} +0 -0
- /package/dist/{mock-local-deps-43QBYHHF.js.map → mock-local-deps-OXSL65A4.js.map} +0 -0
- /package/dist/{open-api-client-Z3LIDWQ2.js.map → open-api-client-DRJJFK2G.js.map} +0 -0
- /package/dist/{org-ZPHE7DVE.js.map → org-JRDAABYV.js.map} +0 -0
- /package/dist/{package-run-E34M5ERO.js.map → package-run-FO2LQL5J.js.map} +0 -0
- /package/dist/{remote-execute-CINWGFKJ.js.map → remote-execute-3OM2JI3S.js.map} +0 -0
- /package/dist/{run-executor-66E7F2CW.js.map → run-executor-I4R6QJHK.js.map} +0 -0
- /package/dist/{setup-git-P5HLZX3R.js.map → setup-git-7LTQO23B.js.map} +0 -0
- /package/dist/{store-7AFDVRNS.js.map → store-RVFCVRGK.js.map} +0 -0
- /package/dist/{whoami-EU7HSV45.js.map → whoami-WSBAFVF3.js.map} +0 -0
package/dist/publish-builder.js
CHANGED
|
@@ -28227,7 +28227,7 @@ function isD1NetworkConnectionLostMessage(message) {
|
|
|
28227
28227
|
return isExactD1PlatformMessage(message, d1NetworkConnectionLostMessage);
|
|
28228
28228
|
}
|
|
28229
28229
|
function isD1DbOverloadedMessage(message) {
|
|
28230
|
-
return isExactD1PlatformMessage(message, d1DbOverloadedMessage) || isExactD1PlatformMessage(message, d1DbOverloadedTooManyQueuedMessage) || isExactD1PlatformMessage(message, d1DbOverloadedResourceWindowMessage);
|
|
28230
|
+
return isExactD1PlatformMessage(message, d1DbOverloadedMessage) || isExactD1PlatformMessage(message, d1DbOverloadedTooManyQueuedMessage) || isExactD1PlatformMessage(message, d1DbOverloadedResourceWindowMessage) || isExactD1PlatformMessage(message, d1AccountOverloadedMessage);
|
|
28231
28231
|
}
|
|
28232
28232
|
function isD1InternalErrorMessage(message) {
|
|
28233
28233
|
return d1InternalErrorReferencePattern.test(stripD1ErrorPrefixes(message));
|
|
@@ -28246,6 +28246,23 @@ function isRetryableD1LockMessage(message) {
|
|
|
28246
28246
|
function isRetryableD1LockError(error2) {
|
|
28247
28247
|
return errorCauseChainIncludes(error2, isRetryableD1LockMessage);
|
|
28248
28248
|
}
|
|
28249
|
+
function classifyRetryableD1Message(message) {
|
|
28250
|
+
if (message.includes("SQLITE_BUSY") || message.includes("database is locked"))
|
|
28251
|
+
return "lock";
|
|
28252
|
+
if (message.includes(d1LongRunningExportMessage)) return "export";
|
|
28253
|
+
if (isD1NetworkConnectionLostMessage(message)) return "network";
|
|
28254
|
+
if (isD1DbOverloadedMessage(message)) return "overloaded";
|
|
28255
|
+
if (isD1InternalErrorMessage(message)) return "internal";
|
|
28256
|
+
if (isD1DurableObjectPlatformResetMessage(message)) return "do_reset";
|
|
28257
|
+
return null;
|
|
28258
|
+
}
|
|
28259
|
+
function classifyRetryableD1Error(error2) {
|
|
28260
|
+
for (const entry of getErrorCauseChain(error2)) {
|
|
28261
|
+
const kind = classifyRetryableD1Message(getErrorMessage(entry));
|
|
28262
|
+
if (kind) return kind;
|
|
28263
|
+
}
|
|
28264
|
+
return null;
|
|
28265
|
+
}
|
|
28249
28266
|
function isD1AttemptTimeoutError(error2) {
|
|
28250
28267
|
return error2 instanceof D1AttemptTimeoutError;
|
|
28251
28268
|
}
|
|
@@ -28286,13 +28303,13 @@ async function runD1WithRetry(operation, options) {
|
|
|
28286
28303
|
}
|
|
28287
28304
|
const backoffMs = baseDelayMs * 2 ** (attempt - 1);
|
|
28288
28305
|
await sleep(
|
|
28289
|
-
options?.jitter ? backoffMs / 2 + Math.random() * (backoffMs / 2) : backoffMs
|
|
28306
|
+
options?.jitter || classifyRetryableD1Error(error2) === "overloaded" ? backoffMs / 2 + Math.random() * (backoffMs / 2) : backoffMs
|
|
28290
28307
|
);
|
|
28291
28308
|
}
|
|
28292
28309
|
}
|
|
28293
28310
|
throw lastError;
|
|
28294
28311
|
}
|
|
28295
|
-
var d1LockRetryMaxAttempts, d1LockRetryBaseDelayMs, d1LongRunningExportMessage, d1NetworkConnectionLostMessage, d1DbOverloadedMessage, d1DbOverloadedTooManyQueuedMessage, d1DbOverloadedResourceWindowMessage, d1InternalErrorReferencePattern, d1DurableObjectPlatformResetMessages, d1RetryAttemptsByError, D1AttemptTimeoutError;
|
|
28312
|
+
var d1LockRetryMaxAttempts, d1LockRetryBaseDelayMs, d1LongRunningExportMessage, d1NetworkConnectionLostMessage, d1DbOverloadedMessage, d1DbOverloadedTooManyQueuedMessage, d1DbOverloadedResourceWindowMessage, d1AccountOverloadedMessage, d1InternalErrorReferencePattern, d1DurableObjectPlatformResetMessages, d1RetryAttemptsByError, D1AttemptTimeoutError;
|
|
28296
28313
|
var init_d1_retry = __esm({
|
|
28297
28314
|
"../shared/src/d1-retry.ts"() {
|
|
28298
28315
|
"use strict";
|
|
@@ -28304,6 +28321,7 @@ var init_d1_retry = __esm({
|
|
|
28304
28321
|
d1DbOverloadedMessage = "D1 DB is overloaded. Requests queued for too long";
|
|
28305
28322
|
d1DbOverloadedTooManyQueuedMessage = "D1 DB is overloaded. Too many requests queued";
|
|
28306
28323
|
d1DbOverloadedResourceWindowMessage = "D1 DB is overloaded. Too many resources consumed within a 10 second window";
|
|
28324
|
+
d1AccountOverloadedMessage = "Your account is generating too much load on D1 DBs. Please back off and try again later";
|
|
28307
28325
|
d1InternalErrorReferencePattern = /^internal error(?: (?:in|while starting up) (?:D1 DB|Durable Object) storage caused object to be reset)?;\s*reference\s*=\s*[A-Za-z0-9_-]+$/i;
|
|
28308
28326
|
d1DurableObjectPlatformResetMessages = [
|
|
28309
28327
|
"Durable Object reset because its code was updated",
|
|
@@ -28805,6 +28823,43 @@ var init_store = __esm({
|
|
|
28805
28823
|
}
|
|
28806
28824
|
});
|
|
28807
28825
|
|
|
28826
|
+
// ../shared/src/isolate-state.ts
|
|
28827
|
+
function isolateStateRegistry() {
|
|
28828
|
+
const scope = globalThis;
|
|
28829
|
+
scope[registryKey] ??= /* @__PURE__ */ new Set();
|
|
28830
|
+
return scope[registryKey];
|
|
28831
|
+
}
|
|
28832
|
+
function isolateState(create, options) {
|
|
28833
|
+
const state2 = { current: create() };
|
|
28834
|
+
isolateStateRegistry().add({
|
|
28835
|
+
reset() {
|
|
28836
|
+
state2.current = create();
|
|
28837
|
+
},
|
|
28838
|
+
pending() {
|
|
28839
|
+
return options?.pending?.(state2.current) ?? [];
|
|
28840
|
+
}
|
|
28841
|
+
});
|
|
28842
|
+
return state2;
|
|
28843
|
+
}
|
|
28844
|
+
function isolateCollection(collection, options) {
|
|
28845
|
+
isolateStateRegistry().add({
|
|
28846
|
+
reset() {
|
|
28847
|
+
collection.clear();
|
|
28848
|
+
},
|
|
28849
|
+
pending() {
|
|
28850
|
+
return options?.pending?.(collection) ?? [];
|
|
28851
|
+
}
|
|
28852
|
+
});
|
|
28853
|
+
return collection;
|
|
28854
|
+
}
|
|
28855
|
+
var registryKey;
|
|
28856
|
+
var init_isolate_state = __esm({
|
|
28857
|
+
"../shared/src/isolate-state.ts"() {
|
|
28858
|
+
"use strict";
|
|
28859
|
+
registryKey = /* @__PURE__ */ Symbol.for("kody.isolate-state");
|
|
28860
|
+
}
|
|
28861
|
+
});
|
|
28862
|
+
|
|
28808
28863
|
// ../worker/src/feature-flags/execution-scope.ts
|
|
28809
28864
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
28810
28865
|
var executionIdleTtlMs, callReadsStorage;
|
|
@@ -28839,6 +28894,8 @@ var init_registry = __esm({
|
|
|
28839
28894
|
featureFlagDefinitions = [
|
|
28840
28895
|
{
|
|
28841
28896
|
key: "files-workspace",
|
|
28897
|
+
removeWhen: "Workspace Files is on for everyone; delete the flag and gate sites.",
|
|
28898
|
+
reviewBy: "2027-02-15",
|
|
28842
28899
|
defaultEnabled: false,
|
|
28843
28900
|
defaultAudience: "experiments_opt_in",
|
|
28844
28901
|
description: "Workspace Files, including comments, presence, and agent tools. Off by default for controlled rollout.",
|
|
@@ -28851,6 +28908,7 @@ var init_registry = __esm({
|
|
|
28851
28908
|
},
|
|
28852
28909
|
{
|
|
28853
28910
|
key: "demo-indicator",
|
|
28911
|
+
reviewBy: "2027-05-19",
|
|
28854
28912
|
defaultEnabled: false,
|
|
28855
28913
|
description: "Reserved for exercising the feature flag system end-to-end. When enabled it shows a small demo indicator in the app UI. Safe to toggle."
|
|
28856
28914
|
// Intentionally no successMetric: this permanent flag exists to
|
|
@@ -28859,6 +28917,8 @@ var init_registry = __esm({
|
|
|
28859
28917
|
},
|
|
28860
28918
|
{
|
|
28861
28919
|
key: "profiles",
|
|
28920
|
+
removeWhen: "Profiles graduate (ADR 0092); delete the flag and gate sites.",
|
|
28921
|
+
reviewBy: "2027-02-01",
|
|
28862
28922
|
defaultEnabled: false,
|
|
28863
28923
|
defaultAudience: "experiments_opt_in",
|
|
28864
28924
|
description: "Profiles (ADR 0092): scoped identities a person creates for agents and bots, with snapshot grants capped by the parent chain, shorten-only expiry, and terminal revoke. Off by default; experimenters opt in at /account/experiments. Delete the flag and gate sites when profiles graduate.",
|
|
@@ -28871,6 +28931,8 @@ var init_registry = __esm({
|
|
|
28871
28931
|
},
|
|
28872
28932
|
{
|
|
28873
28933
|
key: "mcp-events-extension",
|
|
28934
|
+
removeWhen: "The MCP Events experiment ends; delete the flag and gate sites.",
|
|
28935
|
+
reviewBy: "2027-01-15",
|
|
28874
28936
|
defaultEnabled: false,
|
|
28875
28937
|
defaultAudience: "experiments_opt_in",
|
|
28876
28938
|
description: "MCP Events extension (draft, webhook delivery only) on the stateless /mcp lane: advertise the events capability and serve events/list, events/subscribe, and events/unsubscribe for package kody.emits topics that opt in with mcp: true. OAuth callers only; clients declare nothing. Off by default; enable with audience experiments_opt_in. Signed-in users can also turn it on from /docs/mcp-events. Delete the flag and gate sites when the experiment ends.",
|
|
@@ -28884,6 +28946,8 @@ var init_registry = __esm({
|
|
|
28884
28946
|
},
|
|
28885
28947
|
{
|
|
28886
28948
|
key: "package-credential-suppliers",
|
|
28949
|
+
removeWhen: "The follow-up removes supplier aliases and legacy paths.",
|
|
28950
|
+
reviewBy: "2027-01-15",
|
|
28887
28951
|
defaultEnabled: false,
|
|
28888
28952
|
description: "Gate publisher- and executor-supplied package credentials, including visitor grant mappings. Off by default. Delete this flag after the follow-up removes supplier aliases and legacy paths."
|
|
28889
28953
|
// Intentionally no successMetric: a credential authority boundary, not
|
|
@@ -28891,6 +28955,8 @@ var init_registry = __esm({
|
|
|
28891
28955
|
},
|
|
28892
28956
|
{
|
|
28893
28957
|
key: "repo-push-queue",
|
|
28958
|
+
removeWhen: "Two clean weeks on the queue by git_push error_rate; remove the isolate-local proxy with this flag.",
|
|
28959
|
+
reviewBy: "2026-12-15",
|
|
28894
28960
|
defaultEnabled: true,
|
|
28895
28961
|
description: "Per-repo Durable Object write queue for plain-repo git pushes (git-receive-pack): pushes land in the kody-push-queue Worker (RepoPushQueueV1) and reach Artifacts one at a time in FIFO order, with a 90s per-push budget and a clean 503 + Retry-After instead of a raw busy error. Evaluated per repo: repo allowlist (adminFeatureFlagRepoOverride), then the repo owner override, then the global switch with percentage rollout bucketed by repo, then the audience gate on the repo owner. On for everyone; off repos keep the isolate-local wait-and-retry proxy, which is removed (with this flag) after two clean weeks on the queue. Every push records an observe-only git_push usage event (path, outcome, Durable Object wall time, wait, queue depth, attempts) and an exposure for the repo owner; read queue cost with adminRepoPushQueueCost.",
|
|
28896
28962
|
exposureRecording: "repo-push-owners",
|
|
@@ -28903,6 +28969,8 @@ var init_registry = __esm({
|
|
|
28903
28969
|
},
|
|
28904
28970
|
{
|
|
28905
28971
|
key: "execution-contexts",
|
|
28972
|
+
removeWhen: "Execution contexts ship to everyone; delete the flag and gate sites.",
|
|
28973
|
+
reviewBy: "2027-02-01",
|
|
28906
28974
|
defaultEnabled: false,
|
|
28907
28975
|
defaultAudience: "experiments_opt_in",
|
|
28908
28976
|
description: "Execution contexts: run execute on a machine the user registered (their laptop or a build server) instead of Kody cloud, with package-style sharing and a per-user chain. Off by default; enable with audience experiments_opt_in. Delete the flag and gate sites when the feature ships.",
|
|
@@ -28915,12 +28983,16 @@ var init_registry = __esm({
|
|
|
28915
28983
|
},
|
|
28916
28984
|
{
|
|
28917
28985
|
key: "publish-offload",
|
|
28986
|
+
removeWhen: "Publish offload ships to everyone; delete the flag and gate sites.",
|
|
28987
|
+
reviewBy: "2027-02-01",
|
|
28918
28988
|
defaultEnabled: false,
|
|
28919
28989
|
defaultAudience: "experiments_opt_in",
|
|
28920
28990
|
description: "Publish offload: build a package on the CLI machine or an execution context the publisher runs, upload the bundles, and let the server verify them before it serves the commit. Off by default. Publishing on an execution context (by chain, a named context, or a package's kody.publish.execution.context binding) also needs execution-contexts; `--build local` needs only this flag. Product choices live in #worker/publish-offload/policy.ts."
|
|
28921
28991
|
},
|
|
28922
28992
|
{
|
|
28923
28993
|
key: "credential-need-enforcement",
|
|
28994
|
+
removeWhen: "Enforcement is on for everyone with no new credential_need_undeclared regressions; delete the flag and gate sites.",
|
|
28995
|
+
reviewBy: "2027-01-15",
|
|
28924
28996
|
defaultEnabled: false,
|
|
28925
28997
|
description: "Global switch (audience and rollout are ignored) for packages that have no credential stamp. When on, a package run by anyone but its author (a team-org package, a Use collaborator, an unadopted community fork, or any internet-visible package) may fill {{secret:\u2026}}, {{integration-token:\u2026}}, and vault placeholders and call credential(key) only for credentials its kody.credentials closure declares; anything else fails with credential_need_undeclared. Packages that stored a credential stamp are limited to those slots whether or not this flag is on (issue #3836). Do not flip this flag to enforce stamped packages: it would also change unstamped packages. Self-publish auto-approval also waits for this flag."
|
|
28926
28998
|
// Intentionally no successMetric: a security boundary, not a product
|
|
@@ -28928,6 +29000,8 @@ var init_registry = __esm({
|
|
|
28928
29000
|
},
|
|
28929
29001
|
{
|
|
28930
29002
|
key: "credential-allowed-packages-safety-window",
|
|
29003
|
+
removeWhen: "The issue #4129 30-day safety window has closed; delete the flag and gate sites.",
|
|
29004
|
+
reviewBy: "2026-12-01",
|
|
28931
29005
|
defaultEnabled: true,
|
|
28932
29006
|
description: "Global switch (audience and rollout are ignored) for the issue #4129 30-day safety window before allowed-packages enforcement cutover. While on and inside the window, nothing is refused for a self-authored or adopted package that a user credential's non-empty allowed-packages list leaves out. The use is allowed with a log line (credential_allowed_packages_safety_window_allow) and keeps its would-block marker; the allowed-packages list is never written, so an owner's removal sticks. The owner is never notified. From cutover the rule is strict whether or not this flag is on. Delete the flag and gate sites once the window has closed."
|
|
28933
29007
|
// Intentionally no successMetric: a credential authority boundary, not
|
|
@@ -29252,12 +29326,13 @@ var packageCredentialSuppliersFlagTtlMs, enabledByOrg;
|
|
|
29252
29326
|
var init_credential_suppliers_flag = __esm({
|
|
29253
29327
|
"../worker/src/credentials/credential-suppliers-flag.ts"() {
|
|
29254
29328
|
"use strict";
|
|
29329
|
+
init_isolate_state();
|
|
29255
29330
|
init_execution_scope();
|
|
29256
29331
|
init_service();
|
|
29257
29332
|
init_registry();
|
|
29258
29333
|
init_published_package_cache();
|
|
29259
29334
|
packageCredentialSuppliersFlagTtlMs = 15e3;
|
|
29260
|
-
enabledByOrg = createEnabledByOrgCache
|
|
29335
|
+
enabledByOrg = isolateState(createEnabledByOrgCache);
|
|
29261
29336
|
}
|
|
29262
29337
|
});
|
|
29263
29338
|
|
|
@@ -30299,12 +30374,27 @@ function __kodyCreateRuntimeRecordExport(exportName) {
|
|
|
30299
30374
|
|
|
30300
30375
|
// A package's own modules read its own id even when an export runs inside
|
|
30301
30376
|
// another run (ad hoc execute, another package): the run's context when the
|
|
30302
|
-
// run belongs to this package, else
|
|
30377
|
+
// run belongs to this package, else \`{ packageId }\` plus the package's own
|
|
30378
|
+
// \`hostedUrl\` / \`appBasePath\` from the run's host-set \`packageApps\`.
|
|
30303
30379
|
export function __kodyCreatePackageBoundPackageContext(packageId) {
|
|
30304
30380
|
const own = Object.freeze({ packageId });
|
|
30381
|
+
let ownAppSource = null;
|
|
30382
|
+
let ownApp = own;
|
|
30305
30383
|
return __kodyCreateRecordProxy('packageContext', () => {
|
|
30306
|
-
const
|
|
30307
|
-
|
|
30384
|
+
const store = __kodyGetRuntimeStore();
|
|
30385
|
+
const run = store?.packageContext ?? null;
|
|
30386
|
+
if (run != null && run.packageId === packageId) return run;
|
|
30387
|
+
const app = store?.packageApps?.[packageId] ?? null;
|
|
30388
|
+
if (app == null) return own;
|
|
30389
|
+
if (app !== ownAppSource) {
|
|
30390
|
+
ownAppSource = app;
|
|
30391
|
+
ownApp = Object.freeze({
|
|
30392
|
+
packageId,
|
|
30393
|
+
hostedUrl: app.hostedUrl,
|
|
30394
|
+
appBasePath: app.appBasePath,
|
|
30395
|
+
});
|
|
30396
|
+
}
|
|
30397
|
+
return ownApp;
|
|
30308
30398
|
});
|
|
30309
30399
|
}
|
|
30310
30400
|
|
|
@@ -32543,10 +32633,11 @@ var init_repo_session_storage_bucket_cursor = __esm({
|
|
|
32543
32633
|
});
|
|
32544
32634
|
|
|
32545
32635
|
// ../worker/src/storage-buckets/service.ts
|
|
32546
|
-
var registerUpsertStatement, estimateUpdateStatement;
|
|
32636
|
+
var registerUpsertStatement, estimateUpdateStatement, registeredBucketKeys, estimateRefreshAttemptsAtMs, pendingRegistrations;
|
|
32547
32637
|
var init_service2 = __esm({
|
|
32548
32638
|
"../worker/src/storage-buckets/service.ts"() {
|
|
32549
32639
|
"use strict";
|
|
32640
|
+
init_isolate_state();
|
|
32550
32641
|
init_repo_session_due_owners();
|
|
32551
32642
|
init_repo_session_index_client();
|
|
32552
32643
|
init_repo_session_storage_bucket_cursor();
|
|
@@ -32564,6 +32655,11 @@ UPDATE user_storage_buckets
|
|
|
32564
32655
|
SET estimated_bytes = ?3, estimated_bytes_updated_at = ?4
|
|
32565
32656
|
WHERE user_id = ?1 AND storage_id = ?2
|
|
32566
32657
|
`.trim();
|
|
32658
|
+
registeredBucketKeys = isolateCollection(/* @__PURE__ */ new Set());
|
|
32659
|
+
estimateRefreshAttemptsAtMs = isolateCollection(/* @__PURE__ */ new Map());
|
|
32660
|
+
pendingRegistrations = isolateCollection(/* @__PURE__ */ new Set(), {
|
|
32661
|
+
pending: (tasks) => tasks
|
|
32662
|
+
});
|
|
32567
32663
|
}
|
|
32568
32664
|
});
|
|
32569
32665
|
|
|
@@ -34269,23 +34365,23 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
34269
34365
|
if (actor.sessionId) {
|
|
34270
34366
|
registeredActors.delete(actor.sessionId);
|
|
34271
34367
|
}
|
|
34272
|
-
const
|
|
34273
|
-
if (
|
|
34274
|
-
keyedActors.delete(
|
|
34368
|
+
const registryKey2 = reverseKeyedActors.get(actor);
|
|
34369
|
+
if (registryKey2 !== void 0 && keyedActors.get(registryKey2) === actor) {
|
|
34370
|
+
keyedActors.delete(registryKey2);
|
|
34275
34371
|
}
|
|
34276
34372
|
reverseKeyedActors.delete(actor);
|
|
34277
34373
|
markSystemSnapshotDirty(system);
|
|
34278
34374
|
},
|
|
34279
|
-
_set: (
|
|
34280
|
-
const existing = keyedActors.get(
|
|
34375
|
+
_set: (registryKey2, actor) => {
|
|
34376
|
+
const existing = keyedActors.get(registryKey2);
|
|
34281
34377
|
if (existing && existing !== actor) {
|
|
34282
|
-
throw new Error(xstateError(45, String(
|
|
34378
|
+
throw new Error(xstateError(45, String(registryKey2)));
|
|
34283
34379
|
}
|
|
34284
|
-
keyedActors.set(
|
|
34285
|
-
reverseKeyedActors.set(actor,
|
|
34380
|
+
keyedActors.set(registryKey2, actor);
|
|
34381
|
+
reverseKeyedActors.set(actor, registryKey2);
|
|
34286
34382
|
markSystemSnapshotDirty(system);
|
|
34287
34383
|
},
|
|
34288
|
-
get: (
|
|
34384
|
+
get: (registryKey2) => keyedActors.get(registryKey2),
|
|
34289
34385
|
getAll: () => Object.fromEntries(keyedActors),
|
|
34290
34386
|
onEmitted: (listener) => baseSystem.onEmitted(listener),
|
|
34291
34387
|
_notifyEmitted: (actorRef, event) => baseSystem._notifyEmitted(actorRef, event),
|
|
@@ -34298,11 +34394,11 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
34298
34394
|
_sendInspectionEvent: forwardInspection ? (event) => baseSystem._sendInspectionEvent(event) : () => {
|
|
34299
34395
|
}
|
|
34300
34396
|
});
|
|
34301
|
-
for (const [
|
|
34397
|
+
for (const [registryKey2, actor] of keyedActors) {
|
|
34302
34398
|
if (!actor) {
|
|
34303
34399
|
continue;
|
|
34304
34400
|
}
|
|
34305
|
-
reverseKeyedActors.set(actor,
|
|
34401
|
+
reverseKeyedActors.set(actor, registryKey2);
|
|
34306
34402
|
}
|
|
34307
34403
|
for (const actor of Object.values(children)) {
|
|
34308
34404
|
if (!actor) {
|
|
@@ -34311,10 +34407,10 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
34311
34407
|
if (actor.sessionId) {
|
|
34312
34408
|
registeredActors.set(actor.sessionId, actor);
|
|
34313
34409
|
}
|
|
34314
|
-
const
|
|
34315
|
-
if (
|
|
34316
|
-
keyedActors.set(
|
|
34317
|
-
reverseKeyedActors.set(actor,
|
|
34410
|
+
const registryKey2 = actor.registryKey;
|
|
34411
|
+
if (registryKey2) {
|
|
34412
|
+
keyedActors.set(registryKey2, actor);
|
|
34413
|
+
reverseKeyedActors.set(actor, registryKey2);
|
|
34318
34414
|
}
|
|
34319
34415
|
}
|
|
34320
34416
|
return system;
|
|
@@ -34387,12 +34483,12 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
34387
34483
|
if (child.sessionId) {
|
|
34388
34484
|
(children ??= /* @__PURE__ */ new Map()).set(child.sessionId, child);
|
|
34389
34485
|
}
|
|
34390
|
-
const
|
|
34391
|
-
if (
|
|
34486
|
+
const registryKey2 = child.registryKey;
|
|
34487
|
+
if (registryKey2) {
|
|
34392
34488
|
if (keyedActors === emptyKeyedActors) {
|
|
34393
34489
|
keyedActors = /* @__PURE__ */ new Map();
|
|
34394
34490
|
}
|
|
34395
|
-
keyedActors.set(
|
|
34491
|
+
keyedActors.set(registryKey2, child);
|
|
34396
34492
|
}
|
|
34397
34493
|
}
|
|
34398
34494
|
snapshotActorRefs.set(snapshot, {
|
|
@@ -37204,10 +37300,10 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
37204
37300
|
} else {
|
|
37205
37301
|
changed = actor.sessionId !== void 0 && (this._children?.delete(actor.sessionId) ?? false);
|
|
37206
37302
|
}
|
|
37207
|
-
const
|
|
37208
|
-
if (
|
|
37209
|
-
if (this._keyedActors?.get(
|
|
37210
|
-
this._keyedActors.delete(
|
|
37303
|
+
const registryKey2 = this._reverseKeyedActors?.get(actor);
|
|
37304
|
+
if (registryKey2 !== void 0) {
|
|
37305
|
+
if (this._keyedActors?.get(registryKey2) === actor) {
|
|
37306
|
+
this._keyedActors.delete(registryKey2);
|
|
37211
37307
|
changed = true;
|
|
37212
37308
|
}
|
|
37213
37309
|
this._reverseKeyedActors?.delete(actor);
|
|
@@ -37216,19 +37312,19 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
37216
37312
|
markSystemSnapshotDirty(this);
|
|
37217
37313
|
}
|
|
37218
37314
|
}
|
|
37219
|
-
get(
|
|
37220
|
-
return this._keyedActors?.get(
|
|
37315
|
+
get(registryKey2) {
|
|
37316
|
+
return this._keyedActors?.get(registryKey2);
|
|
37221
37317
|
}
|
|
37222
37318
|
getAll() {
|
|
37223
37319
|
return Object.fromEntries(this._keyedActors?.entries() ?? []);
|
|
37224
37320
|
}
|
|
37225
|
-
_set(
|
|
37226
|
-
const existing = this._keyedActors?.get(
|
|
37321
|
+
_set(registryKey2, actor) {
|
|
37322
|
+
const existing = this._keyedActors?.get(registryKey2);
|
|
37227
37323
|
if (existing && existing !== actor) {
|
|
37228
|
-
throw new Error(xstateError(45, String(
|
|
37324
|
+
throw new Error(xstateError(45, String(registryKey2)));
|
|
37229
37325
|
}
|
|
37230
|
-
(this._keyedActors ??= /* @__PURE__ */ new Map()).set(
|
|
37231
|
-
(this._reverseKeyedActors ??= /* @__PURE__ */ new WeakMap()).set(actor,
|
|
37326
|
+
(this._keyedActors ??= /* @__PURE__ */ new Map()).set(registryKey2, actor);
|
|
37327
|
+
(this._reverseKeyedActors ??= /* @__PURE__ */ new WeakMap()).set(actor, registryKey2);
|
|
37232
37328
|
if (existing !== actor) {
|
|
37233
37329
|
markSystemSnapshotDirty(this);
|
|
37234
37330
|
}
|
|
@@ -37583,7 +37679,7 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
37583
37679
|
parent,
|
|
37584
37680
|
syncSnapshot,
|
|
37585
37681
|
id,
|
|
37586
|
-
registryKey,
|
|
37682
|
+
registryKey: registryKey2,
|
|
37587
37683
|
inspect
|
|
37588
37684
|
} = resolvedOptions;
|
|
37589
37685
|
this.system = parent ? parent.system : resolvedOptions._systemRef?.current ?? createRuntimeSystem(this, {
|
|
@@ -37614,9 +37710,9 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
37614
37710
|
this.src = resolvedOptions.src ?? logic;
|
|
37615
37711
|
this.ref = this;
|
|
37616
37712
|
this._actorScope = this;
|
|
37617
|
-
if (
|
|
37618
|
-
this.registryKey =
|
|
37619
|
-
this.system._set(
|
|
37713
|
+
if (registryKey2) {
|
|
37714
|
+
this.registryKey = registryKey2;
|
|
37715
|
+
this.system._set(registryKey2, this);
|
|
37620
37716
|
}
|
|
37621
37717
|
this._collectedMicrosteps = void 0;
|
|
37622
37718
|
const restore = resolvedOptions._restore;
|
|
@@ -37640,7 +37736,7 @@ var require_createActor_25900f76_cjs = __commonJS({
|
|
|
37640
37736
|
this._deferred.length = 0;
|
|
37641
37737
|
}
|
|
37642
37738
|
}
|
|
37643
|
-
if (
|
|
37739
|
+
if (registryKey2 && this._snapshot.status !== "active") {
|
|
37644
37740
|
this.system._unregister(this);
|
|
37645
37741
|
}
|
|
37646
37742
|
if (this.system._hasInspectionObservers?.() ?? true) {
|
|
@@ -39191,7 +39287,7 @@ var require_machineSchemas_88d01821_cjs = __commonJS({
|
|
|
39191
39287
|
this.invoke = createActor2.toArray(this.config.invoke).map((invokeConfig, i4) => {
|
|
39192
39288
|
const {
|
|
39193
39289
|
src,
|
|
39194
|
-
registryKey
|
|
39290
|
+
registryKey: registryKey2
|
|
39195
39291
|
} = invokeConfig;
|
|
39196
39292
|
const invokeId = createActor2.createInvokeId(this.id, i4);
|
|
39197
39293
|
const resolvedId = invokeConfig.id ?? invokeId;
|
|
@@ -39202,7 +39298,7 @@ var require_machineSchemas_88d01821_cjs = __commonJS({
|
|
|
39202
39298
|
src: typeof src === "string" ? src : void 0,
|
|
39203
39299
|
logic: src,
|
|
39204
39300
|
id: resolvedId,
|
|
39205
|
-
registryKey
|
|
39301
|
+
registryKey: registryKey2
|
|
39206
39302
|
};
|
|
39207
39303
|
});
|
|
39208
39304
|
}
|
|
@@ -42742,11 +42838,11 @@ var require_xstate_cjs = __commonJS({
|
|
|
42742
42838
|
this.enqueue(void 0, ref, event);
|
|
42743
42839
|
this.settle();
|
|
42744
42840
|
}
|
|
42745
|
-
initialize(input3, id,
|
|
42841
|
+
initialize(input3, id, registryKey2) {
|
|
42746
42842
|
const root = this.allocate(this.logic.get("root"), {
|
|
42747
42843
|
id,
|
|
42748
42844
|
input: input3,
|
|
42749
|
-
registryKey
|
|
42845
|
+
registryKey: registryKey2
|
|
42750
42846
|
});
|
|
42751
42847
|
this.snapshot.root = root.address;
|
|
42752
42848
|
this.start(this.reference(root));
|
|
@@ -198859,7 +198955,7 @@ function renderStaticCss(selector, styles) {
|
|
|
198859
198955
|
const own2 = declarations.length ? `${selector}{${declarations.join(";")}}` : "";
|
|
198860
198956
|
return own2 + nested.join("");
|
|
198861
198957
|
}
|
|
198862
|
-
var hoverMq, buttonSizes, pageHeadCss, markdownTableCss, proseCss, stackedPageCss, layoutMaxWidths, pageGutter, siteHeaderNavPaddingBlock, siteHeaderBrandMinHeight, siteHeaderHairline, siteHeaderHeight, accountRailContentTop, accountRailGapBelowHeader, workspaceTextureCss, packageDetailPageCss, pageHeaderCss, pageEyebrowCss, pageTitleCss, pageDescriptionCss, cardCss, insetCardCss, cardTitleCss, sectionTitleCss, descriptionCss, nativeDisclosureCss, fieldLabelCss, fieldLabelRowCss, fieldDescriptionCss, fieldErrorCss, choiceControlCss, inlineSpinnerCss, focusRingCss, visuallyHiddenCss, visuallyHiddenUntilFocusedCss, listCss, detailGridCss, detailItemCss, detailLabelCss, detailValueCss;
|
|
198958
|
+
var hoverMq, buttonSizes, pageHeadCss, markdownTableCss, proseCss, stackedPageCss, layoutMaxWidths, pageGutter, siteHeaderNavPaddingBlock, siteHeaderBrandMinHeight, siteHeaderHairline, siteHeaderHeight, accountRailContentTop, accountRailGapBelowHeader, workspaceTextureCss, packageDetailPageCss, pageHeaderCss, pageEyebrowCss, pageTitleCss, pageDescriptionCss, cardCss, insetCardCss, cardTitleCss, sectionTitleCss, descriptionCss, nativeDisclosureCss, fieldLabelCss, fieldLabelRowCss, fieldDescriptionCss, fieldErrorCss, choiceControlCss, inlineSpinnerCss, focusRingCss, visuallyHiddenCss, visuallyHiddenUntilFocusedCss, listCss, detailGridCss, detailItemCss, detailLabelCss, detailValueCss, underlineLinkTabsCss, underlineLinkTabCss;
|
|
198863
198959
|
var init_style_primitives = __esm({
|
|
198864
198960
|
"../worker/universal/styles/style-primitives.ts"() {
|
|
198865
198961
|
"use strict";
|
|
@@ -199404,6 +199500,47 @@ var init_style_primitives = __esm({
|
|
|
199404
199500
|
overflowWrap: "anywhere",
|
|
199405
199501
|
whiteSpace: "normal"
|
|
199406
199502
|
};
|
|
199503
|
+
underlineLinkTabsCss = {
|
|
199504
|
+
position: "relative",
|
|
199505
|
+
display: "flex",
|
|
199506
|
+
alignItems: "stretch",
|
|
199507
|
+
gap: spacing.md,
|
|
199508
|
+
// Inset shadow, not a border: the scroll box would clip a tab underline
|
|
199509
|
+
// pulled down over a border, but paints it over its own shadow.
|
|
199510
|
+
boxShadow: `inset 0 -1px 0 ${colors.border}`,
|
|
199511
|
+
overflowX: "auto",
|
|
199512
|
+
overscrollBehaviorX: "contain",
|
|
199513
|
+
// A visible thin bar, so a mouse without a sideways wheel can reach
|
|
199514
|
+
// overflowed tabs.
|
|
199515
|
+
scrollbarWidth: "thin"
|
|
199516
|
+
};
|
|
199517
|
+
underlineLinkTabCss = {
|
|
199518
|
+
display: "inline-flex",
|
|
199519
|
+
alignItems: "center",
|
|
199520
|
+
flexShrink: 0,
|
|
199521
|
+
minHeight: "44px",
|
|
199522
|
+
boxSizing: "border-box",
|
|
199523
|
+
padding: "0 0.15rem",
|
|
199524
|
+
borderBottom: "2px solid transparent",
|
|
199525
|
+
color: colors.textMuted,
|
|
199526
|
+
fontSize: "0.95rem",
|
|
199527
|
+
fontWeight: 550,
|
|
199528
|
+
whiteSpace: "nowrap",
|
|
199529
|
+
textDecoration: "none",
|
|
199530
|
+
transition: `color ${transitions.fast}, border-color ${transitions.fast}`,
|
|
199531
|
+
"&:hover": {
|
|
199532
|
+
color: colors.text
|
|
199533
|
+
},
|
|
199534
|
+
"&:focus-visible": {
|
|
199535
|
+
outline: `2px solid ${colors.primary}`,
|
|
199536
|
+
outlineOffset: "-2px",
|
|
199537
|
+
borderRadius: radius.sm
|
|
199538
|
+
},
|
|
199539
|
+
'&[aria-current="page"]': {
|
|
199540
|
+
color: colors.text,
|
|
199541
|
+
borderBottomColor: colors.primary
|
|
199542
|
+
}
|
|
199543
|
+
};
|
|
199407
199544
|
}
|
|
199408
199545
|
});
|
|
199409
199546
|
|
|
@@ -199925,15 +200062,20 @@ var init_password_change_lockout = __esm({
|
|
|
199925
200062
|
});
|
|
199926
200063
|
|
|
199927
200064
|
// ../worker/src/app/auth-session.ts
|
|
199928
|
-
var defaultSessionMaxAgeSeconds, rememberedSessionMaxAgeSeconds, rememberedSessionRenewAfterMs;
|
|
200065
|
+
var defaultSessionMaxAgeSeconds, rememberedSessionMaxAgeSeconds, rememberedSessionRenewAfterMs, session;
|
|
199929
200066
|
var init_auth_session = __esm({
|
|
199930
200067
|
"../worker/src/app/auth-session.ts"() {
|
|
199931
200068
|
"use strict";
|
|
200069
|
+
init_isolate_state();
|
|
199932
200070
|
init_password_change_lockout();
|
|
199933
200071
|
init_owner_person_ids();
|
|
199934
200072
|
defaultSessionMaxAgeSeconds = 60 * 60 * 24 * 7;
|
|
199935
200073
|
rememberedSessionMaxAgeSeconds = 60 * 60 * 24 * 30;
|
|
199936
200074
|
rememberedSessionRenewAfterMs = 1e3 * 60 * 60 * 24 * 14;
|
|
200075
|
+
session = isolateState(() => ({
|
|
200076
|
+
cookie: null,
|
|
200077
|
+
secret: null
|
|
200078
|
+
}));
|
|
199937
200079
|
}
|
|
199938
200080
|
});
|
|
199939
200081
|
|
|
@@ -201871,10 +202013,16 @@ var init_limit_overrides = __esm({
|
|
|
201871
202013
|
});
|
|
201872
202014
|
|
|
201873
202015
|
// ../worker/src/entitlements/d1-storage-reconciliation.ts
|
|
202016
|
+
var inFlightOwnerReconciles;
|
|
201874
202017
|
var init_d1_storage_reconciliation = __esm({
|
|
201875
202018
|
"../worker/src/entitlements/d1-storage-reconciliation.ts"() {
|
|
201876
202019
|
"use strict";
|
|
202020
|
+
init_isolate_state();
|
|
201877
202021
|
init_service5();
|
|
202022
|
+
inFlightOwnerReconciles = isolateCollection(
|
|
202023
|
+
/* @__PURE__ */ new Map(),
|
|
202024
|
+
{ pending: (tasks) => tasks.values() }
|
|
202025
|
+
);
|
|
201878
202026
|
}
|
|
201879
202027
|
});
|
|
201880
202028
|
|
|
@@ -202187,6 +202335,7 @@ var init_credential_needs = __esm({
|
|
|
202187
202335
|
/**
|
|
202188
202336
|
* Deprecated legacy alias for `supplier: 'publisher'`, set only by the
|
|
202189
202337
|
* package that declares the need.
|
|
202338
|
+
* Remove when: no published package declares `ownerCredentialForVisitors`.
|
|
202190
202339
|
*/
|
|
202191
202340
|
ownerCredentialForVisitors: external_exports.literal(true).optional(),
|
|
202192
202341
|
supplier: external_exports.enum(["publisher", "executor"]).optional(),
|
|
@@ -205894,10 +206043,11 @@ var init_stored_credential = __esm({
|
|
|
205894
206043
|
});
|
|
205895
206044
|
|
|
205896
206045
|
// ../worker/src/credentials/login-resolver.ts
|
|
205897
|
-
var maxSessionSeconds, maxExchangeResponseBytes, maxErrorBodyBytes, loginExchangeSchema, sessionInjectSchema;
|
|
206046
|
+
var maxSessionSeconds, maxExchangeResponseBytes, maxErrorBodyBytes, loginExchangeSchema, sessionInjectSchema, sessions, pendingSessions;
|
|
205898
206047
|
var init_login_resolver = __esm({
|
|
205899
206048
|
"../worker/src/credentials/login-resolver.ts"() {
|
|
205900
206049
|
"use strict";
|
|
206050
|
+
init_isolate_state();
|
|
205901
206051
|
init_zod();
|
|
205902
206052
|
init_read_bounded_body();
|
|
205903
206053
|
init_ssrf();
|
|
@@ -205973,6 +206123,10 @@ var init_login_resolver = __esm({
|
|
|
205973
206123
|
}),
|
|
205974
206124
|
external_exports.object({ kind: external_exports.literal("query"), param: external_exports.string().min(1) })
|
|
205975
206125
|
]);
|
|
206126
|
+
sessions = isolateCollection(/* @__PURE__ */ new Map());
|
|
206127
|
+
pendingSessions = isolateCollection(
|
|
206128
|
+
/* @__PURE__ */ new Map()
|
|
206129
|
+
);
|
|
205976
206130
|
}
|
|
205977
206131
|
});
|
|
205978
206132
|
|
|
@@ -206501,8 +206655,8 @@ declare module "kody:runtime" {
|
|
|
206501
206655
|
export const packageContext: {
|
|
206502
206656
|
packageId: string;
|
|
206503
206657
|
kodyId: string;
|
|
206504
|
-
appBasePath?: string;
|
|
206505
|
-
hostedUrl?: string;
|
|
206658
|
+
appBasePath?: string | null;
|
|
206659
|
+
hostedUrl?: string | null;
|
|
206506
206660
|
cookiePrefix?: string;
|
|
206507
206661
|
assetBasePath?: string;
|
|
206508
206662
|
clientModuleUrl?: string | null;
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
formatExecuteCapabilityResult,
|
|
5
5
|
resolveRemoteExecuteCode,
|
|
6
6
|
runRemoteExecuteWithToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ERURT3VD.js";
|
|
8
8
|
import "./chunk-E4R3Y6MM.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-PQ53PPOM.js";
|
|
10
|
+
import "./chunk-GBIQBEKD.js";
|
|
11
|
+
import "./chunk-3LTYWJRX.js";
|
|
12
|
+
import "./chunk-HRDM7TRJ.js";
|
|
13
|
+
import "./chunk-U5MKJ4L4.js";
|
|
14
|
+
import "./chunk-UYRRMDAI.js";
|
|
15
15
|
import "./chunk-NKH2L5RA.js";
|
|
16
16
|
import "./chunk-VHYJU2U2.js";
|
|
17
17
|
import "./chunk-YVWOK4LV.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
resolveRemoteExecuteCode,
|
|
23
23
|
runRemoteExecuteWithToken
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=remote-execute-
|
|
25
|
+
//# sourceMappingURL=remote-execute-3OM2JI3S.js.map
|
|
@@ -38,7 +38,7 @@ async function runContextRun(input) {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
const hostCommands = input.hostCommands;
|
|
41
|
-
const { runLocalExecute } = await import("./local-execute-
|
|
41
|
+
const { runLocalExecute } = await import("./local-execute-PM2TBMAH.js");
|
|
42
42
|
let timing;
|
|
43
43
|
const result = await runLocalExecute({
|
|
44
44
|
code: source.code,
|
|
@@ -90,4 +90,4 @@ async function runContextRun(input) {
|
|
|
90
90
|
export {
|
|
91
91
|
runContextRun
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=run-executor-
|
|
93
|
+
//# sourceMappingURL=run-executor-I4R6QJHK.js.map
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
scopesIncludeRequired,
|
|
23
23
|
setupGitDefaultScopes,
|
|
24
24
|
setupGitRequiredScopes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5JI7IJFP.js";
|
|
26
26
|
import "./chunk-6ZYUGXVW.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-PQ53PPOM.js";
|
|
28
|
+
import "./chunk-GBIQBEKD.js";
|
|
29
|
+
import "./chunk-3LTYWJRX.js";
|
|
30
|
+
import "./chunk-HRDM7TRJ.js";
|
|
31
|
+
import "./chunk-U5MKJ4L4.js";
|
|
32
|
+
import "./chunk-UYRRMDAI.js";
|
|
33
33
|
import "./chunk-NKH2L5RA.js";
|
|
34
34
|
import "./chunk-VHYJU2U2.js";
|
|
35
35
|
import "./chunk-YVWOK4LV.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
setupGitDefaultScopes,
|
|
59
59
|
setupGitRequiredScopes
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=setup-git-
|
|
61
|
+
//# sourceMappingURL=setup-git-7LTQO23B.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
saveCredentials,
|
|
20
20
|
secretServiceKeyringOptions,
|
|
21
21
|
setActiveOrg
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UYRRMDAI.js";
|
|
23
23
|
import "./chunk-NKH2L5RA.js";
|
|
24
24
|
import "./chunk-UW6AWLXX.js";
|
|
25
25
|
export {
|
|
@@ -43,4 +43,4 @@ export {
|
|
|
43
43
|
secretServiceKeyringOptions,
|
|
44
44
|
setActiveOrg
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=store-
|
|
46
|
+
//# sourceMappingURL=store-RVFCVRGK.js.map
|