@scarn/sdk 0.8.20 → 0.8.21
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/dist/auth/api-token-cache.d.ts +24 -0
- package/dist/auth/api-token-source.d.ts +39 -0
- package/dist/auth/authenticated-fetch.d.ts +10 -0
- package/dist/auth/index.d.ts +3 -0
- package/dist/auth/index.js +20 -0
- package/dist/automations/index.js +4 -4
- package/dist/{chunk-pqtd0hr7.js → chunk-08gcnrzh.js} +2 -2
- package/dist/{chunk-g4j5cfpc.js → chunk-0he2dx5n.js} +5 -5
- package/dist/{chunk-z4smq8qd.js → chunk-59arcerk.js} +1 -1
- package/dist/{chunk-46wmsgv7.js → chunk-5say64w8.js} +1 -1
- package/dist/{chunk-habmdf89.js → chunk-6p340dd4.js} +1 -1
- package/dist/{chunk-19brnwkp.js → chunk-8hsk6f6b.js} +1 -1
- package/dist/{chunk-098740f7.js → chunk-8kzaxz52.js} +1 -1
- package/dist/{chunk-n3ywwx7n.js → chunk-8tmsvkmj.js} +5 -5
- package/dist/{chunk-e0pt5x0e.js → chunk-aph2js2v.js} +5 -5
- package/dist/chunk-azss2d1n.js +1036 -0
- package/dist/{chunk-t1dq2c2s.js → chunk-gasw078g.js} +5 -5
- package/dist/{chunk-0c60x3v8.js → chunk-h1v6w1fh.js} +5 -5
- package/dist/{chunk-tr3v83cn.js → chunk-k57h6qke.js} +8 -5
- package/dist/{chunk-aemxz9r7.js → chunk-mrzn5tq4.js} +1 -1
- package/dist/{chunk-qgkx89eg.js → chunk-nkm31g10.js} +3 -3
- package/dist/{chunk-yq0sf8sb.js → chunk-p74r4y6j.js} +13 -13
- package/dist/{chunk-a56zc4s5.js → chunk-pwyj6qf3.js} +2 -2
- package/dist/{chunk-b9ja6ss5.js → chunk-qt81x1pm.js} +1 -1
- package/dist/{chunk-mzj1j0p5.js → chunk-r3sbp2wn.js} +3 -3
- package/dist/{chunk-rphfy0fj.js → chunk-vsp708vw.js} +1 -1
- package/dist/{chunk-yf15kdte.js → chunk-xhpp6qz8.js} +96 -96
- package/dist/{chunk-y34zsgsw.js → chunk-y7ac1t9c.js} +1 -1
- package/dist/{chunk-rq5k7m33.js → chunk-y81cr6tp.js} +28 -14
- package/dist/{chunk-91f5gm5z.js → chunk-zxzvketc.js} +5 -5
- package/dist/client.d.ts +5 -1
- package/dist/client.js +2 -2
- package/dist/connectors/index.js +4 -4
- package/dist/contracts/artifacts.js +2 -2
- package/dist/contracts/automation-document/index.js +3 -3
- package/dist/contracts/pipeline-document/index.js +2 -2
- package/dist/contracts/step-artifact-submissions.js +2 -2
- package/dist/contracts/work-item-changes.js +1 -1
- package/dist/create-api-client.d.ts +11 -0
- package/dist/defaults/index.js +32 -871
- package/dist/defaults/load-push-defaults.d.ts +11 -4
- package/dist/defaults/project-ref.d.ts +2 -4
- package/dist/definitions/automations/automations-client.d.ts +2 -1
- package/dist/definitions/automations/index.js +3 -3
- package/dist/definitions/environments/environments-client.d.ts +2 -1
- package/dist/definitions/environments/index.js +10 -10
- package/dist/definitions/pipelines/index.js +3 -3
- package/dist/definitions/pipelines/pipeline-definitions-client.d.ts +2 -1
- package/dist/definitions/steps/index.js +13 -13
- package/dist/definitions/steps/step-definitions-client.d.ts +2 -1
- package/dist/definitions/validation/index.js +10 -10
- package/dist/devcontainer-config-path.js +2 -2
- package/dist/env-vars.js +2 -2
- package/dist/environment.js +7 -7
- package/dist/health-checks.js +2 -2
- package/dist/index.js +20 -20
- package/dist/managed-runtimes.js +2 -2
- package/dist/opencode-mcp.js +3 -3
- package/dist/pipelines/index.js +3 -3
- package/dist/push/index.js +42 -41
- package/dist/push/push-from-directory.d.ts +6 -1
- package/dist/repo-config.js +2 -2
- package/dist/resolve-environment.js +8 -8
- package/dist/task-plane-client.d.ts +6 -0
- package/package.json +6 -2
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { type FetchLike } from "../auth";
|
|
1
2
|
export interface PushDefaults {
|
|
2
3
|
baseUrl: string;
|
|
3
4
|
projectId: string | undefined;
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Authenticates requests to `baseUrl` with API tokens minted from the
|
|
7
|
+
* session token; undefined when there is no session token.
|
|
8
|
+
*/
|
|
9
|
+
fetch: FetchLike | undefined;
|
|
5
10
|
}
|
|
6
11
|
export interface LoadPushDefaultsOptions {
|
|
7
12
|
/**
|
|
@@ -13,12 +18,14 @@ export interface LoadPushDefaultsOptions {
|
|
|
13
18
|
/**
|
|
14
19
|
* Reads the conventional defaults for a `scarn pipelines push` run:
|
|
15
20
|
* - `baseUrl`: from `SCARN_BASE_URL` env var or the built-in default.
|
|
16
|
-
* - `
|
|
17
|
-
* profile for the resolved
|
|
21
|
+
* - `fetch`: authenticated with the session token from the
|
|
22
|
+
* `SCARN_ACCESS_TOKEN` env var or the saved auth profile for the resolved
|
|
23
|
+
* `baseUrl`. It mints short-lived API tokens from that session token,
|
|
24
|
+
* sharing `~/.scarn/api-tokens.jsonc` with the CLI.
|
|
18
25
|
* - `projectId`: from `SCARN_PROJECT_ID` env var (a project id, which
|
|
19
26
|
* `scarn pipelines push` sets after resolving the ref), or else the
|
|
20
27
|
* `"project"` ref in the nearest ancestor `.scarn/scarn.jsonc` of
|
|
21
|
-
* `opts.dir`, resolved against the server. Resolution needs
|
|
28
|
+
* `opts.dir`, resolved against the server. Resolution needs a session token;
|
|
22
29
|
* without one `projectId` is left undefined. A ref the server rejects throws
|
|
23
30
|
* a `ProjectRefError` naming the ref.
|
|
24
31
|
*/
|
|
@@ -14,10 +14,8 @@ export declare class ProjectRefError extends Error {
|
|
|
14
14
|
readonly ref: string;
|
|
15
15
|
constructor(kind: ProjectRefErrorKind, ref: string, message: string);
|
|
16
16
|
}
|
|
17
|
+
/** `client` authenticates its own requests (see `createScarnClient`'s `fetch`). */
|
|
17
18
|
export interface ResolveProjectRefOptions {
|
|
18
|
-
headers: {
|
|
19
|
-
Authorization: string;
|
|
20
|
-
};
|
|
21
19
|
/**
|
|
22
20
|
* What the caller is about to do, phrased to complete "You don't have
|
|
23
21
|
* permission to …" — e.g. `"push pipelines to"`, `"run work for"`.
|
|
@@ -31,4 +29,4 @@ export declare const PROJECT_REF_FORMAT_HINT = "Expected \"<owner>/<project-slug
|
|
|
31
29
|
* `GET /api/projects/resolve`. Every command that takes a project calls this
|
|
32
30
|
* once, up front, and passes the id downstream.
|
|
33
31
|
*/
|
|
34
|
-
export declare function resolveProjectRef(client: ScarnClient, ref: string, {
|
|
32
|
+
export declare function resolveProjectRef(client: ScarnClient, ref: string, { action }?: ResolveProjectRefOptions): Promise<ResolvedProjectRef>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { ScarnClientOptions } from "../../client";
|
|
2
3
|
import { Automations } from "../../generated/sdk.gen";
|
|
3
4
|
import type { PutApiProjectsByProjectIdAutomationsByKeyResponses } from "../../generated/types.gen";
|
|
4
5
|
type RequestOptions = {
|
|
@@ -31,7 +32,7 @@ export declare class AutomationsApiError extends Error {
|
|
|
31
32
|
readonly issues: readonly AutomationDocumentIssue[];
|
|
32
33
|
constructor(error: ApiError);
|
|
33
34
|
}
|
|
34
|
-
export declare function createAutomationsClient(baseUrl: string): ReturnType<typeof buildAutomationsClient>;
|
|
35
|
+
export declare function createAutomationsClient(baseUrl: string, options?: ScarnClientOptions): ReturnType<typeof buildAutomationsClient>;
|
|
35
36
|
declare const buildAutomationsClient: (automations: Automations) => {
|
|
36
37
|
listByProjectId: (projectId: string, options?: RequestOptions) => Promise<{
|
|
37
38
|
id: string;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AutomationsApiError,
|
|
4
4
|
createAutomationsClient
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import"../../chunk-
|
|
7
|
-
import"../../chunk-
|
|
5
|
+
} from "../../chunk-0he2dx5n.js";
|
|
6
|
+
import"../../chunk-y81cr6tp.js";
|
|
7
|
+
import"../../chunk-xhpp6qz8.js";
|
|
8
8
|
import"../../chunk-y64skrwp.js";
|
|
9
9
|
export {
|
|
10
10
|
AutomationsApiError,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { ScarnClientOptions } from "../../client";
|
|
2
3
|
import { Environments } from "../../generated/sdk.gen";
|
|
3
4
|
import type { GetApiProjectsByProjectIdEnvironmentsByNameResponses, GetApiProjectsByProjectIdEnvironmentsResponses, PutApiProjectsByProjectIdEnvironmentsByNameData, PutApiProjectsByProjectIdEnvironmentsByNameResponses } from "../../generated/types.gen";
|
|
4
5
|
type RequestOptions = {
|
|
@@ -32,7 +33,7 @@ export declare class EnvironmentsApiError extends Error {
|
|
|
32
33
|
constructor(error: ApiError);
|
|
33
34
|
}
|
|
34
35
|
export type EnvironmentsClient = ReturnType<typeof buildEnvironmentsClient>;
|
|
35
|
-
export declare function createEnvironmentsClient(baseUrl: string): EnvironmentsClient;
|
|
36
|
+
export declare function createEnvironmentsClient(baseUrl: string, options?: ScarnClientOptions): EnvironmentsClient;
|
|
36
37
|
declare const buildEnvironmentsClient: (environments: Environments) => {
|
|
37
38
|
listByProjectId: (projectId: string, options?: RequestOptions) => Promise<EnvironmentSummary[]>;
|
|
38
39
|
/** The latest version's content, or version `options.version` when given. */
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
import {
|
|
3
3
|
EnvironmentsApiError,
|
|
4
4
|
createEnvironmentsClient
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-8tmsvkmj.js";
|
|
6
6
|
import {
|
|
7
7
|
Env,
|
|
8
8
|
Runtime,
|
|
9
9
|
assertNoSetupVarsOnHost,
|
|
10
10
|
compileConnectors,
|
|
11
11
|
normalizeEnv
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-gasw078g.js";
|
|
13
13
|
import {
|
|
14
14
|
isEnvironmentHandle
|
|
15
15
|
} from "../../chunk-6tra3gw8.js";
|
|
16
16
|
import {
|
|
17
17
|
environmentContentSchema,
|
|
18
18
|
environmentNameSchema
|
|
19
|
-
} from "../../chunk-
|
|
20
|
-
import"../../chunk-
|
|
21
|
-
import"../../chunk-
|
|
19
|
+
} from "../../chunk-aph2js2v.js";
|
|
20
|
+
import"../../chunk-8kzaxz52.js";
|
|
21
|
+
import"../../chunk-5say64w8.js";
|
|
22
22
|
import {
|
|
23
23
|
findMissingConnectorVars
|
|
24
|
-
} from "../../chunk-
|
|
25
|
-
import"../../chunk-
|
|
24
|
+
} from "../../chunk-nkm31g10.js";
|
|
25
|
+
import"../../chunk-08gcnrzh.js";
|
|
26
26
|
import {
|
|
27
27
|
containsInputToken
|
|
28
|
-
} from "../../chunk-
|
|
29
|
-
import"../../chunk-
|
|
30
|
-
import"../../chunk-
|
|
28
|
+
} from "../../chunk-mrzn5tq4.js";
|
|
29
|
+
import"../../chunk-y81cr6tp.js";
|
|
30
|
+
import"../../chunk-xhpp6qz8.js";
|
|
31
31
|
import"../../chunk-y64skrwp.js";
|
|
32
32
|
|
|
33
33
|
// src/definitions/environments/define-environment.ts
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
WORK_ITEM_TOP_LEVEL_FIELDS,
|
|
6
6
|
createPipelineDefinitionsClient,
|
|
7
7
|
resolveWorkItemFieldPath
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import"../../chunk-
|
|
10
|
-
import"../../chunk-
|
|
8
|
+
} from "../../chunk-zxzvketc.js";
|
|
9
|
+
import"../../chunk-y81cr6tp.js";
|
|
10
|
+
import"../../chunk-xhpp6qz8.js";
|
|
11
11
|
import"../../chunk-y64skrwp.js";
|
|
12
12
|
export {
|
|
13
13
|
PipelineDefinitionsApiError,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { ScarnClientOptions } from "../../client";
|
|
2
3
|
import { PipelineDefinitions } from "../../generated/sdk.gen";
|
|
3
4
|
import type { PostApiPipelineDefinitionsByPipelineDefinitionIdVersionsResponses, PostApiPipelineDefinitionsResponses } from "../../generated/types.gen";
|
|
4
5
|
type RequestOptions = {
|
|
@@ -31,7 +32,7 @@ export declare class PipelineDefinitionsApiError extends Error {
|
|
|
31
32
|
readonly issues: readonly PipelineDocumentIssue[];
|
|
32
33
|
constructor(error: ApiError);
|
|
33
34
|
}
|
|
34
|
-
export declare function createPipelineDefinitionsClient(baseUrl: string): ReturnType<typeof buildPipelineDefinitionsClient>;
|
|
35
|
+
export declare function createPipelineDefinitionsClient(baseUrl: string, options?: ScarnClientOptions): ReturnType<typeof buildPipelineDefinitionsClient>;
|
|
35
36
|
declare const buildPipelineDefinitionsClient: (pipelineDefinitions: PipelineDefinitions) => {
|
|
36
37
|
listByProjectId: (projectId: string, options?: RequestOptions) => Promise<{
|
|
37
38
|
id: string;
|
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
stepEnvironmentHandle,
|
|
29
29
|
toStepHandle,
|
|
30
30
|
toStepSpec
|
|
31
|
-
} from "../../chunk-
|
|
32
|
-
import"../../chunk-
|
|
31
|
+
} from "../../chunk-p74r4y6j.js";
|
|
32
|
+
import"../../chunk-y7ac1t9c.js";
|
|
33
33
|
import {
|
|
34
34
|
Env,
|
|
35
35
|
Runtime,
|
|
@@ -42,22 +42,22 @@ import {
|
|
|
42
42
|
knownEnvironmentVars,
|
|
43
43
|
normalizeEnv,
|
|
44
44
|
renderPromptTemplate
|
|
45
|
-
} from "../../chunk-
|
|
45
|
+
} from "../../chunk-gasw078g.js";
|
|
46
46
|
import"../../chunk-6tra3gw8.js";
|
|
47
47
|
import"../../chunk-xqfj56m9.js";
|
|
48
48
|
import"../../chunk-y11p1q7r.js";
|
|
49
|
-
import"../../chunk-
|
|
50
|
-
import"../../chunk-
|
|
51
|
-
import"../../chunk-
|
|
52
|
-
import"../../chunk-
|
|
53
|
-
import"../../chunk-
|
|
54
|
-
import"../../chunk-
|
|
55
|
-
import"../../chunk-
|
|
56
|
-
import"../../chunk-
|
|
49
|
+
import"../../chunk-vsp708vw.js";
|
|
50
|
+
import"../../chunk-aph2js2v.js";
|
|
51
|
+
import"../../chunk-8kzaxz52.js";
|
|
52
|
+
import"../../chunk-5say64w8.js";
|
|
53
|
+
import"../../chunk-nkm31g10.js";
|
|
54
|
+
import"../../chunk-08gcnrzh.js";
|
|
55
|
+
import"../../chunk-mrzn5tq4.js";
|
|
56
|
+
import"../../chunk-y81cr6tp.js";
|
|
57
57
|
import"../../chunk-ngy1fdcx.js";
|
|
58
|
-
import"../../chunk-
|
|
58
|
+
import"../../chunk-8hsk6f6b.js";
|
|
59
59
|
import"../../chunk-01nfqm18.js";
|
|
60
|
-
import"../../chunk-
|
|
60
|
+
import"../../chunk-xhpp6qz8.js";
|
|
61
61
|
import"../../chunk-y64skrwp.js";
|
|
62
62
|
export {
|
|
63
63
|
ARTIFACT_BRAND,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ScarnClientOptions } from "../../client";
|
|
1
2
|
import { StepDefinitions } from "../../generated/sdk.gen";
|
|
2
3
|
import type { PostApiStepDefinitionsData, PutApiStepDefinitionsData } from "../../generated/types.gen";
|
|
3
4
|
import type { StepDefinitionSpec } from "./define-step";
|
|
@@ -6,7 +7,7 @@ type RequestOptions = {
|
|
|
6
7
|
};
|
|
7
8
|
export type CreateStepDefinitionInput = PostApiStepDefinitionsData["body"];
|
|
8
9
|
export type UpsertStepDefinitionInput = PutApiStepDefinitionsData["body"];
|
|
9
|
-
export declare function createStepDefinitionsClient(baseUrl: string): ReturnType<typeof buildStepDefinitionsClient>;
|
|
10
|
+
export declare function createStepDefinitionsClient(baseUrl: string, options?: ScarnClientOptions): ReturnType<typeof buildStepDefinitionsClient>;
|
|
10
11
|
declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) => {
|
|
11
12
|
listByProjectId: (projectId: string, options?: RequestOptions) => Promise<{
|
|
12
13
|
id: string;
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
assertValidDefinitionSpecs,
|
|
4
4
|
listPaths,
|
|
5
5
|
validateDefinitionSpecs
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import"../../chunk-
|
|
8
|
-
import"../../chunk-
|
|
9
|
-
import"../../chunk-
|
|
10
|
-
import"../../chunk-
|
|
11
|
-
import"../../chunk-
|
|
12
|
-
import"../../chunk-
|
|
13
|
-
import"../../chunk-
|
|
6
|
+
} from "../../chunk-h1v6w1fh.js";
|
|
7
|
+
import"../../chunk-vsp708vw.js";
|
|
8
|
+
import"../../chunk-aph2js2v.js";
|
|
9
|
+
import"../../chunk-8kzaxz52.js";
|
|
10
|
+
import"../../chunk-5say64w8.js";
|
|
11
|
+
import"../../chunk-nkm31g10.js";
|
|
12
|
+
import"../../chunk-08gcnrzh.js";
|
|
13
|
+
import"../../chunk-mrzn5tq4.js";
|
|
14
14
|
import"../../chunk-ngy1fdcx.js";
|
|
15
|
-
import"../../chunk-
|
|
16
|
-
import"../../chunk-
|
|
15
|
+
import"../../chunk-8hsk6f6b.js";
|
|
16
|
+
import"../../chunk-xhpp6qz8.js";
|
|
17
17
|
import"../../chunk-y64skrwp.js";
|
|
18
18
|
export {
|
|
19
19
|
assertValidDefinitionSpecs,
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
MAX_DEVCONTAINER_CONFIG_PATH_LENGTH,
|
|
5
5
|
devcontainerConfigPathSchema,
|
|
6
6
|
normalizeDevcontainerConfigPath
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-8kzaxz52.js";
|
|
8
|
+
import"./chunk-xhpp6qz8.js";
|
|
9
9
|
import"./chunk-y64skrwp.js";
|
|
10
10
|
export {
|
|
11
11
|
DEVCONTAINER_CONFIG_BASENAMES,
|
package/dist/env-vars.js
CHANGED
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
isUninheritableWorkerEnvVarName,
|
|
19
19
|
secretEnvVarSchema,
|
|
20
20
|
storedEnvVarsSchema
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import"./chunk-
|
|
21
|
+
} from "./chunk-mrzn5tq4.js";
|
|
22
|
+
import"./chunk-xhpp6qz8.js";
|
|
23
23
|
import"./chunk-y64skrwp.js";
|
|
24
24
|
export {
|
|
25
25
|
ENV_VAR_NAME_PATTERN,
|
package/dist/environment.js
CHANGED
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
storedEnvironmentContentSchema,
|
|
18
18
|
storedEnvironmentFieldsSchema,
|
|
19
19
|
storedEnvironmentRuntimeSchema
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import"./chunk-
|
|
22
|
-
import"./chunk-
|
|
23
|
-
import"./chunk-
|
|
24
|
-
import"./chunk-
|
|
25
|
-
import"./chunk-
|
|
26
|
-
import"./chunk-
|
|
20
|
+
} from "./chunk-aph2js2v.js";
|
|
21
|
+
import"./chunk-8kzaxz52.js";
|
|
22
|
+
import"./chunk-5say64w8.js";
|
|
23
|
+
import"./chunk-nkm31g10.js";
|
|
24
|
+
import"./chunk-08gcnrzh.js";
|
|
25
|
+
import"./chunk-mrzn5tq4.js";
|
|
26
|
+
import"./chunk-xhpp6qz8.js";
|
|
27
27
|
import"./chunk-y64skrwp.js";
|
|
28
28
|
export {
|
|
29
29
|
BrokenDevcontainerReference,
|
package/dist/health-checks.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
stepHealthChecksInputSchema,
|
|
8
8
|
stepToolHealthCheckSchema,
|
|
9
9
|
toolHealthCheckSchema
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-y7ac1t9c.js";
|
|
11
|
+
import"./chunk-xhpp6qz8.js";
|
|
12
12
|
import"./chunk-y64skrwp.js";
|
|
13
13
|
export {
|
|
14
14
|
cliHealthCheckSchema,
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
readEnvironmentDefinition,
|
|
4
4
|
resolveEnvironment,
|
|
5
5
|
resolveEnvironmentDefinition
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-r3sbp2wn.js";
|
|
7
7
|
import {
|
|
8
8
|
SCARN_CONFIG_RELATIVE_PATH,
|
|
9
9
|
parseScarnConfig
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
WORK_ITEM_TOP_LEVEL_FIELDS,
|
|
20
20
|
createPipelineDefinitionsClient,
|
|
21
21
|
resolveWorkItemFieldPath
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-zxzvketc.js";
|
|
23
23
|
import {
|
|
24
24
|
after,
|
|
25
25
|
all,
|
|
@@ -55,21 +55,21 @@ import {
|
|
|
55
55
|
sum,
|
|
56
56
|
workItem,
|
|
57
57
|
workItemField
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-59arcerk.js";
|
|
59
59
|
import {
|
|
60
60
|
attach,
|
|
61
61
|
defineAutomation,
|
|
62
62
|
onEvent,
|
|
63
63
|
skip
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-6p340dd4.js";
|
|
65
65
|
import"./chunk-mp2rqtcj.js";
|
|
66
|
-
import"./chunk-
|
|
66
|
+
import"./chunk-pwyj6qf3.js";
|
|
67
67
|
import {
|
|
68
68
|
createScarnClient,
|
|
69
69
|
createTaskPlaneClient
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-k57h6qke.js";
|
|
71
71
|
import"./chunk-5dny5jg1.js";
|
|
72
|
-
import"./chunk-
|
|
72
|
+
import"./chunk-qt81x1pm.js";
|
|
73
73
|
import {
|
|
74
74
|
ARTIFACT_BRAND,
|
|
75
75
|
Artifact,
|
|
@@ -99,8 +99,8 @@ import {
|
|
|
99
99
|
stepEnvironmentHandle,
|
|
100
100
|
toStepHandle,
|
|
101
101
|
toStepSpec
|
|
102
|
-
} from "./chunk-
|
|
103
|
-
import"./chunk-
|
|
102
|
+
} from "./chunk-p74r4y6j.js";
|
|
103
|
+
import"./chunk-y7ac1t9c.js";
|
|
104
104
|
import {
|
|
105
105
|
Env,
|
|
106
106
|
Runtime,
|
|
@@ -113,14 +113,14 @@ import {
|
|
|
113
113
|
knownEnvironmentVars,
|
|
114
114
|
normalizeEnv,
|
|
115
115
|
renderPromptTemplate
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-gasw078g.js";
|
|
117
117
|
import"./chunk-6tra3gw8.js";
|
|
118
118
|
import"./chunk-xqfj56m9.js";
|
|
119
119
|
import {
|
|
120
120
|
PipelineBuildError,
|
|
121
121
|
formatIssue
|
|
122
122
|
} from "./chunk-y11p1q7r.js";
|
|
123
|
-
import"./chunk-
|
|
123
|
+
import"./chunk-vsp708vw.js";
|
|
124
124
|
import {
|
|
125
125
|
BrokenDevcontainerReference,
|
|
126
126
|
EnvironmentInvalid,
|
|
@@ -139,10 +139,10 @@ import {
|
|
|
139
139
|
storedEnvironmentContentSchema,
|
|
140
140
|
storedEnvironmentFieldsSchema,
|
|
141
141
|
storedEnvironmentRuntimeSchema
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import"./chunk-
|
|
144
|
-
import"./chunk-
|
|
145
|
-
import"./chunk-
|
|
142
|
+
} from "./chunk-aph2js2v.js";
|
|
143
|
+
import"./chunk-8kzaxz52.js";
|
|
144
|
+
import"./chunk-5say64w8.js";
|
|
145
|
+
import"./chunk-nkm31g10.js";
|
|
146
146
|
import {
|
|
147
147
|
collectEnvPlaceholderNames,
|
|
148
148
|
isEnvPlaceholderValue,
|
|
@@ -156,8 +156,8 @@ import {
|
|
|
156
156
|
openCodeMcpTimeoutSchema,
|
|
157
157
|
openCodeResolvedMcpServerConfigSchema,
|
|
158
158
|
openCodeResolvedMcpServersSchema
|
|
159
|
-
} from "./chunk-
|
|
160
|
-
import"./chunk-
|
|
159
|
+
} from "./chunk-08gcnrzh.js";
|
|
160
|
+
import"./chunk-mrzn5tq4.js";
|
|
161
161
|
import {
|
|
162
162
|
Api,
|
|
163
163
|
Automations,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
WorkItemCommentDrafts,
|
|
187
187
|
WorkItemComments,
|
|
188
188
|
WorkItems
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-y81cr6tp.js";
|
|
190
190
|
import {
|
|
191
191
|
ARTIFACT_MARKER_SCHEME,
|
|
192
192
|
buildArtifactMarker,
|
|
@@ -205,9 +205,9 @@ import {
|
|
|
205
205
|
isEmbeddableArtifactExtension,
|
|
206
206
|
matchArtifactNode,
|
|
207
207
|
readArtifactKeyword
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-8hsk6f6b.js";
|
|
209
209
|
import"./chunk-01nfqm18.js";
|
|
210
|
-
import"./chunk-
|
|
210
|
+
import"./chunk-xhpp6qz8.js";
|
|
211
211
|
import"./chunk-y64skrwp.js";
|
|
212
212
|
export {
|
|
213
213
|
ARTIFACT_BRAND,
|
package/dist/managed-runtimes.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
MANAGED_RUNTIME_IDS,
|
|
5
5
|
isManagedRuntimeId,
|
|
6
6
|
managedRuntimeIdSchema
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-5say64w8.js";
|
|
8
|
+
import"./chunk-xhpp6qz8.js";
|
|
9
9
|
import"./chunk-y64skrwp.js";
|
|
10
10
|
export {
|
|
11
11
|
DEFAULT_CODE_STEP_RUNTIME_ID,
|
package/dist/opencode-mcp.js
CHANGED
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
openCodeMcpTimeoutSchema,
|
|
13
13
|
openCodeResolvedMcpServerConfigSchema,
|
|
14
14
|
openCodeResolvedMcpServersSchema
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-08gcnrzh.js";
|
|
16
|
+
import"./chunk-mrzn5tq4.js";
|
|
17
|
+
import"./chunk-xhpp6qz8.js";
|
|
18
18
|
import"./chunk-y64skrwp.js";
|
|
19
19
|
export {
|
|
20
20
|
collectEnvPlaceholderNames,
|
package/dist/pipelines/index.js
CHANGED
|
@@ -34,17 +34,17 @@ import {
|
|
|
34
34
|
sum,
|
|
35
35
|
workItem,
|
|
36
36
|
workItemField
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-59arcerk.js";
|
|
38
38
|
import"../chunk-mp2rqtcj.js";
|
|
39
39
|
import"../chunk-5dny5jg1.js";
|
|
40
|
-
import"../chunk-
|
|
40
|
+
import"../chunk-qt81x1pm.js";
|
|
41
41
|
import"../chunk-xqfj56m9.js";
|
|
42
42
|
import {
|
|
43
43
|
PipelineBuildError,
|
|
44
44
|
formatIssue
|
|
45
45
|
} from "../chunk-y11p1q7r.js";
|
|
46
46
|
import"../chunk-01nfqm18.js";
|
|
47
|
-
import"../chunk-
|
|
47
|
+
import"../chunk-xhpp6qz8.js";
|
|
48
48
|
import"../chunk-y64skrwp.js";
|
|
49
49
|
export {
|
|
50
50
|
PipelineBuildError,
|