@orchestraworks/cli 0.5.8 → 0.6.0
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/cli/api/approval.js +3 -3
- package/dist/cli/commands/outpost/local.js +3 -3
- package/dist/cli/commands/outpost/machine-names.d.ts +17 -0
- package/dist/cli/commands/outpost/machine-names.js +22 -0
- package/dist/cli/commands/outpost/up.js +7 -5
- package/dist/cli/commands/worker/enroll.d.ts +4 -3
- package/dist/cli/commands/worker/enroll.js +4 -3
- package/dist/cli/core/auth.d.ts +11 -1
- package/dist/cli/core/auth.js +21 -4
- package/dist/cli/core/session-body.d.ts +1 -1
- package/dist/cli/core/session-body.js +1 -1
- package/dist/cli/firstRun.js +2 -2
- package/dist/cli/main.js +4 -3
- package/dist/constructs/environment.d.ts +24 -11
- package/dist/constructs/environment.js +76 -12
- package/dist/constructs/secret.d.ts +17 -7
- package/dist/constructs/secret.js +24 -16
- package/dist/core/labels.d.ts +32 -6
- package/dist/core/labels.js +70 -8
- package/dist/engine/diff.js +38 -11
- package/dist/engine/gateway-key-reconcile.d.ts +1 -2
- package/dist/engine/gateway-key-reconcile.js +19 -15
- package/dist/engine/pipeline-reconcile.js +2 -2
- package/dist/engine/pipeline-workflow-reconcile.js +15 -9
- package/dist/engine/reconcile.js +48 -15
- package/dist/engine/refusals.d.ts +0 -5
- package/dist/engine/refusals.js +1 -5
- package/dist/engine/secrets-apply.d.ts +10 -14
- package/dist/engine/secrets-apply.js +12 -17
- package/dist/engine/workflow-reconcile.d.ts +1 -1
- package/dist/generated/cli-commands.json +170 -34
- package/dist/generated/providers.d.ts +40 -0
- package/dist/generated/providers.js +30 -0
- package/docs/REFERENCE.md +9 -7
- package/node_modules/@orchestraworks/client/dist/esm/models/ApiErrorDetail.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateEnvironmentRequest.js +3 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/CreateSecretRequest.d.ts +4 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/Environment.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/Environment.js +3 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentCredential.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentCredential.js +45 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentProvisionSpec.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentProvisionSpecRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/EnvironmentSnapshot.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/InjectionRecipe.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/InjectionRecipe.js +2 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/OAuthTokenRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/esm/models/Secret.d.ts +1 -7
- package/node_modules/@orchestraworks/client/dist/esm/models/Secret.js +0 -4
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateEnvironmentRequest.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateEnvironmentRequest.js +3 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/UpdateSecretRequest.d.ts +4 -3
- package/node_modules/@orchestraworks/client/dist/esm/models/index.d.ts +1 -0
- package/node_modules/@orchestraworks/client/dist/esm/models/index.js +1 -0
- package/node_modules/@orchestraworks/client/dist/models/ApiErrorDetail.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateEnvironmentRequest.js +3 -0
- package/node_modules/@orchestraworks/client/dist/models/CreateSecretRequest.d.ts +4 -3
- package/node_modules/@orchestraworks/client/dist/models/Environment.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/models/Environment.js +3 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentCredential.d.ts +38 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentCredential.js +52 -0
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentProvisionSpec.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentProvisionSpecRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/EnvironmentSnapshot.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/InjectionRecipe.d.ts +6 -0
- package/node_modules/@orchestraworks/client/dist/models/InjectionRecipe.js +2 -0
- package/node_modules/@orchestraworks/client/dist/models/OAuthTokenRequest.d.ts +1 -1
- package/node_modules/@orchestraworks/client/dist/models/Secret.d.ts +1 -7
- package/node_modules/@orchestraworks/client/dist/models/Secret.js +0 -4
- package/node_modules/@orchestraworks/client/dist/models/UpdateEnvironmentRequest.d.ts +7 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateEnvironmentRequest.js +3 -0
- package/node_modules/@orchestraworks/client/dist/models/UpdateSecretRequest.d.ts +4 -3
- package/node_modules/@orchestraworks/client/dist/models/index.d.ts +1 -0
- package/node_modules/@orchestraworks/client/dist/models/index.js +1 -0
- package/node_modules/@orchestraworks/client/package.json +1 -1
- package/package.json +4 -4
- package/skills/orchestra/SKILL.md +30 -14
- package/skills/orchestra-fdk/references/authoring.md +26 -20
- package/skills/orchestra-fdk/references/environment.md +49 -12
- package/skills/orchestra-fdk/references/integrations/code-repo.md +26 -5
- package/skills/orchestra-fdk/references/phases/1-discover.md +1 -1
- package/skills/orchestra-fdk/references/phases/2-plan.md +1 -1
- package/skills/orchestra-fdk/references/troubleshooting.md +3 -2
- package/templates/bug-fix/main.ts +7 -4
- package/templates/engineering-team/lib/environment.ts +6 -3
- package/templates/engineering-team/package.json +1 -1
- package/templates/todo-factory/main.ts +7 -4
- package/templates/todo-factory/package.json +1 -1
|
@@ -120,6 +120,7 @@ export * from './EmbeddedResourceResource';
|
|
|
120
120
|
export * from './EntitlementPeriodUsage';
|
|
121
121
|
export * from './EntitlementTeamUsage';
|
|
122
122
|
export * from './Environment';
|
|
123
|
+
export * from './EnvironmentCredential';
|
|
123
124
|
export * from './EnvironmentDisk';
|
|
124
125
|
export * from './EnvironmentDiskMount';
|
|
125
126
|
export * from './EnvironmentEgressPolicy';
|
|
@@ -122,6 +122,7 @@ export * from './EmbeddedResourceResource';
|
|
|
122
122
|
export * from './EntitlementPeriodUsage';
|
|
123
123
|
export * from './EntitlementTeamUsage';
|
|
124
124
|
export * from './Environment';
|
|
125
|
+
export * from './EnvironmentCredential';
|
|
125
126
|
export * from './EnvironmentDisk';
|
|
126
127
|
export * from './EnvironmentDiskMount';
|
|
127
128
|
export * from './EnvironmentEgressPolicy';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ApiErrorDetail {
|
|
18
18
|
/**
|
|
19
|
-
* Present only when `code` is CREDENTIAL_UNAVAILABLE, ORGANIZATION_AUTH_POLICY_UNSATISFIED or SSO_CALLER_SESSION_REQUIRED. Published as a plain value rather than a closed enum because the shapes that carry `reason` do not agree on one value set. When `code` is CREDENTIAL_UNAVAILABLE: Closed denial-reason class explaining why the credential chain refused — one of secret_missing, secret_expired, refresh_failed, recipe_field_missing, policy_denied,
|
|
19
|
+
* Present only when `code` is CREDENTIAL_UNAVAILABLE, ORGANIZATION_AUTH_POLICY_UNSATISFIED or SSO_CALLER_SESSION_REQUIRED. Published as a plain value rather than a closed enum because the shapes that carry `reason` do not agree on one value set. When `code` is CREDENTIAL_UNAVAILABLE: Closed denial-reason class explaining why the credential chain refused — one of secret_missing, secret_expired, refresh_failed, recipe_field_missing, policy_denied, connection_needs_attention, user_subject_required, user_grant_unavailable, conversation_not_attested, path_not_permitted, forge_credential_stale, install_declaration_invalid, provider_unavailable, internal_error, credential_not_found, use_denied, host_not_covered, machine_in_setup, credential_needs_https, plan_feature_disabled. When `code` is ORGANIZATION_AUTH_POLICY_UNSATISFIED or SSO_CALLER_SESSION_REQUIRED: Closed reason class naming the first policy check the session failed — one of ORGANIZATION_NOT_ACTIVE, SSO_ENFORCED_WITHOUT_BINDING, WRONG_IDENTITY_PROVIDER, AUTHENTICATION_METHOD_NOT_ALLOWED, MFA_REQUIRED.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ApiErrorDetail
|
|
22
22
|
*/
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { EnvironmentIngressPolicy } from './EnvironmentIngressPolicy';
|
|
13
|
+
import type { EnvironmentCredential } from './EnvironmentCredential';
|
|
13
14
|
import type { EnvironmentHooks } from './EnvironmentHooks';
|
|
14
15
|
import type { EnvironmentPlatformRequest } from './EnvironmentPlatformRequest';
|
|
15
16
|
import type { EnvironmentEgressPolicy } from './EnvironmentEgressPolicy';
|
|
@@ -50,6 +51,12 @@ export interface CreateEnvironmentRequest {
|
|
|
50
51
|
* @memberof CreateEnvironmentRequest
|
|
51
52
|
*/
|
|
52
53
|
ingressPolicy?: EnvironmentIngressPolicy | null;
|
|
54
|
+
/**
|
|
55
|
+
* The credentials this environment's machines get on a request that names none, in order: the first one covering the request's host is added, whatever the agent. Each entry is a Secret or Connection of this organization by id, and adding one needs the caller's own use of it. A request naming a credential gets that one instead. Absent declares none.
|
|
56
|
+
* @type {Array<EnvironmentCredential>}
|
|
57
|
+
* @memberof CreateEnvironmentRequest
|
|
58
|
+
*/
|
|
59
|
+
credentials?: Array<EnvironmentCredential>;
|
|
53
60
|
/**
|
|
54
61
|
* Whether the platform provisions this environment's machines (provisioned, the default) or a customer's own machine enrols into it (enrolled). Fixed at create.
|
|
55
62
|
* @type {CreateEnvironmentRequestKindEnum}
|
|
@@ -20,6 +20,7 @@ exports.CreateEnvironmentRequestFromJSONTyped = CreateEnvironmentRequestFromJSON
|
|
|
20
20
|
exports.CreateEnvironmentRequestToJSON = CreateEnvironmentRequestToJSON;
|
|
21
21
|
exports.CreateEnvironmentRequestToJSONTyped = CreateEnvironmentRequestToJSONTyped;
|
|
22
22
|
const EnvironmentIngressPolicy_1 = require("./EnvironmentIngressPolicy");
|
|
23
|
+
const EnvironmentCredential_1 = require("./EnvironmentCredential");
|
|
23
24
|
const EnvironmentHooks_1 = require("./EnvironmentHooks");
|
|
24
25
|
const EnvironmentPlatformRequest_1 = require("./EnvironmentPlatformRequest");
|
|
25
26
|
const EnvironmentEgressPolicy_1 = require("./EnvironmentEgressPolicy");
|
|
@@ -52,6 +53,7 @@ function CreateEnvironmentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
53
|
'platform': json['platform'] == null ? undefined : (0, EnvironmentPlatformRequest_1.EnvironmentPlatformRequestFromJSON)(json['platform']),
|
|
53
54
|
'egressPolicy': json['egressPolicy'] == null ? undefined : (0, EnvironmentEgressPolicy_1.EnvironmentEgressPolicyFromJSON)(json['egressPolicy']),
|
|
54
55
|
'ingressPolicy': json['ingressPolicy'] == null ? undefined : (0, EnvironmentIngressPolicy_1.EnvironmentIngressPolicyFromJSON)(json['ingressPolicy']),
|
|
56
|
+
'credentials': json['credentials'] == null ? undefined : (json['credentials'].map(EnvironmentCredential_1.EnvironmentCredentialFromJSON)),
|
|
55
57
|
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
56
58
|
'provisionSpec': json['provisionSpec'] == null ? undefined : (0, EnvironmentProvisionSpecRequest_1.EnvironmentProvisionSpecRequestFromJSON)(json['provisionSpec']),
|
|
57
59
|
'teamId': json['teamId'] == null ? undefined : json['teamId'],
|
|
@@ -73,6 +75,7 @@ function CreateEnvironmentRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
73
75
|
'platform': (0, EnvironmentPlatformRequest_1.EnvironmentPlatformRequestToJSON)(value['platform']),
|
|
74
76
|
'egressPolicy': (0, EnvironmentEgressPolicy_1.EnvironmentEgressPolicyToJSON)(value['egressPolicy']),
|
|
75
77
|
'ingressPolicy': (0, EnvironmentIngressPolicy_1.EnvironmentIngressPolicyToJSON)(value['ingressPolicy']),
|
|
78
|
+
'credentials': value['credentials'] == null ? undefined : (value['credentials'].map(EnvironmentCredential_1.EnvironmentCredentialToJSON)),
|
|
76
79
|
'kind': value['kind'],
|
|
77
80
|
'provisionSpec': (0, EnvironmentProvisionSpecRequest_1.EnvironmentProvisionSpecRequestToJSON)(value['provisionSpec']),
|
|
78
81
|
'teamId': value['teamId'],
|
|
@@ -35,7 +35,7 @@ export interface CreateSecretRequest {
|
|
|
35
35
|
*/
|
|
36
36
|
description?: string;
|
|
37
37
|
/**
|
|
38
|
-
* Secret value. This is write-only and is never returned by management APIs.
|
|
38
|
+
* Secret value. This is write-only and is never returned by management APIs. For git over HTTPS, store base64 of <user>:<token> as the value, such as the output of printf 'x-access-token:%s' "$TOKEN" | base64 | tr -d '\n' for a GitHub token, and present it as Authorization: Basic ${secret}.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof CreateSecretRequest
|
|
41
41
|
*/
|
|
@@ -53,7 +53,7 @@ export interface CreateSecretRequest {
|
|
|
53
53
|
*/
|
|
54
54
|
teamId?: string;
|
|
55
55
|
/**
|
|
56
|
-
* Optional injection recipe
|
|
56
|
+
* Optional injection recipe: the request mutations the broker applies from this secret, and the hosts it applies them on. A secret without one is stored only: the broker presents it on no request. For git over HTTPS, store base64 of <user>:<token> as the value, such as the output of printf 'x-access-token:%s' "$TOKEN" | base64 | tr -d '\n' for a GitHub token, and present it as Authorization: Basic ${secret}.
|
|
57
57
|
* @type {InjectionRecipe}
|
|
58
58
|
* @memberof CreateSecretRequest
|
|
59
59
|
*/
|
|
@@ -67,9 +67,10 @@ export interface CreateSecretRequest {
|
|
|
67
67
|
[key: string]: string;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Deprecated: write injection.hosts instead. Accepted for one release and moved into the recipe's hosts; a request whose recipe names other hosts is refused.
|
|
71
71
|
* @type {Array<string>}
|
|
72
72
|
* @memberof CreateSecretRequest
|
|
73
|
+
* @deprecated
|
|
73
74
|
*/
|
|
74
75
|
hosts?: Array<string>;
|
|
75
76
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { EnvironmentIngressPolicy } from './EnvironmentIngressPolicy';
|
|
13
13
|
import type { EnvironmentPlatformWithRuntime } from './EnvironmentPlatformWithRuntime';
|
|
14
|
+
import type { EnvironmentCredential } from './EnvironmentCredential';
|
|
14
15
|
import type { EnvironmentHooks } from './EnvironmentHooks';
|
|
15
16
|
import type { EnvironmentEgressPolicy } from './EnvironmentEgressPolicy';
|
|
16
17
|
import type { EnvironmentProvisionSpec } from './EnvironmentProvisionSpec';
|
|
@@ -68,6 +69,12 @@ export interface Environment {
|
|
|
68
69
|
* @memberof Environment
|
|
69
70
|
*/
|
|
70
71
|
ingressPolicy?: EnvironmentIngressPolicy;
|
|
72
|
+
/**
|
|
73
|
+
* The credentials this environment's machines get on a request that names none, in order: the first one covering the request's host is added, whatever the agent. Each entry is a Secret or Connection of this organization by id, and adding one needs the caller's own use of it. A request naming a credential gets that one instead.
|
|
74
|
+
* @type {Array<EnvironmentCredential>}
|
|
75
|
+
* @memberof Environment
|
|
76
|
+
*/
|
|
77
|
+
credentials?: Array<EnvironmentCredential>;
|
|
71
78
|
/**
|
|
72
79
|
* Whether the platform provisions this environment's machines (provisioned) or a customer's own machine enrols into it (enrolled). Fixed when the environment is created.
|
|
73
80
|
* @type {EnvironmentKindEnum}
|
|
@@ -21,6 +21,7 @@ exports.EnvironmentToJSON = EnvironmentToJSON;
|
|
|
21
21
|
exports.EnvironmentToJSONTyped = EnvironmentToJSONTyped;
|
|
22
22
|
const EnvironmentIngressPolicy_1 = require("./EnvironmentIngressPolicy");
|
|
23
23
|
const EnvironmentPlatformWithRuntime_1 = require("./EnvironmentPlatformWithRuntime");
|
|
24
|
+
const EnvironmentCredential_1 = require("./EnvironmentCredential");
|
|
24
25
|
const EnvironmentHooks_1 = require("./EnvironmentHooks");
|
|
25
26
|
const EnvironmentEgressPolicy_1 = require("./EnvironmentEgressPolicy");
|
|
26
27
|
const EnvironmentProvisionSpec_1 = require("./EnvironmentProvisionSpec");
|
|
@@ -73,6 +74,7 @@ function EnvironmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
74
|
'platform': (0, EnvironmentPlatformWithRuntime_1.EnvironmentPlatformWithRuntimeFromJSON)(json['platform']),
|
|
74
75
|
'egressPolicy': (0, EnvironmentEgressPolicy_1.EnvironmentEgressPolicyFromJSON)(json['egressPolicy']),
|
|
75
76
|
'ingressPolicy': json['ingressPolicy'] == null ? undefined : (0, EnvironmentIngressPolicy_1.EnvironmentIngressPolicyFromJSON)(json['ingressPolicy']),
|
|
77
|
+
'credentials': json['credentials'] == null ? undefined : (json['credentials'].map(EnvironmentCredential_1.EnvironmentCredentialFromJSON)),
|
|
76
78
|
'kind': json['kind'],
|
|
77
79
|
'provisionSpec': json['provisionSpec'] == null ? undefined : (0, EnvironmentProvisionSpec_1.EnvironmentProvisionSpecFromJSON)(json['provisionSpec']),
|
|
78
80
|
'workingDirectory': json['workingDirectory'] == null ? undefined : json['workingDirectory'],
|
|
@@ -98,6 +100,7 @@ function EnvironmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
98
100
|
'platform': (0, EnvironmentPlatformWithRuntime_1.EnvironmentPlatformWithRuntimeToJSON)(value['platform']),
|
|
99
101
|
'egressPolicy': (0, EnvironmentEgressPolicy_1.EnvironmentEgressPolicyToJSON)(value['egressPolicy']),
|
|
100
102
|
'ingressPolicy': (0, EnvironmentIngressPolicy_1.EnvironmentIngressPolicyToJSON)(value['ingressPolicy']),
|
|
103
|
+
'credentials': value['credentials'] == null ? undefined : (value['credentials'].map(EnvironmentCredential_1.EnvironmentCredentialToJSON)),
|
|
101
104
|
'provisionSpec': (0, EnvironmentProvisionSpec_1.EnvironmentProvisionSpecToJSON)(value['provisionSpec']),
|
|
102
105
|
'workingDirectory': value['workingDirectory'],
|
|
103
106
|
'hooks': (0, EnvironmentHooks_1.EnvironmentHooksToJSON)(value['hooks']),
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EnvironmentCredential
|
|
16
|
+
*/
|
|
17
|
+
export interface EnvironmentCredential {
|
|
18
|
+
/**
|
|
19
|
+
* The credential, as secret/<id> or connection/<id>
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EnvironmentCredential
|
|
22
|
+
*/
|
|
23
|
+
credential: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the credential replaces a value the request already carries in a header the credential sets. False leaves such a request as it was sent. Absent means true.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof EnvironmentCredential
|
|
28
|
+
*/
|
|
29
|
+
replace?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EnvironmentCredential interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEnvironmentCredential(value: object): value is EnvironmentCredential;
|
|
35
|
+
export declare function EnvironmentCredentialFromJSON(json: any): EnvironmentCredential;
|
|
36
|
+
export declare function EnvironmentCredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentCredential;
|
|
37
|
+
export declare function EnvironmentCredentialToJSON(json: any): EnvironmentCredential;
|
|
38
|
+
export declare function EnvironmentCredentialToJSONTyped(value?: EnvironmentCredential | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Orchestra platform API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEnvironmentCredential = instanceOfEnvironmentCredential;
|
|
17
|
+
exports.EnvironmentCredentialFromJSON = EnvironmentCredentialFromJSON;
|
|
18
|
+
exports.EnvironmentCredentialFromJSONTyped = EnvironmentCredentialFromJSONTyped;
|
|
19
|
+
exports.EnvironmentCredentialToJSON = EnvironmentCredentialToJSON;
|
|
20
|
+
exports.EnvironmentCredentialToJSONTyped = EnvironmentCredentialToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EnvironmentCredential interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEnvironmentCredential(value) {
|
|
25
|
+
if (!('credential' in value) || value['credential'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function EnvironmentCredentialFromJSON(json) {
|
|
30
|
+
return EnvironmentCredentialFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function EnvironmentCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'credential': json['credential'],
|
|
38
|
+
'replace': json['replace'] == null ? undefined : json['replace'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function EnvironmentCredentialToJSON(json) {
|
|
42
|
+
return EnvironmentCredentialToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function EnvironmentCredentialToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'credential': value['credential'],
|
|
50
|
+
'replace': value['replace'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -42,7 +42,7 @@ export interface EnvironmentProvisionSpec {
|
|
|
42
42
|
*/
|
|
43
43
|
volumeMounts: Array<EnvironmentMount>;
|
|
44
44
|
/**
|
|
45
|
-
* Environment variables set on every machine created from this environment, and forwarded into the agent process itself. NOT A SECRET STORE: values are stored unencrypted on the environment row and returned verbatim by every read of it, so anyone who can read the environment can read them. Put credentials in a Secret referenced by an egress allow rule instead - the broker injects those into the outbound request at the egress edge and the agent process never holds them. Names beginning SFDK_ or ORCHESTRA_ are platform-owned and rejected, and the platform writes its own reserved variables last, overriding anything you declare. Names beginning ORCHESTRA_FDK_, the inputs of an agent-as-code kit, are accepted in exactly that spelling as ordinary variables of your own. The other exception is six worker settings, accepted in exactly this spelling:
|
|
45
|
+
* Environment variables set on every machine created from this environment, and forwarded into the agent process itself. NOT A SECRET STORE: values are stored unencrypted on the environment row and returned verbatim by every read of it, so anyone who can read the environment can read them. Put credentials in a Secret referenced by an egress allow rule instead - the broker injects those into the outbound request at the egress edge and the agent process never holds them. Names beginning SFDK_ or ORCHESTRA_ are platform-owned and rejected, and the platform writes its own reserved variables last, overriding anything you declare. Names beginning ORCHESTRA_FDK_, the inputs of an agent-as-code kit, are accepted in exactly that spelling as ordinary variables of your own. The other exception is six worker settings, accepted in exactly this spelling: ORCHESTRA_WORKER_RESTART_AFTER_IDLE, ORCHESTRA_WORKER_RELEASE_FETCH_TIMEOUT and ORCHESTRA_WORKER_RELEASE_CHECK_INTERVAL, each a positive duration such as 30s or 5m; ORCHESTRA_WORKER_RELEASE_REGISTRY_URL, an http or https URL; and ORCHESTRA_WORKER_AUTO_UPGRADE and ORCHESTRA_WORKER_AUTO_RESTART, each exactly true or false, which turn the worker's move to a newer release and its restart into that release on or off. Their former spellings beginning SFDK_WORKER_ are refused. They reach the machine's worker, where each one set wins over the platform's release settings, and never an agent process. HOME and USERPROFILE are not among them: the platform sets neither, the account inside the image decides where the home directory is, and a HOME you declare here is passed to the harness to conform to or complain about. Declare a volume mount at /home if you want that home directory to be durable. On a Windows environment names are matched case-insensitively, the way Windows itself matches them - sfdk_x and orchestra_fdk_x are rejected reserved names there, and Home and HOME are one variable - while a POSIX environment matches names exactly. At most 64 entries; a key matches [A-Za-z_][A-Za-z0-9_]* and is at most 128 characters; a value is at most 4096 characters.
|
|
46
46
|
* @type {{ [key: string]: string; }}
|
|
47
47
|
* @memberof EnvironmentProvisionSpec
|
|
48
48
|
*/
|
package/node_modules/@orchestraworks/client/dist/models/EnvironmentProvisionSpecRequest.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export interface EnvironmentProvisionSpecRequest {
|
|
|
55
55
|
*/
|
|
56
56
|
setup?: string;
|
|
57
57
|
/**
|
|
58
|
-
* Declared environment variables; a supplied map replaces the stored one entirely, and an absent one leaves it unchanged. Environment variables set on every machine created from this environment, and forwarded into the agent process itself. NOT A SECRET STORE: values are stored unencrypted on the environment row and returned verbatim by every read of it, so anyone who can read the environment can read them. Put credentials in a Secret referenced by an egress allow rule instead - the broker injects those into the outbound request at the egress edge and the agent process never holds them. Names beginning SFDK_ or ORCHESTRA_ are platform-owned and rejected, and the platform writes its own reserved variables last, overriding anything you declare. Names beginning ORCHESTRA_FDK_, the inputs of an agent-as-code kit, are accepted in exactly that spelling as ordinary variables of your own. The other exception is six worker settings, accepted in exactly this spelling:
|
|
58
|
+
* Declared environment variables; a supplied map replaces the stored one entirely, and an absent one leaves it unchanged. Environment variables set on every machine created from this environment, and forwarded into the agent process itself. NOT A SECRET STORE: values are stored unencrypted on the environment row and returned verbatim by every read of it, so anyone who can read the environment can read them. Put credentials in a Secret referenced by an egress allow rule instead - the broker injects those into the outbound request at the egress edge and the agent process never holds them. Names beginning SFDK_ or ORCHESTRA_ are platform-owned and rejected, and the platform writes its own reserved variables last, overriding anything you declare. Names beginning ORCHESTRA_FDK_, the inputs of an agent-as-code kit, are accepted in exactly that spelling as ordinary variables of your own. The other exception is six worker settings, accepted in exactly this spelling: ORCHESTRA_WORKER_RESTART_AFTER_IDLE, ORCHESTRA_WORKER_RELEASE_FETCH_TIMEOUT and ORCHESTRA_WORKER_RELEASE_CHECK_INTERVAL, each a positive duration such as 30s or 5m; ORCHESTRA_WORKER_RELEASE_REGISTRY_URL, an http or https URL; and ORCHESTRA_WORKER_AUTO_UPGRADE and ORCHESTRA_WORKER_AUTO_RESTART, each exactly true or false, which turn the worker's move to a newer release and its restart into that release on or off. Their former spellings beginning SFDK_WORKER_ are refused. They reach the machine's worker, where each one set wins over the platform's release settings, and never an agent process. HOME and USERPROFILE are not among them: the platform sets neither, the account inside the image decides where the home directory is, and a HOME you declare here is passed to the harness to conform to or complain about. Declare a volume mount at /home if you want that home directory to be durable. On a Windows environment names are matched case-insensitively, the way Windows itself matches them - sfdk_x and orchestra_fdk_x are rejected reserved names there, and Home and HOME are one variable - while a POSIX environment matches names exactly. At most 64 entries; a key matches [A-Za-z_][A-Za-z0-9_]* and is at most 128 characters; a value is at most 4096 characters.
|
|
59
59
|
* @type {{ [key: string]: string; }}
|
|
60
60
|
* @memberof EnvironmentProvisionSpecRequest
|
|
61
61
|
*/
|
|
@@ -107,7 +107,7 @@ export interface EnvironmentSnapshot {
|
|
|
107
107
|
*/
|
|
108
108
|
setup?: string;
|
|
109
109
|
/**
|
|
110
|
-
* Environment variables set on every machine created from this environment, and forwarded into the agent process itself. NOT A SECRET STORE: values are stored unencrypted on the environment row and returned verbatim by every read of it, so anyone who can read the environment can read them. Put credentials in a Secret referenced by an egress allow rule instead - the broker injects those into the outbound request at the egress edge and the agent process never holds them. Names beginning SFDK_ or ORCHESTRA_ are platform-owned and rejected, and the platform writes its own reserved variables last, overriding anything you declare. Names beginning ORCHESTRA_FDK_, the inputs of an agent-as-code kit, are accepted in exactly that spelling as ordinary variables of your own. The other exception is six worker settings, accepted in exactly this spelling:
|
|
110
|
+
* Environment variables set on every machine created from this environment, and forwarded into the agent process itself. NOT A SECRET STORE: values are stored unencrypted on the environment row and returned verbatim by every read of it, so anyone who can read the environment can read them. Put credentials in a Secret referenced by an egress allow rule instead - the broker injects those into the outbound request at the egress edge and the agent process never holds them. Names beginning SFDK_ or ORCHESTRA_ are platform-owned and rejected, and the platform writes its own reserved variables last, overriding anything you declare. Names beginning ORCHESTRA_FDK_, the inputs of an agent-as-code kit, are accepted in exactly that spelling as ordinary variables of your own. The other exception is six worker settings, accepted in exactly this spelling: ORCHESTRA_WORKER_RESTART_AFTER_IDLE, ORCHESTRA_WORKER_RELEASE_FETCH_TIMEOUT and ORCHESTRA_WORKER_RELEASE_CHECK_INTERVAL, each a positive duration such as 30s or 5m; ORCHESTRA_WORKER_RELEASE_REGISTRY_URL, an http or https URL; and ORCHESTRA_WORKER_AUTO_UPGRADE and ORCHESTRA_WORKER_AUTO_RESTART, each exactly true or false, which turn the worker's move to a newer release and its restart into that release on or off. Their former spellings beginning SFDK_WORKER_ are refused. They reach the machine's worker, where each one set wins over the platform's release settings, and never an agent process. HOME and USERPROFILE are not among them: the platform sets neither, the account inside the image decides where the home directory is, and a HOME you declare here is passed to the harness to conform to or complain about. Declare a volume mount at /home if you want that home directory to be durable. On a Windows environment names are matched case-insensitively, the way Windows itself matches them - sfdk_x and orchestra_fdk_x are rejected reserved names there, and Home and HOME are one variable - while a POSIX environment matches names exactly. At most 64 entries; a key matches [A-Za-z_][A-Za-z0-9_]* and is at most 128 characters; a value is at most 4096 characters.
|
|
111
111
|
* @type {{ [key: string]: string; }}
|
|
112
112
|
* @memberof EnvironmentSnapshot
|
|
113
113
|
*/
|
|
@@ -28,6 +28,12 @@ export interface InjectionRecipe {
|
|
|
28
28
|
* @memberof InjectionRecipe
|
|
29
29
|
*/
|
|
30
30
|
removeHeaders: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Host patterns this secret is presented on, in egress rule host syntax (exact host, *.suffix, or *); empty or omitted covers no host. A non-empty list needs at least one header, and no pattern may name the platform API host or the object store host.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof InjectionRecipe
|
|
35
|
+
*/
|
|
36
|
+
hosts?: Array<string>;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
39
|
* Check if a given object implements the InjectionRecipe interface.
|
|
@@ -37,6 +37,7 @@ function InjectionRecipeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
return {
|
|
38
38
|
'headers': json['headers'] == null ? undefined : (json['headers'].map(InjectionHeader_1.InjectionHeaderFromJSON)),
|
|
39
39
|
'removeHeaders': json['removeHeaders'],
|
|
40
|
+
'hosts': json['hosts'] == null ? undefined : json['hosts'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
function InjectionRecipeToJSON(json) {
|
|
@@ -49,5 +50,6 @@ function InjectionRecipeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
50
|
return {
|
|
50
51
|
'headers': value['headers'] == null ? undefined : (value['headers'].map(InjectionHeader_1.InjectionHeaderToJSON)),
|
|
51
52
|
'removeHeaders': value['removeHeaders'],
|
|
53
|
+
'hosts': value['hosts'],
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -80,17 +80,11 @@ export interface Secret {
|
|
|
80
80
|
*/
|
|
81
81
|
expiresAt?: Date;
|
|
82
82
|
/**
|
|
83
|
-
* Optional injection recipe
|
|
83
|
+
* Optional injection recipe: the request mutations the broker applies from this secret, and the hosts it applies them on. A secret without one is stored only: the broker presents it on no request. For git over HTTPS, store base64 of <user>:<token> as the value, such as the output of printf 'x-access-token:%s' "$TOKEN" | base64 | tr -d '\n' for a GitHub token, and present it as Authorization: Basic ${secret}.
|
|
84
84
|
* @type {InjectionRecipe}
|
|
85
85
|
* @memberof Secret
|
|
86
86
|
*/
|
|
87
87
|
injection?: InjectionRecipe;
|
|
88
|
-
/**
|
|
89
|
-
* Host patterns this secret is presented on, in egress rule host syntax (exact host, *.suffix, or *); empty covers no host
|
|
90
|
-
* @type {Array<string>}
|
|
91
|
-
* @memberof Secret
|
|
92
|
-
*/
|
|
93
|
-
hosts: Array<string>;
|
|
94
88
|
/**
|
|
95
89
|
* The agents you can see that may use this secret, as IAM decides at this read. Present on the singular read only; a list row leaves it out.
|
|
96
90
|
* @type {Array<Agent>}
|
|
@@ -40,8 +40,6 @@ function instanceOfSecret(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
-
if (!('hosts' in value) || value['hosts'] === undefined)
|
|
44
|
-
return false;
|
|
45
43
|
return true;
|
|
46
44
|
}
|
|
47
45
|
function SecretFromJSON(json) {
|
|
@@ -63,7 +61,6 @@ function SecretFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
61
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
64
62
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
65
63
|
'injection': json['injection'] == null ? undefined : (0, InjectionRecipe_1.InjectionRecipeFromJSON)(json['injection']),
|
|
66
|
-
'hosts': json['hosts'],
|
|
67
64
|
'usableBy': json['usableBy'] == null ? undefined : (json['usableBy'].map(Agent_1.AgentFromJSON)),
|
|
68
65
|
};
|
|
69
66
|
}
|
|
@@ -86,6 +83,5 @@ function SecretToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
86
83
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
87
84
|
'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
88
85
|
'injection': (0, InjectionRecipe_1.InjectionRecipeToJSON)(value['injection']),
|
|
89
|
-
'hosts': value['hosts'],
|
|
90
86
|
};
|
|
91
87
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { EnvironmentIngressPolicy } from './EnvironmentIngressPolicy';
|
|
13
|
+
import type { EnvironmentCredential } from './EnvironmentCredential';
|
|
13
14
|
import type { EnvironmentPlatformRequest } from './EnvironmentPlatformRequest';
|
|
14
15
|
import type { EnvironmentEgressPolicy } from './EnvironmentEgressPolicy';
|
|
15
16
|
import type { EnvironmentProvisionSpecRequest } from './EnvironmentProvisionSpecRequest';
|
|
@@ -44,6 +45,12 @@ export interface UpdateEnvironmentRequest {
|
|
|
44
45
|
* @memberof UpdateEnvironmentRequest
|
|
45
46
|
*/
|
|
46
47
|
ingressPolicy?: EnvironmentIngressPolicy | null;
|
|
48
|
+
/**
|
|
49
|
+
* The credentials this environment's machines get on a request that names none, in order: the first one covering the request's host is added, whatever the agent. Each entry is a Secret or Connection of this organization by id, and adding one needs the caller's own use of it. A request naming a credential gets that one instead. A provided list replaces the stored one, and absent leaves it.
|
|
50
|
+
* @type {Array<EnvironmentCredential>}
|
|
51
|
+
* @memberof UpdateEnvironmentRequest
|
|
52
|
+
*/
|
|
53
|
+
credentials?: Array<EnvironmentCredential>;
|
|
47
54
|
/**
|
|
48
55
|
* The launch spec — every fact that applies only when the platform controls the machine. Rejected on an enrolled environment, whose machine the platform never launches.
|
|
49
56
|
* @type {EnvironmentProvisionSpecRequest}
|
|
@@ -19,6 +19,7 @@ exports.UpdateEnvironmentRequestFromJSONTyped = UpdateEnvironmentRequestFromJSON
|
|
|
19
19
|
exports.UpdateEnvironmentRequestToJSON = UpdateEnvironmentRequestToJSON;
|
|
20
20
|
exports.UpdateEnvironmentRequestToJSONTyped = UpdateEnvironmentRequestToJSONTyped;
|
|
21
21
|
const EnvironmentIngressPolicy_1 = require("./EnvironmentIngressPolicy");
|
|
22
|
+
const EnvironmentCredential_1 = require("./EnvironmentCredential");
|
|
22
23
|
const EnvironmentPlatformRequest_1 = require("./EnvironmentPlatformRequest");
|
|
23
24
|
const EnvironmentEgressPolicy_1 = require("./EnvironmentEgressPolicy");
|
|
24
25
|
const EnvironmentProvisionSpecRequest_1 = require("./EnvironmentProvisionSpecRequest");
|
|
@@ -41,6 +42,7 @@ function UpdateEnvironmentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
'platform': json['platform'] == null ? undefined : (0, EnvironmentPlatformRequest_1.EnvironmentPlatformRequestFromJSON)(json['platform']),
|
|
42
43
|
'egressPolicy': json['egressPolicy'] == null ? undefined : (0, EnvironmentEgressPolicy_1.EnvironmentEgressPolicyFromJSON)(json['egressPolicy']),
|
|
43
44
|
'ingressPolicy': json['ingressPolicy'] == null ? undefined : (0, EnvironmentIngressPolicy_1.EnvironmentIngressPolicyFromJSON)(json['ingressPolicy']),
|
|
45
|
+
'credentials': json['credentials'] == null ? undefined : (json['credentials'].map(EnvironmentCredential_1.EnvironmentCredentialFromJSON)),
|
|
44
46
|
'provisionSpec': json['provisionSpec'] == null ? undefined : (0, EnvironmentProvisionSpecRequest_1.EnvironmentProvisionSpecRequestFromJSON)(json['provisionSpec']),
|
|
45
47
|
'workingDirectory': json['workingDirectory'] == null ? undefined : json['workingDirectory'],
|
|
46
48
|
'hooks': json['hooks'] == null ? undefined : (0, EnvironmentHooksRequest_1.EnvironmentHooksRequestFromJSON)(json['hooks']),
|
|
@@ -59,6 +61,7 @@ function UpdateEnvironmentRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
59
61
|
'platform': (0, EnvironmentPlatformRequest_1.EnvironmentPlatformRequestToJSON)(value['platform']),
|
|
60
62
|
'egressPolicy': (0, EnvironmentEgressPolicy_1.EnvironmentEgressPolicyToJSON)(value['egressPolicy']),
|
|
61
63
|
'ingressPolicy': (0, EnvironmentIngressPolicy_1.EnvironmentIngressPolicyToJSON)(value['ingressPolicy']),
|
|
64
|
+
'credentials': value['credentials'] == null ? undefined : (value['credentials'].map(EnvironmentCredential_1.EnvironmentCredentialToJSON)),
|
|
62
65
|
'provisionSpec': (0, EnvironmentProvisionSpecRequest_1.EnvironmentProvisionSpecRequestToJSON)(value['provisionSpec']),
|
|
63
66
|
'workingDirectory': value['workingDirectory'],
|
|
64
67
|
'hooks': (0, EnvironmentHooksRequest_1.EnvironmentHooksRequestToJSON)(value['hooks']),
|
|
@@ -29,7 +29,7 @@ export interface UpdateSecretRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
description?: string;
|
|
31
31
|
/**
|
|
32
|
-
* Secret value. This is write-only and is never returned by management APIs.
|
|
32
|
+
* Secret value. This is write-only and is never returned by management APIs. For git over HTTPS, store base64 of <user>:<token> as the value, such as the output of printf 'x-access-token:%s' "$TOKEN" | base64 | tr -d '\n' for a GitHub token, and present it as Authorization: Basic ${secret}.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof UpdateSecretRequest
|
|
35
35
|
*/
|
|
@@ -41,7 +41,7 @@ export interface UpdateSecretRequest {
|
|
|
41
41
|
*/
|
|
42
42
|
expiresAt?: Date;
|
|
43
43
|
/**
|
|
44
|
-
* Injection recipe update: absent = unchanged, null = clear the recipe, value = replace it
|
|
44
|
+
* Injection recipe update: absent = unchanged, null = clear the recipe and its hosts, leaving the secret stored only, value = replace the recipe and its hosts. Optional injection recipe: the request mutations the broker applies from this secret, and the hosts it applies them on. A secret without one is stored only: the broker presents it on no request. For git over HTTPS, store base64 of <user>:<token> as the value, such as the output of printf 'x-access-token:%s' "$TOKEN" | base64 | tr -d '\n' for a GitHub token, and present it as Authorization: Basic ${secret}.
|
|
45
45
|
* @type {InjectionRecipe}
|
|
46
46
|
* @memberof UpdateSecretRequest
|
|
47
47
|
*/
|
|
@@ -55,9 +55,10 @@ export interface UpdateSecretRequest {
|
|
|
55
55
|
[key: string]: string | null;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Deprecated: write injection.hosts instead. Accepted for one release and moved into the recipe's hosts; a request whose recipe names other hosts is refused. Absent leaves the recipe's hosts unchanged; a list replaces them.
|
|
59
59
|
* @type {Array<string>}
|
|
60
60
|
* @memberof UpdateSecretRequest
|
|
61
|
+
* @deprecated
|
|
61
62
|
*/
|
|
62
63
|
hosts?: Array<string>;
|
|
63
64
|
}
|
|
@@ -120,6 +120,7 @@ export * from './EmbeddedResourceResource';
|
|
|
120
120
|
export * from './EntitlementPeriodUsage';
|
|
121
121
|
export * from './EntitlementTeamUsage';
|
|
122
122
|
export * from './Environment';
|
|
123
|
+
export * from './EnvironmentCredential';
|
|
123
124
|
export * from './EnvironmentDisk';
|
|
124
125
|
export * from './EnvironmentDiskMount';
|
|
125
126
|
export * from './EnvironmentEgressPolicy';
|
|
@@ -138,6 +138,7 @@ __exportStar(require("./EmbeddedResourceResource"), exports);
|
|
|
138
138
|
__exportStar(require("./EntitlementPeriodUsage"), exports);
|
|
139
139
|
__exportStar(require("./EntitlementTeamUsage"), exports);
|
|
140
140
|
__exportStar(require("./Environment"), exports);
|
|
141
|
+
__exportStar(require("./EnvironmentCredential"), exports);
|
|
141
142
|
__exportStar(require("./EnvironmentDisk"), exports);
|
|
142
143
|
__exportStar(require("./EnvironmentDiskMount"), exports);
|
|
143
144
|
__exportStar(require("./EnvironmentEgressPolicy"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orchestraworks/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The Orchestra command line.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -109,13 +109,13 @@
|
|
|
109
109
|
},
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"@agentclientprotocol/sdk": "1.3.0",
|
|
112
|
-
"@orchestraworks/client": "0.
|
|
113
|
-
"@orchestraworks/worker": "0.0.
|
|
112
|
+
"@orchestraworks/client": "0.6.0",
|
|
113
|
+
"@orchestraworks/worker": "0.0.142",
|
|
114
114
|
"commander": "^14.0.0",
|
|
115
115
|
"liquidjs": "^10.28.0"
|
|
116
116
|
},
|
|
117
117
|
"optionalDependencies": {
|
|
118
|
-
"@orchestraworks/local": "0.0.
|
|
118
|
+
"@orchestraworks/local": "0.0.142"
|
|
119
119
|
},
|
|
120
120
|
"bundleDependencies": [
|
|
121
121
|
"@orchestraworks/client"
|