@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.
- package/README.md +1 -1
- package/dist/artifacts/prelude.js +10 -1
- package/dist/cli/api/execute.js +7 -7
- package/dist/cli/core/auth.d.ts +11 -1
- package/dist/cli/core/auth.js +48 -4
- package/dist/cli/core/errors.js +4 -0
- package/dist/cli/core/platform-client.d.ts +3 -2
- 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 +5 -5
- package/dist/cli/firstRun.js +18 -17
- 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 +102 -95
- 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 +82 -67
- package/skills/orchestra-fdk/references/authoring.md +83 -45
- package/skills/orchestra-fdk/references/environment.md +214 -33
- package/skills/orchestra-fdk/references/troubleshooting.md +10 -8
- 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
|
@@ -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 `
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
|
144
|
-
rides 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
|
-
|
|
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
|
|
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
|
|
350
|
-
credential
|
|
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
|
|
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
|
|
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
|
-
|
|
386
|
-
|
|
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
|
-
|
|
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
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
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
|
|
403
|
-
|
|
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
|
-
|
|
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()) //
|
|
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
|
|
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
|
|
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 —
|
|
468
|
-
|
|
469
|
-
|
|
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
|
-
|
|
483
|
-
|
|
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,
|
|
500
|
-
|
|
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
|
|
505
|
-
*your*
|
|
506
|
-
|
|
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).
|
|
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.
|
|
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:
|
|
810
|
+
### Injection recipes: the headers a secret presents
|
|
794
811
|
|
|
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):
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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.
|
|
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
|
|
1194
|
-
|
|
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
|
|
1206
|
-
|
|
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
|
|
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
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
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
|
|
|
@@ -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];
|