@scarn/sdk 0.0.0 → 0.8.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/dist/{chunk-4361gxk0.js → chunk-0y2fy5en.js} +7 -7
- package/dist/{chunk-91p9vzcs.js → chunk-3ctaaseb.js} +405 -402
- package/dist/{chunk-9s07v9r1.js → chunk-4ggr8af6.js} +8 -8
- package/dist/chunk-5zsavw98.js +91 -0
- package/dist/chunk-63f90zky.js +39 -0
- package/dist/{chunk-tfm5hjzm.js → chunk-700xe701.js} +9 -9
- package/dist/{chunk-njd6npf0.js → chunk-ar6hcj1r.js} +6 -6
- package/dist/chunk-cdanncng.js +74 -0
- package/dist/chunk-dp86pa6m.js +68 -0
- package/dist/chunk-e1h021kq.js +86 -0
- package/dist/{chunk-ny07ncb9.js → chunk-gds7w7zh.js} +35 -35
- package/dist/chunk-k4y5qt4y.js +14 -0
- package/dist/{chunk-eg1hcvhb.js → chunk-mz53r914.js} +16 -16
- package/dist/{chunk-631ffb6r.js → chunk-ngy1fdcx.js} +10 -10
- package/dist/chunk-p7yrcmqm.js +322 -0
- package/dist/{chunk-h9yxx0hd.js → chunk-rt9tq4j6.js} +7 -7
- package/dist/{chunk-dnn39qt4.js → chunk-skzxcba3.js} +2960 -2217
- package/dist/{chunk-ynk2bjae.js → chunk-vfeytkqx.js} +89 -88
- package/dist/{chunk-56e4kp0a.js → chunk-y2pv8d6a.js} +19 -19
- package/dist/chunk-y64skrwp.js +17 -0
- package/dist/{chunk-rq3q8vg7.js → chunk-yjtaq94c.js} +69 -69
- package/dist/{chunk-qpw5wt1p.js → chunk-zm72ksz0.js} +26 -27
- package/dist/client.js +53 -52
- package/dist/contracts/artifact-markers.js +12 -11
- package/dist/contracts/artifacts.js +23 -21
- package/dist/contracts/pipeline-document/index.js +94 -92
- package/dist/contracts/step-artifact-submissions.js +17 -20
- package/dist/defaults/index.js +140 -139
- package/dist/definitions/pipelines/index.js +22 -20
- package/dist/definitions/steps/index.js +70 -67
- package/dist/definitions/validation/index.js +15 -13
- package/dist/devcontainer-config-path.js +11 -9
- package/dist/env-vars.js +33 -31
- package/dist/eslint.js +2 -0
- package/dist/generated/types.gen.d.ts +7 -0
- package/dist/git-url/git-repo-identity.js +2 -0
- package/dist/health-checks.js +17 -15
- package/dist/index.js +280 -277
- package/dist/jsonc.js +8 -7
- package/dist/managed-runtimes.js +11 -9
- package/dist/opencode-mcp.js +27 -25
- package/dist/pipelines/index.js +78 -75
- package/dist/push/code-step-lookup.js +8 -7
- package/dist/push/index.js +51 -52
- package/dist/repo-config.js +21 -19
- package/dist/scarn-config-parser.js +6 -5
- package/package.json +1 -1
- package/dist/chunk-4vehh3dq.js +0 -333
- package/dist/chunk-5mmj03ah.js +0 -1074
- package/dist/chunk-b21233rt.js +0 -78
- package/dist/chunk-g0rdnn0r.js +0 -95
- package/dist/chunk-p6kc9wq8.js +0 -97
- package/dist/chunk-s0gap8r8.js +0 -14
- package/dist/chunk-zpqyjgb4.js +0 -49
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import"../../chunk-
|
|
3
|
+
DEFAULT_PIPELINE_ASSIGNMENT_FILENAME,
|
|
4
|
+
PipelineDefinitionsApiError,
|
|
5
|
+
WORK_ITEM_FIELDS_PATH_PREFIX,
|
|
6
|
+
WORK_ITEM_TOP_LEVEL_FIELDS,
|
|
7
|
+
createPipelineDefinitionsClient,
|
|
8
|
+
defaultPipelineAssignment,
|
|
9
|
+
isDefaultPipelineAssignmentSpec,
|
|
10
|
+
resolveWorkItemFieldPath,
|
|
11
|
+
serializeDefaultPipelineAssignment
|
|
12
|
+
} from "../../chunk-zm72ksz0.js";
|
|
13
|
+
import"../../chunk-vfeytkqx.js";
|
|
14
|
+
import"../../chunk-skzxcba3.js";
|
|
15
|
+
import"../../chunk-y64skrwp.js";
|
|
14
16
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
DEFAULT_PIPELINE_ASSIGNMENT_FILENAME,
|
|
18
|
+
PipelineDefinitionsApiError,
|
|
19
|
+
WORK_ITEM_FIELDS_PATH_PREFIX,
|
|
20
|
+
WORK_ITEM_TOP_LEVEL_FIELDS,
|
|
21
|
+
createPipelineDefinitionsClient,
|
|
22
|
+
defaultPipelineAssignment,
|
|
23
|
+
isDefaultPipelineAssignmentSpec,
|
|
24
|
+
resolveWorkItemFieldPath,
|
|
25
|
+
serializeDefaultPipelineAssignment
|
|
24
26
|
};
|
|
@@ -1,73 +1,76 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
ARTIFACT_BRAND,
|
|
4
|
+
Artifact,
|
|
5
|
+
ArtifactTypes,
|
|
6
|
+
Env,
|
|
7
|
+
Features,
|
|
8
|
+
Notify,
|
|
9
|
+
Repo,
|
|
10
|
+
Runtime,
|
|
11
|
+
artifact,
|
|
12
|
+
codeStep,
|
|
13
|
+
compileEnvironment,
|
|
14
|
+
compileMcps,
|
|
15
|
+
compileRepo,
|
|
16
|
+
compileStepErrors,
|
|
17
|
+
compileStepRetry,
|
|
18
|
+
createPromptInputProxy,
|
|
19
|
+
createPromptTemplateContext,
|
|
20
|
+
createStepDefinitionsClient,
|
|
21
|
+
defineMcp,
|
|
22
|
+
defineStep,
|
|
8
23
|
exports_z,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Notify2
|
|
32
|
-
} from "../../chunk-91p9vzcs.js";
|
|
33
|
-
import"../../chunk-eg1hcvhb.js";
|
|
34
|
-
import"../../chunk-p6kc9wq8.js";
|
|
35
|
-
import"../../chunk-9s07v9r1.js";
|
|
36
|
-
import"../../chunk-s0gap8r8.js";
|
|
37
|
-
import"../../chunk-b21233rt.js";
|
|
38
|
-
import"../../chunk-g0rdnn0r.js";
|
|
39
|
-
import"../../chunk-zpqyjgb4.js";
|
|
40
|
-
import"../../chunk-631ffb6r.js";
|
|
41
|
-
import"../../chunk-56e4kp0a.js";
|
|
42
|
-
import"../../chunk-ynk2bjae.js";
|
|
24
|
+
isMcpHandle,
|
|
25
|
+
isSecretLookingEnvName,
|
|
26
|
+
normalizeArtifactAccept,
|
|
27
|
+
normalizeEnv,
|
|
28
|
+
renderPromptTemplate,
|
|
29
|
+
resolveMcpChecks,
|
|
30
|
+
toStepHandle,
|
|
31
|
+
toStepSpec
|
|
32
|
+
} from "../../chunk-3ctaaseb.js";
|
|
33
|
+
import"../../chunk-mz53r914.js";
|
|
34
|
+
import"../../chunk-5zsavw98.js";
|
|
35
|
+
import"../../chunk-4ggr8af6.js";
|
|
36
|
+
import"../../chunk-k4y5qt4y.js";
|
|
37
|
+
import"../../chunk-cdanncng.js";
|
|
38
|
+
import"../../chunk-e1h021kq.js";
|
|
39
|
+
import"../../chunk-63f90zky.js";
|
|
40
|
+
import"../../chunk-ngy1fdcx.js";
|
|
41
|
+
import"../../chunk-y2pv8d6a.js";
|
|
42
|
+
import"../../chunk-dp86pa6m.js";
|
|
43
|
+
import"../../chunk-vfeytkqx.js";
|
|
44
|
+
import"../../chunk-skzxcba3.js";
|
|
45
|
+
import"../../chunk-y64skrwp.js";
|
|
43
46
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
47
|
+
ARTIFACT_BRAND,
|
|
48
|
+
Artifact,
|
|
49
|
+
ArtifactTypes,
|
|
50
|
+
Env,
|
|
51
|
+
Features,
|
|
52
|
+
Notify,
|
|
53
|
+
Repo,
|
|
54
|
+
Runtime,
|
|
55
|
+
artifact,
|
|
56
|
+
codeStep,
|
|
57
|
+
compileEnvironment,
|
|
58
|
+
compileMcps,
|
|
59
|
+
compileRepo,
|
|
60
|
+
compileStepErrors,
|
|
61
|
+
compileStepRetry,
|
|
62
|
+
createPromptInputProxy,
|
|
63
|
+
createPromptTemplateContext,
|
|
64
|
+
createStepDefinitionsClient,
|
|
65
|
+
defineMcp,
|
|
66
|
+
defineStep,
|
|
67
|
+
isMcpHandle,
|
|
68
|
+
isSecretLookingEnvName,
|
|
69
|
+
normalizeArtifactAccept,
|
|
70
|
+
normalizeEnv,
|
|
71
|
+
renderPromptTemplate,
|
|
72
|
+
resolveMcpChecks,
|
|
73
|
+
toStepHandle,
|
|
74
|
+
toStepSpec,
|
|
72
75
|
exports_z as z
|
|
73
76
|
};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import"../../chunk-
|
|
8
|
-
import"../../chunk-
|
|
9
|
-
import"../../chunk-
|
|
10
|
-
import"../../chunk-
|
|
11
|
-
import"../../chunk-
|
|
12
|
-
import"../../chunk-
|
|
3
|
+
assertValidDefinitionSpecs,
|
|
4
|
+
listPaths,
|
|
5
|
+
validateDefinitionSpecs
|
|
6
|
+
} from "../../chunk-gds7w7zh.js";
|
|
7
|
+
import"../../chunk-5zsavw98.js";
|
|
8
|
+
import"../../chunk-4ggr8af6.js";
|
|
9
|
+
import"../../chunk-k4y5qt4y.js";
|
|
10
|
+
import"../../chunk-cdanncng.js";
|
|
11
|
+
import"../../chunk-ngy1fdcx.js";
|
|
12
|
+
import"../../chunk-y2pv8d6a.js";
|
|
13
|
+
import"../../chunk-skzxcba3.js";
|
|
14
|
+
import"../../chunk-y64skrwp.js";
|
|
13
15
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
assertValidDefinitionSpecs,
|
|
17
|
+
listPaths,
|
|
18
|
+
validateDefinitionSpecs
|
|
17
19
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
3
|
+
DEVCONTAINER_CONFIG_BASENAMES,
|
|
4
|
+
MAX_DEVCONTAINER_CONFIG_PATH_LENGTH,
|
|
5
|
+
devcontainerConfigPathSchema,
|
|
6
|
+
normalizeDevcontainerConfigPath
|
|
7
|
+
} from "./chunk-4ggr8af6.js";
|
|
8
|
+
import"./chunk-skzxcba3.js";
|
|
9
|
+
import"./chunk-y64skrwp.js";
|
|
8
10
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
DEVCONTAINER_CONFIG_BASENAMES,
|
|
12
|
+
MAX_DEVCONTAINER_CONFIG_PATH_LENGTH,
|
|
13
|
+
devcontainerConfigPathSchema,
|
|
14
|
+
normalizeDevcontainerConfigPath
|
|
13
15
|
};
|
package/dist/env-vars.js
CHANGED
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
3
|
+
ENV_VAR_NAME_PATTERN,
|
|
4
|
+
MAX_ENV_VARS,
|
|
5
|
+
MAX_ENV_VAR_NAME_LENGTH,
|
|
6
|
+
MAX_ENV_VAR_VALUE_LENGTH,
|
|
7
|
+
RESERVED_ENV_VAR_NAMES,
|
|
8
|
+
RESERVED_ENV_VAR_PREFIX,
|
|
9
|
+
appliesToAgent,
|
|
10
|
+
appliesToSetup,
|
|
11
|
+
containsInputToken,
|
|
12
|
+
envVarAppliesValues,
|
|
13
|
+
envVarSpecSchema,
|
|
14
|
+
envVarsSchema,
|
|
15
|
+
isReservedEnvVarName,
|
|
16
|
+
isUninheritableWorkerEnvVarName,
|
|
17
|
+
storedEnvVarsSchema
|
|
18
|
+
} from "./chunk-5zsavw98.js";
|
|
19
|
+
import"./chunk-skzxcba3.js";
|
|
20
|
+
import"./chunk-y64skrwp.js";
|
|
19
21
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
22
|
+
ENV_VAR_NAME_PATTERN,
|
|
23
|
+
MAX_ENV_VARS,
|
|
24
|
+
MAX_ENV_VAR_NAME_LENGTH,
|
|
25
|
+
MAX_ENV_VAR_VALUE_LENGTH,
|
|
26
|
+
RESERVED_ENV_VAR_NAMES,
|
|
27
|
+
RESERVED_ENV_VAR_PREFIX,
|
|
28
|
+
appliesToAgent,
|
|
29
|
+
appliesToSetup,
|
|
30
|
+
containsInputToken,
|
|
31
|
+
envVarAppliesValues,
|
|
32
|
+
envVarSpecSchema,
|
|
33
|
+
envVarsSchema,
|
|
34
|
+
isReservedEnvVarName,
|
|
35
|
+
isUninheritableWorkerEnvVarName,
|
|
36
|
+
storedEnvVarsSchema
|
|
35
37
|
};
|
package/dist/eslint.js
CHANGED
|
@@ -819,6 +819,7 @@ export type PostApiProjectsData = {
|
|
|
819
819
|
issueTracker?: {
|
|
820
820
|
type: string;
|
|
821
821
|
installationId: string;
|
|
822
|
+
firstSyncHorizonDays?: number;
|
|
822
823
|
} | {
|
|
823
824
|
type: string;
|
|
824
825
|
credential: {
|
|
@@ -832,6 +833,7 @@ export type PostApiProjectsData = {
|
|
|
832
833
|
email: string;
|
|
833
834
|
apiToken: string;
|
|
834
835
|
};
|
|
836
|
+
firstSyncHorizonDays?: number;
|
|
835
837
|
} | {
|
|
836
838
|
type: string;
|
|
837
839
|
credential: {
|
|
@@ -845,6 +847,7 @@ export type PostApiProjectsData = {
|
|
|
845
847
|
email: string;
|
|
846
848
|
apiToken: string;
|
|
847
849
|
};
|
|
850
|
+
firstSyncHorizonDays?: number;
|
|
848
851
|
} | {
|
|
849
852
|
type: string;
|
|
850
853
|
baseUrl: string;
|
|
@@ -860,6 +863,7 @@ export type PostApiProjectsData = {
|
|
|
860
863
|
email: string;
|
|
861
864
|
apiToken: string;
|
|
862
865
|
};
|
|
866
|
+
firstSyncHorizonDays?: number;
|
|
863
867
|
};
|
|
864
868
|
};
|
|
865
869
|
path?: never;
|
|
@@ -16604,6 +16608,7 @@ export type PostApiProjectsIssueTrackerCheckData = {
|
|
|
16604
16608
|
email: string;
|
|
16605
16609
|
apiToken: string;
|
|
16606
16610
|
};
|
|
16611
|
+
firstSyncHorizonDays?: number;
|
|
16607
16612
|
} | {
|
|
16608
16613
|
type: string;
|
|
16609
16614
|
credential: {
|
|
@@ -16617,6 +16622,7 @@ export type PostApiProjectsIssueTrackerCheckData = {
|
|
|
16617
16622
|
email: string;
|
|
16618
16623
|
apiToken: string;
|
|
16619
16624
|
};
|
|
16625
|
+
firstSyncHorizonDays?: number;
|
|
16620
16626
|
} | {
|
|
16621
16627
|
type: string;
|
|
16622
16628
|
baseUrl: string;
|
|
@@ -16632,6 +16638,7 @@ export type PostApiProjectsIssueTrackerCheckData = {
|
|
|
16632
16638
|
email: string;
|
|
16633
16639
|
apiToken: string;
|
|
16634
16640
|
};
|
|
16641
|
+
firstSyncHorizonDays?: number;
|
|
16635
16642
|
};
|
|
16636
16643
|
};
|
|
16637
16644
|
path?: never;
|
package/dist/health-checks.js
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
3
|
+
cliHealthCheckSchema,
|
|
4
|
+
healthCheckSchema,
|
|
5
|
+
healthCheckSeverityValues,
|
|
6
|
+
healthChecksSchema,
|
|
7
|
+
stepHealthChecksInputSchema,
|
|
8
|
+
stepToolHealthCheckSchema,
|
|
9
|
+
toolHealthCheckSchema
|
|
10
|
+
} from "./chunk-63f90zky.js";
|
|
11
|
+
import"./chunk-skzxcba3.js";
|
|
12
|
+
import"./chunk-y64skrwp.js";
|
|
11
13
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
cliHealthCheckSchema,
|
|
15
|
+
healthCheckSchema,
|
|
16
|
+
healthCheckSeverityValues,
|
|
17
|
+
healthChecksSchema,
|
|
18
|
+
stepHealthChecksInputSchema,
|
|
19
|
+
stepToolHealthCheckSchema,
|
|
20
|
+
toolHealthCheckSchema
|
|
19
21
|
};
|