deepline 0.3.326 → 0.3.327

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 (95) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/projection.ts +11 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +14 -1
  4. package/dist/cli/auth-67YOPQ6M.js +31 -0
  5. package/dist/cli/{auth-VON5FFUK.mjs → auth-EBBDOKNV.mjs} +4 -4
  6. package/dist/cli/{billing-YI4RZI2O.js → billing-6AAB7WPJ.js} +70 -70
  7. package/dist/cli/{billing-X6JUEFRE.mjs → billing-IM2QUFX4.mjs} +4 -4
  8. package/dist/cli/{chunk-W74E5ETE.mjs → chunk-3ITDKXNC.mjs} +2 -2
  9. package/dist/cli/{chunk-BUYZEUY4.js → chunk-3MXRNPBN.js} +1 -1
  10. package/dist/cli/{chunk-4LNBSQM4.js → chunk-4TO56P22.js} +224 -224
  11. package/dist/cli/{chunk-GVYKY6T6.js → chunk-4ZARCCPT.js} +9 -9
  12. package/dist/cli/{chunk-MKHSZA2X.js → chunk-77RAV5XX.js} +48 -48
  13. package/dist/cli/{chunk-MDQZQ3NY.js → chunk-7RCJDAJX.js} +2 -2
  14. package/dist/cli/{chunk-MOBZS4F3.mjs → chunk-A5SKM3GL.mjs} +1 -1
  15. package/dist/cli/{chunk-BR7GGTAE.mjs → chunk-CCRQ2VGJ.mjs} +1 -1
  16. package/dist/cli/{chunk-EMZ7Y5SW.js → chunk-CISKBOXD.js} +60 -60
  17. package/dist/cli/{chunk-VGKVLADU.mjs → chunk-D6GD5AVN.mjs} +3 -3
  18. package/dist/cli/{chunk-IQCCGOQH.mjs → chunk-DCAU6PND.mjs} +4 -4
  19. package/dist/cli/{chunk-TXVOB5J2.js → chunk-DM3SHV6U.js} +4 -4
  20. package/dist/cli/{chunk-KZ4PCK4O.js → chunk-DSDX6EUW.js} +15 -15
  21. package/dist/cli/{chunk-ZRN6YOF2.mjs → chunk-DVV4FPS7.mjs} +2 -2
  22. package/dist/cli/{chunk-M7CPVMDB.mjs → chunk-F45425TB.mjs} +1 -1
  23. package/dist/cli/{chunk-BQJVMKWL.mjs → chunk-G5774EFF.mjs} +1 -1
  24. package/dist/cli/{chunk-DFDXKOLR.mjs → chunk-HOWQKN6J.mjs} +5 -5
  25. package/dist/cli/{chunk-3NGWGFVL.js → chunk-HZZJR2GV.js} +26 -26
  26. package/dist/cli/{chunk-T33W6JUJ.js → chunk-MOP6D7Z5.js} +6 -6
  27. package/dist/cli/{chunk-TZQMFWLF.js → chunk-NWIJLTRL.js} +47 -47
  28. package/dist/cli/{chunk-KLWBAQ5A.mjs → chunk-QZAP5VOS.mjs} +1 -1
  29. package/dist/cli/{chunk-TDSNAC3C.mjs → chunk-REP2MYBI.mjs} +2 -2
  30. package/dist/cli/{chunk-4AB4Y6FF.mjs → chunk-RSEVBSFE.mjs} +1 -1
  31. package/dist/cli/{chunk-5NXHSRRE.js → chunk-TAGHNT5P.js} +6 -6
  32. package/dist/cli/{chunk-CUUHQ3AO.js → chunk-UROXKPND.js} +6 -6
  33. package/dist/cli/{chunk-VKXGOQG5.mjs → chunk-ZOFARJWH.mjs} +6 -6
  34. package/dist/cli/client-7LZCG4VD.js +20 -0
  35. package/dist/cli/{client-ZMOKUNL2.mjs → client-JCMSACT4.mjs} +3 -3
  36. package/dist/cli/{csv-IICJHJZ4.mjs → csv-NPMWVM5D.mjs} +3 -3
  37. package/dist/cli/{csv-HZRKEI7J.js → csv-OILKDKUX.js} +12 -12
  38. package/dist/cli/{db-X4B7YFNY.mjs → db-AZUAOWPQ.mjs} +4 -4
  39. package/dist/cli/{db-TM5NZF73.js → db-MNDRYYEX.js} +29 -29
  40. package/dist/cli/{describe-GMVS3LFC.mjs → describe-KJWOHMKC.mjs} +8 -8
  41. package/dist/cli/{describe-BDBARWZJ.js → describe-QENLDLM2.js} +15 -15
  42. package/dist/cli/{executions-QX25UOQM.js → executions-P36UHBPG.js} +6 -6
  43. package/dist/cli/{executions-447ZJMN4.mjs → executions-QZNQWF6F.mjs} +4 -4
  44. package/dist/cli/{feedback-4IXUTBX7.js → feedback-K4UGTLFD.js} +6 -6
  45. package/dist/cli/{feedback-JB7HHIC6.mjs → feedback-RQ6HSZSG.mjs} +3 -3
  46. package/dist/cli/{git-VID6KGAA.mjs → git-PBRMCBMI.mjs} +4 -4
  47. package/dist/cli/git-RPFH3NJ2.js +23 -0
  48. package/dist/cli/index.js +74 -74
  49. package/dist/cli/index.mjs +31 -31
  50. package/dist/cli/{legacy-noops-SGR3G5WS.mjs → legacy-noops-G7GWJ5UC.mjs} +4 -4
  51. package/dist/cli/{legacy-noops-3FYTCOZO.js → legacy-noops-X74FM35Q.js} +7 -7
  52. package/dist/cli/{monitors-SH4FOMBM.mjs → monitors-KL2MCR57.mjs} +4 -4
  53. package/dist/cli/{monitors-SP52UHS4.js → monitors-VKURX3YM.js} +85 -85
  54. package/dist/cli/{org-B32MMIQT.mjs → org-DT53KTNW.mjs} +4 -4
  55. package/dist/cli/{org-UQMX7JOR.js → org-ZYXJDC44.js} +60 -60
  56. package/dist/cli/play-BUQV47E2.js +153 -0
  57. package/dist/cli/{play-XTE4LUP7.mjs → play-WIJGQYTB.mjs} +7 -7
  58. package/dist/cli/{providers-JNMJJ2OH.js → providers-GRTW4TXX.js} +7 -7
  59. package/dist/cli/{providers-RWLN6FUR.mjs → providers-GYGKGS2J.mjs} +4 -4
  60. package/dist/cli/{quickstart-HK6WZ342.js → quickstart-WB26543C.js} +5 -5
  61. package/dist/cli/{quickstart-IDB3Y375.mjs → quickstart-XF3M2M2S.mjs} +3 -3
  62. package/dist/cli/{search-6D3IFNPT.mjs → search-ANJLTOF2.mjs} +5 -5
  63. package/dist/cli/search-CR2GZLCM.js +26 -0
  64. package/dist/cli/{secrets-JOQB57IE.js → secrets-5KBUGMTK.js} +13 -13
  65. package/dist/cli/{secrets-TZ53CQ3D.mjs → secrets-D6UR5CTW.mjs} +4 -4
  66. package/dist/cli/{sessions-QSAICDXX.js → sessions-46PXFULL.js} +5 -5
  67. package/dist/cli/{sessions-4MBDC4EK.mjs → sessions-S7N4JEWK.mjs} +4 -4
  68. package/dist/cli/{settings-OTOCW7L7.js → settings-KMNBITSU.js} +74 -74
  69. package/dist/cli/{settings-RKQFMLDU.mjs → settings-V6U3SRTH.mjs} +7 -7
  70. package/dist/cli/{setup-AKZUDVYY.js → setup-4K5FY6AU.js} +41 -41
  71. package/dist/cli/{setup-2S5TNTUB.mjs → setup-OGITSLTN.mjs} +6 -6
  72. package/dist/cli/skills-4FP2MZKL.js +28 -0
  73. package/dist/cli/{skills-AGZXDLSA.mjs → skills-AXWAYPBY.mjs} +4 -4
  74. package/dist/cli/tools-7YZPH6WC.js +39 -0
  75. package/dist/cli/{tools-7Y6RD6FY.mjs → tools-LJCY6B23.mjs} +6 -6
  76. package/dist/cli/update-3VUOW6AP.js +28 -0
  77. package/dist/cli/{update-M7YGF67I.mjs → update-DDR5XIUB.mjs} +6 -6
  78. package/dist/cli/{workflow-NGMY425T.js → workflow-7CTCDWL3.js} +15 -15
  79. package/dist/cli/{workflow-CTVE7S7W.mjs → workflow-PRNCVANQ.mjs} +5 -5
  80. package/dist/index.js +57 -47
  81. package/dist/index.mjs +14 -4
  82. package/dist/install-integrity.json +74 -74
  83. package/dist/release.d.mts +1 -1
  84. package/dist/release.d.ts +1 -1
  85. package/dist/release.js +2 -2
  86. package/dist/release.mjs +1 -1
  87. package/package.json +1 -1
  88. package/dist/cli/auth-6STWK6UK.js +0 -31
  89. package/dist/cli/client-TEBW2P24.js +0 -20
  90. package/dist/cli/git-C7C7DTEH.js +0 -23
  91. package/dist/cli/play-UCIWBN7U.js +0 -153
  92. package/dist/cli/search-LUZ2S7DH.js +0 -26
  93. package/dist/cli/skills-26LASHZF.js +0 -28
  94. package/dist/cli/tools-L5VIJQWX.js +0 -39
  95. package/dist/cli/update-MNHF6M2F.js +0 -28
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ var _chunkLVEDPCLJjs = require('./cli/chunk-LVEDPCLJ.js');
35
35
 
36
36
 
37
37
 
38
- var _chunkGVYKY6T6js = require('./cli/chunk-GVYKY6T6.js');
38
+ var _chunk4ZARCCPTjs = require('./cli/chunk-4ZARCCPT.js');
39
39
  require('./cli/chunk-LA46MMTL.js');
40
40
 
41
41
 
@@ -66,9 +66,9 @@ var _chunkWOHBA5PVjs = require('./cli/chunk-WOHBA5PV.js');
66
66
 
67
67
 
68
68
 
69
- var _chunkTXVOB5J2js = require('./cli/chunk-TXVOB5J2.js');
69
+ var _chunkDM3SHV6Ujs = require('./cli/chunk-DM3SHV6U.js');
70
70
  require('./cli/chunk-XNYIZMNQ.js');
71
- require('./cli/chunk-BUYZEUY4.js');
71
+ require('./cli/chunk-3MXRNPBN.js');
72
72
 
73
73
 
74
74
  var _chunk2HKPAZVJjs = require('./cli/chunk-2HKPAZVJ.js');
@@ -986,9 +986,15 @@ function normalizePhoneStatus(value) {
986
986
  }
987
987
  return normalized;
988
988
  }
989
+ function normalizeSearchbugReassignedStatus(value) {
990
+ const normalized = _optionalChain([normalizeString, 'call', _46 => _46(value), 'optionalAccess', _47 => _47.toUpperCase, 'call', _48 => _48()]);
991
+ if (normalized === "NO") return "valid";
992
+ if (normalized === "YES") return "invalid";
993
+ return "unknown";
994
+ }
989
995
  function normalizeJobChangeStatus(value) {
990
996
  if (typeof value === "boolean") return value ? "moved" : "no_change";
991
- const normalized = _optionalChain([normalizeString, 'call', _46 => _46(value), 'optionalAccess', _47 => _47.toLowerCase, 'call', _48 => _48(), 'access', _49 => _49.replace, 'call', _50 => _50(/[\s-]+/g, "_")]);
997
+ const normalized = _optionalChain([normalizeString, 'call', _49 => _49(value), 'optionalAccess', _50 => _50.toLowerCase, 'call', _51 => _51(), 'access', _52 => _52.replace, 'call', _53 => _53(/[\s-]+/g, "_")]);
992
998
  if (!normalized) return "unknown";
993
999
  if (["true", "yes", "moved", "changed", "new_company"].includes(normalized)) {
994
1000
  return "moved";
@@ -1038,6 +1044,8 @@ function applyExtractorTransforms(value, descriptor) {
1038
1044
  return (_nullishCoalesce(descriptor.transforms, () => ( []))).reduce((current, transform) => {
1039
1045
  if (transform.endsWith("emailStatus")) return normalizeEmailStatus(current);
1040
1046
  if (transform.endsWith("phoneStatus")) return normalizePhoneStatus(current);
1047
+ if (transform === "searchbug.reassignedStatus")
1048
+ return normalizeSearchbugReassignedStatus(current);
1041
1049
  if (transform === "jobChange") return normalizeJobChange(current);
1042
1050
  if (transform === "jobChangeStatus")
1043
1051
  return normalizeJobChangeStatus(current);
@@ -1045,7 +1053,7 @@ function applyExtractorTransforms(value, descriptor) {
1045
1053
  }, value);
1046
1054
  }
1047
1055
  function coerceToEnum(value, descriptor) {
1048
- if (!_optionalChain([descriptor, 'access', _51 => _51.enum, 'optionalAccess', _52 => _52.length])) return value;
1056
+ if (!_optionalChain([descriptor, 'access', _54 => _54.enum, 'optionalAccess', _55 => _55.length])) return value;
1049
1057
  const normalized = normalizeString(value);
1050
1058
  if (!normalized) return value;
1051
1059
  return descriptor.enum.includes(normalized) ? normalized : value;
@@ -1076,7 +1084,7 @@ function resolveListRows(result, listExtractorPaths) {
1076
1084
  resolved ??= emptyMatch;
1077
1085
  if (!resolved) continue;
1078
1086
  const existing = lists[listName];
1079
- if (_optionalChain([existing, 'optionalAccess', _53 => _53.rows, 'access', _54 => _54.length]) && resolved.rows.length === 0) {
1087
+ if (_optionalChain([existing, 'optionalAccess', _56 => _56.rows, 'access', _57 => _57.length]) && resolved.rows.length === 0) {
1080
1088
  continue;
1081
1089
  }
1082
1090
  lists[listName] = resolved;
@@ -1143,8 +1151,10 @@ function buildTargets(result, extractors, targetGetters) {
1143
1151
  const declaredTargetPaths = /* @__PURE__ */ new Map();
1144
1152
  const semanticStatusTargets = /* @__PURE__ */ new Set();
1145
1153
  for (const [target, descriptor] of Object.entries(_nullishCoalesce(extractors, () => ( {})))) {
1146
- const isSemanticStatus = descriptor.emailStatus !== void 0 || _optionalChain([descriptor, 'access', _55 => _55.transforms, 'optionalAccess', _56 => _56.some, 'call', _57 => _57(
1147
- (transform) => /(emailStatus|phoneStatus|jobChange(?:Status)?)$/.test(transform)
1154
+ const isSemanticStatus = descriptor.emailStatus !== void 0 || _optionalChain([descriptor, 'access', _58 => _58.transforms, 'optionalAccess', _59 => _59.some, 'call', _60 => _60(
1155
+ (transform) => /(emailStatus|phoneStatus|reassignedStatus|jobChange(?:Status)?)$/.test(
1156
+ transform
1157
+ )
1148
1158
  )]) === true;
1149
1159
  if (isSemanticStatus) semanticStatusTargets.add(target);
1150
1160
  else declaredTargetPaths.set(target, descriptor.paths);
@@ -1170,7 +1180,7 @@ function buildTargets(result, extractors, targetGetters) {
1170
1180
  const override = findExtractorOverride(result, descriptor);
1171
1181
  targets[target] = {
1172
1182
  path: fromExtractor.path,
1173
- value: _nullishCoalesce(_optionalChain([override, 'optionalAccess', _58 => _58.value]), () => ( transformed))
1183
+ value: _nullishCoalesce(_optionalChain([override, 'optionalAccess', _61 => _61.value]), () => ( transformed))
1174
1184
  };
1175
1185
  }
1176
1186
  const metadataTargets = new Set(Object.keys(_nullishCoalesce(targetGetters, () => ( {}))));
@@ -1178,11 +1188,11 @@ function buildTargets(result, extractors, targetGetters) {
1178
1188
  if (targets[target] || semanticStatusTargets.has(target)) continue;
1179
1189
  declaredTargetPaths.set(
1180
1190
  target,
1181
- _nullishCoalesce(_nullishCoalesce(_optionalChain([targetGetters, 'optionalAccess', _59 => _59[target]]), () => ( declaredTargetPaths.get(target))), () => ( []))
1191
+ _nullishCoalesce(_nullishCoalesce(_optionalChain([targetGetters, 'optionalAccess', _62 => _62[target]]), () => ( declaredTargetPaths.get(target))), () => ( []))
1182
1192
  );
1183
1193
  const fromMetadata = findFirstTargetByPath(
1184
1194
  result,
1185
- _optionalChain([targetGetters, 'optionalAccess', _60 => _60[target]]),
1195
+ _optionalChain([targetGetters, 'optionalAccess', _63 => _63[target]]),
1186
1196
  target
1187
1197
  );
1188
1198
  if (fromMetadata) {
@@ -1191,7 +1201,7 @@ function buildTargets(result, extractors, targetGetters) {
1191
1201
  }
1192
1202
  const explicitNull = findFirstExplicitNullTargetByPath(
1193
1203
  result,
1194
- _optionalChain([targetGetters, 'optionalAccess', _61 => _61[target]])
1204
+ _optionalChain([targetGetters, 'optionalAccess', _64 => _64[target]])
1195
1205
  );
1196
1206
  if (explicitNull) {
1197
1207
  targets[target] = explicitNull;
@@ -1270,7 +1280,7 @@ function buildExtractedAccessors(targets) {
1270
1280
  function buildListAccessors(resolved, lists, toolId, executionDiscriminator) {
1271
1281
  return Object.fromEntries(
1272
1282
  Object.entries(lists).map(([name, metadata]) => {
1273
- const rows = _nullishCoalesce(_optionalChain([resolved, 'access', _62 => _62[name], 'optionalAccess', _63 => _63.rows]), () => ( []));
1283
+ const rows = _nullishCoalesce(_optionalChain([resolved, 'access', _65 => _65[name], 'optionalAccess', _66 => _66.rows]), () => ( []));
1274
1284
  const datasetDiscriminator = `${executionDiscriminator}:${listRowsFingerprint(rows)}`;
1275
1285
  const dataset = createPlayDataset(rows, {
1276
1286
  kind: "csv",
@@ -1338,7 +1348,7 @@ function createToolExecuteResult(input) {
1338
1348
  toolResponse: {
1339
1349
  raw: result.data,
1340
1350
  ...input.response && "rawV2" in input.response ? { rawV2: input.response.rawV2 } : {},
1341
- ..._optionalChain([input, 'access', _64 => _64.response, 'optionalAccess', _65 => _65.view]) ? { view: input.response.view } : {},
1351
+ ..._optionalChain([input, 'access', _67 => _67.response, 'optionalAccess', _68 => _68.view]) ? { view: input.response.view } : {},
1342
1352
  ...result.meta ? { meta: result.meta } : {}
1343
1353
  }
1344
1354
  };
@@ -1363,7 +1373,7 @@ function createToolExecuteResult(input) {
1363
1373
  const toolResponse = {
1364
1374
  raw: result.data,
1365
1375
  ...input.response && "rawV2" in input.response ? { rawV2: input.response.rawV2 } : {},
1366
- ..._optionalChain([input, 'access', _66 => _66.response, 'optionalAccess', _67 => _67.view]) ? { view: input.response.view } : {},
1376
+ ..._optionalChain([input, 'access', _69 => _69.response, 'optionalAccess', _70 => _70.view]) ? { view: input.response.view } : {},
1367
1377
  ...result.meta ? { meta: result.meta } : {}
1368
1378
  };
1369
1379
  const extractedValues = buildExtractedAccessors(targets);
@@ -1402,7 +1412,7 @@ function attachToolResultListDataset(result, input) {
1402
1412
  result._metadata.lists[input.name] = {
1403
1413
  path: input.path,
1404
1414
  count: input.count,
1405
- keys: _nullishCoalesce(_nullishCoalesce(input.keys, () => ( _optionalChain([existing, 'optionalAccess', _68 => _68.keys]))), () => ( {}))
1415
+ keys: _nullishCoalesce(_nullishCoalesce(input.keys, () => ( _optionalChain([existing, 'optionalAccess', _71 => _71.keys]))), () => ( {}))
1406
1416
  };
1407
1417
  const declaredPaths = _nullishCoalesce(result._metadata.listExtractorPaths, () => ( []));
1408
1418
  const inputCandidates = new Set(candidateResultPaths(input.path));
@@ -1529,7 +1539,7 @@ var DeeplineStepProgram = (_class3 = class _DeeplineStepProgram {
1529
1539
  "steps().step(name, ...) requires a non-empty step name."
1530
1540
  );
1531
1541
  }
1532
- const stepResolver = _optionalChain([options, 'optionalAccess', _69 => _69.runIf]) && !isConditionalStepResolver(resolver) ? new DeeplineConditionalStepResolver(
1542
+ const stepResolver = _optionalChain([options, 'optionalAccess', _72 => _72.runIf]) && !isConditionalStepResolver(resolver) ? new DeeplineConditionalStepResolver(
1533
1543
  options.runIf,
1534
1544
  resolver,
1535
1545
  null
@@ -1539,9 +1549,9 @@ var DeeplineStepProgram = (_class3 = class _DeeplineStepProgram {
1539
1549
  ...this.steps,
1540
1550
  {
1541
1551
  name,
1542
- ..._optionalChain([options, 'optionalAccess', _70 => _70.recompute]) === true ? { recompute: true } : {},
1543
- ..._optionalChain([options, 'optionalAccess', _71 => _71.recomputeOnError]) === true ? { recomputeOnError: true } : {},
1544
- ...typeof _optionalChain([options, 'optionalAccess', _72 => _72.staleAfterSeconds]) === "number" ? { staleAfterSeconds: options.staleAfterSeconds } : {},
1552
+ ..._optionalChain([options, 'optionalAccess', _73 => _73.recompute]) === true ? { recompute: true } : {},
1553
+ ..._optionalChain([options, 'optionalAccess', _74 => _74.recomputeOnError]) === true ? { recomputeOnError: true } : {},
1554
+ ...typeof _optionalChain([options, 'optionalAccess', _75 => _75.staleAfterSeconds]) === "number" ? { staleAfterSeconds: options.staleAfterSeconds } : {},
1545
1555
  resolver: stepResolver
1546
1556
  }
1547
1557
  ],
@@ -1581,13 +1591,13 @@ var DeeplinePlayJobImpl = class {
1581
1591
  return this.client.getPlayStatus(this.id);
1582
1592
  }
1583
1593
  async tail(options) {
1584
- const intervalMs = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _73 => _73.intervalMs]), () => ( 500));
1585
- const onLog = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _74 => _74.onLog]), () => ( ((line) => console.log(line))));
1594
+ const intervalMs = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _76 => _76.intervalMs]), () => ( 500));
1595
+ const onLog = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _77 => _77.onLog]), () => ( ((line) => console.log(line))));
1586
1596
  const terminalStates = /* @__PURE__ */ new Set(["completed", "failed", "cancelled"]);
1587
1597
  let lastLogIndex = 0;
1588
1598
  while (true) {
1589
1599
  const status = await this.status();
1590
- const logs = _nullishCoalesce(_optionalChain([status, 'access', _75 => _75.progress, 'optionalAccess', _76 => _76.logs]), () => ( []));
1600
+ const logs = _nullishCoalesce(_optionalChain([status, 'access', _78 => _78.progress, 'optionalAccess', _79 => _79.logs]), () => ( []));
1591
1601
  for (let index = lastLogIndex; index < logs.length; index += 1) {
1592
1602
  onLog(logs[index]);
1593
1603
  }
@@ -1599,14 +1609,14 @@ var DeeplinePlayJobImpl = class {
1599
1609
  }
1600
1610
  }
1601
1611
  async get(options) {
1602
- const intervalMs = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _77 => _77.intervalMs]), () => ( 500));
1612
+ const intervalMs = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _80 => _80.intervalMs]), () => ( 500));
1603
1613
  const terminalStates = /* @__PURE__ */ new Set(["completed", "failed", "cancelled"]);
1604
1614
  while (true) {
1605
1615
  const status = await this.status();
1606
1616
  if (terminalStates.has(status.status)) {
1607
1617
  if (status.status !== "completed") {
1608
1618
  throw new (0, _chunk7P5AA3SNjs.DeeplineError)(
1609
- _optionalChain([status, 'access', _78 => _78.progress, 'optionalAccess', _79 => _79.error]) || `Play run ${this.id} ended with ${status.status}.`
1619
+ _optionalChain([status, 'access', _81 => _81.progress, 'optionalAccess', _82 => _82.error]) || `Play run ${this.id} ended with ${status.status}.`
1610
1620
  );
1611
1621
  }
1612
1622
  if (status.package) {
@@ -1637,8 +1647,8 @@ function createNamedPlayHandle(clientFactory, name) {
1637
1647
  const client = clientFactory();
1638
1648
  const started = await client.startPlayRun({
1639
1649
  name,
1640
- ..._optionalChain([options, 'optionalAccess', _80 => _80.revisionId]) ? { revisionId: options.revisionId } : {},
1641
- ..._optionalChain([options, 'optionalAccess', _81 => _81.profile]) ? { profile: options.profile } : {},
1650
+ ..._optionalChain([options, 'optionalAccess', _83 => _83.revisionId]) ? { revisionId: options.revisionId } : {},
1651
+ ..._optionalChain([options, 'optionalAccess', _84 => _84.profile]) ? { profile: options.profile } : {},
1642
1652
  input
1643
1653
  });
1644
1654
  return new DeeplinePlayJobImpl(client, started.workflowId);
@@ -1664,7 +1674,7 @@ var DeeplineContext = class {
1664
1674
  * @param options - Optional SDK client configuration.
1665
1675
  */
1666
1676
  constructor(options) {
1667
- this.client = new (0, _chunkGVYKY6T6js.DeeplineClient)(options);
1677
+ this.client = new (0, _chunk4ZARCCPTjs.DeeplineClient)(options);
1668
1678
  }
1669
1679
  /**
1670
1680
  * Tool operations namespace.
@@ -1919,15 +1929,15 @@ function stableHash(value) {
1919
1929
  function attachSdkQueryResultDatasetResult(toolId, result, options) {
1920
1930
  if (!options || !isQueryResultDatasetTool(toolId)) return result;
1921
1931
  const raw = isRecord2(result.toolResponse.raw) ? result.toolResponse.raw : null;
1922
- const dataset = isRecord2(_optionalChain([raw, 'optionalAccess', _82 => _82.dataset])) ? raw.dataset : null;
1923
- const totalRows = finiteNonNegativeInteger(_optionalChain([dataset, 'optionalAccess', _83 => _83.total_rows]));
1924
- const sql = typeof options.input.sql === "string" ? options.input.sql : typeof options.input.query === "string" ? options.input.query : typeof _optionalChain([raw, 'optionalAccess', _84 => _84.sql]) === "string" ? raw.sql : null;
1932
+ const dataset = isRecord2(_optionalChain([raw, 'optionalAccess', _85 => _85.dataset])) ? raw.dataset : null;
1933
+ const totalRows = finiteNonNegativeInteger(_optionalChain([dataset, 'optionalAccess', _86 => _86.total_rows]));
1934
+ const sql = typeof options.input.sql === "string" ? options.input.sql : typeof options.input.query === "string" ? options.input.query : typeof _optionalChain([raw, 'optionalAccess', _87 => _87.sql]) === "string" ? raw.sql : null;
1925
1935
  if (!dataset || totalRows === null || !sql) {
1926
1936
  return result;
1927
1937
  }
1928
1938
  const datasetLimit = _nullishCoalesce(finitePositiveInteger(dataset.returned_limit), () => ( totalRows));
1929
1939
  const effectiveCount = Math.min(totalRows, datasetLimit);
1930
- const rawRows = rowsFromUnknown(_optionalChain([raw, 'optionalAccess', _85 => _85.rows]));
1940
+ const rawRows = rowsFromUnknown(_optionalChain([raw, 'optionalAccess', _88 => _88.rows]));
1931
1941
  const previewRows = rawRows.slice(0, 25);
1932
1942
  const fetchPage = async (offset, limit) => {
1933
1943
  if (limit <= 0 || offset >= totalRows) return [];
@@ -1951,8 +1961,8 @@ function attachSdkQueryResultDatasetResult(toolId, result, options) {
1951
1961
  } : {}
1952
1962
  }
1953
1963
  });
1954
- const pageRaw = isRecord2(_optionalChain([response, 'access', _86 => _86.toolResponse, 'optionalAccess', _87 => _87.raw])) ? response.toolResponse.raw : null;
1955
- return rowsFromUnknown(_optionalChain([pageRaw, 'optionalAccess', _88 => _88.rows]));
1964
+ const pageRaw = isRecord2(_optionalChain([response, 'access', _89 => _89.toolResponse, 'optionalAccess', _90 => _90.raw])) ? response.toolResponse.raw : null;
1965
+ return rowsFromUnknown(_optionalChain([pageRaw, 'optionalAccess', _91 => _91.rows]));
1956
1966
  };
1957
1967
  const collectRows = async (limit) => {
1958
1968
  const target = Math.min(_nullishCoalesce(limit, () => ( totalRows)), totalRows, datasetLimit);
@@ -2004,10 +2014,10 @@ function attachSdkQueryResultDatasetResult(toolId, result, options) {
2004
2014
  });
2005
2015
  }
2006
2016
  function toolExecutionEnvelopeToResult(fallbackToolId, response, options) {
2007
- const raw = _nullishCoalesce(_optionalChain([response, 'access', _89 => _89.toolResponse, 'optionalAccess', _90 => _90.raw]), () => ( null));
2008
- const rawV2 = _optionalChain([response, 'access', _91 => _91.toolResponse, 'optionalAccess', _92 => _92.rawV2]);
2009
- const view = _optionalChain([response, 'access', _93 => _93.toolResponse, 'optionalAccess', _94 => _94.view]);
2010
- const meta = _optionalChain([response, 'access', _95 => _95.toolResponse, 'optionalAccess', _96 => _96.meta]);
2017
+ const raw = _nullishCoalesce(_optionalChain([response, 'access', _92 => _92.toolResponse, 'optionalAccess', _93 => _93.raw]), () => ( null));
2018
+ const rawV2 = _optionalChain([response, 'access', _94 => _94.toolResponse, 'optionalAccess', _95 => _95.rawV2]);
2019
+ const view = _optionalChain([response, 'access', _96 => _96.toolResponse, 'optionalAccess', _97 => _97.view]);
2020
+ const meta = _optionalChain([response, 'access', _98 => _98.toolResponse, 'optionalAccess', _99 => _99.meta]);
2011
2021
  const metadata = isRecord2(response._metadata) ? response._metadata.tool : null;
2012
2022
  const toolMetadata = isRecord2(metadata) ? metadata : {};
2013
2023
  const result = attachSdkQueryResultDatasetResult(
@@ -2060,11 +2070,11 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
2060
2070
  name: nameOrConfig,
2061
2071
  fn: maybeFn,
2062
2072
  bindings: maybeBindings,
2063
- description: _optionalChain([maybeBindings, 'optionalAccess', _97 => _97.description]),
2073
+ description: _optionalChain([maybeBindings, 'optionalAccess', _100 => _100.description]),
2064
2074
  inputSchema: void 0,
2065
- billing: _optionalChain([maybeBindings, 'optionalAccess', _98 => _98.billing]),
2066
- runtime: _optionalChain([maybeBindings, 'optionalAccess', _99 => _99.runtime]),
2067
- compatibility: _optionalChain([maybeBindings, 'optionalAccess', _100 => _100.compatibility])
2075
+ billing: _optionalChain([maybeBindings, 'optionalAccess', _101 => _101.billing]),
2076
+ runtime: _optionalChain([maybeBindings, 'optionalAccess', _102 => _102.runtime]),
2077
+ compatibility: _optionalChain([maybeBindings, 'optionalAccess', _103 => _103.compatibility])
2068
2078
  } : {
2069
2079
  name: nameOrConfig.id,
2070
2080
  fn: nameOrConfig.run,
@@ -2075,13 +2085,13 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
2075
2085
  description: nameOrConfig.description,
2076
2086
  inputSchema: nameOrConfig.input.schema,
2077
2087
  billing: nameOrConfig.billing,
2078
- runtime: _nullishCoalesce(nameOrConfig.runtime, () => ( _optionalChain([nameOrConfig, 'access', _101 => _101.bindings, 'optionalAccess', _102 => _102.runtime]))),
2079
- compatibility: _nullishCoalesce(nameOrConfig.compatibility, () => ( _optionalChain([nameOrConfig, 'access', _103 => _103.bindings, 'optionalAccess', _104 => _104.compatibility])))
2088
+ runtime: _nullishCoalesce(nameOrConfig.runtime, () => ( _optionalChain([nameOrConfig, 'access', _104 => _104.bindings, 'optionalAccess', _105 => _105.runtime]))),
2089
+ compatibility: _nullishCoalesce(nameOrConfig.compatibility, () => ( _optionalChain([nameOrConfig, 'access', _106 => _106.bindings, 'optionalAccess', _107 => _107.compatibility])))
2080
2090
  };
2081
2091
  const name = config.name;
2082
2092
  const fn = config.fn;
2083
2093
  const bindings = config.bindings;
2084
- const description = _optionalChain([config, 'access', _105 => _105.description, 'optionalAccess', _106 => _106.trim, 'call', _107 => _107()]);
2094
+ const description = _optionalChain([config, 'access', _108 => _108.description, 'optionalAccess', _109 => _109.trim, 'call', _110 => _110()]);
2085
2095
  const billing = config.billing;
2086
2096
  const inputSchema = config.inputSchema;
2087
2097
  const runtime = config.runtime;
@@ -2146,7 +2156,7 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
2146
2156
  writable: false
2147
2157
  });
2148
2158
  const handle = createNamedPlayHandle(
2149
- () => new (0, _chunkGVYKY6T6js.DeeplineClient)(),
2159
+ () => new (0, _chunk4ZARCCPTjs.DeeplineClient)(),
2150
2160
  name
2151
2161
  );
2152
2162
  for (const key of [
@@ -2303,4 +2313,4 @@ function defineMonitor(definition) {
2303
2313
 
2304
2314
 
2305
2315
 
2306
- exports.AuthError = _chunkTXVOB5J2js.AuthError; exports.ConfigError = _chunkTXVOB5J2js.ConfigError; exports.CtxFetchHttpError = _chunk2HKPAZVJjs.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunkTXVOB5J2js.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = _chunkLVEDPCLJjs.DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunkGVYKY6T6js.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunk7P5AA3SNjs.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkJ5NA2TTXjs.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkJ5NA2TTXjs.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkJ5NA2TTXjs.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkJ5NA2TTXjs.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkJ5NA2TTXjs.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunkGVYKY6T6js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkGVYKY6T6js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkGVYKY6T6js.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = PHONE_STATUS_VALUES; exports.PLAY_BOOTSTRAP_COMPANY_FIELDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_COMPANY_FIELDS; exports.PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_CONTACT_FIELDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_CONTACT_FIELDS; exports.PLAY_BOOTSTRAP_FINDER_KINDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_FINDER_KINDS; exports.PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER; exports.PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER; exports.PLAY_BOOTSTRAP_SOURCE_KINDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_SOURCE_KINDS; exports.PLAY_BOOTSTRAP_STAGE_KINDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_STAGE_KINDS; exports.PLAY_BOOTSTRAP_TEMPLATES = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_TEMPLATES; exports.PROD_URL = _chunkTXVOB5J2js.PROD_URL; exports.ProviderTransientError = _chunk7P5AA3SNjs.ProviderTransientError; exports.RateLimitError = _chunkTXVOB5J2js.RateLimitError; exports.RunEventQueryInputError = _chunkGVYKY6T6js.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkTXVOB5J2js.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkTXVOB5J2js.SDK_VERSION; exports.ToolExecutionError = _chunk7P5AA3SNjs.ToolExecutionError; exports.ToolRateLimitError = _chunkTXVOB5J2js.ToolRateLimitError; exports.admitMonitorFleetAuthoringContract = _chunkJ5NA2TTXjs.admitMonitorFleetAuthoringContract; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkJ5NA2TTXjs.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkNXDRDJ4Kjs.extractSummaryFields; exports.fleetColumn = _chunkJ5NA2TTXjs.fleetColumn; exports.fleetKey = _chunkJ5NA2TTXjs.fleetKey; exports.formatPlayBootstrapFinderKinds = _chunkLVEDPCLJjs.formatPlayBootstrapFinderKinds; exports.formatPlayBootstrapFinderKindsForSentence = _chunkLVEDPCLJjs.formatPlayBootstrapFinderKindsForSentence; exports.formatPlayBootstrapTemplates = _chunkLVEDPCLJjs.formatPlayBootstrapTemplates; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunk7P5AA3SNjs.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = isDeeplineExtractorTarget; exports.isPlayBootstrapFinderKind = _chunkLVEDPCLJjs.isPlayBootstrapFinderKind; exports.isPlayBootstrapTemplate = _chunkLVEDPCLJjs.isPlayBootstrapTemplate; exports.isProviderUnavailable = _chunk7P5AA3SNjs.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunk7P5AA3SNjs.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunkGVYKY6T6js.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkWOHBA5PVjs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkJ5NA2TTXjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkWOHBA5PVjs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkLVEDPCLJjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunkGVYKY6T6js.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkLVEDPCLJjs.planLocalPlayExecution; exports.renderMonitorSpecTemplate = _chunkWOHBA5PVjs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkTXVOB5J2js.resolveConfig; exports.runIf = runIf; exports.steps = steps; exports.tryConvertToList = _chunkNXDRDJ4Kjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkJ5NA2TTXjs.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkNXDRDJ4Kjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkNXDRDJ4Kjs.writeJsonOutputFile;
2316
+ exports.AuthError = _chunkDM3SHV6Ujs.AuthError; exports.ConfigError = _chunkDM3SHV6Ujs.ConfigError; exports.CtxFetchHttpError = _chunk2HKPAZVJjs.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunkDM3SHV6Ujs.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = _chunkLVEDPCLJjs.DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunk4ZARCCPTjs.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunk7P5AA3SNjs.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkJ5NA2TTXjs.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkJ5NA2TTXjs.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkJ5NA2TTXjs.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkJ5NA2TTXjs.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkJ5NA2TTXjs.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunk4ZARCCPTjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunk4ZARCCPTjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunk4ZARCCPTjs.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = PHONE_STATUS_VALUES; exports.PLAY_BOOTSTRAP_COMPANY_FIELDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_COMPANY_FIELDS; exports.PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_CONTACT_FIELDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_CONTACT_FIELDS; exports.PLAY_BOOTSTRAP_FINDER_KINDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_FINDER_KINDS; exports.PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER; exports.PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER; exports.PLAY_BOOTSTRAP_SOURCE_KINDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_SOURCE_KINDS; exports.PLAY_BOOTSTRAP_STAGE_KINDS = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_STAGE_KINDS; exports.PLAY_BOOTSTRAP_TEMPLATES = _chunkLVEDPCLJjs.PLAY_BOOTSTRAP_TEMPLATES; exports.PROD_URL = _chunkDM3SHV6Ujs.PROD_URL; exports.ProviderTransientError = _chunk7P5AA3SNjs.ProviderTransientError; exports.RateLimitError = _chunkDM3SHV6Ujs.RateLimitError; exports.RunEventQueryInputError = _chunk4ZARCCPTjs.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkDM3SHV6Ujs.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkDM3SHV6Ujs.SDK_VERSION; exports.ToolExecutionError = _chunk7P5AA3SNjs.ToolExecutionError; exports.ToolRateLimitError = _chunkDM3SHV6Ujs.ToolRateLimitError; exports.admitMonitorFleetAuthoringContract = _chunkJ5NA2TTXjs.admitMonitorFleetAuthoringContract; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkJ5NA2TTXjs.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkNXDRDJ4Kjs.extractSummaryFields; exports.fleetColumn = _chunkJ5NA2TTXjs.fleetColumn; exports.fleetKey = _chunkJ5NA2TTXjs.fleetKey; exports.formatPlayBootstrapFinderKinds = _chunkLVEDPCLJjs.formatPlayBootstrapFinderKinds; exports.formatPlayBootstrapFinderKindsForSentence = _chunkLVEDPCLJjs.formatPlayBootstrapFinderKindsForSentence; exports.formatPlayBootstrapTemplates = _chunkLVEDPCLJjs.formatPlayBootstrapTemplates; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunk7P5AA3SNjs.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = isDeeplineExtractorTarget; exports.isPlayBootstrapFinderKind = _chunkLVEDPCLJjs.isPlayBootstrapFinderKind; exports.isPlayBootstrapTemplate = _chunkLVEDPCLJjs.isPlayBootstrapTemplate; exports.isProviderUnavailable = _chunk7P5AA3SNjs.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunk7P5AA3SNjs.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunk4ZARCCPTjs.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkWOHBA5PVjs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkJ5NA2TTXjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkWOHBA5PVjs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkLVEDPCLJjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunk4ZARCCPTjs.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkLVEDPCLJjs.planLocalPlayExecution; exports.renderMonitorSpecTemplate = _chunkWOHBA5PVjs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkDM3SHV6Ujs.resolveConfig; exports.runIf = runIf; exports.steps = steps; exports.tryConvertToList = _chunkNXDRDJ4Kjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkJ5NA2TTXjs.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkNXDRDJ4Kjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkNXDRDJ4Kjs.writeJsonOutputFile;
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  RunEventQueryInputError,
36
36
  isStopAllPlayRunsDryRunResult,
37
37
  planCustomerDbQuery
38
- } from "./cli/chunk-KLWBAQ5A.mjs";
38
+ } from "./cli/chunk-QZAP5VOS.mjs";
39
39
  import "./cli/chunk-CBVIJSHF.mjs";
40
40
  import {
41
41
  MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG,
@@ -66,9 +66,9 @@ import {
66
66
  SDK_VERSION,
67
67
  ToolRateLimitError,
68
68
  resolveConfig
69
- } from "./cli/chunk-BR7GGTAE.mjs";
69
+ } from "./cli/chunk-CCRQ2VGJ.mjs";
70
70
  import "./cli/chunk-DLIRSHV6.mjs";
71
- import "./cli/chunk-BQJVMKWL.mjs";
71
+ import "./cli/chunk-G5774EFF.mjs";
72
72
  import {
73
73
  CtxFetchHttpError
74
74
  } from "./cli/chunk-KP7W5NO6.mjs";
@@ -986,6 +986,12 @@ function normalizePhoneStatus(value) {
986
986
  }
987
987
  return normalized;
988
988
  }
989
+ function normalizeSearchbugReassignedStatus(value) {
990
+ const normalized = normalizeString(value)?.toUpperCase();
991
+ if (normalized === "NO") return "valid";
992
+ if (normalized === "YES") return "invalid";
993
+ return "unknown";
994
+ }
989
995
  function normalizeJobChangeStatus(value) {
990
996
  if (typeof value === "boolean") return value ? "moved" : "no_change";
991
997
  const normalized = normalizeString(value)?.toLowerCase().replace(/[\s-]+/g, "_");
@@ -1038,6 +1044,8 @@ function applyExtractorTransforms(value, descriptor) {
1038
1044
  return (descriptor.transforms ?? []).reduce((current, transform) => {
1039
1045
  if (transform.endsWith("emailStatus")) return normalizeEmailStatus(current);
1040
1046
  if (transform.endsWith("phoneStatus")) return normalizePhoneStatus(current);
1047
+ if (transform === "searchbug.reassignedStatus")
1048
+ return normalizeSearchbugReassignedStatus(current);
1041
1049
  if (transform === "jobChange") return normalizeJobChange(current);
1042
1050
  if (transform === "jobChangeStatus")
1043
1051
  return normalizeJobChangeStatus(current);
@@ -1144,7 +1152,9 @@ function buildTargets(result, extractors, targetGetters) {
1144
1152
  const semanticStatusTargets = /* @__PURE__ */ new Set();
1145
1153
  for (const [target, descriptor] of Object.entries(extractors ?? {})) {
1146
1154
  const isSemanticStatus = descriptor.emailStatus !== void 0 || descriptor.transforms?.some(
1147
- (transform) => /(emailStatus|phoneStatus|jobChange(?:Status)?)$/.test(transform)
1155
+ (transform) => /(emailStatus|phoneStatus|reassignedStatus|jobChange(?:Status)?)$/.test(
1156
+ transform
1157
+ )
1148
1158
  ) === true;
1149
1159
  if (isSemanticStatus) semanticStatusTargets.add(target);
1150
1160
  else declaredTargetPaths.set(target, descriptor.paths);
@@ -597,137 +597,137 @@
597
597
  "dist/bundling-sources/shared_libs/security/secret-redaction.ts",
598
598
  "dist/bundling-sources/shared_libs/security/slack-sanitize.ts",
599
599
  "dist/bundling-sources/shared_libs/tool-execution-error.ts",
600
- "dist/cli/auth-6STWK6UK.js",
601
- "dist/cli/auth-VON5FFUK.mjs",
602
- "dist/cli/billing-X6JUEFRE.mjs",
603
- "dist/cli/billing-YI4RZI2O.js",
600
+ "dist/cli/auth-67YOPQ6M.js",
601
+ "dist/cli/auth-EBBDOKNV.mjs",
602
+ "dist/cli/billing-6AAB7WPJ.js",
603
+ "dist/cli/billing-IM2QUFX4.mjs",
604
604
  "dist/cli/chunk-2HKPAZVJ.js",
605
+ "dist/cli/chunk-3ITDKXNC.mjs",
605
606
  "dist/cli/chunk-3KC45UVF.js",
606
- "dist/cli/chunk-3NGWGFVL.js",
607
+ "dist/cli/chunk-3MXRNPBN.js",
607
608
  "dist/cli/chunk-3XX5TEA4.js",
608
- "dist/cli/chunk-4AB4Y6FF.mjs",
609
- "dist/cli/chunk-4LNBSQM4.js",
610
609
  "dist/cli/chunk-4MBOJQPL.mjs",
610
+ "dist/cli/chunk-4TO56P22.js",
611
+ "dist/cli/chunk-4ZARCCPT.js",
611
612
  "dist/cli/chunk-5JLQPVNX.js",
612
- "dist/cli/chunk-5NXHSRRE.js",
613
613
  "dist/cli/chunk-6IKARAYD.mjs",
614
+ "dist/cli/chunk-77RAV5XX.js",
614
615
  "dist/cli/chunk-7P5AA3SN.js",
616
+ "dist/cli/chunk-7RCJDAJX.js",
617
+ "dist/cli/chunk-A5SKM3GL.mjs",
615
618
  "dist/cli/chunk-AFNEQ43J.js",
616
619
  "dist/cli/chunk-AGH6YP2T.js",
617
620
  "dist/cli/chunk-AID3OYVJ.js",
618
621
  "dist/cli/chunk-AYHLUHE5.js",
619
- "dist/cli/chunk-BQJVMKWL.mjs",
620
- "dist/cli/chunk-BR7GGTAE.mjs",
621
- "dist/cli/chunk-BUYZEUY4.js",
622
622
  "dist/cli/chunk-CBVIJSHF.mjs",
623
+ "dist/cli/chunk-CCRQ2VGJ.mjs",
624
+ "dist/cli/chunk-CISKBOXD.js",
623
625
  "dist/cli/chunk-COGTRVWW.js",
624
- "dist/cli/chunk-CUUHQ3AO.js",
625
- "dist/cli/chunk-DFDXKOLR.mjs",
626
+ "dist/cli/chunk-D6GD5AVN.mjs",
627
+ "dist/cli/chunk-DCAU6PND.mjs",
626
628
  "dist/cli/chunk-DLIRSHV6.mjs",
629
+ "dist/cli/chunk-DM3SHV6U.js",
630
+ "dist/cli/chunk-DSDX6EUW.js",
631
+ "dist/cli/chunk-DVV4FPS7.mjs",
627
632
  "dist/cli/chunk-EDWJY6T4.mjs",
628
- "dist/cli/chunk-EMZ7Y5SW.js",
629
633
  "dist/cli/chunk-EXMLR72R.mjs",
634
+ "dist/cli/chunk-F45425TB.mjs",
635
+ "dist/cli/chunk-G5774EFF.mjs",
630
636
  "dist/cli/chunk-GAMFK2ZP.mjs",
631
637
  "dist/cli/chunk-GVESPYSY.mjs",
632
- "dist/cli/chunk-GVYKY6T6.js",
633
638
  "dist/cli/chunk-H7HIDGZ7.mjs",
639
+ "dist/cli/chunk-HOWQKN6J.mjs",
634
640
  "dist/cli/chunk-HUZXWOSK.mjs",
641
+ "dist/cli/chunk-HZZJR2GV.js",
635
642
  "dist/cli/chunk-I5YZLGMG.js",
636
- "dist/cli/chunk-IQCCGOQH.mjs",
637
643
  "dist/cli/chunk-ITOFSXIU.mjs",
638
644
  "dist/cli/chunk-J5NA2TTX.js",
639
645
  "dist/cli/chunk-JNNOCMQY.js",
640
646
  "dist/cli/chunk-JOA6IKDE.mjs",
641
- "dist/cli/chunk-KLWBAQ5A.mjs",
642
647
  "dist/cli/chunk-KP7W5NO6.mjs",
643
648
  "dist/cli/chunk-KRD6H754.mjs",
644
- "dist/cli/chunk-KZ4PCK4O.js",
645
649
  "dist/cli/chunk-LA46MMTL.js",
646
650
  "dist/cli/chunk-LVEDPCLJ.js",
647
- "dist/cli/chunk-M7CPVMDB.mjs",
648
- "dist/cli/chunk-MDQZQ3NY.js",
649
651
  "dist/cli/chunk-MIMASXO4.mjs",
650
- "dist/cli/chunk-MKHSZA2X.js",
651
- "dist/cli/chunk-MOBZS4F3.mjs",
652
+ "dist/cli/chunk-MOP6D7Z5.js",
653
+ "dist/cli/chunk-NWIJLTRL.js",
652
654
  "dist/cli/chunk-NXDRDJ4K.js",
653
655
  "dist/cli/chunk-NXGCO4JB.mjs",
654
656
  "dist/cli/chunk-OG64RBAC.js",
655
657
  "dist/cli/chunk-OVDNJAJN.mjs",
656
658
  "dist/cli/chunk-QJBJZVG6.js",
659
+ "dist/cli/chunk-QZAP5VOS.mjs",
660
+ "dist/cli/chunk-REP2MYBI.mjs",
661
+ "dist/cli/chunk-RSEVBSFE.mjs",
657
662
  "dist/cli/chunk-S6R3OX7B.js",
658
663
  "dist/cli/chunk-SFLARO4Y.mjs",
659
- "dist/cli/chunk-T33W6JUJ.js",
660
664
  "dist/cli/chunk-TAC3JIFE.mjs",
661
- "dist/cli/chunk-TDSNAC3C.mjs",
662
- "dist/cli/chunk-TXVOB5J2.js",
663
- "dist/cli/chunk-TZQMFWLF.js",
665
+ "dist/cli/chunk-TAGHNT5P.js",
664
666
  "dist/cli/chunk-UFS752TU.mjs",
665
667
  "dist/cli/chunk-UNEMDKXN.js",
666
- "dist/cli/chunk-VGKVLADU.mjs",
667
- "dist/cli/chunk-VKXGOQG5.mjs",
668
- "dist/cli/chunk-W74E5ETE.mjs",
668
+ "dist/cli/chunk-UROXKPND.js",
669
669
  "dist/cli/chunk-WJYPBHTE.js",
670
670
  "dist/cli/chunk-WOHBA5PV.js",
671
671
  "dist/cli/chunk-WXLOW623.mjs",
672
672
  "dist/cli/chunk-WZYKRD7T.mjs",
673
673
  "dist/cli/chunk-XNYIZMNQ.js",
674
674
  "dist/cli/chunk-YIY74KUF.mjs",
675
- "dist/cli/chunk-ZRN6YOF2.mjs",
676
- "dist/cli/client-TEBW2P24.js",
677
- "dist/cli/client-ZMOKUNL2.mjs",
678
- "dist/cli/csv-HZRKEI7J.js",
679
- "dist/cli/csv-IICJHJZ4.mjs",
680
- "dist/cli/db-TM5NZF73.js",
681
- "dist/cli/db-X4B7YFNY.mjs",
682
- "dist/cli/describe-BDBARWZJ.js",
683
- "dist/cli/describe-GMVS3LFC.mjs",
684
- "dist/cli/executions-447ZJMN4.mjs",
685
- "dist/cli/executions-QX25UOQM.js",
686
- "dist/cli/feedback-4IXUTBX7.js",
687
- "dist/cli/feedback-JB7HHIC6.mjs",
675
+ "dist/cli/chunk-ZOFARJWH.mjs",
676
+ "dist/cli/client-7LZCG4VD.js",
677
+ "dist/cli/client-JCMSACT4.mjs",
678
+ "dist/cli/csv-NPMWVM5D.mjs",
679
+ "dist/cli/csv-OILKDKUX.js",
680
+ "dist/cli/db-AZUAOWPQ.mjs",
681
+ "dist/cli/db-MNDRYYEX.js",
682
+ "dist/cli/describe-KJWOHMKC.mjs",
683
+ "dist/cli/describe-QENLDLM2.js",
684
+ "dist/cli/executions-P36UHBPG.js",
685
+ "dist/cli/executions-QZNQWF6F.mjs",
686
+ "dist/cli/feedback-K4UGTLFD.js",
687
+ "dist/cli/feedback-RQ6HSZSG.mjs",
688
688
  "dist/cli/getting-started.d.mts",
689
689
  "dist/cli/getting-started.d.ts",
690
690
  "dist/cli/getting-started.js",
691
691
  "dist/cli/getting-started.mjs",
692
- "dist/cli/git-C7C7DTEH.js",
693
- "dist/cli/git-VID6KGAA.mjs",
692
+ "dist/cli/git-PBRMCBMI.mjs",
693
+ "dist/cli/git-RPFH3NJ2.js",
694
694
  "dist/cli/index.d.mts",
695
695
  "dist/cli/index.d.ts",
696
696
  "dist/cli/index.js",
697
697
  "dist/cli/index.mjs",
698
- "dist/cli/legacy-noops-3FYTCOZO.js",
699
- "dist/cli/legacy-noops-SGR3G5WS.mjs",
700
- "dist/cli/monitors-SH4FOMBM.mjs",
701
- "dist/cli/monitors-SP52UHS4.js",
702
- "dist/cli/org-B32MMIQT.mjs",
703
- "dist/cli/org-UQMX7JOR.js",
704
- "dist/cli/play-UCIWBN7U.js",
705
- "dist/cli/play-XTE4LUP7.mjs",
706
- "dist/cli/providers-JNMJJ2OH.js",
707
- "dist/cli/providers-RWLN6FUR.mjs",
698
+ "dist/cli/legacy-noops-G7GWJ5UC.mjs",
699
+ "dist/cli/legacy-noops-X74FM35Q.js",
700
+ "dist/cli/monitors-KL2MCR57.mjs",
701
+ "dist/cli/monitors-VKURX3YM.js",
702
+ "dist/cli/org-DT53KTNW.mjs",
703
+ "dist/cli/org-ZYXJDC44.js",
704
+ "dist/cli/play-BUQV47E2.js",
705
+ "dist/cli/play-WIJGQYTB.mjs",
706
+ "dist/cli/providers-GRTW4TXX.js",
707
+ "dist/cli/providers-GYGKGS2J.mjs",
708
708
  "dist/cli/proxy-env-NWUIGWS3.mjs",
709
709
  "dist/cli/proxy-env-ZV2WZFAT.js",
710
- "dist/cli/quickstart-HK6WZ342.js",
711
- "dist/cli/quickstart-IDB3Y375.mjs",
712
- "dist/cli/search-6D3IFNPT.mjs",
713
- "dist/cli/search-LUZ2S7DH.js",
714
- "dist/cli/secrets-JOQB57IE.js",
715
- "dist/cli/secrets-TZ53CQ3D.mjs",
716
- "dist/cli/sessions-4MBDC4EK.mjs",
717
- "dist/cli/sessions-QSAICDXX.js",
718
- "dist/cli/settings-OTOCW7L7.js",
719
- "dist/cli/settings-RKQFMLDU.mjs",
720
- "dist/cli/setup-2S5TNTUB.mjs",
721
- "dist/cli/setup-AKZUDVYY.js",
722
- "dist/cli/skills-26LASHZF.js",
723
- "dist/cli/skills-AGZXDLSA.mjs",
710
+ "dist/cli/quickstart-WB26543C.js",
711
+ "dist/cli/quickstart-XF3M2M2S.mjs",
712
+ "dist/cli/search-ANJLTOF2.mjs",
713
+ "dist/cli/search-CR2GZLCM.js",
714
+ "dist/cli/secrets-5KBUGMTK.js",
715
+ "dist/cli/secrets-D6UR5CTW.mjs",
716
+ "dist/cli/sessions-46PXFULL.js",
717
+ "dist/cli/sessions-S7N4JEWK.mjs",
718
+ "dist/cli/settings-KMNBITSU.js",
719
+ "dist/cli/settings-V6U3SRTH.mjs",
720
+ "dist/cli/setup-4K5FY6AU.js",
721
+ "dist/cli/setup-OGITSLTN.mjs",
722
+ "dist/cli/skills-4FP2MZKL.js",
723
+ "dist/cli/skills-AXWAYPBY.mjs",
724
724
  "dist/cli/text-imports.d.ts",
725
- "dist/cli/tools-7Y6RD6FY.mjs",
726
- "dist/cli/tools-L5VIJQWX.js",
727
- "dist/cli/update-M7YGF67I.mjs",
728
- "dist/cli/update-MNHF6M2F.js",
729
- "dist/cli/workflow-CTVE7S7W.mjs",
730
- "dist/cli/workflow-NGMY425T.js",
725
+ "dist/cli/tools-7YZPH6WC.js",
726
+ "dist/cli/tools-LJCY6B23.mjs",
727
+ "dist/cli/update-3VUOW6AP.js",
728
+ "dist/cli/update-DDR5XIUB.mjs",
729
+ "dist/cli/workflow-7CTCDWL3.js",
730
+ "dist/cli/workflow-PRNCVANQ.mjs",
731
731
  "dist/client-DHq8dJ56.d.ts",
732
732
  "dist/client-wiWPZhnI.d.mts",
733
733
  "dist/compiler-manifest-9TkZ_ykI.d.mts",
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.326";
152
+ readonly version: "0.3.327";
153
153
  readonly updateSummary: "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.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.d.ts CHANGED
@@ -149,7 +149,7 @@ type SdkRelease = {
149
149
  supportPolicy: SdkSupportPolicy;
150
150
  };
151
151
  declare const SDK_RELEASE: {
152
- readonly version: "0.3.326";
152
+ readonly version: "0.3.327";
153
153
  readonly updateSummary: "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.";
154
154
  readonly packageCapabilities: {
155
155
  readonly updatePreferences: 1;
package/dist/release.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBUYZEUY4js = require('./cli/chunk-BUYZEUY4.js');
3
+ var _chunk3MXRNPBNjs = require('./cli/chunk-3MXRNPBN.js');
4
4
  require('./cli/chunk-OG64RBAC.js');
5
5
  require('./cli/chunk-COGTRVWW.js');
6
6
 
7
7
 
8
- exports.SDK_RELEASE = _chunkBUYZEUY4js.SDK_RELEASE;
8
+ exports.SDK_RELEASE = _chunk3MXRNPBNjs.SDK_RELEASE;