@orchestraworks/cli 0.5.5 → 0.5.8

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 (610) hide show
  1. package/README.md +1 -1
  2. package/dist/artifacts/prelude.js +10 -1
  3. package/dist/cli/api/execute.js +7 -7
  4. package/dist/cli/core/auth.d.ts +11 -1
  5. package/dist/cli/core/auth.js +48 -4
  6. package/dist/cli/core/errors.js +4 -0
  7. package/dist/cli/core/platform-client.d.ts +3 -2
  8. package/dist/cli/core/profile.d.ts +2 -2
  9. package/dist/cli/factory/apply-preview.d.ts +23 -6
  10. package/dist/cli/factory/apply-preview.js +70 -43
  11. package/dist/cli/factory/apply-render.js +12 -4
  12. package/dist/cli/factory/apply.d.ts +7 -2
  13. package/dist/cli/factory/apply.js +86 -29
  14. package/dist/cli/factory/diff.js +20 -12
  15. package/dist/cli/factory/image-upload.d.ts +90 -0
  16. package/dist/cli/factory/image-upload.js +489 -0
  17. package/dist/cli/factory/synth.d.ts +7 -0
  18. package/dist/cli/factory/synth.js +35 -0
  19. package/dist/cli/firstRun.d.ts +5 -5
  20. package/dist/cli/firstRun.js +18 -17
  21. package/dist/cli/main.d.ts +1 -1
  22. package/dist/cli/main.js +4 -3
  23. package/dist/cli/upload.d.ts +3 -1
  24. package/dist/cli/upload.js +9 -2
  25. package/dist/constructs/agent.d.ts +9 -1
  26. package/dist/constructs/agent.js +7 -0
  27. package/dist/constructs/compute-provider.js +2 -2
  28. package/dist/constructs/connection.d.ts +22 -16
  29. package/dist/constructs/connection.js +29 -92
  30. package/dist/constructs/connector.d.ts +3 -1
  31. package/dist/constructs/connector.js +2 -0
  32. package/dist/constructs/egress-preset.d.ts +7 -52
  33. package/dist/constructs/egress-preset.js +7 -91
  34. package/dist/constructs/environment.d.ts +47 -70
  35. package/dist/constructs/environment.js +103 -213
  36. package/dist/constructs/gateway-key.d.ts +4 -1
  37. package/dist/constructs/gateway-key.js +4 -3
  38. package/dist/constructs/interfaces.d.ts +10 -2
  39. package/dist/constructs/model-provider-key.js +2 -3
  40. package/dist/constructs/pipeline.d.ts +5 -2
  41. package/dist/constructs/pipeline.js +4 -0
  42. package/dist/constructs/references.d.ts +4 -0
  43. package/dist/constructs/references.js +20 -0
  44. package/dist/constructs/role.d.ts +32 -0
  45. package/dist/constructs/role.js +77 -0
  46. package/dist/constructs/rules.d.ts +4 -4
  47. package/dist/constructs/rules.js +3 -3
  48. package/dist/constructs/secret.d.ts +36 -13
  49. package/dist/constructs/secret.js +110 -14
  50. package/dist/constructs/service-account.d.ts +12 -0
  51. package/dist/constructs/service-account.js +23 -0
  52. package/dist/constructs/skill.d.ts +3 -1
  53. package/dist/constructs/skill.js +2 -0
  54. package/dist/constructs/team-membership.d.ts +43 -0
  55. package/dist/constructs/team-membership.js +59 -0
  56. package/dist/constructs/team.d.ts +40 -0
  57. package/dist/constructs/team.js +107 -0
  58. package/dist/constructs/trigger.d.ts +7 -4
  59. package/dist/constructs/trigger.js +4 -0
  60. package/dist/constructs/workflow.d.ts +1 -1
  61. package/dist/core/factory.d.ts +0 -7
  62. package/dist/core/factory.js +15 -53
  63. package/dist/core/gateway-key-recipe.js +23 -2
  64. package/dist/core/host-pattern.d.ts +5 -0
  65. package/dist/core/host-pattern.js +14 -0
  66. package/dist/core/labels.d.ts +1 -1
  67. package/dist/core/labels.js +1 -1
  68. package/dist/core/outbound-warning.d.ts +2 -2
  69. package/dist/core/outbound-warning.js +52 -41
  70. package/dist/core/plan.d.ts +14 -11
  71. package/dist/core/plan.js +12 -11
  72. package/dist/engine/apply-core.d.ts +71 -67
  73. package/dist/engine/apply-core.js +120 -95
  74. package/dist/engine/client.d.ts +12 -4
  75. package/dist/engine/client.js +8 -3
  76. package/dist/engine/compute-provider-reconcile.js +1 -1
  77. package/dist/engine/condition-references.d.ts +2 -2
  78. package/dist/engine/condition-references.js +6 -6
  79. package/dist/engine/connection-install-link-reconcile.d.ts +4 -3
  80. package/dist/engine/connection-install-link-reconcile.js +35 -28
  81. package/dist/engine/diff.d.ts +12 -14
  82. package/dist/engine/diff.js +247 -113
  83. package/dist/engine/gateway-key-reconcile.d.ts +12 -9
  84. package/dist/engine/gateway-key-reconcile.js +43 -36
  85. package/dist/engine/model-provider-key-reconcile.js +2 -2
  86. package/dist/engine/pipeline-reconcile.d.ts +8 -9
  87. package/dist/engine/pipeline-reconcile.js +14 -10
  88. package/dist/engine/reconcile.d.ts +7 -21
  89. package/dist/engine/reconcile.js +115 -215
  90. package/dist/engine/refusals.d.ts +14 -31
  91. package/dist/engine/refusals.js +32 -81
  92. package/dist/engine/role-membership-reconcile.d.ts +19 -0
  93. package/dist/engine/role-membership-reconcile.js +276 -0
  94. package/dist/engine/secrets-apply.d.ts +18 -4
  95. package/dist/engine/secrets-apply.js +39 -4
  96. package/dist/engine/trigger-reconcile.d.ts +22 -23
  97. package/dist/engine/trigger-reconcile.js +43 -65
  98. package/dist/engine/workflow-reconcile.d.ts +2 -2
  99. package/dist/engine/workflow-reconcile.js +5 -5
  100. package/dist/generated/cli-commands.json +15398 -11771
  101. package/dist/generated/cli-dispatch.d.ts +4 -3
  102. package/dist/generated/cli-dispatch.js +76 -62
  103. package/dist/index.d.ts +12 -7
  104. package/dist/index.js +5 -3
  105. package/dist/metrics/metric.d.ts +3 -3
  106. package/dist/metrics/metric.js +1 -1
  107. package/docs/REFERENCE.md +102 -95
  108. package/node_modules/@orchestraworks/client/dist/apis/AgentsApi.d.ts +1 -1
  109. package/node_modules/@orchestraworks/client/dist/apis/AgentsApi.js +2 -2
  110. package/node_modules/@orchestraworks/client/dist/apis/ArtifactsApi.d.ts +1 -1
  111. package/node_modules/@orchestraworks/client/dist/apis/ArtifactsApi.js +2 -2
  112. package/node_modules/@orchestraworks/client/dist/apis/ConnectionInstallLinksApi.d.ts +1 -1
  113. package/node_modules/@orchestraworks/client/dist/apis/ConnectionInstallLinksApi.js +2 -2
  114. package/node_modules/@orchestraworks/client/dist/apis/ConnectionsApi.d.ts +1 -1
  115. package/node_modules/@orchestraworks/client/dist/apis/ConnectionsApi.js +2 -2
  116. package/node_modules/@orchestraworks/client/dist/apis/EnvironmentsApi.d.ts +1 -1
  117. package/node_modules/@orchestraworks/client/dist/apis/EnvironmentsApi.js +2 -2
  118. package/node_modules/@orchestraworks/client/dist/apis/FilesApi.d.ts +1 -1
  119. package/node_modules/@orchestraworks/client/dist/apis/FilesApi.js +2 -2
  120. package/node_modules/@orchestraworks/client/dist/apis/ImagesApi.d.ts +88 -0
  121. package/node_modules/@orchestraworks/client/dist/apis/ImagesApi.js +239 -0
  122. package/node_modules/@orchestraworks/client/dist/apis/MetricsApi.d.ts +1 -1
  123. package/node_modules/@orchestraworks/client/dist/apis/MetricsApi.js +2 -2
  124. package/node_modules/@orchestraworks/client/dist/apis/OrganizationsApi.d.ts +1 -15
  125. package/node_modules/@orchestraworks/client/dist/apis/OrganizationsApi.js +3 -49
  126. package/node_modules/@orchestraworks/client/dist/apis/PipelinesApi.d.ts +1 -1
  127. package/node_modules/@orchestraworks/client/dist/apis/PipelinesApi.js +2 -2
  128. package/node_modules/@orchestraworks/client/dist/apis/ProviderConnectionIntentsApi.d.ts +1 -1
  129. package/node_modules/@orchestraworks/client/dist/apis/ProviderConnectionIntentsApi.js +2 -2
  130. package/node_modules/@orchestraworks/client/dist/apis/SecretsApi.d.ts +1 -1
  131. package/node_modules/@orchestraworks/client/dist/apis/SecretsApi.js +2 -2
  132. package/node_modules/@orchestraworks/client/dist/apis/SessionsApi.d.ts +1 -1
  133. package/node_modules/@orchestraworks/client/dist/apis/SessionsApi.js +2 -2
  134. package/node_modules/@orchestraworks/client/dist/apis/SkillsApi.d.ts +1 -1
  135. package/node_modules/@orchestraworks/client/dist/apis/SkillsApi.js +2 -2
  136. package/node_modules/@orchestraworks/client/dist/apis/TeamMembershipsApi.d.ts +96 -0
  137. package/node_modules/@orchestraworks/client/dist/apis/{GroupsApi.js → TeamMembershipsApi.js} +62 -59
  138. package/node_modules/@orchestraworks/client/dist/apis/TeamsApi.d.ts +93 -0
  139. package/node_modules/@orchestraworks/client/dist/apis/{ProjectsApi.js → TeamsApi.js} +55 -55
  140. package/node_modules/@orchestraworks/client/dist/apis/TriggersApi.d.ts +1 -1
  141. package/node_modules/@orchestraworks/client/dist/apis/TriggersApi.js +2 -2
  142. package/node_modules/@orchestraworks/client/dist/apis/UsersApi.d.ts +0 -15
  143. package/node_modules/@orchestraworks/client/dist/apis/UsersApi.js +0 -49
  144. package/node_modules/@orchestraworks/client/dist/apis/VolumesApi.d.ts +1 -1
  145. package/node_modules/@orchestraworks/client/dist/apis/VolumesApi.js +2 -2
  146. package/node_modules/@orchestraworks/client/dist/apis/WorkItemsApi.d.ts +2 -2
  147. package/node_modules/@orchestraworks/client/dist/apis/WorkItemsApi.js +4 -4
  148. package/node_modules/@orchestraworks/client/dist/apis/WorkflowsApi.d.ts +1 -1
  149. package/node_modules/@orchestraworks/client/dist/apis/WorkflowsApi.js +2 -2
  150. package/node_modules/@orchestraworks/client/dist/apis/index.d.ts +3 -2
  151. package/node_modules/@orchestraworks/client/dist/apis/index.js +3 -2
  152. package/node_modules/@orchestraworks/client/dist/esm/apis/AgentsApi.d.ts +1 -1
  153. package/node_modules/@orchestraworks/client/dist/esm/apis/AgentsApi.js +2 -2
  154. package/node_modules/@orchestraworks/client/dist/esm/apis/ArtifactsApi.d.ts +1 -1
  155. package/node_modules/@orchestraworks/client/dist/esm/apis/ArtifactsApi.js +2 -2
  156. package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionInstallLinksApi.d.ts +1 -1
  157. package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionInstallLinksApi.js +2 -2
  158. package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionsApi.d.ts +1 -1
  159. package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionsApi.js +2 -2
  160. package/node_modules/@orchestraworks/client/dist/esm/apis/EnvironmentsApi.d.ts +1 -1
  161. package/node_modules/@orchestraworks/client/dist/esm/apis/EnvironmentsApi.js +2 -2
  162. package/node_modules/@orchestraworks/client/dist/esm/apis/FilesApi.d.ts +1 -1
  163. package/node_modules/@orchestraworks/client/dist/esm/apis/FilesApi.js +2 -2
  164. package/node_modules/@orchestraworks/client/dist/esm/apis/ImagesApi.d.ts +88 -0
  165. package/node_modules/@orchestraworks/client/dist/esm/apis/ImagesApi.js +235 -0
  166. package/node_modules/@orchestraworks/client/dist/esm/apis/MetricsApi.d.ts +1 -1
  167. package/node_modules/@orchestraworks/client/dist/esm/apis/MetricsApi.js +2 -2
  168. package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationsApi.d.ts +1 -15
  169. package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationsApi.js +3 -49
  170. package/node_modules/@orchestraworks/client/dist/esm/apis/PipelinesApi.d.ts +1 -1
  171. package/node_modules/@orchestraworks/client/dist/esm/apis/PipelinesApi.js +2 -2
  172. package/node_modules/@orchestraworks/client/dist/esm/apis/ProviderConnectionIntentsApi.d.ts +1 -1
  173. package/node_modules/@orchestraworks/client/dist/esm/apis/ProviderConnectionIntentsApi.js +2 -2
  174. package/node_modules/@orchestraworks/client/dist/esm/apis/SecretsApi.d.ts +1 -1
  175. package/node_modules/@orchestraworks/client/dist/esm/apis/SecretsApi.js +2 -2
  176. package/node_modules/@orchestraworks/client/dist/esm/apis/SessionsApi.d.ts +1 -1
  177. package/node_modules/@orchestraworks/client/dist/esm/apis/SessionsApi.js +2 -2
  178. package/node_modules/@orchestraworks/client/dist/esm/apis/SkillsApi.d.ts +1 -1
  179. package/node_modules/@orchestraworks/client/dist/esm/apis/SkillsApi.js +2 -2
  180. package/node_modules/@orchestraworks/client/dist/esm/apis/TeamMembershipsApi.d.ts +96 -0
  181. package/node_modules/@orchestraworks/client/dist/esm/apis/{GroupsApi.js → TeamMembershipsApi.js} +60 -57
  182. package/node_modules/@orchestraworks/client/dist/esm/apis/TeamsApi.d.ts +93 -0
  183. package/node_modules/@orchestraworks/client/dist/esm/apis/{ProjectsApi.js → TeamsApi.js} +53 -53
  184. package/node_modules/@orchestraworks/client/dist/esm/apis/TriggersApi.d.ts +1 -1
  185. package/node_modules/@orchestraworks/client/dist/esm/apis/TriggersApi.js +2 -2
  186. package/node_modules/@orchestraworks/client/dist/esm/apis/UsersApi.d.ts +0 -15
  187. package/node_modules/@orchestraworks/client/dist/esm/apis/UsersApi.js +0 -49
  188. package/node_modules/@orchestraworks/client/dist/esm/apis/VolumesApi.d.ts +1 -1
  189. package/node_modules/@orchestraworks/client/dist/esm/apis/VolumesApi.js +2 -2
  190. package/node_modules/@orchestraworks/client/dist/esm/apis/WorkItemsApi.d.ts +2 -2
  191. package/node_modules/@orchestraworks/client/dist/esm/apis/WorkItemsApi.js +4 -4
  192. package/node_modules/@orchestraworks/client/dist/esm/apis/WorkflowsApi.d.ts +1 -1
  193. package/node_modules/@orchestraworks/client/dist/esm/apis/WorkflowsApi.js +2 -2
  194. package/node_modules/@orchestraworks/client/dist/esm/apis/index.d.ts +3 -2
  195. package/node_modules/@orchestraworks/client/dist/esm/apis/index.js +3 -2
  196. package/node_modules/@orchestraworks/client/dist/esm/models/AddArtifactVersionRequest.d.ts +1 -1
  197. package/node_modules/@orchestraworks/client/dist/esm/models/Agent.d.ts +9 -3
  198. package/node_modules/@orchestraworks/client/dist/esm/models/Agent.js +3 -2
  199. package/node_modules/@orchestraworks/client/dist/esm/models/ApiErrorDetail.d.ts +9 -1
  200. package/node_modules/@orchestraworks/client/dist/esm/models/ApiErrorDetail.js +5 -1
  201. package/node_modules/@orchestraworks/client/dist/esm/models/Artifact.d.ts +2 -2
  202. package/node_modules/@orchestraworks/client/dist/esm/models/Artifact.js +2 -2
  203. package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactSummary.d.ts +2 -2
  204. package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactSummary.js +2 -2
  205. package/node_modules/@orchestraworks/client/dist/esm/models/AssignAction.d.ts +1 -1
  206. package/node_modules/@orchestraworks/client/dist/esm/models/AssignAction.js +2 -2
  207. package/node_modules/@orchestraworks/client/dist/esm/models/AssignWorkItemRequest.d.ts +2 -2
  208. package/node_modules/@orchestraworks/client/dist/esm/models/AssignWorkItemRequest.js +2 -2
  209. package/node_modules/@orchestraworks/client/dist/esm/models/ComputeProviderTarget.d.ts +6 -0
  210. package/node_modules/@orchestraworks/client/dist/esm/models/ComputeProviderTarget.js +2 -0
  211. package/node_modules/@orchestraworks/client/dist/esm/models/Connection.d.ts +16 -3
  212. package/node_modules/@orchestraworks/client/dist/esm/models/Connection.js +8 -2
  213. package/node_modules/@orchestraworks/client/dist/esm/models/ConnectionInstallLink.d.ts +2 -2
  214. package/node_modules/@orchestraworks/client/dist/esm/models/ConnectionInstallLink.js +2 -2
  215. package/node_modules/@orchestraworks/client/dist/esm/models/Connector.d.ts +2 -2
  216. package/node_modules/@orchestraworks/client/dist/esm/models/Connector.js +2 -2
  217. package/node_modules/@orchestraworks/client/dist/esm/models/CreateAgentRequest.d.ts +2 -2
  218. package/node_modules/@orchestraworks/client/dist/esm/models/CreateAgentRequest.js +2 -2
  219. package/node_modules/@orchestraworks/client/dist/esm/models/CreateArtifactRequest.d.ts +4 -4
  220. package/node_modules/@orchestraworks/client/dist/esm/models/CreateArtifactRequest.js +2 -2
  221. package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionInstallLinkRequest.d.ts +3 -3
  222. package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionInstallLinkRequest.js +2 -2
  223. package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionRequest.d.ts +8 -2
  224. package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionRequest.js +4 -2
  225. package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectorRequest.d.ts +2 -2
  226. package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectorRequest.js +2 -2
  227. package/node_modules/@orchestraworks/client/dist/esm/models/CreateDashboardRequest.d.ts +3 -3
  228. package/node_modules/@orchestraworks/client/dist/esm/models/CreateDashboardRequest.js +2 -2
  229. package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.d.ts +2 -2
  230. package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.js +2 -2
  231. package/node_modules/@orchestraworks/client/dist/esm/models/CreateFileRequest.d.ts +2 -2
  232. package/node_modules/@orchestraworks/client/dist/esm/models/CreateFileRequest.js +2 -2
  233. package/node_modules/@orchestraworks/client/dist/esm/models/CreateGatewayKeyRequest.d.ts +2 -2
  234. package/node_modules/@orchestraworks/client/dist/esm/models/CreateGatewayKeyRequest.js +2 -2
  235. package/node_modules/@orchestraworks/client/dist/esm/models/CreateImageRequest.d.ts +38 -0
  236. package/node_modules/@orchestraworks/client/dist/esm/models/{GroupMemberAgent.js → CreateImageRequest.js} +12 -16
  237. package/node_modules/@orchestraworks/client/dist/esm/models/CreateMachineRequest.d.ts +2 -2
  238. package/node_modules/@orchestraworks/client/dist/esm/models/CreateMachineRequest.js +2 -2
  239. package/node_modules/@orchestraworks/client/dist/esm/models/CreateMetricRequest.d.ts +2 -2
  240. package/node_modules/@orchestraworks/client/dist/esm/models/CreateMetricRequest.js +2 -2
  241. package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationInvitationRequest.d.ts +4 -4
  242. package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationInvitationRequest.js +3 -3
  243. package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationMembershipRequest.d.ts +1 -8
  244. package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationMembershipRequest.js +0 -3
  245. package/node_modules/@orchestraworks/client/dist/esm/models/CreatePipelineRequest.d.ts +2 -2
  246. package/node_modules/@orchestraworks/client/dist/esm/models/CreatePipelineRequest.js +2 -2
  247. package/node_modules/@orchestraworks/client/dist/esm/models/CreateProviderConnectionIntentRequest.d.ts +3 -3
  248. package/node_modules/@orchestraworks/client/dist/esm/models/CreateProviderConnectionIntentRequest.js +2 -2
  249. package/node_modules/@orchestraworks/client/dist/esm/models/CreateSecretRequest.d.ts +8 -2
  250. package/node_modules/@orchestraworks/client/dist/esm/models/CreateSecretRequest.js +4 -2
  251. package/node_modules/@orchestraworks/client/dist/esm/models/CreateSessionRequest.d.ts +2 -2
  252. package/node_modules/@orchestraworks/client/dist/esm/models/CreateSessionRequest.js +2 -2
  253. package/node_modules/@orchestraworks/client/dist/esm/models/CreateSkillRequest.d.ts +2 -2
  254. package/node_modules/@orchestraworks/client/dist/esm/models/CreateSkillRequest.js +2 -2
  255. package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamMembershipRequest.d.ts +65 -0
  256. package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamMembershipRequest.js +61 -0
  257. package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamRequest.d.ts +80 -0
  258. package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamRequest.js +64 -0
  259. package/node_modules/@orchestraworks/client/dist/esm/models/CreateTriggerRequest.d.ts +2 -2
  260. package/node_modules/@orchestraworks/client/dist/esm/models/CreateTriggerRequest.js +2 -2
  261. package/node_modules/@orchestraworks/client/dist/esm/models/CreateVolumeRequest.d.ts +2 -2
  262. package/node_modules/@orchestraworks/client/dist/esm/models/CreateVolumeRequest.js +2 -2
  263. package/node_modules/@orchestraworks/client/dist/esm/models/CreateWorkflowRequest.d.ts +1 -1
  264. package/node_modules/@orchestraworks/client/dist/esm/models/Dashboard.d.ts +8 -2
  265. package/node_modules/@orchestraworks/client/dist/esm/models/Dashboard.js +6 -2
  266. package/node_modules/@orchestraworks/client/dist/esm/models/DashboardChart.d.ts +45 -4
  267. package/node_modules/@orchestraworks/client/dist/esm/models/DashboardChart.js +29 -5
  268. package/node_modules/@orchestraworks/client/dist/esm/models/DashboardChartQuery.d.ts +1 -1
  269. package/node_modules/@orchestraworks/client/dist/esm/models/Delivery.d.ts +2 -2
  270. package/node_modules/@orchestraworks/client/dist/esm/models/Delivery.js +2 -2
  271. package/node_modules/@orchestraworks/client/dist/esm/models/EgressPolicyRule.d.ts +0 -13
  272. package/node_modules/@orchestraworks/client/dist/esm/models/EgressPolicyRule.js +0 -5
  273. package/node_modules/@orchestraworks/client/dist/esm/models/EntitlementTeamUsage.d.ts +58 -0
  274. package/node_modules/@orchestraworks/client/dist/esm/models/EntitlementTeamUsage.js +64 -0
  275. package/node_modules/@orchestraworks/client/dist/esm/models/Environment.d.ts +2 -2
  276. package/node_modules/@orchestraworks/client/dist/esm/models/Environment.js +2 -2
  277. package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentEgressPolicy.d.ts +1 -1
  278. package/node_modules/@orchestraworks/client/dist/esm/models/GatewayKey.d.ts +2 -2
  279. package/node_modules/@orchestraworks/client/dist/esm/models/GatewayKey.js +2 -2
  280. package/node_modules/@orchestraworks/client/dist/esm/models/Image.d.ts +113 -0
  281. package/node_modules/@orchestraworks/client/dist/esm/models/Image.js +91 -0
  282. package/node_modules/@orchestraworks/client/dist/esm/models/InboundWebhookEdge.d.ts +2 -2
  283. package/node_modules/@orchestraworks/client/dist/esm/models/InboundWebhookEdge.js +2 -2
  284. package/node_modules/@orchestraworks/client/dist/esm/models/InvitationTeamMembership.d.ts +44 -0
  285. package/node_modules/@orchestraworks/client/dist/esm/models/InvitationTeamMembership.js +47 -0
  286. package/node_modules/@orchestraworks/client/dist/esm/models/MachineEgressPolicyDiagnostics.d.ts +1 -1
  287. package/node_modules/@orchestraworks/client/dist/esm/models/MachineEgressRuleDiagnostics.d.ts +0 -6
  288. package/node_modules/@orchestraworks/client/dist/esm/models/MachineEgressRuleDiagnostics.js +0 -4
  289. package/node_modules/@orchestraworks/client/dist/esm/models/MachineView.d.ts +2 -2
  290. package/node_modules/@orchestraworks/client/dist/esm/models/MachineView.js +2 -2
  291. package/node_modules/@orchestraworks/client/dist/esm/models/MessageWorkItemRequest.d.ts +1 -1
  292. package/node_modules/@orchestraworks/client/dist/esm/models/Metric.d.ts +2 -2
  293. package/node_modules/@orchestraworks/client/dist/esm/models/Metric.js +2 -2
  294. package/node_modules/@orchestraworks/client/dist/esm/models/MetricValue.d.ts +2 -2
  295. package/node_modules/@orchestraworks/client/dist/esm/models/MetricValue.js +2 -2
  296. package/node_modules/@orchestraworks/client/dist/esm/models/ModelFile.d.ts +2 -2
  297. package/node_modules/@orchestraworks/client/dist/esm/models/ModelFile.js +2 -2
  298. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationEntitlements.d.ts +7 -0
  299. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationEntitlements.js +5 -0
  300. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.d.ts +4 -4
  301. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.js +4 -4
  302. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationMembership.d.ts +5 -5
  303. package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationMembership.js +4 -4
  304. package/node_modules/@orchestraworks/client/dist/esm/models/PageImage.d.ts +51 -0
  305. package/node_modules/@orchestraworks/client/dist/esm/models/{PageProject.js → PageImage.js} +11 -11
  306. package/node_modules/@orchestraworks/client/dist/esm/models/PageTeam.d.ts +51 -0
  307. package/node_modules/@orchestraworks/client/dist/esm/models/{PageGroupSummary.js → PageTeam.js} +11 -11
  308. package/node_modules/@orchestraworks/client/dist/esm/models/PageTeamMembership.d.ts +51 -0
  309. package/node_modules/@orchestraworks/client/dist/esm/models/PageTeamMembership.js +56 -0
  310. package/node_modules/@orchestraworks/client/dist/esm/models/Pipeline.d.ts +2 -2
  311. package/node_modules/@orchestraworks/client/dist/esm/models/Pipeline.js +2 -2
  312. package/node_modules/@orchestraworks/client/dist/esm/models/PolicyAssignment.d.ts +8 -2
  313. package/node_modules/@orchestraworks/client/dist/esm/models/PolicyAssignment.js +4 -2
  314. package/node_modules/@orchestraworks/client/dist/esm/models/ProviderConnectionIntent.d.ts +2 -2
  315. package/node_modules/@orchestraworks/client/dist/esm/models/ProviderConnectionIntent.js +2 -2
  316. package/node_modules/@orchestraworks/client/dist/esm/models/ReferenceSubject.d.ts +1 -1
  317. package/node_modules/@orchestraworks/client/dist/esm/models/ReferenceSubject.js +1 -1
  318. package/node_modules/@orchestraworks/client/dist/esm/models/Role.d.ts +6 -0
  319. package/node_modules/@orchestraworks/client/dist/esm/models/Role.js +4 -0
  320. package/node_modules/@orchestraworks/client/dist/esm/models/Secret.d.ts +16 -3
  321. package/node_modules/@orchestraworks/client/dist/esm/models/Secret.js +8 -2
  322. package/node_modules/@orchestraworks/client/dist/esm/models/ServiceAccount.d.ts +7 -1
  323. package/node_modules/@orchestraworks/client/dist/esm/models/ServiceAccount.js +1 -0
  324. package/node_modules/@orchestraworks/client/dist/esm/models/Session.d.ts +3 -2
  325. package/node_modules/@orchestraworks/client/dist/esm/models/Session.js +3 -2
  326. package/node_modules/@orchestraworks/client/dist/esm/models/SessionSummary.d.ts +3 -2
  327. package/node_modules/@orchestraworks/client/dist/esm/models/SessionSummary.js +3 -2
  328. package/node_modules/@orchestraworks/client/dist/esm/models/Skill.d.ts +2 -2
  329. package/node_modules/@orchestraworks/client/dist/esm/models/Skill.js +2 -2
  330. package/node_modules/@orchestraworks/client/dist/esm/models/SnapshotAnchor.d.ts +1 -1
  331. package/node_modules/@orchestraworks/client/dist/esm/models/Team.d.ts +104 -0
  332. package/node_modules/@orchestraworks/client/dist/esm/models/{GroupSummary.js → Team.js} +25 -15
  333. package/node_modules/@orchestraworks/client/dist/esm/models/TeamMembership.d.ts +83 -0
  334. package/node_modules/@orchestraworks/client/dist/esm/models/TeamMembership.js +77 -0
  335. package/node_modules/@orchestraworks/client/dist/esm/models/Trigger.d.ts +2 -2
  336. package/node_modules/@orchestraworks/client/dist/esm/models/Trigger.js +2 -2
  337. package/node_modules/@orchestraworks/client/dist/esm/models/TriggerTarget.d.ts +1 -1
  338. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateArtifactRequest.d.ts +1 -1
  339. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateConnectionRequest.d.ts +6 -0
  340. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateConnectionRequest.js +2 -0
  341. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.d.ts +4 -4
  342. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.js +3 -3
  343. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationMembershipRequest.d.ts +1 -8
  344. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationMembershipRequest.js +0 -3
  345. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateSecretRequest.d.ts +6 -0
  346. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateSecretRequest.js +2 -0
  347. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamMembershipRequest.d.ts +47 -0
  348. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamMembershipRequest.js +51 -0
  349. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamRequest.d.ts +68 -0
  350. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamRequest.js +58 -0
  351. package/node_modules/@orchestraworks/client/dist/esm/models/UserGrant.d.ts +2 -2
  352. package/node_modules/@orchestraworks/client/dist/esm/models/UserGrant.js +2 -2
  353. package/node_modules/@orchestraworks/client/dist/esm/models/Volume.d.ts +10 -3
  354. package/node_modules/@orchestraworks/client/dist/esm/models/Volume.js +4 -2
  355. package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemActivity.d.ts +2 -2
  356. package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemAssignment.d.ts +7 -7
  357. package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemAssignment.js +5 -5
  358. package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemDraftAssignment.d.ts +2 -2
  359. package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemDraftAssignment.js +2 -2
  360. package/node_modules/@orchestraworks/client/dist/esm/models/Workflow.d.ts +2 -2
  361. package/node_modules/@orchestraworks/client/dist/esm/models/Workflow.js +2 -2
  362. package/node_modules/@orchestraworks/client/dist/esm/models/index.d.ts +13 -17
  363. package/node_modules/@orchestraworks/client/dist/esm/models/index.js +13 -17
  364. package/node_modules/@orchestraworks/client/dist/models/AddArtifactVersionRequest.d.ts +1 -1
  365. package/node_modules/@orchestraworks/client/dist/models/Agent.d.ts +9 -3
  366. package/node_modules/@orchestraworks/client/dist/models/Agent.js +3 -2
  367. package/node_modules/@orchestraworks/client/dist/models/ApiErrorDetail.d.ts +9 -1
  368. package/node_modules/@orchestraworks/client/dist/models/ApiErrorDetail.js +5 -1
  369. package/node_modules/@orchestraworks/client/dist/models/Artifact.d.ts +2 -2
  370. package/node_modules/@orchestraworks/client/dist/models/Artifact.js +2 -2
  371. package/node_modules/@orchestraworks/client/dist/models/ArtifactSummary.d.ts +2 -2
  372. package/node_modules/@orchestraworks/client/dist/models/ArtifactSummary.js +2 -2
  373. package/node_modules/@orchestraworks/client/dist/models/AssignAction.d.ts +1 -1
  374. package/node_modules/@orchestraworks/client/dist/models/AssignAction.js +2 -2
  375. package/node_modules/@orchestraworks/client/dist/models/AssignWorkItemRequest.d.ts +2 -2
  376. package/node_modules/@orchestraworks/client/dist/models/AssignWorkItemRequest.js +2 -2
  377. package/node_modules/@orchestraworks/client/dist/models/ComputeProviderTarget.d.ts +6 -0
  378. package/node_modules/@orchestraworks/client/dist/models/ComputeProviderTarget.js +2 -0
  379. package/node_modules/@orchestraworks/client/dist/models/Connection.d.ts +16 -3
  380. package/node_modules/@orchestraworks/client/dist/models/Connection.js +8 -2
  381. package/node_modules/@orchestraworks/client/dist/models/ConnectionInstallLink.d.ts +2 -2
  382. package/node_modules/@orchestraworks/client/dist/models/ConnectionInstallLink.js +2 -2
  383. package/node_modules/@orchestraworks/client/dist/models/Connector.d.ts +2 -2
  384. package/node_modules/@orchestraworks/client/dist/models/Connector.js +2 -2
  385. package/node_modules/@orchestraworks/client/dist/models/CreateAgentRequest.d.ts +2 -2
  386. package/node_modules/@orchestraworks/client/dist/models/CreateAgentRequest.js +2 -2
  387. package/node_modules/@orchestraworks/client/dist/models/CreateArtifactRequest.d.ts +4 -4
  388. package/node_modules/@orchestraworks/client/dist/models/CreateArtifactRequest.js +2 -2
  389. package/node_modules/@orchestraworks/client/dist/models/CreateConnectionInstallLinkRequest.d.ts +3 -3
  390. package/node_modules/@orchestraworks/client/dist/models/CreateConnectionInstallLinkRequest.js +2 -2
  391. package/node_modules/@orchestraworks/client/dist/models/CreateConnectionRequest.d.ts +8 -2
  392. package/node_modules/@orchestraworks/client/dist/models/CreateConnectionRequest.js +4 -2
  393. package/node_modules/@orchestraworks/client/dist/models/CreateConnectorRequest.d.ts +2 -2
  394. package/node_modules/@orchestraworks/client/dist/models/CreateConnectorRequest.js +2 -2
  395. package/node_modules/@orchestraworks/client/dist/models/CreateDashboardRequest.d.ts +3 -3
  396. package/node_modules/@orchestraworks/client/dist/models/CreateDashboardRequest.js +2 -2
  397. package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.d.ts +2 -2
  398. package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.js +2 -2
  399. package/node_modules/@orchestraworks/client/dist/models/CreateFileRequest.d.ts +2 -2
  400. package/node_modules/@orchestraworks/client/dist/models/CreateFileRequest.js +2 -2
  401. package/node_modules/@orchestraworks/client/dist/models/CreateGatewayKeyRequest.d.ts +2 -2
  402. package/node_modules/@orchestraworks/client/dist/models/CreateGatewayKeyRequest.js +2 -2
  403. package/node_modules/@orchestraworks/client/dist/models/CreateImageRequest.d.ts +38 -0
  404. package/node_modules/@orchestraworks/client/dist/models/CreateImageRequest.js +54 -0
  405. package/node_modules/@orchestraworks/client/dist/models/CreateMachineRequest.d.ts +2 -2
  406. package/node_modules/@orchestraworks/client/dist/models/CreateMachineRequest.js +2 -2
  407. package/node_modules/@orchestraworks/client/dist/models/CreateMetricRequest.d.ts +2 -2
  408. package/node_modules/@orchestraworks/client/dist/models/CreateMetricRequest.js +2 -2
  409. package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationInvitationRequest.d.ts +4 -4
  410. package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationInvitationRequest.js +3 -3
  411. package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationMembershipRequest.d.ts +1 -8
  412. package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationMembershipRequest.js +0 -3
  413. package/node_modules/@orchestraworks/client/dist/models/CreatePipelineRequest.d.ts +2 -2
  414. package/node_modules/@orchestraworks/client/dist/models/CreatePipelineRequest.js +2 -2
  415. package/node_modules/@orchestraworks/client/dist/models/CreateProviderConnectionIntentRequest.d.ts +3 -3
  416. package/node_modules/@orchestraworks/client/dist/models/CreateProviderConnectionIntentRequest.js +2 -2
  417. package/node_modules/@orchestraworks/client/dist/models/CreateSecretRequest.d.ts +8 -2
  418. package/node_modules/@orchestraworks/client/dist/models/CreateSecretRequest.js +4 -2
  419. package/node_modules/@orchestraworks/client/dist/models/CreateSessionRequest.d.ts +2 -2
  420. package/node_modules/@orchestraworks/client/dist/models/CreateSessionRequest.js +2 -2
  421. package/node_modules/@orchestraworks/client/dist/models/CreateSkillRequest.d.ts +2 -2
  422. package/node_modules/@orchestraworks/client/dist/models/CreateSkillRequest.js +2 -2
  423. package/node_modules/@orchestraworks/client/dist/models/CreateTeamMembershipRequest.d.ts +65 -0
  424. package/node_modules/@orchestraworks/client/dist/models/CreateTeamMembershipRequest.js +69 -0
  425. package/node_modules/@orchestraworks/client/dist/models/CreateTeamRequest.d.ts +80 -0
  426. package/node_modules/@orchestraworks/client/dist/models/CreateTeamRequest.js +72 -0
  427. package/node_modules/@orchestraworks/client/dist/models/CreateTriggerRequest.d.ts +2 -2
  428. package/node_modules/@orchestraworks/client/dist/models/CreateTriggerRequest.js +2 -2
  429. package/node_modules/@orchestraworks/client/dist/models/CreateVolumeRequest.d.ts +2 -2
  430. package/node_modules/@orchestraworks/client/dist/models/CreateVolumeRequest.js +2 -2
  431. package/node_modules/@orchestraworks/client/dist/models/CreateWorkflowRequest.d.ts +1 -1
  432. package/node_modules/@orchestraworks/client/dist/models/Dashboard.d.ts +8 -2
  433. package/node_modules/@orchestraworks/client/dist/models/Dashboard.js +6 -2
  434. package/node_modules/@orchestraworks/client/dist/models/DashboardChart.d.ts +45 -4
  435. package/node_modules/@orchestraworks/client/dist/models/DashboardChart.js +30 -6
  436. package/node_modules/@orchestraworks/client/dist/models/DashboardChartQuery.d.ts +1 -1
  437. package/node_modules/@orchestraworks/client/dist/models/Delivery.d.ts +2 -2
  438. package/node_modules/@orchestraworks/client/dist/models/Delivery.js +2 -2
  439. package/node_modules/@orchestraworks/client/dist/models/EgressPolicyRule.d.ts +0 -13
  440. package/node_modules/@orchestraworks/client/dist/models/EgressPolicyRule.js +0 -5
  441. package/node_modules/@orchestraworks/client/dist/models/EntitlementTeamUsage.d.ts +58 -0
  442. package/node_modules/@orchestraworks/client/dist/models/EntitlementTeamUsage.js +72 -0
  443. package/node_modules/@orchestraworks/client/dist/models/Environment.d.ts +2 -2
  444. package/node_modules/@orchestraworks/client/dist/models/Environment.js +2 -2
  445. package/node_modules/@orchestraworks/client/dist/models/EnvironmentEgressPolicy.d.ts +1 -1
  446. package/node_modules/@orchestraworks/client/dist/models/GatewayKey.d.ts +2 -2
  447. package/node_modules/@orchestraworks/client/dist/models/GatewayKey.js +2 -2
  448. package/node_modules/@orchestraworks/client/dist/models/Image.d.ts +113 -0
  449. package/node_modules/@orchestraworks/client/dist/models/Image.js +99 -0
  450. package/node_modules/@orchestraworks/client/dist/models/InboundWebhookEdge.d.ts +2 -2
  451. package/node_modules/@orchestraworks/client/dist/models/InboundWebhookEdge.js +2 -2
  452. package/node_modules/@orchestraworks/client/dist/models/InvitationTeamMembership.d.ts +44 -0
  453. package/node_modules/@orchestraworks/client/dist/models/InvitationTeamMembership.js +54 -0
  454. package/node_modules/@orchestraworks/client/dist/models/MachineEgressPolicyDiagnostics.d.ts +1 -1
  455. package/node_modules/@orchestraworks/client/dist/models/MachineEgressRuleDiagnostics.d.ts +0 -6
  456. package/node_modules/@orchestraworks/client/dist/models/MachineEgressRuleDiagnostics.js +0 -4
  457. package/node_modules/@orchestraworks/client/dist/models/MachineView.d.ts +2 -2
  458. package/node_modules/@orchestraworks/client/dist/models/MachineView.js +2 -2
  459. package/node_modules/@orchestraworks/client/dist/models/MessageWorkItemRequest.d.ts +1 -1
  460. package/node_modules/@orchestraworks/client/dist/models/Metric.d.ts +2 -2
  461. package/node_modules/@orchestraworks/client/dist/models/Metric.js +2 -2
  462. package/node_modules/@orchestraworks/client/dist/models/MetricValue.d.ts +2 -2
  463. package/node_modules/@orchestraworks/client/dist/models/MetricValue.js +2 -2
  464. package/node_modules/@orchestraworks/client/dist/models/ModelFile.d.ts +2 -2
  465. package/node_modules/@orchestraworks/client/dist/models/ModelFile.js +2 -2
  466. package/node_modules/@orchestraworks/client/dist/models/OrganizationEntitlements.d.ts +7 -0
  467. package/node_modules/@orchestraworks/client/dist/models/OrganizationEntitlements.js +5 -0
  468. package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.d.ts +4 -4
  469. package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.js +4 -4
  470. package/node_modules/@orchestraworks/client/dist/models/OrganizationMembership.d.ts +5 -5
  471. package/node_modules/@orchestraworks/client/dist/models/OrganizationMembership.js +4 -4
  472. package/node_modules/@orchestraworks/client/dist/models/PageImage.d.ts +51 -0
  473. package/node_modules/@orchestraworks/client/dist/models/{PageProject.js → PageImage.js} +16 -16
  474. package/node_modules/@orchestraworks/client/dist/models/PageTeam.d.ts +51 -0
  475. package/node_modules/@orchestraworks/client/dist/models/{PageGroupSummary.js → PageTeam.js} +16 -16
  476. package/node_modules/@orchestraworks/client/dist/models/PageTeamMembership.d.ts +51 -0
  477. package/node_modules/@orchestraworks/client/dist/models/PageTeamMembership.js +63 -0
  478. package/node_modules/@orchestraworks/client/dist/models/Pipeline.d.ts +2 -2
  479. package/node_modules/@orchestraworks/client/dist/models/Pipeline.js +2 -2
  480. package/node_modules/@orchestraworks/client/dist/models/PolicyAssignment.d.ts +8 -2
  481. package/node_modules/@orchestraworks/client/dist/models/PolicyAssignment.js +4 -2
  482. package/node_modules/@orchestraworks/client/dist/models/ProviderConnectionIntent.d.ts +2 -2
  483. package/node_modules/@orchestraworks/client/dist/models/ProviderConnectionIntent.js +2 -2
  484. package/node_modules/@orchestraworks/client/dist/models/ReferenceSubject.d.ts +1 -1
  485. package/node_modules/@orchestraworks/client/dist/models/ReferenceSubject.js +1 -1
  486. package/node_modules/@orchestraworks/client/dist/models/Role.d.ts +6 -0
  487. package/node_modules/@orchestraworks/client/dist/models/Role.js +4 -0
  488. package/node_modules/@orchestraworks/client/dist/models/Secret.d.ts +16 -3
  489. package/node_modules/@orchestraworks/client/dist/models/Secret.js +8 -2
  490. package/node_modules/@orchestraworks/client/dist/models/ServiceAccount.d.ts +7 -1
  491. package/node_modules/@orchestraworks/client/dist/models/ServiceAccount.js +1 -0
  492. package/node_modules/@orchestraworks/client/dist/models/Session.d.ts +3 -2
  493. package/node_modules/@orchestraworks/client/dist/models/Session.js +3 -2
  494. package/node_modules/@orchestraworks/client/dist/models/SessionSummary.d.ts +3 -2
  495. package/node_modules/@orchestraworks/client/dist/models/SessionSummary.js +3 -2
  496. package/node_modules/@orchestraworks/client/dist/models/Skill.d.ts +2 -2
  497. package/node_modules/@orchestraworks/client/dist/models/Skill.js +2 -2
  498. package/node_modules/@orchestraworks/client/dist/models/SnapshotAnchor.d.ts +1 -1
  499. package/node_modules/@orchestraworks/client/dist/models/Team.d.ts +104 -0
  500. package/node_modules/@orchestraworks/client/dist/models/{GroupSummary.js → Team.js} +31 -21
  501. package/node_modules/@orchestraworks/client/dist/models/TeamMembership.d.ts +83 -0
  502. package/node_modules/@orchestraworks/client/dist/models/TeamMembership.js +85 -0
  503. package/node_modules/@orchestraworks/client/dist/models/Trigger.d.ts +2 -2
  504. package/node_modules/@orchestraworks/client/dist/models/Trigger.js +2 -2
  505. package/node_modules/@orchestraworks/client/dist/models/TriggerTarget.d.ts +1 -1
  506. package/node_modules/@orchestraworks/client/dist/models/UpdateArtifactRequest.d.ts +1 -1
  507. package/node_modules/@orchestraworks/client/dist/models/UpdateConnectionRequest.d.ts +6 -0
  508. package/node_modules/@orchestraworks/client/dist/models/UpdateConnectionRequest.js +2 -0
  509. package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.d.ts +4 -4
  510. package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.js +3 -3
  511. package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationMembershipRequest.d.ts +1 -8
  512. package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationMembershipRequest.js +0 -3
  513. package/node_modules/@orchestraworks/client/dist/models/UpdateSecretRequest.d.ts +6 -0
  514. package/node_modules/@orchestraworks/client/dist/models/UpdateSecretRequest.js +2 -0
  515. package/node_modules/@orchestraworks/client/dist/models/UpdateTeamMembershipRequest.d.ts +47 -0
  516. package/node_modules/@orchestraworks/client/dist/models/UpdateTeamMembershipRequest.js +59 -0
  517. package/node_modules/@orchestraworks/client/dist/models/UpdateTeamRequest.d.ts +68 -0
  518. package/node_modules/@orchestraworks/client/dist/models/UpdateTeamRequest.js +66 -0
  519. package/node_modules/@orchestraworks/client/dist/models/UserGrant.d.ts +2 -2
  520. package/node_modules/@orchestraworks/client/dist/models/UserGrant.js +2 -2
  521. package/node_modules/@orchestraworks/client/dist/models/Volume.d.ts +10 -3
  522. package/node_modules/@orchestraworks/client/dist/models/Volume.js +4 -2
  523. package/node_modules/@orchestraworks/client/dist/models/WorkItemActivity.d.ts +2 -2
  524. package/node_modules/@orchestraworks/client/dist/models/WorkItemAssignment.d.ts +7 -7
  525. package/node_modules/@orchestraworks/client/dist/models/WorkItemAssignment.js +5 -5
  526. package/node_modules/@orchestraworks/client/dist/models/WorkItemDraftAssignment.d.ts +2 -2
  527. package/node_modules/@orchestraworks/client/dist/models/WorkItemDraftAssignment.js +2 -2
  528. package/node_modules/@orchestraworks/client/dist/models/Workflow.d.ts +2 -2
  529. package/node_modules/@orchestraworks/client/dist/models/Workflow.js +2 -2
  530. package/node_modules/@orchestraworks/client/dist/models/index.d.ts +13 -17
  531. package/node_modules/@orchestraworks/client/dist/models/index.js +13 -17
  532. package/node_modules/@orchestraworks/client/package.json +1 -1
  533. package/package.json +4 -4
  534. package/skills/orchestra/SKILL.md +82 -67
  535. package/skills/orchestra-fdk/references/authoring.md +83 -45
  536. package/skills/orchestra-fdk/references/environment.md +214 -33
  537. package/skills/orchestra-fdk/references/troubleshooting.md +10 -8
  538. package/templates/bug-fix/main.ts +6 -1
  539. package/templates/engineering-team/README.md +10 -7
  540. package/templates/engineering-team/agents/engineer-agent.md +38 -16
  541. package/templates/engineering-team/lib/environment.ts +15 -3
  542. package/templates/engineering-team/main.ts +1 -1
  543. package/templates/todo-factory/main.ts +6 -1
  544. package/dist/constructs/project.d.ts +0 -33
  545. package/dist/constructs/project.js +0 -82
  546. package/node_modules/@orchestraworks/client/dist/apis/GroupsApi.d.ts +0 -95
  547. package/node_modules/@orchestraworks/client/dist/apis/ProjectsApi.d.ts +0 -93
  548. package/node_modules/@orchestraworks/client/dist/esm/apis/GroupsApi.d.ts +0 -95
  549. package/node_modules/@orchestraworks/client/dist/esm/apis/ProjectsApi.d.ts +0 -93
  550. package/node_modules/@orchestraworks/client/dist/esm/models/CreateGroupRequest.d.ts +0 -82
  551. package/node_modules/@orchestraworks/client/dist/esm/models/CreateGroupRequest.js +0 -74
  552. package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationRequest.d.ts +0 -53
  553. package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationRequest.js +0 -50
  554. package/node_modules/@orchestraworks/client/dist/esm/models/CreateProjectRequest.d.ts +0 -52
  555. package/node_modules/@orchestraworks/client/dist/esm/models/CreateProjectRequest.js +0 -49
  556. package/node_modules/@orchestraworks/client/dist/esm/models/CreateUserRequest.d.ts +0 -46
  557. package/node_modules/@orchestraworks/client/dist/esm/models/CreateUserRequest.js +0 -47
  558. package/node_modules/@orchestraworks/client/dist/esm/models/CredentialBinding.d.ts +0 -57
  559. package/node_modules/@orchestraworks/client/dist/esm/models/CredentialBinding.js +0 -50
  560. package/node_modules/@orchestraworks/client/dist/esm/models/Group.d.ts +0 -106
  561. package/node_modules/@orchestraworks/client/dist/esm/models/Group.js +0 -92
  562. package/node_modules/@orchestraworks/client/dist/esm/models/GroupMember.d.ts +0 -40
  563. package/node_modules/@orchestraworks/client/dist/esm/models/GroupMember.js +0 -45
  564. package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberAgent.d.ts +0 -44
  565. package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberReference.d.ts +0 -38
  566. package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberReference.js +0 -43
  567. package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberUser.d.ts +0 -38
  568. package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberUser.js +0 -45
  569. package/node_modules/@orchestraworks/client/dist/esm/models/GroupSummary.d.ts +0 -86
  570. package/node_modules/@orchestraworks/client/dist/esm/models/PageGroupSummary.d.ts +0 -51
  571. package/node_modules/@orchestraworks/client/dist/esm/models/PageProject.d.ts +0 -51
  572. package/node_modules/@orchestraworks/client/dist/esm/models/Project.d.ts +0 -76
  573. package/node_modules/@orchestraworks/client/dist/esm/models/Project.js +0 -69
  574. package/node_modules/@orchestraworks/client/dist/esm/models/RoleAssignment.d.ts +0 -38
  575. package/node_modules/@orchestraworks/client/dist/esm/models/RoleAssignment.js +0 -45
  576. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateGroupRequest.d.ts +0 -70
  577. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateGroupRequest.js +0 -60
  578. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateProjectRequest.d.ts +0 -46
  579. package/node_modules/@orchestraworks/client/dist/esm/models/UpdateProjectRequest.js +0 -45
  580. package/node_modules/@orchestraworks/client/dist/models/CreateGroupRequest.d.ts +0 -82
  581. package/node_modules/@orchestraworks/client/dist/models/CreateGroupRequest.js +0 -82
  582. package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationRequest.d.ts +0 -53
  583. package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationRequest.js +0 -57
  584. package/node_modules/@orchestraworks/client/dist/models/CreateProjectRequest.d.ts +0 -52
  585. package/node_modules/@orchestraworks/client/dist/models/CreateProjectRequest.js +0 -56
  586. package/node_modules/@orchestraworks/client/dist/models/CreateUserRequest.d.ts +0 -46
  587. package/node_modules/@orchestraworks/client/dist/models/CreateUserRequest.js +0 -54
  588. package/node_modules/@orchestraworks/client/dist/models/CredentialBinding.d.ts +0 -57
  589. package/node_modules/@orchestraworks/client/dist/models/CredentialBinding.js +0 -57
  590. package/node_modules/@orchestraworks/client/dist/models/Group.d.ts +0 -106
  591. package/node_modules/@orchestraworks/client/dist/models/Group.js +0 -100
  592. package/node_modules/@orchestraworks/client/dist/models/GroupMember.d.ts +0 -40
  593. package/node_modules/@orchestraworks/client/dist/models/GroupMember.js +0 -52
  594. package/node_modules/@orchestraworks/client/dist/models/GroupMemberAgent.d.ts +0 -44
  595. package/node_modules/@orchestraworks/client/dist/models/GroupMemberAgent.js +0 -58
  596. package/node_modules/@orchestraworks/client/dist/models/GroupMemberReference.d.ts +0 -38
  597. package/node_modules/@orchestraworks/client/dist/models/GroupMemberReference.js +0 -50
  598. package/node_modules/@orchestraworks/client/dist/models/GroupMemberUser.d.ts +0 -38
  599. package/node_modules/@orchestraworks/client/dist/models/GroupMemberUser.js +0 -52
  600. package/node_modules/@orchestraworks/client/dist/models/GroupSummary.d.ts +0 -86
  601. package/node_modules/@orchestraworks/client/dist/models/PageGroupSummary.d.ts +0 -51
  602. package/node_modules/@orchestraworks/client/dist/models/PageProject.d.ts +0 -51
  603. package/node_modules/@orchestraworks/client/dist/models/Project.d.ts +0 -76
  604. package/node_modules/@orchestraworks/client/dist/models/Project.js +0 -76
  605. package/node_modules/@orchestraworks/client/dist/models/RoleAssignment.d.ts +0 -38
  606. package/node_modules/@orchestraworks/client/dist/models/RoleAssignment.js +0 -52
  607. package/node_modules/@orchestraworks/client/dist/models/UpdateGroupRequest.d.ts +0 -70
  608. package/node_modules/@orchestraworks/client/dist/models/UpdateGroupRequest.js +0 -68
  609. package/node_modules/@orchestraworks/client/dist/models/UpdateProjectRequest.d.ts +0 -46
  610. package/node_modules/@orchestraworks/client/dist/models/UpdateProjectRequest.js +0 -52
package/docs/REFERENCE.md CHANGED
@@ -132,16 +132,28 @@ export ORCHESTRA_ORGANIZATION_ID="org_…"
132
132
  ```
133
133
 
134
134
  **The auth-provider chain** (one ordered chain for every command, presence is selection):
135
- `ORCHESTRA_API_TOKEN` → the `login` profile → the platform-injected machine edge flag
136
- (`SFDK_AUTH_EDGE_INJECTED`, which makes the CLI send the request **bare** so the egress edge
137
- stamps the agent's authorization — no credential ever enters the machine) → a named
138
- missing-credentials error. There is **no `--token` flag**: a token never appears in argv.
135
+ `ORCHESTRA_API_TOKEN` → the file `ORCHESTRA_API_TOKEN_FILE` names → the `login` profile → the
136
+ platform-injected machine edge flag (`SFDK_AUTH_EDGE_INJECTED`) → a named missing-credentials error.
137
+ There is **no `--token` flag**: a token never appears in argv.
138
+
139
+ - **The token file.** On an Orchestra machine, the worker writes the agent's own platform token to a
140
+ file and renews it before it expires. It sets `ORCHESTRA_API_TOKEN_FILE` to that file's path on each
141
+ agent process. The CLI reads the file again before each request, so a long `orchestra sessions wait`
142
+ always sends the current token. A missing, empty or unreadable file counts as absent. The worker sets
143
+ the path before it writes the file, so right after the agent starts, a command may report that the
144
+ file is not written yet.
145
+ - **The edge flag.** On a machine behind the platform's network edge, the edge adds the agent's
146
+ authorization to each call to the platform. It replaces any token the request carried with a token for
147
+ the same agent. With the edge flag and no token, the CLI sends the request **bare**.
148
+ - **A 401 under the token file.** The agent has nothing to renew. The token expired before the worker
149
+ renewed it, or the agent is no longer placed on the machine, the machine stopped, or the agent is not
150
+ active.
139
151
 
140
152
  **Resolved alongside the chain, per field:** the base URL (`--base-url` → `ORCHESTRA_BASE_URL`, then `PLATFORM_BASE_URL` → profile;
141
153
  `login` alone adds the built-in default as a fourth tier, because it is the command that has no profile
142
154
  to read yet — every other command needs one of the three, and says so if it has none)
143
- and the organization (`--org` → `ORCHESTRA_ORGANIZATION_ID` → profile; under the edge provider the organization
144
- rides the stamped identity server-side). Every authenticated request requires HTTPS or loopback — the
155
+ and the organization (`--org` → `ORCHESTRA_ORGANIZATION_ID` → profile; under the token file and the edge flag
156
+ the organization rides the agent's token server-side). Every authenticated request requires HTTPS or loopback — the
145
157
  bearer is itself a credential — with the unauthenticated `health` ping the one exemption. `diff`/`apply`
146
158
  print the resolved target org as a banner before any read/write, and warn when an exported
147
159
  `ORCHESTRA_ORGANIZATION_ID` diverges from the profile's org (so a stale export can't silently redirect writes).
@@ -224,14 +236,15 @@ import {
224
236
  Image,
225
237
  Secret,
226
238
  SecretValue,
227
- bearer,
228
239
  } from "@orchestraworks/cli";
229
240
 
230
241
  const factory = new Factory({ name: "acme-support" });
231
242
 
232
- const openaiKey = new Secret(factory, "openai-api-key", {
243
+ new Secret(factory, "openai-api-key", {
233
244
  name: "OpenAI API key",
234
245
  value: SecretValue.fromEnv("OPENAI_API_KEY_VALUE"), // value read from env at apply — never in the plan
246
+ hosts: ["api.openai.com"], // where the egress edge presents it
247
+ injection: { headers: [{ name: "Authorization", value: "Bearer ${secret}" }] }, // how it presents it
235
248
  });
236
249
 
237
250
  const runtime = new Environment(factory, "runtime", {
@@ -241,11 +254,10 @@ const runtime = new Environment(factory, "runtime", {
241
254
  resources: { cpu: "2", memory: "4G" }, // an Agent Compute Capacity: cores : 2 G per core
242
255
  env: { LOG_LEVEL: "debug" }, // plaintext configuration for the agent process — NOT a secret store:
243
256
  // these values are stored unencrypted and returned by every read, so a
244
- // credential belongs in a Secret bound to an egress allow rule instead.
257
+ // credential belongs in a Secret that declares the hosts it is presented on.
245
258
  egress: EgressPolicy.denyAll().allow("openai-model-api", {
246
259
  hosts: ["api.openai.com"],
247
- priority: 300,
248
- credential: bearer("Authorization", openaiKey), // binds the Secret to an injected header
260
+ priority: 300, // a rule opens the network; it carries no credential
249
261
  }),
250
262
  ingress: [{ name: "web", port: 3000 }],
251
263
  });
@@ -346,67 +358,70 @@ factory via a process singleton). Two `fromBuild` calls with the same tag are a
346
358
  ### Two starting points: `EgressPolicy.denyAll()` and `EgressPolicy.allowAll()`
347
359
 
348
360
  `EgressPolicy.denyAll()` refuses every host no rule allows; `EgressPolicy.allowAll()` allows every host no
349
- rule refuses. Every rule form folds onto either one the same way: a credentialed allow rule still injects its
350
- credential at the edge, and a `deny` still refuses. A first factory starts open, since a first run fails far
361
+ rule refuses. Every rule form folds onto either one the same way: a rule only opens or closes the network, a
362
+ credential still goes only to the hosts its own `hosts` cover, and a `deny` still refuses. A first factory starts open, since a first run fails far
351
363
  more often on a blocked host than on anything else, and tightens once runs succeed: read which hosts the agent
352
364
  reached, switch to `denyAll()`, and allow those.
353
365
 
354
366
  ```ts
355
367
  egress: EgressPolicy.allowAll()
356
- .applyPreset(github.egressPolicy()) // the connection's credentialed rules
368
+ .applyPreset(github.egressPolicy()) // the connection's API and git hosts
357
369
  .deny("no-hosted-data", { hosts: ["*.supabase.co", "db.acme.example"] }), // keep the team's real data out
358
370
  ```
359
371
 
360
372
  Open egress opens hosts, not ports: a service on another port still needs a rule naming `host:port`.
361
373
 
362
- ### Egress allow rules: paths and multiple credential bindings
374
+ ### Egress allow rules: paths, and where credentials live
363
375
 
364
376
  `EgressPolicy.denyAll().allow(name, rule)` opens one named outbound rule. Beyond `hosts` and
365
- `priority` it takes:
366
-
367
- - **`paths?: string[]`** — path globs the rule matches; default `["*"]` (all paths). Scope a rule to a
368
- subtree with e.g. `paths: ["/backend-api/*"]`.
369
- - **`credential?: ICredentialBinding`** — a single credential: a bare `Secret` (its own `injection`
370
- recipe supplies the headers), or a `bearer`/`basic`/`header`/`inject` binding (see §6).
371
- - **`credentials?: ICredentialBinding[]`** — several credentials injected on one request, for a
372
- destination that needs more than one credential header. Both must ride **one** rule: the platform egress
373
- matcher selects exactly one rule per (destination, path, method) and hydrates once per request, so
374
- co-required headers cannot be split across two rules.
375
-
376
- Every entry is an `ICredentialBinding` — a `Secret`/import or a factory result, never a plain object
377
- literal. Valid credential shapes are **neither** (a credential-free allow — e.g. `allow(connection)`),
378
- **one `credential`**, or a **non-empty `credentials` list**. Setting both forms, passing an empty
379
- `credentials` array, or listing case-insensitively duplicate header names is a **synth error** (a
380
- duplicate would silently drop a binding at broker hydration). A recipe binding (a bare `Secret` or an
381
- `inject()` override) names no header of its own — its `injection` recipe does — so it never participates
382
- in that uniqueness check; uniqueness still holds across the legacy `bearer`/`basic`/`header` bindings
383
- beside it.
377
+ `priority` it takes **`paths?: string[]`** — path globs the rule matches; default `["*"]` (all paths).
378
+ Scope a rule to a subtree with e.g. `paths: ["/backend-api/*"]`.
384
379
 
385
- ```ts
386
- import { bearer, header } from "@orchestraworks/cli";
380
+ **A rule carries no credential.** A rule is a network rule: it decides whether a request may leave, and
381
+ nothing more. A credential declares where and how it is presented on its own resource:
382
+
383
+ - a **`Secret`** takes `hosts` (an exact host, `*.suffix`, which also covers the bare suffix, or `*`) and an
384
+ `injection` recipe naming the headers it sets. A Secret with no `hosts` is presented nowhere; orchestra always
385
+ sends `hosts`, as `[]` when you declare none.
386
+ - a **`Connection`** takes `hosts`, defaulting to `["*"]`: every host the provider catalog lists for its
387
+ credential. Narrow it to a subset of those hosts when you want less.
388
+
389
+ Passing `credential` or `credentials` to a rule, or `credentialHosts` to `allow(connection, …)`, is a
390
+ **synth error** that shows the Secret or Connection form to write instead.
387
391
 
388
- EgressPolicy.denyAll().allow("chatgpt", {
392
+ A destination that needs several credential headers on one request reads them from **one** Secret whose
393
+ value is `SecretValue.fields(...)`, a JSON object of named fields, each read as `${secret.<field>}`:
394
+
395
+ ```ts
396
+ new Secret(factory, "chatgpt", {
397
+ value: SecretValue.fields({
398
+ access: SecretValue.fromEnv("ORCHESTRA_FDK_CODEX_OAUTH_ACCESS_VALUE"),
399
+ account: SecretValue.fromEnv("ORCHESTRA_FDK_CODEX_OAUTH_ACCOUNT_VALUE"),
400
+ }),
389
401
  hosts: ["chatgpt.com"],
390
- paths: ["/backend-api/*"],
391
- priority: 10,
392
- credentials: [
393
- bearer("Authorization", codexAccess),
394
- header("ChatGPT-Account-Id", codexAccount), // raw value, no scheme prefix
395
- ],
402
+ injection: {
403
+ headers: [
404
+ { name: "Authorization", value: "Bearer ${secret.access}" },
405
+ { name: "ChatGPT-Account-Id", value: "${secret.account}" }, // raw value, no scheme prefix
406
+ ],
407
+ },
396
408
  });
409
+
410
+ EgressPolicy.denyAll().allow("chatgpt", { hosts: ["chatgpt.com"], paths: ["/backend-api/*"], priority: 10 });
397
411
  ```
398
412
 
399
413
  ### Ready-made egress: presets and a connection's own rules
400
414
 
401
415
  Most of an environment's egress is reachability an app used to type out host by host. Two calls replace
402
- that, and the line between them is the one rule to remember: **anonymous rules ride presets, credentialed
403
- rules ride the connection.**
416
+ that, and the line between them is the one rule to remember: **anonymous reachability rides presets, a
417
+ provider's own surface rides the connection.**
404
418
 
405
419
  - **`egressPreset.softwareDevelopment()`** — a static bundle of **credential-free** public-internet allows
406
420
  that anyone may apply. A preset is about *reachability*, never credentials.
407
421
  - **`connection.egressPolicy(options?)`** — one connection's own outbound surface, compiled from the
408
- **provider catalog**: the provider-API rules `allow(connection)` emits, plus the provider's git transport,
409
- each bound to that connection's credential.
422
+ **provider catalog**: the provider-API rules `allow(connection)` emits, plus the provider's git transport.
423
+ Every rule is a network rule; the broker presents the connection's credential on the hosts the connection
424
+ covers.
410
425
 
411
426
  Both return the same bundle value, and `EgressPolicy.applyPreset(bundle)` folds either onto a policy —
412
427
  chainable like `allow` and `deny`:
@@ -416,14 +431,14 @@ import { EgressPolicy, egressPreset } from "@orchestraworks/cli";
416
431
 
417
432
  // …in the Environment's props:
418
433
  egress: EgressPolicy.denyAll()
419
- .applyPreset(github.egressPolicy()) // credentialed: the provider API + the git transport
434
+ .applyPreset(github.egressPolicy()) // the provider API + the git transport
420
435
  .applyPreset(egressPreset.softwareDevelopment()), // anonymous: registries, public git reads, SaaS reads
421
436
  ```
422
437
 
423
438
  **A bundle is not a new concept.** Every entry lands as an ordinary allow rule, in the order you applied
424
439
  them, so `plan.json`, `orchestra fdk diff` and the live environment show only rules — there is nothing about presets to
425
440
  learn when reading a plan. Priorities arbitrate without you picking numbers: a preset row rides `100`, every
426
- connection-bundle rule `300`, and a `deny` defaults to `900` — so a credentialed rule always wins a host a
441
+ connection-bundle rule `300`, and a `deny` defaults to `900` — so a connection's rule always wins a host a
427
442
  preset row also opens, and a prohibition wins both. Customization is additive: author more rules beside a
428
443
  bundle, and `deny(...)` anything you do not want.
429
444
 
@@ -433,7 +448,7 @@ bundle, and `deny(...)` anything you do not want.
433
448
  (Atlassian, Zendesk, PagerDuty, Datadog, Sentry, Slack, Notion, Statuspage, Linear). Every row is
434
449
  `GET`/`HEAD` except three deliberate, path-scoped POSTs — git's `git-upload-pack` (fetch), Notion's
435
450
  query/search, and Linear's `/graphql` — and **no row carries a credential**, so git *push* stays closed and
436
- a service still needs whatever auth a connection bundle or a Secret-bound rule supplies. It takes no
451
+ a service still needs whatever auth a connection or a Secret presents on its hosts. It takes no
437
452
  arguments today, and each call returns fresh arrays, so two environments applying it share nothing.
438
453
 
439
454
  **The connection bundle** is available identically on a managed `Connection` and on every import
@@ -464,25 +479,26 @@ Two authoring notes:
464
479
  correctly (which one wins a request is decided by priority and declaration order, never by the name), so
465
480
  the kit refuses instead of shipping the ambiguity.
466
481
 
467
- Why the split is enforced rather than merely conventional — the bundle type has no credential field an app
468
- could fill in, the priority bands above, and the platform matcher preferring a credentialed rule at an equal
469
- priority — is in the architecture note `docs/architecture/fdk-agent-as-code.md`, § *Egress bundles*.
482
+ Why the split is enforced rather than merely conventional — no rule has a credential field an app could
483
+ fill in, and the priority bands above — is in the architecture note `docs/architecture/fdk-agent-as-code.md`,
484
+ § *Egress bundles*.
470
485
 
471
486
  ### Model traffic through the gateway: `routeModelsViaGateway()`
472
487
 
473
488
  `EgressPolicy.denyAll().routeModelsViaGateway({ key })` lets the agent reach the platform's model gateway
474
489
  with a gateway key it never holds. `key` is the `Secret` whose value is `SecretValue.fromGatewayKey(...)`
475
- (next section):
490
+ (next section), and that Secret declares how it is presented on the gateway host:
476
491
 
477
492
  ```ts
478
493
  egress: EgressPolicy.denyAll().allow(github).routeModelsViaGateway({ key: gatewayToken }),
479
494
  ```
480
495
 
481
- It appends one ordinary allow rule, named `model-gateway` at priority `300`, on the gateway host. The
482
- rule's binding adds `Authorization: Bearer <your gateway key>` at the egress edge and removes `x-api-key`,
483
- so the agent calls the gateway with no key and the gateway swaps yours for the provider key.
496
+ It appends one ordinary network allow rule, named `model-gateway` at priority `300`, on the gateway host. The
497
+ key's Secret adds `Authorization: Bearer <your gateway key>` at the egress edge and removes `x-api-key`, so
498
+ the agent calls the gateway with no key and the gateway swaps yours for the provider key. A declared key
499
+ whose `hosts` do not cover the gateway host, or whose `injection` sets no header, is a synth error.
484
500
 
485
- The rule only adds the key. The agent learns the gateway's address from its own model settings, so set
501
+ The rule only opens the host, and the Secret adds the key. The agent learns the gateway's address from its own model settings, so set
486
502
  `modelSettings: { enableModelGateway: true }` on each agent that routes through the gateway (§ *The model an
487
503
  agent runs* below).
488
504
 
@@ -496,14 +512,15 @@ Four authoring notes:
496
512
  `model-gateway` is a duplicate-name synth error, and if you *also* hand-author an allow rule over the
497
513
  gateway host, give it a different priority. Higher priority is evaluated first; at an equal priority the
498
514
  platform matcher silently takes the first match in declaration order.
499
- - **Your organization needs secrets and managed egress.** Storing the key needs a plan with secrets, and a
500
- rule carrying a credential needs managed egress; without them `apply` fails with a named plan error. An
515
+ - **Your organization needs secrets and managed egress.** Storing the key needs a plan with secrets, or
516
+ `apply` fails with a named plan error. Presenting a credential at egress needs managed egress: without it
517
+ `apply` succeeds, and the egress edge refuses each model call with `plan_feature_disabled`. An
501
518
  organization on a plan without them, the individual plan among them, puts its gateway key into its
502
519
  runtime itself, in environment variables or by hand; orchestra has no helper for that.
503
520
  - **Calling a provider directly is a different thing, and it has no sugar.** If you want the agent to
504
- talk straight to `api.anthropic.com` (or any other provider), write the ordinary rule for it and bind
505
- *your* credential — `allow("anthropic", { hosts: ["api.anthropic.com"], priority: 200, credentials:
506
- [header("x-api-key", myKey)] })`. That path uses your provider account, and it can coexist with the
521
+ talk straight to `api.anthropic.com` (or any other provider), write the ordinary rule for it and give
522
+ *your* key's Secret `hosts: ["api.anthropic.com"]` and an `x-api-key` injection header —
523
+ `allow("anthropic", { hosts: ["api.anthropic.com"], priority: 200 })`. That path uses your provider account, and it can coexist with the
507
524
  gateway rule: the agent's model settings send its own traffic to the gateway, while the direct rule
508
525
  covers whatever the agent addresses at the provider host itself (a CLI, a raw HTTP call). A direct
509
526
  credential that never seems to fire is usually this, not a bug.
@@ -522,6 +539,8 @@ const modelGateway = new GatewayKey(factory, "model-gateway", {
522
539
 
523
540
  const gatewayToken = new Secret(factory, "model-gateway-key", {
524
541
  value: SecretValue.fromGatewayKey(modelGateway), // apply mints the key and writes its token here
542
+ hosts: [DEFAULT_MODEL_GATEWAY_HOST],
543
+ injection: { headers: [{ name: "Authorization", value: "Bearer ${secret}" }], removeHeaders: ["x-api-key"] },
525
544
  });
526
545
  // … then route through it: EgressPolicy.denyAll().routeModelsViaGateway({ key: gatewayToken })
527
546
  ```
@@ -785,17 +804,13 @@ an env value (request body only — never logged, serialized, in `result.json`,
785
804
  behind the same TLS transport guard, which refuses a credential write over non-loopback plain HTTP.
786
805
 
787
806
  Derived credentials: `SecretValue.basicAuth("x-access-token", tokenValue)` renders
788
- `base64("x-access-token:<token>")` (the base64 derivation happens only at apply). Bind a rendered value to
789
- an egress header with `bearer(header, secret)`, `basic(header, secret)`, or `header(name, secret)` — the
790
- raw binder, which injects the secret value **verbatim** (no `Bearer `/`Basic ` scheme prefix), for a
791
- destination that wants the credential in a bare custom header.
807
+ `base64("x-access-token:<token>")` (the base64 derivation happens only at apply). Present it with an
808
+ `injection` header such as `{ name: "Authorization", value: "Basic ${secret}" }`.
792
809
 
793
- ### Injection recipes: several headers from one secret
810
+ ### Injection recipes: the headers a secret presents
794
811
 
795
- Those three binders are all one-header-per-secret. A destination that needs a **set** of headers derived
796
- from one credential — or that needs a client-sent header **stripped** — declares an `injection` recipe on
797
- the Secret itself and binds it by passing the bare `Secret` as the credential (no binder call — the
798
- recipe supplies the headers):
812
+ A Secret's `injection` recipe names every header it sets on its `hosts`, and may strip client-sent headers.
813
+ One recipe can set several headers from one credential.
799
814
 
800
815
  The **Claude sign-in recipe** is the one to copy when the claude harness runs on a person's Claude
801
816
  subscription token rather than an API key:
@@ -803,8 +818,9 @@ subscription token rather than an API key:
803
818
  ```ts
804
819
  import { EgressPolicy, Secret, SecretValue } from "@orchestraworks/cli";
805
820
 
806
- const claudeSignIn = new Secret(factory, "claude-sign-in", {
821
+ new Secret(factory, "claude-sign-in", {
807
822
  value: SecretValue.fromEnv("SFDK_CLAUDE_CODE_OAUTH_TOKEN"),
823
+ hosts: ["api.anthropic.com"],
808
824
  injection: {
809
825
  headers: [{ name: "authorization", value: "Bearer ${secret}" }],
810
826
  removeHeaders: ["x-api-key"], // stripped before injection, so a runtime placeholder cannot leak
@@ -815,8 +831,7 @@ const claudeSignIn = new Secret(factory, "claude-sign-in", {
815
831
  env: { CLAUDE_CODE_OAUTH_TOKEN: "placeholder", ANTHROPIC_API_KEY: "" },
816
832
  egress: EgressPolicy.allowAll().allow("claude-sign-in", {
817
833
  hosts: ["api.anthropic.com"],
818
- priority: 300,
819
- credential: claudeSignIn, // the bare Secret — its injection recipe supplies the headers
834
+ priority: 300, // a network rule; the Secret presents itself on its hosts
820
835
  }),
821
836
  ```
822
837
 
@@ -827,22 +842,15 @@ swaps the real token in. The empty `ANTHROPIC_API_KEY` covers the runtime image'
827
842
  harness would otherwise send instead.
828
843
 
829
844
  - **`headers[].value`** templates take `${secret}` (the whole value) or `${secret.<field>}` (a top-level
830
- field of a JSON-object secret value); a literal-only value is fine for companion headers.
845
+ field of a `SecretValue.fields` value); a literal-only value is fine for companion headers.
831
846
  - **`removeHeaders`** strips client-sent headers before injection; injecting a header the client also
832
847
  sent replaces it.
833
848
  - Synth mirrors the platform's write-time rules: header-name charset, the routing/hop-by-hop denylist
834
849
  (`host`, `content-length`, `transfer-encoding`, `connection`, `te`, `upgrade`, any `proxy-*`), the two
835
850
  placeholder forms, and the caps (≤ 8 header ops, ≤ 8 removals).
836
851
 
837
- The **binding determines application**: a legacy `bearer`/`basic`/`header` binding over a recipe-carrying
838
- secret is a valid, explicit choice to present that secret as one header (its recipe is not applied on that
839
- rule). The one remaining synth error is passing a recipe-**less** secret **bare** — there is no recipe to
840
- apply, so bind it with `bearer`/`basic`/`header` or an `inject()` override instead. `inject(secret,
841
- recipe)` binds any secret (recipe-carrying or not) under a **binding-owned** recipe that overrides the
842
- secret's own recipe wholesale — the recipe is validated once at synth and deep-copied into the plan, so a
843
- later mutation of your input cannot smuggle an unvalidated header. A bare recipe-less check only fires for
844
- **locally declared** secrets; a `Secret.fromSlug`/`fromId` import carries no visible recipe, so it defers
845
- to the server.
852
+ A Secret with `hosts` must carry an `injection` recipe with at least one header: the platform refuses a
853
+ Secret that is presented somewhere but sets nothing.
846
854
 
847
855
  ## 7. Work with existing resources
848
856
 
@@ -1190,8 +1198,8 @@ new Trigger(factory, "slack-thread-replies", {
1190
1198
  #### 3. Outbound — what the agent may say
1191
1199
 
1192
1200
  The reply is an ordinary outbound request from the machine, so it needs an egress grant like any other. One
1193
- line on the **receiving agent's environment** synthesizes the provider's `apiHosts` rule plus the
1194
- `Authorization` binding the broker hydrates from that installation:
1201
+ line on the **receiving agent's environment** synthesizes a network rule over the provider's `apiHosts`; the
1202
+ broker presents that installation's credential on the hosts the connection covers:
1195
1203
 
1196
1204
  ```ts
1197
1205
  const responderEnv = new Environment(factory, "responder-env", {
@@ -1202,19 +1210,18 @@ const responderEnv = new Environment(factory, "responder-env", {
1202
1210
 
1203
1211
  Forget it and nothing looks wrong: synth, apply and routing all succeed, the agent runs — and then its reply
1204
1212
  CLI gets a 403 from the egress fence inside its own machine, where nothing surfaces it but decision logs. So
1205
- synth notices that exact shape (a connection wired inbound to an agent whose environment has no rule bound to
1206
- it) and prints:
1213
+ synth notices that exact shape (a connection wired inbound to an agent whose deny-by-default environment has
1214
+ no allow rule covering the provider's hosts) and prints:
1207
1215
 
1208
1216
  ```
1209
- warning: connection 'slack' is wired inbound to agent 'codex-agent' but its environment 'codex-env' has no outbound rule for it — add .allow(slack) to its egress, or ignore this if that is deliberate (listener-only, or the hosts are covered by a hand-written rule).
1217
+ warning: connection 'slack' is wired inbound to agent 'codex-agent' but its environment 'codex-env' has no allow rule covering its provider's hosts — add .allow(slack) to its egress, or ignore this if that is deliberate (listener-only).
1210
1218
  ```
1211
1219
 
1212
1220
  It never blocks, and **the deliberate listener simply ignores it**: an agent that only reads a provider's
1213
- events and answers somewhere else (or not at all) needs no outbound grant, and so does an agent whose access
1214
- you authored as a hand-written named rule with its own credential — detection is by connection-bound rule
1215
- only, and that false positive is accepted rather than papered over with host matching (a covering rule with
1216
- the wrong credential still 403s). Anything synth cannot prove stays silent instead: an imported agent or
1217
- environment is not in the plan, and a `Connection.fromEnv`/`fromId` binding resolves only at apply.
1221
+ events and answers somewhere else (or not at all) needs no outbound grant. Detection is by host coverage: a
1222
+ hand-written allow rule whose hosts cover the provider's api hosts counts, because a rule carries no
1223
+ credential and the connection presents its own. Anything synth cannot prove stays silent instead: an imported agent or
1224
+ environment is not in the plan, and a `Connection.fromEnv`/`fromId` reference resolves only at apply.
1218
1225
 
1219
1226
  #### Asking a person to approve
1220
1227
 
@@ -44,7 +44,7 @@ export interface ListAgentsRequest {
44
44
  limit?: number;
45
45
  status?: ListAgentsStatusEnum;
46
46
  name?: string;
47
- projectId?: string;
47
+ teamId?: string;
48
48
  xOrganizationId?: string;
49
49
  }
50
50
  export interface UpdateAgentOperationRequest {
@@ -297,8 +297,8 @@ class AgentsApi extends runtime.BaseAPI {
297
297
  if (requestParameters['name'] != null) {
298
298
  queryParameters['name'] = requestParameters['name'];
299
299
  }
300
- if (requestParameters['projectId'] != null) {
301
- queryParameters['projectId'] = requestParameters['projectId'];
300
+ if (requestParameters['teamId'] != null) {
301
+ queryParameters['teamId'] = requestParameters['teamId'];
302
302
  }
303
303
  const headerParameters = {};
304
304
  if (requestParameters['xOrganizationId'] != null) {
@@ -88,7 +88,7 @@ export interface ListArtifactsRequest {
88
88
  page?: number;
89
89
  limit?: number;
90
90
  sessionId?: string;
91
- projectId?: string;
91
+ teamId?: string;
92
92
  xOrganizationId?: string;
93
93
  }
94
94
  export interface ListCommentsRequest {
@@ -671,8 +671,8 @@ class ArtifactsApi extends runtime.BaseAPI {
671
671
  if (requestParameters['sessionId'] != null) {
672
672
  queryParameters['sessionId'] = requestParameters['sessionId'];
673
673
  }
674
- if (requestParameters['projectId'] != null) {
675
- queryParameters['projectId'] = requestParameters['projectId'];
674
+ if (requestParameters['teamId'] != null) {
675
+ queryParameters['teamId'] = requestParameters['teamId'];
676
676
  }
677
677
  const headerParameters = {};
678
678
  if (requestParameters['xOrganizationId'] != null) {
@@ -27,7 +27,7 @@ export interface ListConnectionInstallLinksRequest {
27
27
  connectorId?: string;
28
28
  slug?: string;
29
29
  status?: ListConnectionInstallLinksStatusEnum;
30
- projectId?: string;
30
+ teamId?: string;
31
31
  xOrganizationId?: string;
32
32
  }
33
33
  /**
@@ -139,8 +139,8 @@ class ConnectionInstallLinksApi extends runtime.BaseAPI {
139
139
  if (requestParameters['status'] != null) {
140
140
  queryParameters['status'] = requestParameters['status'];
141
141
  }
142
- if (requestParameters['projectId'] != null) {
143
- queryParameters['projectId'] = requestParameters['projectId'];
142
+ if (requestParameters['teamId'] != null) {
143
+ queryParameters['teamId'] = requestParameters['teamId'];
144
144
  }
145
145
  const headerParameters = {};
146
146
  if (requestParameters['xOrganizationId'] != null) {
@@ -44,7 +44,7 @@ export interface ListConnectionEventTypesRequest {
44
44
  export interface ListConnectionsRequest {
45
45
  page?: number;
46
46
  limit?: number;
47
- projectId?: string;
47
+ teamId?: string;
48
48
  xOrganizationId?: string;
49
49
  }
50
50
  export interface RecordConnectionEventOperationRequest {
@@ -288,8 +288,8 @@ class ConnectionsApi extends runtime.BaseAPI {
288
288
  if (requestParameters['limit'] != null) {
289
289
  queryParameters['limit'] = requestParameters['limit'];
290
290
  }
291
- if (requestParameters['projectId'] != null) {
292
- queryParameters['projectId'] = requestParameters['projectId'];
291
+ if (requestParameters['teamId'] != null) {
292
+ queryParameters['teamId'] = requestParameters['teamId'];
293
293
  }
294
294
  const headerParameters = {};
295
295
  if (requestParameters['xOrganizationId'] != null) {
@@ -29,7 +29,7 @@ export interface GetEnvironmentRequest {
29
29
  export interface ListEnvironmentsRequest {
30
30
  page?: number;
31
31
  limit?: number;
32
- projectId?: string;
32
+ teamId?: string;
33
33
  computeProviderId?: Array<string>;
34
34
  xOrganizationId?: string;
35
35
  }
@@ -185,8 +185,8 @@ class EnvironmentsApi extends runtime.BaseAPI {
185
185
  if (requestParameters['limit'] != null) {
186
186
  queryParameters['limit'] = requestParameters['limit'];
187
187
  }
188
- if (requestParameters['projectId'] != null) {
189
- queryParameters['projectId'] = requestParameters['projectId'];
188
+ if (requestParameters['teamId'] != null) {
189
+ queryParameters['teamId'] = requestParameters['teamId'];
190
190
  }
191
191
  if (requestParameters['computeProviderId'] != null) {
192
192
  queryParameters['computeProviderId'] = requestParameters['computeProviderId'];
@@ -38,7 +38,7 @@ export interface GetFileContentRequest {
38
38
  export interface ListFilesRequest {
39
39
  page?: number;
40
40
  limit?: number;
41
- projectId?: string;
41
+ teamId?: string;
42
42
  xOrganizationId?: string;
43
43
  }
44
44
  /**
@@ -293,8 +293,8 @@ class FilesApi extends runtime.BaseAPI {
293
293
  if (requestParameters['limit'] != null) {
294
294
  queryParameters['limit'] = requestParameters['limit'];
295
295
  }
296
- if (requestParameters['projectId'] != null) {
297
- queryParameters['projectId'] = requestParameters['projectId'];
296
+ if (requestParameters['teamId'] != null) {
297
+ queryParameters['teamId'] = requestParameters['teamId'];
298
298
  }
299
299
  const headerParameters = {};
300
300
  if (requestParameters['xOrganizationId'] != null) {
@@ -0,0 +1,88 @@
1
+ /**
2
+ * Orchestra platform API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import { type CreateImageRequest } from '../models/CreateImageRequest';
14
+ import { type Image } from '../models/Image';
15
+ import { type PageImage } from '../models/PageImage';
16
+ export interface CreateImageOperationRequest {
17
+ createImageRequest: CreateImageRequest;
18
+ xOrganizationId?: string;
19
+ }
20
+ export interface DeleteImageRequest {
21
+ id: string;
22
+ xOrganizationId?: string;
23
+ }
24
+ export interface GetImageRequest {
25
+ id: string;
26
+ xOrganizationId?: string;
27
+ }
28
+ export interface ListImagesRequest {
29
+ page?: number;
30
+ limit?: number;
31
+ name?: Array<string>;
32
+ status?: Array<ListImagesStatusEnum>;
33
+ xOrganizationId?: string;
34
+ }
35
+ /**
36
+ *
37
+ */
38
+ export declare class ImagesApi extends runtime.BaseAPI {
39
+ /**
40
+ * Creates request options for createImage without sending the request
41
+ */
42
+ createImageRequestOpts(requestParameters: CreateImageOperationRequest): Promise<runtime.RequestOpts>;
43
+ /**
44
+ */
45
+ createImageRaw(requestParameters: CreateImageOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
46
+ /**
47
+ */
48
+ createImage(requestParameters: CreateImageOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
49
+ /**
50
+ * Creates request options for deleteImage without sending the request
51
+ */
52
+ deleteImageRequestOpts(requestParameters: DeleteImageRequest): Promise<runtime.RequestOpts>;
53
+ /**
54
+ */
55
+ deleteImageRaw(requestParameters: DeleteImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
56
+ /**
57
+ */
58
+ deleteImage(requestParameters: DeleteImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
59
+ /**
60
+ * Creates request options for getImage without sending the request
61
+ */
62
+ getImageRequestOpts(requestParameters: GetImageRequest): Promise<runtime.RequestOpts>;
63
+ /**
64
+ */
65
+ getImageRaw(requestParameters: GetImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Image>>;
66
+ /**
67
+ */
68
+ getImage(requestParameters: GetImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Image>;
69
+ /**
70
+ * Creates request options for listImages without sending the request
71
+ */
72
+ listImagesRequestOpts(requestParameters: ListImagesRequest): Promise<runtime.RequestOpts>;
73
+ /**
74
+ */
75
+ listImagesRaw(requestParameters: ListImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageImage>>;
76
+ /**
77
+ */
78
+ listImages(requestParameters?: ListImagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageImage>;
79
+ }
80
+ /**
81
+ * @export
82
+ */
83
+ export declare const ListImagesStatusEnum: {
84
+ readonly Copying: "COPYING";
85
+ readonly Ready: "READY";
86
+ readonly Failed: "FAILED";
87
+ };
88
+ export type ListImagesStatusEnum = typeof ListImagesStatusEnum[keyof typeof ListImagesStatusEnum];