@runcofactor/cli 0.15.0 → 0.15.2

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/{account-22LMP5PX.js → account-62I7FG5G.js} +5 -5
  2. package/dist/{api-catalog-WTFQNLK6.js → api-catalog-CAJUASVC.js} +5 -5
  3. package/dist/{attachment-U3NKVPEY.js → attachment-RL4AZUJE.js} +5 -5
  4. package/dist/{augmentor-5GMNAX4M.js → augmentor-GAF3MFY6.js} +5 -5
  5. package/dist/{auth-VQG2CDUD.js → auth-DURHUZDW.js} +3 -3
  6. package/dist/{chunk-7VMO2WOZ.js → chunk-26U3DGUM.js} +2 -2
  7. package/dist/{chunk-JMJVGMXI.js → chunk-32P26BZT.js} +2 -2
  8. package/dist/chunk-32P26BZT.js.map +1 -0
  9. package/dist/{chunk-VGYN2KU2.js → chunk-5R4HMSNX.js} +69 -9
  10. package/dist/chunk-5R4HMSNX.js.map +1 -0
  11. package/dist/{chunk-46IUJXSD.js → chunk-AQPJQ5AE.js} +2 -2
  12. package/dist/{chunk-PRBRSIZP.js → chunk-CFJXYPTF.js} +3 -3
  13. package/dist/{chunk-UETBLPKM.js → chunk-CJEKEW7R.js} +3 -3
  14. package/dist/{chunk-CMGI7UZD.js → chunk-G5SXUXSU.js} +3 -3
  15. package/dist/{chunk-XJ5YYYGC.js → chunk-HKQ5XQAQ.js} +4 -4
  16. package/dist/{chunk-3X3NW7QA.js → chunk-IGHDIWZU.js} +2 -2
  17. package/dist/{chunk-JYGNMKZ5.js → chunk-IWKJQZJQ.js} +115 -92
  18. package/dist/chunk-IWKJQZJQ.js.map +1 -0
  19. package/dist/{chunk-KCHKFYVX.js → chunk-PXFDH6YL.js} +34 -1
  20. package/dist/{chunk-KCHKFYVX.js.map → chunk-PXFDH6YL.js.map} +1 -1
  21. package/dist/{chunk-HDFYUFBI.js → chunk-UZ2ZA5A6.js} +2 -2
  22. package/dist/{chunk-FNPMWDUQ.js → chunk-VKBTI5EF.js} +3 -3
  23. package/dist/{chunk-NHTEKEYE.js → chunk-ZXRVFFCY.js} +3 -3
  24. package/dist/{credential-E6KUHRGU.js → credential-JGVSEGVH.js} +5 -5
  25. package/dist/{credential-template-4GPOPBGD.js → credential-template-CWWMOKB2.js} +5 -5
  26. package/dist/{debug-workflow-XCLCY6S7.js → debug-workflow-BXRU72YZ.js} +5 -5
  27. package/dist/{docs-COCZYMW6.js → docs-PVBXPTGR.js} +5 -5
  28. package/dist/{doctor-ERIVTCQS.js → doctor-RHMKD4W5.js} +3 -3
  29. package/dist/{environment-7Y4BV6XY.js → environment-WZKIO3R3.js} +5 -5
  30. package/dist/{feature-flag-MHONEX6T.js → feature-flag-K5REGGDY.js} +5 -5
  31. package/dist/index.js +45 -45
  32. package/dist/{init-OROOM4HF.js → init-FFUZO5D7.js} +5 -5
  33. package/dist/{install-OJFXHY6U.js → install-XRKEQAFZ.js} +5 -5
  34. package/dist/{issues-32GONR6C.js → issues-I3V6GEXU.js} +5 -5
  35. package/dist/{knobs-UQGGY3CP.js → knobs-6WLJMB44.js} +5 -5
  36. package/dist/{list-ZMIKEC5P.js → list-PHC7VYNS.js} +5 -5
  37. package/dist/{local-PUD24GGQ.js → local-VGYRSW22.js} +7 -7
  38. package/dist/{login-BSO7YX2D.js → login-QPU2BKG2.js} +5 -5
  39. package/dist/{mcp-4LS7OJUT.js → mcp-LA452TOA.js} +8 -8
  40. package/dist/{product-3JKSJCBC.js → product-RSZV5HMB.js} +5 -5
  41. package/dist/{property-K5DBL4UE.js → property-YP4GHQAR.js} +5 -5
  42. package/dist/{psql-PQFUFTSE.js → psql-XGLBI6T7.js} +3 -3
  43. package/dist/{record-EIIYLFJ4.js → record-KWKHP2ZY.js} +6 -6
  44. package/dist/{redis-BU36EZZI.js → redis-VJGCUJPV.js} +3 -3
  45. package/dist/{release-LYC2P7DZ.js → release-NDRHPW6V.js} +5 -5
  46. package/dist/{sandbox-CKHXXZHU.js → sandbox-OOCANWOG.js} +5 -5
  47. package/dist/{scenarios-2XJ2G3KR.js → scenarios-2HRLCGFY.js} +5 -5
  48. package/dist/{session-UTOD5ZYH.js → session-M4ULYDYP.js} +7 -7
  49. package/dist/{skill-GMAERMQL.js → skill-4DGPRDUC.js} +2 -2
  50. package/dist/skills/optimize-cache/SKILL.md +26 -10
  51. package/dist/{spec-2NP36U3Y.js → spec-XZ2TKUFZ.js} +5 -5
  52. package/dist/{src-UEOOC425.js → src-7LAXXTVG.js} +34 -6
  53. package/dist/{src-UEOOC425.js.map → src-7LAXXTVG.js.map} +1 -1
  54. package/dist/{src-CG52HEE7.js → src-CV57ZD6I.js} +3 -3
  55. package/dist/{src-4T6GHXVO.js → src-HL7HEJIW.js} +2 -2
  56. package/dist/{src-PK5OZXCM.js → src-OU7544PM.js} +6 -4
  57. package/dist/{start-3C7EEFW2.js → start-IYKF3C3X.js} +5 -5
  58. package/dist/{tag-JSHOMLBR.js → tag-T45MMSCH.js} +6 -6
  59. package/dist/{task-YGWVYTBJ.js → task-MCUHAVTD.js} +5 -5
  60. package/dist/{test-suite-LI7ZH367.js → test-suite-BICBRSBP.js} +7 -7
  61. package/dist/{trace-UMLOSIIR.js → trace-2BAPMYAS.js} +6 -6
  62. package/dist/{triage-ZWJG4NBJ.js → triage-M3RZ2ASB.js} +6 -6
  63. package/dist/{upgrade-S7CGEK6H.js → upgrade-4QCRAUHP.js} +3 -3
  64. package/dist/{workflow-T4HSAOGW.js → workflow-ZGJU4QCV.js} +11 -11
  65. package/dist/{workflow-cache-XVEZ36KF.js → workflow-cache-M4N325UT.js} +26 -13
  66. package/dist/workflow-cache-M4N325UT.js.map +1 -0
  67. package/dist/{workflow-debug-T2BULXZ7.js → workflow-debug-W4USZH35.js} +8 -8
  68. package/dist/{workflow-proposals-XXEZICN2.js → workflow-proposals-5E3DTYZB.js} +5 -5
  69. package/package.json +5 -1
  70. package/dist/chunk-JMJVGMXI.js.map +0 -1
  71. package/dist/chunk-JYGNMKZ5.js.map +0 -1
  72. package/dist/chunk-VGYN2KU2.js.map +0 -1
  73. package/dist/workflow-cache-XVEZ36KF.js.map +0 -1
  74. /package/dist/{account-22LMP5PX.js.map → account-62I7FG5G.js.map} +0 -0
  75. /package/dist/{api-catalog-WTFQNLK6.js.map → api-catalog-CAJUASVC.js.map} +0 -0
  76. /package/dist/{attachment-U3NKVPEY.js.map → attachment-RL4AZUJE.js.map} +0 -0
  77. /package/dist/{augmentor-5GMNAX4M.js.map → augmentor-GAF3MFY6.js.map} +0 -0
  78. /package/dist/{auth-VQG2CDUD.js.map → auth-DURHUZDW.js.map} +0 -0
  79. /package/dist/{chunk-7VMO2WOZ.js.map → chunk-26U3DGUM.js.map} +0 -0
  80. /package/dist/{chunk-46IUJXSD.js.map → chunk-AQPJQ5AE.js.map} +0 -0
  81. /package/dist/{chunk-PRBRSIZP.js.map → chunk-CFJXYPTF.js.map} +0 -0
  82. /package/dist/{chunk-UETBLPKM.js.map → chunk-CJEKEW7R.js.map} +0 -0
  83. /package/dist/{chunk-CMGI7UZD.js.map → chunk-G5SXUXSU.js.map} +0 -0
  84. /package/dist/{chunk-XJ5YYYGC.js.map → chunk-HKQ5XQAQ.js.map} +0 -0
  85. /package/dist/{chunk-3X3NW7QA.js.map → chunk-IGHDIWZU.js.map} +0 -0
  86. /package/dist/{chunk-HDFYUFBI.js.map → chunk-UZ2ZA5A6.js.map} +0 -0
  87. /package/dist/{chunk-FNPMWDUQ.js.map → chunk-VKBTI5EF.js.map} +0 -0
  88. /package/dist/{chunk-NHTEKEYE.js.map → chunk-ZXRVFFCY.js.map} +0 -0
  89. /package/dist/{credential-E6KUHRGU.js.map → credential-JGVSEGVH.js.map} +0 -0
  90. /package/dist/{credential-template-4GPOPBGD.js.map → credential-template-CWWMOKB2.js.map} +0 -0
  91. /package/dist/{debug-workflow-XCLCY6S7.js.map → debug-workflow-BXRU72YZ.js.map} +0 -0
  92. /package/dist/{docs-COCZYMW6.js.map → docs-PVBXPTGR.js.map} +0 -0
  93. /package/dist/{doctor-ERIVTCQS.js.map → doctor-RHMKD4W5.js.map} +0 -0
  94. /package/dist/{environment-7Y4BV6XY.js.map → environment-WZKIO3R3.js.map} +0 -0
  95. /package/dist/{feature-flag-MHONEX6T.js.map → feature-flag-K5REGGDY.js.map} +0 -0
  96. /package/dist/{init-OROOM4HF.js.map → init-FFUZO5D7.js.map} +0 -0
  97. /package/dist/{install-OJFXHY6U.js.map → install-XRKEQAFZ.js.map} +0 -0
  98. /package/dist/{issues-32GONR6C.js.map → issues-I3V6GEXU.js.map} +0 -0
  99. /package/dist/{knobs-UQGGY3CP.js.map → knobs-6WLJMB44.js.map} +0 -0
  100. /package/dist/{list-ZMIKEC5P.js.map → list-PHC7VYNS.js.map} +0 -0
  101. /package/dist/{local-PUD24GGQ.js.map → local-VGYRSW22.js.map} +0 -0
  102. /package/dist/{login-BSO7YX2D.js.map → login-QPU2BKG2.js.map} +0 -0
  103. /package/dist/{mcp-4LS7OJUT.js.map → mcp-LA452TOA.js.map} +0 -0
  104. /package/dist/{product-3JKSJCBC.js.map → product-RSZV5HMB.js.map} +0 -0
  105. /package/dist/{property-K5DBL4UE.js.map → property-YP4GHQAR.js.map} +0 -0
  106. /package/dist/{psql-PQFUFTSE.js.map → psql-XGLBI6T7.js.map} +0 -0
  107. /package/dist/{record-EIIYLFJ4.js.map → record-KWKHP2ZY.js.map} +0 -0
  108. /package/dist/{redis-BU36EZZI.js.map → redis-VJGCUJPV.js.map} +0 -0
  109. /package/dist/{release-LYC2P7DZ.js.map → release-NDRHPW6V.js.map} +0 -0
  110. /package/dist/{sandbox-CKHXXZHU.js.map → sandbox-OOCANWOG.js.map} +0 -0
  111. /package/dist/{scenarios-2XJ2G3KR.js.map → scenarios-2HRLCGFY.js.map} +0 -0
  112. /package/dist/{session-UTOD5ZYH.js.map → session-M4ULYDYP.js.map} +0 -0
  113. /package/dist/{skill-GMAERMQL.js.map → skill-4DGPRDUC.js.map} +0 -0
  114. /package/dist/{spec-2NP36U3Y.js.map → spec-XZ2TKUFZ.js.map} +0 -0
  115. /package/dist/{src-CG52HEE7.js.map → src-CV57ZD6I.js.map} +0 -0
  116. /package/dist/{src-4T6GHXVO.js.map → src-HL7HEJIW.js.map} +0 -0
  117. /package/dist/{src-PK5OZXCM.js.map → src-OU7544PM.js.map} +0 -0
  118. /package/dist/{start-3C7EEFW2.js.map → start-IYKF3C3X.js.map} +0 -0
  119. /package/dist/{tag-JSHOMLBR.js.map → tag-T45MMSCH.js.map} +0 -0
  120. /package/dist/{task-YGWVYTBJ.js.map → task-MCUHAVTD.js.map} +0 -0
  121. /package/dist/{test-suite-LI7ZH367.js.map → test-suite-BICBRSBP.js.map} +0 -0
  122. /package/dist/{trace-UMLOSIIR.js.map → trace-2BAPMYAS.js.map} +0 -0
  123. /package/dist/{triage-ZWJG4NBJ.js.map → triage-M3RZ2ASB.js.map} +0 -0
  124. /package/dist/{upgrade-S7CGEK6H.js.map → upgrade-4QCRAUHP.js.map} +0 -0
  125. /package/dist/{workflow-T4HSAOGW.js.map → workflow-ZGJU4QCV.js.map} +0 -0
  126. /package/dist/{workflow-debug-T2BULXZ7.js.map → workflow-debug-W4USZH35.js.map} +0 -0
  127. /package/dist/{workflow-proposals-XXEZICN2.js.map → workflow-proposals-5E3DTYZB.js.map} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
2
2
  import {
3
3
  hasFlag
4
- } from "./chunk-3X3NW7QA.js";
5
- import "./chunk-JMJVGMXI.js";
4
+ } from "./chunk-IGHDIWZU.js";
5
+ import "./chunk-32P26BZT.js";
6
6
  import "./chunk-VKVL7WBN.js";
7
7
 
8
8
  // src/local/index.ts
@@ -70,22 +70,22 @@ async function runLocal(argv) {
70
70
  }
71
71
  switch (subcommand) {
72
72
  case "init": {
73
- const { runLocalInit } = await import("./init-OROOM4HF.js");
73
+ const { runLocalInit } = await import("./init-FFUZO5D7.js");
74
74
  await runLocalInit(rest);
75
75
  break;
76
76
  }
77
77
  case "start": {
78
- const { runLocalStart } = await import("./start-3C7EEFW2.js");
78
+ const { runLocalStart } = await import("./start-IYKF3C3X.js");
79
79
  await runLocalStart(rest);
80
80
  break;
81
81
  }
82
82
  case "list": {
83
- const { runLocalList } = await import("./list-ZMIKEC5P.js");
83
+ const { runLocalList } = await import("./list-PHC7VYNS.js");
84
84
  await runLocalList(rest);
85
85
  break;
86
86
  }
87
87
  case "login": {
88
- const { runLocalLogin } = await import("./login-BSO7YX2D.js");
88
+ const { runLocalLogin } = await import("./login-QPU2BKG2.js");
89
89
  await runLocalLogin(rest);
90
90
  break;
91
91
  }
@@ -98,4 +98,4 @@ async function runLocal(argv) {
98
98
  export {
99
99
  runLocal
100
100
  };
101
- //# sourceMappingURL=local-PUD24GGQ.js.map
101
+ //# sourceMappingURL=local-VGYRSW22.js.map
@@ -10,15 +10,15 @@ import {
10
10
  promptChoice,
11
11
  selectProperty,
12
12
  uploadStorageState
13
- } from "./chunk-PRBRSIZP.js";
13
+ } from "./chunk-CFJXYPTF.js";
14
14
  import "./chunk-3CZU7XCS.js";
15
15
  import {
16
16
  getArgValue,
17
17
  resolveConfig
18
- } from "./chunk-3X3NW7QA.js";
19
- import "./chunk-JMJVGMXI.js";
18
+ } from "./chunk-IGHDIWZU.js";
19
+ import "./chunk-32P26BZT.js";
20
20
  import "./chunk-JWHYXEA2.js";
21
- import "./chunk-JYGNMKZ5.js";
21
+ import "./chunk-IWKJQZJQ.js";
22
22
  import "./chunk-VKVL7WBN.js";
23
23
 
24
24
  // src/local/login.ts
@@ -313,4 +313,4 @@ Opening browser at ${args.url}...`);
313
313
  export {
314
314
  runLocalLogin
315
315
  };
316
- //# sourceMappingURL=login-BSO7YX2D.js.map
316
+ //# sourceMappingURL=login-QPU2BKG2.js.map
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  LocalBrowserHost,
8
8
  USER_PAUSED_ERROR
9
- } from "./chunk-HDFYUFBI.js";
9
+ } from "./chunk-UZ2ZA5A6.js";
10
10
  import {
11
11
  callTool,
12
12
  createSession,
@@ -18,26 +18,26 @@ import {
18
18
  fetchOrgs,
19
19
  openUrl,
20
20
  switchOrg
21
- } from "./chunk-CMGI7UZD.js";
21
+ } from "./chunk-G5SXUXSU.js";
22
22
  import {
23
23
  clearUpdateCache
24
- } from "./chunk-46IUJXSD.js";
24
+ } from "./chunk-AQPJQ5AE.js";
25
25
  import {
26
26
  ENV_URLS,
27
27
  envToProfile,
28
28
  readStoredToken,
29
29
  resolveAppUrl,
30
30
  saveAuth
31
- } from "./chunk-3X3NW7QA.js";
31
+ } from "./chunk-IGHDIWZU.js";
32
32
  import {
33
33
  packageName,
34
34
  readBrandEnv
35
- } from "./chunk-JMJVGMXI.js";
35
+ } from "./chunk-32P26BZT.js";
36
36
  import {
37
37
  getBrowserToolDefinitionsWithLifecycle
38
- } from "./chunk-VGYN2KU2.js";
38
+ } from "./chunk-5R4HMSNX.js";
39
39
  import "./chunk-JWHYXEA2.js";
40
- import "./chunk-JYGNMKZ5.js";
40
+ import "./chunk-IWKJQZJQ.js";
41
41
  import "./chunk-6LEZCKKV.js";
42
42
  import "./chunk-KRWRUU6R.js";
43
43
  import "./chunk-VKVL7WBN.js";
@@ -1952,4 +1952,4 @@ async function runMcp(_argv) {
1952
1952
  export {
1953
1953
  runMcp
1954
1954
  };
1955
- //# sourceMappingURL=mcp-4LS7OJUT.js.map
1955
+ //# sourceMappingURL=mcp-LA452TOA.js.map
@@ -2,16 +2,16 @@ import { createRequire as __cr } from "module"; const require = __cr(import.meta
2
2
  import {
3
3
  apiRequest,
4
4
  fetchList
5
- } from "./chunk-PRBRSIZP.js";
5
+ } from "./chunk-CFJXYPTF.js";
6
6
  import "./chunk-3CZU7XCS.js";
7
7
  import {
8
8
  getArgValue,
9
9
  hasFlag,
10
10
  resolveConfig
11
- } from "./chunk-3X3NW7QA.js";
12
- import "./chunk-JMJVGMXI.js";
11
+ } from "./chunk-IGHDIWZU.js";
12
+ import "./chunk-32P26BZT.js";
13
13
  import "./chunk-JWHYXEA2.js";
14
- import "./chunk-JYGNMKZ5.js";
14
+ import "./chunk-IWKJQZJQ.js";
15
15
  import "./chunk-VKVL7WBN.js";
16
16
 
17
17
  // src/product.ts
@@ -343,4 +343,4 @@ async function runProduct(argv) {
343
343
  export {
344
344
  runProduct
345
345
  };
346
- //# sourceMappingURL=product-3JKSJCBC.js.map
346
+ //# sourceMappingURL=product-RSZV5HMB.js.map
@@ -3,16 +3,16 @@ import {
3
3
  apiRequest,
4
4
  fetchProperties,
5
5
  getApplicationArg
6
- } from "./chunk-PRBRSIZP.js";
6
+ } from "./chunk-CFJXYPTF.js";
7
7
  import "./chunk-3CZU7XCS.js";
8
8
  import {
9
9
  getArgValue,
10
10
  hasFlag,
11
11
  resolveConfig
12
- } from "./chunk-3X3NW7QA.js";
13
- import "./chunk-JMJVGMXI.js";
12
+ } from "./chunk-IGHDIWZU.js";
13
+ import "./chunk-32P26BZT.js";
14
14
  import "./chunk-JWHYXEA2.js";
15
- import "./chunk-JYGNMKZ5.js";
15
+ import "./chunk-IWKJQZJQ.js";
16
16
  import "./chunk-VKVL7WBN.js";
17
17
 
18
18
  // src/property.ts
@@ -770,4 +770,4 @@ async function runProperty(argv) {
770
770
  export {
771
771
  runProperty
772
772
  };
773
- //# sourceMappingURL=property-K5DBL4UE.js.map
773
+ //# sourceMappingURL=property-YP4GHQAR.js.map
@@ -4,8 +4,8 @@ import {
4
4
  } from "./chunk-3CZU7XCS.js";
5
5
  import {
6
6
  resolveConfig
7
- } from "./chunk-3X3NW7QA.js";
8
- import "./chunk-JMJVGMXI.js";
7
+ } from "./chunk-IGHDIWZU.js";
8
+ import "./chunk-32P26BZT.js";
9
9
  import "./chunk-VKVL7WBN.js";
10
10
 
11
11
  // src/psql.ts
@@ -113,4 +113,4 @@ Time: ${json.durationMs}ms`);
113
113
  export {
114
114
  runPsql
115
115
  };
116
- //# sourceMappingURL=psql-PQFUFTSE.js.map
116
+ //# sourceMappingURL=psql-XGLBI6T7.js.map
@@ -7,18 +7,18 @@ import {
7
7
  apiRequest,
8
8
  downloadStorageState,
9
9
  selectCredential
10
- } from "./chunk-PRBRSIZP.js";
10
+ } from "./chunk-CFJXYPTF.js";
11
11
  import "./chunk-3CZU7XCS.js";
12
12
  import {
13
13
  getArgValue,
14
14
  hasFlag,
15
15
  resolveConfig
16
- } from "./chunk-3X3NW7QA.js";
17
- import "./chunk-JMJVGMXI.js";
16
+ } from "./chunk-IGHDIWZU.js";
17
+ import "./chunk-32P26BZT.js";
18
18
  import {
19
19
  getCanaryTmpDir
20
20
  } from "./chunk-JWHYXEA2.js";
21
- import "./chunk-JYGNMKZ5.js";
21
+ import "./chunk-IWKJQZJQ.js";
22
22
  import "./chunk-VKVL7WBN.js";
23
23
 
24
24
  // src/record.ts
@@ -86,7 +86,7 @@ async function runRecord(argv) {
86
86
  );
87
87
  }
88
88
  console.log("Launching browser...");
89
- const { PlaywrightClient, consoleLogger, captureElementAtPoint } = await import("./src-CG52HEE7.js");
89
+ const { PlaywrightClient, consoleLogger, captureElementAtPoint } = await import("./src-CV57ZD6I.js");
90
90
  const client = new PlaywrightClient({ logger: consoleLogger });
91
91
  await client.connect({
92
92
  browserMode: "headed",
@@ -229,4 +229,4 @@ Output directory: ${outDir}`);
229
229
  export {
230
230
  runRecord
231
231
  };
232
- //# sourceMappingURL=record-EIIYLFJ4.js.map
232
+ //# sourceMappingURL=record-KWKHP2ZY.js.map
@@ -4,8 +4,8 @@ import {
4
4
  } from "./chunk-3CZU7XCS.js";
5
5
  import {
6
6
  resolveConfig
7
- } from "./chunk-3X3NW7QA.js";
8
- import "./chunk-JMJVGMXI.js";
7
+ } from "./chunk-IGHDIWZU.js";
8
+ import "./chunk-32P26BZT.js";
9
9
  import "./chunk-VKVL7WBN.js";
10
10
 
11
11
  // src/redis.ts
@@ -114,4 +114,4 @@ Time: ${json_response.durationMs}ms`);
114
114
  export {
115
115
  runRedis
116
116
  };
117
- //# sourceMappingURL=redis-BU36EZZI.js.map
117
+ //# sourceMappingURL=redis-VJGCUJPV.js.map
@@ -1,16 +1,16 @@
1
1
  import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
2
2
  import {
3
3
  getApplicationIdArg
4
- } from "./chunk-PRBRSIZP.js";
4
+ } from "./chunk-CFJXYPTF.js";
5
5
  import "./chunk-3CZU7XCS.js";
6
6
  import {
7
7
  getArgValue,
8
8
  hasFlag,
9
9
  resolveConfig
10
- } from "./chunk-3X3NW7QA.js";
11
- import "./chunk-JMJVGMXI.js";
10
+ } from "./chunk-IGHDIWZU.js";
11
+ import "./chunk-32P26BZT.js";
12
12
  import "./chunk-JWHYXEA2.js";
13
- import "./chunk-JYGNMKZ5.js";
13
+ import "./chunk-IWKJQZJQ.js";
14
14
  import "./chunk-VKVL7WBN.js";
15
15
 
16
16
  // src/release.ts
@@ -352,4 +352,4 @@ async function runRelease(argv) {
352
352
  export {
353
353
  runRelease
354
354
  };
355
- //# sourceMappingURL=release-LYC2P7DZ.js.map
355
+ //# sourceMappingURL=release-NDRHPW6V.js.map
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  apiRequest,
8
8
  selectProperty
9
- } from "./chunk-PRBRSIZP.js";
9
+ } from "./chunk-CFJXYPTF.js";
10
10
  import {
11
11
  apiFetch,
12
12
  exitOnFailure,
@@ -16,14 +16,14 @@ import {
16
16
  getArgValue,
17
17
  hasFlag,
18
18
  resolveConfig
19
- } from "./chunk-3X3NW7QA.js";
20
- import "./chunk-JMJVGMXI.js";
19
+ } from "./chunk-IGHDIWZU.js";
20
+ import "./chunk-32P26BZT.js";
21
21
  import "./chunk-JWHYXEA2.js";
22
22
  import {
23
23
  INSTANCE_SIZES,
24
24
  INSTANCE_SIZE_SPEC,
25
25
  parseInstanceSize
26
- } from "./chunk-JYGNMKZ5.js";
26
+ } from "./chunk-IWKJQZJQ.js";
27
27
  import "./chunk-VKVL7WBN.js";
28
28
 
29
29
  // src/sandbox.ts
@@ -2088,4 +2088,4 @@ export {
2088
2088
  parseDockerPs,
2089
2089
  runSandbox
2090
2090
  };
2091
- //# sourceMappingURL=sandbox-CKHXXZHU.js.map
2091
+ //# sourceMappingURL=sandbox-OOCANWOG.js.map
@@ -1,16 +1,16 @@
1
1
  import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
2
2
  import {
3
3
  apiRequest
4
- } from "./chunk-PRBRSIZP.js";
4
+ } from "./chunk-CFJXYPTF.js";
5
5
  import "./chunk-3CZU7XCS.js";
6
6
  import {
7
7
  getArgValue,
8
8
  hasFlag,
9
9
  resolveConfig
10
- } from "./chunk-3X3NW7QA.js";
11
- import "./chunk-JMJVGMXI.js";
10
+ } from "./chunk-IGHDIWZU.js";
11
+ import "./chunk-32P26BZT.js";
12
12
  import "./chunk-JWHYXEA2.js";
13
- import "./chunk-JYGNMKZ5.js";
13
+ import "./chunk-IWKJQZJQ.js";
14
14
  import "./chunk-VKVL7WBN.js";
15
15
 
16
16
  // src/scenarios.ts
@@ -278,4 +278,4 @@ async function handleReject(argv, apiUrl, token) {
278
278
  export {
279
279
  runScenarios
280
280
  };
281
- //# sourceMappingURL=scenarios-2XJ2G3KR.js.map
281
+ //# sourceMappingURL=scenarios-2HRLCGFY.js.map
@@ -2,7 +2,7 @@ import { createRequire as __cr } from "module"; const require = __cr(import.meta
2
2
  import {
3
3
  LocalBrowserHost,
4
4
  USER_PAUSED_ERROR
5
- } from "./chunk-HDFYUFBI.js";
5
+ } from "./chunk-UZ2ZA5A6.js";
6
6
  import "./chunk-G4UYGRZR.js";
7
7
  import {
8
8
  INTERACTION_CAPTURE_SCRIPT
@@ -24,23 +24,23 @@ import {
24
24
  downloadStorageState,
25
25
  selectCredential,
26
26
  uploadStorageState
27
- } from "./chunk-PRBRSIZP.js";
27
+ } from "./chunk-CFJXYPTF.js";
28
28
  import "./chunk-3CZU7XCS.js";
29
29
  import {
30
30
  getArgValue,
31
31
  hasFlag,
32
32
  resolveConfig
33
- } from "./chunk-3X3NW7QA.js";
34
- import "./chunk-JMJVGMXI.js";
33
+ } from "./chunk-IGHDIWZU.js";
34
+ import "./chunk-32P26BZT.js";
35
35
  import {
36
36
  BrowserToolExecutor,
37
37
  PlaywrightClient,
38
38
  captureElementAtPoint,
39
39
  dispatchBrowserTool,
40
40
  dispatchBrowserToolWithTimeout
41
- } from "./chunk-VGYN2KU2.js";
41
+ } from "./chunk-5R4HMSNX.js";
42
42
  import "./chunk-JWHYXEA2.js";
43
- import "./chunk-JYGNMKZ5.js";
43
+ import "./chunk-IWKJQZJQ.js";
44
44
  import "./chunk-6LEZCKKV.js";
45
45
  import {
46
46
  consoleLogger
@@ -2478,4 +2478,4 @@ export {
2478
2478
  buildToolArgs,
2479
2479
  runSession
2480
2480
  };
2481
- //# sourceMappingURL=session-UTOD5ZYH.js.map
2481
+ //# sourceMappingURL=session-M4ULYDYP.js.map
@@ -2,7 +2,7 @@ import { createRequire as __cr } from "module"; const require = __cr(import.meta
2
2
  import {
3
3
  brandSkillContentFor,
4
4
  command
5
- } from "./chunk-JMJVGMXI.js";
5
+ } from "./chunk-32P26BZT.js";
6
6
  import "./chunk-VKVL7WBN.js";
7
7
 
8
8
  // src/skill.ts
@@ -1986,4 +1986,4 @@ export {
1986
1986
  resolveInstallDir,
1987
1987
  runSkill
1988
1988
  };
1989
- //# sourceMappingURL=skill-GMAERMQL.js.map
1989
+ //# sourceMappingURL=skill-4DGPRDUC.js.map
@@ -12,7 +12,7 @@ allowed-tools: Read, Grep, Glob, Bash(canary workflow debug:*), Bash(canary work
12
12
 
13
13
  You are building the deterministic cache + playbook for a workflow from the
14
14
  evidence of a real run — the same procedure the server's async cache-optimizer
15
- agent follows, driven manually through the canary CLI.
15
+ agent follows, driven manually through the `canary` CLI.
16
16
 
17
17
  ## Materialize the workspace
18
18
 
@@ -124,16 +124,26 @@ future runs work with fresh data:
124
124
  produced the value — never anchor on the literal.
125
125
  - **App-generated values the live agent missed** are still recoverable here.
126
126
  If the app creates a value during this run (receipt number, confirmation
127
- code, generated entity ID, URL slug) and a later locator, assertion, or
128
- download check depends on it, call `declare_dynamic_variable` with the
129
- observed value before building locators. Then add a cached `capture` action
130
- that saves the same key before the first dependent cached action, and use
131
- `$var.key` / `{{var.key}}` where the generated value appears later.
127
+ code, generated entity ID, auto-derived title or name, URL slug) and a
128
+ later locator, assertion, or download check depends on it, call
129
+ `declare_dynamic_variable` with the observed value before building
130
+ locators. Then add a cached `capture` action that saves the same key before
131
+ the first dependent cached action, and use `$var.key` / `{{var.key}}` where
132
+ the generated value appears later.
132
133
  Constants chosen by the workflow (names, dates, dropdown options, payment
133
134
  types) do not need this treatment unless they are app-generated.
135
+ This is a REQUIREMENT, not a suggestion: once you suspect a distinguishing
136
+ value is app-generated (you saw the app derive it, the workflow never typed
137
+ it, or it differs from what an earlier step entered), you may NOT anchor on
138
+ the literal and you may NOT silently gap the step. Find the value on-path
139
+ (a heading, breadcrumb, row cell, or the URL of a page the step already
140
+ visits), capture it, and bind the locator to the capture. Gap only when no
141
+ on-path capture source exists — and say so in the gap reason.
134
142
  - **Gaps** are honest: a `gap` compiled entry means "the replay agent performs
135
143
  this step live". A gap replays slower but correctly; a bad cached locator
136
- replays fast and wrong. Prefer the gap.
144
+ replays fast and wrong. Prefer the gap — except where the only obstacle is
145
+ an app-generated value with a visible capture source (see above): there the
146
+ capture-bound locator is the correct outcome, not a gap.
137
147
  - **Volatile identifiers** (seeded entity numbers, ULIDs/UUIDs, timestamps,
138
148
  framework-generated class hashes) WILL differ next run even though they
139
149
  point at a real element today. Structural prefixes (e.g. a stable
@@ -165,14 +175,20 @@ Every cached browser action's locator must pass offline verification against
165
175
  the trace-reconstructed DOM of the action's before-state:
166
176
 
167
177
  1. Materialize the substrate for the action (its before-snapshot).
168
- 2. Derive the locator from the substrate (the deterministic builder owns the
178
+ 2. Pick the target `ref` from THAT substrate, not from the trace action's
179
+ `params.selector`. Trace `aria-ref=e...` values are only hints: ref numbers
180
+ can change when the DOM is reconstructed, so copying the trace selector can
181
+ point at a different element. Read the substrate around the intended target
182
+ and choose the ref in the reconstructed tree.
183
+ 3. Derive the locator from the substrate (the deterministic builder owns the
169
184
  predicate ladder — do not hand-craft selectors when the builder succeeds).
170
- 3. Verify: the strategy must resolve to EXACTLY the recorded target element
185
+ 4. Verify: the strategy must resolve to EXACTLY the recorded target element
171
186
  (handle identity, count of one) and must not lean on volatile identifier
172
187
  tokens.
173
188
 
174
189
  On failure, in order:
175
- - Re-check the target ref — did you pick the right element in the substrate?
190
+ - Re-check the target ref — did you pick the right element in the substrate,
191
+ or accidentally reuse a trace `aria-ref` that now names something else?
176
192
  - Try the builder against a corrected ref or with the run's variable values
177
193
  (a row may only be distinguishable via a bound variable).
178
194
  - If the element is one of several identical widgets (responsive duplicates,
@@ -12,7 +12,7 @@ import {
12
12
  workflowToSpec,
13
13
  writeNodeIds,
14
14
  writeWorkflowId
15
- } from "./chunk-7VMO2WOZ.js";
15
+ } from "./chunk-26U3DGUM.js";
16
16
  import {
17
17
  fetchOrExit
18
18
  } from "./chunk-3CZU7XCS.js";
@@ -20,15 +20,15 @@ import {
20
20
  getArgValue,
21
21
  hasFlag,
22
22
  resolveAppUrl
23
- } from "./chunk-3X3NW7QA.js";
23
+ } from "./chunk-IGHDIWZU.js";
24
24
  import {
25
25
  isSpecFile,
26
26
  readableSpecDirs,
27
27
  specDir,
28
28
  specExtension,
29
29
  splitSpecExtension
30
- } from "./chunk-JMJVGMXI.js";
31
- import "./chunk-JYGNMKZ5.js";
30
+ } from "./chunk-32P26BZT.js";
31
+ import "./chunk-IWKJQZJQ.js";
32
32
  import "./chunk-VKVL7WBN.js";
33
33
 
34
34
  // src/spec/index.ts
@@ -977,4 +977,4 @@ export {
977
977
  stampedSpecPath,
978
978
  uniqueName
979
979
  };
980
- //# sourceMappingURL=spec-2NP36U3Y.js.map
980
+ //# sourceMappingURL=spec-XZ2TKUFZ.js.map
@@ -1,7 +1,9 @@
1
1
  import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
2
2
  import {
3
- reconstructSnapshots
4
- } from "./chunk-KCHKFYVX.js";
3
+ parseTraceActions,
4
+ reconstructSnapshots,
5
+ toMutationIndex
6
+ } from "./chunk-PXFDH6YL.js";
5
7
  import {
6
8
  buildLocatorString
7
9
  } from "./chunk-5GD47G2D.js";
@@ -9,14 +11,14 @@ import {
9
11
  applyCustomAugmentors,
10
12
  captureSubstrateV2,
11
13
  parseSnapshot
12
- } from "./chunk-VGYN2KU2.js";
14
+ } from "./chunk-5R4HMSNX.js";
13
15
  import "./chunk-JWHYXEA2.js";
14
16
  import {
15
17
  MACRO_PATTERN,
16
18
  isVolatileIdentifier,
17
19
  stableAttrSelector,
18
20
  stableIdentifierPrefix
19
- } from "./chunk-JYGNMKZ5.js";
21
+ } from "./chunk-IWKJQZJQ.js";
20
22
  import "./chunk-6LEZCKKV.js";
21
23
  import {
22
24
  consoleLogger
@@ -5211,22 +5213,35 @@ var SubstrateMaterializer = class {
5211
5213
  cache = /* @__PURE__ */ new Map();
5212
5214
  session;
5213
5215
  ownsSession;
5216
+ /** Parsed trace actions in `actions.jsonl` order — lazy, parsed once. */
5217
+ allActions = null;
5214
5218
  /**
5215
5219
  * Reconstruct one action's snapshot and capture substrate-v2 over it.
5216
5220
  * `phase: 'before'` is the page state the action targeted (locator input);
5217
5221
  * `'after'` is its result (the next action's context).
5222
+ *
5223
+ * `actionIndex` is the action's position in `parseTraceActions` order — the
5224
+ * SAME index space as the workspace's `browser/actions.jsonl` and
5225
+ * `optimizer/segments.json` actionIndices. The mutation-filtered index the
5226
+ * snapshot reconstructor uses internally is remapped here; observation
5227
+ * actions (screenshots) are rejected with a self-correcting error.
5218
5228
  */
5219
5229
  async materialize(actionIndex, phase = "before") {
5220
5230
  const key2 = `${actionIndex}:${phase}`;
5221
5231
  const hit = this.cache.get(key2);
5222
5232
  if (hit) return hit;
5233
+ this.allActions ??= parseTraceActions(this.opts.traceZipPath);
5234
+ const resolved = toMutationIndex(this.allActions, actionIndex);
5235
+ if (!resolved.ok) {
5236
+ throw new Error(resolved.reason);
5237
+ }
5223
5238
  const results = await reconstructSnapshots({
5224
5239
  traceZipPath: this.opts.traceZipPath,
5225
5240
  includeScreenshots: false,
5226
5241
  includeHtml: true,
5227
5242
  filter: phase,
5228
5243
  raw: false,
5229
- actionIndex
5244
+ actionIndex: resolved.mutationIndex
5230
5245
  });
5231
5246
  const snapshot = results.find((r) => r.phase === phase && r.html);
5232
5247
  if (!snapshot?.html) {
@@ -5610,6 +5625,16 @@ function buildCacheRecipe(opts) {
5610
5625
  agentMacroResolutions: opts.agentMacroResolutions,
5611
5626
  variableValues: opts.variableValues
5612
5627
  });
5628
+ const selectorlessElementActions = actionsJson.map((action, index) => ({ action, stepOrder: ordered[index]?.[0] })).filter(({ action }) => action.requiresAgent);
5629
+ if (selectorlessElementActions.length > 0) {
5630
+ throw new RecipeValidationError(
5631
+ "Recipe contains cached actions without verified selectors",
5632
+ selectorlessElementActions.map(({ action, stepOrder }) => {
5633
+ const orderLabel = stepOrder === void 0 ? "unknown step" : `step ${stepOrder}`;
5634
+ return `${orderLabel}: ${action.actionType} requires a verified selector; call build_locator or mark the step as a gap`;
5635
+ })
5636
+ );
5637
+ }
5613
5638
  const actionIndexByOrder = new Map(ordered.map(([order], i) => [order, i]));
5614
5639
  if (opts.requiredTokens?.length) {
5615
5640
  const present = collectTokens({ playbook: opts.playbookSteps, actions: actionsJson });
@@ -5618,6 +5643,9 @@ function buildCacheRecipe(opts) {
5618
5643
  if (a.variableKey) bindingKeys.add(`$var.${a.variableKey}`);
5619
5644
  for (const key2 of Object.values(a.variableBindings ?? {})) bindingKeys.add(`$var.${key2}`);
5620
5645
  for (const expr of Object.values(a.macroBindings ?? {})) bindingKeys.add(expr);
5646
+ if (a.actionType === "capture" && typeof a.args?.saveAs === "string" && a.args.saveAs) {
5647
+ bindingKeys.add(`$var.${a.args.saveAs}`);
5648
+ }
5621
5649
  }
5622
5650
  const missing = opts.requiredTokens.filter((t) => !present.has(t) && !bindingKeys.has(t));
5623
5651
  if (missing.length > 0) {
@@ -5938,4 +5966,4 @@ export {
5938
5966
  verifySelectorAgainstRef,
5939
5967
  waitForTraceDomHydration
5940
5968
  };
5941
- //# sourceMappingURL=src-UEOOC425.js.map
5969
+ //# sourceMappingURL=src-7LAXXTVG.js.map