@xano/sdk 1.0.13 → 1.0.15
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/CHANGELOG.md +28 -0
- package/README.md +28 -28
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-DAFGNMQX.js → agent-file-refresh-ZRGNOA6Q.js} +12 -11
- package/dist/{agent-skill-command-6M46ZGOL.js → agent-skill-command-DV26SDA2.js} +51 -50
- package/dist/{answer-shape-CBUQRSXI.js → answer-shape-AVZSKBR6.js} +4 -4
- package/dist/{backend-dir-J2J7JNS6.js → backend-dir-NTMXWE5R.js} +11 -10
- package/dist/{backend-slot-X5AUX2TT.js → backend-slot-DZAUHLTS.js} +3 -3
- package/dist/bin.js +47 -46
- package/dist/{branch-YS2K3VOB.js → branch-IJTBZZFO.js} +8 -8
- package/dist/{branch-commands-BUKVE637.js → branch-commands-4PJEBNRK.js} +26 -25
- package/dist/{chunk-PCHIHVX6.js → chunk-2LF734YB.js} +4 -4
- package/dist/{chunk-ENBGJJJH.js → chunk-3GZMP7II.js} +9 -9
- package/dist/{chunk-R7XZW4SB.js → chunk-3H7R4ISR.js} +2 -2
- package/dist/{chunk-DB7P2SSK.js → chunk-45K2QZBR.js} +3 -3
- package/dist/{chunk-C2SAVXAB.js → chunk-4MX5LMPQ.js} +2 -2
- package/dist/{chunk-IZI3SYXH.js → chunk-5FJ4M4HB.js} +38 -38
- package/dist/{chunk-FBWMKHLO.js → chunk-5SJQAJLF.js} +3 -3
- package/dist/{chunk-E763QI3G.js → chunk-5SKWGCAJ.js} +2 -2
- package/dist/{chunk-JKGRQW6D.js → chunk-5W7S2SCA.js} +4 -4
- package/dist/{chunk-KICERNAP.js → chunk-66ZU2CD5.js} +4 -4
- package/dist/{chunk-F2NFNYCB.js → chunk-6EFXPTHT.js} +3 -3
- package/dist/{chunk-CTUIMNEM.js → chunk-6X73VFCX.js} +2 -2
- package/dist/{chunk-VTMTIBKP.js → chunk-74OPNM2Z.js} +2 -2
- package/dist/{chunk-DZUNF7IH.js → chunk-75QC66XI.js} +2 -2
- package/dist/{chunk-U4BGBU3R.js → chunk-7AKH4QDJ.js} +44 -44
- package/dist/{chunk-CGZSF756.js → chunk-7ZQ73AHJ.js} +28 -28
- package/dist/{chunk-5SMUND4J.js → chunk-A2N2C2WD.js} +6 -6
- package/dist/{chunk-XL7EA62X.js → chunk-AE5CRAKS.js} +5 -5
- package/dist/{chunk-5ONWBQ2C.js → chunk-ASQX477B.js} +7 -7
- package/dist/{chunk-JFPLHK6Y.js → chunk-AXMUYBWQ.js} +2 -2
- package/dist/{chunk-5XDKKE5Y.js → chunk-B6AFJVG4.js} +4 -4
- package/dist/{chunk-4CS4DKQC.js → chunk-BEKEOXNG.js} +2 -2
- package/dist/{chunk-ZSMHS7BU.js → chunk-CJGLAQRD.js} +4 -4
- package/dist/{chunk-M7DIIJPW.js → chunk-DBDTQR23.js} +4 -4
- package/dist/{chunk-RZABQ4YH.js → chunk-DGYXCIBV.js} +4 -4
- package/dist/{chunk-P6HXDOFG.js → chunk-DH6O5NQU.js} +13 -13
- package/dist/{chunk-I2AVVARA.js → chunk-ECQXASG3.js} +2 -2
- package/dist/{chunk-2BHYGUTI.js → chunk-EQXHUWUO.js} +2 -2
- package/dist/{chunk-EGEANMMK.js → chunk-FIERONKM.js} +2 -2
- package/dist/{chunk-A2AOUBJS.js → chunk-FKQX6KU7.js} +3 -2
- package/dist/{chunk-UECNKDDA.js → chunk-FOBVJ2UR.js} +8 -8
- package/dist/{chunk-GRWYO2MS.js → chunk-FXZEZAV2.js} +3 -3
- package/dist/{chunk-H6VVSGKN.js → chunk-G4WRZU5T.js} +7 -7
- package/dist/{chunk-K6BQPFRS.js → chunk-GBSHHNSD.js} +3 -3
- package/dist/{chunk-N3XSXGAL.js → chunk-GCINMMFL.js} +2 -2
- package/dist/{chunk-WZXEQUIM.js → chunk-GDJCWQIK.js} +2 -2
- package/dist/{chunk-ZACMAKZE.js → chunk-GIQIMWTK.js} +14 -14
- package/dist/{chunk-POZ6V4MU.js → chunk-GKQTXUOW.js} +2 -2
- package/dist/{chunk-D4VKPOD4.js → chunk-GRXX2TOJ.js} +13 -112
- package/dist/{chunk-YJK4NPXC.js → chunk-GVHWIDEJ.js} +3 -3
- package/dist/{chunk-UKC65HBQ.js → chunk-HCNIB3EC.js} +4 -4
- package/dist/{chunk-DILYWJVP.js → chunk-HXFLHA5K.js} +2 -2
- package/dist/{chunk-FLDFKG24.js → chunk-IKXXTRMN.js} +4 -4
- package/dist/{chunk-QWWQM4XZ.js → chunk-JAYHFXWH.js} +7 -7
- package/dist/{chunk-6LECAG3Y.js → chunk-JWASCOHO.js} +4 -4
- package/dist/{chunk-DPSR5GRE.js → chunk-K6SWZ6H4.js} +49 -49
- package/dist/{chunk-VA4JK4TW.js → chunk-KMKUH2IO.js} +3 -3
- package/dist/{chunk-UFFIU57H.js → chunk-LSJ3SQEU.js} +4 -4
- package/dist/{chunk-JHQAVWHW.js → chunk-M7O3T7IM.js} +2 -2
- package/dist/{chunk-BXVNRUDB.js → chunk-MGG4CHO4.js} +3 -3
- package/dist/{chunk-7NNLRNXE.js → chunk-MIS6F4HM.js} +4 -4
- package/dist/{chunk-6HTXQAMG.js → chunk-N72XNQNJ.js} +14 -14
- package/dist/{chunk-H7GMGZHI.js → chunk-NDV6CBR7.js} +2 -2
- package/dist/{chunk-6OOZJQJK.js → chunk-NNI5R6V6.js} +68 -68
- package/dist/{chunk-IFXPHVPY.js → chunk-NPYYDTXS.js} +3 -3
- package/dist/{chunk-DYGRTWAI.js → chunk-O44MJTLR.js} +3 -3
- package/dist/{chunk-HDANNK4A.js → chunk-OZWAITII.js} +9 -9
- package/dist/{chunk-ONNSFD73.js → chunk-P7GKTV7N.js} +10 -10
- package/dist/{chunk-373AVIL2.js → chunk-QAEBBTYR.js} +7 -7
- package/dist/{chunk-3ZVSOZZC.js → chunk-QRMKQYCB.js} +2 -2
- package/dist/{chunk-TANWE2ZY.js → chunk-QW7NGUYW.js} +80 -80
- package/dist/{chunk-U4DSFCH5.js → chunk-R3GPRNBT.js} +2 -2
- package/dist/{chunk-SBS2IYTN.js → chunk-RBTZEHXF.js} +3 -3
- package/dist/{chunk-XFQAA2SU.js → chunk-RVAEPPRH.js} +2 -2
- package/dist/{chunk-W5MKVFBQ.js → chunk-RXNMZM6H.js} +5 -5
- package/dist/{chunk-6QJORUHC.js → chunk-RYWNNJK5.js} +2 -2
- package/dist/{chunk-NZ7ML6LG.js → chunk-SH4RY6QX.js} +290 -98
- package/dist/{chunk-ZGNWMGN3.js → chunk-SHHXLI2K.js} +26 -8
- package/dist/{chunk-MLKJUEG3.js → chunk-SL55XKVL.js} +23 -23
- package/dist/{chunk-H5FAYLCR.js → chunk-SPLRKCFV.js} +2 -2
- package/dist/{chunk-XYVPF63S.js → chunk-SXMZNSQ6.js} +8 -8
- package/dist/{chunk-NMHTB346.js → chunk-TT6LN55R.js} +36 -10
- package/dist/{chunk-B5N6EWOM.js → chunk-TXFOQZUQ.js} +3 -3
- package/dist/{chunk-VFRL4G72.js → chunk-UNFQN3TT.js} +3 -3
- package/dist/{chunk-EKS7SAZS.js → chunk-UVHSMANV.js} +53 -61
- package/dist/{chunk-RQHXYL77.js → chunk-V7WCTXEH.js} +5 -7
- package/dist/{chunk-HEMWBHQS.js → chunk-VUWR5YLE.js} +13 -13
- package/dist/{chunk-O6PWEJUV.js → chunk-VXHXSGPU.js} +8 -8
- package/dist/chunk-VYJYDMY6.js +9 -0
- package/dist/{chunk-C4TZP5PQ.js → chunk-WS2X5BB2.js} +5 -5
- package/dist/{chunk-P5JF3U65.js → chunk-WS4BA75E.js} +37 -4
- package/dist/{chunk-HUEFVPYW.js → chunk-WXKSB2N3.js} +3 -3
- package/dist/{chunk-DFCYAEBE.js → chunk-XLP4CNSF.js} +3 -3
- package/dist/{chunk-OCNTMJSY.js → chunk-XPSDDTUZ.js} +3 -3
- package/dist/{chunk-OBRMA2VK.js → chunk-XY4OBD26.js} +3 -3
- package/dist/{chunk-XVOODRNK.js → chunk-Y5XAPLZS.js} +4 -4
- package/dist/{chunk-ZISPEBNM.js → chunk-YCKKL5PD.js} +60 -55
- package/dist/{chunk-XM56DAM7.js → chunk-YR3MNGWZ.js} +8 -8
- package/dist/{chunk-WQZCFVAD.js → chunk-ZC6H2ERE.js} +5 -5
- package/dist/{chunk-UDCKYLBW.js → chunk-ZDVVIJPU.js} +4 -4
- package/dist/{chunk-ENAUSLMP.js → chunk-ZF2CBXT5.js} +3 -3
- package/dist/{chunk-AUYXBKGR.js → chunk-ZOHEHIFS.js} +2 -2
- package/dist/{chunk-3RZ4UJWV.js → chunk-ZPJXWMHK.js} +4 -4
- package/dist/{chunk-A3CT26GX.js → chunk-ZRXDPCMN.js} +2 -2
- package/dist/{chunk-RAGFXELQ.js → chunk-ZYECXDVV.js} +5 -5
- package/dist/cli.js +45 -44
- package/dist/{codegen-command-BAFON45M.js → codegen-command-RDD4GL35.js} +63 -62
- package/dist/codegen.js +2 -2
- package/dist/{commands-IFRAGWGK.js → commands-5ILSWDSV.js} +2 -2
- package/dist/{completion-RTXCODHS.js → completion-UNKBVVDT.js} +2 -2
- package/dist/{config-EHFXNFSP.js → config-NTOASFCA.js} +3 -3
- package/dist/{deploy-command-JW7R3BPW.js → deploy-command-BYAZZF37.js} +52 -51
- package/dist/{deploy-source-ZUPLAL7L.js → deploy-source-QCPZWNJO.js} +27 -26
- package/dist/{dev-env-sync-W7OTV7OD.js → dev-env-sync-6MHK3UHC.js} +46 -45
- package/dist/{display-name-hint-BKPMISQU.js → display-name-hint-MYXCCAOP.js} +10 -10
- package/dist/{env-example-refresh-TS7WBVZQ.js → env-example-refresh-MQWHY7ZS.js} +64 -63
- package/dist/{env-pull-command-5IYXQ2WK.js → env-pull-command-KUIEKBTM.js} +42 -41
- package/dist/{env-target-TQBPLU2S.js → env-target-Y77RLRS5.js} +9 -9
- package/dist/{env-var-command-AKCWYZPB.js → env-var-command-BZWJD75C.js} +37 -36
- package/dist/{ephemeral-CART6DIR.js → ephemeral-VLPRDNEJ.js} +8 -8
- package/dist/{ephemeral-command-SJYH6XRS.js → ephemeral-command-SYKDPALW.js} +43 -42
- package/dist/{ephemeral-state-HPKSKC4Y.js → ephemeral-state-RUOU2GFS.js} +7 -7
- package/dist/{generate-command-FSCFZPOJ.js → generate-command-CSQDQZSW.js} +68 -67
- package/dist/{gitignore-6IJ66XME.js → gitignore-OQGYM7DO.js} +15 -14
- package/dist/{guards-RU4C7TFG.js → guards-JUYBDLZY.js} +6 -6
- package/dist/{impersonate-command-IH4HMSS3.js → impersonate-command-HSFCZBV6.js} +33 -32
- package/dist/{import-RUBCGLCA.js → import-T4ZTOTBT.js} +4 -4
- package/dist/index.d.ts +105 -109
- package/dist/index.js +11 -11
- package/dist/{init-command-STB4YSAK.js → init-command-6Z7QNVDY.js} +50 -51
- package/dist/{init-modules-YIZYPCMM.js → init-modules-BL2SR5RK.js} +7 -7
- package/dist/{init-web-OGKACAOC.js → init-web-DYE2FEXL.js} +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +68 -62
- package/dist/{keep-data-merge-VRKS64JK.js → keep-data-merge-SHF75FC7.js} +24 -24
- package/dist/{lambda-config-reconcile-FXPDH2U5.js → lambda-config-reconcile-VOBVZPWS.js} +3 -3
- package/dist/{landing-record-5EFK7RI6.js → landing-record-7EOLEKH3.js} +17 -16
- package/dist/{live-diff-HARRGFV4.js → live-diff-M2OLXKM6.js} +6 -6
- package/dist/{local-engine-choice-TRTEJVMV.js → local-engine-choice-TOC3UYZZ.js} +30 -29
- package/dist/{local-engine-command-2FK2PE2P.js → local-engine-command-6KSRDZBR.js} +35 -34
- package/dist/{local-engine-deploy-ZZVHBI2X.js → local-engine-deploy-4N4NFZ4T.js} +11 -11
- package/dist/{local-engine-lookup-QFRKO35F.js → local-engine-lookup-AQTUGSBT.js} +2 -2
- package/dist/{local-engine-mcp-bridge-T2EFRRAF.js → local-engine-mcp-bridge-AMYRH4SY.js} +9 -9
- package/dist/{local-engine-mcp-command-FB7EOGG6.js → local-engine-mcp-command-XTP3EATV.js} +41 -48
- package/dist/{local-engine-process-XH35DURU.js → local-engine-process-OD5OSWDG.js} +6 -6
- package/dist/{local-engine-update-check-HAXE7BVG.js → local-engine-update-check-G3YCBXRE.js} +4 -4
- package/dist/{lock-commands-7PBZIRWR.js → lock-commands-437P6BHY.js} +50 -49
- package/dist/{login-command-2O6GRMTH.js → login-command-BNRDAVFV.js} +23 -22
- package/dist/{logout-command-RZXGW3O2.js → logout-command-FCGCHB7Y.js} +13 -12
- package/dist/{loop-QHZD37KX.js → loop-WOAEXMTC.js} +6 -6
- package/dist/{marketplace-command-NCMLGIMS.js → marketplace-command-SUBJZPJV.js} +33 -33
- package/dist/{marketplace-resolve-HPCRNV5O.js → marketplace-resolve-JR4BBJ6K.js} +5 -5
- package/dist/{meta-client-DYYM5F5G.js → meta-client-AYJS3RQ3.js} +10 -10
- package/dist/{module-manifest-EFE6JBZW.js → module-manifest-63I5GRK4.js} +3 -3
- package/dist/node.d.ts +2 -2
- package/dist/node.js +50 -49
- package/dist/{operation-outcome-SHNROAFA.js → operation-outcome-ORQPVJKB.js} +19 -19
- package/dist/{output-target-PSSR3E4N.js → output-target-KNHHNDM3.js} +16 -15
- package/dist/{plan-disclosure-WEMB5ZJ2.js → plan-disclosure-4DUFRGCP.js} +16 -16
- package/dist/{plugin-contributions-U5PAZKBE.js → plugin-contributions-YYEP7IWH.js} +4 -4
- package/dist/{plugin-prompt-O5PAMV5B.js → plugin-prompt-GKCQKNYI.js} +4 -4
- package/dist/{plugin-questions-ZVYNKDRB.js → plugin-questions-P7MA3TYI.js} +3 -3
- package/dist/{preflight-command-6F7JF3YQ.js → preflight-command-32GFVKSN.js} +56 -55
- package/dist/{profile-command-5AOGD6GV.js → profile-command-U2XTKOMF.js} +24 -23
- package/dist/{profile-pointer-VTOZDBHM.js → profile-pointer-JJ7K5O2R.js} +3 -3
- package/dist/{project-dependency-EZNTHMWI.js → project-dependency-X3KCWBK5.js} +6 -6
- package/dist/{project-sdk-ZGJM4WYQ.js → project-sdk-YHJZRCNB.js} +3 -3
- package/dist/promote-command-OO56IZBT.js +148 -0
- package/dist/{prompt-F7UVH4GP.js → prompt-QNMJIWNI.js} +3 -3
- package/dist/{publish-command-6VVSJPLI.js → publish-command-5ZVZ6IYT.js} +55 -54
- package/dist/{pull-command-GE2WUEUF.js → pull-command-LT5PCEIW.js} +66 -65
- package/dist/{pull-superseded-77UZ7CHH.js → pull-superseded-6HADGGC5.js} +3 -3
- package/dist/{release-command-55RTR674.js → release-command-RBUOXIH7.js} +60 -59
- package/dist/{release-ns-command-5XPZ2B6N.js → release-ns-command-LDN5DOKQ.js} +78 -77
- package/dist/{retry-command-S5QALD5Z.js → retry-command-LFZYEVRU.js} +7 -7
- package/dist/{routes-manifest-ET2TTSCL.js → routes-manifest-BMAOL6WN.js} +6 -6
- package/dist/{routes-manifest-file-42FTJHRY.js → routes-manifest-file-MPOVKD6N.js} +9 -9
- package/dist/scaffold.d.ts +0 -5
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-N5IF265R.js → secrets-file-7QM3ORGX.js} +15 -14
- package/dist/{secrets-fill-command-35WKBURT.js → secrets-fill-command-OZ537VOD.js} +49 -48
- package/dist/{seed-5YLQRT2D.js → seed-ATGBOEJP.js} +6 -6
- package/dist/{source-resolve-JXGOVJD3.js → source-resolve-QYSWA3QR.js} +17 -17
- package/dist/{static-host-TQP3FXPI.js → static-host-MO4VDHL7.js} +4 -4
- package/dist/{status-command-G3DFRMU7.js → status-command-IEB4K7ME.js} +60 -34
- package/dist/{store-ZE5BXCOW.js → store-AJX4MC7Y.js} +5 -5
- package/dist/{store-BM7SQcUt.d.ts → store-DspGMsFY.d.ts} +112 -118
- package/dist/{sync-baseline-JGAAOS25.js → sync-baseline-IB7MABZO.js} +7 -7
- package/dist/{sync-contributions-7T4CSPVQ.js → sync-contributions-DLV5JZUK.js} +8 -8
- package/dist/{sync-record-ILWS44DG.js → sync-record-NE62ERA3.js} +9 -9
- package/dist/{table-V3LTQUY6.js → table-TFD4ZQXA.js} +8 -8
- package/dist/{tables-command-7NUOZBHX.js → tables-command-IMCVPUFY.js} +35 -34
- package/dist/{tenant-7WUS7Q6V.js → tenant-IIYECNWO.js} +9 -9
- package/dist/{tenant-command-JGEHRKN7.js → tenant-command-77KG76MU.js} +83 -82
- package/dist/{test-command-2LNEA6GK.js → test-command-NSPU4RUO.js} +32 -31
- package/dist/{tests-ENFUACKD.js → tests-JWQRHFCT.js} +5 -5
- package/dist/{token-DWNH44NW.js → token-BDHD7GU3.js} +9 -8
- package/dist/{toolchain-hooks-QIFGPGH2.js → toolchain-hooks-QHJRDCRW.js} +8 -8
- package/dist/{toolchain-modules-F4DUMWTO.js → toolchain-modules-LY7BMYG6.js} +4 -4
- package/dist/{toolchain-peers-K44IINPG.js → toolchain-peers-FQJBTKEB.js} +7 -7
- package/dist/{tracked-backend-ZFXVLBBJ.js → tracked-backend-BIR7YJCE.js} +30 -29
- package/dist/{update-check-KBHT63GJ.js → update-check-JDARCXAX.js} +48 -47
- package/dist/{upgrade-command-CI543AZP.js → upgrade-command-YCADQCIA.js} +51 -50
- package/dist/{whoami-command-77DXENWD.js → whoami-command-IZCTUPM4.js} +12 -11
- package/dist/{workspace-RI5C77BZ.js → workspace-TK52V7WO.js} +4 -4
- package/dist/{workspace-binding-PR57NBGH.js → workspace-binding-3UT6PP4B.js} +11 -10
- package/dist/{workspace-command-6HHVFQKW.js → workspace-command-46OCB6XT.js} +79 -78
- package/dist/{workspace-env-2APJEASO.js → workspace-env-PVPOWFNZ.js} +12 -11
- package/dist/{workspace-export-GHMUSX2P.js → workspace-export-PUEXKZNS.js} +4 -4
- package/dist/{writable-Y6CE2CGK.js → writable-LMMG4AFZ.js} +3 -3
- package/dist/{xano-2A2GT7EH.js → xano-EOUVXNQX.js} +7 -7
- package/dist/{xanosdk-import-HBQH3ZBS.js → xanosdk-import-XXJT365U.js} +5 -5
- package/dist/{xanosdk-project-W45IR3Q7.js → xanosdk-project-CJKRLQ6U.js} +13 -12
- package/guides/README.md +3 -3
- package/guides/authoring.md +11 -11
- package/guides/bundle.md +2 -2
- package/guides/cli.md +179 -176
- package/guides/codegen.md +17 -17
- package/guides/codes.md +3 -3
- package/guides/coverage.md +2 -2
- package/guides/deploying.md +123 -123
- package/guides/environment.md +30 -30
- package/guides/marketplace.md +24 -24
- package/guides/module-contract.md +9 -9
- package/guides/object-kinds.md +4 -4
- package/guides/project-structure.md +4 -4
- package/guides/scaffold.md +22 -22
- package/guides/typed-frontend.md +3 -3
- package/llms/client.md +4 -4
- package/llms/errors.md +2 -2
- package/llms/fields.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms/kinds-realtime.md +2 -2
- package/llms/lock.md +3 -3
- package/llms/statements-calls.md +1 -1
- package/llms/statements-catalog.md +57 -57
- package/llms/statements-runtime.md +2 -2
- package/llms/tests.md +3 -3
- package/llms/toolchain.md +2 -2
- package/llms-full.txt +113 -110
- package/llms.txt +35 -32
- package/manifest.json +82 -152
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +7 -7
- package/dist/promote-command-O2NRRFLK.js +0 -147
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
assertCanonical,
|
|
12
12
|
buildMiddlewareBlock,
|
|
13
13
|
encodeContainerHistory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EFXPTHT.js";
|
|
15
15
|
import {
|
|
16
16
|
safeNames
|
|
17
17
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
tableColumns,
|
|
38
38
|
tableIndexes,
|
|
39
39
|
unusableColumns
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TXFOQZUQ.js";
|
|
41
41
|
import {
|
|
42
42
|
brandDef
|
|
43
43
|
} from "./chunk-ERVIASGL.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
assertDefShape,
|
|
46
46
|
encodeTags,
|
|
47
47
|
registerKind
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-74OPNM2Z.js";
|
|
49
49
|
import {
|
|
50
50
|
findNonJson,
|
|
51
51
|
nonJsonMessage
|
|
@@ -77,13 +77,14 @@ import {
|
|
|
77
77
|
} from "./chunk-5KJBWIDZ.js";
|
|
78
78
|
import {
|
|
79
79
|
annotate,
|
|
80
|
+
assertBindsAs,
|
|
80
81
|
encodeStatement,
|
|
81
82
|
markStatement,
|
|
82
83
|
readableStatementName,
|
|
83
84
|
registerStatement,
|
|
84
85
|
statementLabel,
|
|
85
86
|
statementMark
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-FKQX6KU7.js";
|
|
87
88
|
import {
|
|
88
89
|
LAMBDA_CODE_FILTERS,
|
|
89
90
|
assertLambdaStatement,
|
|
@@ -1899,6 +1900,7 @@ function encodeFromSpec(spec, authored) {
|
|
|
1899
1900
|
});
|
|
1900
1901
|
if (env?.settingsRegistry) stmt.settings_registry = [];
|
|
1901
1902
|
if (spec.output) {
|
|
1903
|
+
if (authoredOut && hasOutputContent(authoredOut)) assertBindsAs(stmt, "output");
|
|
1902
1904
|
const base = env?.richOutput ? { customize: false, filters: [], items: [] } : { filters: [] };
|
|
1903
1905
|
const fromAnnotate = stmt.output ?? {};
|
|
1904
1906
|
stmt.output = { ...base, ...fromAnnotate, ...authoredOut ? pickDefined(authoredOut) : {} };
|
|
@@ -1906,6 +1908,9 @@ function encodeFromSpec(spec, authored) {
|
|
|
1906
1908
|
if (env?.addon) stmt.addon = [];
|
|
1907
1909
|
return stmt;
|
|
1908
1910
|
}
|
|
1911
|
+
function hasOutputContent(out) {
|
|
1912
|
+
return out.customize === true || (out.items?.length ?? 0) > 0 || (out.filters?.length ?? 0) > 0;
|
|
1913
|
+
}
|
|
1909
1914
|
function registerSpec(spec) {
|
|
1910
1915
|
const factory = (authored) => encodeFromSpec(spec, authored);
|
|
1911
1916
|
registerStatement(spec.name, factory, spec.factory);
|
|
@@ -1925,31 +1930,31 @@ var GENERATED_SPECS = [
|
|
|
1925
1930
|
{ "name": "mvp:amazon_s3_signed_url", "factory": "s.cloud.aws.s3.sign_url", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "bucket", "type": "value", "optional": false, "route": { "kind": "input", "name": "bucket" } }, { "field": "region", "type": "value", "optional": false, "route": { "kind": "input", "name": "region" } }, { "field": "key", "type": "value", "optional": false, "route": { "kind": "input", "name": "key" } }, { "field": "secret", "type": "value", "optional": false, "route": { "kind": "input", "name": "secret" } }, { "field": "file_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "file_key" } }, { "field": "ttl", "type": "value", "optional": true, "default": "300", "route": { "kind": "input", "name": "ttl" } }] },
|
|
1926
1931
|
{ "name": "mvp:amazon_s3_upload_file", "factory": "s.cloud.aws.s3.upload_file", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "bucket", "type": "value", "optional": false, "route": { "kind": "input", "name": "bucket" } }, { "field": "region", "type": "value", "optional": false, "route": { "kind": "input", "name": "region" } }, { "field": "key", "type": "value", "optional": false, "route": { "kind": "input", "name": "key" } }, { "field": "secret", "type": "value", "optional": false, "route": { "kind": "input", "name": "secret" } }, { "field": "file_key", "type": "value", "optional": true, "route": { "kind": "input", "name": "file_key" } }, { "field": "file", "type": "value", "optional": false, "route": { "kind": "input", "name": "file" } }, { "field": "metadata", "type": "value", "optional": true, "route": { "kind": "input", "name": "metadata" } }, { "field": "object_lock_mode", "type": "value", "optional": true, "enum": ["compliance", "governance"], "route": { "kind": "input", "name": "object_lock_mode" } }, { "field": "object_lock_retain_until", "type": "value", "optional": true, "route": { "kind": "input", "name": "object_lock_retain_until" } }] },
|
|
1927
1932
|
{ "name": "mvp:api_request", "factory": "s.api.request", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "url", "type": "value", "optional": false, "route": { "kind": "input", "name": "url" } }, { "field": "method", "type": "value", "optional": true, "enum": ["GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "PATCH"], "route": { "kind": "input", "name": "method" } }, { "field": "params", "type": "value", "optional": true, "route": { "kind": "input", "name": "params" } }, { "field": "headers", "type": "value", "optional": true, "route": { "kind": "input", "name": "headers" } }, { "field": "timeout", "type": "value", "optional": true, "route": { "kind": "input", "name": "timeout" } }, { "field": "follow_location", "type": "value", "optional": true, "route": { "kind": "input", "name": "follow_location" } }, { "field": "verify_host", "type": "value", "optional": true, "route": { "kind": "input", "name": "verify_host" } }, { "field": "verify_peer", "type": "value", "optional": true, "route": { "kind": "input", "name": "verify_peer" } }, { "field": "ca_certificate", "type": "value", "optional": true, "route": { "kind": "input", "name": "ca_certificate" } }, { "field": "certificate", "type": "value", "optional": true, "route": { "kind": "input", "name": "certificate" } }, { "field": "certificate_pass", "type": "value", "optional": true, "route": { "kind": "input", "name": "certificate_pass" } }, { "field": "private_key", "type": "value", "optional": true, "route": { "kind": "input", "name": "private_key" } }, { "field": "private_key_pass", "type": "value", "optional": true, "route": { "kind": "input", "name": "private_key_pass" } }], "envelope": { "inputFull": true, "description": true, "settingsRegistry": true, "addon": true, "richOutput": true } },
|
|
1928
|
-
{ "name": "mvp:array_difference", "factory": "s.array.difference", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "expr", "type": "value", "optional":
|
|
1929
|
-
{ "name": "mvp:array_every", "factory": "s.array.every", "output": true, "rules": [{ "field": "expr", "type": "value", "optional":
|
|
1930
|
-
{ "name": "mvp:array_filter", "factory": "s.array.filter", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
1931
|
-
{ "name": "mvp:array_filter_count", "factory": "s.array.filter_count", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
1932
|
-
{ "name": "mvp:array_find", "factory": "s.array.find", "output": true, "rules": [{ "field": "expr", "type": "value", "optional":
|
|
1933
|
-
{ "name": "mvp:array_find_index", "factory": "s.array.find_index", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
1934
|
-
{ "name": "mvp:array_group_by", "factory": "s.array.group_by", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "expr", "type": "value", "optional":
|
|
1935
|
-
{ "name": "mvp:array_has", "factory": "s.array.has", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
1936
|
-
{ "name": "mvp:array_intersection", "factory": "s.array.intersection", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "expr", "type": "value", "optional":
|
|
1937
|
-
{ "name": "mvp:array_merge", "factory": "s.array.merge", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1938
|
-
{ "name": "mvp:array_partition", "factory": "s.array.partition", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
1939
|
-
{ "name": "mvp:array_pop", "factory": "s.array.pop", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1940
|
-
{ "name": "mvp:array_push", "factory": "s.array.push", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1941
|
-
{ "name": "mvp:array_shift", "factory": "s.array.shift", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1942
|
-
{ "name": "mvp:array_unshift", "factory": "s.array.unshift", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1943
|
-
{ "name": "mvp:async_function_await", "factory": "s.await", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "ids", "type": "value", "optional": true, "default": "[]", "route": { "kind": "input", "name": "ids" } }, { "field": "timeout", "type": "value", "optional": true, "default": "10", "route": { "kind": "input", "name": "timeout" } }] },
|
|
1933
|
+
{ "name": "mvp:array_difference", "factory": "s.array.difference", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "left" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "right" } }, { "field": "by", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "transform_value" } }] },
|
|
1934
|
+
{ "name": "mvp:array_every", "factory": "s.array.every", "output": true, "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }] },
|
|
1935
|
+
{ "name": "mvp:array_filter", "factory": "s.array.filter", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }] },
|
|
1936
|
+
{ "name": "mvp:array_filter_count", "factory": "s.array.filter_count", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }] },
|
|
1937
|
+
{ "name": "mvp:array_find", "factory": "s.array.find", "output": true, "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }] },
|
|
1938
|
+
{ "name": "mvp:array_find_index", "factory": "s.array.find_index", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }] },
|
|
1939
|
+
{ "name": "mvp:array_group_by", "factory": "s.array.group_by", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "collection" } }, { "field": "by", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "transform_value" } }] },
|
|
1940
|
+
{ "name": "mvp:array_has", "factory": "s.array.has", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }] },
|
|
1941
|
+
{ "name": "mvp:array_intersection", "factory": "s.array.intersection", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "left" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "right" } }, { "field": "by", "type": "value", "optional": true, "route": { "kind": "context-nest", "path": "transform_value" } }] },
|
|
1942
|
+
{ "name": "mvp:array_merge", "factory": "s.array.merge", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
1943
|
+
{ "name": "mvp:array_partition", "factory": "s.array.partition", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }] },
|
|
1944
|
+
{ "name": "mvp:array_pop", "factory": "s.array.pop", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }] },
|
|
1945
|
+
{ "name": "mvp:array_push", "factory": "s.array.push", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
1946
|
+
{ "name": "mvp:array_shift", "factory": "s.array.shift", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }] },
|
|
1947
|
+
{ "name": "mvp:array_unshift", "factory": "s.array.unshift", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
1948
|
+
{ "name": "mvp:async_function_await", "factory": "s.await", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "ids", "type": "value", "optional": true, "default": "[]", "route": { "kind": "input", "name": "ids" } }, { "field": "timeout", "type": "value", "optional": true, "default": "10", "route": { "kind": "input", "name": "timeout" } }, { "field": "terminate", "type": "value", "optional": true, "route": { "kind": "input", "name": "terminate" } }] },
|
|
1944
1949
|
{ "name": "mvp:azure_blob_storage_create_var_from_file_resource", "factory": "s.cloud.azure.storage.read_file", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "account_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_name" } }, { "field": "account_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_key" } }, { "field": "container_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "container_name" } }, { "field": "filePath", "type": "value", "optional": false, "route": { "kind": "input", "name": "filePath" } }] },
|
|
1945
1950
|
{ "name": "mvp:azure_blob_storage_delete_file", "factory": "s.cloud.azure.storage.delete_file", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "account_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_name" } }, { "field": "account_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_key" } }, { "field": "container_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "container_name" } }, { "field": "filePath", "type": "value", "optional": false, "route": { "kind": "input", "name": "filePath" } }] },
|
|
1946
1951
|
{ "name": "mvp:azure_blob_storage_get_file_metadata", "factory": "s.cloud.azure.storage.get_file_info", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "account_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_name" } }, { "field": "account_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_key" } }, { "field": "container_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "container_name" } }, { "field": "filePath", "type": "value", "optional": false, "route": { "kind": "input", "name": "filePath" } }] },
|
|
1947
1952
|
{ "name": "mvp:azure_blob_storage_list_directory", "factory": "s.cloud.azure.storage.list_directory", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "account_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_name" } }, { "field": "account_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_key" } }, { "field": "container_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "container_name" } }, { "field": "path", "type": "value", "optional": true, "route": { "kind": "input", "name": "path" } }] },
|
|
1948
1953
|
{ "name": "mvp:azure_blob_storage_signed_url", "factory": "s.cloud.azure.storage.sign_url", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "account_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_name" } }, { "field": "account_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_key" } }, { "field": "container_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "container_name" } }, { "field": "path", "type": "value", "optional": false, "route": { "kind": "input", "name": "path" } }, { "field": "ttl", "type": "value", "optional": true, "route": { "kind": "input", "name": "ttl" } }] },
|
|
1949
1954
|
{ "name": "mvp:azure_blob_storage_upload_file", "factory": "s.cloud.azure.storage.upload_file", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "account_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_name" } }, { "field": "account_key", "type": "value", "optional": false, "route": { "kind": "input", "name": "account_key" } }, { "field": "container_name", "type": "value", "optional": false, "route": { "kind": "input", "name": "container_name" } }, { "field": "filePath", "type": "value", "optional": false, "route": { "kind": "input", "name": "filePath" } }, { "field": "file", "type": "value", "optional": false, "route": { "kind": "input", "name": "file" } }, { "field": "metadata", "type": "value", "optional": true, "route": { "kind": "input", "name": "metadata" } }] },
|
|
1950
|
-
{ "name": "mvp:bitwise_and", "factory": "s.math.bitwise.and", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1951
|
-
{ "name": "mvp:bitwise_or", "factory": "s.math.bitwise.or", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1952
|
-
{ "name": "mvp:bitwise_xor", "factory": "s.math.bitwise.xor", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1955
|
+
{ "name": "mvp:bitwise_and", "factory": "s.math.bitwise.and", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
1956
|
+
{ "name": "mvp:bitwise_or", "factory": "s.math.bitwise.or", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
1957
|
+
{ "name": "mvp:bitwise_xor", "factory": "s.math.bitwise.xor", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
1953
1958
|
{ "name": "mvp:calculate_geo_distance", "factory": "s.util.geo_distance", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "latitude_1", "type": "value", "optional": false, "route": { "kind": "input", "name": "latitude_1" } }, { "field": "longitude_1", "type": "value", "optional": false, "route": { "kind": "input", "name": "longitude_1" } }, { "field": "latitude_2", "type": "value", "optional": false, "route": { "kind": "input", "name": "latitude_2" } }, { "field": "longitude_2", "type": "value", "optional": false, "route": { "kind": "input", "name": "longitude_2" } }] },
|
|
1954
1959
|
{ "name": "mvp:check_pass", "factory": "s.security.check_password", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "text_password", "type": "value", "optional": false, "route": { "kind": "input", "name": "text_password" } }, { "field": "hash_password", "type": "value", "optional": false, "route": { "kind": "input", "name": "hash_password" } }], "envelope": { "inputFull": true, "description": true, "settingsRegistry": true, "addon": true, "richOutput": true } },
|
|
1955
1960
|
{ "name": "mvp:connect_webflow_api_request", "factory": "s.webflow.request", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "path", "type": "value", "optional": false, "route": { "kind": "input", "name": "path" } }, { "field": "method", "type": "value", "optional": true, "route": { "kind": "input", "name": "method" } }, { "field": "params", "type": "value", "optional": true, "route": { "kind": "input", "name": "params" } }, { "field": "headers", "type": "value", "optional": true, "route": { "kind": "input", "name": "headers" } }, { "field": "timeout", "type": "value", "optional": true, "route": { "kind": "input", "name": "timeout" } }, { "field": "follow_location", "type": "value", "optional": true, "route": { "kind": "input", "name": "follow_location" } }, { "field": "verify_host", "type": "value", "optional": true, "route": { "kind": "input", "name": "verify_host" } }, { "field": "verify_peer", "type": "value", "optional": true, "route": { "kind": "input", "name": "verify_peer" } }, { "field": "ca_certificate", "type": "value", "optional": true, "route": { "kind": "input", "name": "ca_certificate" } }, { "field": "certificate", "type": "value", "optional": true, "route": { "kind": "input", "name": "certificate" } }, { "field": "certificate_pass", "type": "value", "optional": true, "route": { "kind": "input", "name": "certificate_pass" } }, { "field": "private_key", "type": "value", "optional": true, "route": { "kind": "input", "name": "private_key" } }, { "field": "private_key_pass", "type": "value", "optional": true, "route": { "kind": "input", "name": "private_key_pass" } }] },
|
|
@@ -1993,11 +1998,11 @@ var GENERATED_SPECS = [
|
|
|
1993
1998
|
{ "name": "mvp:ipaddress_lookup", "factory": "s.util.ip_lookup", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "input", "name": "ip" } }] },
|
|
1994
1999
|
{ "name": "mvp:jsonl_stream", "factory": "s.stream.from_jsonl", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
1995
2000
|
{ "name": "mvp:lambda", "factory": "s.lambda", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "code", "type": "value", "optional": false, "route": { "kind": "input", "name": "code" } }, { "field": "timeout", "type": "value", "optional": true, "route": { "kind": "input", "name": "timeout" } }] },
|
|
1996
|
-
{ "name": "mvp:math_add", "factory": "s.math.add", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1997
|
-
{ "name": "mvp:math_div", "factory": "s.math.div", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1998
|
-
{ "name": "mvp:math_mod", "factory": "s.math.mod", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
1999
|
-
{ "name": "mvp:math_mul", "factory": "s.math.mul", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2000
|
-
{ "name": "mvp:math_sub", "factory": "s.math.sub", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2001
|
+
{ "name": "mvp:math_add", "factory": "s.math.add", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2002
|
+
{ "name": "mvp:math_div", "factory": "s.math.div", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2003
|
+
{ "name": "mvp:math_mod", "factory": "s.math.mod", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2004
|
+
{ "name": "mvp:math_mul", "factory": "s.math.mul", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2005
|
+
{ "name": "mvp:math_sub", "factory": "s.math.sub", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2001
2006
|
{ "name": "mvp:mcp_call_tool", "factory": "s.ai.external.mcp.tool.run", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "url", "type": "value", "optional": false, "route": { "kind": "input", "name": "url" } }, { "field": "bearer_token", "type": "value", "optional": true, "default": "", "route": { "kind": "input", "name": "bearer_token" } }, { "field": "connection_type", "type": "value", "optional": true, "default": "sse", "enum": ["sse", "stream"], "route": { "kind": "input", "name": "connection_type" } }, { "field": "tool", "type": "value", "optional": false, "route": { "kind": "input", "name": "tool_name" } }, { "field": "args", "type": "value", "optional": true, "route": { "kind": "input", "name": "args" } }] },
|
|
2002
2007
|
{ "name": "mvp:mcp_list_tools", "factory": "s.ai.external.mcp.tool.list", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "url", "type": "value", "optional": false, "route": { "kind": "input", "name": "url" } }, { "field": "bearer_token", "type": "value", "optional": true, "default": "", "route": { "kind": "input", "name": "bearer_token" } }, { "field": "connection_type", "type": "value", "optional": true, "default": "sse", "enum": ["sse", "stream"], "route": { "kind": "input", "name": "connection_type" } }] },
|
|
2003
2008
|
{ "name": "mvp:mcp_oauth_complete", "factory": "s.mcp.oauth.complete", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "request", "type": "value", "optional": false, "route": { "kind": "input", "name": "request" } }, { "field": "decision", "type": "value", "optional": false, "enum": ["approve", "deny"], "route": { "kind": "input", "name": "decision" } }, { "field": "unsafe_user_id", "type": "value", "optional": true, "route": { "kind": "input", "name": "unsafe_user_id" } }] },
|
|
@@ -2006,10 +2011,10 @@ var GENERATED_SPECS = [
|
|
|
2006
2011
|
{ "name": "mvp:mcp_progress", "factory": "s.mcp.progress", "rules": [{ "field": "progress", "type": "value", "optional": false, "route": { "kind": "input", "name": "progress" } }, { "field": "total", "type": "value", "optional": true, "route": { "kind": "input", "name": "total" } }, { "field": "message", "type": "value", "optional": true, "route": { "kind": "input", "name": "message" } }] },
|
|
2007
2012
|
{ "name": "mvp:mcp_server_details", "factory": "s.ai.external.mcp.server_details", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "url", "type": "value", "optional": false, "route": { "kind": "input", "name": "url" } }, { "field": "bearer_token", "type": "value", "optional": true, "default": "", "route": { "kind": "input", "name": "bearer_token" } }, { "field": "connection_type", "type": "value", "optional": true, "default": "sse", "enum": ["sse", "stream"], "route": { "kind": "input", "name": "connection_type" } }] },
|
|
2008
2013
|
{ "name": "mvp:microservice_request", "factory": "s.microservice.request", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "host", "type": "value", "optional": false, "route": { "kind": "input", "name": "host" } }, { "field": "path", "type": "value", "optional": false, "route": { "kind": "input", "name": "path" } }, { "field": "method", "type": "value", "optional": true, "enum": ["GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "PATCH"], "route": { "kind": "input", "name": "method" } }, { "field": "params", "type": "value", "optional": true, "route": { "kind": "input", "name": "params" } }, { "field": "headers", "type": "value", "optional": false, "route": { "kind": "input", "name": "headers" } }, { "field": "timeout", "type": "value", "optional": true, "route": { "kind": "input", "name": "timeout" } }, { "field": "follow_location", "type": "value", "optional": true, "route": { "kind": "input", "name": "follow_location" } }] },
|
|
2009
|
-
{ "name": "mvp:object_entries", "factory": "s.object.entries", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional":
|
|
2010
|
-
{ "name": "mvp:object_keys", "factory": "s.object.keys", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional":
|
|
2011
|
-
{ "name": "mvp:object_values", "factory": "s.object.values", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional":
|
|
2012
|
-
{ "name": "mvp:precondition", "factory": "s.precondition", "rules": [{ "field": "expr", "type": "comparison", "optional":
|
|
2014
|
+
{ "name": "mvp:object_entries", "factory": "s.object.entries", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "object" } }] },
|
|
2015
|
+
{ "name": "mvp:object_keys", "factory": "s.object.keys", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "object" } }] },
|
|
2016
|
+
{ "name": "mvp:object_values", "factory": "s.object.values", "output": true, "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "object" } }] },
|
|
2017
|
+
{ "name": "mvp:precondition", "factory": "s.precondition", "rules": [{ "field": "expr", "type": "comparison", "optional": false, "route": { "kind": "context-compare", "path": "expr" } }, { "field": "error_type", "type": "string", "optional": true, "default": "standard", "route": { "kind": "context-plain", "path": "error_type" } }, { "field": "error", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "error" } }, { "field": "payload", "type": "value", "optional": true, "route": { "kind": "context-nest", "path": "payload" } }] },
|
|
2013
2018
|
{ "name": "mvp:rand", "factory": "s.security.random_number", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "min", "type": "value", "optional": true, "route": { "kind": "input", "name": "min" } }, { "field": "max", "type": "value", "optional": true, "route": { "kind": "input", "name": "max" } }] },
|
|
2014
2019
|
{ "name": "mvp:random_bytes", "factory": "s.security.random_bytes", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "length", "type": "value", "optional": true, "route": { "kind": "input", "name": "length" } }] },
|
|
2015
2020
|
{ "name": "mvp:redis_countlist", "factory": "s.redis.count", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "key", "type": "value", "optional": false, "route": { "kind": "input", "name": "key" } }] },
|
|
@@ -2034,35 +2039,35 @@ var GENERATED_SPECS = [
|
|
|
2034
2039
|
{ "name": "mvp:streaming_api_request", "factory": "s.stream.from_request", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "url", "type": "value", "optional": false, "route": { "kind": "input", "name": "url" } }, { "field": "method", "type": "value", "optional": true, "route": { "kind": "input", "name": "method" } }, { "field": "params", "type": "value", "optional": true, "route": { "kind": "input", "name": "params" } }, { "field": "headers", "type": "value", "optional": true, "route": { "kind": "input", "name": "headers" } }, { "field": "timeout", "type": "value", "optional": true, "route": { "kind": "input", "name": "timeout" } }, { "field": "follow_location", "type": "value", "optional": true, "route": { "kind": "input", "name": "follow_location" } }, { "field": "verify_host", "type": "value", "optional": true, "route": { "kind": "input", "name": "verify_host" } }, { "field": "verify_peer", "type": "value", "optional": true, "route": { "kind": "input", "name": "verify_peer" } }, { "field": "ca_certificate", "type": "value", "optional": true, "route": { "kind": "input", "name": "ca_certificate" } }, { "field": "certificate", "type": "value", "optional": true, "route": { "kind": "input", "name": "certificate" } }, { "field": "certificate_pass", "type": "value", "optional": true, "route": { "kind": "input", "name": "certificate_pass" } }, { "field": "private_key", "type": "value", "optional": true, "route": { "kind": "input", "name": "private_key" } }, { "field": "private_key_pass", "type": "value", "optional": true, "route": { "kind": "input", "name": "private_key_pass" } }] },
|
|
2035
2040
|
{ "name": "mvp:streaming_api_response", "factory": "s.api.stream", "rules": [{ "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2036
2041
|
{ "name": "mvp:template_string", "factory": "s.util.template_engine", "rules": [{ "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "input", "name": "template" } }] },
|
|
2037
|
-
{ "name": "mvp:test_expect_to_be_defined", "factory": "s.expect.to_be_defined", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2038
|
-
{ "name": "mvp:test_expect_to_be_empty", "factory": "s.expect.to_be_empty", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2039
|
-
{ "name": "mvp:test_expect_to_be_false", "factory": "s.expect.to_be_false", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2040
|
-
{ "name": "mvp:test_expect_to_be_greater_than", "factory": "s.expect.to_be_greater_than", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2041
|
-
{ "name": "mvp:test_expect_to_be_in_the_future", "factory": "s.expect.to_be_in_the_future", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2042
|
-
{ "name": "mvp:test_expect_to_be_in_the_past", "factory": "s.expect.to_be_in_the_past", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2043
|
-
{ "name": "mvp:test_expect_to_be_less_than", "factory": "s.expect.to_be_less_than", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2044
|
-
{ "name": "mvp:test_expect_to_be_null", "factory": "s.expect.to_be_null", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2045
|
-
{ "name": "mvp:test_expect_to_be_true", "factory": "s.expect.to_be_true", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2046
|
-
{ "name": "mvp:test_expect_to_be_within", "factory": "s.expect.to_be_within", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2047
|
-
{ "name": "mvp:test_expect_to_contain", "factory": "s.expect.to_contain", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2048
|
-
{ "name": "mvp:test_expect_to_end_with", "factory": "s.expect.to_end_with", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2049
|
-
{ "name": "mvp:test_expect_to_equal", "factory": "s.expect.to_equal", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2050
|
-
{ "name": "mvp:test_expect_to_match", "factory": "s.expect.to_match", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2051
|
-
{ "name": "mvp:test_expect_to_not_be_defined", "factory": "s.expect.to_not_be_defined", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2052
|
-
{ "name": "mvp:test_expect_to_not_be_null", "factory": "s.expect.to_not_be_null", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2053
|
-
{ "name": "mvp:test_expect_to_not_equal", "factory": "s.expect.to_not_equal", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2054
|
-
{ "name": "mvp:test_expect_to_start_with", "factory": "s.expect.to_start_with", "rules": [{ "field": "expr", "type": "value", "optional":
|
|
2055
|
-
{ "name": "mvp:text_append", "factory": "s.text.append", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2056
|
-
{ "name": "mvp:text_contains", "factory": "s.text.contains", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2057
|
-
{ "name": "mvp:text_ends_with", "factory": "s.text.ends_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2058
|
-
{ "name": "mvp:text_icontains", "factory": "s.text.icontains", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2059
|
-
{ "name": "mvp:text_iends_with", "factory": "s.text.iends_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2060
|
-
{ "name": "mvp:text_istarts_with", "factory": "s.text.istarts_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2061
|
-
{ "name": "mvp:text_ltrim", "factory": "s.text.ltrim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2062
|
-
{ "name": "mvp:text_prepend", "factory": "s.text.prepend", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2063
|
-
{ "name": "mvp:text_rtrim", "factory": "s.text.rtrim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2064
|
-
{ "name": "mvp:text_starts_with", "factory": "s.text.starts_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2065
|
-
{ "name": "mvp:text_trim", "factory": "s.text.trim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional":
|
|
2042
|
+
{ "name": "mvp:test_expect_to_be_defined", "factory": "s.expect.to_be_defined", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2043
|
+
{ "name": "mvp:test_expect_to_be_empty", "factory": "s.expect.to_be_empty", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2044
|
+
{ "name": "mvp:test_expect_to_be_false", "factory": "s.expect.to_be_false", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2045
|
+
{ "name": "mvp:test_expect_to_be_greater_than", "factory": "s.expect.to_be_greater_than", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2046
|
+
{ "name": "mvp:test_expect_to_be_in_the_future", "factory": "s.expect.to_be_in_the_future", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2047
|
+
{ "name": "mvp:test_expect_to_be_in_the_past", "factory": "s.expect.to_be_in_the_past", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2048
|
+
{ "name": "mvp:test_expect_to_be_less_than", "factory": "s.expect.to_be_less_than", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2049
|
+
{ "name": "mvp:test_expect_to_be_null", "factory": "s.expect.to_be_null", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2050
|
+
{ "name": "mvp:test_expect_to_be_true", "factory": "s.expect.to_be_true", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2051
|
+
{ "name": "mvp:test_expect_to_be_within", "factory": "s.expect.to_be_within", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "min", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }, { "field": "max", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value3" } }] },
|
|
2052
|
+
{ "name": "mvp:test_expect_to_contain", "factory": "s.expect.to_contain", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2053
|
+
{ "name": "mvp:test_expect_to_end_with", "factory": "s.expect.to_end_with", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2054
|
+
{ "name": "mvp:test_expect_to_equal", "factory": "s.expect.to_equal", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2055
|
+
{ "name": "mvp:test_expect_to_match", "factory": "s.expect.to_match", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2056
|
+
{ "name": "mvp:test_expect_to_not_be_defined", "factory": "s.expect.to_not_be_defined", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2057
|
+
{ "name": "mvp:test_expect_to_not_be_null", "factory": "s.expect.to_not_be_null", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }] },
|
|
2058
|
+
{ "name": "mvp:test_expect_to_not_equal", "factory": "s.expect.to_not_equal", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2059
|
+
{ "name": "mvp:test_expect_to_start_with", "factory": "s.expect.to_start_with", "rules": [{ "field": "expr", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-nest", "path": "value2" } }] },
|
|
2060
|
+
{ "name": "mvp:text_append", "factory": "s.text.append", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2061
|
+
{ "name": "mvp:text_contains", "factory": "s.text.contains", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2062
|
+
{ "name": "mvp:text_ends_with", "factory": "s.text.ends_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2063
|
+
{ "name": "mvp:text_icontains", "factory": "s.text.icontains", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2064
|
+
{ "name": "mvp:text_iends_with", "factory": "s.text.iends_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2065
|
+
{ "name": "mvp:text_istarts_with", "factory": "s.text.istarts_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2066
|
+
{ "name": "mvp:text_ltrim", "factory": "s.text.ltrim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2067
|
+
{ "name": "mvp:text_prepend", "factory": "s.text.prepend", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2068
|
+
{ "name": "mvp:text_rtrim", "factory": "s.text.rtrim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2069
|
+
{ "name": "mvp:text_starts_with", "factory": "s.text.starts_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2070
|
+
{ "name": "mvp:text_trim", "factory": "s.text.trim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": false, "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2066
2071
|
{ "name": "mvp:throw_error", "factory": "s.throw", "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
|
|
2067
2072
|
{ "name": "mvp:uuid4", "factory": "s.security.create_uuid", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }] },
|
|
2068
2073
|
{ "name": "mvp:vault_sign_url", "factory": "s.storage.sign_private_url", "rules": [{ "field": "as", "type": "string", "optional": true, "route": { "kind": "as" } }, { "field": "pathname", "type": "value", "optional": false, "route": { "kind": "input", "name": "pathname" } }, { "field": "ttl", "type": "value", "optional": true, "route": { "kind": "input", "name": "ttl" } }] },
|
|
@@ -2110,51 +2115,51 @@ var generated = {
|
|
|
2110
2115
|
array: {
|
|
2111
2116
|
difference: (
|
|
2112
2117
|
/** `mvp:array_difference` — fields: as, expr, value, by */
|
|
2113
|
-
(a
|
|
2118
|
+
(a) => fromSpec("mvp:array_difference", a)
|
|
2114
2119
|
),
|
|
2115
2120
|
every: (
|
|
2116
2121
|
/** `mvp:array_every` — fields: expr, as, if */
|
|
2117
|
-
(a
|
|
2122
|
+
(a) => fromSpec("mvp:array_every", a)
|
|
2118
2123
|
),
|
|
2119
2124
|
filter: (
|
|
2120
2125
|
/** `mvp:array_filter` — fields: expr, as, if */
|
|
2121
|
-
(a
|
|
2126
|
+
(a) => fromSpec("mvp:array_filter", a)
|
|
2122
2127
|
),
|
|
2123
2128
|
filter_count: (
|
|
2124
2129
|
/** `mvp:array_filter_count` — fields: expr, as, if */
|
|
2125
|
-
(a
|
|
2130
|
+
(a) => fromSpec("mvp:array_filter_count", a)
|
|
2126
2131
|
),
|
|
2127
2132
|
find: (
|
|
2128
2133
|
/** `mvp:array_find` — fields: expr, as, if */
|
|
2129
|
-
(a
|
|
2134
|
+
(a) => fromSpec("mvp:array_find", a)
|
|
2130
2135
|
),
|
|
2131
2136
|
find_index: (
|
|
2132
2137
|
/** `mvp:array_find_index` — fields: expr, as, if */
|
|
2133
|
-
(a
|
|
2138
|
+
(a) => fromSpec("mvp:array_find_index", a)
|
|
2134
2139
|
),
|
|
2135
2140
|
group_by: (
|
|
2136
2141
|
/** `mvp:array_group_by` — fields: as, expr, by */
|
|
2137
|
-
(a
|
|
2142
|
+
(a) => fromSpec("mvp:array_group_by", a)
|
|
2138
2143
|
),
|
|
2139
2144
|
has: (
|
|
2140
2145
|
/** `mvp:array_has` — fields: expr, as, if */
|
|
2141
|
-
(a
|
|
2146
|
+
(a) => fromSpec("mvp:array_has", a)
|
|
2142
2147
|
),
|
|
2143
2148
|
intersection: (
|
|
2144
2149
|
/** `mvp:array_intersection` — fields: as, expr, value, by */
|
|
2145
|
-
(a
|
|
2150
|
+
(a) => fromSpec("mvp:array_intersection", a)
|
|
2146
2151
|
),
|
|
2147
2152
|
merge: (
|
|
2148
2153
|
/** `mvp:array_merge` — fields: name, value */
|
|
2149
|
-
(a
|
|
2154
|
+
(a) => fromSpec("mvp:array_merge", a)
|
|
2150
2155
|
),
|
|
2151
2156
|
partition: (
|
|
2152
2157
|
/** `mvp:array_partition` — fields: expr, as, if */
|
|
2153
|
-
(a
|
|
2158
|
+
(a) => fromSpec("mvp:array_partition", a)
|
|
2154
2159
|
),
|
|
2155
2160
|
pop: (
|
|
2156
2161
|
/** `mvp:array_pop` — fields: name, as */
|
|
2157
|
-
(a
|
|
2162
|
+
(a) => fromSpec("mvp:array_pop", a)
|
|
2158
2163
|
),
|
|
2159
2164
|
push: (
|
|
2160
2165
|
/** `mvp:array_push` — fields: name, value */
|
|
@@ -2162,7 +2167,7 @@ var generated = {
|
|
|
2162
2167
|
),
|
|
2163
2168
|
shift: (
|
|
2164
2169
|
/** `mvp:array_shift` — fields: name, as */
|
|
2165
|
-
(a
|
|
2170
|
+
(a) => fromSpec("mvp:array_shift", a)
|
|
2166
2171
|
),
|
|
2167
2172
|
unshift: (
|
|
2168
2173
|
/** `mvp:array_unshift` — fields: name, value */
|
|
@@ -2170,7 +2175,7 @@ var generated = {
|
|
|
2170
2175
|
)
|
|
2171
2176
|
},
|
|
2172
2177
|
await: (
|
|
2173
|
-
/** `mvp:async_function_await` — fields: as, ids, timeout */
|
|
2178
|
+
/** `mvp:async_function_await` — fields: as, ids, timeout, terminate */
|
|
2174
2179
|
(a = {}) => fromSpec("mvp:async_function_await", a)
|
|
2175
2180
|
),
|
|
2176
2181
|
cloud: {
|
|
@@ -2330,75 +2335,75 @@ var generated = {
|
|
|
2330
2335
|
expect: {
|
|
2331
2336
|
to_be_defined: (
|
|
2332
2337
|
/** `mvp:test_expect_to_be_defined` — fields: expr */
|
|
2333
|
-
(a
|
|
2338
|
+
(a) => fromSpec("mvp:test_expect_to_be_defined", a)
|
|
2334
2339
|
),
|
|
2335
2340
|
to_be_empty: (
|
|
2336
2341
|
/** `mvp:test_expect_to_be_empty` — fields: expr */
|
|
2337
|
-
(a
|
|
2342
|
+
(a) => fromSpec("mvp:test_expect_to_be_empty", a)
|
|
2338
2343
|
),
|
|
2339
2344
|
to_be_false: (
|
|
2340
2345
|
/** `mvp:test_expect_to_be_false` — fields: expr */
|
|
2341
|
-
(a
|
|
2346
|
+
(a) => fromSpec("mvp:test_expect_to_be_false", a)
|
|
2342
2347
|
),
|
|
2343
2348
|
to_be_greater_than: (
|
|
2344
2349
|
/** `mvp:test_expect_to_be_greater_than` — fields: expr, value */
|
|
2345
|
-
(a
|
|
2350
|
+
(a) => fromSpec("mvp:test_expect_to_be_greater_than", a)
|
|
2346
2351
|
),
|
|
2347
2352
|
to_be_in_the_future: (
|
|
2348
2353
|
/** `mvp:test_expect_to_be_in_the_future` — fields: expr */
|
|
2349
|
-
(a
|
|
2354
|
+
(a) => fromSpec("mvp:test_expect_to_be_in_the_future", a)
|
|
2350
2355
|
),
|
|
2351
2356
|
to_be_in_the_past: (
|
|
2352
2357
|
/** `mvp:test_expect_to_be_in_the_past` — fields: expr */
|
|
2353
|
-
(a
|
|
2358
|
+
(a) => fromSpec("mvp:test_expect_to_be_in_the_past", a)
|
|
2354
2359
|
),
|
|
2355
2360
|
to_be_less_than: (
|
|
2356
2361
|
/** `mvp:test_expect_to_be_less_than` — fields: expr, value */
|
|
2357
|
-
(a
|
|
2362
|
+
(a) => fromSpec("mvp:test_expect_to_be_less_than", a)
|
|
2358
2363
|
),
|
|
2359
2364
|
to_be_null: (
|
|
2360
2365
|
/** `mvp:test_expect_to_be_null` — fields: expr */
|
|
2361
|
-
(a
|
|
2366
|
+
(a) => fromSpec("mvp:test_expect_to_be_null", a)
|
|
2362
2367
|
),
|
|
2363
2368
|
to_be_true: (
|
|
2364
2369
|
/** `mvp:test_expect_to_be_true` — fields: expr */
|
|
2365
|
-
(a
|
|
2370
|
+
(a) => fromSpec("mvp:test_expect_to_be_true", a)
|
|
2366
2371
|
),
|
|
2367
2372
|
to_be_within: (
|
|
2368
2373
|
/** `mvp:test_expect_to_be_within` — fields: expr, min, max */
|
|
2369
|
-
(a
|
|
2374
|
+
(a) => fromSpec("mvp:test_expect_to_be_within", a)
|
|
2370
2375
|
),
|
|
2371
2376
|
to_contain: (
|
|
2372
2377
|
/** `mvp:test_expect_to_contain` — fields: expr, value */
|
|
2373
|
-
(a
|
|
2378
|
+
(a) => fromSpec("mvp:test_expect_to_contain", a)
|
|
2374
2379
|
),
|
|
2375
2380
|
to_end_with: (
|
|
2376
2381
|
/** `mvp:test_expect_to_end_with` — fields: expr, value */
|
|
2377
|
-
(a
|
|
2382
|
+
(a) => fromSpec("mvp:test_expect_to_end_with", a)
|
|
2378
2383
|
),
|
|
2379
2384
|
to_equal: (
|
|
2380
2385
|
/** `mvp:test_expect_to_equal` — fields: expr, value */
|
|
2381
|
-
(a
|
|
2386
|
+
(a) => fromSpec("mvp:test_expect_to_equal", a)
|
|
2382
2387
|
),
|
|
2383
2388
|
to_match: (
|
|
2384
2389
|
/** `mvp:test_expect_to_match` — fields: expr, value */
|
|
2385
|
-
(a
|
|
2390
|
+
(a) => fromSpec("mvp:test_expect_to_match", a)
|
|
2386
2391
|
),
|
|
2387
2392
|
to_not_be_defined: (
|
|
2388
2393
|
/** `mvp:test_expect_to_not_be_defined` — fields: expr */
|
|
2389
|
-
(a
|
|
2394
|
+
(a) => fromSpec("mvp:test_expect_to_not_be_defined", a)
|
|
2390
2395
|
),
|
|
2391
2396
|
to_not_be_null: (
|
|
2392
2397
|
/** `mvp:test_expect_to_not_be_null` — fields: expr */
|
|
2393
|
-
(a
|
|
2398
|
+
(a) => fromSpec("mvp:test_expect_to_not_be_null", a)
|
|
2394
2399
|
),
|
|
2395
2400
|
to_not_equal: (
|
|
2396
2401
|
/** `mvp:test_expect_to_not_equal` — fields: expr, value */
|
|
2397
|
-
(a
|
|
2402
|
+
(a) => fromSpec("mvp:test_expect_to_not_equal", a)
|
|
2398
2403
|
),
|
|
2399
2404
|
to_start_with: (
|
|
2400
2405
|
/** `mvp:test_expect_to_start_with` — fields: expr, value */
|
|
2401
|
-
(a
|
|
2406
|
+
(a) => fromSpec("mvp:test_expect_to_start_with", a)
|
|
2402
2407
|
)
|
|
2403
2408
|
},
|
|
2404
2409
|
lambda: (
|
|
@@ -2470,20 +2475,20 @@ var generated = {
|
|
|
2470
2475
|
object: {
|
|
2471
2476
|
entries: (
|
|
2472
2477
|
/** `mvp:object_entries` — fields: as, value */
|
|
2473
|
-
(a
|
|
2478
|
+
(a) => fromSpec("mvp:object_entries", a)
|
|
2474
2479
|
),
|
|
2475
2480
|
keys: (
|
|
2476
2481
|
/** `mvp:object_keys` — fields: as, value */
|
|
2477
|
-
(a
|
|
2482
|
+
(a) => fromSpec("mvp:object_keys", a)
|
|
2478
2483
|
),
|
|
2479
2484
|
values: (
|
|
2480
2485
|
/** `mvp:object_values` — fields: as, value */
|
|
2481
|
-
(a
|
|
2486
|
+
(a) => fromSpec("mvp:object_values", a)
|
|
2482
2487
|
)
|
|
2483
2488
|
},
|
|
2484
2489
|
precondition: (
|
|
2485
2490
|
/** `mvp:precondition` — fields: expr, error_type, error, payload */
|
|
2486
|
-
(a
|
|
2491
|
+
(a) => fromSpec("mvp:precondition", a)
|
|
2487
2492
|
),
|
|
2488
2493
|
realtime: {
|
|
2489
2494
|
get_session: (
|
|
@@ -3060,6 +3065,134 @@ var READ_UNCONDITIONALLY = {
|
|
|
3060
3065
|
"mvp:zip_extract_file_resource": ["password"],
|
|
3061
3066
|
"mvp:zip_view_contents": ["password"]
|
|
3062
3067
|
};
|
|
3068
|
+
var CLASS_REQUIRED = {
|
|
3069
|
+
"mvp:lambda": ["code"],
|
|
3070
|
+
"mvp:api_request": ["url"],
|
|
3071
|
+
"mvp:streaming_api_request": ["url"],
|
|
3072
|
+
"mvp:connect_webflow_api_request": ["path"],
|
|
3073
|
+
// Keyed on the STORED name: this statement authors `tool` and stores
|
|
3074
|
+
// `tool_name`, and matching the authoring name is the mistake `findInput`
|
|
3075
|
+
// exists to make impossible.
|
|
3076
|
+
"mvp:mcp_call_tool": ["url", "tool_name"],
|
|
3077
|
+
"mvp:mcp_list_tools": ["url"],
|
|
3078
|
+
"mvp:mcp_server_details": ["url"],
|
|
3079
|
+
"mvp:crypto_encrypt": ["data", "key", "iv"],
|
|
3080
|
+
"mvp:crypto_decrypt": ["data", "key", "iv"],
|
|
3081
|
+
"mvp:crypto_jwe_encode3": ["key"],
|
|
3082
|
+
"mvp:crypto_jws_encode2": ["key"],
|
|
3083
|
+
"mvp:crypto_jwe_decode2": ["token", "key"],
|
|
3084
|
+
"mvp:crypto_jws_decode2": ["token", "key"],
|
|
3085
|
+
"mvp:datadog_log": ["message"],
|
|
3086
|
+
"mvp:datadog_metric": ["metric"],
|
|
3087
|
+
"mvp:check_pass": ["text_password", "hash_password"],
|
|
3088
|
+
"mvp:calculate_geo_distance": ["latitude_1", "longitude_1", "latitude_2", "longitude_2"],
|
|
3089
|
+
// The search family. See "The search family" above for what these rest on and
|
|
3090
|
+
// why eight sibling fields are deliberately NOT here.
|
|
3091
|
+
"mvp:amazon_opensearch_request": ["key_id", "access_key", "region", "url", "query"],
|
|
3092
|
+
"mvp:elasticsearch_request": ["key_id", "access_key", "url", "payload"],
|
|
3093
|
+
"mvp:amazon_opensearch_query": ["key_id", "access_key", "region", "base_url", "index", "payload"],
|
|
3094
|
+
"mvp:elasticsearch_query": ["key_id", "access_key", "base_url", "index", "payload"],
|
|
3095
|
+
"mvp:amazon_opensearch_document": ["key_id", "access_key", "region", "index", "doc_id", "doc"],
|
|
3096
|
+
// ## Context-routed, 2026-10-17
|
|
3097
|
+
//
|
|
3098
|
+
// The first CONTEXT corrections: `spec-drift` compared context routes for
|
|
3099
|
+
// the first time that day. Each one meets the same bar as the input ones above:
|
|
3100
|
+
// 1. Class: declared bare, and read without a fallback.
|
|
3101
|
+
// 2. Engine history: introduced bare and never loosened (`name` since 2020,
|
|
3102
|
+
// `precondition.expr` since 2020, the array/object fields since their
|
|
3103
|
+
// classes existed; a 2026 refactor into shared base classes moved them
|
|
3104
|
+
// verbatim).
|
|
3105
|
+
// 3. Stored bytes: a 187-workspace sweep found NO real instance omitting any
|
|
3106
|
+
// of them. Every omission came from editor placeholders: one dev workspace
|
|
3107
|
+
// storing these statements with `context: {}`, and two all-empty stubs.
|
|
3108
|
+
// And measured live (`scripts/probe-absent-context-field.ts`): absent `name`
|
|
3109
|
+
// is `500 Missing var entry`, absent `array`/`left`/`right`/`collection` is
|
|
3110
|
+
// `500 Unable to locate input`, absent condition is `500 Missing conditional
|
|
3111
|
+
// statements`, and absent `object` returns `[]` at HTTP 200, a silent wrong
|
|
3112
|
+
// answer.
|
|
3113
|
+
//
|
|
3114
|
+
// The update-var family: the variable to update.
|
|
3115
|
+
...Object.fromEntries(
|
|
3116
|
+
[
|
|
3117
|
+
"math_add",
|
|
3118
|
+
"math_sub",
|
|
3119
|
+
"math_mul",
|
|
3120
|
+
"math_div",
|
|
3121
|
+
"math_mod",
|
|
3122
|
+
"text_append",
|
|
3123
|
+
"text_prepend",
|
|
3124
|
+
"text_trim",
|
|
3125
|
+
"text_ltrim",
|
|
3126
|
+
"text_rtrim",
|
|
3127
|
+
"text_contains",
|
|
3128
|
+
"text_icontains",
|
|
3129
|
+
"text_starts_with",
|
|
3130
|
+
"text_istarts_with",
|
|
3131
|
+
"text_ends_with",
|
|
3132
|
+
"text_iends_with",
|
|
3133
|
+
"array_push",
|
|
3134
|
+
"array_pop",
|
|
3135
|
+
"array_shift",
|
|
3136
|
+
"array_unshift",
|
|
3137
|
+
"array_merge",
|
|
3138
|
+
"bitwise_and",
|
|
3139
|
+
"bitwise_or",
|
|
3140
|
+
"bitwise_xor"
|
|
3141
|
+
].map((n) => [`mvp:${n}`, ["name"]])
|
|
3142
|
+
),
|
|
3143
|
+
// The array predicates: the list (authored `expr`) and the condition (authored `if`).
|
|
3144
|
+
...Object.fromEntries(
|
|
3145
|
+
["array_find", "array_filter", "array_every", "array_has", "array_partition", "array_find_index", "array_filter_count"].map(
|
|
3146
|
+
(n) => [`mvp:${n}`, ["array", "expr"]]
|
|
3147
|
+
)
|
|
3148
|
+
),
|
|
3149
|
+
// `value` too: every sibling update-var spec already requires it, and this one
|
|
3150
|
+
// alone did not. Absent is `500 Variable is not an array.` (live).
|
|
3151
|
+
"mvp:array_merge": ["name", "value"],
|
|
3152
|
+
"mvp:array_difference": ["left", "right"],
|
|
3153
|
+
"mvp:array_intersection": ["left", "right"],
|
|
3154
|
+
"mvp:array_group_by": ["collection"],
|
|
3155
|
+
"mvp:object_keys": ["object"],
|
|
3156
|
+
"mvp:object_values": ["object"],
|
|
3157
|
+
"mvp:object_entries": ["object"],
|
|
3158
|
+
"mvp:precondition": ["expr"],
|
|
3159
|
+
// ## The `test_expect_*` operands, 2026-10-17
|
|
3160
|
+
//
|
|
3161
|
+
// The class builds its schema in a loop (`value1` … `valueN`), which
|
|
3162
|
+
// `spec-drift` could not read until that day. The corpus is DARK on the family
|
|
3163
|
+
// (no stored instance in 187 workspaces), so this rests on the class and the
|
|
3164
|
+
// runtime. Live (`scripts/probe-absent-expect-operand.ts`): an absent operand
|
|
3165
|
+
// is SUBSTITUTED with `0`, the declared `tag?=const:int` default, and the
|
|
3166
|
+
// assertion runs against it. 4 of 6 deliberately FAILING assertions then
|
|
3167
|
+
// PASSED (`to_be_null`, `to_equal` either side, `to_be_greater_than`). An
|
|
3168
|
+
// assertion that passes on an operand nobody wrote is the worst answer a
|
|
3169
|
+
// test can give.
|
|
3170
|
+
...Object.fromEntries(
|
|
3171
|
+
[
|
|
3172
|
+
["to_be_defined", 1],
|
|
3173
|
+
["to_be_empty", 1],
|
|
3174
|
+
["to_be_false", 1],
|
|
3175
|
+
["to_be_true", 1],
|
|
3176
|
+
["to_be_null", 1],
|
|
3177
|
+
["to_not_be_null", 1],
|
|
3178
|
+
["to_not_be_defined", 1],
|
|
3179
|
+
["to_be_in_the_future", 1],
|
|
3180
|
+
["to_be_in_the_past", 1],
|
|
3181
|
+
["to_equal", 2],
|
|
3182
|
+
["to_not_equal", 2],
|
|
3183
|
+
["to_be_greater_than", 2],
|
|
3184
|
+
["to_be_less_than", 2],
|
|
3185
|
+
["to_contain", 2],
|
|
3186
|
+
["to_start_with", 2],
|
|
3187
|
+
["to_end_with", 2],
|
|
3188
|
+
["to_match", 2],
|
|
3189
|
+
["to_be_within", 3]
|
|
3190
|
+
].map(([n, count]) => [
|
|
3191
|
+
`mvp:test_expect_${n}`,
|
|
3192
|
+
Array.from({ length: count }, (_, i) => `value${i + 1}`)
|
|
3193
|
+
])
|
|
3194
|
+
)
|
|
3195
|
+
};
|
|
3063
3196
|
var ADJUDICATED_ORDER = {
|
|
3064
3197
|
"mvp:send_email": "the class declares `service_provider` before `api_key`; upstream's transform and all 12 stored instances in the 177-workspace corpus lead with `api_key`. `input[]` binds by name, so the order is cosmetic to execution and the stored order is the one worth reproducing."
|
|
3065
3198
|
};
|
|
@@ -3070,6 +3203,65 @@ var SEARCH_FAMILY = {
|
|
|
3070
3203
|
"mvp:amazon_opensearch_query": ["auth_type", "key_id", "access_key", "region", "base_url", "index", "payload", "size", "from", "included_fields[]", "return_type", "expression[]", "sort[]"],
|
|
3071
3204
|
"mvp:amazon_opensearch_document": ["auth_type", "key_id", "access_key", "region", "base_url", "method", "index", "doc_id", "doc"]
|
|
3072
3205
|
};
|
|
3206
|
+
var ADJUDICATED_OPTIONAL = {
|
|
3207
|
+
"mvp:api_request": {
|
|
3208
|
+
headers: "a bare LIST (`headers[]`) \u2014 a list's absent state is the empty list. 146 of 147 stored instances carry it EMPTY and one omits it, so requiring it would refuse the call every real workspace already makes"
|
|
3209
|
+
},
|
|
3210
|
+
"mvp:streaming_api_request": {
|
|
3211
|
+
headers: "the same `headers[]` list, inherited from the same declaration as `api_request`'s"
|
|
3212
|
+
},
|
|
3213
|
+
"mvp:generate_pass": {
|
|
3214
|
+
require_symbol: "three sibling flags of the same kind \u2014 `require_lowercase`, `require_uppercase`, `require_digit` \u2014 all declare `?=true` and this one does not. Four booleans, three defaulted: the shape of an upstream oversight, not a fourth flag the caller must supply",
|
|
3215
|
+
symbol_whitelist: "declared bare beside `require_symbol` and stored EMPTY in both corpus instances, so the engine supplies its own symbol set. Requiring it would make an author invent one to generate a password"
|
|
3216
|
+
},
|
|
3217
|
+
"mvp:elasticsearch_query": {
|
|
3218
|
+
expression: "a bare LIST (`expression[]`) \u2014 absent means no filter, not a missing argument",
|
|
3219
|
+
sort: "a bare LIST (`sort[]`) \u2014 absent means unsorted",
|
|
3220
|
+
included_fields: "a bare LIST (`included_fields[]`) \u2014 absent means all fields",
|
|
3221
|
+
from: "the second half of a paging pair whose first half declares `size?=null`. One of the two got a default and the other did not; page-from-zero is the meaning of absent"
|
|
3222
|
+
},
|
|
3223
|
+
"mvp:amazon_opensearch_query": {
|
|
3224
|
+
expression: "a bare LIST (`expression[]`) \u2014 absent means no filter, not a missing argument",
|
|
3225
|
+
sort: "a bare LIST (`sort[]`) \u2014 absent means unsorted",
|
|
3226
|
+
included_fields: "a bare LIST (`included_fields[]`) \u2014 absent means all fields",
|
|
3227
|
+
from: "the same `size?=null` / `from` paging pair as the Elasticsearch surface"
|
|
3228
|
+
},
|
|
3229
|
+
// Context-routed, 2026-10-17: the half of that day's findings that did NOT
|
|
3230
|
+
// meet the bar (see the context block of CLASS_REQUIRED).
|
|
3231
|
+
...Object.fromEntries(
|
|
3232
|
+
["array_difference", "array_intersection", "array_group_by"].map((n) => [
|
|
3233
|
+
`mvp:${n}`,
|
|
3234
|
+
{
|
|
3235
|
+
transform_value: 'every member of the declared block carries a default (`value?="$this"`, `tag?=var`), so absent is the identity transform: the same reading the hand-authored `array_map` / `array_union` audit records'
|
|
3236
|
+
}
|
|
3237
|
+
])
|
|
3238
|
+
),
|
|
3239
|
+
"mvp:precondition": {
|
|
3240
|
+
error: 'an empty or absent error falls back to the fixed message "Precondition failed." (live: `scripts/probe-absent-context-field.ts`). 12 of 1093 real instances omit it and 22 store it empty',
|
|
3241
|
+
payload: "read only once the condition has failed, and absent attaches no payload. 1068 of 1093 real instances omit it"
|
|
3242
|
+
},
|
|
3243
|
+
"mvp:throw_error": {
|
|
3244
|
+
name: 'read as `?? ""`: the error code is optional. 2 of 9 real instances store it empty'
|
|
3245
|
+
},
|
|
3246
|
+
...Object.fromEntries(
|
|
3247
|
+
["create_image", "create_audio", "create_video", "create_attachment"].map((n) => [
|
|
3248
|
+
`mvp:${n}`,
|
|
3249
|
+
{
|
|
3250
|
+
filename: "read inside a try/catch, and an empty name falls back to the uploaded file's own. 49 of 53 real `create_image` instances omit it"
|
|
3251
|
+
}
|
|
3252
|
+
])
|
|
3253
|
+
),
|
|
3254
|
+
...Object.fromEntries(
|
|
3255
|
+
["zip_add_file_resource", "zip_delete_file_resource", "zip_extract_file_resource", "zip_view_contents"].map((n) => [
|
|
3256
|
+
`mvp:${n}`,
|
|
3257
|
+
{ password: "passed through a default-password helper: absent means an unencrypted archive" }
|
|
3258
|
+
])
|
|
3259
|
+
),
|
|
3260
|
+
"mvp:zip_add_file_resource": {
|
|
3261
|
+
password: "passed through a default-password helper: absent means an unencrypted archive",
|
|
3262
|
+
password_encryption: "passed through the matching default helper, and only meaningful beside a password. Both are already filled empty when absent (READ_UNCONDITIONALLY)"
|
|
3263
|
+
}
|
|
3264
|
+
};
|
|
3073
3265
|
var EDITOR_INDEX_MAP = "the EDITOR writes the bytes, and its shared query component carries a per-platform positional index map that the engine class does not follow; the editor's order is the one every stored statement has";
|
|
3074
3266
|
var SEARCH_FAMILY_ORDER_REASON = {
|
|
3075
3267
|
"mvp:amazon_opensearch_query": `${EDITOR_INDEX_MAP} \u2014 it stores \`expression\`/\`sort\` last, where the class declares them mid-schema`,
|
|
@@ -8247,4 +8439,4 @@ export {
|
|
|
8247
8439
|
checkAgentArgPlaceholders,
|
|
8248
8440
|
checkAgentToolsOff
|
|
8249
8441
|
};
|
|
8250
|
-
//# sourceMappingURL=chunk-
|
|
8442
|
+
//# sourceMappingURL=chunk-SH4RY6QX.js.map
|