@arcforges/api-client 1.0.0-ci.3.1 → 1.0.0-ci.306.1

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 (99) hide show
  1. package/NOTICE +57 -5
  2. package/README.md +9 -2
  3. package/build-identity.json +266 -0
  4. package/contracts.binpb +0 -0
  5. package/dist/gen/http.d.ts +31 -0
  6. package/dist/gen/http.js +34 -0
  7. package/dist/index.d.ts +10 -1
  8. package/dist/index.js +20 -2
  9. package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
  10. package/dist/shapes/gen/AndroidUpdate.js +620 -0
  11. package/dist/shapes/gen/BrowserAuthChallenge.d.ts +35 -0
  12. package/dist/shapes/gen/BrowserAuthChallenge.js +531 -0
  13. package/dist/shapes/gen/BrowserBeginAuthenticationRequest.d.ts +28 -0
  14. package/dist/shapes/gen/BrowserBeginAuthenticationRequest.js +384 -0
  15. package/dist/shapes/gen/BrowserBeginRecoveryRequest.d.ts +22 -0
  16. package/dist/shapes/gen/BrowserBeginRecoveryRequest.js +370 -0
  17. package/dist/shapes/gen/BrowserBeginStepUpRequest.d.ts +20 -0
  18. package/dist/shapes/gen/BrowserBeginStepUpRequest.js +279 -0
  19. package/dist/shapes/gen/BrowserBootstrapResponse.d.ts +37 -0
  20. package/dist/shapes/gen/BrowserBootstrapResponse.js +534 -0
  21. package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.d.ts +45 -0
  22. package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.js +564 -0
  23. package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.d.ts +90 -0
  24. package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.js +1145 -0
  25. package/dist/shapes/gen/BrowserCompleteRecoveryRequest.d.ts +22 -0
  26. package/dist/shapes/gen/BrowserCompleteRecoveryRequest.js +733 -0
  27. package/dist/shapes/gen/BrowserCompleteStepUpRequest.d.ts +20 -0
  28. package/dist/shapes/gen/BrowserCompleteStepUpRequest.js +564 -0
  29. package/dist/shapes/gen/BrowserOidcCallbackFailure.d.ts +20 -0
  30. package/dist/shapes/gen/BrowserOidcCallbackFailure.js +200 -0
  31. package/dist/shapes/gen/BrowserOidcCallbackSuccess.d.ts +19 -0
  32. package/dist/shapes/gen/BrowserOidcCallbackSuccess.js +185 -0
  33. package/dist/shapes/gen/BrowserReceipt.d.ts +20 -0
  34. package/dist/shapes/gen/BrowserReceipt.js +285 -0
  35. package/dist/shapes/gen/BrowserSessionRoutes.d.ts +17 -0
  36. package/dist/shapes/gen/BrowserSessionRoutes.js +13 -0
  37. package/dist/shapes/gen/BrowserSessionView.d.ts +25 -0
  38. package/dist/shapes/gen/BrowserSessionView.js +388 -0
  39. package/dist/shapes/gen/BrowserStepUpEvidence.d.ts +19 -0
  40. package/dist/shapes/gen/BrowserStepUpEvidence.js +266 -0
  41. package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
  42. package/dist/shapes/gen/CatalogIndex.js +703 -0
  43. package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
  44. package/dist/shapes/gen/CatalogRevocations.js +647 -0
  45. package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
  46. package/dist/shapes/gen/DeclarativePanel.js +2988 -0
  47. package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
  48. package/dist/shapes/gen/ExtensionManifest.js +3974 -0
  49. package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
  50. package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
  51. package/dist/shapes/gen/NativeAuthRoutes.d.ts +17 -0
  52. package/dist/shapes/gen/NativeAuthRoutes.js +5 -0
  53. package/dist/shapes/gen/NativeAuthorizeCallbackFailure.d.ts +19 -0
  54. package/dist/shapes/gen/NativeAuthorizeCallbackFailure.js +185 -0
  55. package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.d.ts +19 -0
  56. package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.js +185 -0
  57. package/dist/shapes/gen/NativeAuthorizeRequest.d.ts +24 -0
  58. package/dist/shapes/gen/NativeAuthorizeRequest.js +271 -0
  59. package/dist/shapes/gen/NativeTokenRequest.d.ts +23 -0
  60. package/dist/shapes/gen/NativeTokenRequest.js +258 -0
  61. package/dist/shapes/gen/NativeTokenResponse.d.ts +40 -0
  62. package/dist/shapes/gen/NativeTokenResponse.js +572 -0
  63. package/dist/shapes/gen/PackageInventory.d.ts +24 -0
  64. package/dist/shapes/gen/PackageInventory.js +327 -0
  65. package/dist/shapes/gen/PartReceipt.d.ts +21 -0
  66. package/dist/shapes/gen/PartReceipt.js +290 -0
  67. package/dist/shapes/gen/PolicyBody.d.ts +269 -0
  68. package/dist/shapes/gen/PolicyBody.js +4188 -0
  69. package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
  70. package/dist/shapes/gen/RealmDescriptor.js +627 -0
  71. package/package.json +15 -7
  72. package/sbom.cdx.json +17 -17
  73. package/schemas/public/http/v1/browser.schema.json +1300 -0
  74. package/schemas/public/http/v1/inventory.schema.json +49 -0
  75. package/schemas/public/http/v1/manifest.schema.json +1459 -0
  76. package/schemas/public/http/v1/native-auth.schema.json +341 -0
  77. package/schemas/public/http/v1/panel.schema.json +963 -0
  78. package/schemas/public/http/v1/policy-body.schema.json +1376 -0
  79. package/schemas/public/http/v1/schema.json +30 -0
  80. package/schemas/public/http/v1/signed-formats.schema.json +748 -0
  81. package/schemas/public/http/v1/workflow.schema.json +715 -0
  82. package/schemas/public/proto/arcforges/catalog/v1/catalog.proto +204 -0
  83. package/schemas/public/proto/arcforges/events/v1/events.proto +343 -0
  84. package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +384 -0
  85. package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
  86. package/schemas/public/proto/arcforges/publicapi/v1/application.proto +297 -0
  87. package/schemas/public/proto/arcforges/publicapi/v1/chat.proto +1507 -0
  88. package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
  89. package/schemas/public/proto/arcforges/publicapi/v1/content.proto +813 -0
  90. package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
  91. package/schemas/public/proto/arcforges/publicapi/v1/export.proto +112 -0
  92. package/schemas/public/proto/arcforges/publicapi/v1/identity.proto +1350 -0
  93. package/schemas/public/proto/arcforges/publicapi/v1/inprocess-values.proto +134 -0
  94. package/schemas/public/proto/arcforges/publicapi/v1/scope.proto +81 -0
  95. package/schemas/public/proto/arcforges/publicapi/v1/support.proto +242 -0
  96. package/schemas/public/proto/arcforges/publicapi/v1/sync.proto +459 -0
  97. package/schemas/public/proto/arcforges/publicapi/v1/transfer.proto +190 -0
  98. package/schemas/public/proto/arcforges/simulation/v1/simulation.proto +413 -0
  99. package/source.json +49 -6
@@ -0,0 +1,204 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ syntax = "proto3";
3
+ package arcforges.catalog.v1;
4
+ option csharp_namespace = "ArcForges.Contracts.Catalog.V1";
5
+ option java_package = "io.github.arcforges.contracts.catalog.v1";
6
+ option java_multiple_files = true;
7
+ option java_outer_classname = "CatalogProto";
8
+ import "arcforges/foundation/v1/foundation.proto";
9
+
10
+ // Registry04 package catalog. Operator reviews and revocations are a separate service.
11
+ service CatalogService {
12
+ rpc Search(CatalogServiceSearchRequest) returns (CatalogServiceSearchResponse);
13
+ rpc GetPackage(CatalogServiceGetPackageRequest) returns (CatalogServiceGetPackageResponse);
14
+ rpc ListVersions(CatalogServiceListVersionsRequest) returns (CatalogServiceListVersionsResponse);
15
+ rpc RegisterPublisher(CatalogServiceRegisterPublisherRequest) returns (CatalogServiceRegisterPublisherResponse);
16
+ rpc VerifyPublisher(CatalogServiceVerifyPublisherRequest) returns (CatalogServiceVerifyPublisherResponse);
17
+ rpc SubmitVersion(CatalogServiceSubmitVersionRequest) returns (CatalogServiceSubmitVersionResponse);
18
+ rpc GetSubmission(CatalogServiceGetSubmissionRequest) returns (CatalogServiceGetSubmissionResponse);
19
+ }
20
+
21
+ // Only owner projections may include the challenge. DNS and ownership checks are server responsibilities.
22
+ message PublisherView {
23
+ arcforges.foundation.v1.Id publisher_id = 1 [json_name = "publisherId"];
24
+ optional string domain = 2 [json_name = "domain"];
25
+ optional string state = 3 [json_name = "state"];
26
+ optional string dns_name = 4 [json_name = "dnsName"];
27
+ optional string challenge = 5 [json_name = "challenge"];
28
+ arcforges.foundation.v1.Instant expires_at = 6 [json_name = "expiresAt"];
29
+ arcforges.foundation.v1.Revision revision = 7 [json_name = "revision"];
30
+ }
31
+ message CatalogPackageView {
32
+ optional string package_id = 1 [json_name = "packageId"];
33
+ arcforges.foundation.v1.Id publisher_id = 2 [json_name = "publisherId"];
34
+ optional string name = 3 [json_name = "name"];
35
+ optional string summary = 4 [json_name = "summary"];
36
+ optional string kind = 5 [json_name = "kind"];
37
+ optional string latest_version = 6 [json_name = "latestVersion"];
38
+ arcforges.foundation.v1.Revision revision = 7 [json_name = "revision"];
39
+ }
40
+ message CatalogVersionView {
41
+ optional string package_id = 1 [json_name = "packageId"];
42
+ optional string version = 2 [json_name = "version"];
43
+ arcforges.foundation.v1.ResourceVersionRef archive = 3 [json_name = "archive"];
44
+ optional string digest = 4 [json_name = "digest"];
45
+ optional string manifest_hash = 5 [json_name = "manifestHash"];
46
+ optional string state = 6 [json_name = "state"];
47
+ arcforges.foundation.v1.Instant published_at = 7 [json_name = "publishedAt"];
48
+ arcforges.foundation.v1.Revision revision = 8 [json_name = "revision"];
49
+ }
50
+ message CatalogSubmissionView {
51
+ arcforges.foundation.v1.Id submission_id = 1 [json_name = "submissionId"];
52
+ CatalogVersionView version = 2 [json_name = "version"];
53
+ optional string reason = 3 [json_name = "reason"];
54
+ arcforges.foundation.v1.Revision revision = 4 [json_name = "revision"];
55
+ }
56
+ // Operator-only decisions; zero is never a known mutation value.
57
+ enum CatalogReviewDecision {
58
+ CATALOG_REVIEW_DECISION_UNSPECIFIED = 0;
59
+ CATALOG_REVIEW_DECISION_APPROVE = 1;
60
+ CATALOG_REVIEW_DECISION_REJECT = 2;
61
+ }
62
+ message CatalogServiceSearchRequest {
63
+ arcforges.foundation.v1.RequestMeta meta = 1;
64
+ reserved 2 to 9;
65
+ optional string query = 10;
66
+ optional string kind = 11;
67
+ arcforges.foundation.v1.PageRequest page = 12;
68
+ }
69
+ message CatalogServiceSearchValue {
70
+ repeated CatalogPackageView items = 10;
71
+ arcforges.foundation.v1.PageState page = 11;
72
+ }
73
+ message CatalogServiceSearchResponse {
74
+ arcforges.foundation.v1.ResponseMeta meta = 1;
75
+ oneof outcome {
76
+ CatalogServiceSearchValue value = 2;
77
+ arcforges.foundation.v1.ArcError error = 3;
78
+ arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
79
+ }
80
+
81
+ reserved 5 to 9;
82
+ }
83
+
84
+ message CatalogServiceGetPackageRequest {
85
+ arcforges.foundation.v1.RequestMeta meta = 1;
86
+ reserved 2 to 9;
87
+ optional string package_id = 10 [json_name = "packageId"];
88
+ }
89
+ message CatalogServiceGetPackageValue {
90
+ CatalogPackageView package = 10;
91
+ }
92
+ message CatalogServiceGetPackageResponse {
93
+ arcforges.foundation.v1.ResponseMeta meta = 1;
94
+ oneof outcome {
95
+ CatalogServiceGetPackageValue value = 2;
96
+ arcforges.foundation.v1.ArcError error = 3;
97
+ arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
98
+ }
99
+
100
+ reserved 5 to 9;
101
+ }
102
+
103
+ message CatalogServiceListVersionsRequest {
104
+ arcforges.foundation.v1.RequestMeta meta = 1;
105
+ reserved 2 to 9;
106
+ optional string package_id = 10 [json_name = "packageId"];
107
+ arcforges.foundation.v1.PageRequest page = 11;
108
+ }
109
+ message CatalogServiceListVersionsValue {
110
+ repeated CatalogVersionView items = 10;
111
+ arcforges.foundation.v1.PageState page = 11;
112
+ }
113
+ message CatalogServiceListVersionsResponse {
114
+ arcforges.foundation.v1.ResponseMeta meta = 1;
115
+ oneof outcome {
116
+ CatalogServiceListVersionsValue value = 2;
117
+ arcforges.foundation.v1.ArcError error = 3;
118
+ arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
119
+ }
120
+
121
+ reserved 5 to 9;
122
+ }
123
+
124
+ message CatalogServiceRegisterPublisherRequest {
125
+ arcforges.foundation.v1.RequestMeta meta = 1;
126
+ reserved 2 to 9;
127
+ arcforges.foundation.v1.Id publisher_id = 10 [json_name = "publisherId"];
128
+ optional string domain = 11;
129
+ }
130
+ message CatalogServiceRegisterPublisherValue {
131
+ PublisherView publisher = 10;
132
+ }
133
+ message CatalogServiceRegisterPublisherResponse {
134
+ arcforges.foundation.v1.ResponseMeta meta = 1;
135
+ oneof outcome {
136
+ CatalogServiceRegisterPublisherValue value = 2;
137
+ arcforges.foundation.v1.ArcError error = 3;
138
+
139
+ }
140
+ reserved 4;
141
+ reserved 5 to 9;
142
+ }
143
+
144
+ message CatalogServiceVerifyPublisherRequest {
145
+ arcforges.foundation.v1.RequestMeta meta = 1;
146
+ reserved 2 to 9;
147
+ arcforges.foundation.v1.Id publisher_id = 10 [json_name = "publisherId"];
148
+ }
149
+ message CatalogServiceVerifyPublisherValue {
150
+ PublisherView publisher = 10;
151
+ }
152
+ message CatalogServiceVerifyPublisherResponse {
153
+ arcforges.foundation.v1.ResponseMeta meta = 1;
154
+ oneof outcome {
155
+ CatalogServiceVerifyPublisherValue value = 2;
156
+ arcforges.foundation.v1.ArcError error = 3;
157
+
158
+ }
159
+ reserved 4;
160
+ reserved 5 to 9;
161
+ }
162
+
163
+ message CatalogServiceSubmitVersionRequest {
164
+ arcforges.foundation.v1.RequestMeta meta = 1;
165
+ reserved 2 to 9;
166
+ arcforges.foundation.v1.Id submission_id = 10 [json_name = "submissionId"];
167
+ arcforges.foundation.v1.Id publisher_id = 11 [json_name = "publisherId"];
168
+ optional string package_id = 12 [json_name = "packageId"];
169
+ optional string version = 13;
170
+ arcforges.foundation.v1.ResourceVersionRef archive = 14;
171
+ optional string manifest_hash = 15 [json_name = "manifestHash"];
172
+ }
173
+ message CatalogServiceSubmitVersionValue {
174
+ CatalogSubmissionView submission = 10;
175
+ }
176
+ message CatalogServiceSubmitVersionResponse {
177
+ arcforges.foundation.v1.ResponseMeta meta = 1;
178
+ oneof outcome {
179
+ CatalogServiceSubmitVersionValue value = 2;
180
+ arcforges.foundation.v1.ArcError error = 3;
181
+
182
+ }
183
+ reserved 4;
184
+ reserved 5 to 9;
185
+ }
186
+
187
+ message CatalogServiceGetSubmissionRequest {
188
+ arcforges.foundation.v1.RequestMeta meta = 1;
189
+ reserved 2 to 9;
190
+ arcforges.foundation.v1.Id submission_id = 10 [json_name = "submissionId"];
191
+ }
192
+ message CatalogServiceGetSubmissionValue {
193
+ CatalogSubmissionView submission = 10;
194
+ }
195
+ message CatalogServiceGetSubmissionResponse {
196
+ arcforges.foundation.v1.ResponseMeta meta = 1;
197
+ oneof outcome {
198
+ CatalogServiceGetSubmissionValue value = 2;
199
+ arcforges.foundation.v1.ArcError error = 3;
200
+ arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
201
+ }
202
+
203
+ reserved 5 to 9;
204
+ }
@@ -0,0 +1,343 @@
1
+ // SPDX-License-Identifier: Apache-2.0
2
+ syntax = "proto3";
3
+
4
+ package arcforges.events.v1;
5
+
6
+ import "arcforges/foundation/v1/foundation.proto";
7
+ import "arcforges/publicapi/v1/application.proto";
8
+ import "arcforges/publicapi/v1/chat.proto";
9
+ import "arcforges/publicapi/v1/content.proto";
10
+ import "arcforges/publicapi/v1/inprocess-values.proto";
11
+
12
+ option csharp_namespace = "ArcForges.Contracts.Events.V1";
13
+ option java_package = "io.github.arcforges.contracts.events.v1";
14
+ option java_multiple_files = true;
15
+ option java_outer_classname = "EventsProto";
16
+
17
+ service ExecutionService {
18
+ rpc StartTransientTurn(ExecutionServiceStartTransientTurnRequest) returns (ExecutionServiceStartTransientTurnResponse);
19
+ rpc ReadOutput(ExecutionServiceReadOutputRequest) returns (ExecutionServiceReadOutputResponse);
20
+ rpc WatchOutput(ExecutionServiceWatchOutputRequest) returns (stream StreamFrame);
21
+ rpc AcknowledgeOutput(ExecutionServiceAcknowledgeOutputRequest) returns (ExecutionServiceAcknowledgeOutputResponse);
22
+ rpc PurgeTransient(ExecutionServicePurgeTransientRequest) returns (ExecutionServicePurgeTransientResponse);
23
+ }
24
+
25
+ service EventService {
26
+ rpc Poll(EventServicePollRequest) returns (EventServicePollResponse);
27
+ rpc Watch(EventServiceWatchRequest) returns (stream StreamFrame);
28
+ }
29
+
30
+ // Event payload alternatives and their declaration order mirror the complete
31
+ // event registry in Design Registry04 §7 (tags 10–26). This oneof is the
32
+ // single schema source for generated language descriptors; event names map
33
+ // to the corresponding lower-camel oneof field.
34
+ // The complete entitlement.changed hint payload; not the full Event envelope.
35
+ message EntitlementChanged {
36
+ optional int64 entitlement_version = 1 [json_name = "entitlementVersion"];
37
+ }
38
+
39
+ message Event {
40
+ optional string subscription_key = 1 [json_name = "subscriptionKey"];
41
+ optional uint64 seq = 2 [json_name = "seq"];
42
+ arcforges.foundation.v1.Id workspace_id = 3 [json_name = "workspaceId"];
43
+ arcforges.foundation.v1.Instant occurred_at = 4 [json_name = "occurredAt"];
44
+ arcforges.foundation.v1.Id correlation_id = 5 [json_name = "correlationId"];
45
+ oneof payload {
46
+ SyncChanged sync_changed = 10 [json_name = "syncChanged"];
47
+ SyncConflictRaised sync_conflict_raised = 11 [json_name = "syncConflictRaised"];
48
+ TaskStateChanged task_state_changed = 12 [json_name = "taskStateChanged"];
49
+ TaskProgress task_progress = 13 [json_name = "taskProgress"];
50
+ TaskOutputAppended task_output_appended = 14 [json_name = "taskOutputAppended"];
51
+ ApprovalRaised approval_raised = 15 [json_name = "approvalRaised"];
52
+ ApprovalResolved approval_resolved = 16 [json_name = "approvalResolved"];
53
+ EntitlementChanged entitlement_changed = 17 [json_name = "entitlementChanged"];
54
+ ApplicationPresenceChanged application_presence_changed = 18 [json_name = "applicationPresenceChanged"];
55
+ BridgeRequestAvailable bridge_request_available = 19 [json_name = "bridgeRequestAvailable"];
56
+ NotificationRaised notification_raised = 20 [json_name = "notificationRaised"];
57
+ PolicyBundleAvailable policy_bundle_available = 21 [json_name = "policyBundleAvailable"];
58
+ ResourceCommitted resource_committed = 22 [json_name = "resourceCommitted"];
59
+ CapacityChanged capacity_changed = 23 [json_name = "capacityChanged"];
60
+ ServiceTermChanged service_term_changed = 24 [json_name = "serviceTermChanged"];
61
+ SimulationStateChanged simulation_state_changed = 25 [json_name = "simulationStateChanged"];
62
+ ConfigRevisionActivated config_revision_activated = 26 [json_name = "configRevisionActivated"];
63
+ }
64
+ }
65
+
66
+ message SyncChanged {
67
+ arcforges.foundation.v1.AggregateRef root = 1 [json_name = "root"];
68
+ arcforges.foundation.v1.Revision revision = 2 [json_name = "revision"];
69
+ arcforges.foundation.v1.Id origin_device_id = 3 [json_name = "originDeviceId"];
70
+ }
71
+
72
+ message SyncConflictRaised {
73
+ arcforges.foundation.v1.Id conflict_id = 1 [json_name = "conflictId"];
74
+ arcforges.foundation.v1.AggregateRef root = 2 [json_name = "root"];
75
+ }
76
+
77
+ message TaskStateChanged {
78
+ arcforges.foundation.v1.Id task_id = 1 [json_name = "taskId"];
79
+ optional arcforges.publicapi.v1.TaskState state = 2 [json_name = "state"];
80
+ optional string reason = 3 [json_name = "reason"];
81
+ arcforges.foundation.v1.Revision revision = 4 [json_name = "revision"];
82
+ }
83
+
84
+ message TaskProgress {
85
+ arcforges.foundation.v1.Id task_id = 1 [json_name = "taskId"];
86
+ arcforges.foundation.v1.Id run_id = 2 [json_name = "runId"];
87
+ optional uint32 progress = 3 [json_name = "progress"];
88
+ optional uint32 step_ordinal = 4 [json_name = "stepOrdinal"];
89
+ }
90
+
91
+ message TaskOutputAppended {
92
+ arcforges.foundation.v1.Id task_id = 1 [json_name = "taskId"];
93
+ arcforges.foundation.v1.Id stream_id = 2 [json_name = "streamId"];
94
+ optional uint64 next_offset = 3 [json_name = "nextOffset"];
95
+ }
96
+
97
+ message ApprovalRaised {
98
+ arcforges.foundation.v1.Id approval_id = 1 [json_name = "approvalId"];
99
+ arcforges.foundation.v1.Id task_id = 2 [json_name = "taskId"];
100
+ optional string risk = 3 [json_name = "risk"];
101
+ arcforges.foundation.v1.Instant expires_at = 4 [json_name = "expiresAt"];
102
+ }
103
+
104
+ message ApprovalResolved {
105
+ arcforges.foundation.v1.Id approval_id = 1 [json_name = "approvalId"];
106
+ optional arcforges.publicapi.v1.ApprovalDecision decision = 2 [json_name = "decision"];
107
+ }
108
+
109
+ message ApplicationPresenceChanged {
110
+ arcforges.publicapi.v1.ApplicationTarget target = 1 [json_name = "target"];
111
+ optional string state = 2 [json_name = "state"];
112
+ optional bool eligible = 3 [json_name = "eligible"];
113
+ }
114
+
115
+ message BridgeRequestAvailable {
116
+ optional uint32 count = 1 [json_name = "count"];
117
+ }
118
+
119
+ message NotificationRaised {
120
+ arcforges.foundation.v1.Id notification_id = 1 [json_name = "notificationId"];
121
+ optional string durability = 2 [json_name = "durability"];
122
+ }
123
+
124
+ message PolicyBundleAvailable {
125
+ optional string version = 1 [json_name = "version"];
126
+ }
127
+
128
+ message ResourceCommitted {
129
+ arcforges.foundation.v1.Id resource_id = 1 [json_name = "resourceId"];
130
+ optional string sha256 = 2 [json_name = "sha256"];
131
+ }
132
+
133
+ message CapacityChanged {
134
+ arcforges.foundation.v1.Instant recovery_at = 1 [json_name = "recoveryAt"];
135
+ }
136
+
137
+ message ServiceTermChanged {
138
+ arcforges.foundation.v1.Id workspace_id = 1 [json_name = "workspaceId"];
139
+ }
140
+
141
+ message SimulationStateChanged {
142
+ arcforges.foundation.v1.Id run_id = 1 [json_name = "runId"];
143
+ optional string state = 2 [json_name = "state"];
144
+ optional int64 committed_sequence = 3 [json_name = "committedSequence"];
145
+ }
146
+
147
+ message ConfigRevisionActivated {
148
+ arcforges.foundation.v1.Id config_id = 1 [json_name = "configId"];
149
+ }
150
+
151
+ message StreamPosition {
152
+ optional string cursor = 1 [json_name = "cursor"];
153
+ optional uint64 sequence = 2 [json_name = "sequence"];
154
+ optional uint64 generation = 3 [json_name = "generation"];
155
+ optional string content_hash = 4 [json_name = "contentHash"];
156
+ }
157
+
158
+ message StreamFrame {
159
+ arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
160
+ StreamPosition position = 2 [json_name = "position"];
161
+ oneof frame {
162
+ Event hint = 10 [json_name = "hint"];
163
+ OutputChunk output = 11 [json_name = "output"];
164
+ StreamReset reset = 12 [json_name = "reset"];
165
+ ExecutionOutput terminal = 13 [json_name = "terminal"];
166
+ arcforges.foundation.v1.Instant heartbeat = 14 [json_name = "heartbeat"];
167
+ arcforges.foundation.v1.ArcError error = 15 [json_name = "error"];
168
+ ExecutionProgress progress = 16 [json_name = "progress"];
169
+ }
170
+ }
171
+
172
+ message OutputChunk {
173
+ arcforges.publicapi.v1.ExecutionOwner execution = 1 [json_name = "execution"];
174
+ optional uint64 offset = 2 [json_name = "offset"];
175
+ optional bytes data = 3 [json_name = "data"];
176
+ optional string chunk_hash = 4 [json_name = "chunkHash"];
177
+ optional string kind = 5 [json_name = "kind"];
178
+ arcforges.foundation.v1.Id attempt_id = 6 [json_name = "attemptId"];
179
+ arcforges.foundation.v1.Id stream_id = 7 [json_name = "streamId"];
180
+ }
181
+
182
+ message StreamReset {
183
+ optional string reason = 1 [json_name = "reason"];
184
+ optional string resume_from = 2 [json_name = "resumeFrom"];
185
+ optional bool snapshot_required = 3 [json_name = "snapshotRequired"];
186
+ arcforges.foundation.v1.Id successor_stream_id = 4 [json_name = "successorStreamId"];
187
+ optional bool truncated = 5 [json_name = "truncated"];
188
+ }
189
+
190
+ message ExecutionOutput {
191
+ arcforges.publicapi.v1.ExecutionOwner execution = 1 [json_name = "execution"];
192
+ optional string state = 2 [json_name = "state"];
193
+ arcforges.publicapi.v1.MessageView message = 3 [json_name = "message"];
194
+ arcforges.foundation.v1.EncodedBodyRef body = 4 [json_name = "body"];
195
+ optional string final_hash = 5 [json_name = "finalHash"];
196
+ arcforges.foundation.v1.Instant expires_at = 6 [json_name = "expiresAt"];
197
+ arcforges.foundation.v1.Id attempt_id = 7 [json_name = "attemptId"];
198
+ arcforges.foundation.v1.Id stream_id = 8 [json_name = "streamId"];
199
+ arcforges.foundation.v1.Id successor_stream_id = 9 [json_name = "successorStreamId"];
200
+ optional bool truncated = 10 [json_name = "truncated"];
201
+ arcforges.foundation.v1.VersionedRef final_message = 11 [json_name = "finalMessage"];
202
+ optional string no_answer_reason = 12 [json_name = "noAnswerReason"];
203
+ }
204
+
205
+ message ExecutionProgress {
206
+ arcforges.publicapi.v1.ExecutionOwner execution = 1 [json_name = "execution"];
207
+ oneof owner_progress {
208
+ arcforges.publicapi.v1.TaskSnapshot task = 2 [json_name = "task"];
209
+ arcforges.publicapi.v1.ChatTurnProgress turn = 3 [json_name = "turn"];
210
+ }
211
+ arcforges.foundation.v1.Id attempt_id = 4 [json_name = "attemptId"];
212
+ arcforges.foundation.v1.Id stream_id = 5 [json_name = "streamId"];
213
+ optional string stream_state = 6 [json_name = "streamState"];
214
+ arcforges.foundation.v1.Id successor_stream_id = 7 [json_name = "successorStreamId"];
215
+ arcforges.foundation.v1.VersionedRef iteration_output = 8 [json_name = "iterationOutput"];
216
+ arcforges.foundation.v1.VersionedRef final_message = 9 [json_name = "finalMessage"];
217
+ optional string no_answer_reason = 10 [json_name = "noAnswerReason"];
218
+ optional uint32 retry_after_ms = 11 [json_name = "retryAfterMs"];
219
+ optional string attempt_state = 12 [json_name = "attemptState"];
220
+ }
221
+
222
+ message ExecutionServiceStartTransientTurnRequest {
223
+ arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
224
+ reserved 2 to 9;
225
+ arcforges.publicapi.v1.TransientTurnRequest turn = 10 [json_name = "turn"];
226
+ }
227
+
228
+ message ExecutionServiceStartTransientTurnValue {
229
+ arcforges.publicapi.v1.ExecutionOwner owner = 10 [json_name = "owner"];
230
+ arcforges.publicapi.v1.RunView run = 11 [json_name = "run"];
231
+ }
232
+
233
+ message ExecutionServiceStartTransientTurnResponse {
234
+ arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
235
+ oneof outcome {
236
+ ExecutionServiceStartTransientTurnValue value = 2 [json_name = "value"];
237
+ arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
238
+ }
239
+ reserved 4;
240
+ reserved 5 to 9;
241
+ }
242
+
243
+ message ExecutionServiceReadOutputRequest {
244
+ arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
245
+ reserved 2 to 9;
246
+ arcforges.publicapi.v1.ExecutionOwner owner = 10 [json_name = "owner"];
247
+ optional string cursor = 11 [json_name = "cursor"];
248
+ optional uint32 limit = 12 [json_name = "limit"];
249
+ }
250
+
251
+ message ExecutionServiceReadOutputValue {
252
+ repeated OutputChunk chunks = 10 [json_name = "chunks"];
253
+ StreamPosition position = 11 [json_name = "position"];
254
+ ExecutionOutput terminal = 12 [json_name = "terminal"];
255
+ optional bool reset_required = 13 [json_name = "resetRequired"];
256
+ ExecutionProgress progress = 14 [json_name = "progress"];
257
+ }
258
+
259
+ message ExecutionServiceReadOutputResponse {
260
+ arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
261
+ oneof outcome {
262
+ ExecutionServiceReadOutputValue value = 2 [json_name = "value"];
263
+ arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
264
+ arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
265
+ }
266
+ reserved 5 to 9;
267
+ }
268
+
269
+ message ExecutionServiceWatchOutputRequest {
270
+ arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
271
+ reserved 2 to 9;
272
+ arcforges.publicapi.v1.ExecutionOwner owner = 10 [json_name = "owner"];
273
+ optional string cursor = 11 [json_name = "cursor"];
274
+ }
275
+
276
+ message ExecutionServiceAcknowledgeOutputRequest {
277
+ arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
278
+ reserved 2 to 9;
279
+ arcforges.publicapi.v1.ExecutionOwner owner = 10 [json_name = "owner"];
280
+ optional string final_hash = 11 [json_name = "finalHash"];
281
+ }
282
+
283
+ message ExecutionServiceAcknowledgeOutputValue {}
284
+
285
+ message ExecutionServiceAcknowledgeOutputResponse {
286
+ arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
287
+ oneof outcome {
288
+ ExecutionServiceAcknowledgeOutputValue value = 2 [json_name = "value"];
289
+ arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
290
+ }
291
+ reserved 4;
292
+ reserved 5 to 9;
293
+ }
294
+
295
+ message ExecutionServicePurgeTransientRequest {
296
+ arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
297
+ reserved 2 to 9;
298
+ arcforges.publicapi.v1.ExecutionOwner owner = 10 [json_name = "owner"];
299
+ }
300
+
301
+ message ExecutionServicePurgeTransientValue {}
302
+
303
+ message ExecutionServicePurgeTransientResponse {
304
+ arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
305
+ oneof outcome {
306
+ ExecutionServicePurgeTransientValue value = 2 [json_name = "value"];
307
+ arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
308
+ }
309
+ reserved 4;
310
+ reserved 5 to 9;
311
+ }
312
+
313
+ message EventServicePollRequest {
314
+ arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
315
+ reserved 2 to 9;
316
+ optional string subscription_key = 10 [json_name = "subscriptionKey"];
317
+ optional string cursor = 11 [json_name = "cursor"];
318
+ optional uint32 limit = 12 [json_name = "limit"];
319
+ }
320
+
321
+ message EventServicePollValue {
322
+ repeated Event events = 10 [json_name = "events"];
323
+ optional string next_cursor = 11 [json_name = "nextCursor"];
324
+ optional bool reset_required = 12 [json_name = "resetRequired"];
325
+ }
326
+
327
+ message EventServicePollResponse {
328
+ arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
329
+ oneof outcome {
330
+ EventServicePollValue value = 2 [json_name = "value"];
331
+ arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
332
+ arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
333
+ }
334
+ reserved 5 to 9;
335
+ }
336
+
337
+ message EventServiceWatchRequest {
338
+ arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
339
+ reserved 2 to 9;
340
+ optional string subscription_key = 10 [json_name = "subscriptionKey"];
341
+ optional string cursor = 11 [json_name = "cursor"];
342
+ repeated string filter = 12 [json_name = "filter"];
343
+ }