@treeseed/sdk 0.13.0-rc.53 → 0.13.0-rc.54

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,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { defineOperation as define, defineTreeDxProxyOperation as treedxProxy } from "./operation-builder.js";
3
- import { communicationOperations, providerDiscussionResponseOperation } from "./catalog/communication-operations.js";
3
+ import { communicationOperations, providerCommunicationLifecycleOperations, providerDiscussionResponseOperation } from "./catalog/communication-operations.js";
4
+ import { inboxOperations } from "./catalog/inbox-operations.js";
4
5
  import { adminAccountOperations, adminTeamOperations } from "./catalog/admin-account-team-operations.js";
5
6
  import { TREEAI_CONTROL_PLANE_OPERATIONS } from "./catalog/treeai-operations.js";
6
7
  const empty = z.object({}).strict();
@@ -97,6 +98,7 @@ function resource(operationId, method, path, pathShape, options = { capability:
97
98
  }, { path: z.object(pathShape).strict(), query: kind === "read" ? record : empty, body: kind === "read" ? none : record, output: payload });
98
99
  }
99
100
  const CONTROL_PLANE_OPERATIONS = {
101
+ inbox: inboxOperations(),
100
102
  treeai: TREEAI_CONTROL_PLANE_OPERATIONS,
101
103
  status: {
102
104
  show: read("status.show", "/v1/status", "status.read", ["rest", "cli", "mcp_tool", "mcp_resource"])
@@ -486,6 +488,7 @@ const CONTROL_PLANE_OPERATIONS = {
486
488
  startCloseout: providerPath("providers.assignments.closeout.start", "POST", "/v1/provider/assignments/{assignmentId}/closeout-start", { assignmentId: z.string().min(1) }),
487
489
  completionPreflight: providerPath("providers.assignments.completion.preflight", "POST", "/v1/provider/assignments/{assignmentId}/completion-preflight", { assignmentId: z.string().min(1) }),
488
490
  discussionResponse: providerDiscussionResponseOperation(),
491
+ ...providerCommunicationLifecycleOperations(),
489
492
  returnAssignment: providerPath("providers.assignments.return", "POST", "/v1/provider/assignments/{assignmentId}/return", { assignmentId: z.string().min(1) }),
490
493
  completeAssignment: providerPath("providers.assignments.complete", "POST", "/v1/provider/assignments/{assignmentId}/complete", { assignmentId: z.string().min(1) }),
491
494
  failAssignment: providerPath("providers.assignments.fail", "POST", "/v1/provider/assignments/{assignmentId}/fail", { assignmentId: z.string().min(1) }),