deepline 0.3.474 → 0.3.476

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 (155) hide show
  1. package/dist/bundling-sources/sdk/src/play.ts +2 -2
  2. package/dist/bundling-sources/sdk/src/release.ts +3 -3
  3. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +19 -6
  4. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
  5. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +24 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +21 -4
  7. package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +12 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +47 -21
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +18 -8
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +163 -40
  11. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -1
  12. package/dist/cli/auth-2ZY57Q7W.js +41 -0
  13. package/dist/cli/{auth-QMANU5PV.mjs → auth-A22724UX.mjs} +5 -5
  14. package/dist/cli/{billing-YJAP4VZN.mjs → billing-IIBEZ6J7.mjs} +6 -6
  15. package/dist/cli/{billing-WZ5POBZX.js → billing-T5Q6OO6M.js} +79 -79
  16. package/dist/cli/{chunk-35SZHTRW.mjs → chunk-2WEPQSA2.mjs} +5 -5
  17. package/dist/cli/{chunk-MXUJVCKV.mjs → chunk-2YHDNHRR.mjs} +4 -4
  18. package/dist/cli/{chunk-V4ILQ2DS.mjs → chunk-3A7TDUZV.mjs} +1 -1
  19. package/dist/cli/{chunk-BB4RZMWA.mjs → chunk-4WMIMSSI.mjs} +5 -5
  20. package/dist/cli/{chunk-ZRWQKTSX.mjs → chunk-4YWYLHED.mjs} +3 -3
  21. package/dist/cli/{chunk-ORQYKA4I.js → chunk-5AEEINTU.js} +4 -4
  22. package/dist/cli/{chunk-3NRZFMX4.js → chunk-5FBCMLJW.js} +6 -6
  23. package/dist/cli/{chunk-XNP7XTBN.js → chunk-5PYSYW63.js} +26 -26
  24. package/dist/cli/{chunk-PGKELBIY.js → chunk-6YZYCKWD.js} +51 -51
  25. package/dist/cli/{chunk-RXITRC37.js → chunk-7HAUVMRF.js} +3 -3
  26. package/dist/cli/{chunk-JCNJQH6X.js → chunk-A6BETJ2A.js} +3 -3
  27. package/dist/cli/{chunk-STLJYWUC.js → chunk-AS3VECCY.js} +7 -7
  28. package/dist/cli/{chunk-LHOEWAVD.js → chunk-B7PEXXRW.js} +53 -53
  29. package/dist/cli/{chunk-IK3VOGDR.js → chunk-CBVCCXIY.js} +21 -21
  30. package/dist/cli/{chunk-JEYX3345.mjs → chunk-CFSCHLNQ.mjs} +3 -3
  31. package/dist/cli/{chunk-3MZPWIOE.mjs → chunk-D7EQ4PI5.mjs} +1 -1
  32. package/dist/cli/{chunk-XP7FAYLN.js → chunk-EBWYNNTJ.js} +5 -5
  33. package/dist/cli/{chunk-DQZBERDL.mjs → chunk-F5PYBZ2H.mjs} +1 -1
  34. package/dist/cli/{chunk-AIPTW3EK.js → chunk-FK7SBMSZ.js} +3 -3
  35. package/dist/cli/{chunk-Z27NSLPC.mjs → chunk-FVPT44IJ.mjs} +1 -1
  36. package/dist/cli/{chunk-RGIQ5ZJX.mjs → chunk-H3GOAZHV.mjs} +2 -2
  37. package/dist/cli/{chunk-AWJKYS25.js → chunk-HSANVBVL.js} +2 -2
  38. package/dist/cli/{chunk-JSXMJSBE.js → chunk-IC3BZJR7.js} +8 -8
  39. package/dist/cli/{chunk-MNK4ZK2C.mjs → chunk-J4FCTFQS.mjs} +10 -10
  40. package/dist/cli/{chunk-MKSB2FTU.mjs → chunk-JU2KBLOR.mjs} +97 -12
  41. package/dist/cli/{chunk-EIKONWW7.mjs → chunk-KCP6XNRR.mjs} +1 -1
  42. package/dist/cli/{chunk-YKNULB7V.js → chunk-KGLIDLJ2.js} +5 -5
  43. package/dist/cli/{chunk-N62MS3XJ.js → chunk-L45IECBZ.js} +6 -6
  44. package/dist/cli/{chunk-7IYOWIEJ.mjs → chunk-LJFIUT5R.mjs} +2 -2
  45. package/dist/cli/{chunk-ZGC2SUAA.mjs → chunk-LZCYDU6Q.mjs} +2 -2
  46. package/dist/cli/{chunk-3ODBCZLL.js → chunk-MYYOCJZ2.js} +93 -93
  47. package/dist/cli/{chunk-DKR7QPEO.js → chunk-MZSLFWOT.js} +1 -1
  48. package/dist/cli/{chunk-26CZVDQN.mjs → chunk-NPNQCPFP.mjs} +2 -2
  49. package/dist/cli/{chunk-UKX4FESF.mjs → chunk-NREO7TT4.mjs} +2 -2
  50. package/dist/cli/{chunk-KKWQ24VM.mjs → chunk-NTJDZURV.mjs} +2 -2
  51. package/dist/cli/{chunk-4C34LGI4.js → chunk-PGNLD6L6.js} +10 -10
  52. package/dist/cli/{chunk-G3UHAYRX.js → chunk-TEJSRJNH.js} +8 -8
  53. package/dist/cli/{chunk-UGYLGT7B.mjs → chunk-UHTJWDYB.mjs} +3 -3
  54. package/dist/cli/{chunk-EK2TAZJZ.js → chunk-ULKGYVYP.js} +2 -2
  55. package/dist/cli/{chunk-DUGZKPRK.mjs → chunk-UYA7LJGC.mjs} +2 -2
  56. package/dist/cli/{chunk-YVJ6IWVD.mjs → chunk-VKBZLV2K.mjs} +1 -1
  57. package/dist/cli/{chunk-YFDTF2XC.js → chunk-VLYUFZUT.js} +9 -9
  58. package/dist/cli/{chunk-THDXVSNL.mjs → chunk-VPAVNEDQ.mjs} +4 -4
  59. package/dist/cli/{chunk-RLQIGBFK.js → chunk-W3BHZUPL.js} +3 -3
  60. package/dist/cli/{chunk-5QS4T4KR.js → chunk-WFVEMDQL.js} +2 -2
  61. package/dist/cli/{chunk-475V572K.js → chunk-WTPRRKZA.js} +131 -46
  62. package/dist/cli/{chunk-CXBEZAPU.js → chunk-YEJDFZJP.js} +16 -16
  63. package/dist/cli/{chunk-JJVYUKLY.mjs → chunk-YQOWMQEW.mjs} +1 -1
  64. package/dist/cli/{chunk-YK64UZXN.mjs → chunk-ZOXV6WFI.mjs} +1 -1
  65. package/dist/cli/{chunk-YX762HFK.mjs → chunk-ZV4OWYLZ.mjs} +2 -2
  66. package/dist/cli/command-docs.js +2 -2
  67. package/dist/cli/command-docs.mjs +1 -1
  68. package/dist/cli/{csv-ENKCFCSM.js → csv-FXOQ2PBE.js} +13 -13
  69. package/dist/cli/{csv-QCLQOIEA.mjs → csv-GPVCETS2.mjs} +4 -4
  70. package/dist/cli/{db-P25LGP33.mjs → db-F5UJTBGP.mjs} +6 -6
  71. package/dist/cli/{db-5TLBZDT3.js → db-LXYV4GPZ.js} +27 -27
  72. package/dist/cli/{describe-W2H5DHR6.mjs → describe-GYWCI7I6.mjs} +17 -17
  73. package/dist/cli/describe-IB7SUIUT.js +48 -0
  74. package/dist/cli/describe-core.d.mts +3 -3
  75. package/dist/cli/describe-core.d.ts +3 -3
  76. package/dist/cli/{executions-VYZCYUBR.mjs → executions-6NL2YW76.mjs} +6 -6
  77. package/dist/cli/{executions-YHFAWJOJ.js → executions-6SJKTY2L.js} +8 -8
  78. package/dist/cli/{feedback-K2FWYYLZ.mjs → feedback-7AMQCNTB.mjs} +4 -4
  79. package/dist/cli/{feedback-RJF3QSBB.js → feedback-E3HULSQD.js} +8 -8
  80. package/dist/cli/{git-S3APUPLL.mjs → git-74IS2EFH.mjs} +5 -5
  81. package/dist/cli/git-A2QIIMW5.js +25 -0
  82. package/dist/cli/index.js +139 -139
  83. package/dist/cli/index.mjs +41 -41
  84. package/dist/cli/{legacy-noops-ICYZACTW.mjs → legacy-noops-52FFRTRZ.mjs} +5 -5
  85. package/dist/cli/{legacy-noops-3SWNRE7Z.js → legacy-noops-ALWUQPKS.js} +8 -8
  86. package/dist/cli/{monitors-DEZCEQLB.mjs → monitors-VTJIWWW2.mjs} +7 -7
  87. package/dist/cli/{monitors-VRIWTRPG.js → monitors-Z4ADOGTY.js} +91 -91
  88. package/dist/cli/{org-NX752DTE.js → org-2BTEKDF5.js} +72 -72
  89. package/dist/cli/{org-IQW5ZIAO.mjs → org-7GU6H7JL.mjs} +6 -6
  90. package/dist/cli/{pages-5WQRVVKX.mjs → pages-I6PFQGEU.mjs} +6 -6
  91. package/dist/cli/{pages-YIBWYGVS.js → pages-MG36E7RY.js} +17 -17
  92. package/dist/cli/{play-WOMJXS4O.mjs → play-7KFSLJX2.mjs} +18 -18
  93. package/dist/cli/{play-3EXNH3HD.js → play-VN52S3RV.js} +321 -321
  94. package/dist/cli/{providers-XDVPYRTS.mjs → providers-D46JDEL2.mjs} +6 -6
  95. package/dist/cli/{providers-C2WYSR2Y.js → providers-W5XLII66.js} +9 -9
  96. package/dist/cli/{quickstart-YMSIL2TK.mjs → quickstart-4GTXBZHY.mjs} +4 -4
  97. package/dist/cli/{quickstart-7RABZF66.js → quickstart-TIZAC63S.js} +6 -6
  98. package/dist/cli/{run-5QVVWFGL.js → run-FOVEMYYX.js} +36 -36
  99. package/dist/cli/{run-A4JD6TAR.mjs → run-LE3D4LVU.mjs} +22 -22
  100. package/dist/cli/{search-2TOSF2G3.mjs → search-6YL6WJMQ.mjs} +7 -7
  101. package/dist/cli/search-HN6SVDQU.js +32 -0
  102. package/dist/cli/{secrets-Q7UVOSNM.js → secrets-CSTTTMZH.js} +15 -15
  103. package/dist/cli/{secrets-BUN4ORE7.mjs → secrets-D66U6RTT.mjs} +6 -6
  104. package/dist/cli/{sessions-NXQOQ4HX.js → sessions-45M2NRAA.js} +6 -6
  105. package/dist/cli/{sessions-IAOORI6X.mjs → sessions-XIO3OUER.mjs} +5 -5
  106. package/dist/cli/{settings-WD4KSY5S.js → settings-N42CVKSK.js} +78 -78
  107. package/dist/cli/{settings-BMI373AI.mjs → settings-R33X2D5T.mjs} +11 -11
  108. package/dist/cli/{setup-55VIWAWR.mjs → setup-CBBC4FQP.mjs} +9 -9
  109. package/dist/cli/{setup-3IA7BVPE.js → setup-HREDVNF2.js} +44 -44
  110. package/dist/cli/{skills-GKITMBTM.mjs → skills-4X6WS2PT.mjs} +9 -7
  111. package/dist/cli/skills-QZ6HZX2T.js +33 -0
  112. package/dist/cli/tools-KFIH7UWB.js +55 -0
  113. package/dist/cli/{tools-XHCFC7GP.mjs → tools-YR46YFR2.mjs} +16 -16
  114. package/dist/cli/{update-SWB24YKE.mjs → update-5CYAZX5X.mjs} +9 -9
  115. package/dist/cli/update-VZLEJLWJ.js +33 -0
  116. package/dist/cli/{workflow-5QPMFI3Z.js → workflow-M7AA722W.js} +17 -17
  117. package/dist/cli/{workflow-XO4CKUA7.mjs → workflow-NKQ3CWPK.mjs} +7 -7
  118. package/dist/{client-Bgl0_zXi.d.mts → client-AjmfA5nR.d.mts} +1 -1
  119. package/dist/{client-_ah6IuhK.d.ts → client-DMyY-QL8.d.ts} +1 -1
  120. package/dist/{client-core-C-ZF5vh9.d.ts → client-core-C705vFyV.d.ts} +1 -1
  121. package/dist/{client-core-Bfsedm0_.d.mts → client-core-CpBbvLEX.d.mts} +1 -1
  122. package/dist/{compiler-manifest-CCOqDGjU.d.mts → compiler-manifest-hqIAukR0.d.mts} +1 -1
  123. package/dist/{compiler-manifest-CCOqDGjU.d.ts → compiler-manifest-hqIAukR0.d.ts} +1 -1
  124. package/dist/{errors-Cy3kPnsi.d.ts → errors-CRO2qQ6k.d.ts} +1 -1
  125. package/dist/{errors-BLccD7tG.d.mts → errors-DIHVetNY.d.mts} +1 -1
  126. package/dist/{index-D5e4h1-H.d.ts → index-B8DVoeYt.d.ts} +1 -1
  127. package/dist/{index-4-j44HuT.d.mts → index-DVZ_X4Gb.d.mts} +1 -1
  128. package/dist/index.d.mts +9 -9
  129. package/dist/index.d.ts +9 -9
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +110 -110
  133. package/dist/plays/bundle-play-file.d.mts +3 -3
  134. package/dist/plays/bundle-play-file.d.ts +3 -3
  135. package/dist/plays/bundle-play-file.mjs +1 -1
  136. package/dist/plays/play-description.d.mts +2 -2
  137. package/dist/plays/play-description.d.ts +2 -2
  138. package/dist/plays/run-request.d.mts +2 -2
  139. package/dist/plays/run-request.d.ts +2 -2
  140. package/dist/release.d.mts +3 -3
  141. package/dist/release.d.ts +3 -3
  142. package/dist/release.js +2 -2
  143. package/dist/release.mjs +1 -1
  144. package/dist/server.d.mts +4 -4
  145. package/dist/server.d.ts +4 -4
  146. package/dist/server.js +5 -5
  147. package/dist/server.mjs +3 -3
  148. package/package.json +1 -1
  149. package/dist/cli/auth-O6KAH543.js +0 -41
  150. package/dist/cli/describe-44L7OBGM.js +0 -48
  151. package/dist/cli/git-F3EI5DY5.js +0 -25
  152. package/dist/cli/search-772R7YHI.js +0 -32
  153. package/dist/cli/skills-PUUTFMP3.js +0 -31
  154. package/dist/cli/tools-3WX7TUUG.js +0 -55
  155. package/dist/cli/update-PC3CLODV.js +0 -33
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-DQZBERDL.mjs";
3
+ } from "./chunk-F5PYBZ2H.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-YK64UZXN.mjs";
7
+ } from "./chunk-ZOXV6WFI.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-KKWQ24VM.mjs";
4
+ } from "./chunk-NTJDZURV.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-Z27NSLPC.mjs";
7
+ } from "./chunk-FVPT44IJ.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-YK64UZXN.mjs";
5
+ } from "./chunk-ZOXV6WFI.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-Z27NSLPC.mjs";
8
+ } from "./chunk-FVPT44IJ.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -1,9 +1,9 @@
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 _chunk3ODBCZLLjs = require('./chunk-3ODBCZLL.js');
3
+ var _chunkMYYOCJZ2js = require('./chunk-MYYOCJZ2.js');
4
4
 
5
5
 
6
- var _chunkAIPTW3EKjs = require('./chunk-AIPTW3EK.js');
6
+ var _chunkFK7SBMSZjs = require('./chunk-FK7SBMSZ.js');
7
7
 
8
8
 
9
9
 
@@ -14,10 +14,10 @@ var _chunkAK7UKQ5Rjs = require('./chunk-AK7UKQ5R.js');
14
14
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
15
15
 
16
16
 
17
- var _chunkXP7FAYLNjs = require('./chunk-XP7FAYLN.js');
17
+ var _chunkEBWYNNTJjs = require('./chunk-EBWYNNTJ.js');
18
18
 
19
19
 
20
- var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
20
+ var _chunkAS3VECCYjs = require('./chunk-AS3VECCY.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkAK7UKQ5Rjs.findNamed.call(void 0, name, options, _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, new (0, _chunkXP7FAYLNjs.DeeplineClient)()));
29
+ return _chunkAK7UKQ5Rjs.findNamed.call(void 0, name, options, _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, new (0, _chunkEBWYNNTJjs.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkXP7FAYLNjs.DeeplineClient)();
32
+ const client = new (0, _chunkEBWYNNTJjs.DeeplineClient)();
33
33
  const lookups = _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, client);
34
34
  const outcome = await _chunkAK7UKQ5Rjs.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunk3ODBCZLLjs.seedToolListScript
38
+ seedStarterScript: _chunkMYYOCJZ2js.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
63
+ _chunkAS3VECCYjs.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunkAS3VECCYjs.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunkAIPTW3EKjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkFK7SBMSZjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkXP7FAYLNjs = require('./chunk-XP7FAYLN.js');
6
+ var _chunkEBWYNNTJjs = require('./chunk-EBWYNNTJ.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
10
+ var _chunkAS3VECCYjs = require('./chunk-AS3VECCY.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkRXITRC37js = require('./chunk-RXITRC37.js');
14
+ var _chunk7HAUVMRFjs = require('./chunk-7HAUVMRF.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkRXITRC37js.sdkCliStateDirPath.call(void 0, _chunkRXITRC37js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunk7HAUVMRFjs.sdkCliStateDirPath.call(void 0, _chunk7HAUVMRFjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkSTLJYWUCjs.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkAS3VECCYjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkSTLJYWUCjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkAS3VECCYjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5997,7 +5997,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5997
5997
  console.error("--summary-width must be an integer of at least 2.");
5998
5998
  return 1;
5999
5999
  }
6000
- const { search_ref: searchRef, ...result } = await new (0, _chunkXP7FAYLNjs.DeeplineClient)().search({
6000
+ const { search_ref: searchRef, ...result } = await new (0, _chunkEBWYNNTJjs.DeeplineClient)().search({
6001
6001
  query,
6002
6002
  types,
6003
6003
  exclude,
@@ -6011,7 +6011,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6011
6011
  });
6012
6012
  if (searchRef) rememberSearchRef(searchRef);
6013
6013
  pointAtDescribe(result);
6014
- _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0, result, {
6014
+ _chunkAS3VECCYjs.printCommandEnvelope.call(void 0, result, {
6015
6015
  json: options.json === true,
6016
6016
  text: renderSearchResults(result, summaryWidth)
6017
6017
  });
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.474",
52
+ version: "0.3.476",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -94,8 +94,8 @@ var SDK_RELEASE = {
94
94
  },
95
95
  {
96
96
  command: "search",
97
- introducedIn: "0.3.91",
98
- reason: "deepline search was added in SDK CLI 0.3.91 as the one search across tools, monitors, and plays. On an older version run deepline tools search or deepline plays search, or update."
97
+ introducedIn: "0.3.287",
98
+ reason: "deepline search was added in SDK CLI 0.3.287 as the one search across tools, monitors, and plays. On an older version run deepline tools search or deepline plays search, or update."
99
99
  },
100
100
  {
101
101
  command: "notifications",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLHOEWAVDjs = require('./chunk-LHOEWAVD.js');
3
+ var _chunkB7PEXXRWjs = require('./chunk-B7PEXXRW.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkLHOEWAVDjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkB7PEXXRWjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -819,8 +819,8 @@ Authoring rules:
819
819
  or { webhook: {} }. A cron run receives {} unless cron.input is written
820
820
  inline; it is pinned with the published revision.
821
821
  Runtime: The default Play runtime is 30 minutes. Standard uses 1 GiB / 1 CPU.
822
- Preview deployments also support runtime.size 'large' (4 GiB / 2 CPU) and
823
- 'xlarge' (8 GiB / 4 CPU). Production uses standard.
822
+ Select runtime.size 'large' (4 GiB / 2 CPU) or 'xlarge' (8 GiB / 4 CPU)
823
+ when a step needs more memory.
824
824
  Compute pricing follows the workspace plan.
825
825
  [[cli:Use deepline billing quote for the session ceiling.]]
826
826
  Set runtime.timeout to extend a run up to 4h.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-THDXVSNL.mjs";
3
+ } from "./chunk-VPAVNEDQ.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkN62MS3XJjs = require('./chunk-N62MS3XJ.js');
6
+ var _chunkL45IECBZjs = require('./chunk-L45IECBZ.js');
7
7
 
8
8
 
9
9
  var _chunkJDMR33HSjs = require('./chunk-JDMR33HS.js');
@@ -11,7 +11,7 @@ var _chunkJDMR33HSjs = require('./chunk-JDMR33HS.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
14
+ var _chunkAS3VECCYjs = require('./chunk-AS3VECCY.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkSTLJYWUCjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkAS3VECCYjs.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkSTLJYWUCjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkSTLJYWUCjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkAS3VECCYjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkAS3VECCYjs.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunkN62MS3XJjs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkL45IECBZjs.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkN62MS3XJjs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkL45IECBZjs.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkSTLJYWUCjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkSTLJYWUCjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkAS3VECCYjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkAS3VECCYjs.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkSTLJYWUCjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkAS3VECCYjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-3MZPWIOE.mjs";
3
+ } from "./chunk-D7EQ4PI5.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-YK64UZXN.mjs";
15
+ } from "./chunk-ZOXV6WFI.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-Z27NSLPC.mjs";
23
+ } from "./chunk-FVPT44IJ.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-UGYLGT7B.mjs";
29
+ } from "./chunk-UHTJWDYB.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
3
+ var _chunkAS3VECCYjs = require('./chunk-AS3VECCY.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -17,7 +17,7 @@ var CliProgress = (_class = class {
17
17
 
18
18
  // --json output is one JSON document: progress never renders under it.
19
19
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);
20
- this.enabled = enabled && !_chunkSTLJYWUCjs.isJsonOutputMode.call(void 0, );
20
+ this.enabled = enabled && !_chunkAS3VECCYjs.isJsonOutputMode.call(void 0, );
21
21
  }
22
22
  setLogWriter(writer) {
23
23
  this.logWriter = writer;
@@ -49,7 +49,7 @@ var CliProgress = (_class = class {
49
49
  this.logWriter(line);
50
50
  return;
51
51
  }
52
- if (_chunkSTLJYWUCjs.isJsonOutputMode.call(void 0, )) return;
52
+ if (_chunkAS3VECCYjs.isJsonOutputMode.call(void 0, )) return;
53
53
  if (!this.enabled) {
54
54
  process.stderr.write(`${line}
55
55
  `);
@@ -819,8 +819,8 @@ Authoring rules:
819
819
  or { webhook: {} }. A cron run receives {} unless cron.input is written
820
820
  inline; it is pinned with the published revision.
821
821
  Runtime: The default Play runtime is 30 minutes. Standard uses 1 GiB / 1 CPU.
822
- Preview deployments also support runtime.size 'large' (4 GiB / 2 CPU) and
823
- 'xlarge' (8 GiB / 4 CPU). Production uses standard.
822
+ Select runtime.size 'large' (4 GiB / 2 CPU) or 'xlarge' (8 GiB / 4 CPU)
823
+ when a step needs more memory.
824
824
  Compute pricing follows the workspace plan.
825
825
  [[cli:Use deepline billing quote for the session ceiling.]]
826
826
  Set runtime.timeout to extend a run up to 4h.