@githolon/runtime 0.110.0

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.
Files changed (71) hide show
  1. package/LICENSE.md +45 -0
  2. package/dist/RUNTIME-SOURCES.sha256 +289 -0
  3. package/dist/application-reception.js +206 -0
  4. package/dist/nomos-native-runtime.js +22519 -0
  5. package/dist/nomos-runner.html +13 -0
  6. package/dist/nomos-runner.js +34769 -0
  7. package/dist/remote-reception.cjs +582 -0
  8. package/dist/remote-reception.js +555 -0
  9. package/dist/typescript-application-desk.js +796 -0
  10. package/package.json +71 -0
  11. package/runner/README.md +75 -0
  12. package/runner/build.ts +225 -0
  13. package/runner/node-entry.mjs +31858 -0
  14. package/runner/nomos-runner.html +13 -0
  15. package/runner/shims.js +17 -0
  16. package/src/admission_decision.ts +60 -0
  17. package/src/application_reception.ts +134 -0
  18. package/src/nominal_value.ts +122 -0
  19. package/src/protocol/nomos/custody/v1/snapshot_pb.d.ts +67 -0
  20. package/src/protocol/nomos/custody/v1/snapshot_pb.js +18 -0
  21. package/src/protocol/nomos/discovery/v1/workspace_placement_pb.d.ts +56 -0
  22. package/src/protocol/nomos/discovery/v1/workspace_placement_pb.js +18 -0
  23. package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +11183 -0
  24. package/src/protocol/nomos/kernel/v1/kernel_pb.js +2217 -0
  25. package/src/protocol/nomos/kernel/v1/progress_pb.d.ts +250 -0
  26. package/src/protocol/nomos/kernel/v1/progress_pb.js +66 -0
  27. package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +162 -0
  28. package/src/protocol/nomos/runtime/v2/application_desk_pb.js +60 -0
  29. package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.d.ts +202 -0
  30. package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.js +67 -0
  31. package/src/protocol/nomos/runtime/v2/authentication_desk_pb.d.ts +158 -0
  32. package/src/protocol/nomos/runtime/v2/authentication_desk_pb.js +50 -0
  33. package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.d.ts +204 -0
  34. package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.js +68 -0
  35. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +3661 -0
  36. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +735 -0
  37. package/src/protocol/nomos/runtime/v2/credentials_desk_pb.d.ts +122 -0
  38. package/src/protocol/nomos/runtime/v2/credentials_desk_pb.js +41 -0
  39. package/src/protocol/nomos/runtime/v2/custody_desk_pb.d.ts +611 -0
  40. package/src/protocol/nomos/runtime/v2/custody_desk_pb.js +123 -0
  41. package/src/protocol/nomos/runtime/v2/framework_pb.d.ts +211 -0
  42. package/src/protocol/nomos/runtime/v2/framework_pb.js +29 -0
  43. package/src/protocol/nomos/runtime/v2/identity_desk_pb.d.ts +305 -0
  44. package/src/protocol/nomos/runtime/v2/identity_desk_pb.js +61 -0
  45. package/src/protocol/nomos/runtime/v2/interaction_desk_pb.d.ts +73 -0
  46. package/src/protocol/nomos/runtime/v2/interaction_desk_pb.js +25 -0
  47. package/src/protocol/nomos/runtime/v2/law_desk_pb.d.ts +133 -0
  48. package/src/protocol/nomos/runtime/v2/law_desk_pb.js +39 -0
  49. package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.d.ts +267 -0
  50. package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.js +84 -0
  51. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +233 -0
  52. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +57 -0
  53. package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +1015 -0
  54. package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +230 -0
  55. package/src/protocol/nomos/runtime/v2/placement_desk_pb.d.ts +431 -0
  56. package/src/protocol/nomos/runtime/v2/placement_desk_pb.js +125 -0
  57. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +336 -0
  58. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +78 -0
  59. package/src/protocol/nomos/runtime/v2/records_desk_pb.d.ts +716 -0
  60. package/src/protocol/nomos/runtime/v2/records_desk_pb.js +200 -0
  61. package/src/protocol/nomos/runtime/v2/recovery_desk_pb.d.ts +535 -0
  62. package/src/protocol/nomos/runtime/v2/recovery_desk_pb.js +160 -0
  63. package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +1162 -0
  64. package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +212 -0
  65. package/src/protocol/nomos/runtime/v2/runtime_pb.d.ts +796 -0
  66. package/src/protocol/nomos/runtime/v2/runtime_pb.js +72 -0
  67. package/src/protocol/nomos/runtime/v2/sealing_desk_pb.d.ts +581 -0
  68. package/src/protocol/nomos/runtime/v2/sealing_desk_pb.js +149 -0
  69. package/src/remote_reception.public.d.ts +97 -0
  70. package/src/remote_reception.ts +446 -0
  71. package/src/typescript_application_desk.public.d.ts +62 -0
@@ -0,0 +1,122 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/credentials_desk.proto (package nomos.runtime.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * Describes the file nomos/runtime/v2/credentials_desk.proto.
10
+ */
11
+ export declare const file_nomos_runtime_v2_credentials_desk: GenFile;
12
+
13
+ /**
14
+ * Transitional shell-to-office update. This disappears when every platform
15
+ * writes the WIT credential vault directly; application clients never call it.
16
+ *
17
+ * @generated from message nomos.runtime.v2.RefreshCredentialsRequest
18
+ */
19
+ export declare type RefreshCredentialsRequest = Message<"nomos.runtime.v2.RefreshCredentialsRequest"> & {
20
+ /**
21
+ * @generated from field: string session = 1;
22
+ */
23
+ session: string;
24
+
25
+ /**
26
+ * @generated from field: optional bytes auth_token = 2;
27
+ */
28
+ authToken?: Uint8Array | undefined;
29
+
30
+ /**
31
+ * @generated from field: optional bytes author_secret = 3;
32
+ */
33
+ authorSecret?: Uint8Array | undefined;
34
+
35
+ /**
36
+ * Name of the durable device identity the shell keeps for this session
37
+ * (application-scoped). Without author_secret the office LOADS it through
38
+ * PeerDeviceIdentityEffect into the session's capability; with author_secret
39
+ * it SAVES that secret under the name before adopting it. Either way the
40
+ * shell answers the physical effect; the office decides the sequence.
41
+ *
42
+ * @generated from field: optional string device_identity = 4;
43
+ */
44
+ deviceIdentity?: string | undefined;
45
+ };
46
+
47
+ /**
48
+ * Describes the message nomos.runtime.v2.RefreshCredentialsRequest.
49
+ * Use `create(RefreshCredentialsRequestSchema)` to create a new message.
50
+ */
51
+ export declare const RefreshCredentialsRequestSchema: GenMessage<RefreshCredentialsRequest>;
52
+
53
+ /**
54
+ * @generated from message nomos.runtime.v2.CredentialsRefreshed
55
+ */
56
+ export declare type CredentialsRefreshed = Message<"nomos.runtime.v2.CredentialsRefreshed"> & {
57
+ /**
58
+ * @generated from field: string session = 1;
59
+ */
60
+ session: string;
61
+
62
+ /**
63
+ * @generated from field: bool has_auth_token = 2;
64
+ */
65
+ hasAuthToken: boolean;
66
+
67
+ /**
68
+ * @generated from field: bool has_author_secret = 3;
69
+ */
70
+ hasAuthorSecret: boolean;
71
+ };
72
+
73
+ /**
74
+ * Describes the message nomos.runtime.v2.CredentialsRefreshed.
75
+ * Use `create(CredentialsRefreshedSchema)` to create a new message.
76
+ */
77
+ export declare const CredentialsRefreshedSchema: GenMessage<CredentialsRefreshed>;
78
+
79
+ /**
80
+ * Ephemeral capability selection recorded on an application binding. Secret
81
+ * bytes live in the platform-shell WIT vault, not in workspace custody and not
82
+ * in the generated application protocol.
83
+ *
84
+ * @generated from enum nomos.runtime.v2.CredentialUse
85
+ */
86
+ export enum CredentialUse {
87
+ /**
88
+ * Invalid on every executable request. Proto requires a zero value; the peer
89
+ * office rejects it so generated callers must make an explicit choice.
90
+ *
91
+ * @generated from enum value: CREDENTIAL_USE_UNSPECIFIED = 0;
92
+ */
93
+ UNSPECIFIED = 0,
94
+
95
+ /**
96
+ * @generated from enum value: CREDENTIAL_USE_SESSION = 1;
97
+ */
98
+ SESSION = 1,
99
+
100
+ /**
101
+ * @generated from enum value: CREDENTIAL_USE_ENROLLED_DEVICE = 2;
102
+ */
103
+ ENROLLED_DEVICE = 2,
104
+
105
+ /**
106
+ * @generated from enum value: CREDENTIAL_USE_NONE = 3;
107
+ */
108
+ NONE = 3,
109
+
110
+ /**
111
+ * Narrow compatibility lane for an exact proof already present on the
112
+ * kernel request. New application calls use a peer-office capability.
113
+ *
114
+ * @generated from enum value: CREDENTIAL_USE_CALL_PROVIDED = 4;
115
+ */
116
+ CALL_PROVIDED = 4,
117
+ }
118
+
119
+ /**
120
+ * Describes the enum nomos.runtime.v2.CredentialUse.
121
+ */
122
+ export declare const CredentialUseSchema: GenEnum<CredentialUse>;
@@ -0,0 +1,41 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/credentials_desk.proto (package nomos.runtime.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file nomos/runtime/v2/credentials_desk.proto.
9
+ */
10
+ export const file_nomos_runtime_v2_credentials_desk = /*@__PURE__*/
11
+ fileDesc("Cidub21vcy9ydW50aW1lL3YyL2NyZWRlbnRpYWxzX2Rlc2sucHJvdG8SEG5vbW9zLnJ1bnRpbWUudjIitAEKGVJlZnJlc2hDcmVkZW50aWFsc1JlcXVlc3QSDwoHc2Vzc2lvbhgBIAEoCRIXCgphdXRoX3Rva2VuGAIgASgMSACIAQESGgoNYXV0aG9yX3NlY3JldBgDIAEoDEgBiAEBEhwKD2RldmljZV9pZGVudGl0eRgEIAEoCUgCiAEBQg0KC19hdXRoX3Rva2VuQhAKDl9hdXRob3Jfc2VjcmV0QhIKEF9kZXZpY2VfaWRlbnRpdHkiWgoUQ3JlZGVudGlhbHNSZWZyZXNoZWQSDwoHc2Vzc2lvbhgBIAEoCRIWCg5oYXNfYXV0aF90b2tlbhgCIAEoCBIZChFoYXNfYXV0aG9yX3NlY3JldBgDIAEoCCqqAQoNQ3JlZGVudGlhbFVzZRIeChpDUkVERU5USUFMX1VTRV9VTlNQRUNJRklFRBAAEhoKFkNSRURFTlRJQUxfVVNFX1NFU1NJT04QARIiCh5DUkVERU5USUFMX1VTRV9FTlJPTExFRF9ERVZJQ0UQAhIXChNDUkVERU5USUFMX1VTRV9OT05FEAMSIAocQ1JFREVOVElBTF9VU0VfQ0FMTF9QUk9WSURFRBAEYgZwcm90bzM");
12
+
13
+ /**
14
+ * Describes the message nomos.runtime.v2.RefreshCredentialsRequest.
15
+ * Use `create(RefreshCredentialsRequestSchema)` to create a new message.
16
+ */
17
+ export const RefreshCredentialsRequestSchema = /*@__PURE__*/
18
+ messageDesc(file_nomos_runtime_v2_credentials_desk, 0);
19
+
20
+ /**
21
+ * Describes the message nomos.runtime.v2.CredentialsRefreshed.
22
+ * Use `create(CredentialsRefreshedSchema)` to create a new message.
23
+ */
24
+ export const CredentialsRefreshedSchema = /*@__PURE__*/
25
+ messageDesc(file_nomos_runtime_v2_credentials_desk, 1);
26
+
27
+ /**
28
+ * Describes the enum nomos.runtime.v2.CredentialUse.
29
+ */
30
+ export const CredentialUseSchema = /*@__PURE__*/
31
+ enumDesc(file_nomos_runtime_v2_credentials_desk, 0);
32
+
33
+ /**
34
+ * Ephemeral capability selection recorded on an application binding. Secret
35
+ * bytes live in the platform-shell WIT vault, not in workspace custody and not
36
+ * in the generated application protocol.
37
+ *
38
+ * @generated from enum nomos.runtime.v2.CredentialUse
39
+ */
40
+ export const CredentialUse = /*@__PURE__*/
41
+ tsEnum(CredentialUseSchema);