@astrale-os/kernel-core 0.9.0-beta.40 → 0.9.0-beta.42
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/schema/kernel/schema.d.ts +339 -339
- package/package.json +1 -1
|
@@ -5378,41 +5378,6 @@ export declare const AuthorityRelations: Readonly<{
|
|
|
5378
5378
|
}>;
|
|
5379
5379
|
/** Exact authorized Kernel Functions for which pristine Root receives direct can_use authority. */
|
|
5380
5380
|
export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5381
|
-
operation: string;
|
|
5382
|
-
domains: ({
|
|
5383
|
-
artifact: {
|
|
5384
|
-
digest: string;
|
|
5385
|
-
mediaType: string;
|
|
5386
|
-
size: number;
|
|
5387
|
-
};
|
|
5388
|
-
currentRevision?: string | null | undefined;
|
|
5389
|
-
} | {
|
|
5390
|
-
publication: {
|
|
5391
|
-
url: string;
|
|
5392
|
-
token?: string | undefined;
|
|
5393
|
-
etag?: string | undefined;
|
|
5394
|
-
};
|
|
5395
|
-
revision?: string | undefined;
|
|
5396
|
-
currentRevision?: string | null | undefined;
|
|
5397
|
-
})[];
|
|
5398
|
-
}, {
|
|
5399
|
-
readonly mode: 'binary';
|
|
5400
|
-
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5401
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
5402
|
-
readonly origin: "kernel.astrale.ai";
|
|
5403
|
-
};
|
|
5404
|
-
readonly key: "kernel.astrale.ai:function.install";
|
|
5405
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5406
|
-
kind: "bundle" | "inspect";
|
|
5407
|
-
origin: string;
|
|
5408
|
-
}, {
|
|
5409
|
-
readonly mode: 'binary';
|
|
5410
|
-
}, "authenticated", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5411
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"introspect"> & {
|
|
5412
|
-
readonly origin: "kernel.astrale.ai";
|
|
5413
|
-
};
|
|
5414
|
-
readonly key: "kernel.astrale.ai:function.introspect";
|
|
5415
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5416
5381
|
invocation?: {
|
|
5417
5382
|
source: string;
|
|
5418
5383
|
id: string;
|
|
@@ -5444,6 +5409,259 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5444
5409
|
readonly origin: "kernel.astrale.ai";
|
|
5445
5410
|
};
|
|
5446
5411
|
readonly key: "kernel.astrale.ai:function.journal";
|
|
5412
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5413
|
+
idempotencyKey: string;
|
|
5414
|
+
identities: ({
|
|
5415
|
+
id: string;
|
|
5416
|
+
mode: "external";
|
|
5417
|
+
credential: string;
|
|
5418
|
+
} | {
|
|
5419
|
+
id: string;
|
|
5420
|
+
mode: "self";
|
|
5421
|
+
publicKey: unknown;
|
|
5422
|
+
credential: string;
|
|
5423
|
+
})[];
|
|
5424
|
+
}, {
|
|
5425
|
+
readonly mode: 'value';
|
|
5426
|
+
readonly value: {
|
|
5427
|
+
identities: {
|
|
5428
|
+
id: string;
|
|
5429
|
+
iss: string;
|
|
5430
|
+
sub: string;
|
|
5431
|
+
}[];
|
|
5432
|
+
};
|
|
5433
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5434
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"register"> & {
|
|
5435
|
+
readonly origin: "kernel.astrale.ai";
|
|
5436
|
+
};
|
|
5437
|
+
readonly key: "kernel.astrale.ai:function.register";
|
|
5438
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5439
|
+
ast: {
|
|
5440
|
+
format: "astrale.graph.query";
|
|
5441
|
+
version: "v6";
|
|
5442
|
+
source: {
|
|
5443
|
+
kind: "node";
|
|
5444
|
+
terms: ({
|
|
5445
|
+
kind: "path";
|
|
5446
|
+
path: string;
|
|
5447
|
+
} | {
|
|
5448
|
+
kind: "class";
|
|
5449
|
+
class: {
|
|
5450
|
+
origin: string;
|
|
5451
|
+
kind: "class";
|
|
5452
|
+
name: string;
|
|
5453
|
+
};
|
|
5454
|
+
})[];
|
|
5455
|
+
binding: string;
|
|
5456
|
+
} | {
|
|
5457
|
+
kind: "edge";
|
|
5458
|
+
terms: {
|
|
5459
|
+
kind: "class";
|
|
5460
|
+
class: {
|
|
5461
|
+
origin: string;
|
|
5462
|
+
kind: "class";
|
|
5463
|
+
name: string;
|
|
5464
|
+
};
|
|
5465
|
+
}[];
|
|
5466
|
+
bindings: {
|
|
5467
|
+
source: string;
|
|
5468
|
+
edge: string;
|
|
5469
|
+
target: string;
|
|
5470
|
+
};
|
|
5471
|
+
};
|
|
5472
|
+
steps: ({
|
|
5473
|
+
op: "filter";
|
|
5474
|
+
binding: string;
|
|
5475
|
+
predicate: {
|
|
5476
|
+
kind: "class.satisfies";
|
|
5477
|
+
class: {
|
|
5478
|
+
origin: string;
|
|
5479
|
+
kind: "class";
|
|
5480
|
+
name: string;
|
|
5481
|
+
};
|
|
5482
|
+
} | {
|
|
5483
|
+
kind: "class.equal";
|
|
5484
|
+
class: {
|
|
5485
|
+
origin: string;
|
|
5486
|
+
kind: "class";
|
|
5487
|
+
name: string;
|
|
5488
|
+
};
|
|
5489
|
+
} | {
|
|
5490
|
+
kind: "property.equal";
|
|
5491
|
+
property: string;
|
|
5492
|
+
value: unknown;
|
|
5493
|
+
} | {
|
|
5494
|
+
kind: "property.present";
|
|
5495
|
+
property: string;
|
|
5496
|
+
} | {
|
|
5497
|
+
kind: "identity.equal";
|
|
5498
|
+
identity: string | {
|
|
5499
|
+
source: string;
|
|
5500
|
+
target: string;
|
|
5501
|
+
class: string;
|
|
5502
|
+
};
|
|
5503
|
+
};
|
|
5504
|
+
} | {
|
|
5505
|
+
op: "expand";
|
|
5506
|
+
from: string;
|
|
5507
|
+
via: {
|
|
5508
|
+
origin: string;
|
|
5509
|
+
kind: "class";
|
|
5510
|
+
name: string;
|
|
5511
|
+
}[];
|
|
5512
|
+
direction: "incident" | "incoming" | "outgoing";
|
|
5513
|
+
bindings: {
|
|
5514
|
+
edge: string;
|
|
5515
|
+
node: string;
|
|
5516
|
+
};
|
|
5517
|
+
})[];
|
|
5518
|
+
select: {
|
|
5519
|
+
kind: "graph";
|
|
5520
|
+
binding: string;
|
|
5521
|
+
order?: {
|
|
5522
|
+
property: string;
|
|
5523
|
+
direction: "asc" | "desc";
|
|
5524
|
+
unranked: "first" | "last";
|
|
5525
|
+
} | undefined;
|
|
5526
|
+
} | {
|
|
5527
|
+
kind: "nodes";
|
|
5528
|
+
binding: string;
|
|
5529
|
+
projection: {
|
|
5530
|
+
kind: "reference" | "value";
|
|
5531
|
+
};
|
|
5532
|
+
order?: {
|
|
5533
|
+
property: string;
|
|
5534
|
+
direction: "asc" | "desc";
|
|
5535
|
+
unranked: "first" | "last";
|
|
5536
|
+
} | undefined;
|
|
5537
|
+
} | {
|
|
5538
|
+
kind: "edges";
|
|
5539
|
+
binding: string;
|
|
5540
|
+
projection: {
|
|
5541
|
+
edge: "reference" | "value";
|
|
5542
|
+
source: "reference" | "value";
|
|
5543
|
+
target: "reference" | "value";
|
|
5544
|
+
};
|
|
5545
|
+
order?: {
|
|
5546
|
+
property: string;
|
|
5547
|
+
direction: "asc" | "desc";
|
|
5548
|
+
unranked: "first" | "last";
|
|
5549
|
+
} | undefined;
|
|
5550
|
+
};
|
|
5551
|
+
};
|
|
5552
|
+
expected?: {
|
|
5553
|
+
origin: string;
|
|
5554
|
+
revision: string;
|
|
5555
|
+
}[] | undefined;
|
|
5556
|
+
page: {
|
|
5557
|
+
size: number;
|
|
5558
|
+
after?: string | undefined;
|
|
5559
|
+
};
|
|
5560
|
+
}, {
|
|
5561
|
+
readonly mode: 'value';
|
|
5562
|
+
readonly value: {
|
|
5563
|
+
result: {
|
|
5564
|
+
kind: "graph";
|
|
5565
|
+
graph: {
|
|
5566
|
+
nodes: {
|
|
5567
|
+
id: string;
|
|
5568
|
+
class: string;
|
|
5569
|
+
props: Record<string, unknown>;
|
|
5570
|
+
}[];
|
|
5571
|
+
edges: {
|
|
5572
|
+
source: string;
|
|
5573
|
+
target: string;
|
|
5574
|
+
class: string;
|
|
5575
|
+
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5576
|
+
props: Record<string, unknown>;
|
|
5577
|
+
}[];
|
|
5578
|
+
};
|
|
5579
|
+
selection: {
|
|
5580
|
+
kind: "node";
|
|
5581
|
+
ids: string[];
|
|
5582
|
+
} | {
|
|
5583
|
+
kind: "edge";
|
|
5584
|
+
keys: {
|
|
5585
|
+
source: string;
|
|
5586
|
+
target: string;
|
|
5587
|
+
class: string;
|
|
5588
|
+
}[];
|
|
5589
|
+
};
|
|
5590
|
+
} | {
|
|
5591
|
+
kind: "nodes";
|
|
5592
|
+
nodes: ({
|
|
5593
|
+
kind: "reference";
|
|
5594
|
+
value: {
|
|
5595
|
+
id: string;
|
|
5596
|
+
class: string;
|
|
5597
|
+
};
|
|
5598
|
+
} | {
|
|
5599
|
+
kind: "value";
|
|
5600
|
+
value: {
|
|
5601
|
+
id: string;
|
|
5602
|
+
class: string;
|
|
5603
|
+
props: Record<string, unknown>;
|
|
5604
|
+
};
|
|
5605
|
+
})[];
|
|
5606
|
+
} | {
|
|
5607
|
+
kind: "edges";
|
|
5608
|
+
edges: {
|
|
5609
|
+
edge: {
|
|
5610
|
+
kind: "reference";
|
|
5611
|
+
value: {
|
|
5612
|
+
source: string;
|
|
5613
|
+
target: string;
|
|
5614
|
+
class: string;
|
|
5615
|
+
};
|
|
5616
|
+
} | {
|
|
5617
|
+
kind: "value";
|
|
5618
|
+
value: {
|
|
5619
|
+
source: string;
|
|
5620
|
+
target: string;
|
|
5621
|
+
class: string;
|
|
5622
|
+
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5623
|
+
props: Record<string, unknown>;
|
|
5624
|
+
};
|
|
5625
|
+
};
|
|
5626
|
+
source: {
|
|
5627
|
+
kind: "reference";
|
|
5628
|
+
value: {
|
|
5629
|
+
id: string;
|
|
5630
|
+
class: string;
|
|
5631
|
+
};
|
|
5632
|
+
} | {
|
|
5633
|
+
kind: "value";
|
|
5634
|
+
value: {
|
|
5635
|
+
id: string;
|
|
5636
|
+
class: string;
|
|
5637
|
+
props: Record<string, unknown>;
|
|
5638
|
+
};
|
|
5639
|
+
};
|
|
5640
|
+
target: {
|
|
5641
|
+
kind: "reference";
|
|
5642
|
+
value: {
|
|
5643
|
+
id: string;
|
|
5644
|
+
class: string;
|
|
5645
|
+
};
|
|
5646
|
+
} | {
|
|
5647
|
+
kind: "value";
|
|
5648
|
+
value: {
|
|
5649
|
+
id: string;
|
|
5650
|
+
class: string;
|
|
5651
|
+
props: Record<string, unknown>;
|
|
5652
|
+
};
|
|
5653
|
+
};
|
|
5654
|
+
}[];
|
|
5655
|
+
};
|
|
5656
|
+
page: {
|
|
5657
|
+
next?: string | undefined;
|
|
5658
|
+
};
|
|
5659
|
+
};
|
|
5660
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5661
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"query"> & {
|
|
5662
|
+
readonly origin: "kernel.astrale.ai";
|
|
5663
|
+
};
|
|
5664
|
+
readonly key: "kernel.astrale.ai:function.query";
|
|
5447
5665
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5448
5666
|
ast: {
|
|
5449
5667
|
format: "astrale.graph.mutation";
|
|
@@ -5604,328 +5822,110 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5604
5822
|
as: string;
|
|
5605
5823
|
class: string;
|
|
5606
5824
|
props: Record<string, unknown>;
|
|
5607
|
-
} | {
|
|
5608
|
-
op: "node.update";
|
|
5609
|
-
node: string;
|
|
5610
|
-
class: string;
|
|
5611
|
-
props: {
|
|
5612
|
-
set: Record<string, unknown>;
|
|
5613
|
-
unset: string[];
|
|
5614
|
-
};
|
|
5615
|
-
} | {
|
|
5616
|
-
op: "node.delete";
|
|
5617
|
-
node: string;
|
|
5618
|
-
class: string;
|
|
5619
|
-
} | {
|
|
5620
|
-
op: "edge.create";
|
|
5621
|
-
class: string;
|
|
5622
|
-
source: string | {
|
|
5623
|
-
created: string;
|
|
5624
|
-
};
|
|
5625
|
-
target: string | {
|
|
5626
|
-
created: string;
|
|
5627
|
-
};
|
|
5628
|
-
slug?: unknown;
|
|
5629
|
-
props: Record<string, unknown>;
|
|
5630
|
-
} | {
|
|
5631
|
-
op: "edge.update";
|
|
5632
|
-
edge: {
|
|
5633
|
-
source: string;
|
|
5634
|
-
target: string;
|
|
5635
|
-
class: string;
|
|
5636
|
-
};
|
|
5637
|
-
slug: unknown;
|
|
5638
|
-
props?: {
|
|
5639
|
-
set: Record<string, unknown>;
|
|
5640
|
-
unset: string[];
|
|
5641
|
-
} | undefined;
|
|
5642
|
-
} | {
|
|
5643
|
-
op: "edge.update";
|
|
5644
|
-
edge: {
|
|
5645
|
-
source: string;
|
|
5646
|
-
target: string;
|
|
5647
|
-
class: string;
|
|
5648
|
-
};
|
|
5649
|
-
props: {
|
|
5650
|
-
set: Record<string, unknown>;
|
|
5651
|
-
unset: string[];
|
|
5652
|
-
};
|
|
5653
|
-
} | {
|
|
5654
|
-
op: "edge.delete";
|
|
5655
|
-
edge: {
|
|
5656
|
-
source: string;
|
|
5657
|
-
target: string;
|
|
5658
|
-
class: string;
|
|
5659
|
-
};
|
|
5660
|
-
})[];
|
|
5661
|
-
};
|
|
5662
|
-
expected?: {
|
|
5663
|
-
origin: string;
|
|
5664
|
-
revision: string;
|
|
5665
|
-
}[] | undefined;
|
|
5666
|
-
}, {
|
|
5667
|
-
readonly mode: 'value';
|
|
5668
|
-
readonly value: {
|
|
5669
|
-
createdNodes: Record<string, string>;
|
|
5670
|
-
};
|
|
5671
|
-
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5672
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"mutate"> & {
|
|
5673
|
-
readonly origin: "kernel.astrale.ai";
|
|
5674
|
-
};
|
|
5675
|
-
readonly key: "kernel.astrale.ai:function.mutate";
|
|
5676
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5677
|
-
ast: {
|
|
5678
|
-
format: "astrale.graph.query";
|
|
5679
|
-
version: "v6";
|
|
5680
|
-
source: {
|
|
5681
|
-
kind: "node";
|
|
5682
|
-
terms: ({
|
|
5683
|
-
kind: "path";
|
|
5684
|
-
path: string;
|
|
5685
|
-
} | {
|
|
5686
|
-
kind: "class";
|
|
5687
|
-
class: {
|
|
5688
|
-
origin: string;
|
|
5689
|
-
kind: "class";
|
|
5690
|
-
name: string;
|
|
5691
|
-
};
|
|
5692
|
-
})[];
|
|
5693
|
-
binding: string;
|
|
5694
|
-
} | {
|
|
5695
|
-
kind: "edge";
|
|
5696
|
-
terms: {
|
|
5697
|
-
kind: "class";
|
|
5698
|
-
class: {
|
|
5699
|
-
origin: string;
|
|
5700
|
-
kind: "class";
|
|
5701
|
-
name: string;
|
|
5702
|
-
};
|
|
5703
|
-
}[];
|
|
5704
|
-
bindings: {
|
|
5705
|
-
source: string;
|
|
5706
|
-
edge: string;
|
|
5707
|
-
target: string;
|
|
5708
|
-
};
|
|
5709
|
-
};
|
|
5710
|
-
steps: ({
|
|
5711
|
-
op: "filter";
|
|
5712
|
-
binding: string;
|
|
5713
|
-
predicate: {
|
|
5714
|
-
kind: "class.satisfies";
|
|
5715
|
-
class: {
|
|
5716
|
-
origin: string;
|
|
5717
|
-
kind: "class";
|
|
5718
|
-
name: string;
|
|
5719
|
-
};
|
|
5720
|
-
} | {
|
|
5721
|
-
kind: "class.equal";
|
|
5722
|
-
class: {
|
|
5723
|
-
origin: string;
|
|
5724
|
-
kind: "class";
|
|
5725
|
-
name: string;
|
|
5726
|
-
};
|
|
5727
|
-
} | {
|
|
5728
|
-
kind: "property.equal";
|
|
5729
|
-
property: string;
|
|
5730
|
-
value: unknown;
|
|
5731
|
-
} | {
|
|
5732
|
-
kind: "property.present";
|
|
5733
|
-
property: string;
|
|
5734
|
-
} | {
|
|
5735
|
-
kind: "identity.equal";
|
|
5736
|
-
identity: string | {
|
|
5737
|
-
source: string;
|
|
5738
|
-
target: string;
|
|
5739
|
-
class: string;
|
|
5740
|
-
};
|
|
5825
|
+
} | {
|
|
5826
|
+
op: "node.update";
|
|
5827
|
+
node: string;
|
|
5828
|
+
class: string;
|
|
5829
|
+
props: {
|
|
5830
|
+
set: Record<string, unknown>;
|
|
5831
|
+
unset: string[];
|
|
5741
5832
|
};
|
|
5742
5833
|
} | {
|
|
5743
|
-
op: "
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
bindings: {
|
|
5752
|
-
edge: string;
|
|
5753
|
-
node: string;
|
|
5834
|
+
op: "node.delete";
|
|
5835
|
+
node: string;
|
|
5836
|
+
class: string;
|
|
5837
|
+
} | {
|
|
5838
|
+
op: "edge.create";
|
|
5839
|
+
class: string;
|
|
5840
|
+
source: string | {
|
|
5841
|
+
created: string;
|
|
5754
5842
|
};
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
property: string;
|
|
5761
|
-
direction: "asc" | "desc";
|
|
5762
|
-
unranked: "first" | "last";
|
|
5763
|
-
} | undefined;
|
|
5843
|
+
target: string | {
|
|
5844
|
+
created: string;
|
|
5845
|
+
};
|
|
5846
|
+
slug?: unknown;
|
|
5847
|
+
props: Record<string, unknown>;
|
|
5764
5848
|
} | {
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5849
|
+
op: "edge.update";
|
|
5850
|
+
edge: {
|
|
5851
|
+
source: string;
|
|
5852
|
+
target: string;
|
|
5853
|
+
class: string;
|
|
5769
5854
|
};
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5855
|
+
slug: unknown;
|
|
5856
|
+
props?: {
|
|
5857
|
+
set: Record<string, unknown>;
|
|
5858
|
+
unset: string[];
|
|
5774
5859
|
} | undefined;
|
|
5775
5860
|
} | {
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
target: "reference" | "value";
|
|
5861
|
+
op: "edge.update";
|
|
5862
|
+
edge: {
|
|
5863
|
+
source: string;
|
|
5864
|
+
target: string;
|
|
5865
|
+
class: string;
|
|
5782
5866
|
};
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5867
|
+
props: {
|
|
5868
|
+
set: Record<string, unknown>;
|
|
5869
|
+
unset: string[];
|
|
5870
|
+
};
|
|
5871
|
+
} | {
|
|
5872
|
+
op: "edge.delete";
|
|
5873
|
+
edge: {
|
|
5874
|
+
source: string;
|
|
5875
|
+
target: string;
|
|
5876
|
+
class: string;
|
|
5877
|
+
};
|
|
5878
|
+
})[];
|
|
5789
5879
|
};
|
|
5790
5880
|
expected?: {
|
|
5791
5881
|
origin: string;
|
|
5792
5882
|
revision: string;
|
|
5793
5883
|
}[] | undefined;
|
|
5794
|
-
page: {
|
|
5795
|
-
size: number;
|
|
5796
|
-
after?: string | undefined;
|
|
5797
|
-
};
|
|
5798
5884
|
}, {
|
|
5799
5885
|
readonly mode: 'value';
|
|
5800
5886
|
readonly value: {
|
|
5801
|
-
|
|
5802
|
-
kind: "graph";
|
|
5803
|
-
graph: {
|
|
5804
|
-
nodes: {
|
|
5805
|
-
id: string;
|
|
5806
|
-
class: string;
|
|
5807
|
-
props: Record<string, unknown>;
|
|
5808
|
-
}[];
|
|
5809
|
-
edges: {
|
|
5810
|
-
source: string;
|
|
5811
|
-
target: string;
|
|
5812
|
-
class: string;
|
|
5813
|
-
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5814
|
-
props: Record<string, unknown>;
|
|
5815
|
-
}[];
|
|
5816
|
-
};
|
|
5817
|
-
selection: {
|
|
5818
|
-
kind: "node";
|
|
5819
|
-
ids: string[];
|
|
5820
|
-
} | {
|
|
5821
|
-
kind: "edge";
|
|
5822
|
-
keys: {
|
|
5823
|
-
source: string;
|
|
5824
|
-
target: string;
|
|
5825
|
-
class: string;
|
|
5826
|
-
}[];
|
|
5827
|
-
};
|
|
5828
|
-
} | {
|
|
5829
|
-
kind: "nodes";
|
|
5830
|
-
nodes: ({
|
|
5831
|
-
kind: "reference";
|
|
5832
|
-
value: {
|
|
5833
|
-
id: string;
|
|
5834
|
-
class: string;
|
|
5835
|
-
};
|
|
5836
|
-
} | {
|
|
5837
|
-
kind: "value";
|
|
5838
|
-
value: {
|
|
5839
|
-
id: string;
|
|
5840
|
-
class: string;
|
|
5841
|
-
props: Record<string, unknown>;
|
|
5842
|
-
};
|
|
5843
|
-
})[];
|
|
5844
|
-
} | {
|
|
5845
|
-
kind: "edges";
|
|
5846
|
-
edges: {
|
|
5847
|
-
edge: {
|
|
5848
|
-
kind: "reference";
|
|
5849
|
-
value: {
|
|
5850
|
-
source: string;
|
|
5851
|
-
target: string;
|
|
5852
|
-
class: string;
|
|
5853
|
-
};
|
|
5854
|
-
} | {
|
|
5855
|
-
kind: "value";
|
|
5856
|
-
value: {
|
|
5857
|
-
source: string;
|
|
5858
|
-
target: string;
|
|
5859
|
-
class: string;
|
|
5860
|
-
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5861
|
-
props: Record<string, unknown>;
|
|
5862
|
-
};
|
|
5863
|
-
};
|
|
5864
|
-
source: {
|
|
5865
|
-
kind: "reference";
|
|
5866
|
-
value: {
|
|
5867
|
-
id: string;
|
|
5868
|
-
class: string;
|
|
5869
|
-
};
|
|
5870
|
-
} | {
|
|
5871
|
-
kind: "value";
|
|
5872
|
-
value: {
|
|
5873
|
-
id: string;
|
|
5874
|
-
class: string;
|
|
5875
|
-
props: Record<string, unknown>;
|
|
5876
|
-
};
|
|
5877
|
-
};
|
|
5878
|
-
target: {
|
|
5879
|
-
kind: "reference";
|
|
5880
|
-
value: {
|
|
5881
|
-
id: string;
|
|
5882
|
-
class: string;
|
|
5883
|
-
};
|
|
5884
|
-
} | {
|
|
5885
|
-
kind: "value";
|
|
5886
|
-
value: {
|
|
5887
|
-
id: string;
|
|
5888
|
-
class: string;
|
|
5889
|
-
props: Record<string, unknown>;
|
|
5890
|
-
};
|
|
5891
|
-
};
|
|
5892
|
-
}[];
|
|
5893
|
-
};
|
|
5894
|
-
page: {
|
|
5895
|
-
next?: string | undefined;
|
|
5896
|
-
};
|
|
5887
|
+
createdNodes: Record<string, string>;
|
|
5897
5888
|
};
|
|
5898
5889
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5899
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
5890
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"mutate"> & {
|
|
5900
5891
|
readonly origin: "kernel.astrale.ai";
|
|
5901
5892
|
};
|
|
5902
|
-
readonly key: "kernel.astrale.ai:function.
|
|
5893
|
+
readonly key: "kernel.astrale.ai:function.mutate";
|
|
5903
5894
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5895
|
+
operation: string;
|
|
5896
|
+
domains: ({
|
|
5897
|
+
artifact: {
|
|
5898
|
+
digest: string;
|
|
5899
|
+
mediaType: string;
|
|
5900
|
+
size: number;
|
|
5901
|
+
};
|
|
5902
|
+
currentRevision?: string | null | undefined;
|
|
5909
5903
|
} | {
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5904
|
+
publication: {
|
|
5905
|
+
url: string;
|
|
5906
|
+
token?: string | undefined;
|
|
5907
|
+
etag?: string | undefined;
|
|
5908
|
+
};
|
|
5909
|
+
revision?: string | undefined;
|
|
5910
|
+
currentRevision?: string | null | undefined;
|
|
5914
5911
|
})[];
|
|
5915
5912
|
}, {
|
|
5916
|
-
readonly mode: '
|
|
5917
|
-
readonly value: {
|
|
5918
|
-
identities: {
|
|
5919
|
-
id: string;
|
|
5920
|
-
iss: string;
|
|
5921
|
-
sub: string;
|
|
5922
|
-
}[];
|
|
5923
|
-
};
|
|
5913
|
+
readonly mode: 'binary';
|
|
5924
5914
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5925
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
5915
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
5926
5916
|
readonly origin: "kernel.astrale.ai";
|
|
5927
5917
|
};
|
|
5928
|
-
readonly key: "kernel.astrale.ai:function.
|
|
5918
|
+
readonly key: "kernel.astrale.ai:function.install";
|
|
5919
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5920
|
+
kind: "bundle" | "inspect";
|
|
5921
|
+
origin: string;
|
|
5922
|
+
}, {
|
|
5923
|
+
readonly mode: 'binary';
|
|
5924
|
+
}, "authenticated", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5925
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"introspect"> & {
|
|
5926
|
+
readonly origin: "kernel.astrale.ai";
|
|
5927
|
+
};
|
|
5928
|
+
readonly key: "kernel.astrale.ai:function.introspect";
|
|
5929
5929
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5930
5930
|
operation: string;
|
|
5931
5931
|
domains: string[];
|
|
@@ -5971,15 +5971,6 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5971
5971
|
readonly origin: "kernel.astrale.ai";
|
|
5972
5972
|
};
|
|
5973
5973
|
readonly key: "kernel.astrale.ai:function.uninstall";
|
|
5974
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5975
|
-
audience?: string | undefined;
|
|
5976
|
-
ttlSeconds: number;
|
|
5977
|
-
grant?: unknown;
|
|
5978
|
-
}, {
|
|
5979
|
-
readonly mode: 'value';
|
|
5980
|
-
readonly value: string;
|
|
5981
|
-
}, true, "default", "authenticated", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
|
|
5982
|
-
readonly name: "mint";
|
|
5983
5974
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5984
5975
|
iss: string;
|
|
5985
5976
|
sub: string;
|
|
@@ -6039,6 +6030,15 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
6039
6030
|
};
|
|
6040
6031
|
}, true, "sealed", "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.View.method.resolve"> & {
|
|
6041
6032
|
readonly name: "resolve";
|
|
6033
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
6034
|
+
audience?: string | undefined;
|
|
6035
|
+
ttlSeconds: number;
|
|
6036
|
+
grant?: unknown;
|
|
6037
|
+
}, {
|
|
6038
|
+
readonly mode: 'value';
|
|
6039
|
+
readonly value: string;
|
|
6040
|
+
}, true, "default", "authenticated", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
|
|
6041
|
+
readonly name: "mint";
|
|
6042
6042
|
}))[];
|
|
6043
6043
|
export { AuthorityOperationOrder, AuthorityOperations, operationOf } from '../authority/index.js';
|
|
6044
6044
|
export type { AuthorityOperation, AuthorityRelation } from '../authority/index.js';
|