@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
package/README.md
CHANGED
|
@@ -146,6 +146,8 @@ Each guide prints locally (no login needed); pass a section slug to print one se
|
|
|
146
146
|
| `cofactor workflow guide` | `write-a-test` (CLI test authoring), `visual-checkpoints` (native and Playwright visual regression) |
|
|
147
147
|
| `cofactor external-run guide` | external-run diagnosis |
|
|
148
148
|
| `cofactor product-map guide` | product-map authoring |
|
|
149
|
+
| `cofactor proofs guide` | proving a pull request with tests (`overview`) |
|
|
150
|
+
| `cofactor perf guide` | performance tests and the hill-climb loop (`overview`) |
|
|
149
151
|
|
|
150
152
|
## AI Agent Skill Templates
|
|
151
153
|
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
apiRequest,
|
|
4
4
|
fetchList,
|
|
5
5
|
getTargetOrg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VKZOHJCE.js";
|
|
7
7
|
import "./chunk-S3Q7MDCS.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-4UZN6TVT.js";
|
|
9
9
|
import {
|
|
10
10
|
getArgValue,
|
|
11
11
|
hasFlag,
|
|
12
12
|
resolveConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WRBU6TX7.js";
|
|
14
14
|
import {
|
|
15
15
|
writeRawOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MJVUMVLO.js";
|
|
17
17
|
import "./chunk-TOWZAG3I.js";
|
|
18
18
|
|
|
19
19
|
// src/account.ts
|
|
@@ -254,4 +254,4 @@ async function runAccount(argv) {
|
|
|
254
254
|
export {
|
|
255
255
|
runAccount
|
|
256
256
|
};
|
|
257
|
-
//# sourceMappingURL=account-
|
|
257
|
+
//# sourceMappingURL=account-MRZ54P5P.js.map
|
|
@@ -20,25 +20,25 @@ import {
|
|
|
20
20
|
mergeSteps,
|
|
21
21
|
parseFilters,
|
|
22
22
|
updateRule
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-OQFCZERZ.js";
|
|
24
|
+
import "./chunk-LJFVRJCA.js";
|
|
25
|
+
import "./chunk-EJ3ZPH5U.js";
|
|
26
26
|
import "./chunk-DEK6B6LX.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchList,
|
|
29
29
|
getPositionalArg
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VKZOHJCE.js";
|
|
31
31
|
import "./chunk-S3Q7MDCS.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-4UZN6TVT.js";
|
|
33
33
|
import {
|
|
34
34
|
GLOBAL_VALUE_FLAGS,
|
|
35
35
|
getArgValue,
|
|
36
36
|
hasFlag,
|
|
37
37
|
resolveConfig
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WRBU6TX7.js";
|
|
39
39
|
import {
|
|
40
40
|
writeRawOutput
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MJVUMVLO.js";
|
|
42
42
|
import "./chunk-TOWZAG3I.js";
|
|
43
43
|
|
|
44
44
|
// src/alert.ts
|
|
@@ -315,4 +315,4 @@ async function runAlert(argv) {
|
|
|
315
315
|
export {
|
|
316
316
|
runAlert
|
|
317
317
|
};
|
|
318
|
-
//# sourceMappingURL=alert-
|
|
318
|
+
//# sourceMappingURL=alert-XBHELHEI.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
apiRequest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VKZOHJCE.js";
|
|
5
5
|
import "./chunk-S3Q7MDCS.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-4UZN6TVT.js";
|
|
7
7
|
import {
|
|
8
8
|
getArgValue,
|
|
9
9
|
hasFlag
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WRBU6TX7.js";
|
|
11
11
|
import {
|
|
12
12
|
writeRawOutput
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MJVUMVLO.js";
|
|
14
14
|
import "./chunk-TOWZAG3I.js";
|
|
15
15
|
|
|
16
16
|
// src/api-catalog.ts
|
|
@@ -414,4 +414,4 @@ function exitErr(msg) {
|
|
|
414
414
|
export {
|
|
415
415
|
runApiCatalog
|
|
416
416
|
};
|
|
417
|
-
//# sourceMappingURL=api-catalog-
|
|
417
|
+
//# sourceMappingURL=api-catalog-GWYRX53L.js.map
|
|
@@ -2,17 +2,17 @@ import { createRequire as __cr } from "module"; import { fileURLToPath as __fup
|
|
|
2
2
|
import {
|
|
3
3
|
apiRequest,
|
|
4
4
|
getArgValues
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VKZOHJCE.js";
|
|
6
6
|
import "./chunk-S3Q7MDCS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-4UZN6TVT.js";
|
|
8
8
|
import {
|
|
9
9
|
getArgValue,
|
|
10
10
|
hasFlag,
|
|
11
11
|
resolveConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WRBU6TX7.js";
|
|
13
13
|
import {
|
|
14
14
|
writeRawOutput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MJVUMVLO.js";
|
|
16
16
|
import "./chunk-TOWZAG3I.js";
|
|
17
17
|
|
|
18
18
|
// src/api-key.ts
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
createApiKey,
|
|
177
177
|
runApiKey
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=api-key-
|
|
179
|
+
//# sourceMappingURL=api-key-FH6JN447.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
apiRequest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VKZOHJCE.js";
|
|
5
5
|
import "./chunk-S3Q7MDCS.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-4UZN6TVT.js";
|
|
7
7
|
import {
|
|
8
8
|
getArgValue,
|
|
9
9
|
hasFlag,
|
|
10
10
|
resolveConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WRBU6TX7.js";
|
|
12
12
|
import {
|
|
13
13
|
writeRawOutput
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MJVUMVLO.js";
|
|
15
15
|
import "./chunk-TOWZAG3I.js";
|
|
16
16
|
|
|
17
17
|
// src/attachment.ts
|
|
@@ -275,4 +275,4 @@ async function runAttachment(argv) {
|
|
|
275
275
|
export {
|
|
276
276
|
runAttachment
|
|
277
277
|
};
|
|
278
|
-
//# sourceMappingURL=attachment-
|
|
278
|
+
//# sourceMappingURL=attachment-J7GRVT5F.js.map
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
resolveOrgAppUrl,
|
|
27
27
|
saveAuth,
|
|
28
28
|
setDefaultProfile
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-WRBU6TX7.js";
|
|
30
|
+
import "./chunk-MJVUMVLO.js";
|
|
31
31
|
import "./chunk-TOWZAG3I.js";
|
|
32
32
|
export {
|
|
33
33
|
ENV_URLS,
|
|
@@ -57,4 +57,4 @@ export {
|
|
|
57
57
|
saveAuth,
|
|
58
58
|
setDefaultProfile
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=auth-
|
|
60
|
+
//# sourceMappingURL=auth-VZZQXRDR.js.map
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
apiRequest,
|
|
4
4
|
fetchList,
|
|
5
5
|
getPositionalArgs
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VKZOHJCE.js";
|
|
7
7
|
import "./chunk-S3Q7MDCS.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-4UZN6TVT.js";
|
|
9
9
|
import {
|
|
10
10
|
GLOBAL_VALUE_FLAGS,
|
|
11
11
|
getArgValue,
|
|
12
12
|
hasFlag,
|
|
13
13
|
resolveConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WRBU6TX7.js";
|
|
15
15
|
import {
|
|
16
16
|
writeRawOutput
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MJVUMVLO.js";
|
|
18
18
|
import "./chunk-TOWZAG3I.js";
|
|
19
19
|
|
|
20
20
|
// src/benchmark.ts
|
|
@@ -437,4 +437,4 @@ export {
|
|
|
437
437
|
parseAbArgs,
|
|
438
438
|
runBenchmark
|
|
439
439
|
};
|
|
440
|
-
//# sourceMappingURL=benchmark-
|
|
440
|
+
//# sourceMappingURL=benchmark-A3SNDARF.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
isTerminalFailure,
|
|
8
8
|
resolveConfig,
|
|
9
9
|
splitAtSeparator
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WRBU6TX7.js";
|
|
11
11
|
import {
|
|
12
12
|
writeRawOutput
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MJVUMVLO.js";
|
|
14
14
|
import "./chunk-TOWZAG3I.js";
|
|
15
15
|
|
|
16
16
|
// src/blackcat.ts
|
|
@@ -268,4 +268,4 @@ export {
|
|
|
268
268
|
runBlackcat,
|
|
269
269
|
waitForBlackcatResume
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=blackcat-
|
|
271
|
+
//# sourceMappingURL=blackcat-UM6TBQBN.js.map
|
|
@@ -3923,7 +3923,10 @@ function writeRecord(req, state) {
|
|
|
3923
3923
|
const writable = WRITABLE.get(object);
|
|
3924
3924
|
if (!writable) throw new MaximoError(404, `Unsupported object in emulator: ${object.slice(0, 64)}`);
|
|
3925
3925
|
const form = new URLSearchParams(req.body ?? "");
|
|
3926
|
-
const
|
|
3926
|
+
const id = req.params["id"];
|
|
3927
|
+
const target = id === void 0 ? void 0 : rowsFor(state, req.params["root"], object).find((r) => String(r.row[writable.idAttribute]) === id);
|
|
3928
|
+
if (id !== void 0 && !target) throw new MaximoError(404, `No ${object} record with ${writable.idAttribute} ${id.slice(0, 64)}`);
|
|
3929
|
+
const action = id !== void 0 ? "Change" : queryParam(req, "_action") ?? form.get("_action") ?? "";
|
|
3927
3930
|
const mode = WRITE_MODES.get(action.toLowerCase());
|
|
3928
3931
|
if (!mode) throw new MaximoError(400, `Unsupported _action in emulator: ${action.slice(0, 64)}`);
|
|
3929
3932
|
const changes = /* @__PURE__ */ new Map();
|
|
@@ -3934,14 +3937,19 @@ function writeRecord(req, state) {
|
|
|
3934
3937
|
if (def.name === writable.idAttribute) throw new MaximoError(400, `${def.name} on ${object} is read-only`);
|
|
3935
3938
|
changes.set(def.name, attributeValue(object, def, raw));
|
|
3936
3939
|
}
|
|
3940
|
+
if (target) {
|
|
3941
|
+
for (const name of writable.keyAttributes) {
|
|
3942
|
+
if (changes.has(name) && changes.get(name) !== target.row[name]) throw new MaximoError(400, `${name} on ${object} cannot be changed`);
|
|
3943
|
+
changes.set(name, target.row[name]);
|
|
3944
|
+
}
|
|
3945
|
+
}
|
|
3937
3946
|
for (const name of writable.keyAttributes) {
|
|
3938
3947
|
if (changes.get(name) === void 0) {
|
|
3939
3948
|
throw new MaximoError(400, `A value is required for the ${writable.attributes.get(name).title} field on the ${object} object.`);
|
|
3940
3949
|
}
|
|
3941
3950
|
}
|
|
3942
3951
|
const rootName = req.params["root"];
|
|
3943
|
-
const
|
|
3944
|
-
const saved = root?.objects.get(object);
|
|
3952
|
+
const saved = state.roots.get(rootName)?.objects.get(object);
|
|
3945
3953
|
const key = primaryKey(writable.keyAttributes, Object.fromEntries(changes));
|
|
3946
3954
|
const existing = saved?.get(key) ?? writable.seededByKey.get(key);
|
|
3947
3955
|
if (existing && !mode.update) throw new MaximoError(400, `A ${object} record with this key already exists`);
|
|
@@ -4038,12 +4046,13 @@ var recordOnly = authed(
|
|
|
4038
4046
|
var maximoStubPlugin = {
|
|
4039
4047
|
id: "maximo-stub",
|
|
4040
4048
|
name: "Maximo MBO REST Stub",
|
|
4041
|
-
version: "1.
|
|
4049
|
+
version: "1.8.0",
|
|
4042
4050
|
domains: (config) => [config.host.toLowerCase()],
|
|
4043
4051
|
needsBrowserIntercept: false,
|
|
4044
4052
|
routes: [
|
|
4045
4053
|
{ method: "GET", path: "/:root/restapi/mbo/:object", handler: mbo(queryRecords) },
|
|
4046
4054
|
{ method: "POST", path: "/:root/restapi/mbo/:object", handler: mbo(writeRecord) },
|
|
4055
|
+
{ method: "POST", path: "/:root/restapi/mbo/:object/:id", handler: mbo(writeRecord) },
|
|
4047
4056
|
{ method: "POST", path: "/:osRoot/api/os/mxapiwo/:id", handler: mbo(updateOslcStatus) },
|
|
4048
4057
|
{ method: "*", path: "*", handler: recordOnly }
|
|
4049
4058
|
],
|
|
@@ -4936,4 +4945,4 @@ export {
|
|
|
4936
4945
|
OIDC_GATE_ROUTE_KEY,
|
|
4937
4946
|
oidcGateBrowserRoutes
|
|
4938
4947
|
};
|
|
4939
|
-
//# sourceMappingURL=chunk-
|
|
4948
|
+
//# sourceMappingURL=chunk-33U56YGD.js.map
|