@xano/sdk 1.0.14 → 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.
Files changed (141) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/.build-fingerprint +1 -1
  3. package/dist/{agent-file-refresh-3J6YRVFL.js → agent-file-refresh-ZRGNOA6Q.js} +4 -4
  4. package/dist/{agent-skill-command-VWDMQWCT.js → agent-skill-command-DV26SDA2.js} +23 -23
  5. package/dist/{backend-dir-ISP7RVF2.js → backend-dir-NTMXWE5R.js} +4 -4
  6. package/dist/bin.js +23 -23
  7. package/dist/{branch-commands-75IYFTBS.js → branch-commands-4PJEBNRK.js} +9 -9
  8. package/dist/{chunk-DERQSEB5.js → chunk-3GZMP7II.js} +3 -3
  9. package/dist/{chunk-7F3V6CFP.js → chunk-5SJQAJLF.js} +1 -1
  10. package/dist/{chunk-LJZIBT75.js → chunk-5SKWGCAJ.js} +2 -2
  11. package/dist/{chunk-Z3DQ7ULY.js → chunk-66ZU2CD5.js} +4 -4
  12. package/dist/{chunk-6ILHYSLR.js → chunk-6EFXPTHT.js} +3 -3
  13. package/dist/{chunk-L34DM6QB.js → chunk-74OPNM2Z.js} +2 -2
  14. package/dist/{chunk-BSGU4HS6.js → chunk-7AKH4QDJ.js} +30 -30
  15. package/dist/{chunk-P4OWRYE7.js → chunk-7ZQ73AHJ.js} +18 -18
  16. package/dist/{chunk-LPQZICYN.js → chunk-A2N2C2WD.js} +3 -3
  17. package/dist/{chunk-MAXDJZQR.js → chunk-AE5CRAKS.js} +2 -2
  18. package/dist/{chunk-B7CPSWQX.js → chunk-ASQX477B.js} +2 -2
  19. package/dist/{chunk-FBSGFPZ4.js → chunk-AXMUYBWQ.js} +2 -2
  20. package/dist/{chunk-IWJ6GFST.js → chunk-B6AFJVG4.js} +2 -2
  21. package/dist/{chunk-5TWLVFYB.js → chunk-CJGLAQRD.js} +2 -2
  22. package/dist/{chunk-2KOB4QPW.js → chunk-DH6O5NQU.js} +6 -6
  23. package/dist/{chunk-IHL2O7VY.js → chunk-FKQX6KU7.js} +2 -1
  24. package/dist/{chunk-2FDHIBEU.js → chunk-FOBVJ2UR.js} +2 -2
  25. package/dist/{chunk-KDEU5FUJ.js → chunk-FXZEZAV2.js} +2 -2
  26. package/dist/{chunk-HK554MDD.js → chunk-G4WRZU5T.js} +2 -2
  27. package/dist/{chunk-MTBKTGZT.js → chunk-GDJCWQIK.js} +2 -2
  28. package/dist/{chunk-YFQCDLCQ.js → chunk-GIQIMWTK.js} +7 -7
  29. package/dist/{chunk-QJ25N4W6.js → chunk-HCNIB3EC.js} +2 -2
  30. package/dist/{chunk-LB76VK6D.js → chunk-JAYHFXWH.js} +2 -2
  31. package/dist/{chunk-ZMJRAMLA.js → chunk-JWASCOHO.js} +4 -4
  32. package/dist/{chunk-VBSCWV5H.js → chunk-K6SWZ6H4.js} +31 -31
  33. package/dist/{chunk-Z4BQPABS.js → chunk-M7O3T7IM.js} +2 -2
  34. package/dist/{chunk-DLDYQNGP.js → chunk-MGG4CHO4.js} +2 -2
  35. package/dist/{chunk-HKI5Y5KW.js → chunk-N72XNQNJ.js} +2 -2
  36. package/dist/{chunk-L4WG4BKJ.js → chunk-NNI5R6V6.js} +42 -42
  37. package/dist/{chunk-6LJS4M6P.js → chunk-NPYYDTXS.js} +3 -3
  38. package/dist/{chunk-YL3WVBR5.js → chunk-OZWAITII.js} +2 -2
  39. package/dist/{chunk-EYVIUX2T.js → chunk-P7GKTV7N.js} +10 -10
  40. package/dist/{chunk-J3XLCYTQ.js → chunk-QW7NGUYW.js} +65 -65
  41. package/dist/{chunk-RPBB7P4Q.js → chunk-R3GPRNBT.js} +2 -2
  42. package/dist/{chunk-GOKRKTCX.js → chunk-RBTZEHXF.js} +2 -2
  43. package/dist/{chunk-RV2BDU7V.js → chunk-RXNMZM6H.js} +2 -2
  44. package/dist/{chunk-HINRE3UM.js → chunk-SH4RY6QX.js} +290 -98
  45. package/dist/{chunk-CB67GIR3.js → chunk-SHHXLI2K.js} +4 -4
  46. package/dist/{chunk-HMYJOQXT.js → chunk-SL55XKVL.js} +14 -14
  47. package/dist/{chunk-XCFQLP6G.js → chunk-SXMZNSQ6.js} +2 -2
  48. package/dist/{chunk-3SZ7QRYA.js → chunk-TT6LN55R.js} +3 -3
  49. package/dist/{chunk-UQ2OD7D4.js → chunk-TXFOQZUQ.js} +3 -3
  50. package/dist/{chunk-SAEIVQLP.js → chunk-UNFQN3TT.js} +2 -2
  51. package/dist/{chunk-OLQN4Z5R.js → chunk-UVHSMANV.js} +20 -20
  52. package/dist/{chunk-QX5XQEYB.js → chunk-V7WCTXEH.js} +2 -2
  53. package/dist/{chunk-NOW522B4.js → chunk-VUWR5YLE.js} +7 -7
  54. package/dist/{chunk-LW7TOIS7.js → chunk-VXHXSGPU.js} +2 -2
  55. package/dist/{chunk-YTQYP7UJ.js → chunk-WXKSB2N3.js} +3 -3
  56. package/dist/{chunk-NUZXSIEA.js → chunk-XLP4CNSF.js} +2 -2
  57. package/dist/{chunk-SUKO4SZG.js → chunk-YCKKL5PD.js} +2 -2
  58. package/dist/{chunk-MYIIBV6A.js → chunk-ZC6H2ERE.js} +2 -2
  59. package/dist/{chunk-RDZBXTZ3.js → chunk-ZDVVIJPU.js} +2 -2
  60. package/dist/{chunk-J62TYONQ.js → chunk-ZF2CBXT5.js} +3 -3
  61. package/dist/{chunk-N6LGLNAC.js → chunk-ZPJXWMHK.js} +2 -2
  62. package/dist/{chunk-QKHNJ7LE.js → chunk-ZYECXDVV.js} +4 -4
  63. package/dist/cli.js +22 -22
  64. package/dist/{codegen-command-JWOW6HE5.js → codegen-command-RDD4GL35.js} +35 -35
  65. package/dist/codegen.js +2 -2
  66. package/dist/{deploy-command-WESYWFJN.js → deploy-command-BYAZZF37.js} +26 -26
  67. package/dist/{deploy-source-ZQQNMDFX.js → deploy-source-QCPZWNJO.js} +7 -7
  68. package/dist/{dev-env-sync-4XJT7WOT.js → dev-env-sync-6MHK3UHC.js} +23 -23
  69. package/dist/{env-example-refresh-4V2OCDJE.js → env-example-refresh-MQWHY7ZS.js} +36 -36
  70. package/dist/{env-pull-command-SK5FS477.js → env-pull-command-KUIEKBTM.js} +18 -18
  71. package/dist/{env-target-TEFSYACA.js → env-target-Y77RLRS5.js} +2 -2
  72. package/dist/{env-var-command-IJHKA2WJ.js → env-var-command-BZWJD75C.js} +13 -13
  73. package/dist/{ephemeral-command-WCO5J4SN.js → ephemeral-command-SYKDPALW.js} +19 -19
  74. package/dist/{generate-command-3WCOUOEQ.js → generate-command-CSQDQZSW.js} +39 -39
  75. package/dist/{gitignore-WYS3GMOX.js → gitignore-OQGYM7DO.js} +6 -6
  76. package/dist/{guards-PPIBIMFZ.js → guards-JUYBDLZY.js} +6 -6
  77. package/dist/{impersonate-command-UMYVQTCG.js → impersonate-command-HSFCZBV6.js} +9 -9
  78. package/dist/index.d.ts +105 -109
  79. package/dist/index.js +11 -11
  80. package/dist/{init-command-UR5MSXIH.js → init-command-6Z7QNVDY.js} +26 -26
  81. package/dist/{init-modules-7KALFI5C.js → init-modules-BL2SR5RK.js} +2 -2
  82. package/dist/internal.d.ts +2 -2
  83. package/dist/internal.js +10 -10
  84. package/dist/{keep-data-merge-OVHCIEBG.js → keep-data-merge-SHF75FC7.js} +13 -13
  85. package/dist/{landing-record-AIHNW4AZ.js → landing-record-7EOLEKH3.js} +5 -5
  86. package/dist/{live-diff-UMSOGPX3.js → live-diff-M2OLXKM6.js} +6 -6
  87. package/dist/{local-engine-choice-XDGTATKJ.js → local-engine-choice-TOC3UYZZ.js} +8 -8
  88. package/dist/{local-engine-command-VQWNQ7UK.js → local-engine-command-6KSRDZBR.js} +9 -9
  89. package/dist/{local-engine-mcp-command-AIMNMXQG.js → local-engine-mcp-command-XTP3EATV.js} +9 -9
  90. package/dist/{lock-commands-H3YV2D6M.js → lock-commands-437P6BHY.js} +23 -23
  91. package/dist/{login-command-NMM3JNDZ.js → login-command-BNRDAVFV.js} +9 -9
  92. package/dist/{logout-command-7DYC6G32.js → logout-command-FCGCHB7Y.js} +3 -3
  93. package/dist/{loop-DJNIHC7O.js → loop-WOAEXMTC.js} +6 -6
  94. package/dist/{marketplace-command-UCSHDZGO.js → marketplace-command-SUBJZPJV.js} +13 -13
  95. package/dist/{meta-client-CD3TXQP6.js → meta-client-AYJS3RQ3.js} +2 -2
  96. package/dist/node.d.ts +2 -2
  97. package/dist/node.js +27 -27
  98. package/dist/{operation-outcome-2ONIIDRU.js → operation-outcome-ORQPVJKB.js} +4 -4
  99. package/dist/{output-target-67LHZKCO.js → output-target-KNHHNDM3.js} +7 -7
  100. package/dist/{plan-disclosure-T7DF4SRJ.js → plan-disclosure-4DUFRGCP.js} +7 -7
  101. package/dist/{preflight-command-TJ7FURXB.js → preflight-command-32GFVKSN.js} +32 -32
  102. package/dist/{profile-command-LDPLTJEJ.js → profile-command-U2XTKOMF.js} +10 -10
  103. package/dist/{promote-command-RURHOLNR.js → promote-command-OO56IZBT.js} +44 -44
  104. package/dist/{publish-command-IIRN6NWN.js → publish-command-5ZVZ6IYT.js} +26 -26
  105. package/dist/{pull-command-ITO76ENU.js → pull-command-LT5PCEIW.js} +37 -37
  106. package/dist/{release-command-CVGIUD4M.js → release-command-RBUOXIH7.js} +32 -32
  107. package/dist/{release-ns-command-YLCQPVH3.js → release-ns-command-LDN5DOKQ.js} +43 -43
  108. package/dist/{routes-manifest-R3TQRB24.js → routes-manifest-BMAOL6WN.js} +6 -6
  109. package/dist/{routes-manifest-file-GYNYFKAH.js → routes-manifest-file-MPOVKD6N.js} +8 -8
  110. package/dist/{secrets-file-PCNAFXNV.js → secrets-file-7QM3ORGX.js} +5 -5
  111. package/dist/{secrets-fill-command-G7NQMRXU.js → secrets-fill-command-OZ537VOD.js} +25 -25
  112. package/dist/{seed-4CD55LB4.js → seed-ATGBOEJP.js} +5 -5
  113. package/dist/{source-resolve-U4SJR7ZA.js → source-resolve-QYSWA3QR.js} +3 -3
  114. package/dist/{status-command-CD72PXIT.js → status-command-IEB4K7ME.js} +12 -12
  115. package/dist/{store-BM7SQcUt.d.ts → store-DspGMsFY.d.ts} +112 -118
  116. package/dist/{sync-baseline-BJDKG4F2.js → sync-baseline-IB7MABZO.js} +7 -7
  117. package/dist/{sync-contributions-XK6LHISZ.js → sync-contributions-DLV5JZUK.js} +2 -2
  118. package/dist/{table-WPRAM4VW.js → table-TFD4ZQXA.js} +5 -5
  119. package/dist/{tables-command-NMTKR52H.js → tables-command-IMCVPUFY.js} +14 -14
  120. package/dist/{tenant-command-XQAWT46C.js → tenant-command-77KG76MU.js} +50 -50
  121. package/dist/{test-command-W4AD4KT4.js → test-command-NSPU4RUO.js} +10 -10
  122. package/dist/{token-P3VQ6ITJ.js → token-BDHD7GU3.js} +2 -2
  123. package/dist/{toolchain-hooks-UAJBPSTC.js → toolchain-hooks-QHJRDCRW.js} +7 -7
  124. package/dist/{toolchain-modules-S3MPHCUI.js → toolchain-modules-LY7BMYG6.js} +2 -2
  125. package/dist/{tracked-backend-WWEPNUD5.js → tracked-backend-BIR7YJCE.js} +9 -9
  126. package/dist/{update-check-O7QC5TBB.js → update-check-JDARCXAX.js} +24 -24
  127. package/dist/{upgrade-command-J6LRNHYF.js → upgrade-command-YCADQCIA.js} +26 -26
  128. package/dist/{whoami-command-KWRP2CII.js → whoami-command-IZCTUPM4.js} +4 -4
  129. package/dist/{workspace-3YNK4XO4.js → workspace-TK52V7WO.js} +2 -2
  130. package/dist/{workspace-binding-TTDNXHO5.js → workspace-binding-3UT6PP4B.js} +3 -3
  131. package/dist/{workspace-command-W4ANGLCZ.js → workspace-command-46OCB6XT.js} +49 -49
  132. package/dist/{workspace-env-6LJGCTZA.js → workspace-env-PVPOWFNZ.js} +5 -5
  133. package/dist/{xano-Z3SRHYOR.js → xano-EOUVXNQX.js} +7 -7
  134. package/dist/{xanosdk-import-PNNMZ4SF.js → xanosdk-import-XXJT365U.js} +2 -2
  135. package/dist/{xanosdk-project-YW3BQY2E.js → xanosdk-project-CJKRLQ6U.js} +5 -5
  136. package/llms/statements-catalog.md +57 -57
  137. package/llms-full.txt +58 -58
  138. package/llms.txt +1 -1
  139. package/manifest.json +82 -152
  140. package/package.json +1 -1
  141. package/skills/xano-backend/SKILL.md +2 -2
@@ -11,7 +11,7 @@ import {
11
11
  assertCanonical,
12
12
  buildMiddlewareBlock,
13
13
  encodeContainerHistory
14
- } from "./chunk-6ILHYSLR.js";
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-UQ2OD7D4.js";
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-L34DM6QB.js";
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-IHL2O7VY.js";
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": true, "default": "null", "route": { "kind": "context-nest", "path": "left" } }, { "field": "value", "type": "value", "optional": true, "default": "[]", "route": { "kind": "context-nest", "path": "right" } }, { "field": "by", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "transform_value" } }] },
1929
- { "name": "mvp:array_every", "factory": "s.array.every", "output": true, "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": true, "default": "null", "route": { "kind": "context-compare", "path": "expr" } }] },
1930
- { "name": "mvp:array_filter", "factory": "s.array.filter", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": true, "default": "null", "route": { "kind": "context-compare", "path": "expr" } }] },
1931
- { "name": "mvp:array_filter_count", "factory": "s.array.filter_count", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": true, "default": "null", "route": { "kind": "context-compare", "path": "expr" } }] },
1932
- { "name": "mvp:array_find", "factory": "s.array.find", "output": true, "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": true, "default": "null", "route": { "kind": "context-compare", "path": "expr" } }] },
1933
- { "name": "mvp:array_find_index", "factory": "s.array.find_index", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": true, "default": "null", "route": { "kind": "context-compare", "path": "expr" } }] },
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": true, "default": "null", "route": { "kind": "context-nest", "path": "collection" } }, { "field": "by", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "transform_value" } }] },
1935
- { "name": "mvp:array_has", "factory": "s.array.has", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": true, "default": "null", "route": { "kind": "context-compare", "path": "expr" } }] },
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": true, "default": "null", "route": { "kind": "context-nest", "path": "left" } }, { "field": "value", "type": "value", "optional": true, "default": "[]", "route": { "kind": "context-nest", "path": "right" } }, { "field": "by", "type": "value", "optional": true, "route": { "kind": "context-nest", "path": "transform_value" } }] },
1937
- { "name": "mvp:array_merge", "factory": "s.array.merge", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": true, "route": { "kind": "context-spread" } }] },
1938
- { "name": "mvp:array_partition", "factory": "s.array.partition", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "null", "route": { "kind": "context-nest", "path": "array" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }, { "field": "if", "type": "comparison", "optional": true, "default": "null", "route": { "kind": "context-compare", "path": "expr" } }] },
1939
- { "name": "mvp:array_pop", "factory": "s.array.pop", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }] },
1940
- { "name": "mvp:array_push", "factory": "s.array.push", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
1941
- { "name": "mvp:array_shift", "factory": "s.array.shift", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "as", "type": "string", "optional": true, "default": "", "route": { "kind": "as" } }] },
1942
- { "name": "mvp:array_unshift", "factory": "s.array.unshift", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
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": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
1951
- { "name": "mvp:bitwise_or", "factory": "s.math.bitwise.or", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
1952
- { "name": "mvp:bitwise_xor", "factory": "s.math.bitwise.xor", "argNameIsVar": true, "output": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
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": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
1997
- { "name": "mvp:math_div", "factory": "s.math.div", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
1998
- { "name": "mvp:math_mod", "factory": "s.math.mod", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
1999
- { "name": "mvp:math_mul", "factory": "s.math.mul", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
2000
- { "name": "mvp:math_sub", "factory": "s.math.sub", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
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": true, "default": "", "route": { "kind": "context-nest", "path": "object" } }] },
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": true, "default": "", "route": { "kind": "context-nest", "path": "object" } }] },
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": true, "default": "", "route": { "kind": "context-nest", "path": "object" } }] },
2012
- { "name": "mvp:precondition", "factory": "s.precondition", "rules": [{ "field": "expr", "type": "comparison", "optional": true, "default": "null", "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" } }] },
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": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2038
- { "name": "mvp:test_expect_to_be_empty", "factory": "s.expect.to_be_empty", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2039
- { "name": "mvp:test_expect_to_be_false", "factory": "s.expect.to_be_false", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2040
- { "name": "mvp:test_expect_to_be_greater_than", "factory": "s.expect.to_be_greater_than", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2041
- { "name": "mvp:test_expect_to_be_in_the_future", "factory": "s.expect.to_be_in_the_future", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2042
- { "name": "mvp:test_expect_to_be_in_the_past", "factory": "s.expect.to_be_in_the_past", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2043
- { "name": "mvp:test_expect_to_be_less_than", "factory": "s.expect.to_be_less_than", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2044
- { "name": "mvp:test_expect_to_be_null", "factory": "s.expect.to_be_null", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2045
- { "name": "mvp:test_expect_to_be_true", "factory": "s.expect.to_be_true", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2046
- { "name": "mvp:test_expect_to_be_within", "factory": "s.expect.to_be_within", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "min", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }, { "field": "max", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value3" } }] },
2047
- { "name": "mvp:test_expect_to_contain", "factory": "s.expect.to_contain", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2048
- { "name": "mvp:test_expect_to_end_with", "factory": "s.expect.to_end_with", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2049
- { "name": "mvp:test_expect_to_equal", "factory": "s.expect.to_equal", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2050
- { "name": "mvp:test_expect_to_match", "factory": "s.expect.to_match", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2051
- { "name": "mvp:test_expect_to_not_be_defined", "factory": "s.expect.to_not_be_defined", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2052
- { "name": "mvp:test_expect_to_not_be_null", "factory": "s.expect.to_not_be_null", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }] },
2053
- { "name": "mvp:test_expect_to_not_equal", "factory": "s.expect.to_not_equal", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2054
- { "name": "mvp:test_expect_to_start_with", "factory": "s.expect.to_start_with", "rules": [{ "field": "expr", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value1" } }, { "field": "value", "type": "value", "optional": true, "default": "", "route": { "kind": "context-nest", "path": "value2" } }] },
2055
- { "name": "mvp:text_append", "factory": "s.text.append", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
2056
- { "name": "mvp:text_contains", "factory": "s.text.contains", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "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" } }] },
2057
- { "name": "mvp:text_ends_with", "factory": "s.text.ends_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "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" } }] },
2058
- { "name": "mvp:text_icontains", "factory": "s.text.icontains", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "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" } }] },
2059
- { "name": "mvp:text_iends_with", "factory": "s.text.iends_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "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" } }] },
2060
- { "name": "mvp:text_istarts_with", "factory": "s.text.istarts_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "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" } }] },
2061
- { "name": "mvp:text_ltrim", "factory": "s.text.ltrim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
2062
- { "name": "mvp:text_prepend", "factory": "s.text.prepend", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
2063
- { "name": "mvp:text_rtrim", "factory": "s.text.rtrim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
2064
- { "name": "mvp:text_starts_with", "factory": "s.text.starts_with", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "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_trim", "factory": "s.text.trim", "argNameIsVar": true, "rules": [{ "field": "name", "type": "string", "optional": true, "default": "", "route": { "kind": "context-plain", "path": "name" } }, { "field": "value", "type": "value", "optional": false, "route": { "kind": "context-spread" } }] },
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 = {}) => fromSpec("mvp:array_difference", a)
2118
+ (a) => fromSpec("mvp:array_difference", a)
2114
2119
  ),
2115
2120
  every: (
2116
2121
  /** `mvp:array_every` — fields: expr, as, if */
2117
- (a = {}) => fromSpec("mvp:array_every", a)
2122
+ (a) => fromSpec("mvp:array_every", a)
2118
2123
  ),
2119
2124
  filter: (
2120
2125
  /** `mvp:array_filter` — fields: expr, as, if */
2121
- (a = {}) => fromSpec("mvp:array_filter", 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 = {}) => fromSpec("mvp:array_filter_count", 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 = {}) => fromSpec("mvp:array_find", 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 = {}) => fromSpec("mvp:array_find_index", 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 = {}) => fromSpec("mvp:array_group_by", 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 = {}) => fromSpec("mvp:array_has", 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 = {}) => fromSpec("mvp:array_intersection", a)
2150
+ (a) => fromSpec("mvp:array_intersection", a)
2146
2151
  ),
2147
2152
  merge: (
2148
2153
  /** `mvp:array_merge` — fields: name, value */
2149
- (a = {}) => fromSpec("mvp:array_merge", a)
2154
+ (a) => fromSpec("mvp:array_merge", a)
2150
2155
  ),
2151
2156
  partition: (
2152
2157
  /** `mvp:array_partition` — fields: expr, as, if */
2153
- (a = {}) => fromSpec("mvp:array_partition", a)
2158
+ (a) => fromSpec("mvp:array_partition", a)
2154
2159
  ),
2155
2160
  pop: (
2156
2161
  /** `mvp:array_pop` — fields: name, as */
2157
- (a = {}) => fromSpec("mvp:array_pop", 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 = {}) => fromSpec("mvp:array_shift", 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 = {}) => fromSpec("mvp:test_expect_to_be_defined", 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 = {}) => fromSpec("mvp:test_expect_to_be_empty", 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 = {}) => fromSpec("mvp:test_expect_to_be_false", 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 = {}) => fromSpec("mvp:test_expect_to_be_greater_than", 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 = {}) => fromSpec("mvp:test_expect_to_be_in_the_future", 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 = {}) => fromSpec("mvp:test_expect_to_be_in_the_past", 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 = {}) => fromSpec("mvp:test_expect_to_be_less_than", 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 = {}) => fromSpec("mvp:test_expect_to_be_null", 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 = {}) => fromSpec("mvp:test_expect_to_be_true", 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 = {}) => fromSpec("mvp:test_expect_to_be_within", 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 = {}) => fromSpec("mvp:test_expect_to_contain", 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 = {}) => fromSpec("mvp:test_expect_to_end_with", 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 = {}) => fromSpec("mvp:test_expect_to_equal", 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 = {}) => fromSpec("mvp:test_expect_to_match", 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 = {}) => fromSpec("mvp:test_expect_to_not_be_defined", 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 = {}) => fromSpec("mvp:test_expect_to_not_be_null", 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 = {}) => fromSpec("mvp:test_expect_to_not_equal", 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 = {}) => fromSpec("mvp:test_expect_to_start_with", 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 = {}) => fromSpec("mvp:object_entries", a)
2478
+ (a) => fromSpec("mvp:object_entries", a)
2474
2479
  ),
2475
2480
  keys: (
2476
2481
  /** `mvp:object_keys` — fields: as, value */
2477
- (a = {}) => fromSpec("mvp:object_keys", a)
2482
+ (a) => fromSpec("mvp:object_keys", a)
2478
2483
  ),
2479
2484
  values: (
2480
2485
  /** `mvp:object_values` — fields: as, value */
2481
- (a = {}) => fromSpec("mvp:object_values", 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 = {}) => fromSpec("mvp:precondition", 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-HINRE3UM.js.map
8442
+ //# sourceMappingURL=chunk-SH4RY6QX.js.map