@astrale-os/cli 1.0.0-beta.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astrale.js +57 -53
- package/dist/public/connect-core.js +9 -9
- package/dist/public/keys/index.js +1 -1
- package/dist/public/paths/index.js +1 -1
- package/package.json +4 -4
- package/viewer/dist/main.js +1 -1
package/dist/astrale.js
CHANGED
|
@@ -9738,7 +9738,7 @@ var package_default;
|
|
|
9738
9738
|
var init_package = __esm(() => {
|
|
9739
9739
|
package_default = {
|
|
9740
9740
|
name: "@astrale-os/cli",
|
|
9741
|
-
version: "1.0.0-beta.
|
|
9741
|
+
version: "1.0.0-beta.3",
|
|
9742
9742
|
description: "Astrale CLI — connect to existing Astrale kernels",
|
|
9743
9743
|
keywords: [
|
|
9744
9744
|
"astrale",
|
|
@@ -9793,7 +9793,7 @@ var init_package = __esm(() => {
|
|
|
9793
9793
|
prepare: "husky",
|
|
9794
9794
|
build: "bun scripts/build.ts",
|
|
9795
9795
|
prepack: "pnpm run package:check",
|
|
9796
|
-
"package:check": "pnpm run typecheck && pnpm run test && pnpm run build && node scripts/verify-public-exports.mjs && node scripts/verify-
|
|
9796
|
+
"package:check": "pnpm run typecheck && pnpm run test && pnpm run build && node scripts/verify-public-exports.mjs && node scripts/verify-public-dependency-boundary.mjs",
|
|
9797
9797
|
typecheck: "tsgo --noEmit && tsgo --noEmit -p tsconfig.tests.json && tsgo --noEmit -p viewer && tsgo --noEmit -p studio",
|
|
9798
9798
|
lint: "oxlint .",
|
|
9799
9799
|
"lint:fix": "oxlint --fix .",
|
|
@@ -9817,8 +9817,8 @@ var init_package = __esm(() => {
|
|
|
9817
9817
|
devDependencies: {
|
|
9818
9818
|
"@astrale-os/kernel-client": ">=0.6.0-beta.4 <1.0.0",
|
|
9819
9819
|
"@astrale-os/kernel-protocol": ">=0.5.0-beta.3 <1.0.0",
|
|
9820
|
-
"@astrale-os/ox": ">=0.1.
|
|
9821
|
-
"@astrale-os/sdk": ">=0.5.0-beta.
|
|
9820
|
+
"@astrale-os/ox": ">=0.1.3 <1.0.0",
|
|
9821
|
+
"@astrale-os/sdk": ">=0.5.0-beta.9 <1.0.0",
|
|
9822
9822
|
"@astrale-os/shell": ">=0.3.8-beta.2 <1.0.0",
|
|
9823
9823
|
"@astrale/commitlint-config": "jsr:~2.0.1",
|
|
9824
9824
|
"@commitlint/cli": "~20.3.1",
|
|
@@ -58886,7 +58886,7 @@ var init_dist2 = __esm(() => {
|
|
|
58886
58886
|
init_issuer2();
|
|
58887
58887
|
});
|
|
58888
58888
|
|
|
58889
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
58889
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_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
|
|
58890
58890
|
var exports_exchange2 = {};
|
|
58891
58891
|
__export(exports_exchange2, {
|
|
58892
58892
|
MEDIA_TYPE: () => MEDIA_TYPE6,
|
|
@@ -58905,7 +58905,7 @@ var init_exchange2 = __esm(() => {
|
|
|
58905
58905
|
acceptErrorResponse2 = exports_issuer2.exchange.acceptErrorResponse;
|
|
58906
58906
|
});
|
|
58907
58907
|
|
|
58908
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
58908
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/auth/index.js
|
|
58909
58909
|
var init_auth2 = __esm(() => {
|
|
58910
58910
|
init_exchange2();
|
|
58911
58911
|
init_auth();
|
|
@@ -66445,7 +66445,7 @@ var init_log = __esm(() => {
|
|
|
66445
66445
|
IS_CI = !!(process.env.CI || process.env.CONTINUOUS_INTEGRATION || process.env.NO_SPINNER);
|
|
66446
66446
|
});
|
|
66447
66447
|
|
|
66448
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66448
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/capability/define.js
|
|
66449
66449
|
function capability(input) {
|
|
66450
66450
|
const definition3 = acceptRecord(input, "Capability definition");
|
|
66451
66451
|
exactKeys(definition3, ["id", "operations"], "Capability definition");
|
|
@@ -66577,7 +66577,7 @@ var init_define2 = __esm(() => {
|
|
|
66577
66577
|
defineCapability = Object.assign((input) => capability(input), { operation, implement });
|
|
66578
66578
|
});
|
|
66579
66579
|
|
|
66580
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66580
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/capability/client.js
|
|
66581
66581
|
function captureCapabilityRequirements(requirements) {
|
|
66582
66582
|
const source2 = acceptMap(requirements, "Capability requirements");
|
|
66583
66583
|
const names = ownStringKeys2(source2, "Capability requirements");
|
|
@@ -66611,7 +66611,7 @@ var init_client = __esm(() => {
|
|
|
66611
66611
|
init_define2();
|
|
66612
66612
|
});
|
|
66613
66613
|
|
|
66614
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66614
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/view/admission.js
|
|
66615
66615
|
function isCapturedFrontendArtifact(input) {
|
|
66616
66616
|
return admittedFrontendArtifacts.has(input);
|
|
66617
66617
|
}
|
|
@@ -66619,7 +66619,7 @@ var admittedFrontendArtifacts;
|
|
|
66619
66619
|
var init_admission15 = __esm(() => {
|
|
66620
66620
|
admittedFrontendArtifacts = new WeakSet;
|
|
66621
66621
|
});
|
|
66622
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66622
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/workflow/binding.js
|
|
66623
66623
|
function isWorkflowBinding(input) {
|
|
66624
66624
|
return input !== null && typeof input === "object" && input.kind === "workflow" && typeof input.workflow?.run === "function";
|
|
66625
66625
|
}
|
|
@@ -66628,30 +66628,30 @@ function isTriggeredHandler(input) {
|
|
|
66628
66628
|
}
|
|
66629
66629
|
var init_binding2 = () => {};
|
|
66630
66630
|
|
|
66631
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66631
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/workflow/step/inline.js
|
|
66632
66632
|
var init_inline = __esm(() => {
|
|
66633
66633
|
init_value();
|
|
66634
66634
|
});
|
|
66635
66635
|
|
|
66636
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66636
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/workflow/step/index.js
|
|
66637
66637
|
var init_step = __esm(() => {
|
|
66638
66638
|
init_inline();
|
|
66639
66639
|
});
|
|
66640
66640
|
|
|
66641
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66641
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/workflow/runner.js
|
|
66642
66642
|
var DIRECT_ACTIVATION;
|
|
66643
66643
|
var init_runner = __esm(() => {
|
|
66644
66644
|
init_step();
|
|
66645
66645
|
DIRECT_ACTIVATION = Object.freeze({ kind: "direct" });
|
|
66646
66646
|
});
|
|
66647
66647
|
|
|
66648
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66648
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/workflow/index.js
|
|
66649
66649
|
var init_workflow = __esm(() => {
|
|
66650
66650
|
init_binding2();
|
|
66651
66651
|
init_runner();
|
|
66652
66652
|
});
|
|
66653
66653
|
|
|
66654
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66654
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/domain/handlers.js
|
|
66655
66655
|
function acceptDomainHandlers(domain3, input) {
|
|
66656
66656
|
const registry2 = record6(input, "handlers");
|
|
66657
66657
|
exactKeys2(registry2, ["functions", "classes", "interfaces"], "handlers");
|
|
@@ -66736,7 +66736,7 @@ var init_handlers = __esm(() => {
|
|
|
66736
66736
|
init_workflow();
|
|
66737
66737
|
});
|
|
66738
66738
|
|
|
66739
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66739
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/domain/requirements.js
|
|
66740
66740
|
function compileRequirements(domain3, input) {
|
|
66741
66741
|
if (input === undefined)
|
|
66742
66742
|
return EmptyPublicationRequirements;
|
|
@@ -66827,7 +66827,7 @@ var init_requirements2 = __esm(() => {
|
|
|
66827
66827
|
});
|
|
66828
66828
|
});
|
|
66829
66829
|
|
|
66830
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66830
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/domain/define.js
|
|
66831
66831
|
function defineDomain(input) {
|
|
66832
66832
|
const config2 = record7(input, "defineDomain input");
|
|
66833
66833
|
const hasCapabilities = Object.hasOwn(config2, "capabilities");
|
|
@@ -66950,7 +66950,7 @@ var init_dist3 = __esm(() => {
|
|
|
66950
66950
|
init_auth();
|
|
66951
66951
|
});
|
|
66952
66952
|
|
|
66953
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
66953
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/domain/index.js
|
|
66954
66954
|
var init_domain6 = __esm(() => {
|
|
66955
66955
|
init_define3();
|
|
66956
66956
|
init_requirements2();
|
|
@@ -70047,12 +70047,12 @@ var init_dist4 = __esm(() => {
|
|
|
70047
70047
|
init_auto();
|
|
70048
70048
|
});
|
|
70049
70049
|
|
|
70050
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
70050
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/graph/node/index.js
|
|
70051
70051
|
var init_node4 = __esm(() => {
|
|
70052
70052
|
init_node();
|
|
70053
70053
|
});
|
|
70054
70054
|
|
|
70055
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
70055
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/graph/path/index.js
|
|
70056
70056
|
var init_path5 = __esm(() => {
|
|
70057
70057
|
init_path4();
|
|
70058
70058
|
});
|
|
@@ -85076,7 +85076,7 @@ var init_query3 = __esm(() => {
|
|
|
85076
85076
|
init_reference3();
|
|
85077
85077
|
});
|
|
85078
85078
|
|
|
85079
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85079
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/node.js
|
|
85080
85080
|
function compileNodeQuery(input) {
|
|
85081
85081
|
if (!isRuntimeSelection(input))
|
|
85082
85082
|
return input;
|
|
@@ -85127,14 +85127,14 @@ function selection2(definition3, builder, many, current = definitionClosure(defi
|
|
|
85127
85127
|
throw new TypeError("Node Query linked requires an accepted rich to definition.");
|
|
85128
85128
|
}
|
|
85129
85129
|
const from2 = options?.from ?? inferSide(current, relation);
|
|
85130
|
-
if (!overlaps(
|
|
85130
|
+
if (!overlaps(endpointOf(relation, from2).accepts, current)) {
|
|
85131
85131
|
throw new TypeError(`Relation ${relation.key} does not accept the current selection at its ${from2} endpoint.`);
|
|
85132
85132
|
}
|
|
85133
85133
|
const expanded = builder.expand({
|
|
85134
85134
|
via: [relation.schemaRef],
|
|
85135
85135
|
direction: from2 === "source" ? "outgoing" : "incoming"
|
|
85136
85136
|
}).filter({ satisfies: options.to.schemaRef });
|
|
85137
|
-
const opposite =
|
|
85137
|
+
const opposite = endpointOf(relation, from2 === "source" ? "target" : "source");
|
|
85138
85138
|
if (!overlaps(opposite.accepts, definitionClosure(options.to))) {
|
|
85139
85139
|
throw new TypeError(`Relation ${relation.key} does not accept ${options.to.key} at its opposite endpoint.`);
|
|
85140
85140
|
}
|
|
@@ -85147,8 +85147,8 @@ function selection2(definition3, builder, many, current = definitionClosure(defi
|
|
|
85147
85147
|
return Object.freeze(value);
|
|
85148
85148
|
}
|
|
85149
85149
|
function inferSide(current, relation) {
|
|
85150
|
-
const source2 = overlaps(
|
|
85151
|
-
const target2 = overlaps(
|
|
85150
|
+
const source2 = overlaps(endpointOf(relation, "source").accepts, current);
|
|
85151
|
+
const target2 = overlaps(endpointOf(relation, "target").accepts, current);
|
|
85152
85152
|
if (source2 === target2) {
|
|
85153
85153
|
throw new TypeError(source2 ? `Relation ${relation.key} accepts the current selection at both endpoints; declare from.` : `Relation ${relation.key} does not accept the current selection.`);
|
|
85154
85154
|
}
|
|
@@ -85178,21 +85178,25 @@ function sameRef(left, right) {
|
|
|
85178
85178
|
return left.origin === right.origin && left.kind === right.kind && left.name === right.name;
|
|
85179
85179
|
}
|
|
85180
85180
|
function isSingular(relation, side) {
|
|
85181
|
-
const count2 =
|
|
85181
|
+
const count2 = endpointCount(endpointOf(relation, side));
|
|
85182
85182
|
return count2 === "1" || count2 === "0..1";
|
|
85183
85183
|
}
|
|
85184
|
-
function
|
|
85184
|
+
function endpointOf(relation, side) {
|
|
85185
85185
|
const declaration2 = relation.definition;
|
|
85186
|
-
if (declaration2.
|
|
85186
|
+
if (declaration2.endpoints === undefined) {
|
|
85187
85187
|
throw new TypeError(`Relation ${relation.key} has no Edge endpoints.`);
|
|
85188
85188
|
}
|
|
85189
|
-
|
|
85190
|
-
|
|
85191
|
-
|
|
85192
|
-
|
|
85193
|
-
|
|
85194
|
-
|
|
85195
|
-
|
|
85189
|
+
const contract = relation.definition;
|
|
85190
|
+
if (contract.orientation === "directed")
|
|
85191
|
+
return contract.endpoints[side];
|
|
85192
|
+
return contract.endpoints[side === "source" ? 0 : 1];
|
|
85193
|
+
}
|
|
85194
|
+
function endpointCount(endpoint3) {
|
|
85195
|
+
if ("outgoing" in endpoint3)
|
|
85196
|
+
return endpoint3.outgoing;
|
|
85197
|
+
if ("incoming" in endpoint3)
|
|
85198
|
+
return endpoint3.incoming;
|
|
85199
|
+
return endpoint3.incident;
|
|
85196
85200
|
}
|
|
85197
85201
|
function isRuntimeSelection(input) {
|
|
85198
85202
|
return input !== null && typeof input === "object" && typeof input.compile === "function";
|
|
@@ -85212,7 +85216,7 @@ var init_node5 = __esm(() => {
|
|
|
85212
85216
|
});
|
|
85213
85217
|
});
|
|
85214
85218
|
|
|
85215
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85219
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/define.js
|
|
85216
85220
|
function single(definition3) {
|
|
85217
85221
|
const build = definition3.build;
|
|
85218
85222
|
return acceptDefinition({
|
|
@@ -85294,10 +85298,10 @@ var init_define4 = __esm(() => {
|
|
|
85294
85298
|
defineQuery = Object.assign(single, { composite });
|
|
85295
85299
|
});
|
|
85296
85300
|
|
|
85297
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85301
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/composite/errors.js
|
|
85298
85302
|
var init_errors10 = () => {};
|
|
85299
85303
|
|
|
85300
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85304
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/composite/plan.js
|
|
85301
85305
|
var PLAN, REFERENCE;
|
|
85302
85306
|
var init_plan = __esm(() => {
|
|
85303
85307
|
init_errors10();
|
|
@@ -85305,21 +85309,21 @@ var init_plan = __esm(() => {
|
|
|
85305
85309
|
REFERENCE = Symbol("astrale.sdk.query.reference");
|
|
85306
85310
|
});
|
|
85307
85311
|
|
|
85308
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85312
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/composite/index.js
|
|
85309
85313
|
var init_composite = __esm(() => {
|
|
85310
85314
|
init_errors10();
|
|
85311
85315
|
init_plan();
|
|
85312
85316
|
});
|
|
85313
85317
|
|
|
85314
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85318
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/errors.js
|
|
85315
85319
|
var init_errors11 = () => {};
|
|
85316
85320
|
|
|
85317
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85321
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/selection.js
|
|
85318
85322
|
var init_selection2 = __esm(() => {
|
|
85319
85323
|
init_query3();
|
|
85320
85324
|
});
|
|
85321
85325
|
|
|
85322
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85326
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/execute.js
|
|
85323
85327
|
var init_execute = __esm(() => {
|
|
85324
85328
|
init_composite();
|
|
85325
85329
|
init_errors11();
|
|
@@ -85327,7 +85331,7 @@ var init_execute = __esm(() => {
|
|
|
85327
85331
|
init_selection2();
|
|
85328
85332
|
});
|
|
85329
85333
|
|
|
85330
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85334
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/result/projection.js
|
|
85331
85335
|
function nodeValues(result, context) {
|
|
85332
85336
|
if (result.kind === "graph")
|
|
85333
85337
|
return graphNodes(result, context);
|
|
@@ -85431,12 +85435,12 @@ var init_projection3 = __esm(() => {
|
|
|
85431
85435
|
});
|
|
85432
85436
|
});
|
|
85433
85437
|
|
|
85434
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85438
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/result/index.js
|
|
85435
85439
|
var init_result5 = __esm(() => {
|
|
85436
85440
|
init_projection3();
|
|
85437
85441
|
});
|
|
85438
85442
|
|
|
85439
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
85443
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/query/index.js
|
|
85440
85444
|
var init_query4 = __esm(() => {
|
|
85441
85445
|
init_define4();
|
|
85442
85446
|
init_execute();
|
|
@@ -90519,27 +90523,27 @@ Examples:
|
|
|
90519
90523
|
}
|
|
90520
90524
|
};
|
|
90521
90525
|
});
|
|
90522
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
90526
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/mutation/errors.js
|
|
90523
90527
|
var UNKNOWN_OUTCOME_CODES;
|
|
90524
90528
|
var init_errors14 = __esm(() => {
|
|
90525
90529
|
UNKNOWN_OUTCOME_CODES = new Set(["MUTATION_OUTCOME_UNKNOWN"]);
|
|
90526
90530
|
});
|
|
90527
90531
|
|
|
90528
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
90532
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/mutation/rich.js
|
|
90529
90533
|
var init_rich = __esm(() => {
|
|
90530
90534
|
init_class();
|
|
90531
90535
|
init_path4();
|
|
90532
90536
|
init_v1();
|
|
90533
90537
|
});
|
|
90534
90538
|
|
|
90535
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
90539
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/mutation/execute.js
|
|
90536
90540
|
var init_execute2 = __esm(() => {
|
|
90537
90541
|
init_mutate();
|
|
90538
90542
|
init_errors14();
|
|
90539
90543
|
init_rich();
|
|
90540
90544
|
});
|
|
90541
90545
|
|
|
90542
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
90546
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/mutation/index.js
|
|
90543
90547
|
var init_mutation2 = __esm(() => {
|
|
90544
90548
|
init_execute2();
|
|
90545
90549
|
init_mutate();
|
|
@@ -91082,7 +91086,7 @@ Examples:
|
|
|
91082
91086
|
};
|
|
91083
91087
|
});
|
|
91084
91088
|
|
|
91085
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
91089
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/schema/kernel/index.js
|
|
91086
91090
|
var init_kernel2 = __esm(() => {
|
|
91087
91091
|
init_schema7();
|
|
91088
91092
|
});
|
|
@@ -94413,17 +94417,17 @@ var init_create3 = __esm(() => {
|
|
|
94413
94417
|
};
|
|
94414
94418
|
});
|
|
94415
94419
|
|
|
94416
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
94420
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/graph/class/index.js
|
|
94417
94421
|
var init_class3 = __esm(() => {
|
|
94418
94422
|
init_class();
|
|
94419
94423
|
});
|
|
94420
94424
|
|
|
94421
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
94425
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/graph/model/index.js
|
|
94422
94426
|
var init_model8 = __esm(() => {
|
|
94423
94427
|
init_graph2();
|
|
94424
94428
|
});
|
|
94425
94429
|
|
|
94426
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
94430
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/graph/properties/index.js
|
|
94427
94431
|
var init_properties2 = __esm(() => {
|
|
94428
94432
|
init_properties();
|
|
94429
94433
|
});
|
|
@@ -47129,7 +47129,7 @@ function nonEmptyText(input, label) {
|
|
|
47129
47129
|
}
|
|
47130
47130
|
// 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
|
|
47131
47131
|
var STATIC_RESERVED_PATHS = new Set([PATH]);
|
|
47132
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
47132
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_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
|
|
47133
47133
|
var paths2 = exports_issuer2.paths;
|
|
47134
47134
|
var acceptConfiguration2 = exports_issuer2.acceptConfiguration;
|
|
47135
47135
|
var MEDIA_TYPE5 = exports_issuer2.exchange.MEDIA_TYPE;
|
|
@@ -52063,7 +52063,7 @@ var log = {
|
|
|
52063
52063
|
};
|
|
52064
52064
|
var IS_CI = !!(process.env.CI || process.env.CONTINUOUS_INTEGRATION || process.env.NO_SPINNER);
|
|
52065
52065
|
|
|
52066
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52066
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/capability/define.js
|
|
52067
52067
|
var operations = new WeakSet;
|
|
52068
52068
|
var definitions = new WeakSet;
|
|
52069
52069
|
var providers = new WeakMap;
|
|
@@ -52192,7 +52192,7 @@ function isObject4(input) {
|
|
|
52192
52192
|
return input !== null && typeof input === "object";
|
|
52193
52193
|
}
|
|
52194
52194
|
|
|
52195
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52195
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/capability/client.js
|
|
52196
52196
|
function captureCapabilityRequirements(requirements) {
|
|
52197
52197
|
const source2 = acceptMap(requirements, "Capability requirements");
|
|
52198
52198
|
const names = ownStringKeys2(source2, "Capability requirements");
|
|
@@ -52223,22 +52223,22 @@ function ownDataValue2(input, key, label) {
|
|
|
52223
52223
|
return descriptor.value;
|
|
52224
52224
|
}
|
|
52225
52225
|
|
|
52226
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52226
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/view/admission.js
|
|
52227
52227
|
var admittedFrontendArtifacts = new WeakSet;
|
|
52228
52228
|
function isCapturedFrontendArtifact(input) {
|
|
52229
52229
|
return admittedFrontendArtifacts.has(input);
|
|
52230
52230
|
}
|
|
52231
52231
|
|
|
52232
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52232
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/workflow/binding.js
|
|
52233
52233
|
function isWorkflowBinding(input) {
|
|
52234
52234
|
return input !== null && typeof input === "object" && input.kind === "workflow" && typeof input.workflow?.run === "function";
|
|
52235
52235
|
}
|
|
52236
52236
|
function isTriggeredHandler(input) {
|
|
52237
52237
|
return input !== null && typeof input === "object" && input.kind === "handler" && typeof input.handler === "function";
|
|
52238
52238
|
}
|
|
52239
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52239
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/workflow/runner.js
|
|
52240
52240
|
var DIRECT_ACTIVATION = Object.freeze({ kind: "direct" });
|
|
52241
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52241
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/domain/handlers.js
|
|
52242
52242
|
function acceptDomainHandlers(domain3, input) {
|
|
52243
52243
|
const registry2 = record4(input, "handlers");
|
|
52244
52244
|
exactKeys2(registry2, ["functions", "classes", "interfaces"], "handlers");
|
|
@@ -52320,7 +52320,7 @@ function compareText3(left, right) {
|
|
|
52320
52320
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
52321
52321
|
}
|
|
52322
52322
|
|
|
52323
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52323
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/domain/requirements.js
|
|
52324
52324
|
var ClassOperationOrder2 = Object.freeze([
|
|
52325
52325
|
"create",
|
|
52326
52326
|
"read",
|
|
@@ -52405,7 +52405,7 @@ function compare7(left, right) {
|
|
|
52405
52405
|
return left < right ? -1 : left > right ? 1 : 0;
|
|
52406
52406
|
}
|
|
52407
52407
|
|
|
52408
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
52408
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_oxfmt@0.52.0_oxlint@1.79.0__msgpackr@1.12.1_oxlint@1.79.0/node_modules/@astrale-os/sdk/dist/domain/define.js
|
|
52409
52409
|
function defineDomain(input) {
|
|
52410
52410
|
const config2 = record5(input, "defineDomain input");
|
|
52411
52411
|
const hasCapabilities = Object.hasOwn(config2, "capabilities");
|
|
@@ -40188,7 +40188,7 @@ function nonEmptyText(input, label) {
|
|
|
40188
40188
|
}
|
|
40189
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
|
|
40190
40190
|
var STATIC_RESERVED_PATHS = new Set([PATH]);
|
|
40191
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
40191
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_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
|
|
40192
40192
|
var paths2 = exports_issuer2.paths;
|
|
40193
40193
|
var acceptConfiguration2 = exports_issuer2.acceptConfiguration;
|
|
40194
40194
|
var MEDIA_TYPE5 = exports_issuer2.exchange.MEDIA_TYPE;
|
|
@@ -38780,7 +38780,7 @@ function nonEmptyText(input, label) {
|
|
|
38780
38780
|
}
|
|
38781
38781
|
// 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
|
|
38782
38782
|
var STATIC_RESERVED_PATHS = new Set([PATH]);
|
|
38783
|
-
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.
|
|
38783
|
+
// node_modules/.pnpm/@astrale-os+sdk@0.5.0-beta.9_@astrale-os+ox@0.1.3_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
|
|
38784
38784
|
var paths2 = exports_issuer2.paths;
|
|
38785
38785
|
var acceptConfiguration2 = exports_issuer2.acceptConfiguration;
|
|
38786
38786
|
var MEDIA_TYPE5 = exports_issuer2.exchange.MEDIA_TYPE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/cli",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
4
|
"description": "Astrale CLI — connect to existing Astrale kernels",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@astrale-os/kernel-client": ">=0.6.0-beta.4 <1.0.0",
|
|
66
66
|
"@astrale-os/kernel-protocol": ">=0.5.0-beta.3 <1.0.0",
|
|
67
|
-
"@astrale-os/ox": ">=0.1.
|
|
68
|
-
"@astrale-os/sdk": ">=0.5.0-beta.
|
|
67
|
+
"@astrale-os/ox": ">=0.1.3 <1.0.0",
|
|
68
|
+
"@astrale-os/sdk": ">=0.5.0-beta.9 <1.0.0",
|
|
69
69
|
"@astrale-os/shell": ">=0.3.8-beta.2 <1.0.0",
|
|
70
70
|
"@astrale/commitlint-config": "npm:@jsr/astrale__commitlint-config@~2.0.1",
|
|
71
71
|
"@commitlint/cli": "~20.3.1",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"scripts": {
|
|
103
103
|
"preinstall": "node .check-workspace.cjs",
|
|
104
104
|
"build": "bun scripts/build.ts",
|
|
105
|
-
"package:check": "pnpm run typecheck && pnpm run test && pnpm run build && node scripts/verify-public-exports.mjs && node scripts/verify-
|
|
105
|
+
"package:check": "pnpm run typecheck && pnpm run test && pnpm run build && node scripts/verify-public-exports.mjs && node scripts/verify-public-dependency-boundary.mjs",
|
|
106
106
|
"typecheck": "tsgo --noEmit && tsgo --noEmit -p tsconfig.tests.json && tsgo --noEmit -p viewer && tsgo --noEmit -p studio",
|
|
107
107
|
"lint": "oxlint .",
|
|
108
108
|
"lint:fix": "oxlint --fix .",
|