@orchestraworks/cli 0.5.5 → 0.5.7
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.
- package/README.md +1 -1
- package/dist/artifacts/prelude.js +10 -1
- package/dist/cli/api/execute.js +7 -7
- package/dist/cli/core/profile.d.ts +2 -2
- package/dist/cli/factory/apply-preview.d.ts +23 -6
- package/dist/cli/factory/apply-preview.js +70 -43
- package/dist/cli/factory/apply-render.js +12 -4
- package/dist/cli/factory/apply.d.ts +7 -2
- package/dist/cli/factory/apply.js +86 -29
- package/dist/cli/factory/diff.js +20 -12
- package/dist/cli/factory/image-upload.d.ts +90 -0
- package/dist/cli/factory/image-upload.js +489 -0
- package/dist/cli/factory/synth.d.ts +7 -0
- package/dist/cli/factory/synth.js +35 -0
- package/dist/cli/firstRun.d.ts +2 -2
- package/dist/cli/firstRun.js +12 -13
- package/dist/cli/main.d.ts +1 -1
- package/dist/cli/main.js +4 -3
- package/dist/cli/upload.d.ts +3 -1
- package/dist/cli/upload.js +9 -2
- package/dist/constructs/agent.d.ts +9 -1
- package/dist/constructs/agent.js +7 -0
- package/dist/constructs/compute-provider.js +2 -2
- package/dist/constructs/connection.d.ts +22 -16
- package/dist/constructs/connection.js +29 -92
- package/dist/constructs/connector.d.ts +3 -1
- package/dist/constructs/connector.js +2 -0
- package/dist/constructs/egress-preset.d.ts +7 -52
- package/dist/constructs/egress-preset.js +7 -91
- package/dist/constructs/environment.d.ts +47 -70
- package/dist/constructs/environment.js +103 -213
- package/dist/constructs/gateway-key.d.ts +4 -1
- package/dist/constructs/gateway-key.js +4 -3
- package/dist/constructs/interfaces.d.ts +10 -2
- package/dist/constructs/model-provider-key.js +2 -3
- package/dist/constructs/pipeline.d.ts +5 -2
- package/dist/constructs/pipeline.js +4 -0
- package/dist/constructs/references.d.ts +4 -0
- package/dist/constructs/references.js +20 -0
- package/dist/constructs/role.d.ts +32 -0
- package/dist/constructs/role.js +77 -0
- package/dist/constructs/rules.d.ts +4 -4
- package/dist/constructs/rules.js +3 -3
- package/dist/constructs/secret.d.ts +36 -13
- package/dist/constructs/secret.js +110 -14
- package/dist/constructs/service-account.d.ts +12 -0
- package/dist/constructs/service-account.js +23 -0
- package/dist/constructs/skill.d.ts +3 -1
- package/dist/constructs/skill.js +2 -0
- package/dist/constructs/team-membership.d.ts +43 -0
- package/dist/constructs/team-membership.js +59 -0
- package/dist/constructs/team.d.ts +40 -0
- package/dist/constructs/team.js +107 -0
- package/dist/constructs/trigger.d.ts +7 -4
- package/dist/constructs/trigger.js +4 -0
- package/dist/constructs/workflow.d.ts +1 -1
- package/dist/core/factory.d.ts +0 -7
- package/dist/core/factory.js +15 -53
- package/dist/core/gateway-key-recipe.js +23 -2
- package/dist/core/host-pattern.d.ts +5 -0
- package/dist/core/host-pattern.js +14 -0
- package/dist/core/labels.d.ts +1 -1
- package/dist/core/labels.js +1 -1
- package/dist/core/outbound-warning.d.ts +2 -2
- package/dist/core/outbound-warning.js +52 -41
- package/dist/core/plan.d.ts +14 -11
- package/dist/core/plan.js +12 -11
- package/dist/engine/apply-core.d.ts +71 -67
- package/dist/engine/apply-core.js +120 -95
- package/dist/engine/client.d.ts +12 -4
- package/dist/engine/client.js +8 -3
- package/dist/engine/compute-provider-reconcile.js +1 -1
- package/dist/engine/condition-references.d.ts +2 -2
- package/dist/engine/condition-references.js +6 -6
- package/dist/engine/connection-install-link-reconcile.d.ts +4 -3
- package/dist/engine/connection-install-link-reconcile.js +35 -28
- package/dist/engine/diff.d.ts +12 -14
- package/dist/engine/diff.js +247 -113
- package/dist/engine/gateway-key-reconcile.d.ts +12 -9
- package/dist/engine/gateway-key-reconcile.js +43 -36
- package/dist/engine/model-provider-key-reconcile.js +2 -2
- package/dist/engine/pipeline-reconcile.d.ts +8 -9
- package/dist/engine/pipeline-reconcile.js +14 -10
- package/dist/engine/reconcile.d.ts +7 -21
- package/dist/engine/reconcile.js +115 -215
- package/dist/engine/refusals.d.ts +14 -31
- package/dist/engine/refusals.js +32 -81
- package/dist/engine/role-membership-reconcile.d.ts +19 -0
- package/dist/engine/role-membership-reconcile.js +276 -0
- package/dist/engine/secrets-apply.d.ts +18 -4
- package/dist/engine/secrets-apply.js +39 -4
- package/dist/engine/trigger-reconcile.d.ts +22 -23
- package/dist/engine/trigger-reconcile.js +43 -65
- package/dist/engine/workflow-reconcile.d.ts +2 -2
- package/dist/engine/workflow-reconcile.js +5 -5
- package/dist/generated/cli-commands.json +15398 -11771
- package/dist/generated/cli-dispatch.d.ts +4 -3
- package/dist/generated/cli-dispatch.js +76 -62
- package/dist/index.d.ts +12 -7
- package/dist/index.js +5 -3
- package/dist/metrics/metric.d.ts +3 -3
- package/dist/metrics/metric.js +1 -1
- package/docs/REFERENCE.md +84 -89
- package/node_modules/@orchestraworks/client/dist/apis/AgentsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/AgentsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/ArtifactsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/ArtifactsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/ConnectionInstallLinksApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/ConnectionInstallLinksApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/ConnectionsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/ConnectionsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/EnvironmentsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/EnvironmentsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/FilesApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/FilesApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/ImagesApi.d.ts +88 -0
- package/node_modules/@orchestraworks/client/dist/apis/ImagesApi.js +239 -0
- package/node_modules/@orchestraworks/client/dist/apis/MetricsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/MetricsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/OrganizationsApi.d.ts +1 -15
- package/node_modules/@orchestraworks/client/dist/apis/OrganizationsApi.js +3 -49
- package/node_modules/@orchestraworks/client/dist/apis/PipelinesApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/PipelinesApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/ProviderConnectionIntentsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/ProviderConnectionIntentsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/SecretsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/SecretsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/SessionsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/SessionsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/SkillsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/SkillsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/TeamMembershipsApi.d.ts +96 -0
- package/node_modules/@orchestraworks/client/dist/apis/{GroupsApi.js → TeamMembershipsApi.js} +62 -59
- package/node_modules/@orchestraworks/client/dist/apis/TeamsApi.d.ts +93 -0
- package/node_modules/@orchestraworks/client/dist/apis/{ProjectsApi.js → TeamsApi.js} +55 -55
- package/node_modules/@orchestraworks/client/dist/apis/TriggersApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/TriggersApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/UsersApi.d.ts +0 -15
- package/node_modules/@orchestraworks/client/dist/apis/UsersApi.js +0 -49
- package/node_modules/@orchestraworks/client/dist/apis/VolumesApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/VolumesApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/WorkItemsApi.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/WorkItemsApi.js +4 -4
- package/node_modules/@orchestraworks/client/dist/apis/WorkflowsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/apis/WorkflowsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/apis/index.d.ts +3 -2
- package/node_modules/@orchestraworks/client/dist/apis/index.js +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/AgentsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/AgentsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/ArtifactsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/ArtifactsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionInstallLinksApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionInstallLinksApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/ConnectionsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/EnvironmentsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/EnvironmentsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/FilesApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/FilesApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/ImagesApi.d.ts +88 -0
- package/node_modules/@orchestraworks/client/dist/esm/apis/ImagesApi.js +235 -0
- package/node_modules/@orchestraworks/client/dist/esm/apis/MetricsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/MetricsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationsApi.d.ts +1 -15
- package/node_modules/@orchestraworks/client/dist/esm/apis/OrganizationsApi.js +3 -49
- package/node_modules/@orchestraworks/client/dist/esm/apis/PipelinesApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/PipelinesApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/ProviderConnectionIntentsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/ProviderConnectionIntentsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/SecretsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/SecretsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/SessionsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/SessionsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/SkillsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/SkillsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/TeamMembershipsApi.d.ts +96 -0
- package/node_modules/@orchestraworks/client/dist/esm/apis/{GroupsApi.js → TeamMembershipsApi.js} +60 -57
- package/node_modules/@orchestraworks/client/dist/esm/apis/TeamsApi.d.ts +93 -0
- package/node_modules/@orchestraworks/client/dist/esm/apis/{ProjectsApi.js → TeamsApi.js} +53 -53
- package/node_modules/@orchestraworks/client/dist/esm/apis/TriggersApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/TriggersApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/UsersApi.d.ts +0 -15
- package/node_modules/@orchestraworks/client/dist/esm/apis/UsersApi.js +0 -49
- package/node_modules/@orchestraworks/client/dist/esm/apis/VolumesApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/VolumesApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/WorkItemsApi.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/WorkItemsApi.js +4 -4
- package/node_modules/@orchestraworks/client/dist/esm/apis/WorkflowsApi.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/apis/WorkflowsApi.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/index.d.ts +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/apis/index.js +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/AddArtifactVersionRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Agent.d.ts +9 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/Agent.js +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ApiErrorDetail.d.ts +9 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/ApiErrorDetail.js +5 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Artifact.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Artifact.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactSummary.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ArtifactSummary.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/AssignAction.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/AssignAction.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/AssignWorkItemRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/AssignWorkItemRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ComputeProviderTarget.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/ComputeProviderTarget.js +2 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Connection.d.ts +16 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/Connection.js +8 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ConnectionInstallLink.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ConnectionInstallLink.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Connector.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Connector.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateAgentRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateAgentRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateArtifactRequest.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateArtifactRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionInstallLinkRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionInstallLinkRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionRequest.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectionRequest.js +4 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectorRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateConnectorRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateDashboardRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateDashboardRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateFileRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateFileRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateGatewayKeyRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateGatewayKeyRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateImageRequest.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/{GroupMemberAgent.js → CreateImageRequest.js} +12 -16
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateMachineRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateMachineRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateMetricRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateMetricRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationInvitationRequest.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationInvitationRequest.js +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationMembershipRequest.d.ts +1 -8
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationMembershipRequest.js +0 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CreatePipelineRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreatePipelineRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateProviderConnectionIntentRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateProviderConnectionIntentRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateSecretRequest.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateSecretRequest.js +4 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateSessionRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateSessionRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateSkillRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateSkillRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamMembershipRequest.d.ts +65 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamMembershipRequest.js +61 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamRequest.d.ts +80 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateTeamRequest.js +64 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateTriggerRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateTriggerRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateVolumeRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateVolumeRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateWorkflowRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Dashboard.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Dashboard.js +6 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/DashboardChart.d.ts +45 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/DashboardChart.js +29 -5
- package/node_modules/@orchestraworks/client/dist/esm/models/DashboardChartQuery.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Delivery.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Delivery.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/EgressPolicyRule.d.ts +0 -13
- package/node_modules/@orchestraworks/client/dist/esm/models/EgressPolicyRule.js +0 -5
- package/node_modules/@orchestraworks/client/dist/esm/models/EntitlementTeamUsage.d.ts +58 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EntitlementTeamUsage.js +64 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Environment.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Environment.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentEgressPolicy.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/GatewayKey.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/GatewayKey.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Image.d.ts +113 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Image.js +91 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/InboundWebhookEdge.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/InboundWebhookEdge.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/InvitationTeamMembership.d.ts +44 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/InvitationTeamMembership.js +47 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/MachineEgressPolicyDiagnostics.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/MachineEgressRuleDiagnostics.d.ts +0 -6
- package/node_modules/@orchestraworks/client/dist/esm/models/MachineEgressRuleDiagnostics.js +0 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/MachineView.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/MachineView.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/MessageWorkItemRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Metric.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Metric.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/MetricValue.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/MetricValue.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ModelFile.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ModelFile.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationEntitlements.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationEntitlements.js +5 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationInvitation.js +4 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationMembership.d.ts +5 -5
- package/node_modules/@orchestraworks/client/dist/esm/models/OrganizationMembership.js +4 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/PageImage.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/{PageProject.js → PageImage.js} +11 -11
- package/node_modules/@orchestraworks/client/dist/esm/models/PageTeam.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/{PageGroupSummary.js → PageTeam.js} +11 -11
- package/node_modules/@orchestraworks/client/dist/esm/models/PageTeamMembership.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/PageTeamMembership.js +56 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Pipeline.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Pipeline.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/PolicyAssignment.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/PolicyAssignment.js +4 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ProviderConnectionIntent.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ProviderConnectionIntent.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ReferenceSubject.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/ReferenceSubject.js +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Role.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Role.js +4 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Secret.d.ts +16 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/Secret.js +8 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/ServiceAccount.d.ts +7 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/ServiceAccount.js +1 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Session.d.ts +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Session.js +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/SessionSummary.d.ts +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/SessionSummary.js +3 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Skill.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Skill.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/SnapshotAnchor.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Team.d.ts +104 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/{GroupSummary.js → Team.js} +25 -15
- package/node_modules/@orchestraworks/client/dist/esm/models/TeamMembership.d.ts +83 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/TeamMembership.js +77 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Trigger.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Trigger.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/TriggerTarget.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateArtifactRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateConnectionRequest.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateConnectionRequest.js +2 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationInvitationRequest.js +3 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationMembershipRequest.d.ts +1 -8
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateOrganizationMembershipRequest.js +0 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateSecretRequest.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateSecretRequest.js +2 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamMembershipRequest.d.ts +47 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamMembershipRequest.js +51 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamRequest.d.ts +68 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateTeamRequest.js +58 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UserGrant.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/UserGrant.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Volume.d.ts +10 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/Volume.js +4 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemActivity.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemAssignment.d.ts +7 -7
- package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemAssignment.js +5 -5
- package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemDraftAssignment.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/WorkItemDraftAssignment.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Workflow.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/Workflow.js +2 -2
- package/node_modules/@orchestraworks/client/dist/esm/models/index.d.ts +13 -17
- package/node_modules/@orchestraworks/client/dist/esm/models/index.js +13 -17
- package/node_modules/@orchestraworks/client/dist/models/AddArtifactVersionRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/Agent.d.ts +9 -3
- package/node_modules/@orchestraworks/client/dist/models/Agent.js +3 -2
- package/node_modules/@orchestraworks/client/dist/models/ApiErrorDetail.d.ts +9 -1
- package/node_modules/@orchestraworks/client/dist/models/ApiErrorDetail.js +5 -1
- package/node_modules/@orchestraworks/client/dist/models/Artifact.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Artifact.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ArtifactSummary.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ArtifactSummary.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/AssignAction.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/AssignAction.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/AssignWorkItemRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/AssignWorkItemRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ComputeProviderTarget.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/models/ComputeProviderTarget.js +2 -0
- package/node_modules/@orchestraworks/client/dist/models/Connection.d.ts +16 -3
- package/node_modules/@orchestraworks/client/dist/models/Connection.js +8 -2
- package/node_modules/@orchestraworks/client/dist/models/ConnectionInstallLink.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ConnectionInstallLink.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Connector.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Connector.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateAgentRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateAgentRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateArtifactRequest.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/models/CreateArtifactRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateConnectionInstallLinkRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/models/CreateConnectionInstallLinkRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateConnectionRequest.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateConnectionRequest.js +4 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateConnectorRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateConnectorRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateDashboardRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/models/CreateDashboardRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateFileRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateFileRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateGatewayKeyRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateGatewayKeyRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateImageRequest.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateImageRequest.js +54 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateMachineRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateMachineRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateMetricRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateMetricRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationInvitationRequest.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationInvitationRequest.js +3 -3
- package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationMembershipRequest.d.ts +1 -8
- package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationMembershipRequest.js +0 -3
- package/node_modules/@orchestraworks/client/dist/models/CreatePipelineRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreatePipelineRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateProviderConnectionIntentRequest.d.ts +3 -3
- package/node_modules/@orchestraworks/client/dist/models/CreateProviderConnectionIntentRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateSecretRequest.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateSecretRequest.js +4 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateSessionRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateSessionRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateSkillRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateSkillRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateTeamMembershipRequest.d.ts +65 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateTeamMembershipRequest.js +69 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateTeamRequest.d.ts +80 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateTeamRequest.js +72 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateTriggerRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateTriggerRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateVolumeRequest.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateVolumeRequest.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/CreateWorkflowRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/Dashboard.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/models/Dashboard.js +6 -2
- package/node_modules/@orchestraworks/client/dist/models/DashboardChart.d.ts +45 -4
- package/node_modules/@orchestraworks/client/dist/models/DashboardChart.js +30 -6
- package/node_modules/@orchestraworks/client/dist/models/DashboardChartQuery.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/Delivery.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Delivery.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/EgressPolicyRule.d.ts +0 -13
- package/node_modules/@orchestraworks/client/dist/models/EgressPolicyRule.js +0 -5
- package/node_modules/@orchestraworks/client/dist/models/EntitlementTeamUsage.d.ts +58 -0
- package/node_modules/@orchestraworks/client/dist/models/EntitlementTeamUsage.js +72 -0
- package/node_modules/@orchestraworks/client/dist/models/Environment.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Environment.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentEgressPolicy.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/GatewayKey.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/GatewayKey.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Image.d.ts +113 -0
- package/node_modules/@orchestraworks/client/dist/models/Image.js +99 -0
- package/node_modules/@orchestraworks/client/dist/models/InboundWebhookEdge.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/InboundWebhookEdge.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/InvitationTeamMembership.d.ts +44 -0
- package/node_modules/@orchestraworks/client/dist/models/InvitationTeamMembership.js +54 -0
- package/node_modules/@orchestraworks/client/dist/models/MachineEgressPolicyDiagnostics.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/MachineEgressRuleDiagnostics.d.ts +0 -6
- package/node_modules/@orchestraworks/client/dist/models/MachineEgressRuleDiagnostics.js +0 -4
- package/node_modules/@orchestraworks/client/dist/models/MachineView.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/MachineView.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/MessageWorkItemRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/Metric.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Metric.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/MetricValue.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/MetricValue.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ModelFile.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ModelFile.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/OrganizationEntitlements.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/models/OrganizationEntitlements.js +5 -0
- package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/models/OrganizationInvitation.js +4 -4
- package/node_modules/@orchestraworks/client/dist/models/OrganizationMembership.d.ts +5 -5
- package/node_modules/@orchestraworks/client/dist/models/OrganizationMembership.js +4 -4
- package/node_modules/@orchestraworks/client/dist/models/PageImage.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/models/{PageProject.js → PageImage.js} +16 -16
- package/node_modules/@orchestraworks/client/dist/models/PageTeam.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/models/{PageGroupSummary.js → PageTeam.js} +16 -16
- package/node_modules/@orchestraworks/client/dist/models/PageTeamMembership.d.ts +51 -0
- package/node_modules/@orchestraworks/client/dist/models/PageTeamMembership.js +63 -0
- package/node_modules/@orchestraworks/client/dist/models/Pipeline.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Pipeline.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/PolicyAssignment.d.ts +8 -2
- package/node_modules/@orchestraworks/client/dist/models/PolicyAssignment.js +4 -2
- package/node_modules/@orchestraworks/client/dist/models/ProviderConnectionIntent.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ProviderConnectionIntent.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/ReferenceSubject.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/ReferenceSubject.js +1 -1
- package/node_modules/@orchestraworks/client/dist/models/Role.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/models/Role.js +4 -0
- package/node_modules/@orchestraworks/client/dist/models/Secret.d.ts +16 -3
- package/node_modules/@orchestraworks/client/dist/models/Secret.js +8 -2
- package/node_modules/@orchestraworks/client/dist/models/ServiceAccount.d.ts +7 -1
- package/node_modules/@orchestraworks/client/dist/models/ServiceAccount.js +1 -0
- package/node_modules/@orchestraworks/client/dist/models/Session.d.ts +3 -2
- package/node_modules/@orchestraworks/client/dist/models/Session.js +3 -2
- package/node_modules/@orchestraworks/client/dist/models/SessionSummary.d.ts +3 -2
- package/node_modules/@orchestraworks/client/dist/models/SessionSummary.js +3 -2
- package/node_modules/@orchestraworks/client/dist/models/Skill.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Skill.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/SnapshotAnchor.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/Team.d.ts +104 -0
- package/node_modules/@orchestraworks/client/dist/models/{GroupSummary.js → Team.js} +31 -21
- package/node_modules/@orchestraworks/client/dist/models/TeamMembership.d.ts +83 -0
- package/node_modules/@orchestraworks/client/dist/models/TeamMembership.js +85 -0
- package/node_modules/@orchestraworks/client/dist/models/Trigger.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Trigger.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/TriggerTarget.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/UpdateArtifactRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/UpdateConnectionRequest.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateConnectionRequest.js +2 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.d.ts +4 -4
- package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationInvitationRequest.js +3 -3
- package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationMembershipRequest.d.ts +1 -8
- package/node_modules/@orchestraworks/client/dist/models/UpdateOrganizationMembershipRequest.js +0 -3
- package/node_modules/@orchestraworks/client/dist/models/UpdateSecretRequest.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateSecretRequest.js +2 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateTeamMembershipRequest.d.ts +47 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateTeamMembershipRequest.js +59 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateTeamRequest.d.ts +68 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateTeamRequest.js +66 -0
- package/node_modules/@orchestraworks/client/dist/models/UserGrant.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/UserGrant.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Volume.d.ts +10 -3
- package/node_modules/@orchestraworks/client/dist/models/Volume.js +4 -2
- package/node_modules/@orchestraworks/client/dist/models/WorkItemActivity.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/WorkItemAssignment.d.ts +7 -7
- package/node_modules/@orchestraworks/client/dist/models/WorkItemAssignment.js +5 -5
- package/node_modules/@orchestraworks/client/dist/models/WorkItemDraftAssignment.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/WorkItemDraftAssignment.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Workflow.d.ts +2 -2
- package/node_modules/@orchestraworks/client/dist/models/Workflow.js +2 -2
- package/node_modules/@orchestraworks/client/dist/models/index.d.ts +13 -17
- package/node_modules/@orchestraworks/client/dist/models/index.js +13 -17
- package/node_modules/@orchestraworks/client/package.json +1 -1
- package/package.json +4 -4
- package/skills/orchestra/SKILL.md +74 -64
- package/skills/orchestra-fdk/references/authoring.md +75 -39
- package/skills/orchestra-fdk/references/environment.md +214 -33
- package/skills/orchestra-fdk/references/troubleshooting.md +8 -7
- package/templates/bug-fix/main.ts +6 -1
- package/templates/engineering-team/README.md +10 -7
- package/templates/engineering-team/agents/engineer-agent.md +38 -16
- package/templates/engineering-team/lib/environment.ts +15 -3
- package/templates/engineering-team/main.ts +1 -1
- package/templates/todo-factory/main.ts +6 -1
- package/dist/constructs/project.d.ts +0 -33
- package/dist/constructs/project.js +0 -82
- package/node_modules/@orchestraworks/client/dist/apis/GroupsApi.d.ts +0 -95
- package/node_modules/@orchestraworks/client/dist/apis/ProjectsApi.d.ts +0 -93
- package/node_modules/@orchestraworks/client/dist/esm/apis/GroupsApi.d.ts +0 -95
- package/node_modules/@orchestraworks/client/dist/esm/apis/ProjectsApi.d.ts +0 -93
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateGroupRequest.d.ts +0 -82
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateGroupRequest.js +0 -74
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationRequest.d.ts +0 -53
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateOrganizationRequest.js +0 -50
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateProjectRequest.d.ts +0 -52
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateProjectRequest.js +0 -49
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateUserRequest.d.ts +0 -46
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateUserRequest.js +0 -47
- package/node_modules/@orchestraworks/client/dist/esm/models/CredentialBinding.d.ts +0 -57
- package/node_modules/@orchestraworks/client/dist/esm/models/CredentialBinding.js +0 -50
- package/node_modules/@orchestraworks/client/dist/esm/models/Group.d.ts +0 -106
- package/node_modules/@orchestraworks/client/dist/esm/models/Group.js +0 -92
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupMember.d.ts +0 -40
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupMember.js +0 -45
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberAgent.d.ts +0 -44
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberReference.d.ts +0 -38
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberReference.js +0 -43
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberUser.d.ts +0 -38
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupMemberUser.js +0 -45
- package/node_modules/@orchestraworks/client/dist/esm/models/GroupSummary.d.ts +0 -86
- package/node_modules/@orchestraworks/client/dist/esm/models/PageGroupSummary.d.ts +0 -51
- package/node_modules/@orchestraworks/client/dist/esm/models/PageProject.d.ts +0 -51
- package/node_modules/@orchestraworks/client/dist/esm/models/Project.d.ts +0 -76
- package/node_modules/@orchestraworks/client/dist/esm/models/Project.js +0 -69
- package/node_modules/@orchestraworks/client/dist/esm/models/RoleAssignment.d.ts +0 -38
- package/node_modules/@orchestraworks/client/dist/esm/models/RoleAssignment.js +0 -45
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateGroupRequest.d.ts +0 -70
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateGroupRequest.js +0 -60
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateProjectRequest.d.ts +0 -46
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateProjectRequest.js +0 -45
- package/node_modules/@orchestraworks/client/dist/models/CreateGroupRequest.d.ts +0 -82
- package/node_modules/@orchestraworks/client/dist/models/CreateGroupRequest.js +0 -82
- package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationRequest.d.ts +0 -53
- package/node_modules/@orchestraworks/client/dist/models/CreateOrganizationRequest.js +0 -57
- package/node_modules/@orchestraworks/client/dist/models/CreateProjectRequest.d.ts +0 -52
- package/node_modules/@orchestraworks/client/dist/models/CreateProjectRequest.js +0 -56
- package/node_modules/@orchestraworks/client/dist/models/CreateUserRequest.d.ts +0 -46
- package/node_modules/@orchestraworks/client/dist/models/CreateUserRequest.js +0 -54
- package/node_modules/@orchestraworks/client/dist/models/CredentialBinding.d.ts +0 -57
- package/node_modules/@orchestraworks/client/dist/models/CredentialBinding.js +0 -57
- package/node_modules/@orchestraworks/client/dist/models/Group.d.ts +0 -106
- package/node_modules/@orchestraworks/client/dist/models/Group.js +0 -100
- package/node_modules/@orchestraworks/client/dist/models/GroupMember.d.ts +0 -40
- package/node_modules/@orchestraworks/client/dist/models/GroupMember.js +0 -52
- package/node_modules/@orchestraworks/client/dist/models/GroupMemberAgent.d.ts +0 -44
- package/node_modules/@orchestraworks/client/dist/models/GroupMemberAgent.js +0 -58
- package/node_modules/@orchestraworks/client/dist/models/GroupMemberReference.d.ts +0 -38
- package/node_modules/@orchestraworks/client/dist/models/GroupMemberReference.js +0 -50
- package/node_modules/@orchestraworks/client/dist/models/GroupMemberUser.d.ts +0 -38
- package/node_modules/@orchestraworks/client/dist/models/GroupMemberUser.js +0 -52
- package/node_modules/@orchestraworks/client/dist/models/GroupSummary.d.ts +0 -86
- package/node_modules/@orchestraworks/client/dist/models/PageGroupSummary.d.ts +0 -51
- package/node_modules/@orchestraworks/client/dist/models/PageProject.d.ts +0 -51
- package/node_modules/@orchestraworks/client/dist/models/Project.d.ts +0 -76
- package/node_modules/@orchestraworks/client/dist/models/Project.js +0 -76
- package/node_modules/@orchestraworks/client/dist/models/RoleAssignment.d.ts +0 -38
- package/node_modules/@orchestraworks/client/dist/models/RoleAssignment.js +0 -52
- package/node_modules/@orchestraworks/client/dist/models/UpdateGroupRequest.d.ts +0 -70
- package/node_modules/@orchestraworks/client/dist/models/UpdateGroupRequest.js +0 -68
- package/node_modules/@orchestraworks/client/dist/models/UpdateProjectRequest.d.ts +0 -46
- package/node_modules/@orchestraworks/client/dist/models/UpdateProjectRequest.js +0 -52
package/docs/REFERENCE.md
CHANGED
|
@@ -224,14 +224,15 @@ import {
|
|
|
224
224
|
Image,
|
|
225
225
|
Secret,
|
|
226
226
|
SecretValue,
|
|
227
|
-
bearer,
|
|
228
227
|
} from "@orchestraworks/cli";
|
|
229
228
|
|
|
230
229
|
const factory = new Factory({ name: "acme-support" });
|
|
231
230
|
|
|
232
|
-
|
|
231
|
+
new Secret(factory, "openai-api-key", {
|
|
233
232
|
name: "OpenAI API key",
|
|
234
233
|
value: SecretValue.fromEnv("OPENAI_API_KEY_VALUE"), // value read from env at apply — never in the plan
|
|
234
|
+
hosts: ["api.openai.com"], // where the egress edge presents it
|
|
235
|
+
injection: { headers: [{ name: "Authorization", value: "Bearer ${secret}" }] }, // how it presents it
|
|
235
236
|
});
|
|
236
237
|
|
|
237
238
|
const runtime = new Environment(factory, "runtime", {
|
|
@@ -241,11 +242,10 @@ const runtime = new Environment(factory, "runtime", {
|
|
|
241
242
|
resources: { cpu: "2", memory: "4G" }, // an Agent Compute Capacity: cores : 2 G per core
|
|
242
243
|
env: { LOG_LEVEL: "debug" }, // plaintext configuration for the agent process — NOT a secret store:
|
|
243
244
|
// these values are stored unencrypted and returned by every read, so a
|
|
244
|
-
// credential belongs in a Secret
|
|
245
|
+
// credential belongs in a Secret that declares the hosts it is presented on.
|
|
245
246
|
egress: EgressPolicy.denyAll().allow("openai-model-api", {
|
|
246
247
|
hosts: ["api.openai.com"],
|
|
247
|
-
priority: 300,
|
|
248
|
-
credential: bearer("Authorization", openaiKey), // binds the Secret to an injected header
|
|
248
|
+
priority: 300, // a rule opens the network; it carries no credential
|
|
249
249
|
}),
|
|
250
250
|
ingress: [{ name: "web", port: 3000 }],
|
|
251
251
|
});
|
|
@@ -346,67 +346,70 @@ factory via a process singleton). Two `fromBuild` calls with the same tag are a
|
|
|
346
346
|
### Two starting points: `EgressPolicy.denyAll()` and `EgressPolicy.allowAll()`
|
|
347
347
|
|
|
348
348
|
`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
|
|
350
|
-
credential
|
|
349
|
+
rule refuses. Every rule form folds onto either one the same way: a rule only opens or closes the network, a
|
|
350
|
+
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
351
|
more often on a blocked host than on anything else, and tightens once runs succeed: read which hosts the agent
|
|
352
352
|
reached, switch to `denyAll()`, and allow those.
|
|
353
353
|
|
|
354
354
|
```ts
|
|
355
355
|
egress: EgressPolicy.allowAll()
|
|
356
|
-
.applyPreset(github.egressPolicy()) // the connection's
|
|
356
|
+
.applyPreset(github.egressPolicy()) // the connection's API and git hosts
|
|
357
357
|
.deny("no-hosted-data", { hosts: ["*.supabase.co", "db.acme.example"] }), // keep the team's real data out
|
|
358
358
|
```
|
|
359
359
|
|
|
360
360
|
Open egress opens hosts, not ports: a service on another port still needs a rule naming `host:port`.
|
|
361
361
|
|
|
362
|
-
### Egress allow rules: paths and
|
|
362
|
+
### Egress allow rules: paths, and where credentials live
|
|
363
363
|
|
|
364
364
|
`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.
|
|
365
|
+
`priority` it takes **`paths?: string[]`** — path globs the rule matches; default `["*"]` (all paths).
|
|
366
|
+
Scope a rule to a subtree with e.g. `paths: ["/backend-api/*"]`.
|
|
384
367
|
|
|
385
|
-
|
|
386
|
-
|
|
368
|
+
**A rule carries no credential.** A rule is a network rule: it decides whether a request may leave, and
|
|
369
|
+
nothing more. A credential declares where and how it is presented on its own resource:
|
|
370
|
+
|
|
371
|
+
- a **`Secret`** takes `hosts` (an exact host, `*.suffix`, which also covers the bare suffix, or `*`) and an
|
|
372
|
+
`injection` recipe naming the headers it sets. A Secret with no `hosts` is presented nowhere; orchestra always
|
|
373
|
+
sends `hosts`, as `[]` when you declare none.
|
|
374
|
+
- a **`Connection`** takes `hosts`, defaulting to `["*"]`: every host the provider catalog lists for its
|
|
375
|
+
credential. Narrow it to a subset of those hosts when you want less.
|
|
376
|
+
|
|
377
|
+
Passing `credential` or `credentials` to a rule, or `credentialHosts` to `allow(connection, …)`, is a
|
|
378
|
+
**synth error** that shows the Secret or Connection form to write instead.
|
|
387
379
|
|
|
388
|
-
|
|
380
|
+
A destination that needs several credential headers on one request reads them from **one** Secret whose
|
|
381
|
+
value is `SecretValue.fields(...)`, a JSON object of named fields, each read as `${secret.<field>}`:
|
|
382
|
+
|
|
383
|
+
```ts
|
|
384
|
+
new Secret(factory, "chatgpt", {
|
|
385
|
+
value: SecretValue.fields({
|
|
386
|
+
access: SecretValue.fromEnv("ORCHESTRA_FDK_CODEX_OAUTH_ACCESS_VALUE"),
|
|
387
|
+
account: SecretValue.fromEnv("ORCHESTRA_FDK_CODEX_OAUTH_ACCOUNT_VALUE"),
|
|
388
|
+
}),
|
|
389
389
|
hosts: ["chatgpt.com"],
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
390
|
+
injection: {
|
|
391
|
+
headers: [
|
|
392
|
+
{ name: "Authorization", value: "Bearer ${secret.access}" },
|
|
393
|
+
{ name: "ChatGPT-Account-Id", value: "${secret.account}" }, // raw value, no scheme prefix
|
|
394
|
+
],
|
|
395
|
+
},
|
|
396
396
|
});
|
|
397
|
+
|
|
398
|
+
EgressPolicy.denyAll().allow("chatgpt", { hosts: ["chatgpt.com"], paths: ["/backend-api/*"], priority: 10 });
|
|
397
399
|
```
|
|
398
400
|
|
|
399
401
|
### Ready-made egress: presets and a connection's own rules
|
|
400
402
|
|
|
401
403
|
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
|
|
403
|
-
|
|
404
|
+
that, and the line between them is the one rule to remember: **anonymous reachability rides presets, a
|
|
405
|
+
provider's own surface rides the connection.**
|
|
404
406
|
|
|
405
407
|
- **`egressPreset.softwareDevelopment()`** — a static bundle of **credential-free** public-internet allows
|
|
406
408
|
that anyone may apply. A preset is about *reachability*, never credentials.
|
|
407
409
|
- **`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
|
-
|
|
410
|
+
**provider catalog**: the provider-API rules `allow(connection)` emits, plus the provider's git transport.
|
|
411
|
+
Every rule is a network rule; the broker presents the connection's credential on the hosts the connection
|
|
412
|
+
covers.
|
|
410
413
|
|
|
411
414
|
Both return the same bundle value, and `EgressPolicy.applyPreset(bundle)` folds either onto a policy —
|
|
412
415
|
chainable like `allow` and `deny`:
|
|
@@ -416,14 +419,14 @@ import { EgressPolicy, egressPreset } from "@orchestraworks/cli";
|
|
|
416
419
|
|
|
417
420
|
// …in the Environment's props:
|
|
418
421
|
egress: EgressPolicy.denyAll()
|
|
419
|
-
.applyPreset(github.egressPolicy()) //
|
|
422
|
+
.applyPreset(github.egressPolicy()) // the provider API + the git transport
|
|
420
423
|
.applyPreset(egressPreset.softwareDevelopment()), // anonymous: registries, public git reads, SaaS reads
|
|
421
424
|
```
|
|
422
425
|
|
|
423
426
|
**A bundle is not a new concept.** Every entry lands as an ordinary allow rule, in the order you applied
|
|
424
427
|
them, so `plan.json`, `orchestra fdk diff` and the live environment show only rules — there is nothing about presets to
|
|
425
428
|
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
|
|
429
|
+
connection-bundle rule `300`, and a `deny` defaults to `900` — so a connection's rule always wins a host a
|
|
427
430
|
preset row also opens, and a prohibition wins both. Customization is additive: author more rules beside a
|
|
428
431
|
bundle, and `deny(...)` anything you do not want.
|
|
429
432
|
|
|
@@ -433,7 +436,7 @@ bundle, and `deny(...)` anything you do not want.
|
|
|
433
436
|
(Atlassian, Zendesk, PagerDuty, Datadog, Sentry, Slack, Notion, Statuspage, Linear). Every row is
|
|
434
437
|
`GET`/`HEAD` except three deliberate, path-scoped POSTs — git's `git-upload-pack` (fetch), Notion's
|
|
435
438
|
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
|
|
439
|
+
a service still needs whatever auth a connection or a Secret presents on its hosts. It takes no
|
|
437
440
|
arguments today, and each call returns fresh arrays, so two environments applying it share nothing.
|
|
438
441
|
|
|
439
442
|
**The connection bundle** is available identically on a managed `Connection` and on every import
|
|
@@ -464,25 +467,26 @@ Two authoring notes:
|
|
|
464
467
|
correctly (which one wins a request is decided by priority and declaration order, never by the name), so
|
|
465
468
|
the kit refuses instead of shipping the ambiguity.
|
|
466
469
|
|
|
467
|
-
Why the split is enforced rather than merely conventional —
|
|
468
|
-
|
|
469
|
-
|
|
470
|
+
Why the split is enforced rather than merely conventional — no rule has a credential field an app could
|
|
471
|
+
fill in, and the priority bands above — is in the architecture note `docs/architecture/fdk-agent-as-code.md`,
|
|
472
|
+
§ *Egress bundles*.
|
|
470
473
|
|
|
471
474
|
### Model traffic through the gateway: `routeModelsViaGateway()`
|
|
472
475
|
|
|
473
476
|
`EgressPolicy.denyAll().routeModelsViaGateway({ key })` lets the agent reach the platform's model gateway
|
|
474
477
|
with a gateway key it never holds. `key` is the `Secret` whose value is `SecretValue.fromGatewayKey(...)`
|
|
475
|
-
(next section):
|
|
478
|
+
(next section), and that Secret declares how it is presented on the gateway host:
|
|
476
479
|
|
|
477
480
|
```ts
|
|
478
481
|
egress: EgressPolicy.denyAll().allow(github).routeModelsViaGateway({ key: gatewayToken }),
|
|
479
482
|
```
|
|
480
483
|
|
|
481
|
-
It appends one ordinary allow rule, named `model-gateway` at priority `300`, on the gateway host. The
|
|
482
|
-
|
|
483
|
-
|
|
484
|
+
It appends one ordinary network allow rule, named `model-gateway` at priority `300`, on the gateway host. The
|
|
485
|
+
key's Secret adds `Authorization: Bearer <your gateway key>` at the egress edge and removes `x-api-key`, so
|
|
486
|
+
the agent calls the gateway with no key and the gateway swaps yours for the provider key. A declared key
|
|
487
|
+
whose `hosts` do not cover the gateway host, or whose `injection` sets no header, is a synth error.
|
|
484
488
|
|
|
485
|
-
The rule only adds the key. The agent learns the gateway's address from its own model settings, so set
|
|
489
|
+
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
490
|
`modelSettings: { enableModelGateway: true }` on each agent that routes through the gateway (§ *The model an
|
|
487
491
|
agent runs* below).
|
|
488
492
|
|
|
@@ -496,14 +500,15 @@ Four authoring notes:
|
|
|
496
500
|
`model-gateway` is a duplicate-name synth error, and if you *also* hand-author an allow rule over the
|
|
497
501
|
gateway host, give it a different priority. Higher priority is evaluated first; at an equal priority the
|
|
498
502
|
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,
|
|
500
|
-
|
|
503
|
+
- **Your organization needs secrets and managed egress.** Storing the key needs a plan with secrets, or
|
|
504
|
+
`apply` fails with a named plan error. Presenting a credential at egress needs managed egress: without it
|
|
505
|
+
`apply` succeeds, and the egress edge refuses each model call with `plan_feature_disabled`. An
|
|
501
506
|
organization on a plan without them, the individual plan among them, puts its gateway key into its
|
|
502
507
|
runtime itself, in environment variables or by hand; orchestra has no helper for that.
|
|
503
508
|
- **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
|
|
505
|
-
*your*
|
|
506
|
-
|
|
509
|
+
talk straight to `api.anthropic.com` (or any other provider), write the ordinary rule for it and give
|
|
510
|
+
*your* key's Secret `hosts: ["api.anthropic.com"]` and an `x-api-key` injection header —
|
|
511
|
+
`allow("anthropic", { hosts: ["api.anthropic.com"], priority: 200 })`. That path uses your provider account, and it can coexist with the
|
|
507
512
|
gateway rule: the agent's model settings send its own traffic to the gateway, while the direct rule
|
|
508
513
|
covers whatever the agent addresses at the provider host itself (a CLI, a raw HTTP call). A direct
|
|
509
514
|
credential that never seems to fire is usually this, not a bug.
|
|
@@ -522,6 +527,8 @@ const modelGateway = new GatewayKey(factory, "model-gateway", {
|
|
|
522
527
|
|
|
523
528
|
const gatewayToken = new Secret(factory, "model-gateway-key", {
|
|
524
529
|
value: SecretValue.fromGatewayKey(modelGateway), // apply mints the key and writes its token here
|
|
530
|
+
hosts: [DEFAULT_MODEL_GATEWAY_HOST],
|
|
531
|
+
injection: { headers: [{ name: "Authorization", value: "Bearer ${secret}" }], removeHeaders: ["x-api-key"] },
|
|
525
532
|
});
|
|
526
533
|
// … then route through it: EgressPolicy.denyAll().routeModelsViaGateway({ key: gatewayToken })
|
|
527
534
|
```
|
|
@@ -785,17 +792,13 @@ an env value (request body only — never logged, serialized, in `result.json`,
|
|
|
785
792
|
behind the same TLS transport guard, which refuses a credential write over non-loopback plain HTTP.
|
|
786
793
|
|
|
787
794
|
Derived credentials: `SecretValue.basicAuth("x-access-token", tokenValue)` renders
|
|
788
|
-
`base64("x-access-token:<token>")` (the base64 derivation happens only at apply).
|
|
789
|
-
|
|
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.
|
|
795
|
+
`base64("x-access-token:<token>")` (the base64 derivation happens only at apply). Present it with an
|
|
796
|
+
`injection` header such as `{ name: "Authorization", value: "Basic ${secret}" }`.
|
|
792
797
|
|
|
793
|
-
### Injection recipes:
|
|
798
|
+
### Injection recipes: the headers a secret presents
|
|
794
799
|
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
the Secret itself and binds it by passing the bare `Secret` as the credential (no binder call — the
|
|
798
|
-
recipe supplies the headers):
|
|
800
|
+
A Secret's `injection` recipe names every header it sets on its `hosts`, and may strip client-sent headers.
|
|
801
|
+
One recipe can set several headers from one credential.
|
|
799
802
|
|
|
800
803
|
The **Claude sign-in recipe** is the one to copy when the claude harness runs on a person's Claude
|
|
801
804
|
subscription token rather than an API key:
|
|
@@ -803,8 +806,9 @@ subscription token rather than an API key:
|
|
|
803
806
|
```ts
|
|
804
807
|
import { EgressPolicy, Secret, SecretValue } from "@orchestraworks/cli";
|
|
805
808
|
|
|
806
|
-
|
|
809
|
+
new Secret(factory, "claude-sign-in", {
|
|
807
810
|
value: SecretValue.fromEnv("SFDK_CLAUDE_CODE_OAUTH_TOKEN"),
|
|
811
|
+
hosts: ["api.anthropic.com"],
|
|
808
812
|
injection: {
|
|
809
813
|
headers: [{ name: "authorization", value: "Bearer ${secret}" }],
|
|
810
814
|
removeHeaders: ["x-api-key"], // stripped before injection, so a runtime placeholder cannot leak
|
|
@@ -815,8 +819,7 @@ const claudeSignIn = new Secret(factory, "claude-sign-in", {
|
|
|
815
819
|
env: { CLAUDE_CODE_OAUTH_TOKEN: "placeholder", ANTHROPIC_API_KEY: "" },
|
|
816
820
|
egress: EgressPolicy.allowAll().allow("claude-sign-in", {
|
|
817
821
|
hosts: ["api.anthropic.com"],
|
|
818
|
-
priority: 300,
|
|
819
|
-
credential: claudeSignIn, // the bare Secret — its injection recipe supplies the headers
|
|
822
|
+
priority: 300, // a network rule; the Secret presents itself on its hosts
|
|
820
823
|
}),
|
|
821
824
|
```
|
|
822
825
|
|
|
@@ -827,22 +830,15 @@ swaps the real token in. The empty `ANTHROPIC_API_KEY` covers the runtime image'
|
|
|
827
830
|
harness would otherwise send instead.
|
|
828
831
|
|
|
829
832
|
- **`headers[].value`** templates take `${secret}` (the whole value) or `${secret.<field>}` (a top-level
|
|
830
|
-
field of a
|
|
833
|
+
field of a `SecretValue.fields` value); a literal-only value is fine for companion headers.
|
|
831
834
|
- **`removeHeaders`** strips client-sent headers before injection; injecting a header the client also
|
|
832
835
|
sent replaces it.
|
|
833
836
|
- Synth mirrors the platform's write-time rules: header-name charset, the routing/hop-by-hop denylist
|
|
834
837
|
(`host`, `content-length`, `transfer-encoding`, `connection`, `te`, `upgrade`, any `proxy-*`), the two
|
|
835
838
|
placeholder forms, and the caps (≤ 8 header ops, ≤ 8 removals).
|
|
836
839
|
|
|
837
|
-
|
|
838
|
-
|
|
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.
|
|
840
|
+
A Secret with `hosts` must carry an `injection` recipe with at least one header: the platform refuses a
|
|
841
|
+
Secret that is presented somewhere but sets nothing.
|
|
846
842
|
|
|
847
843
|
## 7. Work with existing resources
|
|
848
844
|
|
|
@@ -1190,8 +1186,8 @@ new Trigger(factory, "slack-thread-replies", {
|
|
|
1190
1186
|
#### 3. Outbound — what the agent may say
|
|
1191
1187
|
|
|
1192
1188
|
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
|
|
1194
|
-
|
|
1189
|
+
line on the **receiving agent's environment** synthesizes a network rule over the provider's `apiHosts`; the
|
|
1190
|
+
broker presents that installation's credential on the hosts the connection covers:
|
|
1195
1191
|
|
|
1196
1192
|
```ts
|
|
1197
1193
|
const responderEnv = new Environment(factory, "responder-env", {
|
|
@@ -1202,19 +1198,18 @@ const responderEnv = new Environment(factory, "responder-env", {
|
|
|
1202
1198
|
|
|
1203
1199
|
Forget it and nothing looks wrong: synth, apply and routing all succeed, the agent runs — and then its reply
|
|
1204
1200
|
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
|
|
1206
|
-
|
|
1201
|
+
synth notices that exact shape (a connection wired inbound to an agent whose deny-by-default environment has
|
|
1202
|
+
no allow rule covering the provider's hosts) and prints:
|
|
1207
1203
|
|
|
1208
1204
|
```
|
|
1209
|
-
warning: connection 'slack' is wired inbound to agent 'codex-agent' but its environment 'codex-env' has no
|
|
1205
|
+
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
1206
|
```
|
|
1211
1207
|
|
|
1212
1208
|
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
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
environment is not in the plan, and a `Connection.fromEnv`/`fromId` binding resolves only at apply.
|
|
1209
|
+
events and answers somewhere else (or not at all) needs no outbound grant. Detection is by host coverage: a
|
|
1210
|
+
hand-written allow rule whose hosts cover the provider's api hosts counts, because a rule carries no
|
|
1211
|
+
credential and the connection presents its own. Anything synth cannot prove stays silent instead: an imported agent or
|
|
1212
|
+
environment is not in the plan, and a `Connection.fromEnv`/`fromId` reference resolves only at apply.
|
|
1218
1213
|
|
|
1219
1214
|
#### Asking a person to approve
|
|
1220
1215
|
|
|
@@ -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['
|
|
301
|
-
queryParameters['
|
|
300
|
+
if (requestParameters['teamId'] != null) {
|
|
301
|
+
queryParameters['teamId'] = requestParameters['teamId'];
|
|
302
302
|
}
|
|
303
303
|
const headerParameters = {};
|
|
304
304
|
if (requestParameters['xOrganizationId'] != null) {
|
|
@@ -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['
|
|
675
|
-
queryParameters['
|
|
674
|
+
if (requestParameters['teamId'] != null) {
|
|
675
|
+
queryParameters['teamId'] = requestParameters['teamId'];
|
|
676
676
|
}
|
|
677
677
|
const headerParameters = {};
|
|
678
678
|
if (requestParameters['xOrganizationId'] != null) {
|
|
@@ -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['
|
|
143
|
-
queryParameters['
|
|
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
|
-
|
|
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['
|
|
292
|
-
queryParameters['
|
|
291
|
+
if (requestParameters['teamId'] != null) {
|
|
292
|
+
queryParameters['teamId'] = requestParameters['teamId'];
|
|
293
293
|
}
|
|
294
294
|
const headerParameters = {};
|
|
295
295
|
if (requestParameters['xOrganizationId'] != null) {
|
|
@@ -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['
|
|
189
|
-
queryParameters['
|
|
188
|
+
if (requestParameters['teamId'] != null) {
|
|
189
|
+
queryParameters['teamId'] = requestParameters['teamId'];
|
|
190
190
|
}
|
|
191
191
|
if (requestParameters['computeProviderId'] != null) {
|
|
192
192
|
queryParameters['computeProviderId'] = requestParameters['computeProviderId'];
|
|
@@ -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['
|
|
297
|
-
queryParameters['
|
|
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];
|