@astrale-os/cli 1.0.0-beta.0 → 1.0.0-beta.2
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 +7 -11
- package/dist/astrale.js +3769 -3549
- package/dist/public/connect-core.js +396 -392
- package/dist/public/keys/index.js +371 -378
- package/dist/public/paths/index.js +371 -378
- package/dist/types/lib/idp.d.ts +6 -0
- package/dist/types/lib/meta.d.ts +2 -2
- package/package.json +6 -4
- package/src/admin/binding.ts +168 -0
- package/src/admin/catalog/__tests__/client.test.ts +2 -2
- package/src/admin/catalog/client.ts +4 -9
- package/src/admin/instance/__tests__/client.test.ts +5 -3
- package/src/admin/instance/client.ts +9 -27
- package/src/commands/__tests__/auth-login.test.ts +54 -1
- package/src/commands/__tests__/call.test.ts +5 -1
- package/src/commands/__tests__/domain-install-operation.test.ts +23 -7
- package/src/commands/__tests__/domain-install-owned.test.ts +5 -1
- package/src/commands/__tests__/domain-list.test.ts +83 -4
- package/src/commands/__tests__/install-identity-override.test.ts +30 -19
- package/src/commands/__tests__/studio-descriptor.test.ts +22 -0
- package/src/commands/__tests__/update.test.ts +73 -0
- package/src/commands/domain/install.ts +11 -15
- package/src/commands/domain/list.ts +17 -12
- package/src/commands/studio.ts +20 -0
- package/src/commands/update.ts +39 -13
- package/src/connection/__tests__/errors.test.ts +16 -12
- package/src/connection/__tests__/exchange.test.ts +6 -5
- package/src/connection/exchange.ts +5 -4
- package/src/lib/__tests__/domain-publication.test.ts +144 -0
- package/src/lib/__tests__/idp-session.test.ts +22 -0
- package/src/lib/__tests__/idp.test.ts +2 -0
- package/src/lib/__tests__/instance.test.ts +6 -0
- package/src/lib/__tests__/studio-server-deps.test.ts +53 -16
- package/src/lib/__tests__/update.test.ts +12 -0
- package/src/lib/domain-publication.ts +102 -0
- package/src/lib/idp.ts +5 -1
- package/src/lib/instance.ts +6 -1
- package/src/lib/login-flow.ts +13 -3
- package/src/lib/meta.ts +2 -2
- package/src/lib/update.ts +4 -4
- package/src/program/__tests__/program.test.ts +1 -1
- package/studio/client/dist/assets/{elk-api-D2xgMJvi.js → elk-api-lwhFo7vB.js} +1 -1
- package/studio/client/dist/assets/index-B-c-smo9.js +8 -0
- package/studio/client/dist/assets/index-BckHuAWk.js +81 -0
- package/studio/client/dist/assets/index-C4aNQ6dz.css +1 -0
- package/studio/client/dist/index.html +2 -2
- package/studio/package.json +3 -1
- package/studio/server/agent/bridge/stdio.ts +8 -1
- package/studio/server/agent/conversation.test.ts +10 -5
- package/studio/server/agent/conversation.ts +56 -8
- package/studio/server/agent/harness/codex/loadout.ts +18 -21
- package/studio/server/agent/harness/gateway/config.ts +20 -18
- package/studio/server/agent/harness/selection.ts +9 -1
- package/studio/server/agent/prompts/system.ts +3 -2
- package/studio/server/agent/prompts/turn.ts +13 -4
- package/studio/server/agent/run/completion.ts +2 -2
- package/studio/server/agent/run/preparation.ts +6 -5
- package/studio/server/agent/run/transcript.test.ts +35 -1
- package/studio/server/agent/run/transcript.ts +169 -3
- package/studio/server/agent/run/usage.test.ts +24 -0
- package/studio/server/agent/run/usage.ts +26 -1
- package/studio/server/api/canvas.ts +44 -0
- package/studio/server/api/comments.ts +85 -0
- package/studio/server/api/context.ts +61 -0
- package/studio/server/api/deployment.ts +39 -0
- package/studio/server/api/documents.ts +55 -0
- package/studio/server/api/domain.ts +59 -0
- package/studio/server/api/http.ts +45 -0
- package/studio/server/api/project.ts +57 -0
- package/studio/server/api/schema.ts +12 -0
- package/studio/server/api/views.ts +57 -0
- package/studio/server/api/workspace.ts +60 -0
- package/studio/server/api.test.ts +147 -0
- package/studio/server/api.ts +20 -422
- package/studio/server/cache.test.ts +111 -0
- package/studio/server/cache.ts +163 -9
- package/studio/server/cli-consumers.test.ts +494 -0
- package/studio/server/cli.test.ts +88 -0
- package/studio/server/cli.ts +240 -0
- package/studio/server/client-package.ts +25 -1
- package/studio/server/domain.test.ts +30 -2
- package/studio/server/domain.ts +14 -2
- package/studio/server/environment/dotenv-preview.test.ts +39 -0
- package/studio/server/environment/dotenv-preview.ts +27 -0
- package/studio/server/environment/files.test.ts +53 -0
- package/studio/server/{state/env.ts → environment/files.ts} +7 -48
- package/studio/server/{state → handoff}/copy.ts +21 -6
- package/studio/server/handoff/service.test.ts +22 -0
- package/studio/server/{state/handoff.ts → handoff/service.ts} +21 -14
- package/studio/server/instances/active.ts +72 -0
- package/studio/server/instances/deploy-record.test.ts +31 -0
- package/studio/server/instances/deploy-record.ts +37 -0
- package/studio/server/instances/deploy.ts +56 -0
- package/studio/server/{state/instance.test.ts → instances/probe.test.ts} +25 -21
- package/studio/server/instances/probe.ts +67 -0
- package/studio/server/instances/status.test.ts +12 -0
- package/studio/server/instances/status.ts +49 -0
- package/studio/server/introspect/anatomy/client-tree.ts +57 -0
- package/studio/server/introspect/anatomy/env-fields.ts +66 -0
- package/studio/server/introspect/anatomy/schema-definition.ts +53 -0
- package/studio/server/introspect/anatomy/source.ts +181 -0
- package/studio/server/introspect/anatomy/views/legacy.ts +232 -0
- package/studio/server/introspect/anatomy/views/routes.ts +105 -0
- package/studio/server/introspect/anatomy/views.ts +58 -0
- package/studio/server/introspect/anatomy-extras.test.ts +91 -4
- package/studio/server/introspect/anatomy-extras.ts +7 -726
- package/studio/server/introspect/anatomy.ts +46 -19
- package/studio/server/introspect/bundle.ts +15 -6
- package/studio/server/introspect/canonical-schema.test.ts +79 -0
- package/studio/server/introspect/canonical-schema.ts +80 -18
- package/studio/server/introspect/config-preview.test.ts +32 -0
- package/studio/server/introspect/config-preview.ts +119 -0
- package/studio/server/introspect/diff.test.ts +7 -11
- package/studio/server/introspect/diff.ts +28 -37
- package/studio/server/introspect/extractor.ts +8 -6
- package/studio/server/introspect/hash.ts +5 -2
- package/studio/server/introspect/overlay-tsmorph.ts +7 -1305
- package/studio/server/introspect/revision.test.ts +54 -0
- package/studio/server/introspect/revision.ts +49 -0
- package/studio/server/introspect/runtime.test.ts +63 -5
- package/studio/server/introspect/runtime.ts +49 -3
- package/studio/server/introspect/schema-ir-json.ts +181 -0
- package/studio/server/introspect/source-overlay/annotations.ts +14 -0
- package/studio/server/introspect/source-overlay/handlers.ts +681 -0
- package/studio/server/introspect/source-overlay/kernel-calls.ts +49 -0
- package/studio/server/introspect/source-overlay/project.ts +248 -0
- package/studio/server/introspect/source-overlay/spans.ts +360 -0
- package/studio/server/json.ts +46 -0
- package/studio/server/lifecycle.ts +5 -1
- package/studio/server/sse.test.ts +26 -0
- package/studio/server/sse.ts +4 -1
- package/studio/server/state/baseline.test.ts +212 -1
- package/studio/server/state/baseline.ts +145 -29
- package/studio/server/state/comments.test.ts +66 -1
- package/studio/server/state/comments.ts +173 -10
- package/studio/server/state/context.ts +34 -2
- package/studio/server/state/documents.ts +42 -1
- package/studio/server/state/integrations.ts +27 -1
- package/studio/server/state/layout.test.ts +34 -0
- package/studio/server/state/layout.ts +44 -17
- package/studio/server/state/settings.ts +29 -22
- package/studio/server/state/store.test.ts +122 -0
- package/studio/server/state/store.ts +66 -17
- package/studio/server/state/visibility.ts +22 -7
- package/studio/server/views/model.test.ts +57 -0
- package/studio/server/views/model.ts +66 -0
- package/studio/server/views/runtime.ts +40 -0
- package/studio/server/views/selection-repository.test.ts +31 -0
- package/studio/server/views/selection-repository.ts +60 -0
- package/studio/server/views/session.test.ts +73 -0
- package/studio/server/views/session.ts +166 -0
- package/studio/server/{state/views.test.ts → views/target.test.ts} +8 -159
- package/studio/server/views/target.ts +248 -0
- package/studio/server/watch.ts +1 -1
- package/studio/server/workspace/catalog.test.ts +17 -0
- package/studio/server/workspace/catalog.ts +43 -0
- package/studio/server/{state → workspace}/create.test.ts +1 -1
- package/studio/server/{state → workspace}/create.ts +1 -1
- package/studio/server/{state → workspace}/git.ts +1 -1
- package/studio/server/workspace/updates.ts +83 -0
- package/studio/server/workspace-state.ts +1 -1
- package/studio/shared/contracts/README.md +16 -0
- package/studio/shared/contracts/agent.ts +270 -0
- package/studio/shared/contracts/runtime.ts +50 -0
- package/studio/shared/contracts/schema.ts +462 -0
- package/studio/shared/contracts/surface.test.ts +319 -0
- package/studio/shared/contracts/workspace.ts +274 -0
- package/studio/shared/layout.test.ts +116 -0
- package/studio/shared/schema/identity.test.ts +58 -0
- package/studio/shared/schema/identity.ts +82 -0
- package/studio/shared/types.ts +11 -1099
- package/studio/tsconfig.json +1 -1
- package/viewer/dist/main.js +35 -35
- package/studio/client/dist/assets/index-BMdnsIJA.css +0 -1
- package/studio/client/dist/assets/index-D-vRV8w7.js +0 -8
- package/studio/client/dist/assets/index-LGSWRrk8.js +0 -81
- package/studio/server/state/catalog.ts +0 -117
- package/studio/server/state/instance.ts +0 -280
- package/studio/server/state/updates.ts +0 -63
- package/studio/server/state/views.ts +0 -535
|
@@ -1542,7 +1542,7 @@ function isPidAlive(pid) {
|
|
|
1542
1542
|
function sleep(milliseconds) {
|
|
1543
1543
|
return new Promise((resolve) => setTimeout(resolve, milliseconds));
|
|
1544
1544
|
}
|
|
1545
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
1545
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/error/index.js
|
|
1546
1546
|
class AuthValueError extends TypeError {
|
|
1547
1547
|
code;
|
|
1548
1548
|
path;
|
|
@@ -1553,7 +1553,7 @@ class AuthValueError extends TypeError {
|
|
|
1553
1553
|
this.path = path;
|
|
1554
1554
|
}
|
|
1555
1555
|
}
|
|
1556
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
1556
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/error.js
|
|
1557
1557
|
class BoundaryError extends TypeError {
|
|
1558
1558
|
code;
|
|
1559
1559
|
pointer;
|
|
@@ -1577,7 +1577,7 @@ class DecodeError extends SyntaxError {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
|
|
1580
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
1580
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/limits.js
|
|
1581
1581
|
var defaultLimits = Object.freeze({
|
|
1582
1582
|
maxBytes: 16 * 1024 * 1024,
|
|
1583
1583
|
maxDepth: 64,
|
|
@@ -1594,7 +1594,7 @@ function limitsFor(options) {
|
|
|
1594
1594
|
return candidate;
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
1597
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/unicode.js
|
|
1598
1598
|
function utf8Length(value, max = Number.MAX_SAFE_INTEGER) {
|
|
1599
1599
|
let bytes = 0;
|
|
1600
1600
|
for (let index = 0;index < value.length; index += 1) {
|
|
@@ -1658,7 +1658,7 @@ function isLowSurrogate(codeUnit) {
|
|
|
1658
1658
|
return codeUnit >= 56320 && codeUnit <= 57343;
|
|
1659
1659
|
}
|
|
1660
1660
|
|
|
1661
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
1661
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/accept.js
|
|
1662
1662
|
function accept2(input, options) {
|
|
1663
1663
|
const state = { active: new WeakSet, limits: limitsFor(options), members: 0 };
|
|
1664
1664
|
try {
|
|
@@ -1778,7 +1778,7 @@ function reflect(operation, pointer, message2) {
|
|
|
1778
1778
|
function child(pointer, token) {
|
|
1779
1779
|
return `${pointer}/${token.replaceAll("~", "~0").replaceAll("/", "~1")}`;
|
|
1780
1780
|
}
|
|
1781
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
1781
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/json.js
|
|
1782
1782
|
var exports_json = {};
|
|
1783
1783
|
__export(exports_json, {
|
|
1784
1784
|
DecodeError: () => DecodeError,
|
|
@@ -1787,7 +1787,7 @@ __export(exports_json, {
|
|
|
1787
1787
|
serialize: () => serialize
|
|
1788
1788
|
});
|
|
1789
1789
|
|
|
1790
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
1790
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/canonical.js
|
|
1791
1791
|
var encoder2 = new TextEncoder;
|
|
1792
1792
|
function serialize(input, options) {
|
|
1793
1793
|
const limits = limitsFor(options);
|
|
@@ -2617,7 +2617,7 @@ function printParseErrorCode(code) {
|
|
|
2617
2617
|
return "<unknown ParseErrorCode>";
|
|
2618
2618
|
}
|
|
2619
2619
|
|
|
2620
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2620
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/decode.js
|
|
2621
2621
|
var decoder2 = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
|
|
2622
2622
|
function decode2(input, options) {
|
|
2623
2623
|
const limits = limitsFor(options);
|
|
@@ -2717,11 +2717,11 @@ function endContainer(state, kind, offset) {
|
|
|
2717
2717
|
function failSyntax(message2, offset) {
|
|
2718
2718
|
throw new DecodeError("JSON_SYNTAX", message2, offset);
|
|
2719
2719
|
}
|
|
2720
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2720
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/value/equal.js
|
|
2721
2721
|
function equal(left, right) {
|
|
2722
2722
|
return left === right || serialize(left) === serialize(right);
|
|
2723
2723
|
}
|
|
2724
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2724
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/internal/authoring.js
|
|
2725
2725
|
var AUTHORING = Symbol("astrale.v1.authoring");
|
|
2726
2726
|
function authoringValue(kind, value) {
|
|
2727
2727
|
return Object.freeze(Object.defineProperty({ ...value }, AUTHORING, {
|
|
@@ -2735,7 +2735,7 @@ function isAuthoringValue(value, kind) {
|
|
|
2735
2735
|
return typeof value === "object" && value !== null && value[AUTHORING] === kind;
|
|
2736
2736
|
}
|
|
2737
2737
|
|
|
2738
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2738
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/diagnostic.js
|
|
2739
2739
|
class DomainSchemaError extends Error {
|
|
2740
2740
|
diagnostics;
|
|
2741
2741
|
constructor(diagnostics) {
|
|
@@ -2756,7 +2756,7 @@ function formatDiagnostic(value) {
|
|
|
2756
2756
|
return `${value.pointer || "/"} [${value.code}] ${value.message}`;
|
|
2757
2757
|
}
|
|
2758
2758
|
|
|
2759
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2759
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/internal/diagnostic.js
|
|
2760
2760
|
function assertKnownKeys(value, allowed, pointer = "") {
|
|
2761
2761
|
const accepted = new Set(allowed);
|
|
2762
2762
|
for (const key of Object.keys(value)) {
|
|
@@ -2772,7 +2772,7 @@ function escapeToken(value) {
|
|
|
2772
2772
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
2773
2773
|
}
|
|
2774
2774
|
|
|
2775
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2775
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/callable.js
|
|
2776
2776
|
function fn(config) {
|
|
2777
2777
|
assertKnownKeys(config, [
|
|
2778
2778
|
"description",
|
|
@@ -2815,14 +2815,14 @@ var output = Object.freeze({
|
|
|
2815
2815
|
function isCallableOutputAuthoring(value) {
|
|
2816
2816
|
return isAuthoringValue(value, "callable-output");
|
|
2817
2817
|
}
|
|
2818
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2818
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/core.js
|
|
2819
2819
|
function node(definition, properties) {
|
|
2820
2820
|
return authoringValue("core-node", {
|
|
2821
2821
|
class: definition,
|
|
2822
2822
|
properties: accept2(properties)
|
|
2823
2823
|
});
|
|
2824
2824
|
}
|
|
2825
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
2825
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/definition.js
|
|
2826
2826
|
function defineInterface(config) {
|
|
2827
2827
|
if (config.family === "both") {
|
|
2828
2828
|
assertKnownKeys(config, ["family", "description", "extends", "properties"]);
|
|
@@ -23579,7 +23579,7 @@ var RE2JS = class RE2JS2 {
|
|
|
23579
23579
|
}
|
|
23580
23580
|
};
|
|
23581
23581
|
|
|
23582
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23582
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/regexp/pattern.js
|
|
23583
23583
|
function lowerIRegexpPattern(pattern) {
|
|
23584
23584
|
let result = "";
|
|
23585
23585
|
let escaped = false;
|
|
@@ -23618,7 +23618,7 @@ function lowerIRegexpPattern(pattern) {
|
|
|
23618
23618
|
return result;
|
|
23619
23619
|
}
|
|
23620
23620
|
|
|
23621
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23621
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/regexp/linear.js
|
|
23622
23622
|
var linearRegExp = Object.assign((pattern, _unicodeFlag) => RE2JS.compile(pattern), {
|
|
23623
23623
|
code: '((pattern) => require("re2js").RE2JS.compile(pattern))'
|
|
23624
23624
|
});
|
|
@@ -23634,7 +23634,7 @@ function compileIRegexp(source) {
|
|
|
23634
23634
|
return RE2JS.compile(lowerIRegexpPattern(source));
|
|
23635
23635
|
}
|
|
23636
23636
|
|
|
23637
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23637
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/regexp/syntax.js
|
|
23638
23638
|
var CATEGORY = /^(?:L[lmotu]?|M[cen]?|N[dlo]?|P[cdfios]?|Z[lps]?|S[ckmo]?|C[cfno]?)$/u;
|
|
23639
23639
|
var MAX_IREGEXP_CODE_POINTS = 4096;
|
|
23640
23640
|
var MAX_IREGEXP_NESTING = 32;
|
|
@@ -23841,7 +23841,7 @@ function isUnicodeScalarString(value) {
|
|
|
23841
23841
|
return true;
|
|
23842
23842
|
}
|
|
23843
23843
|
|
|
23844
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23844
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/full-match.js
|
|
23845
23845
|
var sources = new WeakMap;
|
|
23846
23846
|
function fullMatch(source) {
|
|
23847
23847
|
if (!isIRegexp(source)) {
|
|
@@ -23857,12 +23857,12 @@ function fullMatch(source) {
|
|
|
23857
23857
|
function fullMatchSource(check2) {
|
|
23858
23858
|
return check2 !== null && typeof check2 === "object" ? sources.get(check2) : undefined;
|
|
23859
23859
|
}
|
|
23860
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23860
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/internal/path.metadata.js
|
|
23861
23861
|
var pathInputs = new WeakMap;
|
|
23862
23862
|
function pathAccepts(schema) {
|
|
23863
23863
|
return pathInputs.get(schema);
|
|
23864
23864
|
}
|
|
23865
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23865
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/policy.js
|
|
23866
23866
|
var policy = Object.freeze({
|
|
23867
23867
|
allOf: (...policies) => composition("allOf", policies),
|
|
23868
23868
|
anyOf: (...policies) => composition("anyOf", policies)
|
|
@@ -23928,7 +23928,7 @@ function nonEmpty(values, pointer) {
|
|
|
23928
23928
|
if (values.length === 0)
|
|
23929
23929
|
fail("BUILDER_POLICY_EMPTY_COMPOSITION", pointer, "Policy composition must be non-empty.");
|
|
23930
23930
|
}
|
|
23931
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23931
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/property.js
|
|
23932
23932
|
function property(schema, options) {
|
|
23933
23933
|
const admitted = options ?? {};
|
|
23934
23934
|
assertKnownKeys(admitted, ["visibility", "required"]);
|
|
@@ -23962,7 +23962,7 @@ function auto(property2, options) {
|
|
|
23962
23962
|
options: { on: Object.freeze(events), set: options.set }
|
|
23963
23963
|
});
|
|
23964
23964
|
}
|
|
23965
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23965
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/patterns.js
|
|
23966
23966
|
var DOMAIN_ORIGIN_PATTERN = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/u;
|
|
23967
23967
|
var MEMBER_NAME_PATTERN = /^[A-Za-z][A-Za-z0-9_]*$/u;
|
|
23968
23968
|
var CORE_SLUG_PATTERN = /^[a-z][a-z0-9-]{0,99}$/u;
|
|
@@ -23982,7 +23982,7 @@ function assertMemberName(name) {
|
|
|
23982
23982
|
throw new TypeError(`Invalid member name: ${JSON.stringify(name)}.`);
|
|
23983
23983
|
}
|
|
23984
23984
|
}
|
|
23985
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
23985
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/ref.js
|
|
23986
23986
|
var DEFINITION = /^(class|interface|function|policy|view|type)\.([A-Za-z][A-Za-z0-9_]*)$/u;
|
|
23987
23987
|
var MEMBER = /^(class|interface)\.([A-Za-z][A-Za-z0-9_]*)\.(property|method)\.([A-Za-z][A-Za-z0-9_]*)$/u;
|
|
23988
23988
|
function Ref(input) {
|
|
@@ -24074,7 +24074,7 @@ function assertOwner(owner, member) {
|
|
|
24074
24074
|
function assertInvalidOwner(owner, member) {
|
|
24075
24075
|
throw new TypeError(`${member} owner must be a Class or Interface Ref; received ${JSON.stringify(owner)}.`);
|
|
24076
24076
|
}
|
|
24077
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24077
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/key.js
|
|
24078
24078
|
var admitKey = (input) => {
|
|
24079
24079
|
const split = input.indexOf(":");
|
|
24080
24080
|
if (split < 0 || !DOMAIN_ORIGIN_PATTERN.test(input.slice(0, split)) || !Ref.is(input.slice(split + 1))) {
|
|
@@ -24117,7 +24117,7 @@ function Key(input) {
|
|
|
24117
24117
|
}
|
|
24118
24118
|
Key2.is = is;
|
|
24119
24119
|
})(Key || (Key = {}));
|
|
24120
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24120
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/property-key.js
|
|
24121
24121
|
function PropertyKey(input) {
|
|
24122
24122
|
if (!PropertyKey.is(input)) {
|
|
24123
24123
|
throw new TypeError(`Invalid canonical PropertyKey: ${JSON.stringify(input)}.`);
|
|
@@ -24143,7 +24143,7 @@ function PropertyKey(input) {
|
|
|
24143
24143
|
}
|
|
24144
24144
|
PropertyKey2.is = is;
|
|
24145
24145
|
})(PropertyKey || (PropertyKey = {}));
|
|
24146
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24146
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/reference.js
|
|
24147
24147
|
var DOMAIN_FORMAT = "astrale.dsl";
|
|
24148
24148
|
var DOMAIN_VERSION = "v1";
|
|
24149
24149
|
function schemaRefIndex(ref) {
|
|
@@ -24169,7 +24169,7 @@ function formatSchemaRef(ref) {
|
|
|
24169
24169
|
return `${ref.origin}:${ref.kind}.${ref.name}`;
|
|
24170
24170
|
}
|
|
24171
24171
|
|
|
24172
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24172
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/normalize.js
|
|
24173
24173
|
var textEncoder = new TextEncoder;
|
|
24174
24174
|
function normalizePolicyDeclaration(value) {
|
|
24175
24175
|
if ("match" in value) {
|
|
@@ -24386,7 +24386,7 @@ function isEdge(value) {
|
|
|
24386
24386
|
return "source" in value;
|
|
24387
24387
|
}
|
|
24388
24388
|
|
|
24389
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24389
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/location/keywords.js
|
|
24390
24390
|
var SCHEMA_ARRAY_KEYWORDS = new Set(["allOf", "anyOf", "oneOf", "prefixItems"]);
|
|
24391
24391
|
var SCHEMA_MAP_KEYWORDS = new Set([
|
|
24392
24392
|
"$defs",
|
|
@@ -24408,12 +24408,12 @@ var SCHEMA_SINGLE_KEYWORDS = new Set([
|
|
|
24408
24408
|
"unevaluatedProperties"
|
|
24409
24409
|
]);
|
|
24410
24410
|
|
|
24411
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24411
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/object.js
|
|
24412
24412
|
function isValueObject(value) {
|
|
24413
24413
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
24414
24414
|
}
|
|
24415
24415
|
|
|
24416
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24416
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/profile/canonicalize.js
|
|
24417
24417
|
var TYPE_ORDER = ["null", "boolean", "integer", "number", "string", "array", "object"];
|
|
24418
24418
|
var TYPE_RANK = new Map(TYPE_ORDER.map((name, index) => [name, index]));
|
|
24419
24419
|
var encoder3 = new TextEncoder;
|
|
@@ -24529,7 +24529,7 @@ function isJsonSchema(value) {
|
|
|
24529
24529
|
return typeof value === "boolean" || isValueObject(value);
|
|
24530
24530
|
}
|
|
24531
24531
|
|
|
24532
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24532
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/canonical/domain.js
|
|
24533
24533
|
function canonicalizeDomainSchema(schema) {
|
|
24534
24534
|
const classes = mapRecord(schema.classes, canonicalizeClass);
|
|
24535
24535
|
const orientationByClass = new Map(Object.entries(classes).filter((entry) => entry[1].family === "edge").map(([name, declaration]) => [name, declaration.orientation]));
|
|
@@ -24730,7 +24730,7 @@ function copyJsonValue(value) {
|
|
|
24730
24730
|
return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, copyJsonValue(entry)]));
|
|
24731
24731
|
}
|
|
24732
24732
|
|
|
24733
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
24733
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/canonical/freeze.js
|
|
24734
24734
|
function deepFreeze(value) {
|
|
24735
24735
|
if (value === null || typeof value !== "object" || Object.isFrozen(value)) {
|
|
24736
24736
|
return value;
|
|
@@ -25079,7 +25079,7 @@ class _SHA256 extends SHA2_32B {
|
|
|
25079
25079
|
}
|
|
25080
25080
|
var sha256 = /* @__PURE__ */ createHasher(() => new _SHA256, /* @__PURE__ */ oidNist(1));
|
|
25081
25081
|
|
|
25082
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25082
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/canonical/domain.digest.js
|
|
25083
25083
|
function digestDomainSchemaBytes(bytes) {
|
|
25084
25084
|
let hexadecimal = "";
|
|
25085
25085
|
for (const byte of sha256(bytes))
|
|
@@ -25087,12 +25087,12 @@ function digestDomainSchemaBytes(bytes) {
|
|
|
25087
25087
|
return `sha256:${hexadecimal}`;
|
|
25088
25088
|
}
|
|
25089
25089
|
|
|
25090
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25090
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.ir.js
|
|
25091
25091
|
function asDomainSchema(value) {
|
|
25092
25092
|
return deepFreeze(value);
|
|
25093
25093
|
}
|
|
25094
25094
|
|
|
25095
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25095
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.revision.js
|
|
25096
25096
|
function canonicalDomainSchema(value) {
|
|
25097
25097
|
return canonicalDomainSchemaAfterValidation(value);
|
|
25098
25098
|
}
|
|
@@ -25106,7 +25106,7 @@ function revisionOfDomainSchema(schema) {
|
|
|
25106
25106
|
return canonicalDomainSchema(schema).revision;
|
|
25107
25107
|
}
|
|
25108
25108
|
|
|
25109
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25109
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.lookup.js
|
|
25110
25110
|
class MemoryDomainSchemaLookup {
|
|
25111
25111
|
#entries = new Map;
|
|
25112
25112
|
constructor(entries = []) {
|
|
@@ -25140,7 +25140,7 @@ function lookupKey(origin, revision) {
|
|
|
25140
25140
|
return `${origin}\x00${revision}`;
|
|
25141
25141
|
}
|
|
25142
25142
|
|
|
25143
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25143
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/location/pointer.js
|
|
25144
25144
|
function appendPointer(pointer, token) {
|
|
25145
25145
|
const encoded = String(token).replaceAll("~", "~0").replaceAll("/", "~1");
|
|
25146
25146
|
return `${pointer}/${encoded}`;
|
|
@@ -25189,7 +25189,7 @@ function resolvePointer(root, tokens) {
|
|
|
25189
25189
|
return value;
|
|
25190
25190
|
}
|
|
25191
25191
|
|
|
25192
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25192
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/location/walk.js
|
|
25193
25193
|
function walkSchema(schema, visit3, pointer = "") {
|
|
25194
25194
|
const active = new Set;
|
|
25195
25195
|
function walk(current, currentPointer, depth, parentKeyword) {
|
|
@@ -25240,12 +25240,12 @@ function isJsonSchema2(value) {
|
|
|
25240
25240
|
return typeof value === "boolean" || isValueObject(value);
|
|
25241
25241
|
}
|
|
25242
25242
|
|
|
25243
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25243
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/schema.js
|
|
25244
25244
|
var JSON_SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25245
25245
|
var VALUE_SCHEMA_DIALECT = "https://schemas.astrale.ai/dsl/v1/value-schema";
|
|
25246
25246
|
var VALUE_SCHEMA_VOCABULARY = "https://schemas.astrale.ai/dsl/v1/value-schema/vocabulary";
|
|
25247
25247
|
|
|
25248
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25248
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/extensions/node-path/schema.js
|
|
25249
25249
|
var GRAPH_NODE_PATH_SCHEMA_ID = "https://schemas.astrale.ai/graph/1/node-path";
|
|
25250
25250
|
var graphNodePathSchema = Object.freeze({
|
|
25251
25251
|
$schema: JSON_SCHEMA_DIALECT,
|
|
@@ -25260,7 +25260,7 @@ function hasNodePathAnnotation(schema) {
|
|
|
25260
25260
|
return isValueObject(schema) && schema.$ref === GRAPH_NODE_PATH_SCHEMA_ID && Object.hasOwn(schema, "x-astrale-path");
|
|
25261
25261
|
}
|
|
25262
25262
|
|
|
25263
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25263
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/resources/registry.index.js
|
|
25264
25264
|
function indexRegistry(registry2, pointer) {
|
|
25265
25265
|
const diagnostics = [];
|
|
25266
25266
|
const domains = new Map;
|
|
@@ -25360,7 +25360,7 @@ function validateGraphNodePathResource(schema, pointer, diagnostics) {
|
|
|
25360
25360
|
}
|
|
25361
25361
|
}
|
|
25362
25362
|
|
|
25363
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25363
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/resources/references.js
|
|
25364
25364
|
function resolveSchemaReference(ref, from, index, pointer, nodePathPlacement) {
|
|
25365
25365
|
if (ref === GRAPH_NODE_PATH_SCHEMA_ID) {
|
|
25366
25366
|
if (!nodePathPlacement) {
|
|
@@ -25447,7 +25447,7 @@ function parseNamedTypeReference(ref) {
|
|
|
25447
25447
|
return { origin, name, pointer };
|
|
25448
25448
|
}
|
|
25449
25449
|
|
|
25450
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25450
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/resources/closure.js
|
|
25451
25451
|
function collectResourceClosure(schema, context, index, pointer, namedType) {
|
|
25452
25452
|
const diagnostics = [];
|
|
25453
25453
|
const resources = new Map;
|
|
@@ -25497,7 +25497,7 @@ function escapeToken2(value) {
|
|
|
25497
25497
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
25498
25498
|
}
|
|
25499
25499
|
|
|
25500
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25500
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/instance/compiler.js
|
|
25501
25501
|
function compileInstanceSchema(schema, registry2, pointer) {
|
|
25502
25502
|
const indexed = indexRegistry(registry2, pointer);
|
|
25503
25503
|
if (indexed.diagnostics.length > 0)
|
|
@@ -25561,7 +25561,7 @@ function failed(diagnostics) {
|
|
|
25561
25561
|
};
|
|
25562
25562
|
}
|
|
25563
25563
|
|
|
25564
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25564
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/instant.js
|
|
25565
25565
|
var INSTANT_VALUE_KIND = "instant";
|
|
25566
25566
|
var instant = Object.freeze({
|
|
25567
25567
|
type: "string",
|
|
@@ -25591,7 +25591,7 @@ function isLeapYear(year2) {
|
|
|
25591
25591
|
return year2 % 4 === 0 && (year2 % 100 !== 0 || year2 % 400 === 0);
|
|
25592
25592
|
}
|
|
25593
25593
|
|
|
25594
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25594
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/instance/assertions.js
|
|
25595
25595
|
function matchesType(input, value) {
|
|
25596
25596
|
switch (input) {
|
|
25597
25597
|
case "null":
|
|
@@ -25648,7 +25648,7 @@ function powerOfTen(exponent) {
|
|
|
25648
25648
|
return 10n ** BigInt(exponent);
|
|
25649
25649
|
}
|
|
25650
25650
|
|
|
25651
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25651
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/instance/types.js
|
|
25652
25652
|
function evaluation(failures = [], properties = new Set, items = new Set) {
|
|
25653
25653
|
return { valid: failures.length === 0, failures, properties, items };
|
|
25654
25654
|
}
|
|
@@ -25659,7 +25659,7 @@ function mergeAnnotations(targetProperties, targetItems, source) {
|
|
|
25659
25659
|
targetItems.add(item);
|
|
25660
25660
|
}
|
|
25661
25661
|
|
|
25662
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
25662
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/instance/evaluator.js
|
|
25663
25663
|
function evaluateInstance(compiled, input) {
|
|
25664
25664
|
return new InstanceEvaluator(compiled).evaluate(compiled.root, input, "");
|
|
25665
25665
|
}
|
|
@@ -26016,7 +26016,7 @@ function invalid(instancePointer, keyword, message2) {
|
|
|
26016
26016
|
return { instancePointer, keyword, message: message2 };
|
|
26017
26017
|
}
|
|
26018
26018
|
|
|
26019
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26019
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/profile/json.validate.js
|
|
26020
26020
|
function validateCanonicalJsonDomain(value, pointer) {
|
|
26021
26021
|
try {
|
|
26022
26022
|
accept2(value);
|
|
@@ -26029,7 +26029,7 @@ function validateCanonicalJsonDomain(value, pointer) {
|
|
|
26029
26029
|
}
|
|
26030
26030
|
}
|
|
26031
26031
|
|
|
26032
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26032
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/instance.validate.js
|
|
26033
26033
|
var validatorCache = new WeakMap;
|
|
26034
26034
|
function validateJsonInstance(schema, value, registry2, pointer = "") {
|
|
26035
26035
|
const diagnostics = [...validateCanonicalJsonDomain(value, pointer)];
|
|
@@ -26061,7 +26061,7 @@ function preparedInstanceValidator(schema, registry2, pointer) {
|
|
|
26061
26061
|
return prepared;
|
|
26062
26062
|
}
|
|
26063
26063
|
|
|
26064
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26064
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/core/validate.js
|
|
26065
26065
|
function validateCore(environment, analysis, registry2) {
|
|
26066
26066
|
const diagnostics = [];
|
|
26067
26067
|
const nodesByRef = resolveCoreNodes(environment, analysis, registry2, diagnostics);
|
|
@@ -26290,7 +26290,7 @@ function escapePointer(value) {
|
|
|
26290
26290
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
26291
26291
|
}
|
|
26292
26292
|
|
|
26293
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26293
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/definition/analysis.js
|
|
26294
26294
|
function analyzeDefinitions(environment) {
|
|
26295
26295
|
const diagnostics = [];
|
|
26296
26296
|
const result = new Map;
|
|
@@ -26470,7 +26470,7 @@ function canonicalPolicy(value) {
|
|
|
26470
26470
|
return exports_json.serialize(value === undefined ? null : normalizePolicyChecks(value));
|
|
26471
26471
|
}
|
|
26472
26472
|
|
|
26473
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26473
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/resolution/closure.js
|
|
26474
26474
|
var knownClosure = new WeakMap;
|
|
26475
26475
|
function rememberDomainClosure(schema, dependencies) {
|
|
26476
26476
|
const entries = new Map;
|
|
@@ -26512,7 +26512,7 @@ function closureKey(origin, revision) {
|
|
|
26512
26512
|
return `${origin}\x00${revision}`;
|
|
26513
26513
|
}
|
|
26514
26514
|
|
|
26515
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26515
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/resolution/definition.index.js
|
|
26516
26516
|
function indexSchemaDefinitions(schema) {
|
|
26517
26517
|
const result = new Map;
|
|
26518
26518
|
for (const [name, declaration] of Object.entries(schema.interfaces)) {
|
|
@@ -26536,7 +26536,7 @@ function indexSchemaDefinitions(schema) {
|
|
|
26536
26536
|
return result;
|
|
26537
26537
|
}
|
|
26538
26538
|
|
|
26539
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26539
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/resolution/origins.js
|
|
26540
26540
|
function collectUsedForeignOrigins(schema) {
|
|
26541
26541
|
return new Set(collectDomainSchemaRefs(schema).filter((ref) => ref.origin !== schema.origin).map((ref) => ref.origin));
|
|
26542
26542
|
}
|
|
@@ -26656,7 +26656,7 @@ function collectValueSchemaRefs(schema, add) {
|
|
|
26656
26656
|
});
|
|
26657
26657
|
}
|
|
26658
26658
|
|
|
26659
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26659
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/resolution/context.js
|
|
26660
26660
|
function buildDomainResolutionContext(candidate, lookup) {
|
|
26661
26661
|
const diagnostics = [];
|
|
26662
26662
|
const dependencies = new Map;
|
|
@@ -26777,7 +26777,7 @@ function validateDependencyUse(candidate, directOrigins, diagnostics) {
|
|
|
26777
26777
|
}
|
|
26778
26778
|
}
|
|
26779
26779
|
|
|
26780
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26780
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/resolution/value.registry.js
|
|
26781
26781
|
function createDomainValueSchemaRegistry(schema, lookup = lookupForDomainClosure(schema)) {
|
|
26782
26782
|
return createValueSchemaRegistry(buildDomainResolutionContext(schema, lookup));
|
|
26783
26783
|
}
|
|
@@ -26815,7 +26815,7 @@ function domainValueRegistry(schema) {
|
|
|
26815
26815
|
});
|
|
26816
26816
|
}
|
|
26817
26817
|
|
|
26818
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26818
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/ordering.js
|
|
26819
26819
|
var ALL_JSON_KINDS = new Set([
|
|
26820
26820
|
"null",
|
|
26821
26821
|
"boolean",
|
|
@@ -26973,7 +26973,7 @@ function schemaList2(input) {
|
|
|
26973
26973
|
return Array.isArray(input) ? input : undefined;
|
|
26974
26974
|
}
|
|
26975
26975
|
|
|
26976
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
26976
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/definition/validate.js
|
|
26977
26977
|
function validateDefinitions(environment, analysis) {
|
|
26978
26978
|
const diagnostics = [...analysis.diagnostics];
|
|
26979
26979
|
const schema = environment.candidate;
|
|
@@ -27173,7 +27173,7 @@ function escapePointer2(value) {
|
|
|
27173
27173
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
27174
27174
|
}
|
|
27175
27175
|
|
|
27176
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
27176
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/validation/context.js
|
|
27177
27177
|
class PolicyValidationContext {
|
|
27178
27178
|
environment;
|
|
27179
27179
|
analysis;
|
|
@@ -27263,7 +27263,7 @@ function escapePointer3(value) {
|
|
|
27263
27263
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
27264
27264
|
}
|
|
27265
27265
|
|
|
27266
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
27266
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/validation/budgets.js
|
|
27267
27267
|
var MAX_PATTERN_DEPTH = 4;
|
|
27268
27268
|
var MAX_BRANCHES = 8;
|
|
27269
27269
|
var MAX_VARIABLES = 4;
|
|
@@ -27389,7 +27389,7 @@ function isEdge2(value) {
|
|
|
27389
27389
|
return "source" in value;
|
|
27390
27390
|
}
|
|
27391
27391
|
|
|
27392
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
27392
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/validation/branches.js
|
|
27393
27393
|
function branchesOf(pattern, namespace) {
|
|
27394
27394
|
const variables = collectVariableClasses(pattern, namespace);
|
|
27395
27395
|
return branchesForNode(pattern, namespace, variables);
|
|
@@ -27541,7 +27541,7 @@ class UnionFind {
|
|
|
27541
27541
|
}
|
|
27542
27542
|
}
|
|
27543
27543
|
|
|
27544
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
27544
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/validation/references.js
|
|
27545
27545
|
function validatePolicyReferences(context) {
|
|
27546
27546
|
for (const [name, declaration] of Object.entries(context.environment.candidate.policies)) {
|
|
27547
27547
|
const pointer = `/policies/${escapePointer3(name)}`;
|
|
@@ -27666,7 +27666,7 @@ function isEdge4(value) {
|
|
|
27666
27666
|
return "source" in value;
|
|
27667
27667
|
}
|
|
27668
27668
|
|
|
27669
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
27669
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/validation/typing.js
|
|
27670
27670
|
var IDENTITY_REF = {
|
|
27671
27671
|
origin: "kernel.astrale.ai",
|
|
27672
27672
|
kind: "interface",
|
|
@@ -28008,7 +28008,7 @@ class UnionFind2 {
|
|
|
28008
28008
|
}
|
|
28009
28009
|
}
|
|
28010
28010
|
|
|
28011
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
28011
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/validation/uses.js
|
|
28012
28012
|
var KERNEL_ORIGIN = "kernel.astrale.ai";
|
|
28013
28013
|
var PROJECTION_CLASS = nodeClassRef("Class");
|
|
28014
28014
|
var PROJECTION_FUNCTION = nodeClassRef("Function");
|
|
@@ -28231,7 +28231,7 @@ function nodeClassRef(name) {
|
|
|
28231
28231
|
return { origin: KERNEL_ORIGIN, kind: "class", name };
|
|
28232
28232
|
}
|
|
28233
28233
|
|
|
28234
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
28234
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/policy/validation/validate.js
|
|
28235
28235
|
function validatePolicies(environment, analysis) {
|
|
28236
28236
|
const context = new PolicyValidationContext(environment, analysis);
|
|
28237
28237
|
validatePolicyReferences(context);
|
|
@@ -28244,7 +28244,7 @@ function validatePolicies(environment, analysis) {
|
|
|
28244
28244
|
return Object.freeze(context.diagnostics);
|
|
28245
28245
|
}
|
|
28246
28246
|
|
|
28247
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
28247
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/extensions/node-path/validate.js
|
|
28248
28248
|
function validateNodePathExtension(schema, context, pointer, definitionExists) {
|
|
28249
28249
|
const diagnostics = [];
|
|
28250
28250
|
walkSchema(schema, (location) => {
|
|
@@ -28305,7 +28305,7 @@ function hasExactKeys(value, expected) {
|
|
|
28305
28305
|
return actual.length === expected.length && expected.every((key) => Object.hasOwn(value, key));
|
|
28306
28306
|
}
|
|
28307
28307
|
|
|
28308
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
28308
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/resources/recursion.js
|
|
28309
28309
|
var CONSUMING_SCHEMA_KEYWORDS = new Set([
|
|
28310
28310
|
"additionalProperties",
|
|
28311
28311
|
"contains",
|
|
@@ -28396,7 +28396,7 @@ function findCycle(node2, adjacency, visiting, visited) {
|
|
|
28396
28396
|
return;
|
|
28397
28397
|
}
|
|
28398
28398
|
|
|
28399
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
28399
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/profile/meta-schema.compiled.js
|
|
28400
28400
|
var meta_schema_compiled_default = validate20;
|
|
28401
28401
|
var schema0 = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/schema", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/unevaluated": true, "https://json-schema.org/draft/2020-12/vocab/validation": true, "https://json-schema.org/draft/2020-12/vocab/meta-data": true, "https://json-schema.org/draft/2020-12/vocab/format-annotation": true, "https://json-schema.org/draft/2020-12/vocab/content": true }, $dynamicAnchor: "meta", title: "Core and Validation specifications meta-schema", allOf: [{ $ref: "meta/core" }, { $ref: "meta/applicator" }, { $ref: "meta/unevaluated" }, { $ref: "meta/validation" }, { $ref: "meta/meta-data" }, { $ref: "meta/format-annotation" }, { $ref: "meta/content" }], type: ["object", "boolean"], $comment: "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", properties: { definitions: { $comment: '"definitions" has been replaced by "$defs".', type: "object", additionalProperties: { $dynamicRef: "#meta" }, deprecated: true, default: {} }, dependencies: { $comment: '"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.', type: "object", additionalProperties: { anyOf: [{ $dynamicRef: "#meta" }, { $ref: "meta/validation#/$defs/stringArray" }] }, deprecated: true, default: {} }, $recursiveAnchor: { $comment: '"$recursiveAnchor" has been replaced by "$dynamicAnchor".', $ref: "meta/core#/$defs/anchorString", deprecated: true }, $recursiveRef: { $comment: '"$recursiveRef" has been replaced by "$dynamicRef".', $ref: "meta/core#/$defs/uriReferenceString", deprecated: true } } };
|
|
28402
28402
|
var schema1 = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/core", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/core": true }, $dynamicAnchor: "meta", title: "Core vocabulary meta-schema", type: ["object", "boolean"], properties: { $id: { $ref: "#/$defs/uriReferenceString", $comment: "Non-empty fragments not allowed.", pattern: "^[^#]*#?$" }, $schema: { $ref: "#/$defs/uriString" }, $ref: { $ref: "#/$defs/uriReferenceString" }, $anchor: { $ref: "#/$defs/anchorString" }, $dynamicRef: { $ref: "#/$defs/uriReferenceString" }, $dynamicAnchor: { $ref: "#/$defs/anchorString" }, $vocabulary: { type: "object", propertyNames: { $ref: "#/$defs/uriString" }, additionalProperties: { type: "boolean" } }, $comment: { type: "string" }, $defs: { type: "object", additionalProperties: { $dynamicRef: "#meta" } } }, $defs: { anchorString: { type: "string", pattern: "^[A-Za-z_][-A-Za-z0-9._]*$" }, uriString: { type: "string", format: "uri" }, uriReferenceString: { type: "string", format: "uri-reference" } } };
|
|
@@ -30276,7 +30276,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
30276
30276
|
}
|
|
30277
30277
|
validate20.evaluated = { props: { fullMatch: true, "x-astrale-path": true, definitions: true, dependencies: true, $recursiveAnchor: true, $recursiveRef: true, contentEncoding: true, contentMediaType: true, contentSchema: true, format: true, title: true, description: true, default: true, deprecated: true, readOnly: true, writeOnly: true, examples: true, type: true, const: true, enum: true, multipleOf: true, maximum: true, exclusiveMaximum: true, minimum: true, exclusiveMinimum: true, maxLength: true, minLength: true, pattern: true, maxItems: true, minItems: true, uniqueItems: true, maxContains: true, minContains: true, maxProperties: true, minProperties: true, required: true, dependentRequired: true, unevaluatedItems: true, unevaluatedProperties: true, prefixItems: true, items: true, contains: true, additionalProperties: true, properties: true, patternProperties: true, dependentSchemas: true, propertyNames: true, if: true, then: true, else: true, allOf: true, anyOf: true, oneOf: true, not: true, $id: true, $schema: true, $ref: true, $anchor: true, $dynamicRef: true, $dynamicAnchor: true, $vocabulary: true, $comment: true, $defs: true }, dynamicProps: false, dynamicItems: false };
|
|
30278
30278
|
|
|
30279
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30279
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/profile/meta-schema.validate.js
|
|
30280
30280
|
var validate = meta_schema_compiled_default;
|
|
30281
30281
|
function validateValueSchemaMetaSchema(schema, pointer) {
|
|
30282
30282
|
try {
|
|
@@ -30293,7 +30293,7 @@ function errorMessage(error51) {
|
|
|
30293
30293
|
return error51 instanceof Error ? error51.message : String(error51);
|
|
30294
30294
|
}
|
|
30295
30295
|
|
|
30296
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30296
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/profile/vocabulary.js
|
|
30297
30297
|
var STANDARD_SCHEMA_KEYWORDS = new Set([
|
|
30298
30298
|
"$anchor",
|
|
30299
30299
|
"$comment",
|
|
@@ -30363,7 +30363,7 @@ var FORBIDDEN_DYNAMIC_KEYWORDS = new Set([
|
|
|
30363
30363
|
"$vocabulary"
|
|
30364
30364
|
]);
|
|
30365
30365
|
|
|
30366
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30366
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/profile/rules.js
|
|
30367
30367
|
function validateSchemaProfile(schema, context, pointer, namedType) {
|
|
30368
30368
|
const diagnostics = [];
|
|
30369
30369
|
if (context === "named-type" && namedType === undefined) {
|
|
@@ -30500,7 +30500,7 @@ function escapeToken3(value) {
|
|
|
30500
30500
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
30501
30501
|
}
|
|
30502
30502
|
|
|
30503
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30503
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/profile/validate.js
|
|
30504
30504
|
function validateValueSchema(schema, context, registry2, pointer = "") {
|
|
30505
30505
|
const diagnostics = [];
|
|
30506
30506
|
diagnostics.push(...validateCanonicalJsonDomain(schema, pointer));
|
|
@@ -30531,7 +30531,7 @@ function orderAndDeduplicate(diagnostics) {
|
|
|
30531
30531
|
return [...unique2.values()].sort((left, right) => left.pointer.localeCompare(right.pointer) || left.code.localeCompare(right.code) || left.message.localeCompare(right.message));
|
|
30532
30532
|
}
|
|
30533
30533
|
|
|
30534
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30534
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/validation/value.js
|
|
30535
30535
|
function validateEmbeddedValueSchemas(schema, registry2) {
|
|
30536
30536
|
const diagnostics = [];
|
|
30537
30537
|
for (const [name, value] of Object.entries(schema.types)) {
|
|
@@ -30573,7 +30573,7 @@ function escapePointer4(value) {
|
|
|
30573
30573
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
30574
30574
|
}
|
|
30575
30575
|
|
|
30576
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30576
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/view/validate.js
|
|
30577
30577
|
function validateViews(environment) {
|
|
30578
30578
|
const diagnostics = [];
|
|
30579
30579
|
for (const [name, view] of Object.entries(environment.candidate.views)) {
|
|
@@ -30594,7 +30594,7 @@ function escapePointer5(value) {
|
|
|
30594
30594
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
30595
30595
|
}
|
|
30596
30596
|
|
|
30597
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30597
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.validate.js
|
|
30598
30598
|
function validateDomainSchemaSemantics(schema, lookup) {
|
|
30599
30599
|
const context = buildDomainResolutionContext(schema, lookup);
|
|
30600
30600
|
const analysis = analyzeDefinitions(context);
|
|
@@ -30621,10 +30621,10 @@ function orderAndDeduplicate2(diagnostics) {
|
|
|
30621
30621
|
return [...unique2.values()].sort((left, right) => left.pointer.localeCompare(right.pointer) || left.code.localeCompare(right.code) || left.message.localeCompare(right.message));
|
|
30622
30622
|
}
|
|
30623
30623
|
|
|
30624
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30624
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/definition/data.js
|
|
30625
30625
|
var MEDIA_TYPE_PATTERN = /^[a-z0-9][a-z0-9!#$&^_.+-]{0,126}\/[a-z0-9][a-z0-9!#$&^_.+-]{0,126}$/u;
|
|
30626
30626
|
|
|
30627
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30627
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/metadata.js
|
|
30628
30628
|
var exports_metadata = {};
|
|
30629
30629
|
__export(exports_metadata, {
|
|
30630
30630
|
description: () => description,
|
|
@@ -30641,7 +30641,7 @@ var icon = Object.freeze({
|
|
|
30641
30641
|
maxLength: 8000
|
|
30642
30642
|
});
|
|
30643
30643
|
|
|
30644
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
30644
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/validation/domain.structure.js
|
|
30645
30645
|
var originSchema = exports_external.string().min(3).max(253).regex(DOMAIN_ORIGIN_PATTERN);
|
|
30646
30646
|
var memberNameSchema = exports_external.string().regex(MEMBER_NAME_PATTERN);
|
|
30647
30647
|
var propertyKeySchema = exports_external.string().refine(PropertyKey.is, "Expected a canonical PropertyKey.");
|
|
@@ -31071,7 +31071,7 @@ function escapePointerSegment(segment) {
|
|
|
31071
31071
|
return segment.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
31072
31072
|
}
|
|
31073
31073
|
|
|
31074
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31074
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/validation/domain.route.js
|
|
31075
31075
|
var decoders = new Map([
|
|
31076
31076
|
[DOMAIN_FORMAT, new Map([[DOMAIN_VERSION, parseDomainSchemaStructure]])]
|
|
31077
31077
|
]);
|
|
@@ -31101,7 +31101,7 @@ function unsupported(code, pointer2, message2) {
|
|
|
31101
31101
|
throw new DomainSchemaError([diagnostic(code, pointer2, message2)]);
|
|
31102
31102
|
}
|
|
31103
31103
|
|
|
31104
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31104
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.accept.js
|
|
31105
31105
|
function acceptDomainSchema(input, lookup = emptyDomainSchemaLookup()) {
|
|
31106
31106
|
let admitted;
|
|
31107
31107
|
try {
|
|
@@ -31121,7 +31121,7 @@ function acceptDomainSchema(input, lookup = emptyDomainSchemaLookup()) {
|
|
|
31121
31121
|
return accepted;
|
|
31122
31122
|
}
|
|
31123
31123
|
|
|
31124
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31124
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/callable.js
|
|
31125
31125
|
class V1CallableCompiler {
|
|
31126
31126
|
context;
|
|
31127
31127
|
values;
|
|
@@ -31234,7 +31234,7 @@ function nonEmpty2(values, pointer2) {
|
|
|
31234
31234
|
fail("BUILDER_POLICY_EMPTY_COMPOSITION", pointer2, "Policy check composition must be non-empty.");
|
|
31235
31235
|
}
|
|
31236
31236
|
|
|
31237
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31237
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/core.js
|
|
31238
31238
|
function captureCore(input, context) {
|
|
31239
31239
|
for (const [slug, node2] of Object.entries(input?.nodes ?? {})) {
|
|
31240
31240
|
if (!isAuthoringValue(node2, "core-node")) {
|
|
@@ -31277,7 +31277,7 @@ function resolveEndpoint(value, context, pointer2) {
|
|
|
31277
31277
|
return context.resolveCoreEndpoint(value, pointer2);
|
|
31278
31278
|
}
|
|
31279
31279
|
|
|
31280
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31280
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/core.properties.js
|
|
31281
31281
|
function canonicalizeCorePropertyKeys(candidate, lookup) {
|
|
31282
31282
|
const definitions = analyzeDefinitions(buildDomainResolutionContext(candidate, lookup)).definitions;
|
|
31283
31283
|
const nodes = Object.fromEntries(Object.entries(candidate.core.nodes).map(([slug, node2]) => {
|
|
@@ -31342,7 +31342,7 @@ function resolveInputKey(input, definition, byName, pointer2) {
|
|
|
31342
31342
|
fail("BUILDER_CORE_PROPERTY", pointer2, `Property ${JSON.stringify(input)} is ambiguous; use one of: ${candidates.join(", ")}.`);
|
|
31343
31343
|
}
|
|
31344
31344
|
|
|
31345
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31345
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/definition.js
|
|
31346
31346
|
class V1DefinitionCompiler {
|
|
31347
31347
|
context;
|
|
31348
31348
|
values;
|
|
@@ -31524,7 +31524,7 @@ function constraints(options) {
|
|
|
31524
31524
|
};
|
|
31525
31525
|
}
|
|
31526
31526
|
|
|
31527
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31527
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/policy.js
|
|
31528
31528
|
class V1PolicyCompiler {
|
|
31529
31529
|
context;
|
|
31530
31530
|
constructor(context) {
|
|
@@ -31572,7 +31572,7 @@ function assertPolicyCompositionAcyclic(declarations, origin) {
|
|
|
31572
31572
|
visit3(name);
|
|
31573
31573
|
}
|
|
31574
31574
|
|
|
31575
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31575
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/internal/authoring.lazy.js
|
|
31576
31576
|
function resolveLazy(value, pointer2) {
|
|
31577
31577
|
let current = value;
|
|
31578
31578
|
const seen = new Set;
|
|
@@ -31586,7 +31586,7 @@ function resolveLazy(value, pointer2) {
|
|
|
31586
31586
|
return current;
|
|
31587
31587
|
}
|
|
31588
31588
|
|
|
31589
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31589
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/schema.ownership.js
|
|
31590
31590
|
var definitionOwners = new WeakMap;
|
|
31591
31591
|
var semanticOwners = new WeakMap;
|
|
31592
31592
|
|
|
@@ -31617,7 +31617,7 @@ class OwnershipCapture {
|
|
|
31617
31617
|
}
|
|
31618
31618
|
}
|
|
31619
31619
|
|
|
31620
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31620
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/schema.context.js
|
|
31621
31621
|
class BuilderContext {
|
|
31622
31622
|
origin;
|
|
31623
31623
|
ownership = new OwnershipCapture;
|
|
@@ -31838,7 +31838,7 @@ function familyOfAuthoring(value) {
|
|
|
31838
31838
|
return value.definitionKind === "node-class" ? "node" : "edge";
|
|
31839
31839
|
}
|
|
31840
31840
|
|
|
31841
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31841
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/schema.capture.js
|
|
31842
31842
|
function captureSchema(input, context) {
|
|
31843
31843
|
captureDefinitions(input.interfaces ?? {}, input.classes ?? {}, context);
|
|
31844
31844
|
capturePolicies(input.policies ?? {}, context);
|
|
@@ -31915,7 +31915,7 @@ function assertFunction(value, pointer2) {
|
|
|
31915
31915
|
}
|
|
31916
31916
|
}
|
|
31917
31917
|
|
|
31918
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31918
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/value.path.js
|
|
31919
31919
|
function lowerPathSchema(context, resolveAccepts, pointer2) {
|
|
31920
31920
|
const inputs = pathAccepts(context.zodSchema);
|
|
31921
31921
|
if (inputs === undefined)
|
|
@@ -31936,7 +31936,7 @@ function escapeToken4(value) {
|
|
|
31936
31936
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
31937
31937
|
}
|
|
31938
31938
|
|
|
31939
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
31939
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/value.zod.js
|
|
31940
31940
|
function convertZodToValueSchema(zodSchema, context, registry2, pointer2 = "", options = {}) {
|
|
31941
31941
|
const diagnostics = inspectZodSchema(zodSchema, pointer2, options.position ?? "value");
|
|
31942
31942
|
if (diagnostics.length > 0)
|
|
@@ -32258,7 +32258,7 @@ function errorMessage2(error51) {
|
|
|
32258
32258
|
return error51 instanceof Error ? error51.message : String(error51);
|
|
32259
32259
|
}
|
|
32260
32260
|
|
|
32261
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32261
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/value.js
|
|
32262
32262
|
class BuilderValueSchemas {
|
|
32263
32263
|
context;
|
|
32264
32264
|
types;
|
|
@@ -32402,7 +32402,7 @@ function isRequired(value) {
|
|
|
32402
32402
|
return !zodObjectPropertyIsOptional(value);
|
|
32403
32403
|
}
|
|
32404
32404
|
|
|
32405
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32405
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/view.js
|
|
32406
32406
|
class V1ViewCompiler {
|
|
32407
32407
|
context;
|
|
32408
32408
|
constructor(context) {
|
|
@@ -32425,7 +32425,7 @@ function isTargetList(input) {
|
|
|
32425
32425
|
return Array.isArray(input);
|
|
32426
32426
|
}
|
|
32427
32427
|
|
|
32428
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32428
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/compiler/schema.js
|
|
32429
32429
|
function compileSchema(origin, input) {
|
|
32430
32430
|
const lookup = new MemoryDomainSchemaLookup(lookupEntriesForDependencies(input.dependencies ?? []));
|
|
32431
32431
|
const candidate = assembleDomainSchema(origin, input, lookup);
|
|
@@ -32493,11 +32493,11 @@ function mapRecord2(record2, map2) {
|
|
|
32493
32493
|
return Object.fromEntries(Object.entries(record2).map(([name, value]) => [name, map2(value, name)]));
|
|
32494
32494
|
}
|
|
32495
32495
|
|
|
32496
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32496
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/builder/schema.js
|
|
32497
32497
|
function defineSchema(origin, input) {
|
|
32498
32498
|
return compileSchema(origin, input);
|
|
32499
32499
|
}
|
|
32500
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32500
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/index.js
|
|
32501
32501
|
var exports_schema = {};
|
|
32502
32502
|
__export(exports_schema, {
|
|
32503
32503
|
Error: () => DomainSchemaError,
|
|
@@ -32518,7 +32518,7 @@ __export(exports_schema, {
|
|
|
32518
32518
|
values: () => exports_value
|
|
32519
32519
|
});
|
|
32520
32520
|
|
|
32521
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32521
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.codec.js
|
|
32522
32522
|
function decodeDomainSchema(input, lookup = emptyDomainSchemaLookup()) {
|
|
32523
32523
|
try {
|
|
32524
32524
|
return acceptDomainSchema(exports_json.decode(input), lookup);
|
|
@@ -32535,7 +32535,7 @@ function serializeDomainSchema(schema) {
|
|
|
32535
32535
|
function encodeDomainSchema(schema) {
|
|
32536
32536
|
return exports_json.encode(schema);
|
|
32537
32537
|
}
|
|
32538
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32538
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.resolve.js
|
|
32539
32539
|
var resolvedSchemas = new WeakMap;
|
|
32540
32540
|
function resolveDomainSchema(schema) {
|
|
32541
32541
|
const cached2 = resolvedSchemas.get(schema);
|
|
@@ -32565,7 +32565,7 @@ function resolveWithLookup(schema, lookup) {
|
|
|
32565
32565
|
})
|
|
32566
32566
|
});
|
|
32567
32567
|
}
|
|
32568
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
32568
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/dependency.meaning.js
|
|
32569
32569
|
var VALUE_SCHEMA_ANNOTATIONS = new Set([
|
|
32570
32570
|
"$comment",
|
|
32571
32571
|
"contentEncoding",
|
|
@@ -33119,7 +33119,7 @@ function requireMemberRef(ref) {
|
|
|
33119
33119
|
function isJsonSchema3(value) {
|
|
33120
33120
|
return typeof value === "boolean" || isValueObject(value);
|
|
33121
33121
|
}
|
|
33122
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
33122
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/domain.header.js
|
|
33123
33123
|
function readDomainSchemaHeader(input) {
|
|
33124
33124
|
let admitted;
|
|
33125
33125
|
try {
|
|
@@ -33136,7 +33136,7 @@ function readDomainSchemaHeader(input) {
|
|
|
33136
33136
|
origin: structured.origin
|
|
33137
33137
|
});
|
|
33138
33138
|
}
|
|
33139
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
33139
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/schema/value/index.js
|
|
33140
33140
|
var exports_value = {};
|
|
33141
33141
|
__export(exports_value, {
|
|
33142
33142
|
DIALECT: () => VALUE_SCHEMA_DIALECT,
|
|
@@ -33160,7 +33160,7 @@ function registryFor(owner) {
|
|
|
33160
33160
|
}
|
|
33161
33161
|
return registry2;
|
|
33162
33162
|
}
|
|
33163
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
33163
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/bundle/index.js
|
|
33164
33164
|
var exports_bundle = {};
|
|
33165
33165
|
__export(exports_bundle, {
|
|
33166
33166
|
FORMAT: () => DOMAIN_BUNDLE_FORMAT,
|
|
@@ -33172,7 +33172,7 @@ __export(exports_bundle, {
|
|
|
33172
33172
|
serialize: () => serialize2
|
|
33173
33173
|
});
|
|
33174
33174
|
|
|
33175
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
33175
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/bundle/model.js
|
|
33176
33176
|
var DOMAIN_BUNDLE_FORMAT = "astrale.dsl.bundle";
|
|
33177
33177
|
var DOMAIN_BUNDLE_VERSION = "v1";
|
|
33178
33178
|
function createDomainSchemaBundle(root) {
|
|
@@ -33187,7 +33187,7 @@ function asDomainSchemaBundle(root, closure) {
|
|
|
33187
33187
|
});
|
|
33188
33188
|
}
|
|
33189
33189
|
|
|
33190
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
33190
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/bundle/structure.js
|
|
33191
33191
|
function parseDomainSchemaBundleStructure(input) {
|
|
33192
33192
|
if (!isObject3(input)) {
|
|
33193
33193
|
throw new DomainSchemaError([
|
|
@@ -33254,7 +33254,7 @@ function escapeToken5(value) {
|
|
|
33254
33254
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
33255
33255
|
}
|
|
33256
33256
|
|
|
33257
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
33257
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/bundle/codec.js
|
|
33258
33258
|
function acceptDomainSchemaBundle(input) {
|
|
33259
33259
|
let admitted;
|
|
33260
33260
|
try {
|
|
@@ -33389,7 +33389,7 @@ function keyOf(origin, revision) {
|
|
|
33389
33389
|
return `${origin}\x00${revision}`;
|
|
33390
33390
|
}
|
|
33391
33391
|
|
|
33392
|
-
// node_modules/.pnpm/@astrale-os+kernel-dsl@
|
|
33392
|
+
// node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.2_typescript@6.0.3/node_modules/@astrale-os/kernel-dsl/dist/v1/bundle/index.js
|
|
33393
33393
|
function create(root) {
|
|
33394
33394
|
return createDomainSchemaBundle(root);
|
|
33395
33395
|
}
|
|
@@ -33405,7 +33405,7 @@ function encode6(bundle) {
|
|
|
33405
33405
|
function serialize2(bundle) {
|
|
33406
33406
|
return serializeDomainSchemaBundle(bundle);
|
|
33407
33407
|
}
|
|
33408
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33408
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/node/identity/id.js
|
|
33409
33409
|
var NODE_ID_MAX_LENGTH = 255;
|
|
33410
33410
|
var NODE_ID_INVALID_CHARACTER = /[^A-Za-z0-9._-]/u;
|
|
33411
33411
|
var NODE_ID_ERROR_MESSAGE = "NodeId must be 1-255 ASCII characters drawn from [A-Za-z0-9._-].";
|
|
@@ -33428,7 +33428,7 @@ function isNodeId(input) {
|
|
|
33428
33428
|
return typeof input === "string" && input.length > 0 && input.length <= NODE_ID_MAX_LENGTH && !NODE_ID_INVALID_CHARACTER.test(input);
|
|
33429
33429
|
}
|
|
33430
33430
|
var nodeIdSchema = exports_external.string().refine(isNodeId, NODE_ID_ERROR_MESSAGE).transform((value) => value);
|
|
33431
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33431
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/node/identity/order.js
|
|
33432
33432
|
var encoder4 = new TextEncoder;
|
|
33433
33433
|
function compareNodeIds(left, right) {
|
|
33434
33434
|
const a = encoder4.encode(left);
|
|
@@ -33441,14 +33441,14 @@ function compareNodeIds(left, right) {
|
|
|
33441
33441
|
}
|
|
33442
33442
|
return Math.sign(a.length - b.length);
|
|
33443
33443
|
}
|
|
33444
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33444
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/node/model/index.js
|
|
33445
33445
|
function node2(value) {
|
|
33446
33446
|
return Object.freeze({ id: value.id, class: value.class, props: value.props });
|
|
33447
33447
|
}
|
|
33448
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33448
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/expression/normalization/canonicalize.js
|
|
33449
33449
|
var EXPRESSION_DEPTH_LIMIT = 32;
|
|
33450
33450
|
var EXPRESSION_OPERAND_LIMIT = 64;
|
|
33451
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33451
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/grant/unresolved/limits.js
|
|
33452
33452
|
var CREDENTIAL_NESTING_DEPTH_LIMIT = 3;
|
|
33453
33453
|
var CREDENTIAL_BYTES_LIMIT = 64 * 1024;
|
|
33454
33454
|
var limits = Object.freeze({
|
|
@@ -33456,7 +33456,7 @@ var limits = Object.freeze({
|
|
|
33456
33456
|
operandsPerExpression: EXPRESSION_OPERAND_LIMIT,
|
|
33457
33457
|
credentialNestingDepth: CREDENTIAL_NESTING_DEPTH_LIMIT
|
|
33458
33458
|
});
|
|
33459
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33459
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/authority/admission/admission.js
|
|
33460
33460
|
var limits2 = Object.freeze({
|
|
33461
33461
|
expressionDepth: 64,
|
|
33462
33462
|
operandsPerExpression: 512,
|
|
@@ -33464,7 +33464,7 @@ var limits2 = Object.freeze({
|
|
|
33464
33464
|
repeatMaximum: 16
|
|
33465
33465
|
});
|
|
33466
33466
|
var MAX_BOOLEAN_OPERANDS = limits2.operandsPerExpression;
|
|
33467
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33467
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/claims/index.js
|
|
33468
33468
|
var exports_claims = {};
|
|
33469
33469
|
__export(exports_claims, {
|
|
33470
33470
|
MAX_REQUIRED_CLAIMS: () => MAX_REQUIRED_CLAIMS,
|
|
@@ -33472,9 +33472,9 @@ __export(exports_claims, {
|
|
|
33472
33472
|
verifyRequired: () => verifyRequired
|
|
33473
33473
|
});
|
|
33474
33474
|
|
|
33475
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33475
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/claims/admission/admission.js
|
|
33476
33476
|
var MAX_REQUIRED_CLAIMS = 64;
|
|
33477
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33477
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/claims/evaluation/match.js
|
|
33478
33478
|
function matches(constraint, claims) {
|
|
33479
33479
|
const actual = claims[constraint.claim];
|
|
33480
33480
|
switch (constraint.op) {
|
|
@@ -33489,7 +33489,7 @@ function matches(constraint, claims) {
|
|
|
33489
33489
|
function equal2(left, right) {
|
|
33490
33490
|
return exports_json.serialize(left) === exports_json.serialize(right);
|
|
33491
33491
|
}
|
|
33492
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33492
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/claims/evaluation/verify-required.js
|
|
33493
33493
|
function verifyRequired(constraints2, claims) {
|
|
33494
33494
|
for (let index = 0;index < constraints2.length; index++) {
|
|
33495
33495
|
if (!matches(constraints2[index], claims)) {
|
|
@@ -33497,18 +33497,18 @@ function verifyRequired(constraints2, claims) {
|
|
|
33497
33497
|
}
|
|
33498
33498
|
}
|
|
33499
33499
|
}
|
|
33500
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33500
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/credential/inspection/inspect.js
|
|
33501
33501
|
var MAX_CREDENTIAL_BYTES = 64 * 1024;
|
|
33502
33502
|
var decoder3 = new TextDecoder("utf-8", { fatal: true });
|
|
33503
33503
|
var encoder5 = new TextEncoder;
|
|
33504
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33504
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/issuer/index.js
|
|
33505
33505
|
var exports_issuer = {};
|
|
33506
33506
|
__export(exports_issuer, {
|
|
33507
33507
|
accept: () => accept6,
|
|
33508
33508
|
is: () => is
|
|
33509
33509
|
});
|
|
33510
33510
|
|
|
33511
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33511
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/issuer/issuer-id.js
|
|
33512
33512
|
var AUTH_DOMAIN = /^(?=.{1,253}$)(?:(?!-)[a-z0-9-]{1,63}(?<!-)\.)+(?:(?!-)[a-z0-9-]{2,63}(?<!-))$/i;
|
|
33513
33513
|
var ABSOLUTE_URI = /^([a-z][a-z0-9+.-]*):(.*)$/i;
|
|
33514
33514
|
var DEFAULT_PORTS = Object.freeze({ http: "80", https: "443" });
|
|
@@ -33589,17 +33589,17 @@ function normalizeAuthority(authority, scheme) {
|
|
|
33589
33589
|
function invalid2() {
|
|
33590
33590
|
throw new AuthValueError("AUTH_ISSUER_INVALID", "Expected a supported issuer identifier");
|
|
33591
33591
|
}
|
|
33592
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33592
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/delegation/admission.js
|
|
33593
33593
|
var MAX_CREDENTIAL_BYTES2 = 64 * 1024;
|
|
33594
33594
|
var encoder6 = new TextEncoder;
|
|
33595
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33595
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/jwk/index.js
|
|
33596
33596
|
var exports_jwk = {};
|
|
33597
33597
|
__export(exports_jwk, {
|
|
33598
33598
|
acceptPublic: () => acceptPublic,
|
|
33599
33599
|
thumbprint: () => thumbprint
|
|
33600
33600
|
});
|
|
33601
33601
|
|
|
33602
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33602
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/jwk/public-key.js
|
|
33603
33603
|
var ASYMMETRIC_TYPES = new Set(["EC", "OKP", "RSA"]);
|
|
33604
33604
|
var PRIVATE_MEMBERS = ["d", "p", "q", "dp", "dq", "qi", "oth", "k"];
|
|
33605
33605
|
var BASE64URL = /^[A-Za-z0-9_-]+$/u;
|
|
@@ -33654,7 +33654,7 @@ function deepFreeze2(input) {
|
|
|
33654
33654
|
function invalid3(path2, message2) {
|
|
33655
33655
|
throw new AuthValueError("AUTH_JWK_INVALID", message2, path2);
|
|
33656
33656
|
}
|
|
33657
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33657
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/jwk/thumbprint.js
|
|
33658
33658
|
async function thumbprint(input) {
|
|
33659
33659
|
const key = acceptPublic(input);
|
|
33660
33660
|
const canonical = JSON.stringify(members(key));
|
|
@@ -33676,7 +33676,7 @@ function base64url3(input) {
|
|
|
33676
33676
|
binary += String.fromCharCode(byte);
|
|
33677
33677
|
return btoa(binary).replaceAll("+", "-").replaceAll("/", "_").replace(/=+$/u, "");
|
|
33678
33678
|
}
|
|
33679
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33679
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/class/path.js
|
|
33680
33680
|
var CLASS_PATH_PATTERN = /^\/:([^:]+):class\.([A-Za-z][A-Za-z0-9_]*)$/u;
|
|
33681
33681
|
var ClassPath = Object.freeze({
|
|
33682
33682
|
parse(input) {
|
|
@@ -33730,7 +33730,7 @@ function describe5(input) {
|
|
|
33730
33730
|
return String(input);
|
|
33731
33731
|
}
|
|
33732
33732
|
}
|
|
33733
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33733
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/edge/slug/index.js
|
|
33734
33734
|
var edgeSlugSchema = Object.freeze({
|
|
33735
33735
|
type: "string",
|
|
33736
33736
|
minLength: 1,
|
|
@@ -33757,7 +33757,7 @@ function EdgeSlug(input) {
|
|
|
33757
33757
|
return input;
|
|
33758
33758
|
}
|
|
33759
33759
|
|
|
33760
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33760
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/path/language/error.js
|
|
33761
33761
|
class PathError extends TypeError {
|
|
33762
33762
|
input;
|
|
33763
33763
|
code = "PATH_INVALID";
|
|
@@ -33779,7 +33779,7 @@ function pathError(input, code, message2, position) {
|
|
|
33779
33779
|
]);
|
|
33780
33780
|
}
|
|
33781
33781
|
|
|
33782
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
33782
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/path/language/syntax.js
|
|
33783
33783
|
var PROJECTION_KINDS = new Set([
|
|
33784
33784
|
"class",
|
|
33785
33785
|
"interface",
|
|
@@ -33875,7 +33875,7 @@ function parseIdProgram(input) {
|
|
|
33875
33875
|
}
|
|
33876
33876
|
function parseDomainProgram(input) {
|
|
33877
33877
|
if (!input.startsWith("/:")) {
|
|
33878
|
-
throw pathError(input, "PATH_UNKNOWN_FORM", "Path must
|
|
33878
|
+
throw pathError(input, "PATH_UNKNOWN_FORM", "Path must start with a Domain origin (`/:<domain-origin>`) or a Node ID (`@<node-id>`).", 0);
|
|
33879
33879
|
}
|
|
33880
33880
|
const originEnd = findStepStart(input, 2);
|
|
33881
33881
|
const origin = input.slice(2, originEnd);
|
|
@@ -34058,12 +34058,12 @@ function invalidEdgeSlug(input, position) {
|
|
|
34058
34058
|
throw pathError(input, "PATH_INVALID_EDGE_SLUG", "Traversal Edge slug is invalid.", position);
|
|
34059
34059
|
}
|
|
34060
34060
|
|
|
34061
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34061
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/path/language/index.js
|
|
34062
34062
|
function NodePath(input) {
|
|
34063
34063
|
return serializePathAST(parsePathAST(input));
|
|
34064
34064
|
}
|
|
34065
34065
|
|
|
34066
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34066
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/path/authoring/path.js
|
|
34067
34067
|
class Path {
|
|
34068
34068
|
raw;
|
|
34069
34069
|
ast;
|
|
@@ -34179,7 +34179,7 @@ function defineRefinement(path2) {
|
|
|
34179
34179
|
function define(target, key, value) {
|
|
34180
34180
|
Object.defineProperty(target, key, { enumerable: true, value });
|
|
34181
34181
|
}
|
|
34182
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34182
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/edge/model/index.js
|
|
34183
34183
|
function edge2(value) {
|
|
34184
34184
|
return Object.freeze({
|
|
34185
34185
|
source: value.source,
|
|
@@ -34189,24 +34189,24 @@ function edge2(value) {
|
|
|
34189
34189
|
props: value.props
|
|
34190
34190
|
});
|
|
34191
34191
|
}
|
|
34192
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34192
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/edge/identity/order.js
|
|
34193
34193
|
function compareEdgeKeys(left, right) {
|
|
34194
34194
|
return compareNodeIds(left.source, right.source) || compareNodeIds(left.target, right.target) || compareAscii(left.class, right.class);
|
|
34195
34195
|
}
|
|
34196
34196
|
function compareAscii(left, right) {
|
|
34197
34197
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
34198
34198
|
}
|
|
34199
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34199
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/edge/identity/index.js
|
|
34200
34200
|
function encodeEdgeKey(key) {
|
|
34201
34201
|
return JSON.stringify([key.source, key.target, key.class]);
|
|
34202
34202
|
}
|
|
34203
34203
|
|
|
34204
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34204
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/edge/index.js
|
|
34205
34205
|
function edgeKeyOf(edge3) {
|
|
34206
34206
|
return Object.freeze({ source: edge3.source, target: edge3.target, class: edge3.class });
|
|
34207
34207
|
}
|
|
34208
34208
|
|
|
34209
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34209
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/properties/value/index.js
|
|
34210
34210
|
function normalizeProperties(input, pointer2 = "") {
|
|
34211
34211
|
const admitted = accept2(input);
|
|
34212
34212
|
if (admitted === null || typeof admitted !== "object" || Array.isArray(admitted)) {
|
|
@@ -34247,7 +34247,7 @@ function compare(left, right) {
|
|
|
34247
34247
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
34248
34248
|
}
|
|
34249
34249
|
|
|
34250
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34250
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/properties/delta/index.js
|
|
34251
34251
|
function normalizeDelta(input, pointer2 = "") {
|
|
34252
34252
|
const admitted = accept2(input);
|
|
34253
34253
|
if (admitted === null || typeof admitted !== "object" || Array.isArray(admitted) || !hasExactKeys3(admitted, ["set", "unset"])) {
|
|
@@ -34290,7 +34290,7 @@ function hasExactKeys3(value, expected) {
|
|
|
34290
34290
|
function child2(pointer2, suffix) {
|
|
34291
34291
|
return `${pointer2}/${suffix}`;
|
|
34292
34292
|
}
|
|
34293
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34293
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/properties/merge/index.js
|
|
34294
34294
|
function merge2(base, current, target) {
|
|
34295
34295
|
const keys = [...new Set([...Object.keys(base), ...Object.keys(current), ...Object.keys(target)])].map(PropertyKey).sort(compare3);
|
|
34296
34296
|
const output2 = [];
|
|
@@ -34330,7 +34330,7 @@ function equalState(left, right) {
|
|
|
34330
34330
|
function compare3(left, right) {
|
|
34331
34331
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
34332
34332
|
}
|
|
34333
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34333
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/admission/error.js
|
|
34334
34334
|
class GraphAdmissionError extends TypeError {
|
|
34335
34335
|
diagnostics;
|
|
34336
34336
|
code = "GRAPH_ADMISSION_REJECTED";
|
|
@@ -34341,7 +34341,7 @@ class GraphAdmissionError extends TypeError {
|
|
|
34341
34341
|
}
|
|
34342
34342
|
}
|
|
34343
34343
|
|
|
34344
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34344
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/admission/model.js
|
|
34345
34345
|
function graphDiagnostic(code, path2, message2) {
|
|
34346
34346
|
return Object.freeze({ code, path: path2, message: message2 });
|
|
34347
34347
|
}
|
|
@@ -34352,7 +34352,7 @@ function compareText(left, right) {
|
|
|
34352
34352
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
34353
34353
|
}
|
|
34354
34354
|
|
|
34355
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34355
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/admission/admit.js
|
|
34356
34356
|
function admitGraphData(data, context) {
|
|
34357
34357
|
const diagnostics = [];
|
|
34358
34358
|
const classes = new Map;
|
|
@@ -34508,7 +34508,7 @@ function safeJson(value) {
|
|
|
34508
34508
|
return "<non-json>";
|
|
34509
34509
|
}
|
|
34510
34510
|
}
|
|
34511
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34511
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/delta/index.js
|
|
34512
34512
|
function delta3(left, right) {
|
|
34513
34513
|
const leftNodes = new Map(left.nodes.all.map((node3) => [node3.id, node3]));
|
|
34514
34514
|
const additionsNodes = [];
|
|
@@ -34587,7 +34587,7 @@ function invalid4(message2) {
|
|
|
34587
34587
|
throw new TypeError(message2);
|
|
34588
34588
|
}
|
|
34589
34589
|
|
|
34590
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34590
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/indexes/collection.js
|
|
34591
34591
|
var EMPTY_NODES = Object.freeze([]);
|
|
34592
34592
|
var EMPTY_EDGES = Object.freeze([]);
|
|
34593
34593
|
function createCollections(nodes, edges, indexes) {
|
|
@@ -34656,7 +34656,7 @@ function freezeBuckets(map2) {
|
|
|
34656
34656
|
for (const [key, bucket] of map2)
|
|
34657
34657
|
map2.set(key, Object.freeze(bucket));
|
|
34658
34658
|
}
|
|
34659
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34659
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/merge/index.js
|
|
34660
34660
|
function mergeData2(base, current, target) {
|
|
34661
34661
|
const baseNodes = new Map(base.nodes.map((node3) => [node3.id, node3]));
|
|
34662
34662
|
const currentNodes = new Map(current.nodes.map((node3) => [node3.id, node3]));
|
|
@@ -34779,7 +34779,7 @@ function data2(nodes, edges) {
|
|
|
34779
34779
|
return Object.freeze({ nodes: Object.freeze(nodes), edges: Object.freeze(edges) });
|
|
34780
34780
|
}
|
|
34781
34781
|
|
|
34782
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34782
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/navigation/error.js
|
|
34783
34783
|
class GraphPathWalkerRequiredError extends Error {
|
|
34784
34784
|
path;
|
|
34785
34785
|
code = "GRAPH_PATH_WALKER_REQUIRED";
|
|
@@ -34789,7 +34789,7 @@ class GraphPathWalkerRequiredError extends Error {
|
|
|
34789
34789
|
this.name = "GraphPathWalkerRequiredError";
|
|
34790
34790
|
}
|
|
34791
34791
|
}
|
|
34792
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34792
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/graph.js
|
|
34793
34793
|
var EMPTY_DATA = Object.freeze({
|
|
34794
34794
|
nodes: Object.freeze([]),
|
|
34795
34795
|
edges: Object.freeze([])
|
|
@@ -34870,7 +34870,7 @@ function equalEdge2(left, right) {
|
|
|
34870
34870
|
const rightKey = edgeKeyOf(right);
|
|
34871
34871
|
return leftKey.source === rightKey.source && leftKey.target === rightKey.target && leftKey.class === rightKey.class && left.slug === right.slug && equal3(left.props, right.props);
|
|
34872
34872
|
}
|
|
34873
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34873
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/wire.js
|
|
34874
34874
|
function decodeWire(schema, input, invalid5) {
|
|
34875
34875
|
const result = schema.safeParse(input);
|
|
34876
34876
|
if (result.success)
|
|
@@ -34884,7 +34884,7 @@ function escapePointer6(value) {
|
|
|
34884
34884
|
return value.replaceAll("~", "~0").replaceAll("/", "~1");
|
|
34885
34885
|
}
|
|
34886
34886
|
|
|
34887
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34887
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/model/model.js
|
|
34888
34888
|
var LOCAL_BINDING_PATTERN = /^[A-Za-z][A-Za-z0-9_]{0,63}$/u;
|
|
34889
34889
|
function LocalBinding(input) {
|
|
34890
34890
|
if (!isLocalBinding(input)) {
|
|
@@ -34896,7 +34896,7 @@ function isLocalBinding(input) {
|
|
|
34896
34896
|
return typeof input === "string" && LOCAL_BINDING_PATTERN.test(input);
|
|
34897
34897
|
}
|
|
34898
34898
|
|
|
34899
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34899
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/model/wire.js
|
|
34900
34900
|
var text = exports_external.string().min(1);
|
|
34901
34901
|
var props = exports_external.record(exports_external.string(), exports_external.unknown());
|
|
34902
34902
|
var binding = exports_external.string().check(fullMatch("[A-Za-z][A-Za-z0-9_]{0,63}"));
|
|
@@ -34926,7 +34926,7 @@ var graphDataSchema = exports_external.strictObject({
|
|
|
34926
34926
|
edges: exports_external.array(graphEdgeSchema)
|
|
34927
34927
|
});
|
|
34928
34928
|
|
|
34929
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
34929
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/model/codec.js
|
|
34930
34930
|
class GraphDataDecodeError extends TypeError {
|
|
34931
34931
|
path;
|
|
34932
34932
|
code = "GRAPH_DATA_INVALID";
|
|
@@ -35143,10 +35143,10 @@ function errorPointer(error51, fallback = "") {
|
|
|
35143
35143
|
return error51 instanceof BoundaryError ? error51.pointer : fallback;
|
|
35144
35144
|
}
|
|
35145
35145
|
|
|
35146
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35146
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/graph/model/index.js
|
|
35147
35147
|
var GraphData = Object.freeze({ decode: decodeGraphData, encode: encodeGraphData });
|
|
35148
35148
|
var GraphSpec = Object.freeze({ decode: decodeGraphSpec, encode: encodeGraphSpec });
|
|
35149
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35149
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/language/error.js
|
|
35150
35150
|
class QueryASTDecodeError extends TypeError {
|
|
35151
35151
|
path;
|
|
35152
35152
|
code = "QUERY_AST_INVALID";
|
|
@@ -35156,7 +35156,7 @@ class QueryASTDecodeError extends TypeError {
|
|
|
35156
35156
|
this.name = "QueryASTDecodeError";
|
|
35157
35157
|
}
|
|
35158
35158
|
}
|
|
35159
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35159
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/language/model.js
|
|
35160
35160
|
var QUERY_AST_FORMAT = "astrale.graph.query";
|
|
35161
35161
|
var QUERY_AST_VERSION = "v6";
|
|
35162
35162
|
var QUERY_AST_LIMITS = Object.freeze({
|
|
@@ -35166,7 +35166,7 @@ var QUERY_AST_LIMITS = Object.freeze({
|
|
|
35166
35166
|
bindings: 513
|
|
35167
35167
|
});
|
|
35168
35168
|
|
|
35169
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35169
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/language/wire.js
|
|
35170
35170
|
var text2 = exports_external.string().min(1);
|
|
35171
35171
|
var binding3 = text2.max(64);
|
|
35172
35172
|
var definition = exports_external.strictObject({
|
|
@@ -35243,7 +35243,7 @@ var queryAstSchema = exports_external.strictObject({
|
|
|
35243
35243
|
select: exports_external.discriminatedUnion("kind", [graphSelect, nodeSelect, edgeSelect])
|
|
35244
35244
|
});
|
|
35245
35245
|
|
|
35246
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35246
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/language/codec.js
|
|
35247
35247
|
var admittedQueryASTs = new WeakSet;
|
|
35248
35248
|
function decodeQueryAST(input) {
|
|
35249
35249
|
try {
|
|
@@ -35505,7 +35505,7 @@ function invalid6(path2, message2, cause) {
|
|
|
35505
35505
|
function errorPointer2(error51) {
|
|
35506
35506
|
return error51 instanceof BoundaryError ? error51.pointer : "";
|
|
35507
35507
|
}
|
|
35508
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35508
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/language/fingerprint.js
|
|
35509
35509
|
var QUERY_DOMAIN = utf8ToBytes("astrale-query-ast-v6\x00");
|
|
35510
35510
|
var fingerprints = new WeakMap;
|
|
35511
35511
|
function fingerprintQueryAST(input) {
|
|
@@ -35642,7 +35642,7 @@ function compareBytes2(left, right) {
|
|
|
35642
35642
|
}
|
|
35643
35643
|
return Math.sign(left.length - right.length);
|
|
35644
35644
|
}
|
|
35645
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35645
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/language/query-ast.js
|
|
35646
35646
|
var QueryAST = Object.freeze({
|
|
35647
35647
|
format: QUERY_AST_FORMAT,
|
|
35648
35648
|
version: QUERY_AST_VERSION,
|
|
@@ -35651,7 +35651,7 @@ var QueryAST = Object.freeze({
|
|
|
35651
35651
|
encode: encodeQueryAST,
|
|
35652
35652
|
fingerprint: fingerprintQueryAST
|
|
35653
35653
|
});
|
|
35654
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35654
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/language/selection.js
|
|
35655
35655
|
function querySelectionKind(query) {
|
|
35656
35656
|
if (query.select.kind === "nodes")
|
|
35657
35657
|
return "node";
|
|
@@ -35678,7 +35678,7 @@ function querySelectionKind(query) {
|
|
|
35678
35678
|
throw new TypeError("Admitted Query selected an unknown binding.");
|
|
35679
35679
|
}
|
|
35680
35680
|
|
|
35681
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35681
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/language/error.js
|
|
35682
35682
|
class MutationASTDecodeError extends TypeError {
|
|
35683
35683
|
path;
|
|
35684
35684
|
code = "MUTATION_AST_INVALID";
|
|
@@ -35689,7 +35689,7 @@ class MutationASTDecodeError extends TypeError {
|
|
|
35689
35689
|
}
|
|
35690
35690
|
}
|
|
35691
35691
|
|
|
35692
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35692
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/language/model.js
|
|
35693
35693
|
var MUTATION_AST_FORMAT = "astrale.graph.mutation";
|
|
35694
35694
|
var MUTATION_AST_VERSION = "v3";
|
|
35695
35695
|
var MUTATION_AST_LIMITS = Object.freeze({
|
|
@@ -35698,7 +35698,7 @@ var MUTATION_AST_LIMITS = Object.freeze({
|
|
|
35698
35698
|
queryExpectedIdentities: 4096
|
|
35699
35699
|
});
|
|
35700
35700
|
|
|
35701
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35701
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/language/wire.js
|
|
35702
35702
|
var text3 = exports_external.string().min(1);
|
|
35703
35703
|
var binding4 = exports_external.string().min(1).max(64);
|
|
35704
35704
|
var propertyKey = exports_external.string().check(fullMatch(exports_schema.patterns.propertyKeyFullMatch));
|
|
@@ -35773,7 +35773,7 @@ var mutationAstSchema = exports_external.strictObject({
|
|
|
35773
35773
|
])).min(1)
|
|
35774
35774
|
});
|
|
35775
35775
|
|
|
35776
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
35776
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/language/codec.js
|
|
35777
35777
|
function decodeMutationAST(input) {
|
|
35778
35778
|
try {
|
|
35779
35779
|
return decodeV3(decodeWire(mutationAstSchema, accept2(input), invalid7));
|
|
@@ -36150,7 +36150,7 @@ function invalid7(path2, message2) {
|
|
|
36150
36150
|
function errorPointer3(error51) {
|
|
36151
36151
|
return error51 instanceof BoundaryError ? error51.pointer : "";
|
|
36152
36152
|
}
|
|
36153
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36153
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/language/index.js
|
|
36154
36154
|
var MutationLanguage = Object.freeze({
|
|
36155
36155
|
format: MUTATION_AST_FORMAT,
|
|
36156
36156
|
version: MUTATION_AST_VERSION,
|
|
@@ -36159,7 +36159,7 @@ var MutationLanguage = Object.freeze({
|
|
|
36159
36159
|
encode: encodeMutationAST
|
|
36160
36160
|
});
|
|
36161
36161
|
|
|
36162
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36162
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/authoring/create.js
|
|
36163
36163
|
function createMutationAST(input) {
|
|
36164
36164
|
const preconditions = input.preconditions === undefined ? [] : input.preconditions;
|
|
36165
36165
|
return MutationLanguage.decode({
|
|
@@ -36247,7 +36247,7 @@ function mutationEndpoint(endpoint3) {
|
|
|
36247
36247
|
return "created" in endpoint3 ? Object.freeze({ created: endpoint3.created }) : endpoint3.path;
|
|
36248
36248
|
}
|
|
36249
36249
|
|
|
36250
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36250
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/authoring/builder.js
|
|
36251
36251
|
function buildMutationAST(author) {
|
|
36252
36252
|
if (typeof author !== "function")
|
|
36253
36253
|
throw new TypeError("Mutation author must be a function.");
|
|
@@ -36356,7 +36356,7 @@ function buildMutationAST(author) {
|
|
|
36356
36356
|
function isPromiseLike(input) {
|
|
36357
36357
|
return (typeof input === "object" || typeof input === "function") && input !== null && typeof input.then === "function";
|
|
36358
36358
|
}
|
|
36359
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36359
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/result/error.js
|
|
36360
36360
|
class MutationResultDecodeError extends TypeError {
|
|
36361
36361
|
path;
|
|
36362
36362
|
code = "MUTATION_RESULT_INVALID";
|
|
@@ -36367,12 +36367,12 @@ class MutationResultDecodeError extends TypeError {
|
|
|
36367
36367
|
}
|
|
36368
36368
|
}
|
|
36369
36369
|
|
|
36370
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36370
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/result/wire.js
|
|
36371
36371
|
var text4 = exports_external.string().min(1);
|
|
36372
36372
|
var binding5 = exports_external.string().min(1).max(64);
|
|
36373
36373
|
var mutationResultSchema = exports_external.strictObject({ createdNodes: exports_external.record(binding5, text4) });
|
|
36374
36374
|
|
|
36375
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36375
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/result/index.js
|
|
36376
36376
|
var MutationResult = Object.freeze({ decode: decodeMutationResult, encode: encodeMutationResult });
|
|
36377
36377
|
function encodeMutationResult(input) {
|
|
36378
36378
|
return decodeMutationResult(input);
|
|
@@ -36416,7 +36416,7 @@ function errorPointer4(error51) {
|
|
|
36416
36416
|
return error51 instanceof BoundaryError ? error51.pointer : "";
|
|
36417
36417
|
}
|
|
36418
36418
|
|
|
36419
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36419
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/mutate/index.js
|
|
36420
36420
|
var MutationAST = Object.freeze({
|
|
36421
36421
|
format: MutationLanguage.format,
|
|
36422
36422
|
version: MutationLanguage.version,
|
|
@@ -36427,10 +36427,10 @@ var MutationAST = Object.freeze({
|
|
|
36427
36427
|
decode: MutationLanguage.decode,
|
|
36428
36428
|
encode: MutationLanguage.encode
|
|
36429
36429
|
});
|
|
36430
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
36430
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/auth/provision/request/admission.js
|
|
36431
36431
|
var PROOF_BYTES_LIMIT = 64 * 1024;
|
|
36432
36432
|
var textEncoder2 = new TextEncoder;
|
|
36433
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36433
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/artifact/ref.js
|
|
36434
36434
|
var DIGEST = /^sha256:[0-9a-f]{64}$/u;
|
|
36435
36435
|
var TOKEN = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/u;
|
|
36436
36436
|
function accept11(input) {
|
|
@@ -36488,7 +36488,7 @@ function compare5(left, right) {
|
|
|
36488
36488
|
function invalid9(subject) {
|
|
36489
36489
|
throw new TypeError(`Artifact Ref has invalid ${subject}.`);
|
|
36490
36490
|
}
|
|
36491
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36491
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/errors/codes.js
|
|
36492
36492
|
var CODES = Object.freeze({
|
|
36493
36493
|
PARSE_ERROR: 1001,
|
|
36494
36494
|
INVALID_REQUEST: 1002,
|
|
@@ -36510,7 +36510,7 @@ var CODES = Object.freeze({
|
|
|
36510
36510
|
BACKEND_UNAVAILABLE: 5001,
|
|
36511
36511
|
OUTCOME_UNKNOWN: 5002
|
|
36512
36512
|
});
|
|
36513
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36513
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/errors/http-status.js
|
|
36514
36514
|
var STATUS = {
|
|
36515
36515
|
[CODES.PARSE_ERROR]: 400,
|
|
36516
36516
|
[CODES.INVALID_REQUEST]: 400,
|
|
@@ -36532,7 +36532,7 @@ var STATUS = {
|
|
|
36532
36532
|
[CODES.BACKEND_UNAVAILABLE]: 503,
|
|
36533
36533
|
[CODES.OUTCOME_UNKNOWN]: 500
|
|
36534
36534
|
};
|
|
36535
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36535
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/errors/payload.js
|
|
36536
36536
|
var CODES_SET = new Set(Object.values(CODES));
|
|
36537
36537
|
var FIELDS = new Set(["code", "message", "data"]);
|
|
36538
36538
|
function acceptPayload(input, label = "error") {
|
|
@@ -36566,7 +36566,7 @@ function acceptPayload(input, label = "error") {
|
|
|
36566
36566
|
function isValueObject2(value) {
|
|
36567
36567
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
36568
36568
|
}
|
|
36569
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36569
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/errors/protocol-error.js
|
|
36570
36570
|
class ProtocolError extends Error {
|
|
36571
36571
|
payload;
|
|
36572
36572
|
constructor(payload) {
|
|
@@ -36575,17 +36575,18 @@ class ProtocolError extends Error {
|
|
|
36575
36575
|
this.payload = payload;
|
|
36576
36576
|
}
|
|
36577
36577
|
}
|
|
36578
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36578
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/errors/reason.js
|
|
36579
36579
|
var FIELDS2 = new Set(["code", "details"]);
|
|
36580
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36581
|
-
var FIELDS3 = new Set(["kind", "
|
|
36582
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36583
|
-
var FIELDS4 = new Set(["version", "kind", "
|
|
36584
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36580
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/binary.js
|
|
36581
|
+
var FIELDS3 = new Set(["kind", "requestId", "invocation", "body", "mediaType", "headers"]);
|
|
36582
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/cancellation.js
|
|
36583
|
+
var FIELDS4 = new Set(["version", "kind", "requestId"]);
|
|
36584
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/idempotency.js
|
|
36585
36585
|
var HTTP_IDEMPOTENCY_KEY = "x-astrale-idempotency-key";
|
|
36586
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36586
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/http/binary.js
|
|
36587
36587
|
var BINARY_HEADERS_FIELD = "x-astrale-binary-headers";
|
|
36588
36588
|
var REQUEST_ID_FIELD = "x-astrale-request-id";
|
|
36589
|
+
var INVOCATION_FIELD = "x-astrale-invocation";
|
|
36589
36590
|
var EMPTY_MANIFEST = "-";
|
|
36590
36591
|
var RESERVED = new Set([
|
|
36591
36592
|
"authorization",
|
|
@@ -36612,21 +36613,22 @@ var RESERVED = new Set([
|
|
|
36612
36613
|
"www-authenticate",
|
|
36613
36614
|
EMPTY_MANIFEST,
|
|
36614
36615
|
BINARY_HEADERS_FIELD,
|
|
36616
|
+
INVOCATION_FIELD,
|
|
36615
36617
|
REQUEST_ID_FIELD,
|
|
36616
36618
|
"x-astrale-stream-framing"
|
|
36617
36619
|
]);
|
|
36618
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36620
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/codecs/codec.js
|
|
36619
36621
|
class DecodeError2 extends SyntaxError {
|
|
36620
36622
|
name = "DecodeError";
|
|
36621
36623
|
constructor(message2, options) {
|
|
36622
36624
|
super(message2, options);
|
|
36623
36625
|
}
|
|
36624
36626
|
}
|
|
36625
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36627
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/codecs/media-types.js
|
|
36626
36628
|
var CONTENT_TYPE_JSON = "application/vnd.astrale+json";
|
|
36627
36629
|
var CONTENT_TYPE_MSGPACK = "application/vnd.astrale.msgpack";
|
|
36628
36630
|
|
|
36629
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36631
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/codecs/json.js
|
|
36630
36632
|
var json2 = Object.freeze({
|
|
36631
36633
|
name: "json",
|
|
36632
36634
|
contentType: CONTENT_TYPE_JSON,
|
|
@@ -36643,7 +36645,7 @@ var json2 = Object.freeze({
|
|
|
36643
36645
|
}
|
|
36644
36646
|
}
|
|
36645
36647
|
});
|
|
36646
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36648
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/codecs/msgpack.js
|
|
36647
36649
|
var library = null;
|
|
36648
36650
|
var MSGPACK = Object.freeze({
|
|
36649
36651
|
name: "msgpack",
|
|
@@ -36675,15 +36677,15 @@ var MSGPACK = Object.freeze({
|
|
|
36675
36677
|
}
|
|
36676
36678
|
}
|
|
36677
36679
|
});
|
|
36678
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36680
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/http/stream.js
|
|
36679
36681
|
var encoder7 = new TextEncoder;
|
|
36680
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36682
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/http/trace.js
|
|
36681
36683
|
var EMPTY_HEADERS = Object.freeze({});
|
|
36682
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36684
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/delegate.js
|
|
36683
36685
|
var FIELDS5 = new Set(["ttlSeconds", "attenuation"]);
|
|
36684
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36685
|
-
var FIELDS6 = new Set(["kind", "
|
|
36686
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36686
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/miss.js
|
|
36687
|
+
var FIELDS6 = new Set(["kind", "requestId", "invocation"]);
|
|
36688
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/index.js
|
|
36687
36689
|
var exports_publication = {};
|
|
36688
36690
|
__export(exports_publication, {
|
|
36689
36691
|
BUNDLE_MEDIA_TYPE: () => BUNDLE_MEDIA_TYPE,
|
|
@@ -36709,7 +36711,7 @@ __export(exports_publication, {
|
|
|
36709
36711
|
validateRequirements: () => validateRequirements
|
|
36710
36712
|
});
|
|
36711
36713
|
|
|
36712
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36714
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/error.js
|
|
36713
36715
|
class PublicationError extends Error {
|
|
36714
36716
|
code;
|
|
36715
36717
|
name = "PublicationError";
|
|
@@ -36722,7 +36724,7 @@ function fail2(code, message2, cause) {
|
|
|
36722
36724
|
throw new PublicationError(code, message2, cause === undefined ? undefined : { cause });
|
|
36723
36725
|
}
|
|
36724
36726
|
|
|
36725
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36727
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/content.js
|
|
36726
36728
|
function record2(input, code, message2) {
|
|
36727
36729
|
if (input === null || typeof input !== "object" || Array.isArray(input))
|
|
36728
36730
|
fail2(code, message2);
|
|
@@ -36773,7 +36775,7 @@ function absoluteUrl(input, protocols, allowSearch, code, allowTemplate = false)
|
|
|
36773
36775
|
return input;
|
|
36774
36776
|
}
|
|
36775
36777
|
|
|
36776
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36778
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/bindings/invocation.js
|
|
36777
36779
|
function acceptInvocationEndpoints(input) {
|
|
36778
36780
|
const value = record2(input, "PUBLICATION_BINDING_INVALID", "Invocation endpoints are invalid.");
|
|
36779
36781
|
exact(value, ["http", "websocket"], "PUBLICATION_BINDING_INVALID");
|
|
@@ -36785,7 +36787,7 @@ function acceptInvocationEndpoints(input) {
|
|
|
36785
36787
|
});
|
|
36786
36788
|
}
|
|
36787
36789
|
|
|
36788
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36790
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/bindings/callable.js
|
|
36789
36791
|
function admitCallableBinding(input, origin) {
|
|
36790
36792
|
const value = record2(input, "PUBLICATION_BINDING_INVALID", "Callable binding is invalid.");
|
|
36791
36793
|
exact(value, ["callable", "endpoint"], "PUBLICATION_BINDING_INVALID");
|
|
@@ -36810,7 +36812,7 @@ function admitCallableKey(input, origin) {
|
|
|
36810
36812
|
}
|
|
36811
36813
|
return callable;
|
|
36812
36814
|
}
|
|
36813
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36815
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/bindings/view.js
|
|
36814
36816
|
function admitViewBinding(input, origin) {
|
|
36815
36817
|
const value = record2(input, "PUBLICATION_VIEW_INVALID", "Published View binding is invalid.");
|
|
36816
36818
|
exact(value, ["view", "href", "handshake"], "PUBLICATION_VIEW_INVALID");
|
|
@@ -36835,7 +36837,7 @@ function admitViewBinding(input, origin) {
|
|
|
36835
36837
|
handshake: value.handshake
|
|
36836
36838
|
});
|
|
36837
36839
|
}
|
|
36838
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36840
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/etag.js
|
|
36839
36841
|
var DIGEST2 = /^sha256:[0-9a-f]{64}$/u;
|
|
36840
36842
|
function admitDigest(input) {
|
|
36841
36843
|
if (typeof input !== "string" || !DIGEST2.test(input)) {
|
|
@@ -36977,7 +36979,7 @@ var ROUND = new Uint32Array([
|
|
|
36977
36979
|
3329325298
|
|
36978
36980
|
]);
|
|
36979
36981
|
|
|
36980
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
36982
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/bundle.js
|
|
36981
36983
|
var BUNDLE_MEDIA_TYPE = "application/vnd.astrale.domain-bundle+json;v=1";
|
|
36982
36984
|
function admitBundleDescriptor(input) {
|
|
36983
36985
|
const value = record2(input, "PUBLICATION_INVALID", "Bundle descriptor is invalid.");
|
|
@@ -37035,7 +37037,7 @@ function decodeBundleValue(publication, bytes) {
|
|
|
37035
37037
|
}
|
|
37036
37038
|
}
|
|
37037
37039
|
|
|
37038
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
37040
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery-endpoint.js
|
|
37039
37041
|
function admitEndpoint(input, publicUrl) {
|
|
37040
37042
|
if (input === undefined)
|
|
37041
37043
|
return;
|
|
@@ -37057,7 +37059,7 @@ function admitEndpoint(input, publicUrl) {
|
|
|
37057
37059
|
});
|
|
37058
37060
|
}
|
|
37059
37061
|
|
|
37060
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
37062
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/manifest.js
|
|
37061
37063
|
function admitManifest(input) {
|
|
37062
37064
|
if (input === undefined)
|
|
37063
37065
|
return;
|
|
@@ -37079,7 +37081,7 @@ function admitManifest(input) {
|
|
|
37079
37081
|
});
|
|
37080
37082
|
}
|
|
37081
37083
|
|
|
37082
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37084
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/core/node.js
|
|
37083
37085
|
class CoreNodeModel {
|
|
37084
37086
|
origin;
|
|
37085
37087
|
name;
|
|
@@ -37098,7 +37100,7 @@ class CoreNodeModel {
|
|
|
37098
37100
|
}
|
|
37099
37101
|
}
|
|
37100
37102
|
|
|
37101
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37103
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/core/collection.js
|
|
37102
37104
|
function coreNodesFor(domainSchema) {
|
|
37103
37105
|
const nodes = {};
|
|
37104
37106
|
for (const slug of Object.keys(domainSchema.core.nodes).sort()) {
|
|
@@ -37109,7 +37111,7 @@ function coreNodesFor(domainSchema) {
|
|
|
37109
37111
|
}
|
|
37110
37112
|
return Object.freeze(nodes);
|
|
37111
37113
|
}
|
|
37112
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37114
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/error.js
|
|
37113
37115
|
class DomainError extends Error {
|
|
37114
37116
|
code;
|
|
37115
37117
|
diagnostics;
|
|
@@ -37121,7 +37123,7 @@ class DomainError extends Error {
|
|
|
37121
37123
|
}
|
|
37122
37124
|
}
|
|
37123
37125
|
|
|
37124
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37126
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/collection.js
|
|
37125
37127
|
class ImmutableMap {
|
|
37126
37128
|
#map;
|
|
37127
37129
|
constructor(entries) {
|
|
@@ -37155,12 +37157,12 @@ class ImmutableMap {
|
|
|
37155
37157
|
}
|
|
37156
37158
|
}
|
|
37157
37159
|
|
|
37158
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37160
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/addressing/address.js
|
|
37159
37161
|
function definitionIdentity(origin, kind, name) {
|
|
37160
37162
|
const ref = Ref.definition(kind, name);
|
|
37161
37163
|
return Object.freeze({ origin, kind, name, ref, key: Key.of(origin, ref) });
|
|
37162
37164
|
}
|
|
37163
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37165
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/data.js
|
|
37164
37166
|
function dataFor(model) {
|
|
37165
37167
|
const data3 = model.analysis?.data;
|
|
37166
37168
|
return data3 === undefined ? undefined : Object.freeze({
|
|
@@ -37169,7 +37171,7 @@ function dataFor(model) {
|
|
|
37169
37171
|
});
|
|
37170
37172
|
}
|
|
37171
37173
|
|
|
37172
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37174
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/inheritance/satisfies.js
|
|
37173
37175
|
function definitionSatisfies(source2, target) {
|
|
37174
37176
|
const queue = [source2];
|
|
37175
37177
|
const visited = new Set;
|
|
@@ -37187,7 +37189,7 @@ function definitionSatisfies(source2, target) {
|
|
|
37187
37189
|
}
|
|
37188
37190
|
return false;
|
|
37189
37191
|
}
|
|
37190
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37192
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/inheritance/parents.js
|
|
37191
37193
|
function parentRefsFor(model) {
|
|
37192
37194
|
if (model.schemaRef.kind === "interface") {
|
|
37193
37195
|
return model.declaration.extends;
|
|
@@ -37197,7 +37199,7 @@ function parentRefsFor(model) {
|
|
|
37197
37199
|
}
|
|
37198
37200
|
return [];
|
|
37199
37201
|
}
|
|
37200
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37202
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/source/source.js
|
|
37201
37203
|
function definitionModelFor(schemaRef, schemas3, rootResolution) {
|
|
37202
37204
|
const domainSchema = schemas3.get(schemaRef.origin);
|
|
37203
37205
|
if (domainSchema === undefined)
|
|
@@ -37299,7 +37301,7 @@ function classKind(_declaration) {
|
|
|
37299
37301
|
function isSchemaDefinitionKind(kind) {
|
|
37300
37302
|
return kind === "class" || kind === "interface";
|
|
37301
37303
|
}
|
|
37302
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37304
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/lookup/lookup.js
|
|
37303
37305
|
function schemaRefForLocator(locator, localOrigin, schemas3) {
|
|
37304
37306
|
if (typeof locator !== "string") {
|
|
37305
37307
|
return schemas3.has(locator.origin) ? locator : undefined;
|
|
@@ -37320,7 +37322,7 @@ function schemaRefForLocator(locator, localOrigin, schemas3) {
|
|
|
37320
37322
|
const domainSchema = schemas3.get(origin);
|
|
37321
37323
|
return domainSchema === undefined ? undefined : schemaRefFor(domainSchema, reference2);
|
|
37322
37324
|
}
|
|
37323
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37325
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/lookup/local.js
|
|
37324
37326
|
function requireLocalDefinition(catalog, kinds, name, label) {
|
|
37325
37327
|
const matches2 = kinds.flatMap((kind) => {
|
|
37326
37328
|
const value = catalog.localByKind.get(kind)?.get(name);
|
|
@@ -37333,7 +37335,7 @@ function requireLocalDefinition(catalog, kinds, name, label) {
|
|
|
37333
37335
|
}
|
|
37334
37336
|
throw new DomainError("DOMAIN_DEFINITION_NOT_FOUND", `${label} ${JSON.stringify(name)} does not exist in ${catalog.schema.origin}.`);
|
|
37335
37337
|
}
|
|
37336
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37338
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/lookup/member.js
|
|
37337
37339
|
var FIXED_DEFINITION_KEYS = new Set([
|
|
37338
37340
|
"$",
|
|
37339
37341
|
"origin",
|
|
@@ -37386,15 +37388,15 @@ function indexByName(values) {
|
|
|
37386
37388
|
}
|
|
37387
37389
|
return result;
|
|
37388
37390
|
}
|
|
37389
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37391
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/method/addressing/instance.js
|
|
37390
37392
|
function instanceMethodPath(receiver, name) {
|
|
37391
37393
|
return Path.instanceMethod(receiver, name);
|
|
37392
37394
|
}
|
|
37393
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37395
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/method/addressing/static.js
|
|
37394
37396
|
function staticMethodPath(owner, name) {
|
|
37395
37397
|
return Path.staticMethod(Path.project(owner), name);
|
|
37396
37398
|
}
|
|
37397
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37399
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/method/project.js
|
|
37398
37400
|
function methodsFor(model) {
|
|
37399
37401
|
const methods = [];
|
|
37400
37402
|
for (const [name, method] of model.analysis?.methods ?? []) {
|
|
@@ -37415,7 +37417,7 @@ function methodsFor(model) {
|
|
|
37415
37417
|
}
|
|
37416
37418
|
return new ImmutableMap(methods);
|
|
37417
37419
|
}
|
|
37418
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37420
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/property/project.js
|
|
37419
37421
|
function propertiesFor(model) {
|
|
37420
37422
|
const properties = [];
|
|
37421
37423
|
for (const [key, field] of model.analysis?.properties ?? []) {
|
|
@@ -37439,7 +37441,7 @@ function propertiesFor(model) {
|
|
|
37439
37441
|
}
|
|
37440
37442
|
return new ImmutableMap(properties);
|
|
37441
37443
|
}
|
|
37442
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37444
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/definition.js
|
|
37443
37445
|
class DefinitionModel {
|
|
37444
37446
|
$;
|
|
37445
37447
|
origin;
|
|
@@ -37510,7 +37512,7 @@ function pathFor(ref) {
|
|
|
37510
37512
|
}
|
|
37511
37513
|
}
|
|
37512
37514
|
|
|
37513
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37515
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/catalog/catalog.js
|
|
37514
37516
|
function createDomainCatalog(domainSchema) {
|
|
37515
37517
|
let resolved;
|
|
37516
37518
|
try {
|
|
@@ -37575,7 +37577,7 @@ function createDomainCatalog(domainSchema) {
|
|
|
37575
37577
|
function compareText2(left, right) {
|
|
37576
37578
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
37577
37579
|
}
|
|
37578
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37580
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/instance/binding/bind.js
|
|
37579
37581
|
function bindInstanceMethods(definition2, actual, receiver, binder) {
|
|
37580
37582
|
const bound = [];
|
|
37581
37583
|
for (const method of definition2.methods.values()) {
|
|
@@ -37597,7 +37599,7 @@ function bindInstanceMethods(definition2, actual, receiver, binder) {
|
|
|
37597
37599
|
function isInstanceMethod(method) {
|
|
37598
37600
|
return typeof method === "object" && method !== null && "on" in method;
|
|
37599
37601
|
}
|
|
37600
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37602
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/instance/access/project.js
|
|
37601
37603
|
var FIXED_VALUE_KEYS = new Set(["$", "$d", "class", "props"]);
|
|
37602
37604
|
function projectDomainAccess(value, definition2, actual, bindMethod) {
|
|
37603
37605
|
const propertyValues = new Map;
|
|
@@ -37754,7 +37756,7 @@ function indexValues(values, keyOf2) {
|
|
|
37754
37756
|
function isNode(value) {
|
|
37755
37757
|
return "id" in value;
|
|
37756
37758
|
}
|
|
37757
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37759
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/instance/projection/project.js
|
|
37758
37760
|
function wrapDomainValue(context, value, expected, bindMethod) {
|
|
37759
37761
|
const node3 = isNode2(value);
|
|
37760
37762
|
const actual = context.schemaDefinition({
|
|
@@ -37776,7 +37778,7 @@ function wrapDomainValue(context, value, expected, bindMethod) {
|
|
|
37776
37778
|
function isNode2(value) {
|
|
37777
37779
|
return "id" in value;
|
|
37778
37780
|
}
|
|
37779
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37781
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/callable/resolution.js
|
|
37780
37782
|
function callableDeclaration(catalog, key) {
|
|
37781
37783
|
const origin = Key.origin(key);
|
|
37782
37784
|
const reference2 = Key.ref(key);
|
|
@@ -37812,7 +37814,7 @@ function isMethodRef(ref) {
|
|
|
37812
37814
|
return ref.includes(".method.");
|
|
37813
37815
|
}
|
|
37814
37816
|
|
|
37815
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37817
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/result/diagnostic.js
|
|
37816
37818
|
function domainDiagnostic(code, message2, path2, details) {
|
|
37817
37819
|
return Object.freeze({
|
|
37818
37820
|
code,
|
|
@@ -37821,14 +37823,14 @@ function domainDiagnostic(code, message2, path2, details) {
|
|
|
37821
37823
|
...details === undefined ? {} : { details }
|
|
37822
37824
|
});
|
|
37823
37825
|
}
|
|
37824
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37826
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/result/result.js
|
|
37825
37827
|
function validationResult(status, diagnostics = []) {
|
|
37826
37828
|
return Object.freeze({ status, diagnostics: Object.freeze([...diagnostics]) });
|
|
37827
37829
|
}
|
|
37828
37830
|
function resultFromDiagnostics(diagnostics) {
|
|
37829
37831
|
return validationResult(diagnostics.length === 0 ? "pass" : "reject", diagnostics);
|
|
37830
37832
|
}
|
|
37831
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37833
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/callable/input/validate.js
|
|
37832
37834
|
function validateCallableInput(catalog, key, value) {
|
|
37833
37835
|
try {
|
|
37834
37836
|
const { declaration, owner } = callableDeclaration(catalog, key);
|
|
@@ -37840,7 +37842,7 @@ function validateCallableInput(catalog, key, value) {
|
|
|
37840
37842
|
function diagnosticFromError(error51) {
|
|
37841
37843
|
return error51 instanceof DomainError ? domainDiagnostic(error51.code, error51.message) : domainDiagnostic("DOMAIN_VALIDATION_FAILED", error51 instanceof Error ? error51.message : String(error51));
|
|
37842
37844
|
}
|
|
37843
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37845
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/callable/output/validate.js
|
|
37844
37846
|
function validateCallableOutput(catalog, key, value) {
|
|
37845
37847
|
try {
|
|
37846
37848
|
const { declaration, owner } = callableDeclaration(catalog, key);
|
|
@@ -37858,7 +37860,7 @@ function validateCallableOutput(catalog, key, value) {
|
|
|
37858
37860
|
function diagnosticFromError2(error51) {
|
|
37859
37861
|
return error51 instanceof DomainError ? domainDiagnostic(error51.code, error51.message) : domainDiagnostic("DOMAIN_VALIDATION_FAILED", error51 instanceof Error ? error51.message : String(error51));
|
|
37860
37862
|
}
|
|
37861
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37863
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/property/qualification/qualify.js
|
|
37862
37864
|
function qualifyPropertyInput(catalog, definitionRef, input) {
|
|
37863
37865
|
const admitted = accept2(input);
|
|
37864
37866
|
if (admitted === null || typeof admitted !== "object" || Array.isArray(admitted)) {
|
|
@@ -37896,7 +37898,7 @@ function propertyAliases(properties) {
|
|
|
37896
37898
|
}
|
|
37897
37899
|
return result;
|
|
37898
37900
|
}
|
|
37899
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37901
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/property/validate.js
|
|
37900
37902
|
function validateProperties(catalog, definitionRef, input) {
|
|
37901
37903
|
let qualified;
|
|
37902
37904
|
let definition2;
|
|
@@ -37941,7 +37943,7 @@ function requireSchema2(catalog, origin) {
|
|
|
37941
37943
|
function diagnosticFromError3(error51) {
|
|
37942
37944
|
return error51 instanceof DomainError ? domainDiagnostic(error51.code, error51.message) : domainDiagnostic("DOMAIN_VALIDATION_FAILED", error51 instanceof Error ? error51.message : String(error51));
|
|
37943
37945
|
}
|
|
37944
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37946
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/validator.js
|
|
37945
37947
|
function createDomainValidator(context) {
|
|
37946
37948
|
return Object.freeze({
|
|
37947
37949
|
properties: (definition2, input) => validateProperties(context, definition2, input),
|
|
@@ -37953,7 +37955,7 @@ function createDomainValidator(context) {
|
|
|
37953
37955
|
}
|
|
37954
37956
|
});
|
|
37955
37957
|
}
|
|
37956
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37958
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/validation/property/admission/admit.js
|
|
37957
37959
|
function admitProperties(catalog, definitionRef, input) {
|
|
37958
37960
|
const qualified = qualifyPropertyInput(catalog, definitionRef, input);
|
|
37959
37961
|
const definition2 = catalog.definition(definitionRef);
|
|
@@ -37966,7 +37968,7 @@ function admitProperties(catalog, definitionRef, input) {
|
|
|
37966
37968
|
}
|
|
37967
37969
|
return qualified;
|
|
37968
37970
|
}
|
|
37969
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37971
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/view/applicability/applicable.js
|
|
37970
37972
|
function isViewApplicable(target, subject) {
|
|
37971
37973
|
if (target.kind === "domain")
|
|
37972
37974
|
return subject === "domain";
|
|
@@ -37974,7 +37976,7 @@ function isViewApplicable(target, subject) {
|
|
|
37974
37976
|
return false;
|
|
37975
37977
|
return target.definitions.some((definition2) => subject.satisfies(definition2));
|
|
37976
37978
|
}
|
|
37977
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37979
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/view/target/resolve.js
|
|
37978
37980
|
function resolveViewTarget(catalog, view2) {
|
|
37979
37981
|
const target = view2.definition.target;
|
|
37980
37982
|
if (target.kind === "domain")
|
|
@@ -37984,17 +37986,17 @@ function resolveViewTarget(catalog, view2) {
|
|
|
37984
37986
|
definitions: Object.freeze(target.definitions.map((definition2) => catalog.schemaDefinition(definition2)))
|
|
37985
37987
|
});
|
|
37986
37988
|
}
|
|
37987
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37989
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/view/selection/order.js
|
|
37988
37990
|
function compareViews(left, right) {
|
|
37989
37991
|
return left.key < right.key ? -1 : left.key > right.key ? 1 : 0;
|
|
37990
37992
|
}
|
|
37991
37993
|
|
|
37992
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37994
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/view/selection/select.js
|
|
37993
37995
|
function selectViews(catalog, subject) {
|
|
37994
37996
|
const candidates = catalog.localByKind.get("view")?.values() ?? [];
|
|
37995
37997
|
return Object.freeze([...candidates].filter((candidate2) => candidate2.kind === "view").filter((view2) => isViewApplicable(resolveViewTarget(catalog, view2), subject)).sort(compareViews));
|
|
37996
37998
|
}
|
|
37997
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
37999
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/domain/domain.js
|
|
37998
38000
|
var admittedDomains = new WeakSet;
|
|
37999
38001
|
|
|
38000
38002
|
class DomainModel {
|
|
@@ -38050,7 +38052,7 @@ var Domain = DomainModel;
|
|
|
38050
38052
|
function isDefinition(value) {
|
|
38051
38053
|
return typeof value === "object" && value !== null && "$" in value && "key" in value;
|
|
38052
38054
|
}
|
|
38053
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38055
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/descriptable.js
|
|
38054
38056
|
var Descriptable = defineInterface({
|
|
38055
38057
|
family: "both",
|
|
38056
38058
|
description: "Optional human-facing description metadata with no identity or authority semantics.",
|
|
@@ -38058,12 +38060,12 @@ var Descriptable = defineInterface({
|
|
|
38058
38060
|
description: property(exports_schema.metadata.description, { required: false })
|
|
38059
38061
|
}
|
|
38060
38062
|
});
|
|
38061
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38063
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/edge.js
|
|
38062
38064
|
var Edge = defineInterface({
|
|
38063
38065
|
family: "both",
|
|
38064
38066
|
description: "Explicit kernel marker for Edge definitions; it carries no structural fields."
|
|
38065
38067
|
});
|
|
38066
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38068
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/iconable.js
|
|
38067
38069
|
var Iconable = defineInterface({
|
|
38068
38070
|
family: "both",
|
|
38069
38071
|
description: "Optional bounded presentation icon metadata.",
|
|
@@ -38071,7 +38073,7 @@ var Iconable = defineInterface({
|
|
|
38071
38073
|
icon: property(exports_schema.metadata.icon, { required: false })
|
|
38072
38074
|
}
|
|
38073
38075
|
});
|
|
38074
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38076
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/named.js
|
|
38075
38077
|
var Named = defineInterface({
|
|
38076
38078
|
family: "both",
|
|
38077
38079
|
description: "Stable human-facing name metadata that never acts as a locator.",
|
|
@@ -38079,11 +38081,11 @@ var Named = defineInterface({
|
|
|
38079
38081
|
name: { type: "string", minLength: 1, maxLength: 100 }
|
|
38080
38082
|
}
|
|
38081
38083
|
});
|
|
38082
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38084
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/node.js
|
|
38083
38085
|
var Node = nodeInterface({
|
|
38084
38086
|
description: "The universal kernel node contract implicitly satisfied by every Node Interface and Node Class."
|
|
38085
38087
|
});
|
|
38086
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38088
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/remotable.js
|
|
38087
38089
|
var Remotable = defineInterface({
|
|
38088
38090
|
family: "both",
|
|
38089
38091
|
description: "Optional synchronization metadata for a value originating outside the local kernel.",
|
|
@@ -38093,7 +38095,7 @@ var Remotable = defineInterface({
|
|
|
38093
38095
|
updatedAt: property(exports_schema.values.instant, { required: false })
|
|
38094
38096
|
}
|
|
38095
38097
|
});
|
|
38096
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38098
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/statused.js
|
|
38097
38099
|
var Statused = defineInterface({
|
|
38098
38100
|
family: "both",
|
|
38099
38101
|
description: "Explicit lifecycle-state metadata for values whose contract declares such a state.",
|
|
@@ -38101,7 +38103,7 @@ var Statused = defineInterface({
|
|
|
38101
38103
|
status: { enum: ["active", "creating", "deleting", "error", "updating"] }
|
|
38102
38104
|
}
|
|
38103
38105
|
});
|
|
38104
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38106
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/meta/timestamped.js
|
|
38105
38107
|
var Timestamped = defineInterface({
|
|
38106
38108
|
family: "both",
|
|
38107
38109
|
description: "Explicit creation and update timestamp metadata.",
|
|
@@ -38113,7 +38115,7 @@ var Timestamped = defineInterface({
|
|
|
38113
38115
|
})
|
|
38114
38116
|
}
|
|
38115
38117
|
});
|
|
38116
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38118
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/definitions/class.js
|
|
38117
38119
|
var Class2 = nodeClass({
|
|
38118
38120
|
description: "The installed graph projection of a concrete Node Class or Edge Class declaration.",
|
|
38119
38121
|
implements: [Descriptable, Iconable],
|
|
@@ -38121,7 +38123,7 @@ var Class2 = nodeClass({
|
|
|
38121
38123
|
family: { enum: ["node", "edge"] }
|
|
38122
38124
|
}
|
|
38123
38125
|
});
|
|
38124
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38126
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/definitions/interface.js
|
|
38125
38127
|
var Interface = nodeClass({
|
|
38126
38128
|
description: "The installed graph projection of a both-, Node-, or Edge-family Interface.",
|
|
38127
38129
|
implements: [Descriptable],
|
|
@@ -38130,7 +38132,7 @@ var Interface = nodeClass({
|
|
|
38130
38132
|
}
|
|
38131
38133
|
});
|
|
38132
38134
|
|
|
38133
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38135
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/definitions/extends.js
|
|
38134
38136
|
var Extends = edgeClass.directed({
|
|
38135
38137
|
source: { as: "sub", accepts: [Interface], outgoing: "0..*" },
|
|
38136
38138
|
target: { as: "super", accepts: [Interface], incoming: "0..*" },
|
|
@@ -38138,7 +38140,7 @@ var Extends = edgeClass.directed({
|
|
|
38138
38140
|
implements: [Edge],
|
|
38139
38141
|
constraints: { noSelf: true, acyclic: true }
|
|
38140
38142
|
});
|
|
38141
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38143
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/definitions/implements.js
|
|
38142
38144
|
var Implements = edgeClass.directed({
|
|
38143
38145
|
source: { as: "class", accepts: [Class2], outgoing: "0..*" },
|
|
38144
38146
|
target: { as: "interface", accepts: [Interface], incoming: "0..*" },
|
|
@@ -38146,14 +38148,14 @@ var Implements = edgeClass.directed({
|
|
|
38146
38148
|
implements: [Edge],
|
|
38147
38149
|
constraints: { noSelf: true }
|
|
38148
38150
|
});
|
|
38149
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38151
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/definitions/instance-of.js
|
|
38150
38152
|
var InstanceOf = edgeClass.directed({
|
|
38151
38153
|
source: { as: "instance", accepts: [Node], outgoing: "1" },
|
|
38152
38154
|
target: { as: "class", accepts: [Class2], incoming: "0..*" },
|
|
38153
38155
|
description: "The concrete Node Class fact fixed when a node is created.",
|
|
38154
38156
|
implements: [Edge]
|
|
38155
38157
|
});
|
|
38156
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38158
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/authority-relation.js
|
|
38157
38159
|
var IdentityRef = {
|
|
38158
38160
|
origin: "kernel.astrale.ai",
|
|
38159
38161
|
kind: "interface",
|
|
@@ -38168,27 +38170,27 @@ function authorityRelation(target, role, description2) {
|
|
|
38168
38170
|
});
|
|
38169
38171
|
}
|
|
38170
38172
|
|
|
38171
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38173
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-create.js
|
|
38172
38174
|
var CanCreate = authorityRelation(Class2, "class", "An Identity may create instances of the target Class.");
|
|
38173
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38175
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-delete.js
|
|
38174
38176
|
var CanDelete = authorityRelation(Class2, "class", "An Identity may delete instances of the target Class.");
|
|
38175
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38177
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/operation.js
|
|
38176
38178
|
var Operation = nodeClass({
|
|
38177
38179
|
description: "One closed authority relation operation administered by can_grant and can_revoke.",
|
|
38178
38180
|
implements: [Named]
|
|
38179
38181
|
});
|
|
38180
38182
|
|
|
38181
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38183
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-grant.js
|
|
38182
38184
|
var CanGrant = authorityRelation(Operation, "operation", "An Identity may create authority edges for the target Operation.");
|
|
38183
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38185
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-read.js
|
|
38184
38186
|
var CanRead = authorityRelation(Class2, "class", "An Identity may read complete instances of the target Class; read also permits traversal.");
|
|
38185
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38187
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-revoke.js
|
|
38186
38188
|
var CanRevoke = authorityRelation(Operation, "operation", "An Identity may remove authority edges for the target Operation.");
|
|
38187
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38189
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-traverse.js
|
|
38188
38190
|
var CanTraverse = authorityRelation(Class2, "class", "An Identity may use instances of the target Class as structural Query witnesses without reading their values.");
|
|
38189
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38191
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-update.js
|
|
38190
38192
|
var CanUpdate = authorityRelation(Class2, "class", "An Identity may update instances of the target Class.");
|
|
38191
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38193
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/admit.js
|
|
38192
38194
|
var admitInput = exports_external.strictObject({
|
|
38193
38195
|
call: exports_external.strictObject({
|
|
38194
38196
|
target: exports_external.string().min(1),
|
|
@@ -38200,11 +38202,11 @@ var admitOutput = exports_external.strictObject({
|
|
|
38200
38202
|
callable: exports_external.string().min(1),
|
|
38201
38203
|
receiver: exports_external.string().min(1).optional()
|
|
38202
38204
|
});
|
|
38203
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38205
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/can.js
|
|
38204
38206
|
var text5 = exports_external.string().min(1);
|
|
38205
38207
|
var canInput = exports_external.strictObject({ policy: text5, object: text5 });
|
|
38206
38208
|
var canOutput = exports_external.strictObject({ allowed: exports_external.boolean() });
|
|
38207
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38209
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/delegate.js
|
|
38208
38210
|
var text6 = exports_external.string().min(1);
|
|
38209
38211
|
var delegateInput = exports_external.strictObject({
|
|
38210
38212
|
audience: text6,
|
|
@@ -38212,7 +38214,10 @@ var delegateInput = exports_external.strictObject({
|
|
|
38212
38214
|
attenuation: exports_external.unknown()
|
|
38213
38215
|
});
|
|
38214
38216
|
var delegateOutput = text6;
|
|
38215
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38217
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/installation/operation-id.js
|
|
38218
|
+
var operationIdSchema = exports_external.string().check(fullMatch("[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}"));
|
|
38219
|
+
|
|
38220
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/installation.js
|
|
38216
38221
|
var installationText = exports_external.string().min(1);
|
|
38217
38222
|
var installationDigest = installationText.check(fullMatch("sha256:[0-9a-f]{64}"));
|
|
38218
38223
|
var artifactRef = exports_external.strictObject({
|
|
@@ -38273,7 +38278,7 @@ var installationTarget = exports_external.strictObject({
|
|
|
38273
38278
|
});
|
|
38274
38279
|
var transitionIntent = exports_external.strictObject({
|
|
38275
38280
|
transition: installationText,
|
|
38276
|
-
operation:
|
|
38281
|
+
operation: operationIdSchema,
|
|
38277
38282
|
installation: installationText,
|
|
38278
38283
|
origin: installationText,
|
|
38279
38284
|
source: installationTarget.nullable(),
|
|
@@ -38291,24 +38296,10 @@ var transitionReceipt = exports_external.strictObject({
|
|
|
38291
38296
|
state: exports_external.literal("committed"),
|
|
38292
38297
|
readiness: readinessReceipt.optional()
|
|
38293
38298
|
});
|
|
38294
|
-
var installationOperation = exports_external.discriminatedUnion("kind", [
|
|
38295
|
-
exports_external.strictObject({
|
|
38296
|
-
operation: installationText,
|
|
38297
|
-
kind: exports_external.literal("install"),
|
|
38298
|
-
fingerprint: installationDigest,
|
|
38299
|
-
transitions: exports_external.array(transitionReceipt).min(1)
|
|
38300
|
-
}),
|
|
38301
|
-
exports_external.strictObject({
|
|
38302
|
-
operation: installationText,
|
|
38303
|
-
kind: exports_external.literal("uninstall"),
|
|
38304
|
-
fingerprint: installationDigest,
|
|
38305
|
-
transition: transitionReceipt
|
|
38306
|
-
})
|
|
38307
|
-
]);
|
|
38308
38299
|
|
|
38309
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38300
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/install.js
|
|
38310
38301
|
var installInput = exports_external.strictObject({
|
|
38311
|
-
operation:
|
|
38302
|
+
operation: operationIdSchema,
|
|
38312
38303
|
domains: exports_external.array(exports_external.union([
|
|
38313
38304
|
exports_external.strictObject({
|
|
38314
38305
|
source: exports_external.strictObject({
|
|
@@ -38330,10 +38321,10 @@ var installInput = exports_external.strictObject({
|
|
|
38330
38321
|
])).min(1)
|
|
38331
38322
|
});
|
|
38332
38323
|
var installOutput = exports_external.strictObject({
|
|
38333
|
-
operation:
|
|
38324
|
+
operation: operationIdSchema,
|
|
38334
38325
|
transitions: exports_external.array(transitionReceipt).min(1)
|
|
38335
38326
|
});
|
|
38336
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38327
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/introspect.js
|
|
38337
38328
|
var selection = exports_external.strictObject({
|
|
38338
38329
|
state: exports_external.literal(true).optional(),
|
|
38339
38330
|
target: exports_external.literal(true).optional(),
|
|
@@ -38349,13 +38340,14 @@ var introspectInput = exports_external.strictObject({
|
|
|
38349
38340
|
}),
|
|
38350
38341
|
select: selection
|
|
38351
38342
|
});
|
|
38352
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38343
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/journal.js
|
|
38353
38344
|
var text7 = exports_external.string().min(1);
|
|
38354
38345
|
var eventTopicPattern = exports_external.strictObject({
|
|
38355
38346
|
exact: exports_external.array(text7).optional(),
|
|
38356
38347
|
prefixes: exports_external.array(text7).optional()
|
|
38357
38348
|
});
|
|
38358
38349
|
var journalInput = exports_external.strictObject({
|
|
38350
|
+
invocation: exports_external.strictObject({ source: text7, id: text7 }).optional(),
|
|
38359
38351
|
topics: eventTopicPattern.optional(),
|
|
38360
38352
|
principal: text7.optional(),
|
|
38361
38353
|
since: text7.optional(),
|
|
@@ -38374,7 +38366,7 @@ var journalOutput = exports_external.strictObject({
|
|
|
38374
38366
|
cursor: text7.optional(),
|
|
38375
38367
|
gap: exports_external.unknown().optional()
|
|
38376
38368
|
});
|
|
38377
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38369
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/mint.js
|
|
38378
38370
|
var text8 = exports_external.string().min(1);
|
|
38379
38371
|
var mintInput = exports_external.strictObject({
|
|
38380
38372
|
audience: text8.optional(),
|
|
@@ -38382,10 +38374,10 @@ var mintInput = exports_external.strictObject({
|
|
|
38382
38374
|
grant: exports_external.unknown().optional()
|
|
38383
38375
|
});
|
|
38384
38376
|
var mintOutput = text8;
|
|
38385
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38377
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/mutate.js
|
|
38386
38378
|
var mutateInput = mutationAstSchema;
|
|
38387
38379
|
var mutateOutput = mutationResultSchema;
|
|
38388
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38380
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/claims.js
|
|
38389
38381
|
var claim = exports_external.string().min(1);
|
|
38390
38382
|
var portableValue = exports_external.unknown().nonoptional();
|
|
38391
38383
|
var claimConstraintSchema = exports_external.discriminatedUnion("op", [
|
|
@@ -38395,7 +38387,7 @@ var claimConstraintSchema = exports_external.discriminatedUnion("op", [
|
|
|
38395
38387
|
]);
|
|
38396
38388
|
var requiredClaimsSchema = exports_external.array(claimConstraintSchema).max(exports_claims.MAX_REQUIRED_CLAIMS);
|
|
38397
38389
|
|
|
38398
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38390
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/provision.js
|
|
38399
38391
|
var text9 = exports_external.string().min(1);
|
|
38400
38392
|
var requiredClaims = requiredClaimsSchema.optional();
|
|
38401
38393
|
var asserted = exports_external.strictObject({ issuer: text9, subject: text9, requiredClaims });
|
|
@@ -38412,7 +38404,7 @@ var provisionOutput = exports_external.strictObject({
|
|
|
38412
38404
|
createdNodes: exports_external.record(exports_external.string(), text9),
|
|
38413
38405
|
identities: exports_external.record(exports_external.string(), exports_external.strictObject({ issuer: text9, subject: text9 }))
|
|
38414
38406
|
});
|
|
38415
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38407
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/result/error.js
|
|
38416
38408
|
class QueryResultDecodeError extends TypeError {
|
|
38417
38409
|
path;
|
|
38418
38410
|
code = "QUERY_RESULT_INVALID";
|
|
@@ -38423,7 +38415,7 @@ class QueryResultDecodeError extends TypeError {
|
|
|
38423
38415
|
}
|
|
38424
38416
|
}
|
|
38425
38417
|
|
|
38426
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38418
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/result/wire.js
|
|
38427
38419
|
var text10 = exports_external.string().min(1);
|
|
38428
38420
|
var nodeReference = exports_external.strictObject({ id: text10, class: text10 });
|
|
38429
38421
|
var nodeProjection = exports_external.discriminatedUnion("kind", [
|
|
@@ -38455,7 +38447,7 @@ var queryResultSchema = exports_external.discriminatedUnion("kind", [
|
|
|
38455
38447
|
exports_external.strictObject({ kind: exports_external.literal("edges"), edges: exports_external.array(edgeItem) })
|
|
38456
38448
|
]);
|
|
38457
38449
|
|
|
38458
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38450
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/graph/query/result/index.js
|
|
38459
38451
|
var QueryResult = Object.freeze({
|
|
38460
38452
|
decode: decodeQueryResult,
|
|
38461
38453
|
encode: encodeQueryResult,
|
|
@@ -38609,7 +38601,7 @@ function joinPointer(base, nested) {
|
|
|
38609
38601
|
function errorPointer5(error51) {
|
|
38610
38602
|
return error51 instanceof BoundaryError ? error51.pointer : "";
|
|
38611
38603
|
}
|
|
38612
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38604
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/query.js
|
|
38613
38605
|
var queryInput = exports_external.strictObject({
|
|
38614
38606
|
ast: queryAstSchema,
|
|
38615
38607
|
page: exports_external.strictObject({
|
|
@@ -38621,16 +38613,16 @@ var queryOutput = exports_external.strictObject({
|
|
|
38621
38613
|
result: queryResultSchema,
|
|
38622
38614
|
page: exports_external.strictObject({ next: exports_external.string().min(1).optional() })
|
|
38623
38615
|
});
|
|
38624
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38616
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/uninstall.js
|
|
38625
38617
|
var uninstallInput = exports_external.strictObject({
|
|
38626
|
-
operation:
|
|
38618
|
+
operation: operationIdSchema,
|
|
38627
38619
|
origin: installationText
|
|
38628
38620
|
});
|
|
38629
38621
|
var uninstallOutput = exports_external.strictObject({
|
|
38630
|
-
operation:
|
|
38622
|
+
operation: operationIdSchema,
|
|
38631
38623
|
transition: transitionReceipt
|
|
38632
38624
|
});
|
|
38633
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38625
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/view-resolve.js
|
|
38634
38626
|
var definition2 = exports_external.discriminatedUnion("kind", [
|
|
38635
38627
|
exports_external.strictObject({ origin: exports_external.string().min(1), kind: exports_external.literal("class"), name: exports_external.string().min(1) }),
|
|
38636
38628
|
exports_external.strictObject({
|
|
@@ -38660,7 +38652,7 @@ var viewResolveOutput = exports_external.strictObject({
|
|
|
38660
38652
|
revision: exports_external.string().min(1)
|
|
38661
38653
|
}))
|
|
38662
38654
|
});
|
|
38663
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38655
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/identity.js
|
|
38664
38656
|
var text11 = exports_external.string().min(1);
|
|
38665
38657
|
var identityOutput = exports_external.strictObject({
|
|
38666
38658
|
id: text11,
|
|
@@ -38670,19 +38662,19 @@ var identityOutput = exports_external.strictObject({
|
|
|
38670
38662
|
requiredClaims: requiredClaimsSchema
|
|
38671
38663
|
});
|
|
38672
38664
|
|
|
38673
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38665
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/whoami.js
|
|
38674
38666
|
var whoamiInput = exports_external.strictObject({});
|
|
38675
38667
|
var whoamiOutput = identityOutput;
|
|
38676
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38668
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/contracts/whois.js
|
|
38677
38669
|
var text12 = exports_external.string().min(1);
|
|
38678
38670
|
var whoisInput = exports_external.strictObject({ issuer: text12, subject: text12 });
|
|
38679
38671
|
var whoisOutput = identityOutput.nullable();
|
|
38680
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38672
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/define.js
|
|
38681
38673
|
function defineSyscall(config2) {
|
|
38682
38674
|
return fn(config2);
|
|
38683
38675
|
}
|
|
38684
38676
|
|
|
38685
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38677
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/admit.js
|
|
38686
38678
|
var Admit = defineSyscall({
|
|
38687
38679
|
description: "Admit one remote path-only attempt and return its request-scoped execution target.",
|
|
38688
38680
|
auth: "authenticated",
|
|
@@ -38692,7 +38684,7 @@ var Admit = defineSyscall({
|
|
|
38692
38684
|
inheritance: "sealed"
|
|
38693
38685
|
});
|
|
38694
38686
|
|
|
38695
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38687
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/can.js
|
|
38696
38688
|
var Can = defineSyscall({
|
|
38697
38689
|
description: "Determine whether the current authenticated Identity satisfies one installed Policy for one object.",
|
|
38698
38690
|
auth: "authenticated",
|
|
@@ -38702,7 +38694,7 @@ var Can = defineSyscall({
|
|
|
38702
38694
|
inheritance: "default"
|
|
38703
38695
|
});
|
|
38704
38696
|
|
|
38705
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38697
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/delegate.js
|
|
38706
38698
|
var Delegate = defineSyscall({
|
|
38707
38699
|
description: "Issue one strictly attenuated credential from this authenticated Identity.",
|
|
38708
38700
|
auth: "authenticated",
|
|
@@ -38711,7 +38703,7 @@ var Delegate = defineSyscall({
|
|
|
38711
38703
|
inheritance: "default"
|
|
38712
38704
|
});
|
|
38713
38705
|
|
|
38714
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38706
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/install.js
|
|
38715
38707
|
var Install = defineSyscall({
|
|
38716
38708
|
description: "Durably install one or more exact Schema targets and return a terminal receipt.",
|
|
38717
38709
|
auth: "authorized",
|
|
@@ -38719,7 +38711,7 @@ var Install = defineSyscall({
|
|
|
38719
38711
|
output: installOutput
|
|
38720
38712
|
});
|
|
38721
38713
|
|
|
38722
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38714
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/introspect.js
|
|
38723
38715
|
var Introspect = defineSyscall({
|
|
38724
38716
|
description: "Return bounded installed-Publication evidence to an authenticated Kernel session.",
|
|
38725
38717
|
auth: "authenticated",
|
|
@@ -38727,7 +38719,7 @@ var Introspect = defineSyscall({
|
|
|
38727
38719
|
output: output.binary()
|
|
38728
38720
|
});
|
|
38729
38721
|
|
|
38730
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38722
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/journal.js
|
|
38731
38723
|
var Journal = defineSyscall({
|
|
38732
38724
|
description: "Read one authorized page of semantic operations from the kernel journal.",
|
|
38733
38725
|
auth: "authorized",
|
|
@@ -38735,7 +38727,7 @@ var Journal = defineSyscall({
|
|
|
38735
38727
|
output: journalOutput
|
|
38736
38728
|
});
|
|
38737
38729
|
|
|
38738
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38730
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/mint.js
|
|
38739
38731
|
var Mint = defineSyscall({
|
|
38740
38732
|
description: "Resolve and sign one authorized Grant credential.",
|
|
38741
38733
|
auth: "authorized",
|
|
@@ -38745,7 +38737,7 @@ var Mint = defineSyscall({
|
|
|
38745
38737
|
inheritance: "default"
|
|
38746
38738
|
});
|
|
38747
38739
|
|
|
38748
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38740
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/mutate.js
|
|
38749
38741
|
var Mutate = defineSyscall({
|
|
38750
38742
|
description: "Validate, authorize, and commit one atomic graph mutation.",
|
|
38751
38743
|
auth: "authorized",
|
|
@@ -38753,7 +38745,7 @@ var Mutate = defineSyscall({
|
|
|
38753
38745
|
output: mutateOutput
|
|
38754
38746
|
});
|
|
38755
38747
|
|
|
38756
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38748
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/provision.js
|
|
38757
38749
|
var Provision = defineSyscall({
|
|
38758
38750
|
description: "Atomically execute a graph transition whose designated Identities are born complete.",
|
|
38759
38751
|
auth: "authorized",
|
|
@@ -38761,7 +38753,7 @@ var Provision = defineSyscall({
|
|
|
38761
38753
|
output: provisionOutput
|
|
38762
38754
|
});
|
|
38763
38755
|
|
|
38764
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38756
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/query.js
|
|
38765
38757
|
var Query = defineSyscall({
|
|
38766
38758
|
description: "Execute one finite authorized graph query.",
|
|
38767
38759
|
auth: "authorized",
|
|
@@ -38769,7 +38761,7 @@ var Query = defineSyscall({
|
|
|
38769
38761
|
output: queryOutput
|
|
38770
38762
|
});
|
|
38771
38763
|
|
|
38772
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38764
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/uninstall.js
|
|
38773
38765
|
var Uninstall = defineSyscall({
|
|
38774
38766
|
description: "Durably uninstall one Domain installation epoch and return its terminal receipt.",
|
|
38775
38767
|
auth: "authorized",
|
|
@@ -38777,7 +38769,7 @@ var Uninstall = defineSyscall({
|
|
|
38777
38769
|
output: uninstallOutput
|
|
38778
38770
|
});
|
|
38779
38771
|
|
|
38780
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38772
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/view-resolve.js
|
|
38781
38773
|
var ViewResolve = defineSyscall({
|
|
38782
38774
|
description: "Resolve the installed View declarations applicable to one authorized graph target.",
|
|
38783
38775
|
auth: "authorized",
|
|
@@ -38787,7 +38779,7 @@ var ViewResolve = defineSyscall({
|
|
|
38787
38779
|
inheritance: "sealed"
|
|
38788
38780
|
});
|
|
38789
38781
|
|
|
38790
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38782
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/whoami.js
|
|
38791
38783
|
var Whoami = defineSyscall({
|
|
38792
38784
|
description: "Return the Identity authenticated for this invocation.",
|
|
38793
38785
|
auth: "authenticated",
|
|
@@ -38797,7 +38789,7 @@ var Whoami = defineSyscall({
|
|
|
38797
38789
|
inheritance: "default"
|
|
38798
38790
|
});
|
|
38799
38791
|
|
|
38800
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38792
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/whois.js
|
|
38801
38793
|
var Whois = defineSyscall({
|
|
38802
38794
|
description: "Resolve one issuer-and-subject Identity.",
|
|
38803
38795
|
auth: "authorized",
|
|
@@ -38807,7 +38799,7 @@ var Whois = defineSyscall({
|
|
|
38807
38799
|
inheritance: "default"
|
|
38808
38800
|
});
|
|
38809
38801
|
|
|
38810
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38802
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/declarations/index.js
|
|
38811
38803
|
var Functions = Object.freeze({
|
|
38812
38804
|
query: Query,
|
|
38813
38805
|
mutate: Mutate,
|
|
@@ -38831,7 +38823,7 @@ var ViewMethods = Object.freeze({
|
|
|
38831
38823
|
resolve: ViewResolve
|
|
38832
38824
|
});
|
|
38833
38825
|
|
|
38834
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38826
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/callables/function-interface.js
|
|
38835
38827
|
var FunctionInterface = nodeInterface({
|
|
38836
38828
|
description: "Ordinary projection-node contract for a standalone Function or Node Method declaration.",
|
|
38837
38829
|
extends: [Descriptable],
|
|
@@ -38846,13 +38838,13 @@ var FunctionInterface = nodeInterface({
|
|
|
38846
38838
|
}
|
|
38847
38839
|
});
|
|
38848
38840
|
|
|
38849
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38841
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/callables/function.js
|
|
38850
38842
|
var Function2 = nodeClass({
|
|
38851
38843
|
description: "The installed projection of a standalone Function or Node Method declaration; it is not a principal.",
|
|
38852
38844
|
implements: [FunctionInterface],
|
|
38853
38845
|
methods: FunctionMethods
|
|
38854
38846
|
});
|
|
38855
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38847
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/callables/method-of.js
|
|
38856
38848
|
var MethodOf = edgeClass.directed({
|
|
38857
38849
|
source: { as: "method", accepts: [Function2], outgoing: "0..1" },
|
|
38858
38850
|
target: { as: "owner", accepts: [Class2, Interface], incoming: "0..*" },
|
|
@@ -38863,7 +38855,7 @@ var MethodOf = edgeClass.directed({
|
|
|
38863
38855
|
static: property({ type: "boolean" }, { visibility: "private" })
|
|
38864
38856
|
}
|
|
38865
38857
|
});
|
|
38866
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38858
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/callables/ui.js
|
|
38867
38859
|
var UI = nodeInterface({
|
|
38868
38860
|
description: "Ordinary projection-node contract for a declarative browser surface.",
|
|
38869
38861
|
extends: [Descriptable],
|
|
@@ -38871,13 +38863,13 @@ var UI = nodeInterface({
|
|
|
38871
38863
|
auth: { enum: ["required", "optional", "public"] }
|
|
38872
38864
|
}
|
|
38873
38865
|
});
|
|
38874
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38866
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/callables/view.js
|
|
38875
38867
|
var View = nodeClass({
|
|
38876
38868
|
description: "The installed projection of a declarative browser surface; it is not a principal.",
|
|
38877
38869
|
implements: [UI],
|
|
38878
38870
|
methods: ViewMethods
|
|
38879
38871
|
});
|
|
38880
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38872
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/identity/identity.js
|
|
38881
38873
|
var Identity = nodeInterface({
|
|
38882
38874
|
description: "A principal that can be authenticated and can originate persistent authority facts.",
|
|
38883
38875
|
properties: {
|
|
@@ -38892,7 +38884,7 @@ var Identity = nodeInterface({
|
|
|
38892
38884
|
methods: IdentityMethods
|
|
38893
38885
|
});
|
|
38894
38886
|
|
|
38895
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38887
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/identity/composition.js
|
|
38896
38888
|
function identityComposition(role, description2) {
|
|
38897
38889
|
return edgeClass.directed({
|
|
38898
38890
|
source: { as: "subject", accepts: [Identity], outgoing: "0..*" },
|
|
@@ -38903,13 +38895,13 @@ function identityComposition(role, description2) {
|
|
|
38903
38895
|
});
|
|
38904
38896
|
}
|
|
38905
38897
|
|
|
38906
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38898
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/identity/constrained-by.js
|
|
38907
38899
|
var ConstrainedBy = identityComposition("constraint", "An Identity intersects its effective authority with another Identity.");
|
|
38908
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38900
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/identity/excluded-from.js
|
|
38909
38901
|
var ExcludedFrom = identityComposition("excluded", "An Identity excludes another Identity from its effective authority.");
|
|
38910
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38902
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/identity/extends-with.js
|
|
38911
38903
|
var ExtendsWith = identityComposition("extension", "An Identity unions its effective authority with another Identity.");
|
|
38912
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38904
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/domain/domain.js
|
|
38913
38905
|
var Domain2 = nodeClass({
|
|
38914
38906
|
description: "A stable Domain principal and the active projection of one canonical DomainSchema revision.",
|
|
38915
38907
|
implements: [Identity],
|
|
@@ -38923,7 +38915,7 @@ var Domain2 = nodeClass({
|
|
|
38923
38915
|
schemaRevision: property({ type: "string", pattern: "sha256:[0-9a-f]{64}" }, { visibility: "private" })
|
|
38924
38916
|
}
|
|
38925
38917
|
});
|
|
38926
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38918
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/domain/of-domain.js
|
|
38927
38919
|
var OfDomain = edgeClass.directed({
|
|
38928
38920
|
source: { as: "member", accepts: [Node], outgoing: "0..1" },
|
|
38929
38921
|
target: { as: "domain", accepts: [Domain2], incoming: "0..*" },
|
|
@@ -38934,22 +38926,22 @@ var OfDomain = edgeClass.directed({
|
|
|
38934
38926
|
member: property({ type: "string", minLength: 3 }, { visibility: "private" })
|
|
38935
38927
|
}
|
|
38936
38928
|
});
|
|
38937
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38929
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/callables/view-for.js
|
|
38938
38930
|
var ViewFor = edgeClass.directed({
|
|
38939
38931
|
source: { as: "view", accepts: [View], outgoing: "1..*" },
|
|
38940
38932
|
target: { as: "target", accepts: [Class2, Domain2, Interface], incoming: "0..*" },
|
|
38941
38933
|
description: "A View declaration targets one Domain or a non-empty set of Classes and Interfaces.",
|
|
38942
38934
|
implements: [Edge]
|
|
38943
38935
|
});
|
|
38944
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38936
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/can-use.js
|
|
38945
38937
|
var CanUse = authorityRelation(Function2, "function", "An Identity may invoke the exact target Function declaration.");
|
|
38946
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38938
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/policy.js
|
|
38947
38939
|
var Policy = nodeClass({
|
|
38948
38940
|
description: "The installed graph projection of one named closed Policy declaration owned by a Domain.",
|
|
38949
38941
|
implements: [Descriptable]
|
|
38950
38942
|
});
|
|
38951
38943
|
|
|
38952
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38944
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/governed-by.js
|
|
38953
38945
|
var GovernedBy = edgeClass.directed({
|
|
38954
38946
|
source: { as: "class", accepts: [Class2], outgoing: "0..*" },
|
|
38955
38947
|
target: { as: "policy", accepts: [Policy], incoming: "0..*" },
|
|
@@ -38960,7 +38952,7 @@ var GovernedBy = edgeClass.directed({
|
|
|
38960
38952
|
},
|
|
38961
38953
|
constraints: { noSelf: true }
|
|
38962
38954
|
});
|
|
38963
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38955
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/authority/operations.js
|
|
38964
38956
|
var AuthorityOperationOrder = Object.freeze([
|
|
38965
38957
|
"use",
|
|
38966
38958
|
"create",
|
|
@@ -38981,12 +38973,12 @@ var AuthorityOperations = Object.freeze({
|
|
|
38981
38973
|
grant: node(Operation, { name: "grant" }),
|
|
38982
38974
|
revoke: node(Operation, { name: "revoke" })
|
|
38983
38975
|
});
|
|
38984
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38976
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/core/operations/index.js
|
|
38985
38977
|
var OperationCore = Object.freeze({
|
|
38986
38978
|
nodes: AuthorityOperations,
|
|
38987
38979
|
edges: Object.freeze([])
|
|
38988
38980
|
});
|
|
38989
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
38981
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/schema.js
|
|
38990
38982
|
var KernelDefinitions = {
|
|
38991
38983
|
interfaces: {
|
|
38992
38984
|
Descriptable,
|
|
@@ -39063,7 +39055,7 @@ var KernelRootFunctions = Object.freeze([
|
|
|
39063
39055
|
K.Identity.mint,
|
|
39064
39056
|
K.View.resolve
|
|
39065
39057
|
].sort((left, right) => left.key < right.key ? -1 : left.key > right.key ? 1 : 0));
|
|
39066
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39058
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/descriptors/model.js
|
|
39067
39059
|
function functionSyscall(callable) {
|
|
39068
39060
|
const ref = Object.freeze({
|
|
39069
39061
|
origin: callable.origin,
|
|
@@ -39101,7 +39093,7 @@ function methodSyscall(callable) {
|
|
|
39101
39093
|
});
|
|
39102
39094
|
}
|
|
39103
39095
|
|
|
39104
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39096
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/descriptors/functions.js
|
|
39105
39097
|
var query = functionSyscall(K.query);
|
|
39106
39098
|
var mutate = functionSyscall(K.mutate);
|
|
39107
39099
|
var provision = functionSyscall(K.provision);
|
|
@@ -39109,27 +39101,27 @@ var install = functionSyscall(K.install);
|
|
|
39109
39101
|
var introspect = functionSyscall(K.introspect);
|
|
39110
39102
|
var uninstall = functionSyscall(K.uninstall);
|
|
39111
39103
|
var journal = functionSyscall(K.journal);
|
|
39112
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39104
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/descriptors/identity.js
|
|
39113
39105
|
var delegate = methodSyscall(K.Identity.delegate);
|
|
39114
39106
|
var can = methodSyscall(K.Identity.can);
|
|
39115
39107
|
var whoami = methodSyscall(K.Identity.whoami);
|
|
39116
39108
|
var whois = methodSyscall(K.Identity.whois);
|
|
39117
39109
|
var mint = methodSyscall(K.Identity.mint);
|
|
39118
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39110
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/descriptors/function.js
|
|
39119
39111
|
var Admit2 = K.$.class("Function").$.method("admit");
|
|
39120
39112
|
var admit2 = methodSyscall(Admit2);
|
|
39121
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39113
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/syscalls/descriptors/view.js
|
|
39122
39114
|
var resolve = methodSyscall(K.View.resolve);
|
|
39123
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39115
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/projection/keys.js
|
|
39124
39116
|
var encoder8 = new TextEncoder;
|
|
39125
39117
|
|
|
39126
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39118
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/projection/project.js
|
|
39127
39119
|
var EMPTY_PROPERTIES = normalizeProperties({});
|
|
39128
|
-
// node_modules/.pnpm/@astrale-os+kernel-core@
|
|
39120
|
+
// node_modules/.pnpm/@astrale-os+kernel-core@0.9.0-beta.3_typescript@6.0.3/node_modules/@astrale-os/kernel-core/dist/schema/kernel/projection/compile.js
|
|
39129
39121
|
var EMPTY_LOOKUP = Object.freeze({ get: () => {
|
|
39130
39122
|
return;
|
|
39131
39123
|
} });
|
|
39132
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39124
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/requirements.js
|
|
39133
39125
|
var ClassOperationOrder = Object.freeze([
|
|
39134
39126
|
"create",
|
|
39135
39127
|
"read",
|
|
@@ -39292,7 +39284,7 @@ function hasCallable(dependency, reference2) {
|
|
|
39292
39284
|
return declaration2?.family === "node" && declaration2.methods[method] !== undefined;
|
|
39293
39285
|
}
|
|
39294
39286
|
|
|
39295
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39287
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/route.js
|
|
39296
39288
|
var ROUTE_NAME = /^[A-Za-z][A-Za-z0-9_-]{0,63}$/u;
|
|
39297
39289
|
function admitRoute(input, origin) {
|
|
39298
39290
|
const value = record2(input, "PUBLICATION_ROUTE_INVALID", "Published HTTP route is invalid.");
|
|
@@ -39411,7 +39403,7 @@ function stringRecord(input) {
|
|
|
39411
39403
|
return Object.freeze(output2);
|
|
39412
39404
|
}
|
|
39413
39405
|
|
|
39414
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39406
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/schema.js
|
|
39415
39407
|
function admitSchema(input) {
|
|
39416
39408
|
const value = record2(input, "PUBLICATION_INVALID", "Published schema is invalid.");
|
|
39417
39409
|
exact(value, ["revision", "bundle"], "PUBLICATION_INVALID");
|
|
@@ -39424,7 +39416,7 @@ function admitSchema(input) {
|
|
|
39424
39416
|
});
|
|
39425
39417
|
}
|
|
39426
39418
|
|
|
39427
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39419
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/publication.js
|
|
39428
39420
|
var PATH = "/.well-known/astrale/domain.json";
|
|
39429
39421
|
var MEDIA_TYPE = "application/vnd.astrale.domain-publication+json;v=2";
|
|
39430
39422
|
function url2(input) {
|
|
@@ -39591,7 +39583,7 @@ function withoutEtag(input) {
|
|
|
39591
39583
|
const { etag: _etag, ...content } = input;
|
|
39592
39584
|
return content;
|
|
39593
39585
|
}
|
|
39594
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39586
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery/index.js
|
|
39595
39587
|
var exports_delivery = {};
|
|
39596
39588
|
__export(exports_delivery, {
|
|
39597
39589
|
ATTESTATION_MAX_BYTES: () => ATTESTATION_MAX_BYTES,
|
|
@@ -39604,7 +39596,7 @@ __export(exports_delivery, {
|
|
|
39604
39596
|
acceptRequest: () => acceptRequest
|
|
39605
39597
|
});
|
|
39606
39598
|
|
|
39607
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39599
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery/error.js
|
|
39608
39600
|
class DeliveryError extends Error {
|
|
39609
39601
|
code;
|
|
39610
39602
|
name = "DeliveryError";
|
|
@@ -39617,20 +39609,20 @@ function fail3(code, message2, cause) {
|
|
|
39617
39609
|
throw new DeliveryError(code, message2, cause === undefined ? undefined : { cause });
|
|
39618
39610
|
}
|
|
39619
39611
|
|
|
39620
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39612
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery/limits.js
|
|
39621
39613
|
var PURPOSE = "astrale.domain.delivery.v1";
|
|
39622
39614
|
var NONCE_MIN_LENGTH = 16;
|
|
39623
39615
|
var NONCE_MAX_LENGTH = 256;
|
|
39624
39616
|
var ATTESTATION_MAX_BYTES = 16384;
|
|
39625
39617
|
|
|
39626
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39618
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery/attestation.js
|
|
39627
39619
|
function acceptAttestation(input) {
|
|
39628
39620
|
if (typeof input !== "string" || input.length === 0 || new TextEncoder().encode(input).byteLength > ATTESTATION_MAX_BYTES) {
|
|
39629
39621
|
fail3("DELIVERY_INVALID", "Delivery attestation is invalid.");
|
|
39630
39622
|
}
|
|
39631
39623
|
return input;
|
|
39632
39624
|
}
|
|
39633
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39625
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery/claims.js
|
|
39634
39626
|
function acceptClaims(input) {
|
|
39635
39627
|
if (input === null || typeof input !== "object" || Array.isArray(input)) {
|
|
39636
39628
|
fail3("DELIVERY_CLAIMS_INVALID", "Expected delivery claims.");
|
|
@@ -39679,7 +39671,7 @@ function deepFreeze5(value) {
|
|
|
39679
39671
|
deepFreeze5(nested);
|
|
39680
39672
|
return Object.freeze(value);
|
|
39681
39673
|
}
|
|
39682
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39674
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery/delivery.js
|
|
39683
39675
|
function accept13(input) {
|
|
39684
39676
|
if (input === null || typeof input !== "object" || Array.isArray(input)) {
|
|
39685
39677
|
fail3("DELIVERY_INVALID", "Expected a Delivery object.");
|
|
@@ -39706,7 +39698,7 @@ function deepFreeze6(value) {
|
|
|
39706
39698
|
deepFreeze6(nested);
|
|
39707
39699
|
return Object.freeze(value);
|
|
39708
39700
|
}
|
|
39709
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39701
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/delivery/request.js
|
|
39710
39702
|
function acceptRequest(input) {
|
|
39711
39703
|
if (input === null || typeof input !== "object" || Array.isArray(input)) {
|
|
39712
39704
|
fail3("DELIVERY_REQUEST_INVALID", "Expected a Delivery request.");
|
|
@@ -39746,7 +39738,7 @@ function acceptRequest(input) {
|
|
|
39746
39738
|
etag: value.etag
|
|
39747
39739
|
});
|
|
39748
39740
|
}
|
|
39749
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39741
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/publication/reference.js
|
|
39750
39742
|
function reference2(input) {
|
|
39751
39743
|
return deepFreeze4({
|
|
39752
39744
|
origin: input.origin,
|
|
@@ -39807,24 +39799,25 @@ function acceptIssuer2(input) {
|
|
|
39807
39799
|
throw cause;
|
|
39808
39800
|
}
|
|
39809
39801
|
}
|
|
39810
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39802
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/redirect.js
|
|
39811
39803
|
var ROUTE_FIELDS = new Set(["endpoint", "via"]);
|
|
39812
39804
|
var VIA_FIELDS = new Set(["kind", "publication", "issuer"]);
|
|
39813
|
-
var
|
|
39814
|
-
|
|
39805
|
+
var REDIRECTION_FIELDS = new Set(["route", "credential", "trace"]);
|
|
39806
|
+
var REDIRECT_RESPONSE_FIELDS = new Set(["kind", "requestId", "invocation", "redirect"]);
|
|
39807
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/routing.js
|
|
39815
39808
|
var VIA_FIELDS2 = new Set(["kind", "publication", "issuer"]);
|
|
39816
39809
|
var REFRESH_FIELDS = new Set(["kind", "stale"]);
|
|
39817
39810
|
|
|
39818
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39811
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/schema.js
|
|
39819
39812
|
var FIELDS7 = new Set(["target", "revision"]);
|
|
39820
39813
|
|
|
39821
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39814
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/target.js
|
|
39822
39815
|
var CALL_FIELDS = new Set(["target", "input"]);
|
|
39823
39816
|
|
|
39824
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39817
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/request.js
|
|
39825
39818
|
var REQUEST_FIELDS = new Set([
|
|
39826
39819
|
"version",
|
|
39827
|
-
"
|
|
39820
|
+
"requestId",
|
|
39828
39821
|
"call",
|
|
39829
39822
|
"credential",
|
|
39830
39823
|
"delegate",
|
|
@@ -39833,23 +39826,23 @@ var REQUEST_FIELDS = new Set([
|
|
|
39833
39826
|
"idempotencyKey",
|
|
39834
39827
|
"trace"
|
|
39835
39828
|
]);
|
|
39836
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39837
|
-
var FIELDS8 = new Set(["kind", "
|
|
39829
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/stale-route.js
|
|
39830
|
+
var FIELDS8 = new Set(["kind", "requestId", "invocation", "current"]);
|
|
39838
39831
|
|
|
39839
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39840
|
-
var SUCCESS_FIELDS = new Set(["result", "
|
|
39841
|
-
var ERROR_FIELDS = new Set(["error", "
|
|
39842
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39832
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/response.js
|
|
39833
|
+
var SUCCESS_FIELDS = new Set(["result", "requestId", "invocation"]);
|
|
39834
|
+
var ERROR_FIELDS = new Set(["error", "requestId", "invocation"]);
|
|
39835
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/invocation/websocket/binary.js
|
|
39843
39836
|
var MAGIC = new Uint8Array([65, 83, 84, 66, 1]);
|
|
39844
39837
|
var encoder9 = new TextEncoder;
|
|
39845
39838
|
var decoder4 = new TextDecoder("utf-8", { fatal: true });
|
|
39846
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39839
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/routes/routing.js
|
|
39847
39840
|
var HTTP_ROUTE_PUBLICATION = "if-match";
|
|
39848
39841
|
var HTTP_ROUTE_ISSUER = "x-astrale-issuer";
|
|
39849
39842
|
var HTTP_ROUTE_STALE = "x-astrale-route-stale";
|
|
39850
39843
|
var HTTP_ROUTE_MISS = "x-astrale-route-miss";
|
|
39851
39844
|
|
|
39852
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39845
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/routes/mapping.js
|
|
39853
39846
|
var RESERVED_HEADERS = new Set([
|
|
39854
39847
|
HTTP_IDEMPOTENCY_KEY,
|
|
39855
39848
|
HTTP_ROUTE_ISSUER,
|
|
@@ -39858,7 +39851,7 @@ var RESERVED_HEADERS = new Set([
|
|
|
39858
39851
|
HTTP_ROUTE_STALE
|
|
39859
39852
|
]);
|
|
39860
39853
|
|
|
39861
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39854
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/index.js
|
|
39862
39855
|
var exports_issuer2 = {};
|
|
39863
39856
|
__export(exports_issuer2, {
|
|
39864
39857
|
DiscoveryError: () => DiscoveryError,
|
|
@@ -39871,7 +39864,7 @@ __export(exports_issuer2, {
|
|
|
39871
39864
|
paths: () => paths
|
|
39872
39865
|
});
|
|
39873
39866
|
|
|
39874
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39867
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/error.js
|
|
39875
39868
|
class DiscoveryError extends Error {
|
|
39876
39869
|
code;
|
|
39877
39870
|
name = "DiscoveryError";
|
|
@@ -39884,7 +39877,7 @@ function fail5(code, message2, cause) {
|
|
|
39884
39877
|
throw new DiscoveryError(code, message2, cause === undefined ? undefined : { cause });
|
|
39885
39878
|
}
|
|
39886
39879
|
|
|
39887
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39880
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/url.js
|
|
39888
39881
|
function acceptIssuer3(input) {
|
|
39889
39882
|
if (typeof input !== "string") {
|
|
39890
39883
|
fail5("ISSUER_DISCOVERY_INVALID", "Issuer must be an absolute HTTP(S) URL.");
|
|
@@ -39911,7 +39904,7 @@ function acceptIssuer3(input) {
|
|
|
39911
39904
|
}
|
|
39912
39905
|
}
|
|
39913
39906
|
|
|
39914
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39907
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/configuration.js
|
|
39915
39908
|
var ALGORITHM = /^[A-Za-z0-9_-]{1,64}$/u;
|
|
39916
39909
|
function configuration(issuer, algorithms, options = {}) {
|
|
39917
39910
|
const admitted = acceptIssuer3(issuer);
|
|
@@ -39993,14 +39986,14 @@ function deepFreeze7(input) {
|
|
|
39993
39986
|
deepFreeze7(value);
|
|
39994
39987
|
return Object.freeze(input);
|
|
39995
39988
|
}
|
|
39996
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39989
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/hosted.js
|
|
39997
39990
|
var THUMBPRINT = /^[A-Za-z0-9_-]{43}$/u;
|
|
39998
39991
|
function hosted(base, thumbprint2) {
|
|
39999
39992
|
if (typeof thumbprint2 !== "string" || !THUMBPRINT.test(thumbprint2))
|
|
40000
39993
|
return;
|
|
40001
39994
|
return acceptIssuer3(`${acceptIssuer3(base)}/iss/${thumbprint2}`);
|
|
40002
39995
|
}
|
|
40003
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
39996
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/key-set.js
|
|
40004
39997
|
function keySet(keys, algorithms) {
|
|
40005
39998
|
if (!Array.isArray(keys))
|
|
40006
39999
|
fail5("ISSUER_KEY_SET_INVALID", "Issuer keys must be an array.");
|
|
@@ -40044,7 +40037,7 @@ function deepFreeze8(input) {
|
|
|
40044
40037
|
deepFreeze8(value);
|
|
40045
40038
|
return Object.freeze(input);
|
|
40046
40039
|
}
|
|
40047
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
40040
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/paths.js
|
|
40048
40041
|
function paths(issuer) {
|
|
40049
40042
|
const admitted = acceptIssuer3(issuer);
|
|
40050
40043
|
const pathname = new URL(admitted).pathname.replace(/\/+$/u, "");
|
|
@@ -40054,7 +40047,7 @@ function paths(issuer) {
|
|
|
40054
40047
|
tokenExchange: `${pathname}/.well-known/astrale/token`
|
|
40055
40048
|
});
|
|
40056
40049
|
}
|
|
40057
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
40050
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/issuer/exchange.js
|
|
40058
40051
|
var exports_exchange = {};
|
|
40059
40052
|
__export(exports_exchange, {
|
|
40060
40053
|
MEDIA_TYPE: () => MEDIA_TYPE4,
|
|
@@ -40193,9 +40186,9 @@ function nonEmptyText(input, label) {
|
|
|
40193
40186
|
}
|
|
40194
40187
|
return input;
|
|
40195
40188
|
}
|
|
40196
|
-
// node_modules/.pnpm/@astrale-os+kernel-protocol@
|
|
40189
|
+
// node_modules/.pnpm/@astrale-os+kernel-protocol@0.5.0-beta.3_msgpackr@1.12.1_typescript@6.0.3/node_modules/@astrale-os/kernel-protocol/dist/routes/reservation.js
|
|
40197
40190
|
var STATIC_RESERVED_PATHS = new Set([PATH]);
|
|
40198
|
-
// node_modules/.pnpm/@astrale-os+sdk@
|
|
40191
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.4_@astrale-os+ox@0.1.2_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/auth/exchange.js
|
|
40199
40192
|
var paths2 = exports_issuer2.paths;
|
|
40200
40193
|
var acceptConfiguration2 = exports_issuer2.acceptConfiguration;
|
|
40201
40194
|
var MEDIA_TYPE5 = exports_issuer2.exchange.MEDIA_TYPE;
|