@treeseed/sdk 0.13.0-rc.10 → 0.13.0-rc.12

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,4 +1,5 @@
1
1
  export type { AgentKernelPolicy, AgentKernelProfile, ProjectAgentClass, ProjectAgentClassStatus } from '../../agent-capacity/contracts/projects/agents/project-agent-class.js';
2
+ export * from '../../agent-capacity/allocation.js';
2
3
  export * from '../../agent-capacity/validation/index.js';
3
4
  export * from '../../agent-capacity/contracts/capacity/assignments/assignment-records.js';
4
5
  export * from '../../agent-capacity/contracts/capacity/communication/communication-records.js';
@@ -1,3 +1,4 @@
1
+ export * from "../../agent-capacity/allocation.js";
1
2
  export * from "../../agent-capacity/validation/index.js";
2
3
  export * from "../../agent-capacity/contracts/capacity/assignments/assignment-records.js";
3
4
  export * from "../../agent-capacity/contracts/capacity/communication/communication-records.js";
@@ -314,6 +314,36 @@ export declare const CONTROL_PLANE_OPERATIONS: {
314
314
  projectId: string;
315
315
  }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
316
316
  };
317
+ readonly services: {
318
+ readonly providers: ControlPlaneOperationBinding<{}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
319
+ readonly connections: ControlPlaneOperationBinding<{
320
+ teamId: string;
321
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
322
+ readonly connection: ControlPlaneOperationBinding<{
323
+ teamId: string;
324
+ connectionId: string;
325
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
326
+ readonly createConnection: ControlPlaneOperationBinding<{
327
+ teamId: string;
328
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
329
+ readonly updateConnection: ControlPlaneOperationBinding<{
330
+ teamId: string;
331
+ connectionId: string;
332
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
333
+ readonly disconnect: ControlPlaneOperationBinding<{
334
+ teamId: string;
335
+ connectionId: string;
336
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
337
+ readonly authorities: ControlPlaneOperationBinding<{
338
+ teamId: string;
339
+ connectionId: string;
340
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
341
+ readonly putAuthority: ControlPlaneOperationBinding<{
342
+ teamId: string;
343
+ profileId: string;
344
+ connectionId: string;
345
+ }, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
346
+ };
317
347
  readonly agents: {
318
348
  readonly list: ControlPlaneOperationBinding<{
319
349
  projectId: string;
@@ -235,6 +235,16 @@ const CONTROL_PLANE_OPERATIONS = {
235
235
  putWorkflowVariable: resource("repositories.workflow.variables.put", "PUT", "/v1/projects/{projectId}/workflow-configuration/variables/{name}", { projectId: z.string().min(1), name: z.string().min(1) }, { capability: "workflows.write", concurrency: true }),
236
236
  deleteWorkflowVariable: resource("repositories.workflow.variables.delete", "DELETE", "/v1/projects/{projectId}/workflow-configuration/variables/{name}", { projectId: z.string().min(1), name: z.string().min(1) }, { capability: "workflows.write", risk: "destructive", concurrency: true })
237
237
  },
238
+ services: {
239
+ providers: resource("services.providers.list", "GET", "/v1/service-providers", {}, { capability: "services.read", surfaces: ["rest", "cli", "mcp_tool"] }),
240
+ connections: resource("services.connections.list", "GET", "/v1/teams/{teamId}/services", { teamId: z.string().min(1) }, { capability: "services.read", surfaces: ["rest", "cli", "mcp_tool"], pagination: "cursor" }),
241
+ connection: resource("services.connections.show", "GET", "/v1/teams/{teamId}/services/{connectionId}", { teamId: z.string().min(1), connectionId: z.string().min(1) }, { capability: "services.read", surfaces: ["rest", "cli", "mcp_resource"] }),
242
+ createConnection: resource("services.connections.create", "POST", "/v1/teams/{teamId}/services", { teamId: z.string().min(1) }, { capability: "services.write", surfaces: ["rest", "cli", "mcp_tool"] }),
243
+ updateConnection: resource("services.connections.update", "PUT", "/v1/teams/{teamId}/services/{connectionId}", { teamId: z.string().min(1), connectionId: z.string().min(1) }, { capability: "services.write", surfaces: ["rest", "cli", "mcp_tool"], concurrency: true }),
244
+ disconnect: resource("services.connections.disconnect", "DELETE", "/v1/teams/{teamId}/services/{connectionId}", { teamId: z.string().min(1), connectionId: z.string().min(1) }, { capability: "services.write", surfaces: ["rest", "cli", "mcp_tool"], risk: "destructive", concurrency: true }),
245
+ authorities: resource("services.credential.authorities.list", "GET", "/v1/teams/{teamId}/services/{connectionId}/credential-authorities", { teamId: z.string().min(1), connectionId: z.string().min(1) }, { capability: "secrets.read", surfaces: ["rest", "cli"], pagination: "cursor" }),
246
+ putAuthority: resource("services.credential.authorities.put", "PUT", "/v1/teams/{teamId}/services/{connectionId}/credential-authorities/{profileId}", { teamId: z.string().min(1), connectionId: z.string().min(1), profileId: z.string().min(1) }, { capability: "secrets.write", surfaces: ["rest", "cli"], risk: "credential", concurrency: true, redactedPaths: ["body"] })
247
+ },
238
248
  agents: {
239
249
  list: resource("agents.list", "GET", "/v1/projects/{projectId}/agents", { projectId: z.string().min(1) }, { capability: "agents.read", surfaces: ["rest", "cli", "mcp_tool"], pagination: "cursor" }),
240
250
  show: resource("agents.show", "GET", "/v1/projects/{projectId}/agents/{agentSlug}", { projectId: z.string().min(1), agentSlug: z.string().min(1) }, { capability: "agents.read", surfaces: ["rest", "cli", "mcp_resource"] }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.10",
3
+ "version": "0.13.0-rc.12",
4
4
  "description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {