@alis-build/alis-open-agent-v1 1.10.0 → 1.16.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.
@@ -1,7 +1,29 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js,json_types=true"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
2
2
  // @generated from file alis/open/agent/v1/agent.proto (package alis.open.agent.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
+ // A gRPC binding of the Agent2Agent (A2A) protocol for sending messages to
6
+ // an agent and tracking the tasks it performs, shaped to follow AIP-127
7
+ // where appropriate.
8
+ //
9
+ // `A2AService` works with four nouns:
10
+ //
11
+ // - Messages: sent with `SendMessage` or `SendStreamingMessage`. They are
12
+ // not stored resources.
13
+ // - `Task` (`tasks/{task_id}`): the unit of work, with a status, output
14
+ // artifacts, and message history. Read with `GetTask` and `ListTasks`,
15
+ // cancelled with `CancelTask`, and streamed with `TaskSubscription`.
16
+ // - `TaskPushNotificationConfig`
17
+ // (`tasks/{task_id}/pushNotificationConfigs/{config_id}`): a webhook that
18
+ // the agent notifies of updates to one task.
19
+ // - `AgentCard`: the agent's self-description (skills, capabilities,
20
+ // security requirements), read with `GetAgentCard`.
21
+ //
22
+ // `alis.open.agent.v2` defines the same service and messages, except that
23
+ // its `Task` has no `name` field and its `Part` has no `any` option. The
24
+ // `alis.a2a.extension` packages build on the vendored `lf.a2a.v1` contract
25
+ // rather than on this package.
26
+
5
27
  import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
28
  import { file_google_api_annotations } from "@alis-build/google-api/google/api/annotations_pb.js";
7
29
  import { file_google_api_client } from "@alis-build/google-api/google/api/client_pb.js";
@@ -350,6 +372,8 @@ export const TaskStateSchema = /*@__PURE__*/
350
372
  enumDesc(file_alis_open_agent_v1_agent, 0);
351
373
 
352
374
  /**
375
+ * The set of states a Task can be in.
376
+ *
353
377
  * @generated from enum alis.open.agent.v1.TaskState
354
378
  */
355
379
  export const TaskState = /*@__PURE__*/
@@ -362,12 +386,25 @@ export const RoleSchema = /*@__PURE__*/
362
386
  enumDesc(file_alis_open_agent_v1_agent, 1);
363
387
 
364
388
  /**
389
+ * Identifies the sender of a message.
390
+ *
365
391
  * @generated from enum alis.open.agent.v1.Role
366
392
  */
367
393
  export const Role = /*@__PURE__*/
368
394
  tsEnum(RoleSchema);
369
395
 
370
396
  /**
397
+ * A2AService defines the gRPC version of the A2A protocol. This has a slightly
398
+ * different shape than the JSONRPC version to better conform to AIP-127,
399
+ * where appropriate. The nouns are AgentCard, Message, Task and
400
+ * TaskPushNotificationConfig.
401
+ * - Messages are not a standard resource so there is no get/delete/update/list
402
+ * interface, only a send and stream custom methods.
403
+ * - Tasks have a get interface and custom cancel and subscribe methods.
404
+ * - TaskPushNotificationConfig are a resource whose parent is a task.
405
+ * They have get, list, create and delete methods.
406
+ * - AgentCard is a static resource with only a get method.
407
+ *
371
408
  * @generated from service alis.open.agent.v1.A2AService
372
409
  */
373
410
  export const A2AService = /*@__PURE__*/
package/package.json CHANGED
@@ -25,5 +25,5 @@
25
25
  },
26
26
  "type": "module",
27
27
  "types": "./index.d.ts",
28
- "version": "1.10.0"
28
+ "version": "1.16.0"
29
29
  }