@astrale-os/kernel-core 0.9.0-beta.50 → 0.9.0-beta.51
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 +330 -330
- package/package.json +2 -2
|
@@ -4911,31 +4911,6 @@ export declare const AuthorityRelations: Readonly<{
|
|
|
4911
4911
|
}>;
|
|
4912
4912
|
/** Exact authorized Kernel Functions for which pristine Root receives direct can_use authority. */
|
|
4913
4913
|
export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4914
|
-
operation: string;
|
|
4915
|
-
domains: ({
|
|
4916
|
-
artifact: {
|
|
4917
|
-
digest: string;
|
|
4918
|
-
mediaType: string;
|
|
4919
|
-
size: number;
|
|
4920
|
-
};
|
|
4921
|
-
currentRevision?: string | null | undefined;
|
|
4922
|
-
} | {
|
|
4923
|
-
publication: {
|
|
4924
|
-
url: string;
|
|
4925
|
-
token?: string | undefined;
|
|
4926
|
-
etag?: string | undefined;
|
|
4927
|
-
};
|
|
4928
|
-
revision?: string | undefined;
|
|
4929
|
-
currentRevision?: string | null | undefined;
|
|
4930
|
-
})[];
|
|
4931
|
-
}, {
|
|
4932
|
-
readonly mode: 'binary';
|
|
4933
|
-
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4934
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
4935
|
-
readonly origin: "kernel.astrale.ai";
|
|
4936
|
-
};
|
|
4937
|
-
readonly key: "kernel.astrale.ai:function.install";
|
|
4938
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4939
4914
|
invocation?: {
|
|
4940
4915
|
source: string;
|
|
4941
4916
|
id: string;
|
|
@@ -4967,6 +4942,259 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
4967
4942
|
readonly origin: "kernel.astrale.ai";
|
|
4968
4943
|
};
|
|
4969
4944
|
readonly key: "kernel.astrale.ai:function.journal";
|
|
4945
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4946
|
+
idempotencyKey: string;
|
|
4947
|
+
identities: ({
|
|
4948
|
+
id: string;
|
|
4949
|
+
mode: "external";
|
|
4950
|
+
credential: string;
|
|
4951
|
+
} | {
|
|
4952
|
+
id: string;
|
|
4953
|
+
mode: "self";
|
|
4954
|
+
publicKey: unknown;
|
|
4955
|
+
credential: string;
|
|
4956
|
+
})[];
|
|
4957
|
+
}, {
|
|
4958
|
+
readonly mode: 'value';
|
|
4959
|
+
readonly value: {
|
|
4960
|
+
identities: {
|
|
4961
|
+
id: string;
|
|
4962
|
+
iss: string;
|
|
4963
|
+
sub: string;
|
|
4964
|
+
}[];
|
|
4965
|
+
};
|
|
4966
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
4967
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"register"> & {
|
|
4968
|
+
readonly origin: "kernel.astrale.ai";
|
|
4969
|
+
};
|
|
4970
|
+
readonly key: "kernel.astrale.ai:function.register";
|
|
4971
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4972
|
+
ast: {
|
|
4973
|
+
format: "astrale.graph.query";
|
|
4974
|
+
version: "v6";
|
|
4975
|
+
source: {
|
|
4976
|
+
kind: "node";
|
|
4977
|
+
terms: ({
|
|
4978
|
+
kind: "path";
|
|
4979
|
+
path: string;
|
|
4980
|
+
} | {
|
|
4981
|
+
kind: "class";
|
|
4982
|
+
class: {
|
|
4983
|
+
origin: string;
|
|
4984
|
+
kind: "class";
|
|
4985
|
+
name: string;
|
|
4986
|
+
};
|
|
4987
|
+
})[];
|
|
4988
|
+
binding: string;
|
|
4989
|
+
} | {
|
|
4990
|
+
kind: "edge";
|
|
4991
|
+
terms: {
|
|
4992
|
+
kind: "class";
|
|
4993
|
+
class: {
|
|
4994
|
+
origin: string;
|
|
4995
|
+
kind: "class";
|
|
4996
|
+
name: string;
|
|
4997
|
+
};
|
|
4998
|
+
}[];
|
|
4999
|
+
bindings: {
|
|
5000
|
+
source: string;
|
|
5001
|
+
edge: string;
|
|
5002
|
+
target: string;
|
|
5003
|
+
};
|
|
5004
|
+
};
|
|
5005
|
+
steps: ({
|
|
5006
|
+
op: "filter";
|
|
5007
|
+
binding: string;
|
|
5008
|
+
predicate: {
|
|
5009
|
+
kind: "class.satisfies";
|
|
5010
|
+
class: {
|
|
5011
|
+
origin: string;
|
|
5012
|
+
kind: "class";
|
|
5013
|
+
name: string;
|
|
5014
|
+
};
|
|
5015
|
+
} | {
|
|
5016
|
+
kind: "class.equal";
|
|
5017
|
+
class: {
|
|
5018
|
+
origin: string;
|
|
5019
|
+
kind: "class";
|
|
5020
|
+
name: string;
|
|
5021
|
+
};
|
|
5022
|
+
} | {
|
|
5023
|
+
kind: "property.equal";
|
|
5024
|
+
property: string;
|
|
5025
|
+
value: unknown;
|
|
5026
|
+
} | {
|
|
5027
|
+
kind: "property.present";
|
|
5028
|
+
property: string;
|
|
5029
|
+
} | {
|
|
5030
|
+
kind: "identity.equal";
|
|
5031
|
+
identity: string | {
|
|
5032
|
+
source: string;
|
|
5033
|
+
target: string;
|
|
5034
|
+
class: string;
|
|
5035
|
+
};
|
|
5036
|
+
};
|
|
5037
|
+
} | {
|
|
5038
|
+
op: "expand";
|
|
5039
|
+
from: string;
|
|
5040
|
+
via: {
|
|
5041
|
+
origin: string;
|
|
5042
|
+
kind: "class";
|
|
5043
|
+
name: string;
|
|
5044
|
+
}[];
|
|
5045
|
+
direction: "incident" | "incoming" | "outgoing";
|
|
5046
|
+
bindings: {
|
|
5047
|
+
edge: string;
|
|
5048
|
+
node: string;
|
|
5049
|
+
};
|
|
5050
|
+
})[];
|
|
5051
|
+
select: {
|
|
5052
|
+
kind: "graph";
|
|
5053
|
+
binding: string;
|
|
5054
|
+
order?: {
|
|
5055
|
+
property: string;
|
|
5056
|
+
direction: "asc" | "desc";
|
|
5057
|
+
unranked: "first" | "last";
|
|
5058
|
+
} | undefined;
|
|
5059
|
+
} | {
|
|
5060
|
+
kind: "nodes";
|
|
5061
|
+
binding: string;
|
|
5062
|
+
projection: {
|
|
5063
|
+
kind: "reference" | "value";
|
|
5064
|
+
};
|
|
5065
|
+
order?: {
|
|
5066
|
+
property: string;
|
|
5067
|
+
direction: "asc" | "desc";
|
|
5068
|
+
unranked: "first" | "last";
|
|
5069
|
+
} | undefined;
|
|
5070
|
+
} | {
|
|
5071
|
+
kind: "edges";
|
|
5072
|
+
binding: string;
|
|
5073
|
+
projection: {
|
|
5074
|
+
edge: "reference" | "value";
|
|
5075
|
+
source: "reference" | "value";
|
|
5076
|
+
target: "reference" | "value";
|
|
5077
|
+
};
|
|
5078
|
+
order?: {
|
|
5079
|
+
property: string;
|
|
5080
|
+
direction: "asc" | "desc";
|
|
5081
|
+
unranked: "first" | "last";
|
|
5082
|
+
} | undefined;
|
|
5083
|
+
};
|
|
5084
|
+
};
|
|
5085
|
+
expected?: {
|
|
5086
|
+
origin: string;
|
|
5087
|
+
revision: string;
|
|
5088
|
+
}[] | undefined;
|
|
5089
|
+
page: {
|
|
5090
|
+
size: number;
|
|
5091
|
+
after?: string | undefined;
|
|
5092
|
+
};
|
|
5093
|
+
}, {
|
|
5094
|
+
readonly mode: 'value';
|
|
5095
|
+
readonly value: {
|
|
5096
|
+
result: {
|
|
5097
|
+
kind: "graph";
|
|
5098
|
+
graph: {
|
|
5099
|
+
nodes: {
|
|
5100
|
+
id: string;
|
|
5101
|
+
class: string;
|
|
5102
|
+
props: Record<string, unknown>;
|
|
5103
|
+
}[];
|
|
5104
|
+
edges: {
|
|
5105
|
+
source: string;
|
|
5106
|
+
target: string;
|
|
5107
|
+
class: string;
|
|
5108
|
+
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5109
|
+
props: Record<string, unknown>;
|
|
5110
|
+
}[];
|
|
5111
|
+
};
|
|
5112
|
+
selection: {
|
|
5113
|
+
kind: "node";
|
|
5114
|
+
ids: string[];
|
|
5115
|
+
} | {
|
|
5116
|
+
kind: "edge";
|
|
5117
|
+
keys: {
|
|
5118
|
+
source: string;
|
|
5119
|
+
target: string;
|
|
5120
|
+
class: string;
|
|
5121
|
+
}[];
|
|
5122
|
+
};
|
|
5123
|
+
} | {
|
|
5124
|
+
kind: "nodes";
|
|
5125
|
+
nodes: ({
|
|
5126
|
+
kind: "reference";
|
|
5127
|
+
value: {
|
|
5128
|
+
id: string;
|
|
5129
|
+
class: string;
|
|
5130
|
+
};
|
|
5131
|
+
} | {
|
|
5132
|
+
kind: "value";
|
|
5133
|
+
value: {
|
|
5134
|
+
id: string;
|
|
5135
|
+
class: string;
|
|
5136
|
+
props: Record<string, unknown>;
|
|
5137
|
+
};
|
|
5138
|
+
})[];
|
|
5139
|
+
} | {
|
|
5140
|
+
kind: "edges";
|
|
5141
|
+
edges: {
|
|
5142
|
+
edge: {
|
|
5143
|
+
kind: "reference";
|
|
5144
|
+
value: {
|
|
5145
|
+
source: string;
|
|
5146
|
+
target: string;
|
|
5147
|
+
class: string;
|
|
5148
|
+
};
|
|
5149
|
+
} | {
|
|
5150
|
+
kind: "value";
|
|
5151
|
+
value: {
|
|
5152
|
+
source: string;
|
|
5153
|
+
target: string;
|
|
5154
|
+
class: string;
|
|
5155
|
+
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5156
|
+
props: Record<string, unknown>;
|
|
5157
|
+
};
|
|
5158
|
+
};
|
|
5159
|
+
source: {
|
|
5160
|
+
kind: "reference";
|
|
5161
|
+
value: {
|
|
5162
|
+
id: string;
|
|
5163
|
+
class: string;
|
|
5164
|
+
};
|
|
5165
|
+
} | {
|
|
5166
|
+
kind: "value";
|
|
5167
|
+
value: {
|
|
5168
|
+
id: string;
|
|
5169
|
+
class: string;
|
|
5170
|
+
props: Record<string, unknown>;
|
|
5171
|
+
};
|
|
5172
|
+
};
|
|
5173
|
+
target: {
|
|
5174
|
+
kind: "reference";
|
|
5175
|
+
value: {
|
|
5176
|
+
id: string;
|
|
5177
|
+
class: string;
|
|
5178
|
+
};
|
|
5179
|
+
} | {
|
|
5180
|
+
kind: "value";
|
|
5181
|
+
value: {
|
|
5182
|
+
id: string;
|
|
5183
|
+
class: string;
|
|
5184
|
+
props: Record<string, unknown>;
|
|
5185
|
+
};
|
|
5186
|
+
};
|
|
5187
|
+
}[];
|
|
5188
|
+
};
|
|
5189
|
+
page: {
|
|
5190
|
+
next?: string | undefined;
|
|
5191
|
+
};
|
|
5192
|
+
};
|
|
5193
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5194
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"query"> & {
|
|
5195
|
+
readonly origin: "kernel.astrale.ai";
|
|
5196
|
+
};
|
|
5197
|
+
readonly key: "kernel.astrale.ai:function.query";
|
|
4970
5198
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
4971
5199
|
ast: {
|
|
4972
5200
|
format: "astrale.graph.mutation";
|
|
@@ -5148,307 +5376,79 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5148
5376
|
target: string | {
|
|
5149
5377
|
created: string;
|
|
5150
5378
|
};
|
|
5151
|
-
slug?: unknown;
|
|
5152
|
-
props: Record<string, unknown>;
|
|
5153
|
-
} | {
|
|
5154
|
-
op: "edge.update";
|
|
5155
|
-
edge: {
|
|
5156
|
-
source: string;
|
|
5157
|
-
target: string;
|
|
5158
|
-
class: string;
|
|
5159
|
-
};
|
|
5160
|
-
slug: unknown;
|
|
5161
|
-
props?: {
|
|
5162
|
-
set: Record<string, unknown>;
|
|
5163
|
-
unset: string[];
|
|
5164
|
-
} | undefined;
|
|
5165
|
-
} | {
|
|
5166
|
-
op: "edge.update";
|
|
5167
|
-
edge: {
|
|
5168
|
-
source: string;
|
|
5169
|
-
target: string;
|
|
5170
|
-
class: string;
|
|
5171
|
-
};
|
|
5172
|
-
props: {
|
|
5173
|
-
set: Record<string, unknown>;
|
|
5174
|
-
unset: string[];
|
|
5175
|
-
};
|
|
5176
|
-
} | {
|
|
5177
|
-
op: "edge.delete";
|
|
5178
|
-
edge: {
|
|
5179
|
-
source: string;
|
|
5180
|
-
target: string;
|
|
5181
|
-
class: string;
|
|
5182
|
-
};
|
|
5183
|
-
})[];
|
|
5184
|
-
};
|
|
5185
|
-
expected?: {
|
|
5186
|
-
origin: string;
|
|
5187
|
-
revision: string;
|
|
5188
|
-
}[] | undefined;
|
|
5189
|
-
}, {
|
|
5190
|
-
readonly mode: 'value';
|
|
5191
|
-
readonly value: {
|
|
5192
|
-
createdNodes: Record<string, string>;
|
|
5193
|
-
};
|
|
5194
|
-
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5195
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"mutate"> & {
|
|
5196
|
-
readonly origin: "kernel.astrale.ai";
|
|
5197
|
-
};
|
|
5198
|
-
readonly key: "kernel.astrale.ai:function.mutate";
|
|
5199
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5200
|
-
ast: {
|
|
5201
|
-
format: "astrale.graph.query";
|
|
5202
|
-
version: "v6";
|
|
5203
|
-
source: {
|
|
5204
|
-
kind: "node";
|
|
5205
|
-
terms: ({
|
|
5206
|
-
kind: "path";
|
|
5207
|
-
path: string;
|
|
5208
|
-
} | {
|
|
5209
|
-
kind: "class";
|
|
5210
|
-
class: {
|
|
5211
|
-
origin: string;
|
|
5212
|
-
kind: "class";
|
|
5213
|
-
name: string;
|
|
5214
|
-
};
|
|
5215
|
-
})[];
|
|
5216
|
-
binding: string;
|
|
5217
|
-
} | {
|
|
5218
|
-
kind: "edge";
|
|
5219
|
-
terms: {
|
|
5220
|
-
kind: "class";
|
|
5221
|
-
class: {
|
|
5222
|
-
origin: string;
|
|
5223
|
-
kind: "class";
|
|
5224
|
-
name: string;
|
|
5225
|
-
};
|
|
5226
|
-
}[];
|
|
5227
|
-
bindings: {
|
|
5228
|
-
source: string;
|
|
5229
|
-
edge: string;
|
|
5230
|
-
target: string;
|
|
5231
|
-
};
|
|
5232
|
-
};
|
|
5233
|
-
steps: ({
|
|
5234
|
-
op: "filter";
|
|
5235
|
-
binding: string;
|
|
5236
|
-
predicate: {
|
|
5237
|
-
kind: "class.satisfies";
|
|
5238
|
-
class: {
|
|
5239
|
-
origin: string;
|
|
5240
|
-
kind: "class";
|
|
5241
|
-
name: string;
|
|
5242
|
-
};
|
|
5243
|
-
} | {
|
|
5244
|
-
kind: "class.equal";
|
|
5245
|
-
class: {
|
|
5246
|
-
origin: string;
|
|
5247
|
-
kind: "class";
|
|
5248
|
-
name: string;
|
|
5249
|
-
};
|
|
5250
|
-
} | {
|
|
5251
|
-
kind: "property.equal";
|
|
5252
|
-
property: string;
|
|
5253
|
-
value: unknown;
|
|
5254
|
-
} | {
|
|
5255
|
-
kind: "property.present";
|
|
5256
|
-
property: string;
|
|
5257
|
-
} | {
|
|
5258
|
-
kind: "identity.equal";
|
|
5259
|
-
identity: string | {
|
|
5260
|
-
source: string;
|
|
5261
|
-
target: string;
|
|
5262
|
-
class: string;
|
|
5263
|
-
};
|
|
5264
|
-
};
|
|
5265
|
-
} | {
|
|
5266
|
-
op: "expand";
|
|
5267
|
-
from: string;
|
|
5268
|
-
via: {
|
|
5269
|
-
origin: string;
|
|
5270
|
-
kind: "class";
|
|
5271
|
-
name: string;
|
|
5272
|
-
}[];
|
|
5273
|
-
direction: "incident" | "incoming" | "outgoing";
|
|
5274
|
-
bindings: {
|
|
5275
|
-
edge: string;
|
|
5276
|
-
node: string;
|
|
5379
|
+
slug?: unknown;
|
|
5380
|
+
props: Record<string, unknown>;
|
|
5381
|
+
} | {
|
|
5382
|
+
op: "edge.update";
|
|
5383
|
+
edge: {
|
|
5384
|
+
source: string;
|
|
5385
|
+
target: string;
|
|
5386
|
+
class: string;
|
|
5277
5387
|
};
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
order?: {
|
|
5283
|
-
property: string;
|
|
5284
|
-
direction: "asc" | "desc";
|
|
5285
|
-
unranked: "first" | "last";
|
|
5388
|
+
slug: unknown;
|
|
5389
|
+
props?: {
|
|
5390
|
+
set: Record<string, unknown>;
|
|
5391
|
+
unset: string[];
|
|
5286
5392
|
} | undefined;
|
|
5287
5393
|
} | {
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5394
|
+
op: "edge.update";
|
|
5395
|
+
edge: {
|
|
5396
|
+
source: string;
|
|
5397
|
+
target: string;
|
|
5398
|
+
class: string;
|
|
5399
|
+
};
|
|
5400
|
+
props: {
|
|
5401
|
+
set: Record<string, unknown>;
|
|
5402
|
+
unset: string[];
|
|
5292
5403
|
};
|
|
5293
|
-
order?: {
|
|
5294
|
-
property: string;
|
|
5295
|
-
direction: "asc" | "desc";
|
|
5296
|
-
unranked: "first" | "last";
|
|
5297
|
-
} | undefined;
|
|
5298
5404
|
} | {
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
target: "reference" | "value";
|
|
5405
|
+
op: "edge.delete";
|
|
5406
|
+
edge: {
|
|
5407
|
+
source: string;
|
|
5408
|
+
target: string;
|
|
5409
|
+
class: string;
|
|
5305
5410
|
};
|
|
5306
|
-
|
|
5307
|
-
property: string;
|
|
5308
|
-
direction: "asc" | "desc";
|
|
5309
|
-
unranked: "first" | "last";
|
|
5310
|
-
} | undefined;
|
|
5311
|
-
};
|
|
5411
|
+
})[];
|
|
5312
5412
|
};
|
|
5313
5413
|
expected?: {
|
|
5314
5414
|
origin: string;
|
|
5315
5415
|
revision: string;
|
|
5316
5416
|
}[] | undefined;
|
|
5317
|
-
page: {
|
|
5318
|
-
size: number;
|
|
5319
|
-
after?: string | undefined;
|
|
5320
|
-
};
|
|
5321
5417
|
}, {
|
|
5322
5418
|
readonly mode: 'value';
|
|
5323
5419
|
readonly value: {
|
|
5324
|
-
|
|
5325
|
-
kind: "graph";
|
|
5326
|
-
graph: {
|
|
5327
|
-
nodes: {
|
|
5328
|
-
id: string;
|
|
5329
|
-
class: string;
|
|
5330
|
-
props: Record<string, unknown>;
|
|
5331
|
-
}[];
|
|
5332
|
-
edges: {
|
|
5333
|
-
source: string;
|
|
5334
|
-
target: string;
|
|
5335
|
-
class: string;
|
|
5336
|
-
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5337
|
-
props: Record<string, unknown>;
|
|
5338
|
-
}[];
|
|
5339
|
-
};
|
|
5340
|
-
selection: {
|
|
5341
|
-
kind: "node";
|
|
5342
|
-
ids: string[];
|
|
5343
|
-
} | {
|
|
5344
|
-
kind: "edge";
|
|
5345
|
-
keys: {
|
|
5346
|
-
source: string;
|
|
5347
|
-
target: string;
|
|
5348
|
-
class: string;
|
|
5349
|
-
}[];
|
|
5350
|
-
};
|
|
5351
|
-
} | {
|
|
5352
|
-
kind: "nodes";
|
|
5353
|
-
nodes: ({
|
|
5354
|
-
kind: "reference";
|
|
5355
|
-
value: {
|
|
5356
|
-
id: string;
|
|
5357
|
-
class: string;
|
|
5358
|
-
};
|
|
5359
|
-
} | {
|
|
5360
|
-
kind: "value";
|
|
5361
|
-
value: {
|
|
5362
|
-
id: string;
|
|
5363
|
-
class: string;
|
|
5364
|
-
props: Record<string, unknown>;
|
|
5365
|
-
};
|
|
5366
|
-
})[];
|
|
5367
|
-
} | {
|
|
5368
|
-
kind: "edges";
|
|
5369
|
-
edges: {
|
|
5370
|
-
edge: {
|
|
5371
|
-
kind: "reference";
|
|
5372
|
-
value: {
|
|
5373
|
-
source: string;
|
|
5374
|
-
target: string;
|
|
5375
|
-
class: string;
|
|
5376
|
-
};
|
|
5377
|
-
} | {
|
|
5378
|
-
kind: "value";
|
|
5379
|
-
value: {
|
|
5380
|
-
source: string;
|
|
5381
|
-
target: string;
|
|
5382
|
-
class: string;
|
|
5383
|
-
slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
|
|
5384
|
-
props: Record<string, unknown>;
|
|
5385
|
-
};
|
|
5386
|
-
};
|
|
5387
|
-
source: {
|
|
5388
|
-
kind: "reference";
|
|
5389
|
-
value: {
|
|
5390
|
-
id: string;
|
|
5391
|
-
class: string;
|
|
5392
|
-
};
|
|
5393
|
-
} | {
|
|
5394
|
-
kind: "value";
|
|
5395
|
-
value: {
|
|
5396
|
-
id: string;
|
|
5397
|
-
class: string;
|
|
5398
|
-
props: Record<string, unknown>;
|
|
5399
|
-
};
|
|
5400
|
-
};
|
|
5401
|
-
target: {
|
|
5402
|
-
kind: "reference";
|
|
5403
|
-
value: {
|
|
5404
|
-
id: string;
|
|
5405
|
-
class: string;
|
|
5406
|
-
};
|
|
5407
|
-
} | {
|
|
5408
|
-
kind: "value";
|
|
5409
|
-
value: {
|
|
5410
|
-
id: string;
|
|
5411
|
-
class: string;
|
|
5412
|
-
props: Record<string, unknown>;
|
|
5413
|
-
};
|
|
5414
|
-
};
|
|
5415
|
-
}[];
|
|
5416
|
-
};
|
|
5417
|
-
page: {
|
|
5418
|
-
next?: string | undefined;
|
|
5419
|
-
};
|
|
5420
|
+
createdNodes: Record<string, string>;
|
|
5420
5421
|
};
|
|
5421
5422
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5422
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
5423
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"mutate"> & {
|
|
5423
5424
|
readonly origin: "kernel.astrale.ai";
|
|
5424
5425
|
};
|
|
5425
|
-
readonly key: "kernel.astrale.ai:function.
|
|
5426
|
+
readonly key: "kernel.astrale.ai:function.mutate";
|
|
5426
5427
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5428
|
+
operation: string;
|
|
5429
|
+
domains: ({
|
|
5430
|
+
artifact: {
|
|
5431
|
+
digest: string;
|
|
5432
|
+
mediaType: string;
|
|
5433
|
+
size: number;
|
|
5434
|
+
};
|
|
5435
|
+
currentRevision?: string | null | undefined;
|
|
5432
5436
|
} | {
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
+
publication: {
|
|
5438
|
+
url: string;
|
|
5439
|
+
token?: string | undefined;
|
|
5440
|
+
etag?: string | undefined;
|
|
5441
|
+
};
|
|
5442
|
+
revision?: string | undefined;
|
|
5443
|
+
currentRevision?: string | null | undefined;
|
|
5437
5444
|
})[];
|
|
5438
5445
|
}, {
|
|
5439
|
-
readonly mode: '
|
|
5440
|
-
readonly value: {
|
|
5441
|
-
identities: {
|
|
5442
|
-
id: string;
|
|
5443
|
-
iss: string;
|
|
5444
|
-
sub: string;
|
|
5445
|
-
}[];
|
|
5446
|
-
};
|
|
5446
|
+
readonly mode: 'binary';
|
|
5447
5447
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
|
|
5448
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
5448
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
5449
5449
|
readonly origin: "kernel.astrale.ai";
|
|
5450
5450
|
};
|
|
5451
|
-
readonly key: "kernel.astrale.ai:function.
|
|
5451
|
+
readonly key: "kernel.astrale.ai:function.install";
|
|
5452
5452
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
5453
5453
|
operation: string;
|
|
5454
5454
|
domains: string[];
|
|
@@ -5495,15 +5495,30 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5495
5495
|
};
|
|
5496
5496
|
readonly key: "kernel.astrale.ai:function.uninstall";
|
|
5497
5497
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
grant?: unknown;
|
|
5501
|
-
identity: string;
|
|
5498
|
+
iss: string;
|
|
5499
|
+
sub: string;
|
|
5502
5500
|
}, {
|
|
5503
5501
|
readonly mode: 'value';
|
|
5504
|
-
readonly value:
|
|
5505
|
-
|
|
5506
|
-
|
|
5502
|
+
readonly value: {
|
|
5503
|
+
id: string;
|
|
5504
|
+
iss: string;
|
|
5505
|
+
sub: string;
|
|
5506
|
+
frozen: boolean;
|
|
5507
|
+
requiredClaims: ({
|
|
5508
|
+
claim: string;
|
|
5509
|
+
op: "contains";
|
|
5510
|
+
value: unknown;
|
|
5511
|
+
} | {
|
|
5512
|
+
claim: string;
|
|
5513
|
+
op: "eq";
|
|
5514
|
+
value: unknown;
|
|
5515
|
+
} | {
|
|
5516
|
+
claim: string;
|
|
5517
|
+
op: "exists";
|
|
5518
|
+
})[];
|
|
5519
|
+
} | null;
|
|
5520
|
+
}, true, false, "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.Identity.method.whois"> & {
|
|
5521
|
+
readonly name: "whois";
|
|
5507
5522
|
readonly executable: true;
|
|
5508
5523
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5509
5524
|
target: string;
|
|
@@ -5548,30 +5563,15 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
5548
5563
|
readonly name: "resolve";
|
|
5549
5564
|
readonly executable: true;
|
|
5550
5565
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
5551
|
-
|
|
5552
|
-
|
|
5566
|
+
audience?: string | undefined;
|
|
5567
|
+
ttlSeconds: number;
|
|
5568
|
+
grant?: unknown;
|
|
5569
|
+
identity: string;
|
|
5553
5570
|
}, {
|
|
5554
5571
|
readonly mode: 'value';
|
|
5555
|
-
readonly value:
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
sub: string;
|
|
5559
|
-
frozen: boolean;
|
|
5560
|
-
requiredClaims: ({
|
|
5561
|
-
claim: string;
|
|
5562
|
-
op: "contains";
|
|
5563
|
-
value: unknown;
|
|
5564
|
-
} | {
|
|
5565
|
-
claim: string;
|
|
5566
|
-
op: "eq";
|
|
5567
|
-
value: unknown;
|
|
5568
|
-
} | {
|
|
5569
|
-
claim: string;
|
|
5570
|
-
op: "exists";
|
|
5571
|
-
})[];
|
|
5572
|
-
} | null;
|
|
5573
|
-
}, true, false, "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.Identity.method.whois"> & {
|
|
5574
|
-
readonly name: "whois";
|
|
5572
|
+
readonly value: string;
|
|
5573
|
+
}, true, false, "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.Identity.method.impersonate"> & {
|
|
5574
|
+
readonly name: "impersonate";
|
|
5575
5575
|
readonly executable: true;
|
|
5576
5576
|
}))[];
|
|
5577
5577
|
export { AuthorityOperationOrder, AuthorityOperations, operationOf } from '../authority/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/kernel-core",
|
|
3
|
-
"version": "0.9.0-beta.
|
|
3
|
+
"version": "0.9.0-beta.51",
|
|
4
4
|
"description": "Astrale Kernel Core - Types, Invariants, and Pure Logic",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"access": "public"
|
|
161
161
|
},
|
|
162
162
|
"dependencies": {
|
|
163
|
-
"@astrale-os/kernel-dsl": "0.2.0-beta.
|
|
163
|
+
"@astrale-os/kernel-dsl": "0.2.0-beta.36",
|
|
164
164
|
"@noble/hashes": "2.3.0",
|
|
165
165
|
"@types/json-schema": "^7.0.15",
|
|
166
166
|
"dequal": "2.0.3"
|