@treeseed/sdk 0.13.0-rc.90 → 0.13.0-rc.92

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 (52) hide show
  1. package/dist/.treeseed-build-complete.json +1 -1
  2. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +6 -6
  3. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +144 -144
  4. package/dist/capacity-provider/environment-catalog.d.ts +12 -12
  5. package/dist/capacity-provider/index.d.ts +1 -0
  6. package/dist/capacity-provider/index.js +1 -0
  7. package/dist/capacity-provider/install-configuration.d.ts +39 -0
  8. package/dist/capacity-provider/install-configuration.js +18 -0
  9. package/dist/configuration/secrets-capability.d.ts +3 -0
  10. package/dist/configuration/secrets-capability.js +3 -0
  11. package/dist/content/validation/agent-operational-content-schemas.d.ts +16 -16
  12. package/dist/content/validation/auxiliary-content-schemas.d.ts +20 -20
  13. package/dist/content/validation/content-model-schemas.d.ts +304 -304
  14. package/dist/content/validation/portable-content-data.d.ts +28 -28
  15. package/dist/deployment/ai-hosting.d.ts +297 -0
  16. package/dist/deployment/ai-hosting.js +63 -0
  17. package/dist/deployment/ai-instance.d.ts +48 -0
  18. package/dist/deployment/ai-instance.js +23 -0
  19. package/dist/deployment/hosted-topology-template.d.ts +24 -24
  20. package/dist/deployment/hosted-topology.d.ts +114 -114
  21. package/dist/deployment/index.d.ts +2 -0
  22. package/dist/deployment/index.js +2 -0
  23. package/dist/deployment/schemas.d.ts +38 -38
  24. package/dist/development/schemas.d.ts +76 -76
  25. package/dist/operator-contracts/canonical-command-tree.js +3 -10
  26. package/dist/operator-contracts/catalog/communication-operations.d.ts +5 -5
  27. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +21 -21
  28. package/dist/operator-contracts/catalog/inbox-operations.d.ts +8 -8
  29. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +29 -0
  30. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +18 -0
  31. package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.d.ts +3 -0
  32. package/dist/operator-contracts/catalog/infrastructure/command-tree-paths.js +15 -0
  33. package/dist/operator-contracts/communication/contracts.d.ts +34 -34
  34. package/dist/operator-contracts/control-plane-operations.d.ts +63 -34
  35. package/dist/operator-contracts/control-plane-operations.js +3 -17
  36. package/dist/operator-contracts/inbox/contracts.d.ts +30 -30
  37. package/dist/operator-contracts/operation-builder.d.ts +1 -0
  38. package/dist/operator-contracts/operation-builder.js +17 -0
  39. package/dist/platform/schemas.d.ts +220 -40
  40. package/dist/platform/schemas.js +7 -2
  41. package/dist/platform/workset.js +5 -1
  42. package/dist/secrets-capability/github-actions-encryption.js +1 -1
  43. package/dist/secrets-capability/provider-operation-contracts.d.ts +14 -0
  44. package/dist/secrets-capability/service-provider-contracts.d.ts +4 -2
  45. package/dist/secrets-capability/service-provider-contracts.js +41 -27
  46. package/dist/secrets-capability/shared-access.d.ts +51 -0
  47. package/dist/secrets-capability/shared-access.js +36 -0
  48. package/dist/secrets-capability/shared-resources.d.ts +376 -0
  49. package/dist/secrets-capability/shared-resources.js +91 -0
  50. package/dist/secrets-capability/vault-contracts.d.ts +132 -0
  51. package/dist/secrets-capability/vault-contracts.js +56 -0
  52. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { defineOperation as define, defineTreeDxProxyOperation as treedxProxy } from "./operation-builder.js";
2
+ import { defineOperation as define, defineTreeDxProxyOperation as treedxProxy, defineReadOperation as read } from "./operation-builder.js";
3
3
  import { communicationOperations, providerCommunicationLifecycleOperations, providerDiscussionResponseOperation } from "./catalog/communication-operations.js";
4
4
  import { inboxOperations } from "./catalog/inbox-operations.js";
5
5
  import { adminAccountOperations, adminTeamOperations } from "./catalog/admin-account-team-operations.js";
@@ -8,25 +8,10 @@ import { capabilityOntologyOperations } from "./catalog/capability-ontology-oper
8
8
  import { knowledgeShareOperations } from "./catalog/knowledge-share-operations.js";
9
9
  import { PROVIDER_ENVIRONMENT_OPERATIONS } from "./catalog/provider-environment-operations.js";
10
10
  import { HOSTED_TOPOLOGY_OPERATIONS } from "./catalog/hosted-topology-operations.js";
11
+ import { AI_INSTANCE_OPERATIONS } from "./catalog/infrastructure/ai-instance-operations.js";
11
12
  import { SECRET_OPERATIONS } from "./catalog/services/secret-operations.js";
12
13
  import { buildControlPlaneCatalog, flattenControlPlaneOperations } from "./catalog/control-plane-catalog.js";
13
14
  const empty = z.object({}).strict(), none = z.undefined(), record = z.record(z.unknown()), payload = record;
14
- function read(operationId, path, capability, surfaces = ["rest"]) {
15
- return define({
16
- operationId,
17
- description: `Read ${operationId}.`,
18
- rest: { method: "GET", path },
19
- capability,
20
- authentication: "oauth",
21
- oauthScopes: ["treeseed:read"],
22
- kind: "read",
23
- riskClass: "ordinary",
24
- confirmation: "never",
25
- surfaces,
26
- cacheScope: "principal",
27
- pagination: "none"
28
- }, { path: empty, query: empty, body: none, output: payload });
29
- }
30
15
  function providerPath(operationId, method, path, pathShape, options = {}) {
31
16
  const kind = options.read ? "read" : "mutation";
32
17
  return define({
@@ -101,6 +86,7 @@ function resource(operationId, method, path, pathShape, options = { capability:
101
86
  }, { path: z.object(pathShape).strict(), query: kind === "read" ? record : empty, body: kind === "read" ? none : record, output: payload });
102
87
  }
103
88
  const CONTROL_PLANE_OPERATIONS = {
89
+ aiInstances: AI_INSTANCE_OPERATIONS,
104
90
  infrastructure: { topology: HOSTED_TOPOLOGY_OPERATIONS },
105
91
  capabilities: capabilityOntologyOperations(),
106
92
  inbox: inboxOperations(),
@@ -65,9 +65,9 @@ export declare const inboxCommentSchema: z.ZodObject<{
65
65
  commitSha: string | null;
66
66
  }>;
67
67
  }, "strict", z.ZodTypeAny, {
68
+ kind: "comment" | "answer" | "reply";
68
69
  id: string;
69
70
  createdAt: string;
70
- kind: "comment" | "answer" | "reply";
71
71
  provenance: {
72
72
  digest: string | null;
73
73
  repositoryId: string | null;
@@ -79,9 +79,9 @@ export declare const inboxCommentSchema: z.ZodObject<{
79
79
  authorId: string;
80
80
  authorLabel: string;
81
81
  }, {
82
+ kind: "comment" | "answer" | "reply";
82
83
  id: string;
83
84
  createdAt: string;
84
- kind: "comment" | "answer" | "reply";
85
85
  provenance: {
86
86
  digest: string | null;
87
87
  repositoryId: string | null;
@@ -172,9 +172,9 @@ export declare const inboxItemSchema: z.ZodObject<{
172
172
  commitSha: string | null;
173
173
  }>;
174
174
  }, "strict", z.ZodTypeAny, {
175
+ kind: "comment" | "answer" | "reply";
175
176
  id: string;
176
177
  createdAt: string;
177
- kind: "comment" | "answer" | "reply";
178
178
  provenance: {
179
179
  digest: string | null;
180
180
  repositoryId: string | null;
@@ -186,9 +186,9 @@ export declare const inboxItemSchema: z.ZodObject<{
186
186
  authorId: string;
187
187
  authorLabel: string;
188
188
  }, {
189
+ kind: "comment" | "answer" | "reply";
189
190
  id: string;
190
191
  createdAt: string;
191
- kind: "comment" | "answer" | "reply";
192
192
  provenance: {
193
193
  digest: string | null;
194
194
  repositoryId: string | null;
@@ -203,13 +203,13 @@ export declare const inboxItemSchema: z.ZodObject<{
203
203
  etag: z.ZodString;
204
204
  }, "strict", z.ZodTypeAny, {
205
205
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
206
+ kind: "proposal" | "question";
206
207
  schemaVersion: "treeseed.inbox-item/v1";
207
208
  id: string;
208
209
  version: number;
209
210
  projectId: string;
210
211
  teamId: string;
211
212
  createdAt: string;
212
- kind: "proposal" | "question";
213
213
  provenance: {
214
214
  digest: string | null;
215
215
  repositoryId: string | null;
@@ -232,9 +232,9 @@ export declare const inboxItemSchema: z.ZodObject<{
232
232
  requiresFeedback: boolean;
233
233
  }[];
234
234
  comments: {
235
+ kind: "comment" | "answer" | "reply";
235
236
  id: string;
236
237
  createdAt: string;
237
- kind: "comment" | "answer" | "reply";
238
238
  provenance: {
239
239
  digest: string | null;
240
240
  repositoryId: string | null;
@@ -249,13 +249,13 @@ export declare const inboxItemSchema: z.ZodObject<{
249
249
  etag: string;
250
250
  }, {
251
251
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
252
+ kind: "proposal" | "question";
252
253
  schemaVersion: "treeseed.inbox-item/v1";
253
254
  id: string;
254
255
  version: number;
255
256
  projectId: string;
256
257
  teamId: string;
257
258
  createdAt: string;
258
- kind: "proposal" | "question";
259
259
  provenance: {
260
260
  digest: string | null;
261
261
  repositoryId: string | null;
@@ -278,9 +278,9 @@ export declare const inboxItemSchema: z.ZodObject<{
278
278
  requiresFeedback: boolean;
279
279
  }[];
280
280
  comments: {
281
+ kind: "comment" | "answer" | "reply";
281
282
  id: string;
282
283
  createdAt: string;
283
- kind: "comment" | "answer" | "reply";
284
284
  provenance: {
285
285
  digest: string | null;
286
286
  repositoryId: string | null;
@@ -373,9 +373,9 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
373
373
  commitSha: string | null;
374
374
  }>;
375
375
  }, "strict", z.ZodTypeAny, {
376
+ kind: "comment" | "answer" | "reply";
376
377
  id: string;
377
378
  createdAt: string;
378
- kind: "comment" | "answer" | "reply";
379
379
  provenance: {
380
380
  digest: string | null;
381
381
  repositoryId: string | null;
@@ -387,9 +387,9 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
387
387
  authorId: string;
388
388
  authorLabel: string;
389
389
  }, {
390
+ kind: "comment" | "answer" | "reply";
390
391
  id: string;
391
392
  createdAt: string;
392
- kind: "comment" | "answer" | "reply";
393
393
  provenance: {
394
394
  digest: string | null;
395
395
  repositoryId: string | null;
@@ -402,14 +402,14 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
402
402
  authorLabel: string;
403
403
  }>, "many">;
404
404
  etag: z.ZodString;
405
- }, "status" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "kind" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
405
+ }, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
406
406
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
407
+ kind: "proposal" | "question";
407
408
  id: string;
408
409
  version: number;
409
410
  projectId: string;
410
411
  teamId: string;
411
412
  createdAt: string;
412
- kind: "proposal" | "question";
413
413
  projectSlug: string;
414
414
  updatedAt: string;
415
415
  authorId: string;
@@ -418,12 +418,12 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
418
418
  etag: string;
419
419
  }, {
420
420
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
421
+ kind: "proposal" | "question";
421
422
  id: string;
422
423
  version: number;
423
424
  projectId: string;
424
425
  teamId: string;
425
426
  createdAt: string;
426
- kind: "proposal" | "question";
427
427
  projectSlug: string;
428
428
  updatedAt: string;
429
429
  authorId: string;
@@ -512,9 +512,9 @@ export declare const inboxItemPageSchema: z.ZodObject<{
512
512
  commitSha: string | null;
513
513
  }>;
514
514
  }, "strict", z.ZodTypeAny, {
515
+ kind: "comment" | "answer" | "reply";
515
516
  id: string;
516
517
  createdAt: string;
517
- kind: "comment" | "answer" | "reply";
518
518
  provenance: {
519
519
  digest: string | null;
520
520
  repositoryId: string | null;
@@ -526,9 +526,9 @@ export declare const inboxItemPageSchema: z.ZodObject<{
526
526
  authorId: string;
527
527
  authorLabel: string;
528
528
  }, {
529
+ kind: "comment" | "answer" | "reply";
529
530
  id: string;
530
531
  createdAt: string;
531
- kind: "comment" | "answer" | "reply";
532
532
  provenance: {
533
533
  digest: string | null;
534
534
  repositoryId: string | null;
@@ -541,14 +541,14 @@ export declare const inboxItemPageSchema: z.ZodObject<{
541
541
  authorLabel: string;
542
542
  }>, "many">;
543
543
  etag: z.ZodString;
544
- }, "status" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "kind" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
544
+ }, "status" | "kind" | "id" | "version" | "projectId" | "teamId" | "createdAt" | "projectSlug" | "updatedAt" | "authorId" | "authorLabel" | "title" | "etag">, "strict", z.ZodTypeAny, {
545
545
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
546
+ kind: "proposal" | "question";
546
547
  id: string;
547
548
  version: number;
548
549
  projectId: string;
549
550
  teamId: string;
550
551
  createdAt: string;
551
- kind: "proposal" | "question";
552
552
  projectSlug: string;
553
553
  updatedAt: string;
554
554
  authorId: string;
@@ -557,12 +557,12 @@ export declare const inboxItemPageSchema: z.ZodObject<{
557
557
  etag: string;
558
558
  }, {
559
559
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
560
+ kind: "proposal" | "question";
560
561
  id: string;
561
562
  version: number;
562
563
  projectId: string;
563
564
  teamId: string;
564
565
  createdAt: string;
565
- kind: "proposal" | "question";
566
566
  projectSlug: string;
567
567
  updatedAt: string;
568
568
  authorId: string;
@@ -575,12 +575,12 @@ export declare const inboxItemPageSchema: z.ZodObject<{
575
575
  schemaVersion: "treeseed.inbox-page/v1";
576
576
  items: {
577
577
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
578
+ kind: "proposal" | "question";
578
579
  id: string;
579
580
  version: number;
580
581
  projectId: string;
581
582
  teamId: string;
582
583
  createdAt: string;
583
- kind: "proposal" | "question";
584
584
  projectSlug: string;
585
585
  updatedAt: string;
586
586
  authorId: string;
@@ -593,12 +593,12 @@ export declare const inboxItemPageSchema: z.ZodObject<{
593
593
  schemaVersion: "treeseed.inbox-page/v1";
594
594
  items: {
595
595
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
596
+ kind: "proposal" | "question";
596
597
  id: string;
597
598
  version: number;
598
599
  projectId: string;
599
600
  teamId: string;
600
601
  createdAt: string;
601
- kind: "proposal" | "question";
602
602
  projectSlug: string;
603
603
  updatedAt: string;
604
604
  authorId: string;
@@ -865,9 +865,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
865
865
  commitSha: string | null;
866
866
  }>;
867
867
  }, "strict", z.ZodTypeAny, {
868
+ kind: "comment" | "answer" | "reply";
868
869
  id: string;
869
870
  createdAt: string;
870
- kind: "comment" | "answer" | "reply";
871
871
  provenance: {
872
872
  digest: string | null;
873
873
  repositoryId: string | null;
@@ -879,9 +879,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
879
879
  authorId: string;
880
880
  authorLabel: string;
881
881
  }, {
882
+ kind: "comment" | "answer" | "reply";
882
883
  id: string;
883
884
  createdAt: string;
884
- kind: "comment" | "answer" | "reply";
885
885
  provenance: {
886
886
  digest: string | null;
887
887
  repositoryId: string | null;
@@ -896,13 +896,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
896
896
  etag: z.ZodString;
897
897
  }, "strict", z.ZodTypeAny, {
898
898
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
899
+ kind: "proposal" | "question";
899
900
  schemaVersion: "treeseed.inbox-item/v1";
900
901
  id: string;
901
902
  version: number;
902
903
  projectId: string;
903
904
  teamId: string;
904
905
  createdAt: string;
905
- kind: "proposal" | "question";
906
906
  provenance: {
907
907
  digest: string | null;
908
908
  repositoryId: string | null;
@@ -925,9 +925,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
925
925
  requiresFeedback: boolean;
926
926
  }[];
927
927
  comments: {
928
+ kind: "comment" | "answer" | "reply";
928
929
  id: string;
929
930
  createdAt: string;
930
- kind: "comment" | "answer" | "reply";
931
931
  provenance: {
932
932
  digest: string | null;
933
933
  repositoryId: string | null;
@@ -942,13 +942,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
942
942
  etag: string;
943
943
  }, {
944
944
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
945
+ kind: "proposal" | "question";
945
946
  schemaVersion: "treeseed.inbox-item/v1";
946
947
  id: string;
947
948
  version: number;
948
949
  projectId: string;
949
950
  teamId: string;
950
951
  createdAt: string;
951
- kind: "proposal" | "question";
952
952
  provenance: {
953
953
  digest: string | null;
954
954
  repositoryId: string | null;
@@ -971,9 +971,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
971
971
  requiresFeedback: boolean;
972
972
  }[];
973
973
  comments: {
974
+ kind: "comment" | "answer" | "reply";
974
975
  id: string;
975
976
  createdAt: string;
976
- kind: "comment" | "answer" | "reply";
977
977
  provenance: {
978
978
  digest: string | null;
979
979
  repositoryId: string | null;
@@ -994,13 +994,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
994
994
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
995
995
  item: {
996
996
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
997
+ kind: "proposal" | "question";
997
998
  schemaVersion: "treeseed.inbox-item/v1";
998
999
  id: string;
999
1000
  version: number;
1000
1001
  projectId: string;
1001
1002
  teamId: string;
1002
1003
  createdAt: string;
1003
- kind: "proposal" | "question";
1004
1004
  provenance: {
1005
1005
  digest: string | null;
1006
1006
  repositoryId: string | null;
@@ -1023,9 +1023,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1023
1023
  requiresFeedback: boolean;
1024
1024
  }[];
1025
1025
  comments: {
1026
+ kind: "comment" | "answer" | "reply";
1026
1027
  id: string;
1027
1028
  createdAt: string;
1028
- kind: "comment" | "answer" | "reply";
1029
1029
  provenance: {
1030
1030
  digest: string | null;
1031
1031
  repositoryId: string | null;
@@ -1046,13 +1046,13 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1046
1046
  schemaVersion: "treeseed.inbox-mutation-receipt/v1";
1047
1047
  item: {
1048
1048
  status: "approved" | "rejected" | "outstanding" | "answered" | "closed" | "deleted";
1049
+ kind: "proposal" | "question";
1049
1050
  schemaVersion: "treeseed.inbox-item/v1";
1050
1051
  id: string;
1051
1052
  version: number;
1052
1053
  projectId: string;
1053
1054
  teamId: string;
1054
1055
  createdAt: string;
1055
- kind: "proposal" | "question";
1056
1056
  provenance: {
1057
1057
  digest: string | null;
1058
1058
  repositoryId: string | null;
@@ -1075,9 +1075,9 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1075
1075
  requiresFeedback: boolean;
1076
1076
  }[];
1077
1077
  comments: {
1078
+ kind: "comment" | "answer" | "reply";
1078
1079
  id: string;
1079
1080
  createdAt: string;
1080
- kind: "comment" | "answer" | "reply";
1081
1081
  provenance: {
1082
1082
  digest: string | null;
1083
1083
  repositoryId: string | null;
@@ -7,6 +7,7 @@ type Definition = Omit<ControlPlaneOperationDescriptor, 'schemaVersion' | 'schem
7
7
  concurrencyRequired?: boolean;
8
8
  authentication?: ControlPlaneOperationDescriptor['authentication'];
9
9
  };
10
+ export declare function defineReadOperation(operationId: `${string}.${string}`, path: `/v1/${string}`, capability: string, surfaces?: ControlPlaneOperationDescriptor['surfaces']): ControlPlaneOperationBinding<{}, {}, undefined, Record<string, unknown>>;
10
11
  export declare function defineOperation<TPath, TQuery, TBody, TOutput>(definition: Definition, schema: ControlPlaneOperationBinding<TPath, TQuery, TBody, TOutput>['schema']): ControlPlaneOperationBinding<TPath, TQuery, TBody, TOutput>;
11
12
  export declare function defineTreeDxProxyOperation<T extends z.ZodRawShape>(operationId: `${string}.${string}`, upstreamOperationId: string | null, method: 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT', path: `/v1/${string}`, pathShape: T, options?: {
12
13
  read?: boolean;
@@ -3,6 +3,22 @@ import { TREEDX_OPENAPI_CONTRACT } from "@treeseed/treedx/openapi";
3
3
  import {
4
4
  CONTROL_PLANE_OPERATION_SCHEMA_VERSION
5
5
  } from "./control-plane-operation.js";
6
+ function defineReadOperation(operationId, path, capability, surfaces = ["rest"]) {
7
+ return defineOperation({
8
+ operationId,
9
+ description: `Read ${operationId}.`,
10
+ rest: { method: "GET", path },
11
+ capability,
12
+ authentication: "oauth",
13
+ oauthScopes: ["treeseed:read"],
14
+ kind: "read",
15
+ riskClass: "ordinary",
16
+ confirmation: "never",
17
+ surfaces,
18
+ cacheScope: "principal",
19
+ pagination: "none"
20
+ }, { path: z.object({}).strict(), query: z.object({}).strict(), body: z.undefined(), output: z.record(z.unknown()) });
21
+ }
6
22
  function defineOperation(definition, schema) {
7
23
  const { parameters, redactedPaths = [], idempotencyRequired, concurrencyRequired, ...descriptor } = definition;
8
24
  const mutation = definition.kind === "mutation";
@@ -57,5 +73,6 @@ function defineTreeDxProxyOperation(operationId, upstreamOperationId, method, pa
57
73
  }
58
74
  export {
59
75
  defineOperation,
76
+ defineReadOperation,
60
77
  defineTreeDxProxyOperation
61
78
  };