@runcofactor/cli 0.52.0 → 0.53.0
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.
- package/README.md +2 -0
- package/dist/{account-3ZG24MOE.js → account-MRZ54P5P.js} +5 -5
- package/dist/{alert-5G7PTAX2.js → alert-XBHELHEI.js} +8 -8
- package/dist/{api-catalog-IBYAFKKQ.js → api-catalog-GWYRX53L.js} +5 -5
- package/dist/{api-key-UXC44BDR.js → api-key-FH6JN447.js} +5 -5
- package/dist/{attachment-T6IRFQW3.js → attachment-J7GRVT5F.js} +5 -5
- package/dist/{auth-SHOCJE6Z.js → auth-VZZQXRDR.js} +3 -3
- package/dist/{benchmark-NJ2U6VTC.js → benchmark-A3SNDARF.js} +5 -5
- package/dist/{blackcat-RQJVFGXQ.js → blackcat-UM6TBQBN.js} +3 -3
- package/dist/{chunk-DHAGRM2F.js → chunk-33U56YGD.js} +14 -5
- package/dist/{chunk-DHAGRM2F.js.map → chunk-33U56YGD.js.map} +1 -1
- package/dist/{chunk-M752EUK3.js → chunk-3JU4UYYN.js} +5 -5
- package/dist/{chunk-G6BCST3G.js → chunk-3ZOUNCA5.js} +7 -7
- package/dist/{chunk-76Z6E7XX.js → chunk-4UZN6TVT.js} +74 -131
- package/dist/chunk-4UZN6TVT.js.map +1 -0
- package/dist/{chunk-ABT3BLRC.js → chunk-5TKXHS3X.js} +3 -3
- package/dist/{chunk-QCYSONXI.js → chunk-CRYHWO4M.js} +2 -2
- package/dist/{chunk-QTYUM4ZB.js → chunk-EJ3ZPH5U.js} +23 -187
- package/dist/chunk-EJ3ZPH5U.js.map +1 -0
- package/dist/{chunk-I5RHTCPY.js → chunk-EL6KJ4PO.js} +4 -4
- package/dist/{chunk-ZL4O6C42.js → chunk-HXBK3AGD.js} +2 -2
- package/dist/{chunk-PRERH4DN.js → chunk-I2SOHQ2C.js} +3 -3
- package/dist/{chunk-CYSPCGO6.js → chunk-JEHHEMUL.js} +5 -5
- package/dist/{chunk-LIEADTEF.js → chunk-LJFVRJCA.js} +2 -2
- package/dist/{chunk-UEJ2HTKU.js → chunk-MJVUMVLO.js} +19 -1
- package/dist/chunk-MJVUMVLO.js.map +1 -0
- package/dist/chunk-N55RKCGR.js +24 -0
- package/dist/chunk-N55RKCGR.js.map +1 -0
- package/dist/{chunk-PHNH3CEU.js → chunk-O4Z44BR7.js} +5 -5
- package/dist/{chunk-QA37WVF6.js → chunk-OQFCZERZ.js} +6 -6
- package/dist/{chunk-EUVB6Y3C.js → chunk-P7L5KELH.js} +8 -8
- package/dist/chunk-P7L5KELH.js.map +1 -0
- package/dist/{chunk-Z3MDQSZG.js → chunk-PJFFGQSB.js} +2 -2
- package/dist/{chunk-IY3ZK46I.js → chunk-QOVJUSSL.js} +2 -2
- package/dist/{chunk-RPJMQBB5.js → chunk-QXU4G4YN.js} +3 -3
- package/dist/{chunk-SZSTJIYU.js → chunk-RRSUKARV.js} +4 -4
- package/dist/{chunk-775FI436.js → chunk-RVD6J6IZ.js} +2 -2
- package/dist/{chunk-5UUIBY6E.js → chunk-TAVBFLCR.js} +3 -3
- package/dist/{chunk-ROX7N3RK.js → chunk-V7HB5LAU.js} +10 -7
- package/dist/chunk-V7HB5LAU.js.map +1 -0
- package/dist/{chunk-LL6TSQWV.js → chunk-VKZOHJCE.js} +3 -3
- package/dist/chunk-VKZOHJCE.js.map +1 -0
- package/dist/{chunk-3HI6QC4V.js → chunk-WRBU6TX7.js} +2 -2
- package/dist/{proofs-TXJGAP5F.js → chunk-X7SUSIY3.js} +118 -20
- package/dist/chunk-X7SUSIY3.js.map +1 -0
- package/dist/{chunk-BF3IPGMP.js → chunk-XSSZMG65.js} +4 -4
- package/dist/{credential-TWSWV64F.js → credential-4RFRU6OH.js} +5 -5
- package/dist/{credential-template-XO5D5AI3.js → credential-template-36PFUTBN.js} +5 -5
- package/dist/{digest-SLEFOLPV.js → digest-THMKFMP7.js} +8 -8
- package/dist/{docs-IDC4V4WQ.js → docs-ZGM53L67.js} +5 -5
- package/dist/{doctor-SDAYEA6C.js → doctor-Z2XBGBM3.js} +3 -3
- package/dist/{environment-VBUIBQ6O.js → environment-5YVZXBN7.js} +7 -7
- package/dist/eval-SO5TPD37.js +1177 -0
- package/dist/eval-SO5TPD37.js.map +1 -0
- package/dist/{exploration-IREIR5PO.js → exploration-GZ4WUJJH.js} +5 -5
- package/dist/{exploratory-test-4Q7BMEFT.js → exploratory-test-Y7P4ZDLD.js} +5 -5
- package/dist/{external-run-S7LULKPT.js → external-run-IJGGZOGI.js} +7 -7
- package/dist/{feature-flag-IASHTUGU.js → feature-flag-UH6Z7774.js} +5 -5
- package/dist/{flow-IBEZFZTU.js → flow-MRWAQYZZ.js} +5 -5
- package/dist/{github-HAEZRULP.js → github-VDJU3PU3.js} +6 -6
- package/dist/index.js +101 -82
- package/dist/index.js.map +1 -1
- package/dist/{init-LT2TZMQY.js → init-CROSTPA6.js} +5 -5
- package/dist/{install-RTEYH6TK.js → install-ECR7OLAY.js} +5 -5
- package/dist/{issues-5GE277R2.js → issues-K5TL2S4Z.js} +7 -7
- package/dist/{knobs-AMIWGYUZ.js → knobs-OKQFBQLK.js} +5 -5
- package/dist/{landing-3VLVVQL5.js → landing-XANIBPVM.js} +7 -7
- package/dist/{list-GDJR6UY6.js → list-64GX47Q4.js} +5 -5
- package/dist/{local-4R6GVW7U.js → local-QMQY2ZUX.js} +7 -7
- package/dist/{login-IXVAWTLO.js → login-I7UQ3GTM.js} +5 -5
- package/dist/{mcp-BM2MJWX4.js → mcp-XZV63DX5.js} +11 -11
- package/dist/{mcp-BM2MJWX4.js.map → mcp-XZV63DX5.js.map} +1 -1
- package/dist/{metrics-SSIP5CEB.js → metrics-KBTQ3KGZ.js} +5 -5
- package/dist/{monitor-ESZYHXT2.js → monitor-UGWY43IU.js} +5 -5
- package/dist/perf-CCHWHCSR.js +961 -0
- package/dist/perf-CCHWHCSR.js.map +1 -0
- package/dist/{product-VCGUV5TH.js → product-KLG2ZTHC.js} +5 -5
- package/dist/{product-map-AXKZNQDM.js → product-map-AMEZ76EQ.js} +5 -5
- package/dist/{prompts-FVPSON2N.js → prompts-ZVQNGL7X.js} +5 -5
- package/dist/proofs-QCNSQAPX.js +20 -0
- package/dist/{property-XEPCC7KQ.js → property-PJDQFHAL.js} +6 -6
- package/dist/{psql-JKF3OYYJ.js → psql-AURAN27C.js} +5 -5
- package/dist/{record-REQ37S54.js → record-SYWBTUOB.js} +6 -6
- package/dist/{redis-WGHT2GJB.js → redis-2H752SKO.js} +5 -5
- package/dist/{release-SNDIVIA6.js → release-OSIYUXSC.js} +5 -5
- package/dist/{runbook-XFJG2LFC.js → runbook-7LVHF6KV.js} +5 -5
- package/dist/{sandbox-DYCKLCMY.js → sandbox-TJQPMRGS.js} +18 -30
- package/dist/sandbox-TJQPMRGS.js.map +1 -0
- package/dist/{scenarios-PVHCKP55.js → scenarios-P2ABU4HK.js} +5 -5
- package/dist/{schedule-DGC7CX23.js → schedule-XLS56NP5.js} +8 -8
- package/dist/{session-ERGUFDDI.js → session-ACSFC3UB.js} +8 -8
- package/dist/{skill-6QO2E3TB.js → skill-F7I5P6AI.js} +43 -28
- package/dist/{skill-6QO2E3TB.js.map → skill-F7I5P6AI.js.map} +1 -1
- package/dist/{slack-WE7THLLH.js → slack-ZEK4GRND.js} +6 -6
- package/dist/{spec-SEOY7N3L.js → spec-XPIRRSV6.js} +5 -5
- package/dist/{src-CCK3TKBX.js → src-N7ZCYCXU.js} +4 -4
- package/dist/{src-AEWV5HYH.js → src-XSBBMVGW.js} +3 -3
- package/dist/{start-EPGLHTND.js → start-DKWLOQI6.js} +5 -5
- package/dist/{status-DTE2GXM2.js → status-K7KH5DI3.js} +5 -5
- package/dist/{tag-GIFEWGBL.js → tag-2Y3OMQQC.js} +6 -6
- package/dist/{task-VLJCHSFB.js → task-4PIOC4QV.js} +6 -6
- package/dist/{teams-J2OOJBL4.js → teams-KUM56BE2.js} +83 -47
- package/dist/teams-KUM56BE2.js.map +1 -0
- package/dist/{test-suite-CTACGIAZ.js → test-suite-SW25YGJV.js} +138 -96
- package/dist/test-suite-SW25YGJV.js.map +1 -0
- package/dist/{trace-RWQDYL4K.js → trace-QPXHYBLA.js} +7 -7
- package/dist/{triage-6UAXLCGU.js → triage-EZABRZZM.js} +6 -6
- package/dist/trigger-7C7KX5KH.js +137 -0
- package/dist/trigger-7C7KX5KH.js.map +1 -0
- package/dist/{update-check-QRREAM3N.js → update-check-E3X7UIY6.js} +3 -3
- package/dist/{upgrade-5Y655TQ6.js → upgrade-EJGTMW44.js} +4 -4
- package/dist/{usage-KCXFY46V.js → usage-GZCQDULF.js} +7 -7
- package/dist/{utilities-SUON2KZK.js → utilities-RIITD53A.js} +6 -6
- package/dist/{visual-GJZVJC32.js → visual-FH67OKS2.js} +5 -5
- package/dist/{workflow-R5QAXWBX.js → workflow-34YJZ2QQ.js} +38 -86
- package/dist/workflow-34YJZ2QQ.js.map +1 -0
- package/dist/{workflow-cache-PFBTWLGM.js → workflow-cache-YQ3BGJIG.js} +17 -17
- package/dist/{workflow-cache-convergence-resolve-UZGRPC3B.js → workflow-cache-convergence-resolve-SPLBRSNK.js} +5 -5
- package/dist/{workflow-debug-RACNWWOL.js → workflow-debug-HZB7TJGK.js} +10 -10
- package/dist/workflow-debug-HZB7TJGK.js.map +1 -0
- package/dist/{workflow-feedback-RJIQ5R3R.js → workflow-feedback-6UOTIWIQ.js} +5 -5
- package/dist/{workflow-fork-LINDCYJ3.js → workflow-fork-IDYHAHCX.js} +5 -5
- package/dist/workflow-promotion-U6WYFY5U.js +62 -0
- package/dist/workflow-promotion-U6WYFY5U.js.map +1 -0
- package/dist/{workflow-proposals-E4EXKAGM.js → workflow-proposals-MMVNIQT3.js} +5 -5
- package/dist/{workflow-revisions-5M6APN6R.js → workflow-revisions-BPUOLCZB.js} +5 -5
- package/dist/{workflow-status-7KL73WS2.js → workflow-status-RA3IEMEW.js} +5 -5
- package/package.json +3 -2
- package/dist/chat-target-IZ7YLLU3.js +0 -502
- package/dist/chat-target-IZ7YLLU3.js.map +0 -1
- package/dist/chunk-76Z6E7XX.js.map +0 -1
- package/dist/chunk-EUVB6Y3C.js.map +0 -1
- package/dist/chunk-LL6TSQWV.js.map +0 -1
- package/dist/chunk-QTYUM4ZB.js.map +0 -1
- package/dist/chunk-ROX7N3RK.js.map +0 -1
- package/dist/chunk-UEJ2HTKU.js.map +0 -1
- package/dist/proofs-TXJGAP5F.js.map +0 -1
- package/dist/sandbox-DYCKLCMY.js.map +0 -1
- package/dist/teams-J2OOJBL4.js.map +0 -1
- package/dist/test-suite-CTACGIAZ.js.map +0 -1
- package/dist/workflow-R5QAXWBX.js.map +0 -1
- /package/dist/{account-3ZG24MOE.js.map → account-MRZ54P5P.js.map} +0 -0
- /package/dist/{alert-5G7PTAX2.js.map → alert-XBHELHEI.js.map} +0 -0
- /package/dist/{api-catalog-IBYAFKKQ.js.map → api-catalog-GWYRX53L.js.map} +0 -0
- /package/dist/{api-key-UXC44BDR.js.map → api-key-FH6JN447.js.map} +0 -0
- /package/dist/{attachment-T6IRFQW3.js.map → attachment-J7GRVT5F.js.map} +0 -0
- /package/dist/{auth-SHOCJE6Z.js.map → auth-VZZQXRDR.js.map} +0 -0
- /package/dist/{benchmark-NJ2U6VTC.js.map → benchmark-A3SNDARF.js.map} +0 -0
- /package/dist/{blackcat-RQJVFGXQ.js.map → blackcat-UM6TBQBN.js.map} +0 -0
- /package/dist/{chunk-M752EUK3.js.map → chunk-3JU4UYYN.js.map} +0 -0
- /package/dist/{chunk-G6BCST3G.js.map → chunk-3ZOUNCA5.js.map} +0 -0
- /package/dist/{chunk-ABT3BLRC.js.map → chunk-5TKXHS3X.js.map} +0 -0
- /package/dist/{chunk-QCYSONXI.js.map → chunk-CRYHWO4M.js.map} +0 -0
- /package/dist/{chunk-I5RHTCPY.js.map → chunk-EL6KJ4PO.js.map} +0 -0
- /package/dist/{chunk-ZL4O6C42.js.map → chunk-HXBK3AGD.js.map} +0 -0
- /package/dist/{chunk-PRERH4DN.js.map → chunk-I2SOHQ2C.js.map} +0 -0
- /package/dist/{chunk-CYSPCGO6.js.map → chunk-JEHHEMUL.js.map} +0 -0
- /package/dist/{chunk-LIEADTEF.js.map → chunk-LJFVRJCA.js.map} +0 -0
- /package/dist/{chunk-PHNH3CEU.js.map → chunk-O4Z44BR7.js.map} +0 -0
- /package/dist/{chunk-QA37WVF6.js.map → chunk-OQFCZERZ.js.map} +0 -0
- /package/dist/{chunk-Z3MDQSZG.js.map → chunk-PJFFGQSB.js.map} +0 -0
- /package/dist/{chunk-IY3ZK46I.js.map → chunk-QOVJUSSL.js.map} +0 -0
- /package/dist/{chunk-RPJMQBB5.js.map → chunk-QXU4G4YN.js.map} +0 -0
- /package/dist/{chunk-SZSTJIYU.js.map → chunk-RRSUKARV.js.map} +0 -0
- /package/dist/{chunk-775FI436.js.map → chunk-RVD6J6IZ.js.map} +0 -0
- /package/dist/{chunk-5UUIBY6E.js.map → chunk-TAVBFLCR.js.map} +0 -0
- /package/dist/{chunk-3HI6QC4V.js.map → chunk-WRBU6TX7.js.map} +0 -0
- /package/dist/{chunk-BF3IPGMP.js.map → chunk-XSSZMG65.js.map} +0 -0
- /package/dist/{credential-TWSWV64F.js.map → credential-4RFRU6OH.js.map} +0 -0
- /package/dist/{credential-template-XO5D5AI3.js.map → credential-template-36PFUTBN.js.map} +0 -0
- /package/dist/{digest-SLEFOLPV.js.map → digest-THMKFMP7.js.map} +0 -0
- /package/dist/{docs-IDC4V4WQ.js.map → docs-ZGM53L67.js.map} +0 -0
- /package/dist/{doctor-SDAYEA6C.js.map → doctor-Z2XBGBM3.js.map} +0 -0
- /package/dist/{environment-VBUIBQ6O.js.map → environment-5YVZXBN7.js.map} +0 -0
- /package/dist/{exploration-IREIR5PO.js.map → exploration-GZ4WUJJH.js.map} +0 -0
- /package/dist/{exploratory-test-4Q7BMEFT.js.map → exploratory-test-Y7P4ZDLD.js.map} +0 -0
- /package/dist/{external-run-S7LULKPT.js.map → external-run-IJGGZOGI.js.map} +0 -0
- /package/dist/{feature-flag-IASHTUGU.js.map → feature-flag-UH6Z7774.js.map} +0 -0
- /package/dist/{flow-IBEZFZTU.js.map → flow-MRWAQYZZ.js.map} +0 -0
- /package/dist/{github-HAEZRULP.js.map → github-VDJU3PU3.js.map} +0 -0
- /package/dist/{init-LT2TZMQY.js.map → init-CROSTPA6.js.map} +0 -0
- /package/dist/{install-RTEYH6TK.js.map → install-ECR7OLAY.js.map} +0 -0
- /package/dist/{issues-5GE277R2.js.map → issues-K5TL2S4Z.js.map} +0 -0
- /package/dist/{knobs-AMIWGYUZ.js.map → knobs-OKQFBQLK.js.map} +0 -0
- /package/dist/{landing-3VLVVQL5.js.map → landing-XANIBPVM.js.map} +0 -0
- /package/dist/{list-GDJR6UY6.js.map → list-64GX47Q4.js.map} +0 -0
- /package/dist/{local-4R6GVW7U.js.map → local-QMQY2ZUX.js.map} +0 -0
- /package/dist/{login-IXVAWTLO.js.map → login-I7UQ3GTM.js.map} +0 -0
- /package/dist/{metrics-SSIP5CEB.js.map → metrics-KBTQ3KGZ.js.map} +0 -0
- /package/dist/{monitor-ESZYHXT2.js.map → monitor-UGWY43IU.js.map} +0 -0
- /package/dist/{product-VCGUV5TH.js.map → product-KLG2ZTHC.js.map} +0 -0
- /package/dist/{product-map-AXKZNQDM.js.map → product-map-AMEZ76EQ.js.map} +0 -0
- /package/dist/{prompts-FVPSON2N.js.map → prompts-ZVQNGL7X.js.map} +0 -0
- /package/dist/{src-AEWV5HYH.js.map → proofs-QCNSQAPX.js.map} +0 -0
- /package/dist/{property-XEPCC7KQ.js.map → property-PJDQFHAL.js.map} +0 -0
- /package/dist/{psql-JKF3OYYJ.js.map → psql-AURAN27C.js.map} +0 -0
- /package/dist/{record-REQ37S54.js.map → record-SYWBTUOB.js.map} +0 -0
- /package/dist/{redis-WGHT2GJB.js.map → redis-2H752SKO.js.map} +0 -0
- /package/dist/{release-SNDIVIA6.js.map → release-OSIYUXSC.js.map} +0 -0
- /package/dist/{runbook-XFJG2LFC.js.map → runbook-7LVHF6KV.js.map} +0 -0
- /package/dist/{scenarios-PVHCKP55.js.map → scenarios-P2ABU4HK.js.map} +0 -0
- /package/dist/{schedule-DGC7CX23.js.map → schedule-XLS56NP5.js.map} +0 -0
- /package/dist/{session-ERGUFDDI.js.map → session-ACSFC3UB.js.map} +0 -0
- /package/dist/{slack-WE7THLLH.js.map → slack-ZEK4GRND.js.map} +0 -0
- /package/dist/{spec-SEOY7N3L.js.map → spec-XPIRRSV6.js.map} +0 -0
- /package/dist/{src-CCK3TKBX.js.map → src-N7ZCYCXU.js.map} +0 -0
- /package/dist/{tag-GIFEWGBL.js.map → src-XSBBMVGW.js.map} +0 -0
- /package/dist/{start-EPGLHTND.js.map → start-DKWLOQI6.js.map} +0 -0
- /package/dist/{status-DTE2GXM2.js.map → status-K7KH5DI3.js.map} +0 -0
- /package/dist/{trace-RWQDYL4K.js.map → tag-2Y3OMQQC.js.map} +0 -0
- /package/dist/{task-VLJCHSFB.js.map → task-4PIOC4QV.js.map} +0 -0
- /package/dist/{triage-6UAXLCGU.js.map → trace-QPXHYBLA.js.map} +0 -0
- /package/dist/{update-check-QRREAM3N.js.map → triage-EZABRZZM.js.map} +0 -0
- /package/dist/{upgrade-5Y655TQ6.js.map → update-check-E3X7UIY6.js.map} +0 -0
- /package/dist/{utilities-SUON2KZK.js.map → upgrade-EJGTMW44.js.map} +0 -0
- /package/dist/{usage-KCXFY46V.js.map → usage-GZCQDULF.js.map} +0 -0
- /package/dist/{workflow-debug-RACNWWOL.js.map → utilities-RIITD53A.js.map} +0 -0
- /package/dist/{visual-GJZVJC32.js.map → visual-FH67OKS2.js.map} +0 -0
- /package/dist/{workflow-cache-PFBTWLGM.js.map → workflow-cache-YQ3BGJIG.js.map} +0 -0
- /package/dist/{workflow-cache-convergence-resolve-UZGRPC3B.js.map → workflow-cache-convergence-resolve-SPLBRSNK.js.map} +0 -0
- /package/dist/{workflow-feedback-RJIQ5R3R.js.map → workflow-feedback-6UOTIWIQ.js.map} +0 -0
- /package/dist/{workflow-fork-LINDCYJ3.js.map → workflow-fork-IDYHAHCX.js.map} +0 -0
- /package/dist/{workflow-proposals-E4EXKAGM.js.map → workflow-proposals-MMVNIQT3.js.map} +0 -0
- /package/dist/{workflow-revisions-5M6APN6R.js.map → workflow-revisions-BPUOLCZB.js.map} +0 -0
- /package/dist/{workflow-status-7KL73WS2.js.map → workflow-status-RA3IEMEW.js.map} +0 -0
|
@@ -2,10 +2,10 @@ import { createRequire as __cr } from "module"; import { fileURLToPath as __fup
|
|
|
2
2
|
import {
|
|
3
3
|
resolveIsSuperadmin,
|
|
4
4
|
showGlobalHelp
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V7HB5LAU.js";
|
|
6
6
|
import {
|
|
7
7
|
apiRequest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VKZOHJCE.js";
|
|
9
9
|
import {
|
|
10
10
|
getSubDir
|
|
11
11
|
} from "./chunk-S3Q7MDCS.js";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
getArgValue,
|
|
15
15
|
hasFlag,
|
|
16
16
|
resolveConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WRBU6TX7.js";
|
|
18
18
|
import {
|
|
19
19
|
writeRawOutput
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MJVUMVLO.js";
|
|
21
21
|
|
|
22
22
|
// src/landing.ts
|
|
23
23
|
import { readFile, writeFile, mkdir } from "fs/promises";
|
|
@@ -623,4 +623,4 @@ export {
|
|
|
623
623
|
buildLandingUrl,
|
|
624
624
|
runLanding
|
|
625
625
|
};
|
|
626
|
-
//# sourceMappingURL=chunk-
|
|
626
|
+
//# sourceMappingURL=chunk-3JU4UYYN.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { createRequire as __cr } from "module"; import { fileURLToPath as __fup } from "url"; import { dirname as __dn } from "path"; const require = __cr(import.meta.url); const __filename = __fup(import.meta.url); const __dirname = __dn(__filename);
|
|
2
2
|
import {
|
|
3
3
|
formatTeardownLines
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PJFFGQSB.js";
|
|
5
5
|
import {
|
|
6
6
|
runTrace
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O4Z44BR7.js";
|
|
8
8
|
import {
|
|
9
9
|
openUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5TKXHS3X.js";
|
|
11
11
|
import {
|
|
12
12
|
apiRequest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VKZOHJCE.js";
|
|
14
14
|
import {
|
|
15
15
|
getArgValue,
|
|
16
16
|
hasFlag
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WRBU6TX7.js";
|
|
18
18
|
import {
|
|
19
19
|
command,
|
|
20
20
|
writeRawOutput,
|
|
21
21
|
writeUntrustedText
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MJVUMVLO.js";
|
|
23
23
|
|
|
24
24
|
// src/workflow-debug.ts
|
|
25
25
|
import process from "process";
|
|
@@ -1174,4 +1174,4 @@ export {
|
|
|
1174
1174
|
formatRetention,
|
|
1175
1175
|
materializeRunWorkspace
|
|
1176
1176
|
};
|
|
1177
|
-
//# sourceMappingURL=chunk-
|
|
1177
|
+
//# sourceMappingURL=chunk-3ZOUNCA5.js.map
|
|
@@ -249,7 +249,7 @@ var USER_SETTABLE_WORKFLOW_STATUSES = [
|
|
|
249
249
|
"draft",
|
|
250
250
|
"approved"
|
|
251
251
|
];
|
|
252
|
-
var WORKFLOW_FLOW_TYPES = ["standard", "setup", "seed", "teardown"
|
|
252
|
+
var WORKFLOW_FLOW_TYPES = ["standard", "setup", "seed", "teardown"];
|
|
253
253
|
function isWorkflowFlowType(value) {
|
|
254
254
|
return typeof value === "string" && WORKFLOW_FLOW_TYPES.includes(value);
|
|
255
255
|
}
|
|
@@ -355,8 +355,17 @@ function formatProofBlock(block) {
|
|
|
355
355
|
return [PROOFS_BLOCK_OPEN, ...lines, PROOFS_BLOCK_CLOSE].join("\n");
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
+
// ../types/src/proof.ts
|
|
359
|
+
function parsePromoteOn(value) {
|
|
360
|
+
if (value === "merge" || value === "never") return value;
|
|
361
|
+
if (!value.startsWith("deploy:")) return null;
|
|
362
|
+
const stage = value.slice("deploy:".length);
|
|
363
|
+
if (!stage) return null;
|
|
364
|
+
return value;
|
|
365
|
+
}
|
|
366
|
+
|
|
358
367
|
// ../types/src/index.ts
|
|
359
|
-
import { z as
|
|
368
|
+
import { z as z18 } from "zod";
|
|
360
369
|
|
|
361
370
|
// ../types/src/workflow-cache.ts
|
|
362
371
|
import { z as z5 } from "zod";
|
|
@@ -442,7 +451,6 @@ var NodeTypeEnum = z4.enum([
|
|
|
442
451
|
"visual_checkpoint",
|
|
443
452
|
"sandbox_action",
|
|
444
453
|
"mcp",
|
|
445
|
-
"chat_scenario",
|
|
446
454
|
"call_flow"
|
|
447
455
|
]);
|
|
448
456
|
|
|
@@ -1584,71 +1592,6 @@ var benchmarkWorkflowSuiteConfigSchema = z14.object({
|
|
|
1584
1592
|
sendSlackSummary: z14.boolean().optional()
|
|
1585
1593
|
});
|
|
1586
1594
|
|
|
1587
|
-
// ../types/src/chat-target.ts
|
|
1588
|
-
import { z as z15 } from "zod";
|
|
1589
|
-
var ConversationIdSourceSchema = z15.union([
|
|
1590
|
-
z15.literal("client-uuid"),
|
|
1591
|
-
z15.object({ responsePath: z15.string().min(1) })
|
|
1592
|
-
]);
|
|
1593
|
-
var ChatTargetBootstrapSchema = z15.object({
|
|
1594
|
-
urlTemplate: z15.string().min(1),
|
|
1595
|
-
method: z15.string().min(1),
|
|
1596
|
-
headersTemplate: z15.record(z15.string(), z15.string()).optional(),
|
|
1597
|
-
bodyTemplate: z15.string().optional(),
|
|
1598
|
-
conversationIdSource: ConversationIdSourceSchema
|
|
1599
|
-
});
|
|
1600
|
-
var ChatHistoryModeSchema = z15.union([z15.literal("full"), z15.literal("single")]);
|
|
1601
|
-
var ChatTargetMessageSchema = z15.object({
|
|
1602
|
-
urlTemplate: z15.string().min(1),
|
|
1603
|
-
method: z15.string().min(1),
|
|
1604
|
-
headersTemplate: z15.record(z15.string(), z15.string()).optional(),
|
|
1605
|
-
bodyTemplate: z15.string().min(1),
|
|
1606
|
-
historyMode: ChatHistoryModeSchema
|
|
1607
|
-
});
|
|
1608
|
-
var ChatResponseConfigSchema = z15.discriminatedUnion("transport", [
|
|
1609
|
-
z15.object({ transport: z15.literal("ai-sdk-v5") }),
|
|
1610
|
-
z15.object({
|
|
1611
|
-
transport: z15.literal("sse"),
|
|
1612
|
-
deltaPath: z15.string().min(1),
|
|
1613
|
-
donePath: z15.string().optional()
|
|
1614
|
-
}),
|
|
1615
|
-
z15.object({
|
|
1616
|
-
transport: z15.literal("json"),
|
|
1617
|
-
textPath: z15.string().min(1)
|
|
1618
|
-
})
|
|
1619
|
-
]);
|
|
1620
|
-
var DEFAULT_CHAT_TARGET_TIMEOUT_SECONDS = 120;
|
|
1621
|
-
var ChatTargetConfigSchema = z15.object({
|
|
1622
|
-
bootstrap: ChatTargetBootstrapSchema.optional(),
|
|
1623
|
-
message: ChatTargetMessageSchema,
|
|
1624
|
-
response: ChatResponseConfigSchema,
|
|
1625
|
-
timeoutSeconds: z15.number().int().positive().default(DEFAULT_CHAT_TARGET_TIMEOUT_SECONDS)
|
|
1626
|
-
});
|
|
1627
|
-
var ChatAssertionSeveritySchema = z15.union([z15.literal("warn"), z15.literal("fail")]);
|
|
1628
|
-
var GlobalInvariantSchema = z15.object({
|
|
1629
|
-
id: z15.string().min(1),
|
|
1630
|
-
name: z15.string().min(1),
|
|
1631
|
-
rubric: z15.string().min(1),
|
|
1632
|
-
severity: ChatAssertionSeveritySchema
|
|
1633
|
-
});
|
|
1634
|
-
|
|
1635
|
-
// ../types/src/chat-scenario-node.ts
|
|
1636
|
-
import { z as z16 } from "zod";
|
|
1637
|
-
var ChatScenarioAssertionSchema = z16.object({
|
|
1638
|
-
id: z16.string().min(1),
|
|
1639
|
-
rubric: z16.string().min(1),
|
|
1640
|
-
severity: ChatAssertionSeveritySchema
|
|
1641
|
-
});
|
|
1642
|
-
var ChatScenarioTurnSchema = z16.object({
|
|
1643
|
-
id: z16.string().min(1),
|
|
1644
|
-
message: z16.string().min(1),
|
|
1645
|
-
assertions: z16.array(ChatScenarioAssertionSchema).default([])
|
|
1646
|
-
});
|
|
1647
|
-
var ChatScenarioNodeConfigSchema = z16.object({
|
|
1648
|
-
chatTargetId: z16.string().min(1),
|
|
1649
|
-
turns: z16.array(ChatScenarioTurnSchema).min(1)
|
|
1650
|
-
});
|
|
1651
|
-
|
|
1652
1595
|
// ../types/src/diagnostics-filters.ts
|
|
1653
1596
|
var DEFAULT_DIAGNOSTICS_FILTERS = {
|
|
1654
1597
|
excludeUrlPatterns: [
|
|
@@ -2110,16 +2053,16 @@ function slugifySeedName(name) {
|
|
|
2110
2053
|
}
|
|
2111
2054
|
|
|
2112
2055
|
// ../types/src/mcp-node.ts
|
|
2113
|
-
import { z as
|
|
2114
|
-
var McpNodeConfigSchema =
|
|
2115
|
-
propertyId:
|
|
2116
|
-
credentialTemplateId:
|
|
2117
|
-
credentialId:
|
|
2118
|
-
instructions:
|
|
2119
|
-
declaredOutputs:
|
|
2120
|
-
playbookSteps:
|
|
2121
|
-
alwaysUseAgent:
|
|
2122
|
-
toolAllowlist:
|
|
2056
|
+
import { z as z15 } from "zod";
|
|
2057
|
+
var McpNodeConfigSchema = z15.object({
|
|
2058
|
+
propertyId: z15.string().min(1),
|
|
2059
|
+
credentialTemplateId: z15.string().optional(),
|
|
2060
|
+
credentialId: z15.string().optional(),
|
|
2061
|
+
instructions: z15.string().min(1),
|
|
2062
|
+
declaredOutputs: z15.array(z15.string()).optional(),
|
|
2063
|
+
playbookSteps: z15.array(z15.custom((v) => typeof v === "object" && v !== null)).optional(),
|
|
2064
|
+
alwaysUseAgent: z15.boolean().optional(),
|
|
2065
|
+
toolAllowlist: z15.array(z15.string()).optional()
|
|
2123
2066
|
});
|
|
2124
2067
|
|
|
2125
2068
|
// ../types/src/node-type-labels.ts
|
|
@@ -2139,7 +2082,6 @@ var NODE_TYPE_LABEL = {
|
|
|
2139
2082
|
visual_checkpoint: "Visual checkpoint",
|
|
2140
2083
|
sandbox_action: "Sandbox action",
|
|
2141
2084
|
mcp: "MCP",
|
|
2142
|
-
chat_scenario: "Chat scenario",
|
|
2143
2085
|
call_flow: "Run a flow",
|
|
2144
2086
|
end: "End"
|
|
2145
2087
|
};
|
|
@@ -2149,30 +2091,30 @@ function normalizeNodeType(input) {
|
|
|
2149
2091
|
}
|
|
2150
2092
|
|
|
2151
2093
|
// ../types/src/visual-checkpoint.ts
|
|
2152
|
-
import { z as
|
|
2153
|
-
var VisualSeveritySchema =
|
|
2154
|
-
var VisualMaskSchema =
|
|
2155
|
-
id:
|
|
2156
|
-
description:
|
|
2157
|
-
locator:
|
|
2158
|
-
reason:
|
|
2159
|
-
healedAt:
|
|
2160
|
-
healedCaptureId:
|
|
2094
|
+
import { z as z16 } from "zod";
|
|
2095
|
+
var VisualSeveritySchema = z16.enum(["record", "fail"]);
|
|
2096
|
+
var VisualMaskSchema = z16.object({
|
|
2097
|
+
id: z16.string().uuid(),
|
|
2098
|
+
description: z16.string().min(1),
|
|
2099
|
+
locator: z16.string().min(1),
|
|
2100
|
+
reason: z16.string().min(1),
|
|
2101
|
+
healedAt: z16.string().datetime(),
|
|
2102
|
+
healedCaptureId: z16.string().uuid()
|
|
2161
2103
|
});
|
|
2162
|
-
var VisualCheckpointResolvedTargetSchema =
|
|
2163
|
-
text:
|
|
2164
|
-
locator:
|
|
2104
|
+
var VisualCheckpointResolvedTargetSchema = z16.object({
|
|
2105
|
+
text: z16.string().min(1),
|
|
2106
|
+
locator: z16.string().min(1)
|
|
2165
2107
|
});
|
|
2166
|
-
var optionalText =
|
|
2167
|
-
var VisualCheckpointNodeConfigSchema =
|
|
2168
|
-
title:
|
|
2169
|
-
description:
|
|
2170
|
-
name:
|
|
2108
|
+
var optionalText = z16.preprocess((value) => value === "" ? void 0 : value, z16.string().min(1).optional());
|
|
2109
|
+
var VisualCheckpointNodeConfigSchema = z16.object({
|
|
2110
|
+
title: z16.string().min(1),
|
|
2111
|
+
description: z16.string().min(1),
|
|
2112
|
+
name: z16.string().min(1),
|
|
2171
2113
|
target: optionalText,
|
|
2172
2114
|
resolvedTarget: VisualCheckpointResolvedTargetSchema.optional(),
|
|
2173
2115
|
expectedState: optionalText,
|
|
2174
2116
|
severity: VisualSeveritySchema.default("record"),
|
|
2175
|
-
masks:
|
|
2117
|
+
masks: z16.array(VisualMaskSchema).default([])
|
|
2176
2118
|
});
|
|
2177
2119
|
|
|
2178
2120
|
// ../types/src/browser-engine.ts
|
|
@@ -2236,18 +2178,18 @@ function stableAttrSelector(attr, value) {
|
|
|
2236
2178
|
var PRODUCT_MAP_STATUSES = ["in_dev", "alpha", "beta", "ga", "deprecated"];
|
|
2237
2179
|
|
|
2238
2180
|
// ../types/src/announcements.ts
|
|
2239
|
-
import { z as
|
|
2240
|
-
var interstitialDialogConfigSchema =
|
|
2241
|
-
uiComponent:
|
|
2242
|
-
title:
|
|
2243
|
-
body:
|
|
2181
|
+
import { z as z17 } from "zod";
|
|
2182
|
+
var interstitialDialogConfigSchema = z17.object({
|
|
2183
|
+
uiComponent: z17.literal("interstitial_dialog"),
|
|
2184
|
+
title: z17.string().min(1).max(200),
|
|
2185
|
+
body: z17.string().min(1).max(1e4),
|
|
2244
2186
|
/** Optional call-to-action button. Both label and href required together. */
|
|
2245
|
-
ctaLabel:
|
|
2246
|
-
ctaHref:
|
|
2187
|
+
ctaLabel: z17.string().min(1).max(80).optional(),
|
|
2188
|
+
ctaHref: z17.string().url().optional(),
|
|
2247
2189
|
/** Overrides the default "Got it" dismiss button label. */
|
|
2248
|
-
dismissLabel:
|
|
2190
|
+
dismissLabel: z17.string().min(1).max(80).optional()
|
|
2249
2191
|
});
|
|
2250
|
-
var announcementConfigSchema =
|
|
2192
|
+
var announcementConfigSchema = z17.discriminatedUnion("uiComponent", [
|
|
2251
2193
|
interstitialDialogConfigSchema
|
|
2252
2194
|
]);
|
|
2253
2195
|
|
|
@@ -2344,25 +2286,25 @@ function isPositiveIntegerString(value) {
|
|
|
2344
2286
|
function buildActionDescription(includeRecipeFields) {
|
|
2345
2287
|
return 'The type of browser interaction. PREFER DETERMINISTIC VERBS even when verbose \u2014 three deterministic steps beat one agentic step, because deterministic steps replay via Playwright with no agent dispatch. Each replayable playbook step is one atomic intent executed in one exposed browser tool call and corresponds to zero or one recorded actionRef. Draw boundaries at stable page states: fuse actions coupled through ephemeral UI state into that call; split unrelated intents and every stable intermediate into separate steps. If you cannot accomplish the intent with the browser tools you have, do not add a playbook step for it; report the limitation outside playbookSteps. Do not summarize several recorded tool calls into one "other" step; report the same 1:1 browser primitives you actually used. One fill_form call is one atomic intent even when it fills multiple fields. Use "verify" for assertion checks \u2014 both user-declared inline assertions and agent-authored guardrails/completion checks that keep execution on the rails. Set assertionId to the inline assertion UUID only when accounting for that declared assertion; otherwise use "completion". Extra completion checks are not user assertion results. Use "verify" for inspection language such as "inspect whether", "confirm", "observe", or "check" when the result is visible in the DOM. Use "capture" instead only when the observed value is needed by later steps. Use "fill" for single-field inputs. Use "fill_form" when browser_fill_form was called to fill multiple fields at once \u2014 one fill_form step per call. Use "click" for checkboxes, switches, toggle buttons, and click-to-focus interactions. There is no separate "toggle" or "focus" action. Use "upload" for file upload actions, including generated CSV/file, attach file, choose file, import file, and document/image attachment intents (browser_action action="upload"). Set params.path to the staged attachment handle, generated file variable, or filename reference used by the upload tool (e.g. {path: "$var.csv_file"}), and include actionRefs pointing to the recorded file_upload action. Do NOT use "other" for file attachment/upload/import intents. Use "scroll" only when scrolling is the user-visible action being tested; routine browser_scroll calls for visibility, inspection, or video framing are observation steps and should usually be omitted from playbookSteps. Use "press_key" for keyboard actions (Enter, Escape, Tab, arrows). Use "press_key" with params.key="Escape" to dismiss a popover, dropdown, panel, or modal when Escape was the recorded action; use "click" if the recorded action clicked a close button or outside target. There is no separate "dismiss" action. Use "drag" for drag-and-drop interactions. Use "resize" when browser_resize was used to resize the viewport. Set params.width and params.height to positive integer pixel values and include the actionRef pointing to the recorded resize action. Use "capture" to extract app-generated values (IDs, codes, URLs) for later steps via $var.name, but only from a visible DOM target or the current URL. Do not capture from performance/network timing, storage, hidden DOM, or app-global state. Use "screenshot" only when browser_screenshot itself is the requested evidence capture. Set params.label when a label was used, optionally params.fullPage="true". Do not use screenshot for routine visual checks after actions; use verify when a browser_assert proves visible state. Use "extract_table" when browser_extract_table was used to extract tabular data from the page. Use "python_execute" when python_execute was used with cache_label to run a data validation script. Use "verify_download" when browser_download(action="list") / browser_list_downloads proves a file was downloaded. params.pattern is an optional filename glob (supports *, ?); omit it when any newly downloaded file is acceptable. Use "verify_download_content" when browser_download(action="read") / browser_read_download content proves CSV headers, PDF text, exported rows, or similar downloaded-file content. Set params.contains or params.pattern to the expected content predicate. Use "agent_loop" ONLY when the action set is genuinely unknown until runtime \u2014 variable count of items (e.g. "toggle row checkboxes until 3 selected"), conditional retry that depends on UI state, or a runtime predicate over non-DOM state. Set params.goal to a one-sentence checkable predicate (e.g. params.goal = "3 grid row checkboxes are selected"). DO NOT use agent_loop for: known-N iteration (write N deterministic steps), single click that might double-fire (use "click"), retry-on-flake (the runtime handles that). agent_loop steps replay via a Playwright override authored after first run; they are non-deterministic on first run, so the bar is high. ' + (includeRecipeFields ? 'When recipe fields are available, use "call" for one completed call_recipe invocation. Treat the recipe as one atomic transaction: report one call step for the whole invocation, never its internal browser actions as additional playbook steps. ' : "") + 'Network/devtools/API inspections and unsupported browser environment mutations are diagnostic-only unless there is an exposed browser tool for the action. If visible page state proves the condition, record that as "verify"; otherwise omit the diagnostic observation from playbookSteps. Do not use "other". If no concrete browser-tool-backed action above fits, omit the observation from playbookSteps and report the limitation outside the playbook.';
|
|
2346
2288
|
}
|
|
2347
|
-
var playbookStepAgentObjectSchema =
|
|
2348
|
-
order:
|
|
2349
|
-
action:
|
|
2350
|
-
target:
|
|
2289
|
+
var playbookStepAgentObjectSchema = z18.object({
|
|
2290
|
+
order: z18.number().describe("Step number (1-based)."),
|
|
2291
|
+
action: z18.enum(PLAYBOOK_STEP_AGENT_ACTIONS).describe(buildActionDescription(false)),
|
|
2292
|
+
target: z18.string().describe(
|
|
2351
2293
|
`Human-readable element description using visible labels, placeholders, or aria-labels. Examples: "'Submit' button", "'Email' input field", "'Status' dropdown". For upload actions, describe the file input and include the attachment name (e.g. "CSV file input for 'testing-checklist.csv'"). Never use coordinates, ref IDs, or internal identifiers.`
|
|
2352
2294
|
),
|
|
2353
|
-
params:
|
|
2295
|
+
params: z18.record(z18.string(), z18.string()).optional().describe(
|
|
2354
2296
|
'Data values using $var.name references and $MACRO() expressions \u2014 NEVER hard-coded literals. Common keys: value (for fill: {value: "$EMAIL()"}), option (for select: {option: "Admin"} \u2014 fixed app constants like dropdown options are allowed as literals), url (for navigate: {url: "$var.target_url"}), path (for upload: {path: "$var.file_path"}), key (for press_key: {key: "Enter"}, {key: "Escape"}), width and height (for resize: {width: "390", height: "844"}), label and fullPage (for screenshot: {label: "seats-table", fullPage: "true"}), pattern or contains (for download verification: {pattern: "report-*.csv"} or {contains: "Expected Header"}), expression + saveAs (for capture: prefer a visible DOM ref expression or "() => window.location.href"; do not use performance.getEntries() or other network/storage/global state; e.g. {saveAs: "order_confirmation_id"}). For fill_form: keys are field names from the fill_form call, values are $var.name or $MACRO() (e.g. {company: "$var.company", email: "$EMAIL()"}). For call: keys are the recipe argument names and values are strings using the same $var.name / $MACRO() conventions. The compiler pins and inlines the recipe as one atomic transaction. Available macros: $UUID(), $EMAIL(), $FIRST_NAME(), $LAST_NAME(), $PHONE(), $RANDOM_STRING(n), $RANDOM_INT(min,max), $TODAY(), $DATE(days), $NOW(), $TIMESTAMP(), $SEQUENCE("name").'
|
|
2355
2297
|
),
|
|
2356
|
-
note:
|
|
2298
|
+
note: z18.string().optional().describe(
|
|
2357
2299
|
'Timing or quirk notes ONLY (e.g. "Wait 1s for modal animation", "Scroll into view first"). Do NOT put data values, optional markers, or verification notes here.'
|
|
2358
2300
|
),
|
|
2359
|
-
actionRefs:
|
|
2301
|
+
actionRefs: z18.array(z18.number()).max(1).optional().describe(
|
|
2360
2302
|
'Zero or one recorded browser action index that corresponds to this playbook step. Interaction tools, browser_resize, capture evaluates (browser_evaluate with saveAs), and browser_assert produce [Action #N] tags \u2014 collect those indices here. Read-only browser_snapshot and plain browser_evaluate without saveAs do NOT produce action indices. browser_scroll and browser_screenshot may produce action indices when they are the primary requested tool call; omit actionRefs when no action tag was emitted. If you took multiple cacheable UI actions, report multiple 1:1 playbook steps instead of putting multiple refs on one step or summarizing them as "other". A fill_form call is a single action \u2014 use one fill_form playbook step with one actionRef. For a click that triggers a native dialog, keep one click actionRef on the click step and set expectedDialogs rather than adding a separate dialog actionRef. Actions not referenced by any playbook step are considered exploratory and will be discarded by the cache compiler.'
|
|
2361
2303
|
),
|
|
2362
|
-
expectedDialogs:
|
|
2304
|
+
expectedDialogs: z18.enum(["accept", "dismiss"]).optional().describe(
|
|
2363
2305
|
'Set when this step is known to fire a native browser dialog (alert/confirm/prompt) \u2014 e.g. clicking a "Delete" button that prompts "Are you sure?". On replay the runtime pre-arms the dialog handler with this action automatically. In free-form runs, you should call the dialog tool (browser_dialog for consolidated tools, browser_handle_dialog for legacy tools) with this action immediately before the step. Do not add a separate dialog step \u2014 keeping the pre-arm on the triggering step keeps the pre-arm and the triggering action in one place.'
|
|
2364
2306
|
),
|
|
2365
|
-
assertionId:
|
|
2307
|
+
assertionId: z18.string().optional().describe(
|
|
2366
2308
|
"REQUIRED on verify steps when this node declares inline assertions: the inline assertion UUID from the node config (the exact (id=<uuid>) shown in the prompt) that this verify step proves, or 'completion' for an agent-authored guardrail or completion assertion proving the action succeeded. A completion guardrail is not tied to, and must not be reported as, a user-declared assertion. Must equal the inlineAssertionId passed to browser_assert for this check. Never set on non-verify steps."
|
|
2367
2309
|
)
|
|
2368
2310
|
});
|
|
@@ -2375,14 +2317,14 @@ var playbookStepAgentSuperRefine = (step, includeRecipeFields, ctx, requireVerif
|
|
|
2375
2317
|
if (includeRecipeFields && step.action === "call") {
|
|
2376
2318
|
if (!step.recipeRef) {
|
|
2377
2319
|
ctx.addIssue({
|
|
2378
|
-
code:
|
|
2320
|
+
code: z18.ZodIssueCode.custom,
|
|
2379
2321
|
path: ["recipeRef"],
|
|
2380
2322
|
message: "call steps must pin the invoked recipe with recipeRef.slug and recipeRef.version."
|
|
2381
2323
|
});
|
|
2382
2324
|
}
|
|
2383
2325
|
if (step.target.trim().length < 3) {
|
|
2384
2326
|
ctx.addIssue({
|
|
2385
|
-
code:
|
|
2327
|
+
code: z18.ZodIssueCode.custom,
|
|
2386
2328
|
path: ["target"],
|
|
2387
2329
|
message: "call steps must keep a non-trivial human-readable target as the fallback instruction."
|
|
2388
2330
|
});
|
|
@@ -2392,7 +2334,7 @@ var playbookStepAgentSuperRefine = (step, includeRecipeFields, ctx, requireVerif
|
|
|
2392
2334
|
const goal = step.params?.goal;
|
|
2393
2335
|
if (!goal || goal.trim().length === 0) {
|
|
2394
2336
|
ctx.addIssue({
|
|
2395
|
-
code:
|
|
2337
|
+
code: z18.ZodIssueCode.custom,
|
|
2396
2338
|
path: ["params", "goal"],
|
|
2397
2339
|
message: 'agent_loop steps must set params.goal to a one-sentence checkable predicate (e.g. "3 grid row checkboxes are selected").'
|
|
2398
2340
|
});
|
|
@@ -2403,7 +2345,7 @@ var playbookStepAgentSuperRefine = (step, includeRecipeFields, ctx, requireVerif
|
|
|
2403
2345
|
const contains = step.params?.contains;
|
|
2404
2346
|
if ((!pattern || pattern.trim().length === 0) && (!contains || contains.trim().length === 0)) {
|
|
2405
2347
|
ctx.addIssue({
|
|
2406
|
-
code:
|
|
2348
|
+
code: z18.ZodIssueCode.custom,
|
|
2407
2349
|
path: ["params"],
|
|
2408
2350
|
message: "verify_download_content steps must set params.contains or params.pattern for the expected downloaded content."
|
|
2409
2351
|
});
|
|
@@ -2414,14 +2356,14 @@ var playbookStepAgentSuperRefine = (step, includeRecipeFields, ctx, requireVerif
|
|
|
2414
2356
|
const height = step.params?.height;
|
|
2415
2357
|
if (!isPositiveIntegerString(width)) {
|
|
2416
2358
|
ctx.addIssue({
|
|
2417
|
-
code:
|
|
2359
|
+
code: z18.ZodIssueCode.custom,
|
|
2418
2360
|
path: ["params", "width"],
|
|
2419
2361
|
message: "resize steps must set params.width to a positive integer pixel value."
|
|
2420
2362
|
});
|
|
2421
2363
|
}
|
|
2422
2364
|
if (!isPositiveIntegerString(height)) {
|
|
2423
2365
|
ctx.addIssue({
|
|
2424
|
-
code:
|
|
2366
|
+
code: z18.ZodIssueCode.custom,
|
|
2425
2367
|
path: ["params", "height"],
|
|
2426
2368
|
message: "resize steps must set params.height to a positive integer pixel value."
|
|
2427
2369
|
});
|
|
@@ -2429,14 +2371,14 @@ var playbookStepAgentSuperRefine = (step, includeRecipeFields, ctx, requireVerif
|
|
|
2429
2371
|
}
|
|
2430
2372
|
if (step.assertionId !== void 0 && !VERIFY_BINDING_ACTIONS.has(step.action)) {
|
|
2431
2373
|
ctx.addIssue({
|
|
2432
|
-
code:
|
|
2374
|
+
code: z18.ZodIssueCode.custom,
|
|
2433
2375
|
path: ["assertionId"],
|
|
2434
2376
|
message: "assertionId is only valid on verify steps."
|
|
2435
2377
|
});
|
|
2436
2378
|
}
|
|
2437
2379
|
if (requireVerifyBinding && VERIFY_BINDING_ACTIONS.has(step.action) && step.assertionId === void 0) {
|
|
2438
2380
|
ctx.addIssue({
|
|
2439
|
-
code:
|
|
2381
|
+
code: z18.ZodIssueCode.custom,
|
|
2440
2382
|
path: ["assertionId"],
|
|
2441
2383
|
message: "verify steps must bind the assertion they prove via assertionId \u2014 use the inline assertion UUID from the prompt or 'completion'."
|
|
2442
2384
|
});
|
|
@@ -2445,25 +2387,25 @@ var playbookStepAgentSuperRefine = (step, includeRecipeFields, ctx, requireVerif
|
|
|
2445
2387
|
var MAX_PLAYBOOK_CACHE_CODE_LEN = 8e3;
|
|
2446
2388
|
function buildPlaybookStepAgentSchema(opts) {
|
|
2447
2389
|
const recipeAwareBase = opts?.includeRecipeFields ? playbookStepAgentObjectSchema.extend({
|
|
2448
|
-
action:
|
|
2449
|
-
recipeRef:
|
|
2450
|
-
slug:
|
|
2451
|
-
version:
|
|
2390
|
+
action: z18.enum(PLAYBOOK_STEP_ACTIONS).describe(buildActionDescription(true)),
|
|
2391
|
+
recipeRef: z18.object({
|
|
2392
|
+
slug: z18.string().trim().min(1),
|
|
2393
|
+
version: z18.number().int().positive()
|
|
2452
2394
|
}).optional().describe(
|
|
2453
2395
|
'Required for action="call": the exact slug and version returned by the invoked recipe. A call is one atomic transaction, so pin the recipe once on the call step and do not also report its internal browser actions as playbook steps.'
|
|
2454
2396
|
)
|
|
2455
2397
|
}) : playbookStepAgentObjectSchema;
|
|
2456
2398
|
const base = opts?.includeCacheCode ? recipeAwareBase.extend({
|
|
2457
|
-
cacheCode:
|
|
2399
|
+
cacheCode: z18.string().trim().min(1).max(MAX_PLAYBOOK_CACHE_CODE_LEN).optional().describe(
|
|
2458
2400
|
'Fast-drive only: the MINIMAL self-contained Playwright snippet (uses `page`, and the `vars` / `macro()` / `attach()` bindings) that reproduces THIS completed atomic intent from its stable entry state \u2014 the deterministic replacement for actionRefs when you drove the step via browser_run_code. Fuse actions coupled through ephemeral UI state: keep a visibility-guarded opener with the terminal action. If one call batched unrelated intents, report only this intent\'s acting lines; omit scouting and observation. Never hardcode data/secrets \u2014 use `vars.x` and `await macro("EMAIL")`. Never use cacheCode for action="call": recipeRef pins the whole recipe as one atomic transaction and the compiler inlines its versioned code. For action="capture" driven through browser_run_code, the snippet must top-level return the captured string so replay can bind params.saveAs; omit cacheCode for a capture performed with the dedicated capture tool. Omit for steps performed with other dedicated tools (verify/navigate/upload) and for steps that cannot be reduced to a stable snippet. Must be self-contained \u2014 replays in an isolated scope; re-declare every variable/locator; only page/fetch/vars/macro/attach/dialog exist.'
|
|
2459
2401
|
),
|
|
2460
2402
|
cacheCodeDurability: cacheCodeDurabilityAttestationSchema.optional().describe(
|
|
2461
2403
|
"Fast-drive only: structured evidence for a genuinely unavoidable positional locator in cacheCode. Omit for semantic locators, coordinates, and direct read-only diagnostics. This permits a normal prove pass; it never marks code verified."
|
|
2462
2404
|
),
|
|
2463
|
-
cacheable:
|
|
2405
|
+
cacheable: z18.literal(false).optional().describe(
|
|
2464
2406
|
"Fast-drive only: set false only when this step is genuinely non-deterministic or cannot be reduced to a stable replay artifact. This records an intentional cache gap; do not use it for ordinary locator difficulty or a tool call you can cite with actionRefs."
|
|
2465
2407
|
),
|
|
2466
|
-
uncacheableReason:
|
|
2408
|
+
uncacheableReason: z18.string().trim().min(1).max(500).optional().describe(
|
|
2467
2409
|
"Fast-drive only: required when cacheable=false. Briefly identify the transient, randomized, external, or otherwise non-deterministic boundary that prevents durable replay."
|
|
2468
2410
|
)
|
|
2469
2411
|
}) : recipeAwareBase;
|
|
@@ -2569,6 +2511,7 @@ export {
|
|
|
2569
2511
|
stableAttrSelector,
|
|
2570
2512
|
PRODUCT_MAP_STATUSES,
|
|
2571
2513
|
formatProofBlock,
|
|
2514
|
+
parsePromoteOn,
|
|
2572
2515
|
matchAssertionSpecsToVerifySteps
|
|
2573
2516
|
};
|
|
2574
|
-
//# sourceMappingURL=chunk-
|
|
2517
|
+
//# sourceMappingURL=chunk-4UZN6TVT.js.map
|