deepline 0.3.516 → 0.3.517

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 (127) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-production-gate.ts +32 -5
  4. package/dist/cli/{artifacts-KMWS32R5.js → artifacts-7KCI2YKZ.js} +18 -18
  5. package/dist/cli/{artifacts-G56FISIE.mjs → artifacts-LGDMUNP5.mjs} +6 -6
  6. package/dist/cli/auth-MHMCB7ND.js +43 -0
  7. package/dist/cli/{auth-RSS7MOBV.mjs → auth-W75IFBH3.mjs} +5 -5
  8. package/dist/cli/{billing-RCC6WBIZ.js → billing-SWBINQZC.js} +79 -79
  9. package/dist/cli/{billing-2ALO3XEG.mjs → billing-WF2UJVMC.mjs} +6 -6
  10. package/dist/cli/{chunk-EYWP5JPU.mjs → chunk-22S2QG2H.mjs} +4 -4
  11. package/dist/cli/{chunk-RB5EMAWD.mjs → chunk-3XV2UGZ7.mjs} +1 -1
  12. package/dist/cli/{chunk-XEQBYK4B.js → chunk-4T6AUBI7.js} +7 -7
  13. package/dist/cli/{chunk-2YEFJHAF.mjs → chunk-4XJL4F5U.mjs} +3 -3
  14. package/dist/cli/{chunk-QUSYG3VP.js → chunk-5A6UQOYE.js} +3 -3
  15. package/dist/cli/{chunk-VIZJIBI4.js → chunk-5ANZ57SA.js} +10 -10
  16. package/dist/cli/{chunk-N6Q5SDGA.js → chunk-6VFY6ZZJ.js} +44 -44
  17. package/dist/cli/{chunk-RLI6FDQM.js → chunk-7P4BIRFS.js} +6 -6
  18. package/dist/cli/{chunk-Q47MAAHI.mjs → chunk-AQUV5AXP.mjs} +1 -1
  19. package/dist/cli/{chunk-6ADGVZRX.mjs → chunk-ASMUKT2H.mjs} +5 -5
  20. package/dist/cli/{chunk-W5I53WQ4.js → chunk-AUQQCAGW.js} +96 -96
  21. package/dist/cli/{chunk-6ZLL5GDN.js → chunk-BNWI33W3.js} +2 -2
  22. package/dist/cli/{chunk-CA24C3XL.mjs → chunk-C5QDX54T.mjs} +3 -3
  23. package/dist/cli/{chunk-4IIK6GIY.js → chunk-CDRBJOTJ.js} +9 -9
  24. package/dist/cli/{chunk-X2YP36YP.mjs → chunk-EP4NPHKZ.mjs} +1 -1
  25. package/dist/cli/{chunk-PPYJXP4Z.js → chunk-G7DNBQQE.js} +22 -22
  26. package/dist/cli/{chunk-HY6KAW5H.mjs → chunk-HM42PD4D.mjs} +5 -5
  27. package/dist/cli/{chunk-QG4LIOGI.mjs → chunk-HN3M54JJ.mjs} +2 -2
  28. package/dist/cli/{chunk-C2SR3X7Y.mjs → chunk-HRHAX2IU.mjs} +2 -2
  29. package/dist/cli/{chunk-V46UBZBJ.mjs → chunk-IKBC5NYO.mjs} +2 -2
  30. package/dist/cli/{chunk-WCQ7JGDV.mjs → chunk-IUFWQ5HW.mjs} +1 -1
  31. package/dist/cli/{chunk-P6AADORO.js → chunk-JH43VNY6.js} +3 -3
  32. package/dist/cli/{chunk-J4VMWSQK.mjs → chunk-KQKUPUVG.mjs} +6 -6
  33. package/dist/cli/{chunk-72L5HQ3J.js → chunk-MZBQTSAX.js} +5 -5
  34. package/dist/cli/{chunk-JB6FEEDQ.js → chunk-N7L76I62.js} +2 -2
  35. package/dist/cli/{chunk-YS7AI7R6.js → chunk-NKFVUGSA.js} +7 -7
  36. package/dist/cli/{chunk-LCKAG5RL.mjs → chunk-NQL2KV3T.mjs} +2 -2
  37. package/dist/cli/{chunk-E7ZM2ZRD.mjs → chunk-PGQ24IXZ.mjs} +5 -5
  38. package/dist/cli/{chunk-5NU37KME.mjs → chunk-PGSAISXG.mjs} +2 -2
  39. package/dist/cli/{chunk-H6BSB2YJ.mjs → chunk-PHP674RR.mjs} +1 -1
  40. package/dist/cli/{chunk-JPLEDOEW.mjs → chunk-PIXPD62R.mjs} +2 -2
  41. package/dist/cli/{chunk-QX7WDG4V.js → chunk-PTJFL3WW.js} +11 -11
  42. package/dist/cli/{chunk-72MFP7V4.mjs → chunk-QGLY4XXN.mjs} +1 -1
  43. package/dist/cli/{chunk-PMS3LQ6B.js → chunk-QMJGNAK4.js} +5 -5
  44. package/dist/cli/{chunk-LWUFEX26.mjs → chunk-R7MNIJZN.mjs} +2 -2
  45. package/dist/cli/{chunk-7R2V5Z6O.js → chunk-RHF5UIYX.js} +41 -41
  46. package/dist/cli/{chunk-C72J6JE3.mjs → chunk-S25URYNM.mjs} +1 -1
  47. package/dist/cli/{chunk-RB3OR32I.js → chunk-SQ4KGLWP.js} +16 -16
  48. package/dist/cli/{chunk-TZNQRKDF.js → chunk-STHTJ56U.js} +1 -1
  49. package/dist/cli/{chunk-UW5QWTUG.js → chunk-SWAXMOMW.js} +14 -14
  50. package/dist/cli/{chunk-ZFRN3B2R.mjs → chunk-T6KXZNWM.mjs} +1 -1
  51. package/dist/cli/{chunk-Z3KLCDCB.mjs → chunk-TJZAYI77.mjs} +5 -5
  52. package/dist/cli/{chunk-FIIBDWAO.js → chunk-TRIFS75L.js} +53 -53
  53. package/dist/cli/{chunk-LZROM6VQ.js → chunk-TYFTBB24.js} +2 -2
  54. package/dist/cli/{chunk-QG3MRMU5.js → chunk-U6QC4WT6.js} +4 -4
  55. package/dist/cli/{chunk-WE223LFR.js → chunk-UIIUCB4A.js} +16 -16
  56. package/dist/cli/{chunk-CKEZXNMV.js → chunk-VPM64DAL.js} +6 -6
  57. package/dist/cli/{chunk-ZMCQP4EU.mjs → chunk-YLI5CKGB.mjs} +10 -10
  58. package/dist/cli/{chunk-PVVWKOEB.mjs → chunk-ZA3DRRHR.mjs} +1 -1
  59. package/dist/cli/{chunk-PKKSXXZ5.js → chunk-ZWPRFZAF.js} +26 -26
  60. package/dist/cli/{csv-YXK5TB47.mjs → csv-I22P5M5Y.mjs} +4 -4
  61. package/dist/cli/{csv-RPR64UBS.js → csv-MEQSN7FP.js} +13 -13
  62. package/dist/cli/{db-KO3JCGRG.js → db-RSDJF4D7.js} +27 -27
  63. package/dist/cli/{db-UQYILAMF.mjs → db-X7SQQW34.mjs} +6 -6
  64. package/dist/cli/describe-BCKVF2DC.js +50 -0
  65. package/dist/cli/{describe-P2OK5X2S.mjs → describe-H6KM4KPD.mjs} +18 -18
  66. package/dist/cli/{executions-5Z7H7HV3.js → executions-KPEOFSKD.js} +8 -8
  67. package/dist/cli/{executions-IQCRQXVA.mjs → executions-SCID4WZT.mjs} +6 -6
  68. package/dist/cli/{feedback-ZO6A4HTV.mjs → feedback-PQRD6XLU.mjs} +5 -5
  69. package/dist/cli/{feedback-EDZJDARP.js → feedback-R3R7CENU.js} +10 -10
  70. package/dist/cli/{git-OBXSILWM.mjs → git-IWUFEG56.mjs} +5 -5
  71. package/dist/cli/git-NJGV6I6K.js +25 -0
  72. package/dist/cli/index.js +141 -141
  73. package/dist/cli/index.mjs +43 -43
  74. package/dist/cli/{legacy-noops-4UJM3FMN.mjs → legacy-noops-42W5OOGA.mjs} +6 -6
  75. package/dist/cli/{legacy-noops-HKXU2EU6.js → legacy-noops-S2EQ3DW6.js} +9 -9
  76. package/dist/cli/{monitors-7EP3Q2DX.js → monitors-Q6WIKBLU.js} +100 -100
  77. package/dist/cli/{monitors-ZXF2KCW7.mjs → monitors-WS7SZ4X6.mjs} +7 -7
  78. package/dist/cli/{org-EDHCUR6V.mjs → org-RLGVNZQ7.mjs} +6 -6
  79. package/dist/cli/{org-GFGOTUWP.js → org-XAYQWGZK.js} +72 -72
  80. package/dist/cli/{pages-EGEWMPJN.mjs → pages-H5QIFW6M.mjs} +6 -6
  81. package/dist/cli/{pages-TLFQQL5S.js → pages-RHET3HGT.js} +18 -18
  82. package/dist/cli/{play-NBO3MPDL.mjs → play-4ZWS7CAF.mjs} +18 -18
  83. package/dist/cli/{play-XDHJY5R4.js → play-OPQJACQN.js} +317 -317
  84. package/dist/cli/{providers-NXJ7WPNH.mjs → providers-276TVAW5.mjs} +6 -6
  85. package/dist/cli/{providers-RU6BGEDM.js → providers-HQ47SEXO.js} +9 -9
  86. package/dist/cli/{quickstart-4ZZBMZPF.js → quickstart-C2B32MOC.js} +6 -6
  87. package/dist/cli/{quickstart-YBNDPNAR.mjs → quickstart-VYTNG7KH.mjs} +4 -4
  88. package/dist/cli/{run-LX52KVZM.mjs → run-4SIWK5Y2.mjs} +23 -23
  89. package/dist/cli/{run-374CTJBV.js → run-O4MJLK2I.js} +41 -41
  90. package/dist/cli/search-NLMIJYHK.js +33 -0
  91. package/dist/cli/{search-EH6JPV62.mjs → search-ZC4SHHDP.mjs} +8 -8
  92. package/dist/cli/{search-output-NATLJOWW.js → search-output-7LZ4T33R.js} +6 -6
  93. package/dist/cli/{search-output-XIQERUHF.mjs → search-output-EZN2UETF.mjs} +4 -4
  94. package/dist/cli/{secrets-VRJQFUKF.mjs → secrets-JHJSUL6I.mjs} +6 -6
  95. package/dist/cli/{secrets-A3UXDE5V.js → secrets-QRNMUW5O.js} +15 -15
  96. package/dist/cli/sessions-4BVQJDIE.js +18 -0
  97. package/dist/cli/{sessions-5TTH5FGZ.mjs → sessions-CAZ4FK7F.mjs} +6 -6
  98. package/dist/cli/{settings-LX5EGLVT.js → settings-52P7HHH4.js} +86 -86
  99. package/dist/cli/{settings-VRGFTOTJ.mjs → settings-PI3F4DXU.mjs} +13 -13
  100. package/dist/cli/{setup-FXP5Y3Y6.mjs → setup-KVZ4AMHC.mjs} +10 -10
  101. package/dist/cli/{setup-QL4YWKOR.js → setup-Y5BFQAWN.js} +50 -50
  102. package/dist/cli/{skills-ET4PMBJE.mjs → skills-FG64C72D.mjs} +8 -8
  103. package/dist/cli/skills-LI4UH6FW.js +37 -0
  104. package/dist/cli/{tools-WPL3NZAA.mjs → tools-2SPVUFNO.mjs} +17 -17
  105. package/dist/cli/tools-GUC4BGUK.js +57 -0
  106. package/dist/cli/update-BBXSYFMA.js +35 -0
  107. package/dist/cli/{update-OCAHAKL2.mjs → update-GJD5NYSO.mjs} +10 -10
  108. package/dist/cli/{workflow-NPZ2RLQG.mjs → workflow-JGGDTRCA.mjs} +7 -7
  109. package/dist/cli/{workflow-CWO3XL4O.js → workflow-LGITND7U.js} +17 -17
  110. package/dist/index.js +9 -9
  111. package/dist/index.mjs +6 -6
  112. package/dist/install-integrity.json +104 -104
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/dist/server.js +5 -5
  118. package/dist/server.mjs +3 -3
  119. package/package.json +1 -1
  120. package/dist/cli/auth-6EIEZ3UE.js +0 -43
  121. package/dist/cli/describe-BPX3U2BF.js +0 -50
  122. package/dist/cli/git-Y34J73QC.js +0 -25
  123. package/dist/cli/search-YS4DHSQC.js +0 -33
  124. package/dist/cli/sessions-EXII5VOV.js +0 -18
  125. package/dist/cli/skills-5L4CYX3V.js +0 -37
  126. package/dist/cli/tools-5V77VIUA.js +0 -57
  127. package/dist/cli/update-G5RSSWM5.js +0 -35
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
205
205
  // getters keep their established compatibility behavior.
206
206
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
207
207
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
208
- version: '0.3.516',
208
+ version: '0.3.517',
209
209
  updateSummary: {
210
210
  introducedIn: '0.3.90',
211
211
  summary:
@@ -291,6 +291,24 @@
291
291
  "failureAlert": "github_workflow_run",
292
292
  "domainReportRequired": true
293
293
  },
294
+ {
295
+ "id": "github.search-evals-nightly",
296
+ "name": "Search evals",
297
+ "scheduler": "github_actions",
298
+ "cadence": "15 8 * * *",
299
+ "timezone": "UTC",
300
+ "source": ".github/workflows/search-evals-nightly.yml",
301
+ "locator": "schedule:",
302
+ "owner": "evals",
303
+ "criticality": "reporting",
304
+ "purpose": "Send every labeled search case and a sample of the last 28 days of customer searches to Production search from a disposable workspace and publish each search's served results and per-group scores for Ojos.",
305
+ "successDefinition": "The actual-usage suite is built, every search is answered, the summary and cases publish, and the disposable workspace is deleted.",
306
+ "failureDefinition": "The actual-usage suite cannot be built, workspace bootstrap, a search, the publish, or workspace deletion fails.",
307
+ "startGraceMs": 600000,
308
+ "runTimeoutMs": 7200000,
309
+ "failureAlert": "github_workflow_run",
310
+ "domainReportRequired": true
311
+ },
294
312
  {
295
313
  "id": "github.fly-pr-preview-cleanup",
296
314
  "name": "Reconcile Fly PR Preview Capacity",
@@ -2,6 +2,7 @@ export type VercelDeployment = {
2
2
  id?: string;
3
3
  /** Vercel's deployment-list endpoint names this same identifier `uid`. */
4
4
  uid?: string;
5
+ projectId?: string;
5
6
  url?: string;
6
7
  gitSource?: { sha?: string };
7
8
  meta?: { githubCommitSha?: string };
@@ -38,18 +39,35 @@ export function decideVercelStagedProductionPolicy(input: {
38
39
  : { kind: 'auto-assign-enabled' };
39
40
  }
40
41
 
41
- function deploymentSha(deployment: VercelDeployment): string | undefined {
42
- return deployment.meta?.githubCommitSha ?? deployment.gitSource?.sha;
42
+ export function deploymentSha(
43
+ deployment: VercelDeployment,
44
+ ): string | undefined {
45
+ return deployment.gitSource?.sha ?? deployment.meta?.githubCommitSha;
43
46
  }
44
47
 
45
48
  export function deploymentId(deployment: VercelDeployment): string | undefined {
46
49
  return deployment.id ?? deployment.uid;
47
50
  }
48
51
 
52
+ const buildingStates = new Set(['QUEUED', 'INITIALIZING', 'BUILDING']);
53
+
54
+ export function isUsableVercelProductionBuild(
55
+ deployment: VercelDeployment,
56
+ expectedSha: string,
57
+ ): boolean {
58
+ return (
59
+ deploymentSha(deployment) === expectedSha &&
60
+ deployment.target === 'production' &&
61
+ Boolean(deploymentId(deployment)) &&
62
+ (deployment.readyState === 'READY'
63
+ ? Boolean(deployment.url)
64
+ : buildingStates.has(deployment.readyState ?? ''))
65
+ );
66
+ }
67
+
49
68
  /**
50
- * Git creates the production build; the release controller only promotes the
51
- * already-staged deployment after its runtime proof has passed. Keep that one
52
- * provider mutation shared by normal release and panic recovery.
69
+ * The release controller promotes the staged deployment after its runtime
70
+ * proof has passed. Normal release and panic recovery share this mutation.
53
71
  */
54
72
  export async function promoteVercelProductionDeployment(input: {
55
73
  deploymentId: string;
@@ -117,6 +135,15 @@ export function decideVercelStagedProductionGate(input: {
117
135
  );
118
136
  if (staged) return { kind: 'ready', deployment: staged };
119
137
 
138
+ // A prior build for this SHA can be red while its replacement is building.
139
+ if (
140
+ candidates.some((deployment) =>
141
+ isUsableVercelProductionBuild(deployment, input.expectedSha),
142
+ )
143
+ ) {
144
+ return { kind: 'wait' };
145
+ }
146
+
120
147
  if (candidates.some((deployment) => deployment.readyState === 'ERROR')) {
121
148
  return {
122
149
  kind: 'vercel-failed',
@@ -1,22 +1,22 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkPMS3LQ6Bjs = require('./chunk-PMS3LQ6B.js');
4
- require('./chunk-YS7AI7R6.js');
3
+ var _chunkQMJGNAK4js = require('./chunk-QMJGNAK4.js');
4
+ require('./chunk-NKFVUGSA.js');
5
5
  require('./chunk-E4CABWXL.js');
6
6
  require('./chunk-6Y3DDRRN.js');
7
7
  require('./chunk-NMU3VR5U.js');
8
8
  require('./chunk-WSGXBROE.js');
9
9
 
10
10
 
11
- var _chunkXEQBYK4Bjs = require('./chunk-XEQBYK4B.js');
11
+ var _chunk4T6AUBI7js = require('./chunk-4T6AUBI7.js');
12
12
 
13
13
 
14
- var _chunkQUSYG3VPjs = require('./chunk-QUSYG3VP.js');
15
- require('./chunk-QG3MRMU5.js');
14
+ var _chunk5A6UQOYEjs = require('./chunk-5A6UQOYE.js');
15
+ require('./chunk-U6QC4WT6.js');
16
16
  require('./chunk-T2N3B7IQ.js');
17
17
  require('./chunk-XNYIZMNQ.js');
18
18
  require('./chunk-SQWET4SL.js');
19
- require('./chunk-TZNQRKDF.js');
19
+ require('./chunk-STHTJ56U.js');
20
20
  require('./chunk-OG64RBAC.js');
21
21
  require('./chunk-COGTRVWW.js');
22
22
 
@@ -24,7 +24,7 @@ require('./chunk-COGTRVWW.js');
24
24
  var _promises = require('fs/promises');
25
25
  var ARTIFACTS_FEATURE = "artifacts";
26
26
  function print(command, json, data, lines) {
27
- _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
27
+ _chunk4T6AUBI7js.printCommandEnvelope.call(void 0,
28
28
  { command, ...data, render: { sections: [{ title: command, lines }] } },
29
29
  { json: Boolean(json), text: `${lines.join("\n")}
30
30
  ` }
@@ -56,7 +56,7 @@ function artifactLines(artifact) {
56
56
  ];
57
57
  }
58
58
  function registerArtifactsCommands(program) {
59
- const artifacts = program.command("artifacts", { hidden: !_chunkQUSYG3VPjs.cliFeatureEnabled.call(void 0, ARTIFACTS_FEATURE) }).description(
59
+ const artifacts = program.command("artifacts", { hidden: !_chunk5A6UQOYEjs.cliFeatureEnabled.call(void 0, ARTIFACTS_FEATURE) }).description(
60
60
  "Show what a Play returns at a fixed URL on artifacts.deepline.com."
61
61
  ).addHelpText(
62
62
  "after",
@@ -69,7 +69,7 @@ Examples:
69
69
  );
70
70
  artifacts.command("list").description("List this workspace's artifacts.").option("--cursor <cursor>", "Continue from a previous page of results").option("--limit <n>", "Results per request, up to 100", Number).option("--json", "Emit raw JSON response").action(
71
71
  async (options) => run(async () => {
72
- const result = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().listArtifacts({
72
+ const result = await new (0, _chunkQMJGNAK4js.DeeplineClient)().listArtifacts({
73
73
  cursor: options.cursor,
74
74
  limit: options.limit
75
75
  });
@@ -84,7 +84,7 @@ Examples:
84
84
  );
85
85
  artifacts.command("get <id>").description("Show one artifact and what you may do with it.").option("--json", "Emit raw JSON response").action(
86
86
  async (id, options) => run(async () => {
87
- const artifact = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().getArtifact(id);
87
+ const artifact = await new (0, _chunkQMJGNAK4js.DeeplineClient)().getArtifact(id);
88
88
  print("artifacts get", options.json, artifact, [
89
89
  ...artifactLines(artifact),
90
90
  ` saved input ${JSON.stringify(artifact.input)}`
@@ -106,7 +106,7 @@ Examples:
106
106
  `
107
107
  ).action(
108
108
  async (options) => run(async () => {
109
- const artifact = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().createArtifact({
109
+ const artifact = await new (0, _chunkQMJGNAK4js.DeeplineClient)().createArtifact({
110
110
  name: options.name,
111
111
  play: options.play,
112
112
  ...options.input !== void 0 ? {
@@ -146,7 +146,7 @@ Examples:
146
146
  "Nothing to change. See: deepline artifacts edit --help"
147
147
  );
148
148
  }
149
- const artifact = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().updateArtifact(id, fields);
149
+ const artifact = await new (0, _chunkQMJGNAK4js.DeeplineClient)().updateArtifact(id, fields);
150
150
  print(
151
151
  "artifacts edit",
152
152
  options.json,
@@ -157,7 +157,7 @@ Examples:
157
157
  );
158
158
  artifacts.command("runs <id>").description("List runs of the artifact's Play, newest first.").option("--limit <n>", "Runs to list, up to 100", Number).option("--json", "Emit raw JSON response").action(
159
159
  async (id, options) => run(async () => {
160
- const result = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().listArtifactRuns(id, {
160
+ const result = await new (0, _chunkQMJGNAK4js.DeeplineClient)().listArtifactRuns(id, {
161
161
  limit: options.limit
162
162
  });
163
163
  print("artifacts runs", options.json, result, [
@@ -176,7 +176,7 @@ Examples:
176
176
  ).option("--json", "Emit raw JSON response").action(
177
177
  async (id, options) => run(async () => {
178
178
  const input = options.input !== void 0 ? await readJsonOption(options.input, "--input") : void 0;
179
- const started = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().refreshArtifact(id, input);
179
+ const started = await new (0, _chunkQMJGNAK4js.DeeplineClient)().refreshArtifact(id, input);
180
180
  print("artifacts refresh", options.json, started, [
181
181
  `Started run ${started.workflowId}.`,
182
182
  `Watch it: deepline runs get ${started.workflowId}`
@@ -188,7 +188,7 @@ Examples:
188
188
  if (access !== "workspace" && access !== "public") {
189
189
  throw new Error("Access is workspace or public.");
190
190
  }
191
- const artifact = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().setArtifactAccess(
191
+ const artifact = await new (0, _chunkQMJGNAK4js.DeeplineClient)().setArtifactAccess(
192
192
  id,
193
193
  access
194
194
  );
@@ -202,7 +202,7 @@ Examples:
202
202
  );
203
203
  artifacts.command("delete <id>").description("Delete an artifact. Its Play and runs are not touched.").option("--json", "Emit raw JSON response").action(
204
204
  async (id, options) => run(async () => {
205
- const result = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().deleteArtifact(id);
205
+ const result = await new (0, _chunkQMJGNAK4js.DeeplineClient)().deleteArtifact(id);
206
206
  print("artifacts delete", options.json, result, [
207
207
  `Deleted artifact ${id}.`
208
208
  ]);
@@ -213,7 +213,7 @@ Examples:
213
213
  );
214
214
  permissions.command("get", { isDefault: true }).description("Show the workspace's artifact rules and what you may do.").option("--json", "Emit raw JSON response").action(
215
215
  async (options) => run(async () => {
216
- const result = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().getArtifactPermissions();
216
+ const result = await new (0, _chunkQMJGNAK4js.DeeplineClient)().getArtifactPermissions();
217
217
  print("artifacts permissions", options.json, result, [
218
218
  ...Object.entries(result.rules).map(
219
219
  ([verb, level]) => `${verb}: ${level}`
@@ -251,7 +251,7 @@ Examples:
251
251
  "Pass at least one rule. See: deepline artifacts permissions set --help"
252
252
  );
253
253
  }
254
- const result = await new (0, _chunkPMS3LQ6Bjs.DeeplineClient)().setArtifactPermissions(rules);
254
+ const result = await new (0, _chunkQMJGNAK4js.DeeplineClient)().setArtifactPermissions(rules);
255
255
  print(
256
256
  "artifacts permissions set",
257
257
  options.json,
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-LCKAG5RL.mjs";
4
- import "./chunk-WCQ7JGDV.mjs";
3
+ } from "./chunk-NQL2KV3T.mjs";
4
+ import "./chunk-IUFWQ5HW.mjs";
5
5
  import "./chunk-L2VKAASU.mjs";
6
6
  import "./chunk-HT675XNR.mjs";
7
7
  import "./chunk-S3A4IXBQ.mjs";
8
8
  import "./chunk-BMCRTI6Z.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-V46UBZBJ.mjs";
11
+ } from "./chunk-IKBC5NYO.mjs";
12
12
  import {
13
13
  cliFeatureEnabled
14
- } from "./chunk-ZFRN3B2R.mjs";
15
- import "./chunk-PVVWKOEB.mjs";
14
+ } from "./chunk-T6KXZNWM.mjs";
15
+ import "./chunk-ZA3DRRHR.mjs";
16
16
  import "./chunk-QNHHZ63P.mjs";
17
17
  import "./chunk-DLIRSHV6.mjs";
18
18
  import "./chunk-ZPGGW27Q.mjs";
19
- import "./chunk-C72J6JE3.mjs";
19
+ import "./chunk-S25URYNM.mjs";
20
20
  import "./chunk-WZYKRD7T.mjs";
21
21
  import "./chunk-KRD6H754.mjs";
22
22
 
@@ -0,0 +1,43 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunkTRIFS75Ljs = require('./chunk-TRIFS75L.js');
18
+ require('./chunk-4T6AUBI7.js');
19
+ require('./chunk-5A6UQOYE.js');
20
+ require('./chunk-U6QC4WT6.js');
21
+ require('./chunk-T2N3B7IQ.js');
22
+ require('./chunk-XNYIZMNQ.js');
23
+ require('./chunk-SQWET4SL.js');
24
+ require('./chunk-STHTJ56U.js');
25
+ require('./chunk-OG64RBAC.js');
26
+ require('./chunk-COGTRVWW.js');
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ exports.EXIT_WORKSPACE_MISMATCH = _chunkTRIFS75Ljs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunkTRIFS75Ljs.authStatusLine; exports.clearPendingClaim = _chunkTRIFS75Ljs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunkTRIFS75Ljs.clearSatisfiedPendingClaim; exports.handleRegister = _chunkTRIFS75Ljs.handleRegister; exports.handleStatus = _chunkTRIFS75Ljs.handleStatus; exports.handleWait = _chunkTRIFS75Ljs.handleWait; exports.httpJson = _chunkTRIFS75Ljs.httpJson; exports.readPendingAuthClaim = _chunkTRIFS75Ljs.readPendingAuthClaim; exports.readStatusBanner = _chunkTRIFS75Ljs.readStatusBanner; exports.registerAuthCommands = _chunkTRIFS75Ljs.registerAuthCommands; exports.reportApprovalLinkShown = _chunkTRIFS75Ljs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunkTRIFS75Ljs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunkTRIFS75Ljs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunkTRIFS75Ljs.statusBannerLine;
@@ -14,14 +14,14 @@ import {
14
14
  reportSetupCompleted,
15
15
  resolvePendingAuthClaimForResume,
16
16
  statusBannerLine
17
- } from "./chunk-CA24C3XL.mjs";
18
- import "./chunk-V46UBZBJ.mjs";
19
- import "./chunk-ZFRN3B2R.mjs";
20
- import "./chunk-PVVWKOEB.mjs";
17
+ } from "./chunk-C5QDX54T.mjs";
18
+ import "./chunk-IKBC5NYO.mjs";
19
+ import "./chunk-T6KXZNWM.mjs";
20
+ import "./chunk-ZA3DRRHR.mjs";
21
21
  import "./chunk-QNHHZ63P.mjs";
22
22
  import "./chunk-DLIRSHV6.mjs";
23
23
  import "./chunk-ZPGGW27Q.mjs";
24
- import "./chunk-C72J6JE3.mjs";
24
+ import "./chunk-S25URYNM.mjs";
25
25
  import "./chunk-WZYKRD7T.mjs";
26
26
  import "./chunk-KRD6H754.mjs";
27
27
  export {