@scarn/sdk 0.0.0 → 0.8.1

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.
Files changed (55) hide show
  1. package/dist/{chunk-4361gxk0.js → chunk-0y2fy5en.js} +7 -7
  2. package/dist/{chunk-rq3q8vg7.js → chunk-102vfpw4.js} +74 -69
  3. package/dist/{chunk-91p9vzcs.js → chunk-3ctaaseb.js} +405 -402
  4. package/dist/{chunk-9s07v9r1.js → chunk-4ggr8af6.js} +8 -8
  5. package/dist/chunk-5zsavw98.js +91 -0
  6. package/dist/chunk-63f90zky.js +39 -0
  7. package/dist/{chunk-tfm5hjzm.js → chunk-700xe701.js} +9 -9
  8. package/dist/{chunk-njd6npf0.js → chunk-ar6hcj1r.js} +6 -6
  9. package/dist/chunk-cdanncng.js +74 -0
  10. package/dist/chunk-dp86pa6m.js +68 -0
  11. package/dist/chunk-e1h021kq.js +86 -0
  12. package/dist/{chunk-ny07ncb9.js → chunk-gds7w7zh.js} +35 -35
  13. package/dist/chunk-k4y5qt4y.js +14 -0
  14. package/dist/{chunk-eg1hcvhb.js → chunk-mz53r914.js} +16 -16
  15. package/dist/{chunk-631ffb6r.js → chunk-ngy1fdcx.js} +10 -10
  16. package/dist/chunk-p7yrcmqm.js +322 -0
  17. package/dist/{chunk-h9yxx0hd.js → chunk-rt9tq4j6.js} +7 -7
  18. package/dist/{chunk-dnn39qt4.js → chunk-skzxcba3.js} +2960 -2217
  19. package/dist/{chunk-ynk2bjae.js → chunk-vfeytkqx.js} +89 -88
  20. package/dist/{chunk-56e4kp0a.js → chunk-y2pv8d6a.js} +19 -19
  21. package/dist/chunk-y64skrwp.js +17 -0
  22. package/dist/{chunk-qpw5wt1p.js → chunk-zm72ksz0.js} +26 -27
  23. package/dist/client.js +53 -52
  24. package/dist/contracts/artifact-markers.js +12 -11
  25. package/dist/contracts/artifacts.js +23 -21
  26. package/dist/contracts/pipeline-document/index.js +94 -92
  27. package/dist/contracts/step-artifact-submissions.js +17 -20
  28. package/dist/defaults/index.js +140 -139
  29. package/dist/definitions/pipelines/index.js +22 -20
  30. package/dist/definitions/steps/index.js +70 -67
  31. package/dist/definitions/validation/index.js +15 -13
  32. package/dist/devcontainer-config-path.js +11 -9
  33. package/dist/env-vars.js +33 -31
  34. package/dist/eslint.js +2 -0
  35. package/dist/generated/types.gen.d.ts +7 -0
  36. package/dist/git-url/git-repo-identity.js +2 -0
  37. package/dist/health-checks.js +17 -15
  38. package/dist/index.js +280 -277
  39. package/dist/jsonc.js +8 -7
  40. package/dist/managed-runtimes.js +11 -9
  41. package/dist/opencode-mcp.js +27 -25
  42. package/dist/pipelines/index.js +78 -75
  43. package/dist/pipelines/nodes.d.ts +1 -0
  44. package/dist/push/code-step-lookup.js +8 -7
  45. package/dist/push/index.js +51 -52
  46. package/dist/repo-config.js +21 -19
  47. package/dist/scarn-config-parser.js +6 -5
  48. package/package.json +1 -1
  49. package/dist/chunk-4vehh3dq.js +0 -333
  50. package/dist/chunk-5mmj03ah.js +0 -1074
  51. package/dist/chunk-b21233rt.js +0 -78
  52. package/dist/chunk-g0rdnn0r.js +0 -95
  53. package/dist/chunk-p6kc9wq8.js +0 -97
  54. package/dist/chunk-s0gap8r8.js +0 -14
  55. package/dist/chunk-zpqyjgb4.js +0 -49
@@ -1,11 +1,12 @@
1
1
  // @bun
2
2
  import {
3
- parseJsonc2
4
- } from "../chunk-h9yxx0hd.js";
5
- import"../chunk-ynk2bjae.js";
3
+ parseJsonc
4
+ } from "../chunk-rt9tq4j6.js";
6
5
  import {
7
- createScarnClient2
8
- } from "../chunk-tfm5hjzm.js";
6
+ createScarnClient
7
+ } from "../chunk-700xe701.js";
8
+ import"../chunk-vfeytkqx.js";
9
+ import"../chunk-y64skrwp.js";
9
10
 
10
11
  // src/defaults/auth-file.ts
11
12
  import { existsSync as existsSync3, lstatSync as lstatSync2, readFileSync as readFileSync2, rmSync as rmSync2 } from "fs";
@@ -17,15 +18,15 @@ function createScanner(text, ignoreTrivia = false) {
17
18
  let pos = 0, value = "", tokenOffset = 0, token = 16, lineNumber = 0, lineStartOffset = 0, tokenLineStartOffset = 0, prevTokenLineStartOffset = 0, scanError = 0;
18
19
  function scanHexDigits(count, exact) {
19
20
  let digits = 0;
20
- let value = 0;
21
+ let value2 = 0;
21
22
  while (digits < count || !exact) {
22
23
  let ch = text.charCodeAt(pos);
23
24
  if (ch >= 48 && ch <= 57) {
24
- value = value * 16 + ch - 48;
25
+ value2 = value2 * 16 + ch - 48;
25
26
  } else if (ch >= 65 && ch <= 70) {
26
- value = value * 16 + ch - 65 + 10;
27
+ value2 = value2 * 16 + ch - 65 + 10;
27
28
  } else if (ch >= 97 && ch <= 102) {
28
- value = value * 16 + ch - 97 + 10;
29
+ value2 = value2 * 16 + ch - 97 + 10;
29
30
  } else {
30
31
  break;
31
32
  }
@@ -33,9 +34,9 @@ function createScanner(text, ignoreTrivia = false) {
33
34
  digits++;
34
35
  }
35
36
  if (digits < count) {
36
- value = -1;
37
+ value2 = -1;
37
38
  }
38
- return value;
39
+ return value2;
39
40
  }
40
41
  function setPosition(newPosition) {
41
42
  pos = newPosition;
@@ -343,87 +344,87 @@ function isDigit(ch) {
343
344
  return ch >= 48 && ch <= 57;
344
345
  }
345
346
  var CharacterCodes;
346
- (function(CharacterCodes) {
347
- CharacterCodes[CharacterCodes["lineFeed"] = 10] = "lineFeed";
348
- CharacterCodes[CharacterCodes["carriageReturn"] = 13] = "carriageReturn";
349
- CharacterCodes[CharacterCodes["space"] = 32] = "space";
350
- CharacterCodes[CharacterCodes["_0"] = 48] = "_0";
351
- CharacterCodes[CharacterCodes["_1"] = 49] = "_1";
352
- CharacterCodes[CharacterCodes["_2"] = 50] = "_2";
353
- CharacterCodes[CharacterCodes["_3"] = 51] = "_3";
354
- CharacterCodes[CharacterCodes["_4"] = 52] = "_4";
355
- CharacterCodes[CharacterCodes["_5"] = 53] = "_5";
356
- CharacterCodes[CharacterCodes["_6"] = 54] = "_6";
357
- CharacterCodes[CharacterCodes["_7"] = 55] = "_7";
358
- CharacterCodes[CharacterCodes["_8"] = 56] = "_8";
359
- CharacterCodes[CharacterCodes["_9"] = 57] = "_9";
360
- CharacterCodes[CharacterCodes["a"] = 97] = "a";
361
- CharacterCodes[CharacterCodes["b"] = 98] = "b";
362
- CharacterCodes[CharacterCodes["c"] = 99] = "c";
363
- CharacterCodes[CharacterCodes["d"] = 100] = "d";
364
- CharacterCodes[CharacterCodes["e"] = 101] = "e";
365
- CharacterCodes[CharacterCodes["f"] = 102] = "f";
366
- CharacterCodes[CharacterCodes["g"] = 103] = "g";
367
- CharacterCodes[CharacterCodes["h"] = 104] = "h";
368
- CharacterCodes[CharacterCodes["i"] = 105] = "i";
369
- CharacterCodes[CharacterCodes["j"] = 106] = "j";
370
- CharacterCodes[CharacterCodes["k"] = 107] = "k";
371
- CharacterCodes[CharacterCodes["l"] = 108] = "l";
372
- CharacterCodes[CharacterCodes["m"] = 109] = "m";
373
- CharacterCodes[CharacterCodes["n"] = 110] = "n";
374
- CharacterCodes[CharacterCodes["o"] = 111] = "o";
375
- CharacterCodes[CharacterCodes["p"] = 112] = "p";
376
- CharacterCodes[CharacterCodes["q"] = 113] = "q";
377
- CharacterCodes[CharacterCodes["r"] = 114] = "r";
378
- CharacterCodes[CharacterCodes["s"] = 115] = "s";
379
- CharacterCodes[CharacterCodes["t"] = 116] = "t";
380
- CharacterCodes[CharacterCodes["u"] = 117] = "u";
381
- CharacterCodes[CharacterCodes["v"] = 118] = "v";
382
- CharacterCodes[CharacterCodes["w"] = 119] = "w";
383
- CharacterCodes[CharacterCodes["x"] = 120] = "x";
384
- CharacterCodes[CharacterCodes["y"] = 121] = "y";
385
- CharacterCodes[CharacterCodes["z"] = 122] = "z";
386
- CharacterCodes[CharacterCodes["A"] = 65] = "A";
387
- CharacterCodes[CharacterCodes["B"] = 66] = "B";
388
- CharacterCodes[CharacterCodes["C"] = 67] = "C";
389
- CharacterCodes[CharacterCodes["D"] = 68] = "D";
390
- CharacterCodes[CharacterCodes["E"] = 69] = "E";
391
- CharacterCodes[CharacterCodes["F"] = 70] = "F";
392
- CharacterCodes[CharacterCodes["G"] = 71] = "G";
393
- CharacterCodes[CharacterCodes["H"] = 72] = "H";
394
- CharacterCodes[CharacterCodes["I"] = 73] = "I";
395
- CharacterCodes[CharacterCodes["J"] = 74] = "J";
396
- CharacterCodes[CharacterCodes["K"] = 75] = "K";
397
- CharacterCodes[CharacterCodes["L"] = 76] = "L";
398
- CharacterCodes[CharacterCodes["M"] = 77] = "M";
399
- CharacterCodes[CharacterCodes["N"] = 78] = "N";
400
- CharacterCodes[CharacterCodes["O"] = 79] = "O";
401
- CharacterCodes[CharacterCodes["P"] = 80] = "P";
402
- CharacterCodes[CharacterCodes["Q"] = 81] = "Q";
403
- CharacterCodes[CharacterCodes["R"] = 82] = "R";
404
- CharacterCodes[CharacterCodes["S"] = 83] = "S";
405
- CharacterCodes[CharacterCodes["T"] = 84] = "T";
406
- CharacterCodes[CharacterCodes["U"] = 85] = "U";
407
- CharacterCodes[CharacterCodes["V"] = 86] = "V";
408
- CharacterCodes[CharacterCodes["W"] = 87] = "W";
409
- CharacterCodes[CharacterCodes["X"] = 88] = "X";
410
- CharacterCodes[CharacterCodes["Y"] = 89] = "Y";
411
- CharacterCodes[CharacterCodes["Z"] = 90] = "Z";
412
- CharacterCodes[CharacterCodes["asterisk"] = 42] = "asterisk";
413
- CharacterCodes[CharacterCodes["backslash"] = 92] = "backslash";
414
- CharacterCodes[CharacterCodes["closeBrace"] = 125] = "closeBrace";
415
- CharacterCodes[CharacterCodes["closeBracket"] = 93] = "closeBracket";
416
- CharacterCodes[CharacterCodes["colon"] = 58] = "colon";
417
- CharacterCodes[CharacterCodes["comma"] = 44] = "comma";
418
- CharacterCodes[CharacterCodes["dot"] = 46] = "dot";
419
- CharacterCodes[CharacterCodes["doubleQuote"] = 34] = "doubleQuote";
420
- CharacterCodes[CharacterCodes["minus"] = 45] = "minus";
421
- CharacterCodes[CharacterCodes["openBrace"] = 123] = "openBrace";
422
- CharacterCodes[CharacterCodes["openBracket"] = 91] = "openBracket";
423
- CharacterCodes[CharacterCodes["plus"] = 43] = "plus";
424
- CharacterCodes[CharacterCodes["slash"] = 47] = "slash";
425
- CharacterCodes[CharacterCodes["formFeed"] = 12] = "formFeed";
426
- CharacterCodes[CharacterCodes["tab"] = 9] = "tab";
347
+ (function(CharacterCodes2) {
348
+ CharacterCodes2[CharacterCodes2["lineFeed"] = 10] = "lineFeed";
349
+ CharacterCodes2[CharacterCodes2["carriageReturn"] = 13] = "carriageReturn";
350
+ CharacterCodes2[CharacterCodes2["space"] = 32] = "space";
351
+ CharacterCodes2[CharacterCodes2["_0"] = 48] = "_0";
352
+ CharacterCodes2[CharacterCodes2["_1"] = 49] = "_1";
353
+ CharacterCodes2[CharacterCodes2["_2"] = 50] = "_2";
354
+ CharacterCodes2[CharacterCodes2["_3"] = 51] = "_3";
355
+ CharacterCodes2[CharacterCodes2["_4"] = 52] = "_4";
356
+ CharacterCodes2[CharacterCodes2["_5"] = 53] = "_5";
357
+ CharacterCodes2[CharacterCodes2["_6"] = 54] = "_6";
358
+ CharacterCodes2[CharacterCodes2["_7"] = 55] = "_7";
359
+ CharacterCodes2[CharacterCodes2["_8"] = 56] = "_8";
360
+ CharacterCodes2[CharacterCodes2["_9"] = 57] = "_9";
361
+ CharacterCodes2[CharacterCodes2["a"] = 97] = "a";
362
+ CharacterCodes2[CharacterCodes2["b"] = 98] = "b";
363
+ CharacterCodes2[CharacterCodes2["c"] = 99] = "c";
364
+ CharacterCodes2[CharacterCodes2["d"] = 100] = "d";
365
+ CharacterCodes2[CharacterCodes2["e"] = 101] = "e";
366
+ CharacterCodes2[CharacterCodes2["f"] = 102] = "f";
367
+ CharacterCodes2[CharacterCodes2["g"] = 103] = "g";
368
+ CharacterCodes2[CharacterCodes2["h"] = 104] = "h";
369
+ CharacterCodes2[CharacterCodes2["i"] = 105] = "i";
370
+ CharacterCodes2[CharacterCodes2["j"] = 106] = "j";
371
+ CharacterCodes2[CharacterCodes2["k"] = 107] = "k";
372
+ CharacterCodes2[CharacterCodes2["l"] = 108] = "l";
373
+ CharacterCodes2[CharacterCodes2["m"] = 109] = "m";
374
+ CharacterCodes2[CharacterCodes2["n"] = 110] = "n";
375
+ CharacterCodes2[CharacterCodes2["o"] = 111] = "o";
376
+ CharacterCodes2[CharacterCodes2["p"] = 112] = "p";
377
+ CharacterCodes2[CharacterCodes2["q"] = 113] = "q";
378
+ CharacterCodes2[CharacterCodes2["r"] = 114] = "r";
379
+ CharacterCodes2[CharacterCodes2["s"] = 115] = "s";
380
+ CharacterCodes2[CharacterCodes2["t"] = 116] = "t";
381
+ CharacterCodes2[CharacterCodes2["u"] = 117] = "u";
382
+ CharacterCodes2[CharacterCodes2["v"] = 118] = "v";
383
+ CharacterCodes2[CharacterCodes2["w"] = 119] = "w";
384
+ CharacterCodes2[CharacterCodes2["x"] = 120] = "x";
385
+ CharacterCodes2[CharacterCodes2["y"] = 121] = "y";
386
+ CharacterCodes2[CharacterCodes2["z"] = 122] = "z";
387
+ CharacterCodes2[CharacterCodes2["A"] = 65] = "A";
388
+ CharacterCodes2[CharacterCodes2["B"] = 66] = "B";
389
+ CharacterCodes2[CharacterCodes2["C"] = 67] = "C";
390
+ CharacterCodes2[CharacterCodes2["D"] = 68] = "D";
391
+ CharacterCodes2[CharacterCodes2["E"] = 69] = "E";
392
+ CharacterCodes2[CharacterCodes2["F"] = 70] = "F";
393
+ CharacterCodes2[CharacterCodes2["G"] = 71] = "G";
394
+ CharacterCodes2[CharacterCodes2["H"] = 72] = "H";
395
+ CharacterCodes2[CharacterCodes2["I"] = 73] = "I";
396
+ CharacterCodes2[CharacterCodes2["J"] = 74] = "J";
397
+ CharacterCodes2[CharacterCodes2["K"] = 75] = "K";
398
+ CharacterCodes2[CharacterCodes2["L"] = 76] = "L";
399
+ CharacterCodes2[CharacterCodes2["M"] = 77] = "M";
400
+ CharacterCodes2[CharacterCodes2["N"] = 78] = "N";
401
+ CharacterCodes2[CharacterCodes2["O"] = 79] = "O";
402
+ CharacterCodes2[CharacterCodes2["P"] = 80] = "P";
403
+ CharacterCodes2[CharacterCodes2["Q"] = 81] = "Q";
404
+ CharacterCodes2[CharacterCodes2["R"] = 82] = "R";
405
+ CharacterCodes2[CharacterCodes2["S"] = 83] = "S";
406
+ CharacterCodes2[CharacterCodes2["T"] = 84] = "T";
407
+ CharacterCodes2[CharacterCodes2["U"] = 85] = "U";
408
+ CharacterCodes2[CharacterCodes2["V"] = 86] = "V";
409
+ CharacterCodes2[CharacterCodes2["W"] = 87] = "W";
410
+ CharacterCodes2[CharacterCodes2["X"] = 88] = "X";
411
+ CharacterCodes2[CharacterCodes2["Y"] = 89] = "Y";
412
+ CharacterCodes2[CharacterCodes2["Z"] = 90] = "Z";
413
+ CharacterCodes2[CharacterCodes2["asterisk"] = 42] = "asterisk";
414
+ CharacterCodes2[CharacterCodes2["backslash"] = 92] = "backslash";
415
+ CharacterCodes2[CharacterCodes2["closeBrace"] = 125] = "closeBrace";
416
+ CharacterCodes2[CharacterCodes2["closeBracket"] = 93] = "closeBracket";
417
+ CharacterCodes2[CharacterCodes2["colon"] = 58] = "colon";
418
+ CharacterCodes2[CharacterCodes2["comma"] = 44] = "comma";
419
+ CharacterCodes2[CharacterCodes2["dot"] = 46] = "dot";
420
+ CharacterCodes2[CharacterCodes2["doubleQuote"] = 34] = "doubleQuote";
421
+ CharacterCodes2[CharacterCodes2["minus"] = 45] = "minus";
422
+ CharacterCodes2[CharacterCodes2["openBrace"] = 123] = "openBrace";
423
+ CharacterCodes2[CharacterCodes2["openBracket"] = 91] = "openBracket";
424
+ CharacterCodes2[CharacterCodes2["plus"] = 43] = "plus";
425
+ CharacterCodes2[CharacterCodes2["slash"] = 47] = "slash";
426
+ CharacterCodes2[CharacterCodes2["formFeed"] = 12] = "formFeed";
427
+ CharacterCodes2[CharacterCodes2["tab"] = 9] = "tab";
427
428
  })(CharacterCodes || (CharacterCodes = {}));
428
429
 
429
430
  // ../../../node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/string-intern.js
@@ -462,8 +463,8 @@ var cachedBreakLinesWithSpaces = {
462
463
 
463
464
  // ../../../node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/parser.js
464
465
  var ParseOptions;
465
- (function(ParseOptions) {
466
- ParseOptions.DEFAULT = {
466
+ (function(ParseOptions2) {
467
+ ParseOptions2.DEFAULT = {
467
468
  allowTrailingComma: false
468
469
  };
469
470
  })(ParseOptions || (ParseOptions = {}));
@@ -765,54 +766,54 @@ function visit(text, visitor, options = ParseOptions.DEFAULT) {
765
766
 
766
767
  // ../../../node_modules/.bun/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/main.js
767
768
  var ScanError;
768
- (function(ScanError) {
769
- ScanError[ScanError["None"] = 0] = "None";
770
- ScanError[ScanError["UnexpectedEndOfComment"] = 1] = "UnexpectedEndOfComment";
771
- ScanError[ScanError["UnexpectedEndOfString"] = 2] = "UnexpectedEndOfString";
772
- ScanError[ScanError["UnexpectedEndOfNumber"] = 3] = "UnexpectedEndOfNumber";
773
- ScanError[ScanError["InvalidUnicode"] = 4] = "InvalidUnicode";
774
- ScanError[ScanError["InvalidEscapeCharacter"] = 5] = "InvalidEscapeCharacter";
775
- ScanError[ScanError["InvalidCharacter"] = 6] = "InvalidCharacter";
769
+ (function(ScanError2) {
770
+ ScanError2[ScanError2["None"] = 0] = "None";
771
+ ScanError2[ScanError2["UnexpectedEndOfComment"] = 1] = "UnexpectedEndOfComment";
772
+ ScanError2[ScanError2["UnexpectedEndOfString"] = 2] = "UnexpectedEndOfString";
773
+ ScanError2[ScanError2["UnexpectedEndOfNumber"] = 3] = "UnexpectedEndOfNumber";
774
+ ScanError2[ScanError2["InvalidUnicode"] = 4] = "InvalidUnicode";
775
+ ScanError2[ScanError2["InvalidEscapeCharacter"] = 5] = "InvalidEscapeCharacter";
776
+ ScanError2[ScanError2["InvalidCharacter"] = 6] = "InvalidCharacter";
776
777
  })(ScanError || (ScanError = {}));
777
778
  var SyntaxKind;
778
- (function(SyntaxKind) {
779
- SyntaxKind[SyntaxKind["OpenBraceToken"] = 1] = "OpenBraceToken";
780
- SyntaxKind[SyntaxKind["CloseBraceToken"] = 2] = "CloseBraceToken";
781
- SyntaxKind[SyntaxKind["OpenBracketToken"] = 3] = "OpenBracketToken";
782
- SyntaxKind[SyntaxKind["CloseBracketToken"] = 4] = "CloseBracketToken";
783
- SyntaxKind[SyntaxKind["CommaToken"] = 5] = "CommaToken";
784
- SyntaxKind[SyntaxKind["ColonToken"] = 6] = "ColonToken";
785
- SyntaxKind[SyntaxKind["NullKeyword"] = 7] = "NullKeyword";
786
- SyntaxKind[SyntaxKind["TrueKeyword"] = 8] = "TrueKeyword";
787
- SyntaxKind[SyntaxKind["FalseKeyword"] = 9] = "FalseKeyword";
788
- SyntaxKind[SyntaxKind["StringLiteral"] = 10] = "StringLiteral";
789
- SyntaxKind[SyntaxKind["NumericLiteral"] = 11] = "NumericLiteral";
790
- SyntaxKind[SyntaxKind["LineCommentTrivia"] = 12] = "LineCommentTrivia";
791
- SyntaxKind[SyntaxKind["BlockCommentTrivia"] = 13] = "BlockCommentTrivia";
792
- SyntaxKind[SyntaxKind["LineBreakTrivia"] = 14] = "LineBreakTrivia";
793
- SyntaxKind[SyntaxKind["Trivia"] = 15] = "Trivia";
794
- SyntaxKind[SyntaxKind["Unknown"] = 16] = "Unknown";
795
- SyntaxKind[SyntaxKind["EOF"] = 17] = "EOF";
779
+ (function(SyntaxKind2) {
780
+ SyntaxKind2[SyntaxKind2["OpenBraceToken"] = 1] = "OpenBraceToken";
781
+ SyntaxKind2[SyntaxKind2["CloseBraceToken"] = 2] = "CloseBraceToken";
782
+ SyntaxKind2[SyntaxKind2["OpenBracketToken"] = 3] = "OpenBracketToken";
783
+ SyntaxKind2[SyntaxKind2["CloseBracketToken"] = 4] = "CloseBracketToken";
784
+ SyntaxKind2[SyntaxKind2["CommaToken"] = 5] = "CommaToken";
785
+ SyntaxKind2[SyntaxKind2["ColonToken"] = 6] = "ColonToken";
786
+ SyntaxKind2[SyntaxKind2["NullKeyword"] = 7] = "NullKeyword";
787
+ SyntaxKind2[SyntaxKind2["TrueKeyword"] = 8] = "TrueKeyword";
788
+ SyntaxKind2[SyntaxKind2["FalseKeyword"] = 9] = "FalseKeyword";
789
+ SyntaxKind2[SyntaxKind2["StringLiteral"] = 10] = "StringLiteral";
790
+ SyntaxKind2[SyntaxKind2["NumericLiteral"] = 11] = "NumericLiteral";
791
+ SyntaxKind2[SyntaxKind2["LineCommentTrivia"] = 12] = "LineCommentTrivia";
792
+ SyntaxKind2[SyntaxKind2["BlockCommentTrivia"] = 13] = "BlockCommentTrivia";
793
+ SyntaxKind2[SyntaxKind2["LineBreakTrivia"] = 14] = "LineBreakTrivia";
794
+ SyntaxKind2[SyntaxKind2["Trivia"] = 15] = "Trivia";
795
+ SyntaxKind2[SyntaxKind2["Unknown"] = 16] = "Unknown";
796
+ SyntaxKind2[SyntaxKind2["EOF"] = 17] = "EOF";
796
797
  })(SyntaxKind || (SyntaxKind = {}));
797
798
  var parse2 = parse;
798
799
  var ParseErrorCode;
799
- (function(ParseErrorCode) {
800
- ParseErrorCode[ParseErrorCode["InvalidSymbol"] = 1] = "InvalidSymbol";
801
- ParseErrorCode[ParseErrorCode["InvalidNumberFormat"] = 2] = "InvalidNumberFormat";
802
- ParseErrorCode[ParseErrorCode["PropertyNameExpected"] = 3] = "PropertyNameExpected";
803
- ParseErrorCode[ParseErrorCode["ValueExpected"] = 4] = "ValueExpected";
804
- ParseErrorCode[ParseErrorCode["ColonExpected"] = 5] = "ColonExpected";
805
- ParseErrorCode[ParseErrorCode["CommaExpected"] = 6] = "CommaExpected";
806
- ParseErrorCode[ParseErrorCode["CloseBraceExpected"] = 7] = "CloseBraceExpected";
807
- ParseErrorCode[ParseErrorCode["CloseBracketExpected"] = 8] = "CloseBracketExpected";
808
- ParseErrorCode[ParseErrorCode["EndOfFileExpected"] = 9] = "EndOfFileExpected";
809
- ParseErrorCode[ParseErrorCode["InvalidCommentToken"] = 10] = "InvalidCommentToken";
810
- ParseErrorCode[ParseErrorCode["UnexpectedEndOfComment"] = 11] = "UnexpectedEndOfComment";
811
- ParseErrorCode[ParseErrorCode["UnexpectedEndOfString"] = 12] = "UnexpectedEndOfString";
812
- ParseErrorCode[ParseErrorCode["UnexpectedEndOfNumber"] = 13] = "UnexpectedEndOfNumber";
813
- ParseErrorCode[ParseErrorCode["InvalidUnicode"] = 14] = "InvalidUnicode";
814
- ParseErrorCode[ParseErrorCode["InvalidEscapeCharacter"] = 15] = "InvalidEscapeCharacter";
815
- ParseErrorCode[ParseErrorCode["InvalidCharacter"] = 16] = "InvalidCharacter";
800
+ (function(ParseErrorCode2) {
801
+ ParseErrorCode2[ParseErrorCode2["InvalidSymbol"] = 1] = "InvalidSymbol";
802
+ ParseErrorCode2[ParseErrorCode2["InvalidNumberFormat"] = 2] = "InvalidNumberFormat";
803
+ ParseErrorCode2[ParseErrorCode2["PropertyNameExpected"] = 3] = "PropertyNameExpected";
804
+ ParseErrorCode2[ParseErrorCode2["ValueExpected"] = 4] = "ValueExpected";
805
+ ParseErrorCode2[ParseErrorCode2["ColonExpected"] = 5] = "ColonExpected";
806
+ ParseErrorCode2[ParseErrorCode2["CommaExpected"] = 6] = "CommaExpected";
807
+ ParseErrorCode2[ParseErrorCode2["CloseBraceExpected"] = 7] = "CloseBraceExpected";
808
+ ParseErrorCode2[ParseErrorCode2["CloseBracketExpected"] = 8] = "CloseBracketExpected";
809
+ ParseErrorCode2[ParseErrorCode2["EndOfFileExpected"] = 9] = "EndOfFileExpected";
810
+ ParseErrorCode2[ParseErrorCode2["InvalidCommentToken"] = 10] = "InvalidCommentToken";
811
+ ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfComment"] = 11] = "UnexpectedEndOfComment";
812
+ ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfString"] = 12] = "UnexpectedEndOfString";
813
+ ParseErrorCode2[ParseErrorCode2["UnexpectedEndOfNumber"] = 13] = "UnexpectedEndOfNumber";
814
+ ParseErrorCode2[ParseErrorCode2["InvalidUnicode"] = 14] = "InvalidUnicode";
815
+ ParseErrorCode2[ParseErrorCode2["InvalidEscapeCharacter"] = 15] = "InvalidEscapeCharacter";
816
+ ParseErrorCode2[ParseErrorCode2["InvalidCharacter"] = 16] = "InvalidCharacter";
816
817
  })(ParseErrorCode || (ParseErrorCode = {}));
817
818
 
818
819
  // src/defaults/atomic-json-file.ts
@@ -1138,7 +1139,7 @@ function isProjectConfig(value) {
1138
1139
  async function loadProjectConfig(rootDir = process.cwd()) {
1139
1140
  try {
1140
1141
  const content = await readFile(getConfigPath(rootDir), "utf8");
1141
- const parsed = parseJsonc2(content);
1142
+ const parsed = parseJsonc(content);
1142
1143
  return isProjectConfig(parsed) ? parsed : null;
1143
1144
  } catch {
1144
1145
  return null;
@@ -1207,7 +1208,7 @@ async function loadPushDefaults(opts) {
1207
1208
  if (!config || !accessToken) {
1208
1209
  return { baseUrl, projectId: undefined, accessToken };
1209
1210
  }
1210
- const resolved = await resolveProjectRef(createScarnClient2(baseUrl), config.project, {
1211
+ const resolved = await resolveProjectRef(createScarnClient(baseUrl), config.project, {
1211
1212
  headers: { Authorization: `Bearer ${accessToken}` },
1212
1213
  action: "push pipelines to"
1213
1214
  });
@@ -1,24 +1,26 @@
1
1
  // @bun
2
2
  import {
3
- PipelineDefinitionsApiError2,
4
- createPipelineDefinitionsClient2,
5
- WORK_ITEM_TOP_LEVEL_FIELDS2,
6
- WORK_ITEM_FIELDS_PATH_PREFIX2,
7
- resolveWorkItemFieldPath2,
8
- DEFAULT_PIPELINE_ASSIGNMENT_FILENAME2,
9
- defaultPipelineAssignment2,
10
- serializeDefaultPipelineAssignment2,
11
- isDefaultPipelineAssignmentSpec2
12
- } from "../../chunk-qpw5wt1p.js";
13
- import"../../chunk-ynk2bjae.js";
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
- DEFAULT_PIPELINE_ASSIGNMENT_FILENAME2 as DEFAULT_PIPELINE_ASSIGNMENT_FILENAME,
16
- PipelineDefinitionsApiError2 as PipelineDefinitionsApiError,
17
- WORK_ITEM_FIELDS_PATH_PREFIX2 as WORK_ITEM_FIELDS_PATH_PREFIX,
18
- WORK_ITEM_TOP_LEVEL_FIELDS2 as WORK_ITEM_TOP_LEVEL_FIELDS,
19
- createPipelineDefinitionsClient2 as createPipelineDefinitionsClient,
20
- defaultPipelineAssignment2 as defaultPipelineAssignment,
21
- isDefaultPipelineAssignmentSpec2 as isDefaultPipelineAssignmentSpec,
22
- resolveWorkItemFieldPath2 as resolveWorkItemFieldPath,
23
- serializeDefaultPipelineAssignment2 as serializeDefaultPipelineAssignment
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
- ARTIFACT_BRAND2,
4
- ArtifactTypes2,
5
- normalizeArtifactAccept2,
6
- artifact2,
7
- Artifact2,
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
- createPromptInputProxy2,
10
- createPromptTemplateContext2,
11
- renderPromptTemplate2,
12
- isSecretLookingEnvName2,
13
- Env2,
14
- normalizeEnv2,
15
- Repo2,
16
- compileRepo2,
17
- Runtime2,
18
- compileEnvironment2,
19
- isMcpHandle2,
20
- defineMcp2,
21
- resolveMcpChecks2,
22
- compileMcps2,
23
- compileStepErrors2,
24
- compileStepRetry2,
25
- toStepHandle2,
26
- toStepSpec2,
27
- defineStep2,
28
- codeStep2,
29
- createStepDefinitionsClient2,
30
- Features2,
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
- ARTIFACT_BRAND2 as ARTIFACT_BRAND,
45
- Artifact2 as Artifact,
46
- ArtifactTypes2 as ArtifactTypes,
47
- Env2 as Env,
48
- Features2 as Features,
49
- Notify2 as Notify,
50
- Repo2 as Repo,
51
- Runtime2 as Runtime,
52
- artifact2 as artifact,
53
- codeStep2 as codeStep,
54
- compileEnvironment2 as compileEnvironment,
55
- compileMcps2 as compileMcps,
56
- compileRepo2 as compileRepo,
57
- compileStepErrors2 as compileStepErrors,
58
- compileStepRetry2 as compileStepRetry,
59
- createPromptInputProxy2 as createPromptInputProxy,
60
- createPromptTemplateContext2 as createPromptTemplateContext,
61
- createStepDefinitionsClient2 as createStepDefinitionsClient,
62
- defineMcp2 as defineMcp,
63
- defineStep2 as defineStep,
64
- isMcpHandle2 as isMcpHandle,
65
- isSecretLookingEnvName2 as isSecretLookingEnvName,
66
- normalizeArtifactAccept2 as normalizeArtifactAccept,
67
- normalizeEnv2 as normalizeEnv,
68
- renderPromptTemplate2 as renderPromptTemplate,
69
- resolveMcpChecks2 as resolveMcpChecks,
70
- toStepHandle2 as toStepHandle,
71
- toStepSpec2 as toStepSpec,
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
- listPaths2,
4
- validateDefinitionSpecs2,
5
- assertValidDefinitionSpecs2
6
- } from "../../chunk-ny07ncb9.js";
7
- import"../../chunk-p6kc9wq8.js";
8
- import"../../chunk-9s07v9r1.js";
9
- import"../../chunk-s0gap8r8.js";
10
- import"../../chunk-b21233rt.js";
11
- import"../../chunk-631ffb6r.js";
12
- import"../../chunk-56e4kp0a.js";
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
- assertValidDefinitionSpecs2 as assertValidDefinitionSpecs,
15
- listPaths2 as listPaths,
16
- validateDefinitionSpecs2 as validateDefinitionSpecs
16
+ assertValidDefinitionSpecs,
17
+ listPaths,
18
+ validateDefinitionSpecs
17
19
  };
@@ -1,13 +1,15 @@
1
1
  // @bun
2
2
  import {
3
- MAX_DEVCONTAINER_CONFIG_PATH_LENGTH2,
4
- DEVCONTAINER_CONFIG_BASENAMES2,
5
- normalizeDevcontainerConfigPath2,
6
- devcontainerConfigPathSchema2
7
- } from "./chunk-9s07v9r1.js";
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
- DEVCONTAINER_CONFIG_BASENAMES2 as DEVCONTAINER_CONFIG_BASENAMES,
10
- MAX_DEVCONTAINER_CONFIG_PATH_LENGTH2 as MAX_DEVCONTAINER_CONFIG_PATH_LENGTH,
11
- devcontainerConfigPathSchema2 as devcontainerConfigPathSchema,
12
- normalizeDevcontainerConfigPath2 as normalizeDevcontainerConfigPath
11
+ DEVCONTAINER_CONFIG_BASENAMES,
12
+ MAX_DEVCONTAINER_CONFIG_PATH_LENGTH,
13
+ devcontainerConfigPathSchema,
14
+ normalizeDevcontainerConfigPath
13
15
  };