@astrale-os/kernel-core 1.0.0-beta.3 → 1.0.0-beta.5
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/callables/execution.d.ts +300 -0
- package/dist/schema/callables/function.js +2 -1
- package/dist/schema/kernel/schema.d.ts +505 -87
- package/dist/schema/kernel/syscalls/contracts/execution.d.ts +241 -1
- package/dist/schema/kernel/syscalls/contracts/execution.js +77 -7
- package/dist/schema/kernel/syscalls/contracts/index.d.ts +2 -2
- package/dist/schema/kernel/syscalls/contracts/index.js +2 -2
- package/dist/schema/kernel/syscalls/contracts/install.d.ts +160 -0
- package/dist/schema/kernel/syscalls/contracts/install.js +48 -2
- package/dist/schema/kernel/syscalls/contracts/installation.d.ts +5 -0
- package/dist/schema/kernel/syscalls/contracts/installation.js +1 -1
- package/dist/schema/kernel/syscalls/contracts/query.d.ts +7 -0
- package/dist/schema/kernel/syscalls/contracts/query.js +8 -1
- package/dist/schema/kernel/syscalls/contracts/uninstall.d.ts +1 -0
- package/dist/schema/kernel/syscalls/contracts/uninstall.js +1 -0
- package/dist/schema/kernel/syscalls/declarations/execution.d.ts +150 -0
- package/dist/schema/kernel/syscalls/declarations/index.d.ts +212 -3
- package/dist/schema/kernel/syscalls/declarations/install.d.ts +58 -2
- package/dist/schema/kernel/syscalls/declarations/install.js +6 -4
- package/dist/schema/kernel/syscalls/declarations/query.d.ts +1 -0
- package/dist/schema/kernel/syscalls/declarations/uninstall.d.ts +3 -1
- package/dist/schema/kernel/syscalls/declarations/uninstall.js +2 -0
- package/dist/schema/kernel/syscalls/descriptors/execution.d.ts +150 -0
- package/package.json +2 -2
|
@@ -3842,6 +3842,39 @@ declare const KernelDefinitions: {
|
|
|
3842
3842
|
version: string;
|
|
3843
3843
|
state: "cancelled" | "completed" | "expired" | "failed" | "paused" | "pending" | "running" | "waiting";
|
|
3844
3844
|
createdAt: string;
|
|
3845
|
+
detail?: {
|
|
3846
|
+
phase: "activating" | "attempting" | "awaiting" | "cancelled" | "classifying" | "completed" | "draining" | "rejected" | "validating";
|
|
3847
|
+
class?: "immediate" | "noop" | "revalidate" | undefined;
|
|
3848
|
+
mode?: "maintenance" | "online" | undefined;
|
|
3849
|
+
validation?: {
|
|
3850
|
+
scope: "full" | "incremental";
|
|
3851
|
+
counts: "exact" | "sample";
|
|
3852
|
+
} | undefined;
|
|
3853
|
+
progress?: {
|
|
3854
|
+
pages: number;
|
|
3855
|
+
interruptions: number;
|
|
3856
|
+
} | undefined;
|
|
3857
|
+
instance?: "attempt" | "draining" | "open" | "repair" | undefined;
|
|
3858
|
+
command?: number | undefined;
|
|
3859
|
+
expires?: number | undefined;
|
|
3860
|
+
attempt?: {
|
|
3861
|
+
number: number;
|
|
3862
|
+
destination: "previous" | "target";
|
|
3863
|
+
} | undefined;
|
|
3864
|
+
report?: {
|
|
3865
|
+
attempt: number;
|
|
3866
|
+
destination: "previous" | "target";
|
|
3867
|
+
result: "aborted" | "interrupted" | "migration-required";
|
|
3868
|
+
reason?: string | undefined;
|
|
3869
|
+
summary?: unknown;
|
|
3870
|
+
} | undefined;
|
|
3871
|
+
uncertified?: {
|
|
3872
|
+
since: number;
|
|
3873
|
+
session?: string | undefined;
|
|
3874
|
+
operator?: string | undefined;
|
|
3875
|
+
reason?: string | undefined;
|
|
3876
|
+
} | undefined;
|
|
3877
|
+
} | undefined;
|
|
3845
3878
|
outcome?: {
|
|
3846
3879
|
kind: "completed";
|
|
3847
3880
|
value: unknown;
|
|
@@ -3856,6 +3889,23 @@ declare const KernelDefinitions: {
|
|
|
3856
3889
|
} | {
|
|
3857
3890
|
kind: "cancelled";
|
|
3858
3891
|
} | undefined;
|
|
3892
|
+
} | {
|
|
3893
|
+
id: string;
|
|
3894
|
+
state: "deleted";
|
|
3895
|
+
outcome: {
|
|
3896
|
+
kind: "completed";
|
|
3897
|
+
value: unknown;
|
|
3898
|
+
} | {
|
|
3899
|
+
kind: "failed";
|
|
3900
|
+
error: {
|
|
3901
|
+
code: string;
|
|
3902
|
+
message: string;
|
|
3903
|
+
family?: string | undefined;
|
|
3904
|
+
details?: unknown;
|
|
3905
|
+
};
|
|
3906
|
+
} | {
|
|
3907
|
+
kind: "cancelled";
|
|
3908
|
+
};
|
|
3859
3909
|
};
|
|
3860
3910
|
}, "authenticated", false, false, undefined>>;
|
|
3861
3911
|
result: builder.Method<builder.CallableProjection<{
|
|
@@ -3887,6 +3937,39 @@ declare const KernelDefinitions: {
|
|
|
3887
3937
|
version: string;
|
|
3888
3938
|
state: "cancelled" | "completed" | "expired" | "failed" | "paused" | "pending" | "running" | "waiting";
|
|
3889
3939
|
createdAt: string;
|
|
3940
|
+
detail?: {
|
|
3941
|
+
phase: "activating" | "attempting" | "awaiting" | "cancelled" | "classifying" | "completed" | "draining" | "rejected" | "validating";
|
|
3942
|
+
class?: "immediate" | "noop" | "revalidate" | undefined;
|
|
3943
|
+
mode?: "maintenance" | "online" | undefined;
|
|
3944
|
+
validation?: {
|
|
3945
|
+
scope: "full" | "incremental";
|
|
3946
|
+
counts: "exact" | "sample";
|
|
3947
|
+
} | undefined;
|
|
3948
|
+
progress?: {
|
|
3949
|
+
pages: number;
|
|
3950
|
+
interruptions: number;
|
|
3951
|
+
} | undefined;
|
|
3952
|
+
instance?: "attempt" | "draining" | "open" | "repair" | undefined;
|
|
3953
|
+
command?: number | undefined;
|
|
3954
|
+
expires?: number | undefined;
|
|
3955
|
+
attempt?: {
|
|
3956
|
+
number: number;
|
|
3957
|
+
destination: "previous" | "target";
|
|
3958
|
+
} | undefined;
|
|
3959
|
+
report?: {
|
|
3960
|
+
attempt: number;
|
|
3961
|
+
destination: "previous" | "target";
|
|
3962
|
+
result: "aborted" | "interrupted" | "migration-required";
|
|
3963
|
+
reason?: string | undefined;
|
|
3964
|
+
summary?: unknown;
|
|
3965
|
+
} | undefined;
|
|
3966
|
+
uncertified?: {
|
|
3967
|
+
since: number;
|
|
3968
|
+
session?: string | undefined;
|
|
3969
|
+
operator?: string | undefined;
|
|
3970
|
+
reason?: string | undefined;
|
|
3971
|
+
} | undefined;
|
|
3972
|
+
} | undefined;
|
|
3890
3973
|
outcome?: {
|
|
3891
3974
|
kind: "completed";
|
|
3892
3975
|
value: unknown;
|
|
@@ -3901,6 +3984,23 @@ declare const KernelDefinitions: {
|
|
|
3901
3984
|
} | {
|
|
3902
3985
|
kind: "cancelled";
|
|
3903
3986
|
} | undefined;
|
|
3987
|
+
} | {
|
|
3988
|
+
id: string;
|
|
3989
|
+
state: "deleted";
|
|
3990
|
+
outcome: {
|
|
3991
|
+
kind: "completed";
|
|
3992
|
+
value: unknown;
|
|
3993
|
+
} | {
|
|
3994
|
+
kind: "failed";
|
|
3995
|
+
error: {
|
|
3996
|
+
code: string;
|
|
3997
|
+
message: string;
|
|
3998
|
+
family?: string | undefined;
|
|
3999
|
+
details?: unknown;
|
|
4000
|
+
};
|
|
4001
|
+
} | {
|
|
4002
|
+
kind: "cancelled";
|
|
4003
|
+
};
|
|
3904
4004
|
};
|
|
3905
4005
|
}, "authenticated", false, false, undefined>>;
|
|
3906
4006
|
signal: builder.Method<builder.CallableProjection<{
|
|
@@ -3918,6 +4018,39 @@ declare const KernelDefinitions: {
|
|
|
3918
4018
|
version: string;
|
|
3919
4019
|
state: "cancelled" | "completed" | "expired" | "failed" | "paused" | "pending" | "running" | "waiting";
|
|
3920
4020
|
createdAt: string;
|
|
4021
|
+
detail?: {
|
|
4022
|
+
phase: "activating" | "attempting" | "awaiting" | "cancelled" | "classifying" | "completed" | "draining" | "rejected" | "validating";
|
|
4023
|
+
class?: "immediate" | "noop" | "revalidate" | undefined;
|
|
4024
|
+
mode?: "maintenance" | "online" | undefined;
|
|
4025
|
+
validation?: {
|
|
4026
|
+
scope: "full" | "incremental";
|
|
4027
|
+
counts: "exact" | "sample";
|
|
4028
|
+
} | undefined;
|
|
4029
|
+
progress?: {
|
|
4030
|
+
pages: number;
|
|
4031
|
+
interruptions: number;
|
|
4032
|
+
} | undefined;
|
|
4033
|
+
instance?: "attempt" | "draining" | "open" | "repair" | undefined;
|
|
4034
|
+
command?: number | undefined;
|
|
4035
|
+
expires?: number | undefined;
|
|
4036
|
+
attempt?: {
|
|
4037
|
+
number: number;
|
|
4038
|
+
destination: "previous" | "target";
|
|
4039
|
+
} | undefined;
|
|
4040
|
+
report?: {
|
|
4041
|
+
attempt: number;
|
|
4042
|
+
destination: "previous" | "target";
|
|
4043
|
+
result: "aborted" | "interrupted" | "migration-required";
|
|
4044
|
+
reason?: string | undefined;
|
|
4045
|
+
summary?: unknown;
|
|
4046
|
+
} | undefined;
|
|
4047
|
+
uncertified?: {
|
|
4048
|
+
since: number;
|
|
4049
|
+
session?: string | undefined;
|
|
4050
|
+
operator?: string | undefined;
|
|
4051
|
+
reason?: string | undefined;
|
|
4052
|
+
} | undefined;
|
|
4053
|
+
} | undefined;
|
|
3921
4054
|
outcome?: {
|
|
3922
4055
|
kind: "completed";
|
|
3923
4056
|
value: unknown;
|
|
@@ -3932,6 +4065,23 @@ declare const KernelDefinitions: {
|
|
|
3932
4065
|
} | {
|
|
3933
4066
|
kind: "cancelled";
|
|
3934
4067
|
} | undefined;
|
|
4068
|
+
} | {
|
|
4069
|
+
id: string;
|
|
4070
|
+
state: "deleted";
|
|
4071
|
+
outcome: {
|
|
4072
|
+
kind: "completed";
|
|
4073
|
+
value: unknown;
|
|
4074
|
+
} | {
|
|
4075
|
+
kind: "failed";
|
|
4076
|
+
error: {
|
|
4077
|
+
code: string;
|
|
4078
|
+
message: string;
|
|
4079
|
+
family?: string | undefined;
|
|
4080
|
+
details?: unknown;
|
|
4081
|
+
};
|
|
4082
|
+
} | {
|
|
4083
|
+
kind: "cancelled";
|
|
4084
|
+
};
|
|
3935
4085
|
};
|
|
3936
4086
|
}, "authenticated", false, false, undefined>>;
|
|
3937
4087
|
delete: builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
@@ -3969,6 +4119,39 @@ declare const KernelDefinitions: {
|
|
|
3969
4119
|
version: string;
|
|
3970
4120
|
state: "cancelled" | "completed" | "expired" | "failed" | "paused" | "pending" | "running" | "waiting";
|
|
3971
4121
|
createdAt: string;
|
|
4122
|
+
detail?: {
|
|
4123
|
+
phase: "activating" | "attempting" | "awaiting" | "cancelled" | "classifying" | "completed" | "draining" | "rejected" | "validating";
|
|
4124
|
+
class?: "immediate" | "noop" | "revalidate" | undefined;
|
|
4125
|
+
mode?: "maintenance" | "online" | undefined;
|
|
4126
|
+
validation?: {
|
|
4127
|
+
scope: "full" | "incremental";
|
|
4128
|
+
counts: "exact" | "sample";
|
|
4129
|
+
} | undefined;
|
|
4130
|
+
progress?: {
|
|
4131
|
+
pages: number;
|
|
4132
|
+
interruptions: number;
|
|
4133
|
+
} | undefined;
|
|
4134
|
+
instance?: "attempt" | "draining" | "open" | "repair" | undefined;
|
|
4135
|
+
command?: number | undefined;
|
|
4136
|
+
expires?: number | undefined;
|
|
4137
|
+
attempt?: {
|
|
4138
|
+
number: number;
|
|
4139
|
+
destination: "previous" | "target";
|
|
4140
|
+
} | undefined;
|
|
4141
|
+
report?: {
|
|
4142
|
+
attempt: number;
|
|
4143
|
+
destination: "previous" | "target";
|
|
4144
|
+
result: "aborted" | "interrupted" | "migration-required";
|
|
4145
|
+
reason?: string | undefined;
|
|
4146
|
+
summary?: unknown;
|
|
4147
|
+
} | undefined;
|
|
4148
|
+
uncertified?: {
|
|
4149
|
+
since: number;
|
|
4150
|
+
session?: string | undefined;
|
|
4151
|
+
operator?: string | undefined;
|
|
4152
|
+
reason?: string | undefined;
|
|
4153
|
+
} | undefined;
|
|
4154
|
+
} | undefined;
|
|
3972
4155
|
outcome?: {
|
|
3973
4156
|
kind: "completed";
|
|
3974
4157
|
value: unknown;
|
|
@@ -3983,6 +4166,23 @@ declare const KernelDefinitions: {
|
|
|
3983
4166
|
} | {
|
|
3984
4167
|
kind: "cancelled";
|
|
3985
4168
|
} | undefined;
|
|
4169
|
+
} | {
|
|
4170
|
+
id: string;
|
|
4171
|
+
state: "deleted";
|
|
4172
|
+
outcome: {
|
|
4173
|
+
kind: "completed";
|
|
4174
|
+
value: unknown;
|
|
4175
|
+
} | {
|
|
4176
|
+
kind: "failed";
|
|
4177
|
+
error: {
|
|
4178
|
+
code: string;
|
|
4179
|
+
message: string;
|
|
4180
|
+
family?: string | undefined;
|
|
4181
|
+
details?: unknown;
|
|
4182
|
+
};
|
|
4183
|
+
} | {
|
|
4184
|
+
kind: "cancelled";
|
|
4185
|
+
};
|
|
3986
4186
|
};
|
|
3987
4187
|
}, "authenticated", false, false, undefined>>, "resume", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
3988
4188
|
readonly mode: 'value';
|
|
@@ -3992,6 +4192,39 @@ declare const KernelDefinitions: {
|
|
|
3992
4192
|
version: string;
|
|
3993
4193
|
state: "cancelled" | "completed" | "expired" | "failed" | "paused" | "pending" | "running" | "waiting";
|
|
3994
4194
|
createdAt: string;
|
|
4195
|
+
detail?: {
|
|
4196
|
+
phase: "activating" | "attempting" | "awaiting" | "cancelled" | "classifying" | "completed" | "draining" | "rejected" | "validating";
|
|
4197
|
+
class?: "immediate" | "noop" | "revalidate" | undefined;
|
|
4198
|
+
mode?: "maintenance" | "online" | undefined;
|
|
4199
|
+
validation?: {
|
|
4200
|
+
scope: "full" | "incremental";
|
|
4201
|
+
counts: "exact" | "sample";
|
|
4202
|
+
} | undefined;
|
|
4203
|
+
progress?: {
|
|
4204
|
+
pages: number;
|
|
4205
|
+
interruptions: number;
|
|
4206
|
+
} | undefined;
|
|
4207
|
+
instance?: "attempt" | "draining" | "open" | "repair" | undefined;
|
|
4208
|
+
command?: number | undefined;
|
|
4209
|
+
expires?: number | undefined;
|
|
4210
|
+
attempt?: {
|
|
4211
|
+
number: number;
|
|
4212
|
+
destination: "previous" | "target";
|
|
4213
|
+
} | undefined;
|
|
4214
|
+
report?: {
|
|
4215
|
+
attempt: number;
|
|
4216
|
+
destination: "previous" | "target";
|
|
4217
|
+
result: "aborted" | "interrupted" | "migration-required";
|
|
4218
|
+
reason?: string | undefined;
|
|
4219
|
+
summary?: unknown;
|
|
4220
|
+
} | undefined;
|
|
4221
|
+
uncertified?: {
|
|
4222
|
+
since: number;
|
|
4223
|
+
session?: string | undefined;
|
|
4224
|
+
operator?: string | undefined;
|
|
4225
|
+
reason?: string | undefined;
|
|
4226
|
+
} | undefined;
|
|
4227
|
+
} | undefined;
|
|
3995
4228
|
outcome?: {
|
|
3996
4229
|
kind: "completed";
|
|
3997
4230
|
value: unknown;
|
|
@@ -4006,6 +4239,23 @@ declare const KernelDefinitions: {
|
|
|
4006
4239
|
} | {
|
|
4007
4240
|
kind: "cancelled";
|
|
4008
4241
|
} | undefined;
|
|
4242
|
+
} | {
|
|
4243
|
+
id: string;
|
|
4244
|
+
state: "deleted";
|
|
4245
|
+
outcome: {
|
|
4246
|
+
kind: "completed";
|
|
4247
|
+
value: unknown;
|
|
4248
|
+
} | {
|
|
4249
|
+
kind: "failed";
|
|
4250
|
+
error: {
|
|
4251
|
+
code: string;
|
|
4252
|
+
message: string;
|
|
4253
|
+
family?: string | undefined;
|
|
4254
|
+
details?: unknown;
|
|
4255
|
+
};
|
|
4256
|
+
} | {
|
|
4257
|
+
kind: "cancelled";
|
|
4258
|
+
};
|
|
4009
4259
|
};
|
|
4010
4260
|
}, "authenticated", false, false, undefined>>, "status", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
4011
4261
|
waitMs?: number | undefined;
|
|
@@ -4035,6 +4285,39 @@ declare const KernelDefinitions: {
|
|
|
4035
4285
|
version: string;
|
|
4036
4286
|
state: "cancelled" | "completed" | "expired" | "failed" | "paused" | "pending" | "running" | "waiting";
|
|
4037
4287
|
createdAt: string;
|
|
4288
|
+
detail?: {
|
|
4289
|
+
phase: "activating" | "attempting" | "awaiting" | "cancelled" | "classifying" | "completed" | "draining" | "rejected" | "validating";
|
|
4290
|
+
class?: "immediate" | "noop" | "revalidate" | undefined;
|
|
4291
|
+
mode?: "maintenance" | "online" | undefined;
|
|
4292
|
+
validation?: {
|
|
4293
|
+
scope: "full" | "incremental";
|
|
4294
|
+
counts: "exact" | "sample";
|
|
4295
|
+
} | undefined;
|
|
4296
|
+
progress?: {
|
|
4297
|
+
pages: number;
|
|
4298
|
+
interruptions: number;
|
|
4299
|
+
} | undefined;
|
|
4300
|
+
instance?: "attempt" | "draining" | "open" | "repair" | undefined;
|
|
4301
|
+
command?: number | undefined;
|
|
4302
|
+
expires?: number | undefined;
|
|
4303
|
+
attempt?: {
|
|
4304
|
+
number: number;
|
|
4305
|
+
destination: "previous" | "target";
|
|
4306
|
+
} | undefined;
|
|
4307
|
+
report?: {
|
|
4308
|
+
attempt: number;
|
|
4309
|
+
destination: "previous" | "target";
|
|
4310
|
+
result: "aborted" | "interrupted" | "migration-required";
|
|
4311
|
+
reason?: string | undefined;
|
|
4312
|
+
summary?: unknown;
|
|
4313
|
+
} | undefined;
|
|
4314
|
+
uncertified?: {
|
|
4315
|
+
since: number;
|
|
4316
|
+
session?: string | undefined;
|
|
4317
|
+
operator?: string | undefined;
|
|
4318
|
+
reason?: string | undefined;
|
|
4319
|
+
} | undefined;
|
|
4320
|
+
} | undefined;
|
|
4038
4321
|
outcome?: {
|
|
4039
4322
|
kind: "completed";
|
|
4040
4323
|
value: unknown;
|
|
@@ -4049,6 +4332,23 @@ declare const KernelDefinitions: {
|
|
|
4049
4332
|
} | {
|
|
4050
4333
|
kind: "cancelled";
|
|
4051
4334
|
} | undefined;
|
|
4335
|
+
} | {
|
|
4336
|
+
id: string;
|
|
4337
|
+
state: "deleted";
|
|
4338
|
+
outcome: {
|
|
4339
|
+
kind: "completed";
|
|
4340
|
+
value: unknown;
|
|
4341
|
+
} | {
|
|
4342
|
+
kind: "failed";
|
|
4343
|
+
error: {
|
|
4344
|
+
code: string;
|
|
4345
|
+
message: string;
|
|
4346
|
+
family?: string | undefined;
|
|
4347
|
+
details?: unknown;
|
|
4348
|
+
};
|
|
4349
|
+
} | {
|
|
4350
|
+
kind: "cancelled";
|
|
4351
|
+
};
|
|
4052
4352
|
};
|
|
4053
4353
|
}, "authenticated", false, false, undefined>>, "cancel", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
4054
4354
|
name: string;
|
|
@@ -8097,6 +8397,7 @@ declare const KernelDefinitions: {
|
|
|
8097
8397
|
page: {
|
|
8098
8398
|
next?: string | undefined;
|
|
8099
8399
|
};
|
|
8400
|
+
certification?: "uncertified" | undefined;
|
|
8100
8401
|
};
|
|
8101
8402
|
}, "authorized", false, false, undefined>>;
|
|
8102
8403
|
upload: builder.Function<builder.CallableProjection<import("@astrale-os/kernel-dsl/v1").BinaryInputProjection<{
|
|
@@ -8409,9 +8710,65 @@ declare const KernelDefinitions: {
|
|
|
8409
8710
|
revision?: string | undefined;
|
|
8410
8711
|
currentRevision?: string | null | undefined;
|
|
8411
8712
|
})[];
|
|
8713
|
+
mode?: "maintenance" | "online" | undefined;
|
|
8714
|
+
validation?: {
|
|
8715
|
+
scope?: "full" | "incremental" | undefined;
|
|
8716
|
+
counts?: "exact" | "sample" | undefined;
|
|
8717
|
+
} | undefined;
|
|
8412
8718
|
}, {
|
|
8413
|
-
readonly mode: '
|
|
8414
|
-
|
|
8719
|
+
readonly mode: 'value';
|
|
8720
|
+
readonly value: {
|
|
8721
|
+
changed: true;
|
|
8722
|
+
receipt: {
|
|
8723
|
+
operation: string;
|
|
8724
|
+
transitions: {
|
|
8725
|
+
intent: {
|
|
8726
|
+
transition: string;
|
|
8727
|
+
operation: string;
|
|
8728
|
+
origin: string;
|
|
8729
|
+
previous: {
|
|
8730
|
+
origin: string;
|
|
8731
|
+
revision: string;
|
|
8732
|
+
generation: string;
|
|
8733
|
+
} | null;
|
|
8734
|
+
generation: {
|
|
8735
|
+
origin: string;
|
|
8736
|
+
revision: string;
|
|
8737
|
+
generation: string;
|
|
8738
|
+
} | null;
|
|
8739
|
+
consent?: {
|
|
8740
|
+
issuer: {
|
|
8741
|
+
from: string;
|
|
8742
|
+
to: string;
|
|
8743
|
+
};
|
|
8744
|
+
previous: "drain" | "revoke";
|
|
8745
|
+
} | undefined;
|
|
8746
|
+
};
|
|
8747
|
+
phase: "converge" | "cutover";
|
|
8748
|
+
state: "committed";
|
|
8749
|
+
readiness?: {
|
|
8750
|
+
generation: string;
|
|
8751
|
+
transition: string;
|
|
8752
|
+
dependencies: {
|
|
8753
|
+
origin: string;
|
|
8754
|
+
generation: string;
|
|
8755
|
+
readiness: string;
|
|
8756
|
+
meaning: string;
|
|
8757
|
+
}[];
|
|
8758
|
+
} | undefined;
|
|
8759
|
+
}[];
|
|
8760
|
+
};
|
|
8761
|
+
} | {
|
|
8762
|
+
changed: false;
|
|
8763
|
+
domains: {
|
|
8764
|
+
origin: string;
|
|
8765
|
+
revision: string;
|
|
8766
|
+
generation: string;
|
|
8767
|
+
}[];
|
|
8768
|
+
};
|
|
8769
|
+
}, "authorized", false, false, {
|
|
8770
|
+
readonly durable: true;
|
|
8771
|
+
}>>;
|
|
8415
8772
|
introspect: builder.Function<builder.CallableProjection<{
|
|
8416
8773
|
kind: "bundle" | "dependencies" | "inspect";
|
|
8417
8774
|
origin: string;
|
|
@@ -8467,7 +8824,9 @@ declare const KernelDefinitions: {
|
|
|
8467
8824
|
} | undefined;
|
|
8468
8825
|
}[];
|
|
8469
8826
|
};
|
|
8470
|
-
}, "authorized", false, false,
|
|
8827
|
+
}, "authorized", false, false, {
|
|
8828
|
+
readonly durable: true;
|
|
8829
|
+
}>>;
|
|
8471
8830
|
journal: builder.Function<builder.CallableProjection<{
|
|
8472
8831
|
invocation?: {
|
|
8473
8832
|
source: string;
|
|
@@ -8783,21 +9142,24 @@ export declare const AuthorityRelations: Readonly<{
|
|
|
8783
9142
|
};
|
|
8784
9143
|
}>;
|
|
8785
9144
|
/** Exact authorized Kernel Functions for which pristine Root receives direct can_use authority. */
|
|
8786
|
-
export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
9145
|
+
export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<import("@astrale-os/kernel-dsl/v1").BinaryInputProjection<{
|
|
9146
|
+
mediaType: string;
|
|
9147
|
+
}>, {
|
|
9148
|
+
readonly mode: 'value';
|
|
9149
|
+
readonly value: {
|
|
9150
|
+
receipt: string;
|
|
9151
|
+
ref: {
|
|
9152
|
+
digest: string;
|
|
9153
|
+
mediaType: string;
|
|
9154
|
+
size: number;
|
|
9155
|
+
};
|
|
9156
|
+
expiresAt: string;
|
|
9157
|
+
};
|
|
8796
9158
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy> & {
|
|
8797
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
9159
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"upload"> & {
|
|
8798
9160
|
readonly origin: "kernel.astrale.ai";
|
|
8799
9161
|
};
|
|
8800
|
-
readonly key: "kernel.astrale.ai:function.
|
|
9162
|
+
readonly key: "kernel.astrale.ai:function.upload";
|
|
8801
9163
|
readonly execution: undefined;
|
|
8802
9164
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
8803
9165
|
operation: string;
|
|
@@ -8824,47 +9186,70 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
8824
9186
|
revision?: string | undefined;
|
|
8825
9187
|
currentRevision?: string | null | undefined;
|
|
8826
9188
|
})[];
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
readonly origin: "kernel.astrale.ai";
|
|
8832
|
-
};
|
|
8833
|
-
readonly key: "kernel.astrale.ai:function.install";
|
|
8834
|
-
readonly execution: undefined;
|
|
8835
|
-
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
8836
|
-
invocation?: {
|
|
8837
|
-
source: string;
|
|
8838
|
-
id: string;
|
|
9189
|
+
mode?: "maintenance" | "online" | undefined;
|
|
9190
|
+
validation?: {
|
|
9191
|
+
scope?: "full" | "incremental" | undefined;
|
|
9192
|
+
counts?: "exact" | "sample" | undefined;
|
|
8839
9193
|
} | undefined;
|
|
8840
|
-
topics?: {
|
|
8841
|
-
exact?: string[] | undefined;
|
|
8842
|
-
prefixes?: string[] | undefined;
|
|
8843
|
-
} | undefined;
|
|
8844
|
-
principal?: string | undefined;
|
|
8845
|
-
since?: string | undefined;
|
|
8846
|
-
until?: string | undefined;
|
|
8847
|
-
cursor?: string | undefined;
|
|
8848
|
-
limit?: number | undefined;
|
|
8849
9194
|
}, {
|
|
8850
9195
|
readonly mode: 'value';
|
|
8851
9196
|
readonly value: {
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
9197
|
+
changed: true;
|
|
9198
|
+
receipt: {
|
|
9199
|
+
operation: string;
|
|
9200
|
+
transitions: {
|
|
9201
|
+
intent: {
|
|
9202
|
+
transition: string;
|
|
9203
|
+
operation: string;
|
|
9204
|
+
origin: string;
|
|
9205
|
+
previous: {
|
|
9206
|
+
origin: string;
|
|
9207
|
+
revision: string;
|
|
9208
|
+
generation: string;
|
|
9209
|
+
} | null;
|
|
9210
|
+
generation: {
|
|
9211
|
+
origin: string;
|
|
9212
|
+
revision: string;
|
|
9213
|
+
generation: string;
|
|
9214
|
+
} | null;
|
|
9215
|
+
consent?: {
|
|
9216
|
+
issuer: {
|
|
9217
|
+
from: string;
|
|
9218
|
+
to: string;
|
|
9219
|
+
};
|
|
9220
|
+
previous: "drain" | "revoke";
|
|
9221
|
+
} | undefined;
|
|
9222
|
+
};
|
|
9223
|
+
phase: "converge" | "cutover";
|
|
9224
|
+
state: "committed";
|
|
9225
|
+
readiness?: {
|
|
9226
|
+
generation: string;
|
|
9227
|
+
transition: string;
|
|
9228
|
+
dependencies: {
|
|
9229
|
+
origin: string;
|
|
9230
|
+
generation: string;
|
|
9231
|
+
readiness: string;
|
|
9232
|
+
meaning: string;
|
|
9233
|
+
}[];
|
|
9234
|
+
} | undefined;
|
|
9235
|
+
}[];
|
|
8858
9236
|
};
|
|
8859
|
-
|
|
8860
|
-
|
|
9237
|
+
} | {
|
|
9238
|
+
changed: false;
|
|
9239
|
+
domains: {
|
|
9240
|
+
origin: string;
|
|
9241
|
+
revision: string;
|
|
9242
|
+
generation: string;
|
|
9243
|
+
}[];
|
|
8861
9244
|
};
|
|
8862
9245
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy> & {
|
|
8863
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
9246
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
|
|
8864
9247
|
readonly origin: "kernel.astrale.ai";
|
|
8865
9248
|
};
|
|
8866
|
-
readonly key: "kernel.astrale.ai:function.
|
|
8867
|
-
readonly execution:
|
|
9249
|
+
readonly key: "kernel.astrale.ai:function.install";
|
|
9250
|
+
readonly execution: {
|
|
9251
|
+
readonly durable: true;
|
|
9252
|
+
};
|
|
8868
9253
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
8869
9254
|
ast: {
|
|
8870
9255
|
format: "astrale.graph.mutation";
|
|
@@ -9340,6 +9725,7 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
9340
9725
|
page: {
|
|
9341
9726
|
next?: string | undefined;
|
|
9342
9727
|
};
|
|
9728
|
+
certification?: "uncertified" | undefined;
|
|
9343
9729
|
};
|
|
9344
9730
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy> & {
|
|
9345
9731
|
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"query"> & {
|
|
@@ -9426,51 +9812,67 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
9426
9812
|
readonly origin: "kernel.astrale.ai";
|
|
9427
9813
|
};
|
|
9428
9814
|
readonly key: "kernel.astrale.ai:function.uninstall";
|
|
9429
|
-
readonly execution:
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
}
|
|
9815
|
+
readonly execution: {
|
|
9816
|
+
readonly durable: true;
|
|
9817
|
+
};
|
|
9818
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
9819
|
+
invocation?: {
|
|
9820
|
+
source: string;
|
|
9821
|
+
id: string;
|
|
9822
|
+
} | undefined;
|
|
9823
|
+
topics?: {
|
|
9824
|
+
exact?: string[] | undefined;
|
|
9825
|
+
prefixes?: string[] | undefined;
|
|
9826
|
+
} | undefined;
|
|
9827
|
+
principal?: string | undefined;
|
|
9828
|
+
since?: string | undefined;
|
|
9829
|
+
until?: string | undefined;
|
|
9830
|
+
cursor?: string | undefined;
|
|
9831
|
+
limit?: number | undefined;
|
|
9832
|
+
}, {
|
|
9433
9833
|
readonly mode: 'value';
|
|
9434
9834
|
readonly value: {
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9835
|
+
records: unknown[];
|
|
9836
|
+
frontier: {
|
|
9837
|
+
id: string;
|
|
9838
|
+
first?: number | undefined;
|
|
9839
|
+
committed: number;
|
|
9840
|
+
durable: number;
|
|
9440
9841
|
};
|
|
9441
|
-
|
|
9842
|
+
cursor?: string | undefined;
|
|
9843
|
+
gap?: unknown;
|
|
9442
9844
|
};
|
|
9443
9845
|
}, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy> & {
|
|
9444
|
-
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"
|
|
9846
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"journal"> & {
|
|
9445
9847
|
readonly origin: "kernel.astrale.ai";
|
|
9446
9848
|
};
|
|
9447
|
-
readonly key: "kernel.astrale.ai:function.
|
|
9849
|
+
readonly key: "kernel.astrale.ai:function.journal";
|
|
9850
|
+
readonly execution: undefined;
|
|
9851
|
+
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
|
|
9852
|
+
node: string;
|
|
9853
|
+
property: string;
|
|
9854
|
+
} | {
|
|
9855
|
+
slots: {
|
|
9856
|
+
node: string;
|
|
9857
|
+
property: string;
|
|
9858
|
+
}[];
|
|
9859
|
+
}, {
|
|
9860
|
+
readonly mode: 'binary';
|
|
9861
|
+
}, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy> & {
|
|
9862
|
+
readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"download"> & {
|
|
9863
|
+
readonly origin: "kernel.astrale.ai";
|
|
9864
|
+
};
|
|
9865
|
+
readonly key: "kernel.astrale.ai:function.download";
|
|
9448
9866
|
readonly execution: undefined;
|
|
9449
9867
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
9450
|
-
|
|
9451
|
-
|
|
9868
|
+
audience?: string | undefined;
|
|
9869
|
+
ttlSeconds: number;
|
|
9870
|
+
identity: string;
|
|
9452
9871
|
}, {
|
|
9453
9872
|
readonly mode: 'value';
|
|
9454
|
-
readonly value:
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
sub: string;
|
|
9458
|
-
frozen: boolean;
|
|
9459
|
-
requiredClaims: ({
|
|
9460
|
-
claim: string;
|
|
9461
|
-
op: "contains";
|
|
9462
|
-
value: unknown;
|
|
9463
|
-
} | {
|
|
9464
|
-
claim: string;
|
|
9465
|
-
op: "eq";
|
|
9466
|
-
value: unknown;
|
|
9467
|
-
} | {
|
|
9468
|
-
claim: string;
|
|
9469
|
-
op: "exists";
|
|
9470
|
-
})[];
|
|
9471
|
-
} | null;
|
|
9472
|
-
}, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy, "kernel.astrale.ai:class.Identity.method.whois"> & {
|
|
9473
|
-
readonly name: "whois";
|
|
9873
|
+
readonly value: string;
|
|
9874
|
+
}, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy, "kernel.astrale.ai:class.Identity.method.impersonate"> & {
|
|
9875
|
+
readonly name: "impersonate";
|
|
9474
9876
|
readonly executable: true;
|
|
9475
9877
|
readonly execution: undefined;
|
|
9476
9878
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
@@ -9506,14 +9908,30 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
|
|
|
9506
9908
|
readonly executable: true;
|
|
9507
9909
|
readonly execution: undefined;
|
|
9508
9910
|
}) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
identity: string;
|
|
9911
|
+
iss: string;
|
|
9912
|
+
sub: string;
|
|
9512
9913
|
}, {
|
|
9513
9914
|
readonly mode: 'value';
|
|
9514
|
-
readonly value:
|
|
9515
|
-
|
|
9516
|
-
|
|
9915
|
+
readonly value: {
|
|
9916
|
+
id: string;
|
|
9917
|
+
iss: string;
|
|
9918
|
+
sub: string;
|
|
9919
|
+
frozen: boolean;
|
|
9920
|
+
requiredClaims: ({
|
|
9921
|
+
claim: string;
|
|
9922
|
+
op: "contains";
|
|
9923
|
+
value: unknown;
|
|
9924
|
+
} | {
|
|
9925
|
+
claim: string;
|
|
9926
|
+
op: "eq";
|
|
9927
|
+
value: unknown;
|
|
9928
|
+
} | {
|
|
9929
|
+
claim: string;
|
|
9930
|
+
op: "exists";
|
|
9931
|
+
})[];
|
|
9932
|
+
} | null;
|
|
9933
|
+
}, true, false, "authorized", import("@astrale-os/kernel-dsl/v1").CallablePolicy, "kernel.astrale.ai:class.Identity.method.whois"> & {
|
|
9934
|
+
readonly name: "whois";
|
|
9517
9935
|
readonly executable: true;
|
|
9518
9936
|
readonly execution: undefined;
|
|
9519
9937
|
}))[];
|