@arcforges/api-client 1.0.0-ci.27.1 → 1.0.0-ci.270.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.
- package/NOTICE +57 -5
- package/README.md +9 -2
- package/build-identity.json +246 -0
- package/contracts.binpb +0 -0
- package/dist/gen/http.d.ts +10 -0
- package/dist/gen/http.js +13 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +20 -2
- package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
- package/dist/shapes/gen/AndroidUpdate.js +620 -0
- package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
- package/dist/shapes/gen/CatalogIndex.js +703 -0
- package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
- package/dist/shapes/gen/CatalogRevocations.js +647 -0
- package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
- package/dist/shapes/gen/DeclarativePanel.js +2988 -0
- package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
- package/dist/shapes/gen/ExtensionManifest.js +3974 -0
- package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
- package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
- package/dist/shapes/gen/PackageInventory.d.ts +24 -0
- package/dist/shapes/gen/PackageInventory.js +327 -0
- package/dist/shapes/gen/PartReceipt.d.ts +21 -0
- package/dist/shapes/gen/PartReceipt.js +290 -0
- package/dist/shapes/gen/PolicyBody.d.ts +269 -0
- package/dist/shapes/gen/PolicyBody.js +4188 -0
- package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
- package/dist/shapes/gen/RealmDescriptor.js +627 -0
- package/package.json +15 -7
- package/sbom.cdx.json +17 -17
- package/schemas/public/http/v1/inventory.schema.json +49 -0
- package/schemas/public/http/v1/manifest.schema.json +1459 -0
- package/schemas/public/http/v1/panel.schema.json +963 -0
- package/schemas/public/http/v1/policy-body.schema.json +1376 -0
- package/schemas/public/http/v1/schema.json +30 -0
- package/schemas/public/http/v1/signed-formats.schema.json +748 -0
- package/schemas/public/http/v1/workflow.schema.json +715 -0
- package/schemas/public/proto/arcforges/catalog/v1/catalog.proto +204 -0
- package/schemas/public/proto/arcforges/events/v1/events.proto +343 -0
- package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +384 -0
- package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
- package/schemas/public/proto/arcforges/publicapi/v1/application.proto +297 -0
- package/schemas/public/proto/arcforges/publicapi/v1/chat.proto +1507 -0
- package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
- package/schemas/public/proto/arcforges/publicapi/v1/content.proto +813 -0
- package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
- package/schemas/public/proto/arcforges/publicapi/v1/export.proto +112 -0
- package/schemas/public/proto/arcforges/publicapi/v1/inprocess-values.proto +134 -0
- package/schemas/public/proto/arcforges/publicapi/v1/scope.proto +81 -0
- package/schemas/public/proto/arcforges/publicapi/v1/support.proto +242 -0
- package/schemas/public/proto/arcforges/publicapi/v1/sync.proto +459 -0
- package/schemas/public/proto/arcforges/publicapi/v1/transfer.proto +190 -0
- package/schemas/public/proto/arcforges/simulation/v1/simulation.proto +413 -0
- package/source.json +46 -11
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package arcforges.publicapi.v1;
|
|
5
|
+
|
|
6
|
+
import "arcforges/foundation/v1/foundation.proto";
|
|
7
|
+
import "arcforges/publicapi/v1/chat.proto";
|
|
8
|
+
import "arcforges/publicapi/v1/content.proto";
|
|
9
|
+
import "arcforges/publicapi/v1/inprocess-values.proto";
|
|
10
|
+
|
|
11
|
+
option csharp_namespace = "ArcForges.Contracts.PublicApi.V1";
|
|
12
|
+
option java_package = "io.github.arcforges.contracts.publicapi.v1";
|
|
13
|
+
option java_multiple_files = true;
|
|
14
|
+
option java_outer_classname = "ApplicationProto";
|
|
15
|
+
|
|
16
|
+
// CON.11: application presence and history-import records.
|
|
17
|
+
// ApplicationScope and HistoryMode remain owned by Foundation and Content.
|
|
18
|
+
service ApplicationService {
|
|
19
|
+
rpc List(ApplicationServiceListRequest) returns (ApplicationServiceListResponse);
|
|
20
|
+
rpc Heartbeat(ApplicationServiceHeartbeatRequest) returns (ApplicationServiceHeartbeatResponse);
|
|
21
|
+
rpc Disconnect(ApplicationServiceDisconnectRequest) returns (ApplicationServiceDisconnectResponse);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
service HistoryService {
|
|
25
|
+
rpc BeginImport(HistoryServiceBeginImportRequest) returns (HistoryServiceBeginImportResponse);
|
|
26
|
+
rpc FinalizeImport(HistoryServiceFinalizeImportRequest) returns (HistoryServiceFinalizeImportResponse);
|
|
27
|
+
rpc GetImport(HistoryServiceGetImportRequest) returns (HistoryServiceGetImportResponse);
|
|
28
|
+
rpc CancelImport(HistoryServiceCancelImportRequest) returns (HistoryServiceCancelImportResponse);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message ApplicationPresence {
|
|
32
|
+
arcforges.publicapi.v1.ApplicationTarget target = 1 [json_name = "target"];
|
|
33
|
+
optional string display_name = 2 [json_name = "displayName"];
|
|
34
|
+
optional string app_version = 3 [json_name = "appVersion"];
|
|
35
|
+
optional string state = 4 [json_name = "state"];
|
|
36
|
+
arcforges.foundation.v1.Instant last_seen_at = 5 [json_name = "lastSeenAt"];
|
|
37
|
+
repeated string available_capabilities = 6 [json_name = "availableCapabilities"];
|
|
38
|
+
arcforges.foundation.v1.Revision revision = 7 [json_name = "revision"];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message HistoryImportManifest {
|
|
42
|
+
arcforges.foundation.v1.Id import_id = 1 [json_name = "importId"];
|
|
43
|
+
optional string product_id = 2 [json_name = "productId"];
|
|
44
|
+
optional uint64 source_revision = 3 [json_name = "sourceRevision"];
|
|
45
|
+
arcforges.foundation.v1.ResourceVersionRef archive = 4 [json_name = "archive"];
|
|
46
|
+
optional uint64 message_count = 5 [json_name = "messageCount"];
|
|
47
|
+
optional string manifest_hash = 6 [json_name = "manifestHash"];
|
|
48
|
+
optional string format_version = 7 [json_name = "formatVersion"];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
message HistoryImportView {
|
|
52
|
+
arcforges.foundation.v1.Id import_id = 1 [json_name = "importId"];
|
|
53
|
+
optional string state = 2 [json_name = "state"];
|
|
54
|
+
arcforges.foundation.v1.Id conversation_id = 3 [json_name = "conversationId"];
|
|
55
|
+
arcforges.foundation.v1.Instant expires_at = 4 [json_name = "expiresAt"];
|
|
56
|
+
arcforges.foundation.v1.Revision revision = 5 [json_name = "revision"];
|
|
57
|
+
arcforges.foundation.v1.ArcError failure = 6 [json_name = "failure"];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
message TransientTurnRequest {
|
|
61
|
+
arcforges.foundation.v1.Id turn_id = 1 [json_name = "turnId"];
|
|
62
|
+
arcforges.foundation.v1.Id branch_id = 2 [json_name = "branchId"];
|
|
63
|
+
optional string request_hash = 3 [json_name = "requestHash"];
|
|
64
|
+
optional arcforges.publicapi.v1.HistoryMode mode = 4 [json_name = "mode"];
|
|
65
|
+
repeated arcforges.publicapi.v1.MessagePart parts = 5 [json_name = "parts"];
|
|
66
|
+
repeated arcforges.publicapi.v1.ContextRef context = 6 [json_name = "context"];
|
|
67
|
+
arcforges.foundation.v1.Id profile_id = 7 [json_name = "profileId"];
|
|
68
|
+
arcforges.publicapi.v1.ApplicationTarget target = 8 [json_name = "target"];
|
|
69
|
+
arcforges.publicapi.v1.TurnOptions options = 9 [json_name = "options"];
|
|
70
|
+
oneof transcript_source {
|
|
71
|
+
arcforges.publicapi.v1.TranscriptWindow transcript = 10 [json_name = "transcript"];
|
|
72
|
+
arcforges.foundation.v1.ResourceVersionRef transcript_object = 11 [json_name = "transcriptObject"];
|
|
73
|
+
}
|
|
74
|
+
arcforges.publicapi.v1.CompactionRecord compaction = 12 [json_name = "compaction"];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message TranscriptWindow {
|
|
78
|
+
arcforges.foundation.v1.Id branch_id = 1 [json_name = "branchId"];
|
|
79
|
+
optional uint64 branch_revision = 2 [json_name = "branchRevision"];
|
|
80
|
+
repeated TranscriptMessage messages = 3 [json_name = "messages"];
|
|
81
|
+
optional uint64 first_ordinal = 4 [json_name = "firstOrdinal"];
|
|
82
|
+
optional uint64 last_ordinal = 5 [json_name = "lastOrdinal"];
|
|
83
|
+
optional string window_hash = 6 [json_name = "windowHash"];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
message TranscriptMessage {
|
|
87
|
+
arcforges.foundation.v1.Id message_id = 1 [json_name = "messageId"];
|
|
88
|
+
optional uint64 ordinal = 2 [json_name = "ordinal"];
|
|
89
|
+
optional TranscriptRole role = 3 [json_name = "role"];
|
|
90
|
+
repeated arcforges.publicapi.v1.MessagePart parts = 4 [json_name = "parts"];
|
|
91
|
+
arcforges.foundation.v1.Id tool_call_id = 5 [json_name = "toolCallId"];
|
|
92
|
+
arcforges.foundation.v1.Id tool_result_for = 6 [json_name = "toolResultFor"];
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
enum TranscriptRole {
|
|
96
|
+
TRANSCRIPT_ROLE_UNSPECIFIED = 0;
|
|
97
|
+
TRANSCRIPT_ROLE_USER = 1;
|
|
98
|
+
TRANSCRIPT_ROLE_ASSISTANT = 2;
|
|
99
|
+
TRANSCRIPT_ROLE_TOOL = 3;
|
|
100
|
+
TRANSCRIPT_ROLE_SYSTEM = 4;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message CompactionRecord {
|
|
104
|
+
arcforges.foundation.v1.Id compaction_id = 1 [json_name = "compactionId"];
|
|
105
|
+
arcforges.foundation.v1.Id branch_id = 2 [json_name = "branchId"];
|
|
106
|
+
optional uint64 through_ordinal = 3 [json_name = "throughOrdinal"];
|
|
107
|
+
optional string source_hash = 4 [json_name = "sourceHash"];
|
|
108
|
+
optional string summary = 5 [json_name = "summary"];
|
|
109
|
+
optional string model_id = 6 [json_name = "modelId"];
|
|
110
|
+
optional string policy_version = 7 [json_name = "policyVersion"];
|
|
111
|
+
arcforges.foundation.v1.Instant created_at = 8 [json_name = "createdAt"];
|
|
112
|
+
optional string summary_hash = 9 [json_name = "summaryHash"];
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Length-delimited assistant-history.v1 archive records. These are data records,
|
|
116
|
+
// never authority, capability grants, or pending execution state.
|
|
117
|
+
message HistoryArchiveHeader {
|
|
118
|
+
optional string format_version = 1 [json_name = "formatVersion"];
|
|
119
|
+
optional string product_id = 2 [json_name = "productId"];
|
|
120
|
+
arcforges.foundation.v1.Id source_conversation_id = 3 [json_name = "sourceConversationId"];
|
|
121
|
+
optional uint64 source_revision = 4 [json_name = "sourceRevision"];
|
|
122
|
+
optional string title = 5 [json_name = "title"];
|
|
123
|
+
optional uint64 branch_count = 6 [json_name = "branchCount"];
|
|
124
|
+
optional uint64 message_count = 7 [json_name = "messageCount"];
|
|
125
|
+
optional uint64 resource_count = 8 [json_name = "resourceCount"];
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
message HistoryArchiveRecord {
|
|
129
|
+
oneof record {
|
|
130
|
+
HistoryBranch branch = 1 [json_name = "branch"];
|
|
131
|
+
HistoryMessage message = 2 [json_name = "message"];
|
|
132
|
+
arcforges.foundation.v1.ResourceVersionRef resource = 3 [json_name = "resource"];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
message HistoryMessage {
|
|
137
|
+
arcforges.publicapi.v1.MessageView message = 1 [json_name = "message"];
|
|
138
|
+
optional uint64 ordinal = 2 [json_name = "ordinal"];
|
|
139
|
+
arcforges.foundation.v1.Instant created_at = 3 [json_name = "createdAt"];
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
message HistoryBranch {
|
|
143
|
+
arcforges.foundation.v1.Id branch_id = 1 [json_name = "branchId"];
|
|
144
|
+
arcforges.foundation.v1.Id parent_branch_id = 2 [json_name = "parentBranchId"];
|
|
145
|
+
arcforges.foundation.v1.Id fork_message_id = 3 [json_name = "forkMessageId"];
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
message HistoryArchiveEnd {
|
|
149
|
+
optional uint64 record_count = 1 [json_name = "recordCount"];
|
|
150
|
+
optional string preceding_bytes_hash = 2 [json_name = "precedingBytesHash"];
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
message ApplicationServiceListRequest {
|
|
154
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
155
|
+
reserved 2 to 9;
|
|
156
|
+
arcforges.foundation.v1.Id device_id = 10 [json_name = "deviceId"];
|
|
157
|
+
optional string cursor = 11 [json_name = "cursor"];
|
|
158
|
+
optional uint32 limit = 12 [json_name = "limit"];
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
message ApplicationServiceListValue {
|
|
162
|
+
repeated ApplicationPresence applications = 10 [json_name = "applications"];
|
|
163
|
+
optional string next_cursor = 11 [json_name = "nextCursor"];
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
message ApplicationServiceListResponse {
|
|
167
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
168
|
+
oneof outcome {
|
|
169
|
+
ApplicationServiceListValue value = 2 [json_name = "value"];
|
|
170
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
171
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
172
|
+
}
|
|
173
|
+
reserved 5 to 9;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
message ApplicationServiceHeartbeatRequest {
|
|
177
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
178
|
+
reserved 2 to 9;
|
|
179
|
+
ApplicationTarget target = 10 [json_name = "target"];
|
|
180
|
+
repeated string capabilities = 11 [json_name = "capabilities"];
|
|
181
|
+
optional string app_version = 12 [json_name = "appVersion"];
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
message ApplicationServiceHeartbeatValue {
|
|
185
|
+
ApplicationPresence presence = 10 [json_name = "presence"];
|
|
186
|
+
optional uint32 renew_after_seconds = 11 [json_name = "renewAfterSeconds"];
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
message ApplicationServiceHeartbeatResponse {
|
|
190
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
191
|
+
oneof outcome {
|
|
192
|
+
ApplicationServiceHeartbeatValue value = 2 [json_name = "value"];
|
|
193
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
194
|
+
}
|
|
195
|
+
reserved 4;
|
|
196
|
+
reserved 5 to 9;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
message ApplicationServiceDisconnectRequest {
|
|
200
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
201
|
+
reserved 2 to 9;
|
|
202
|
+
ApplicationTarget target = 10 [json_name = "target"];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
message ApplicationServiceDisconnectValue {}
|
|
206
|
+
|
|
207
|
+
message ApplicationServiceDisconnectResponse {
|
|
208
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
209
|
+
oneof outcome {
|
|
210
|
+
ApplicationServiceDisconnectValue value = 2 [json_name = "value"];
|
|
211
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
212
|
+
}
|
|
213
|
+
reserved 4;
|
|
214
|
+
reserved 5 to 9;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
message HistoryServiceBeginImportRequest {
|
|
218
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
219
|
+
reserved 2 to 9;
|
|
220
|
+
arcforges.foundation.v1.Id import_id = 10 [json_name = "importId"];
|
|
221
|
+
optional uint64 source_revision = 11 [json_name = "sourceRevision"];
|
|
222
|
+
optional string manifest_hash = 12 [json_name = "manifestHash"];
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
message HistoryServiceBeginImportValue {
|
|
226
|
+
HistoryImportView import = 10 [json_name = "import"];
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
message HistoryServiceBeginImportResponse {
|
|
230
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
231
|
+
oneof outcome {
|
|
232
|
+
HistoryServiceBeginImportValue value = 2 [json_name = "value"];
|
|
233
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
234
|
+
}
|
|
235
|
+
reserved 4;
|
|
236
|
+
reserved 5 to 9;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
message HistoryServiceFinalizeImportRequest {
|
|
240
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
241
|
+
reserved 2 to 9;
|
|
242
|
+
HistoryImportManifest manifest = 10 [json_name = "manifest"];
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
message HistoryServiceFinalizeImportValue {
|
|
246
|
+
HistoryImportView import = 10 [json_name = "import"];
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
message HistoryServiceFinalizeImportResponse {
|
|
250
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
251
|
+
oneof outcome {
|
|
252
|
+
HistoryServiceFinalizeImportValue value = 2 [json_name = "value"];
|
|
253
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
254
|
+
}
|
|
255
|
+
reserved 4;
|
|
256
|
+
reserved 5 to 9;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
message HistoryServiceGetImportRequest {
|
|
260
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
261
|
+
reserved 2 to 9;
|
|
262
|
+
arcforges.foundation.v1.Id import_id = 10 [json_name = "importId"];
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
message HistoryServiceGetImportValue {
|
|
266
|
+
HistoryImportView import = 10 [json_name = "import"];
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
message HistoryServiceGetImportResponse {
|
|
270
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
271
|
+
oneof outcome {
|
|
272
|
+
HistoryServiceGetImportValue value = 2 [json_name = "value"];
|
|
273
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
274
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
275
|
+
}
|
|
276
|
+
reserved 5 to 9;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
message HistoryServiceCancelImportRequest {
|
|
280
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
281
|
+
reserved 2 to 9;
|
|
282
|
+
arcforges.foundation.v1.Id import_id = 10 [json_name = "importId"];
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
message HistoryServiceCancelImportValue {
|
|
286
|
+
HistoryImportView import = 10 [json_name = "import"];
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
message HistoryServiceCancelImportResponse {
|
|
290
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
291
|
+
oneof outcome {
|
|
292
|
+
HistoryServiceCancelImportValue value = 2 [json_name = "value"];
|
|
293
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
294
|
+
}
|
|
295
|
+
reserved 4;
|
|
296
|
+
reserved 5 to 9;
|
|
297
|
+
}
|