@artinet/sdk 0.5.15 → 0.5.17

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 (34) hide show
  1. package/README.md +11 -34
  2. package/dist/server/express/server.d.ts +24 -24
  3. package/dist/services/a2a/factory/builder.d.ts +26 -26
  4. package/dist/services/a2a/factory/builder.js +38 -72
  5. package/dist/services/a2a/factory/service.js +2 -1
  6. package/dist/services/a2a/helpers/agentcard-builder.d.ts +7 -0
  7. package/dist/services/a2a/helpers/agentcard-builder.js +22 -0
  8. package/dist/services/a2a/helpers/index.d.ts +1 -0
  9. package/dist/services/a2a/helpers/index.js +1 -0
  10. package/dist/services/a2a/methods/get-task.d.ts +46 -46
  11. package/dist/services/a2a/service.d.ts +152 -152
  12. package/dist/transport/trpc/a2a/factory/router.d.ts +1084 -1084
  13. package/dist/transport/trpc/a2a/routes/info.d.ts +36 -36
  14. package/dist/transport/trpc/a2a/routes/message/route.d.ts +225 -225
  15. package/dist/transport/trpc/a2a/routes/tasks/route.d.ts +257 -257
  16. package/dist/transport/trpc/a2a/trpc.d.ts +120 -120
  17. package/dist/types/interfaces/services/a2a/service.d.ts +2 -1
  18. package/dist/types/schemas/a2a/agent.d.ts +818 -818
  19. package/dist/types/schemas/a2a/agent.js +1 -23
  20. package/dist/types/schemas/a2a/auth.d.ts +197 -197
  21. package/dist/types/schemas/a2a/auth.js +4 -19
  22. package/dist/types/schemas/a2a/error.d.ts +24 -24
  23. package/dist/types/schemas/a2a/message.d.ts +4499 -4499
  24. package/dist/types/schemas/a2a/message.js +2 -10
  25. package/dist/types/schemas/a2a/notification.d.ts +403 -403
  26. package/dist/types/schemas/a2a/notification.js +3 -7
  27. package/dist/types/schemas/a2a/parameters.d.ts +264 -264
  28. package/dist/types/schemas/a2a/parameters.js +1 -14
  29. package/dist/types/schemas/a2a/protocol.d.ts +5988 -5988
  30. package/dist/types/schemas/a2a/rpc.d.ts +20 -20
  31. package/dist/types/schemas/a2a/rpc.js +0 -5
  32. package/dist/types/schemas/a2a/task.d.ts +2513 -2513
  33. package/dist/types/schemas/a2a/task.js +10 -11
  34. package/package.json +1 -1
@@ -12,7 +12,7 @@ export const GetTaskPushNotificationConfigParamSchema = TaskIdParamsSchema.exten
12
12
  /**
13
13
  * @optional The ID of the push notification configuration to retrieve.
14
14
  */
15
- pushNotificationConfigId: z.string().optional().nullable(),
15
+ pushNotificationConfigId: z.string().optional(),
16
16
  });
17
17
  export const GetTaskPushNotificationConfigParamsSchema = z.union([
18
18
  GetTaskPushNotificationConfigParamSchema,
@@ -45,7 +45,7 @@ export const PushNotificationAuthenticationInfoSchema = z
45
45
  /**
46
46
  * @optional Optional credentials required by the push notification endpoint.
47
47
  */
48
- credentials: z.string().optional().nullable(),
48
+ credentials: z.string().optional(),
49
49
  })
50
50
  .describe("Defines authentication details for a push notification endpoint.");
51
51
  /**
@@ -60,7 +60,6 @@ export const PushNotificationConfigSchema = z
60
60
  id: z
61
61
  .string()
62
62
  .optional()
63
- .nullable()
64
63
  .describe("A unique ID for the push notification configuration, created by the server to support multiple notification callbacks."),
65
64
  /**
66
65
  * @required The callback URL where the agent should send push notifications.
@@ -75,14 +74,11 @@ export const PushNotificationConfigSchema = z
75
74
  token: z
76
75
  .string()
77
76
  .optional()
78
- .nullable()
79
77
  .describe("A unique token for this task or session to validate incoming push notifications."),
80
78
  /**
81
79
  * @optional Authentication details for the agent to use when calling the notification URL.
82
80
  */
83
- authentication: PushNotificationAuthenticationInfoSchema.optional()
84
- .nullable()
85
- .describe("Authentication details for the agent to use when calling the notification URL."),
81
+ authentication: PushNotificationAuthenticationInfoSchema.optional().describe("Authentication details for the agent to use when calling the notification URL."),
86
82
  })
87
83
  .describe("Defines the configuration for setting up push notifications for task updates.");
88
84
  /**