@objectstack/spec 18.4.0 → 18.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2116 -0
- package/api-surface/ai.json +7 -0
- package/api-surface/api.json +12 -0
- package/api-surface/automation.json +4 -0
- package/api-surface/contracts.json +24 -0
- package/api-surface/data.json +40 -1
- package/api-surface/system.json +6 -0
- package/api-surface/ui.json +8 -0
- package/dist/.build-input-hash +1 -1
- package/dist/.build-input-hash-dts +1 -1
- package/dist/{action.zod-C1j0rG58.d.mts → action.zod-CdixFxVV.d.mts} +205 -81
- package/dist/{action.zod-C1j0rG58.d.ts → action.zod-CdixFxVV.d.ts} +205 -81
- package/dist/ai/index.d.mts +192 -34
- package/dist/ai/index.d.ts +192 -34
- package/dist/ai/index.js +139 -123
- package/dist/ai/index.mjs +10 -10
- package/dist/{analytics.zod-mSn9DF86.d.mts → analytics.zod-CHiBKso9.d.mts} +228 -33
- package/dist/{analytics.zod-1TG65xq_.d.ts → analytics.zod-Djw2Urv2.d.ts} +228 -33
- package/dist/api/index.d.mts +1181 -692
- package/dist/api/index.d.ts +1181 -692
- package/dist/api/index.js +425 -280
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +200 -61
- package/dist/api/index.mjs.map +1 -1
- package/dist/api-assembled/index.d.mts +10 -2
- package/dist/api-assembled/index.d.ts +10 -2
- package/dist/api-assembled/index.js +49 -51
- package/dist/api-assembled/index.js.map +1 -1
- package/dist/api-assembled/index.mjs +38 -40
- package/dist/api-assembled/index.mjs.map +1 -1
- package/dist/{app.zod-CyFKuVqp.d.mts → app.zod-CjFtVfyi.d.mts} +22 -22
- package/dist/{app.zod-CyFKuVqp.d.ts → app.zod-CjFtVfyi.d.ts} +22 -22
- package/dist/automation/index.d.mts +124 -39
- package/dist/automation/index.d.ts +124 -39
- package/dist/automation/index.js +199 -189
- package/dist/automation/index.mjs +12 -10
- package/dist/{automation-api.zod-qKdp5oBD.d.mts → automation-api.zod-DM-Kpv7b.d.mts} +565 -209
- package/dist/{automation-api.zod-C8UzAjSq.d.ts → automation-api.zod-DocZK_3-.d.ts} +565 -209
- package/dist/browser/api-assembled/index.js +51 -53
- package/dist/browser/api-assembled/index.js.map +1 -1
- package/dist/browser/api-assembled/index.mjs +40 -42
- package/dist/browser/api-assembled/index.mjs.map +1 -1
- package/dist/browser/data/index.js +773 -646
- package/dist/browser/data/index.mjs +18 -19
- package/dist/browser/index.js +139 -141
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +38 -40
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/kernel/index.js +296 -297
- package/dist/browser/kernel/index.js.map +1 -1
- package/dist/browser/kernel/index.mjs +39 -40
- package/dist/browser/kernel/index.mjs.map +1 -1
- package/dist/browser/system/index.js +517 -498
- package/dist/browser/system/index.js.map +1 -1
- package/dist/browser/system/index.mjs +54 -55
- package/dist/browser/system/index.mjs.map +1 -1
- package/dist/{capabilities-Dr32WpAe.d.mts → capabilities-DtwJm3GL.d.mts} +4 -4
- package/dist/{capabilities-Dr32WpAe.d.ts → capabilities-DtwJm3GL.d.ts} +4 -4
- package/dist/{chunk-GGIWCMX7.mjs → chunk-223MQB65.mjs} +109 -17
- package/dist/chunk-223MQB65.mjs.map +1 -0
- package/dist/{chunk-WRS2RQC2.mjs → chunk-2SHM6QZR.mjs} +4 -4
- package/dist/{chunk-WRS2RQC2.mjs.map → chunk-2SHM6QZR.mjs.map} +1 -1
- package/dist/{chunk-XLD4OWMH.js → chunk-35V5T2Z6.js} +6 -6
- package/dist/{chunk-XLD4OWMH.js.map → chunk-35V5T2Z6.js.map} +1 -1
- package/dist/{chunk-BWCETSLG.js → chunk-365JI3CF.js} +28 -27
- package/dist/chunk-365JI3CF.js.map +1 -0
- package/dist/{chunk-MVRLZGGC.mjs → chunk-367EMU7Z.mjs} +543 -19
- package/dist/chunk-367EMU7Z.mjs.map +1 -0
- package/dist/{chunk-EHBWO45W.mjs → chunk-3ENKGJJJ.mjs} +21 -11
- package/dist/chunk-3ENKGJJJ.mjs.map +1 -0
- package/dist/{chunk-26V657YM.js → chunk-3NNAG433.js} +12 -12
- package/dist/{chunk-26V657YM.js.map → chunk-3NNAG433.js.map} +1 -1
- package/dist/{chunk-5BIB3PXT.mjs → chunk-46KR7TYF.mjs} +15 -7
- package/dist/chunk-46KR7TYF.mjs.map +1 -0
- package/dist/{chunk-NFI2BLPG.js → chunk-4CXFXFAX.js} +39 -4
- package/dist/chunk-4CXFXFAX.js.map +1 -0
- package/dist/{chunk-YV5Z5UZA.js → chunk-4Y4QXRRY.js} +204 -156
- package/dist/chunk-4Y4QXRRY.js.map +1 -0
- package/dist/{chunk-RIU2XGCZ.mjs → chunk-534DCYGQ.mjs} +29 -7
- package/dist/{chunk-RIU2XGCZ.mjs.map → chunk-534DCYGQ.mjs.map} +1 -1
- package/dist/chunk-53VMQWOO.js +4 -0
- package/dist/{chunk-LVUIIEKT.js.map → chunk-53VMQWOO.js.map} +1 -1
- package/dist/{chunk-5D3BCLIA.js → chunk-54KKUBSC.js} +349 -46
- package/dist/chunk-54KKUBSC.js.map +1 -0
- package/dist/{chunk-NLZD5QRM.mjs → chunk-55GWXHZ2.mjs} +3 -3
- package/dist/{chunk-NLZD5QRM.mjs.map → chunk-55GWXHZ2.mjs.map} +1 -1
- package/dist/{chunk-GMYNC6HX.js → chunk-57VXQYPP.js} +14 -14
- package/dist/{chunk-GMYNC6HX.js.map → chunk-57VXQYPP.js.map} +1 -1
- package/dist/{chunk-B4AHBP6A.js → chunk-5SXXDCLI.js} +5 -5
- package/dist/{chunk-B4AHBP6A.js.map → chunk-5SXXDCLI.js.map} +1 -1
- package/dist/{chunk-PUHQKTMT.js → chunk-6ABHOIJV.js} +239 -229
- package/dist/chunk-6ABHOIJV.js.map +1 -0
- package/dist/{chunk-OSHUMOQF.mjs → chunk-6DRDXJY2.mjs} +3 -3
- package/dist/{chunk-OSHUMOQF.mjs.map → chunk-6DRDXJY2.mjs.map} +1 -1
- package/dist/{chunk-2FWQDUKW.mjs → chunk-77S6AIYN.mjs} +5 -4
- package/dist/chunk-77S6AIYN.mjs.map +1 -0
- package/dist/chunk-7DFKCHTS.mjs +3 -0
- package/dist/{chunk-3TCQO3LJ.mjs.map → chunk-7DFKCHTS.mjs.map} +1 -1
- package/dist/{chunk-5ALUEAVG.js → chunk-7GC5QE5X.js} +4 -4
- package/dist/{chunk-5ALUEAVG.js.map → chunk-7GC5QE5X.js.map} +1 -1
- package/dist/{chunk-6QZI7EOF.js → chunk-7OLNZH4W.js} +24 -11
- package/dist/chunk-7OLNZH4W.js.map +1 -0
- package/dist/{chunk-STMMEI5B.js → chunk-A4VVGKHE.js} +33 -19
- package/dist/{chunk-STMMEI5B.js.map → chunk-A4VVGKHE.js.map} +1 -1
- package/dist/{chunk-YZHVC5YH.js → chunk-AHCGWB32.js} +15 -15
- package/dist/{chunk-YZHVC5YH.js.map → chunk-AHCGWB32.js.map} +1 -1
- package/dist/{chunk-6KSJMV6P.js → chunk-BB4Z4OP5.js} +203 -188
- package/dist/chunk-BB4Z4OP5.js.map +1 -0
- package/dist/{chunk-RCPIIEZH.js → chunk-BDACD7IB.js} +137 -41
- package/dist/chunk-BDACD7IB.js.map +1 -0
- package/dist/{chunk-ZMRPJTKB.mjs → chunk-BGBDXZCS.mjs} +4 -4
- package/dist/{chunk-ZMRPJTKB.mjs.map → chunk-BGBDXZCS.mjs.map} +1 -1
- package/dist/{chunk-NM6F62K4.mjs → chunk-BZ4CDEQM.mjs} +3 -3
- package/dist/{chunk-NM6F62K4.mjs.map → chunk-BZ4CDEQM.mjs.map} +1 -1
- package/dist/{chunk-AUDT5OUQ.mjs → chunk-CGNCZ2CB.mjs} +28 -14
- package/dist/{chunk-AUDT5OUQ.mjs.map → chunk-CGNCZ2CB.mjs.map} +1 -1
- package/dist/{chunk-5FC5VIRA.js → chunk-CIITCRS6.js} +56 -13
- package/dist/chunk-CIITCRS6.js.map +1 -0
- package/dist/{chunk-EDQHRDYH.mjs → chunk-CQ2UB4JV.mjs} +54 -11
- package/dist/chunk-CQ2UB4JV.mjs.map +1 -0
- package/dist/chunk-CU6RJWC3.mjs +19 -0
- package/dist/chunk-CU6RJWC3.mjs.map +1 -0
- package/dist/{chunk-G2JK6IDE.mjs → chunk-D6X2ZNRN.mjs} +5 -5
- package/dist/{chunk-G2JK6IDE.mjs.map → chunk-D6X2ZNRN.mjs.map} +1 -1
- package/dist/{chunk-2PZP2KFP.mjs → chunk-D7MDDDY7.mjs} +3 -3
- package/dist/{chunk-2PZP2KFP.mjs.map → chunk-D7MDDDY7.mjs.map} +1 -1
- package/dist/{chunk-O4EWVL3J.mjs → chunk-DK7OAI2Q.mjs} +203 -40
- package/dist/chunk-DK7OAI2Q.mjs.map +1 -0
- package/dist/{chunk-NVO6X2AI.js → chunk-DMB6NARO.js} +4 -4
- package/dist/{chunk-NVO6X2AI.js.map → chunk-DMB6NARO.js.map} +1 -1
- package/dist/{chunk-FH4VIOYX.js → chunk-DNTNEKMX.js} +206 -43
- package/dist/chunk-DNTNEKMX.js.map +1 -0
- package/dist/{chunk-4W7WDTS7.js → chunk-E2VAQJE7.js} +62 -65
- package/dist/chunk-E2VAQJE7.js.map +1 -0
- package/dist/chunk-E5K3EF3K.js +25 -0
- package/dist/chunk-E5K3EF3K.js.map +1 -0
- package/dist/{chunk-DCV2R7R4.mjs → chunk-EJMOGT4I.mjs} +115 -27
- package/dist/chunk-EJMOGT4I.mjs.map +1 -0
- package/dist/{chunk-3EFID4KS.mjs → chunk-EKV3WNYU.mjs} +6 -7
- package/dist/{chunk-3EFID4KS.mjs.map → chunk-EKV3WNYU.mjs.map} +1 -1
- package/dist/chunk-EM25AALS.js +4 -0
- package/dist/{chunk-W7TCSP7I.js.map → chunk-EM25AALS.js.map} +1 -1
- package/dist/{chunk-JP3P3MCR.mjs → chunk-EVDNWG6I.mjs} +3 -3
- package/dist/{chunk-JP3P3MCR.mjs.map → chunk-EVDNWG6I.mjs.map} +1 -1
- package/dist/{chunk-RJLENIQ4.js → chunk-FE76FL4H.js} +81 -19
- package/dist/{chunk-RJLENIQ4.js.map → chunk-FE76FL4H.js.map} +1 -1
- package/dist/{chunk-Q4EOLRV3.mjs → chunk-G44QQLUS.mjs} +7 -7
- package/dist/{chunk-Q4EOLRV3.mjs.map → chunk-G44QQLUS.mjs.map} +1 -1
- package/dist/chunk-G4635SRW.mjs +83 -0
- package/dist/chunk-G4635SRW.mjs.map +1 -0
- package/dist/{chunk-TRQ3UJ2H.js → chunk-GCNJ7RF3.js} +9 -9
- package/dist/{chunk-TRQ3UJ2H.js.map → chunk-GCNJ7RF3.js.map} +1 -1
- package/dist/{chunk-UYR4XP54.mjs → chunk-GI2WCLG3.mjs} +187 -40
- package/dist/chunk-GI2WCLG3.mjs.map +1 -0
- package/dist/{chunk-GTMHSUTC.mjs → chunk-GTA4NW7C.mjs} +125 -19
- package/dist/chunk-GTA4NW7C.mjs.map +1 -0
- package/dist/{chunk-QOPFMYAQ.mjs → chunk-HDZW5DQD.mjs} +59 -61
- package/dist/chunk-HDZW5DQD.mjs.map +1 -0
- package/dist/{chunk-GMWFDQKU.mjs → chunk-HF64QJT4.mjs} +5 -4
- package/dist/chunk-HF64QJT4.mjs.map +1 -0
- package/dist/{chunk-JAFJEQNX.mjs → chunk-HFF6ONKD.mjs} +4 -4
- package/dist/{chunk-JAFJEQNX.mjs.map → chunk-HFF6ONKD.mjs.map} +1 -1
- package/dist/{chunk-7KKWV7EO.js → chunk-HLXS4BDT.js} +25 -25
- package/dist/{chunk-7KKWV7EO.js.map → chunk-HLXS4BDT.js.map} +1 -1
- package/dist/{chunk-CHSWC7EF.js → chunk-HZP7SOOU.js} +604 -53
- package/dist/chunk-HZP7SOOU.js.map +1 -0
- package/dist/{chunk-TWWAHLVY.mjs → chunk-IAJZ7ASX.mjs} +97 -49
- package/dist/chunk-IAJZ7ASX.mjs.map +1 -0
- package/dist/{chunk-FHTWGLP7.js → chunk-IYS6C77N.js} +6 -6
- package/dist/{chunk-FHTWGLP7.js.map → chunk-IYS6C77N.js.map} +1 -1
- package/dist/{chunk-4JB26Z5S.mjs → chunk-JDJUHE5M.mjs} +7 -7
- package/dist/{chunk-4JB26Z5S.mjs.map → chunk-JDJUHE5M.mjs.map} +1 -1
- package/dist/{chunk-NKXA4O4N.mjs → chunk-JJK7Z37R.mjs} +78 -16
- package/dist/{chunk-NKXA4O4N.mjs.map → chunk-JJK7Z37R.mjs.map} +1 -1
- package/dist/{chunk-H2COWFTZ.mjs → chunk-JMFGGFKE.mjs} +125 -32
- package/dist/chunk-JMFGGFKE.mjs.map +1 -0
- package/dist/{chunk-RRRUTY6V.mjs → chunk-JVTTVVIX.mjs} +4 -4
- package/dist/{chunk-RRRUTY6V.mjs.map → chunk-JVTTVVIX.mjs.map} +1 -1
- package/dist/{chunk-KTHAAIDJ.mjs → chunk-JWEUBBUV.mjs} +5 -5
- package/dist/{chunk-KTHAAIDJ.mjs.map → chunk-JWEUBBUV.mjs.map} +1 -1
- package/dist/{chunk-EZCC3IFH.js → chunk-JYDI7NNF.js} +32 -10
- package/dist/{chunk-EZCC3IFH.js.map → chunk-JYDI7NNF.js.map} +1 -1
- package/dist/chunk-KCQGYRLI.js +134 -0
- package/dist/chunk-KCQGYRLI.js.map +1 -0
- package/dist/{chunk-76AMNV5T.mjs → chunk-LA7T6U3C.mjs} +3 -3
- package/dist/{chunk-76AMNV5T.mjs.map → chunk-LA7T6U3C.mjs.map} +1 -1
- package/dist/{chunk-SH2NIZ33.js → chunk-LOSFGIHW.js} +32 -32
- package/dist/{chunk-SH2NIZ33.js.map → chunk-LOSFGIHW.js.map} +1 -1
- package/dist/{chunk-2ZIYWWQX.mjs → chunk-LRW2NSPC.mjs} +3 -3
- package/dist/{chunk-2ZIYWWQX.mjs.map → chunk-LRW2NSPC.mjs.map} +1 -1
- package/dist/{chunk-NQLL6IZZ.mjs → chunk-LZEBLCTU.mjs} +3 -3
- package/dist/{chunk-NQLL6IZZ.mjs.map → chunk-LZEBLCTU.mjs.map} +1 -1
- package/dist/{chunk-PFSXRGJV.js → chunk-M4PRB5UD.js} +30 -30
- package/dist/{chunk-PFSXRGJV.js.map → chunk-M4PRB5UD.js.map} +1 -1
- package/dist/{chunk-CRCIMMPK.mjs → chunk-M5ENVT7K.mjs} +6 -6
- package/dist/{chunk-CRCIMMPK.mjs.map → chunk-M5ENVT7K.mjs.map} +1 -1
- package/dist/{chunk-ULPNLLCV.mjs → chunk-MQWMYR7Y.mjs} +3 -3
- package/dist/{chunk-ULPNLLCV.mjs.map → chunk-MQWMYR7Y.mjs.map} +1 -1
- package/dist/chunk-MXN4XT5V.mjs +3 -0
- package/dist/{chunk-5K5WXEMX.mjs.map → chunk-MXN4XT5V.mjs.map} +1 -1
- package/dist/{chunk-V3CDG6AB.js → chunk-NFFMTD6Q.js} +22 -22
- package/dist/{chunk-V3CDG6AB.js.map → chunk-NFFMTD6Q.js.map} +1 -1
- package/dist/{chunk-C3YBGX53.js → chunk-NTRMQPJD.js} +205 -157
- package/dist/chunk-NTRMQPJD.js.map +1 -0
- package/dist/{chunk-MSYYZYOC.js → chunk-O4CDWIVW.js} +98 -3
- package/dist/chunk-O4CDWIVW.js.map +1 -0
- package/dist/{chunk-4RBVUYL6.js → chunk-OAHLN5O4.js} +49 -40
- package/dist/chunk-OAHLN5O4.js.map +1 -0
- package/dist/{chunk-RK2FE7GH.mjs → chunk-OE546WFK.mjs} +7 -7
- package/dist/{chunk-RK2FE7GH.mjs.map → chunk-OE546WFK.mjs.map} +1 -1
- package/dist/{chunk-S3JVWJ7P.mjs → chunk-OEYOQ5GF.mjs} +39 -4
- package/dist/chunk-OEYOQ5GF.mjs.map +1 -0
- package/dist/{chunk-A72VMSOU.js → chunk-P2OKUUK6.js} +137 -137
- package/dist/{chunk-A72VMSOU.js.map → chunk-P2OKUUK6.js.map} +1 -1
- package/dist/{chunk-BP6RNSGE.js → chunk-PQ4YDSYL.js} +129 -18
- package/dist/chunk-PQ4YDSYL.js.map +1 -0
- package/dist/{chunk-4BHVU6PX.js → chunk-Q6D73N6N.js} +18 -18
- package/dist/{chunk-4BHVU6PX.js.map → chunk-Q6D73N6N.js.map} +1 -1
- package/dist/{chunk-YGJWOWL5.js → chunk-QEO66TDO.js} +42 -27
- package/dist/chunk-QEO66TDO.js.map +1 -0
- package/dist/{chunk-DYEKZYWU.mjs → chunk-QG3GGUGI.mjs} +337 -22
- package/dist/chunk-QG3GGUGI.mjs.map +1 -0
- package/dist/{chunk-ZOIWTYZO.js → chunk-QTHEIS2S.js} +125 -32
- package/dist/chunk-QTHEIS2S.js.map +1 -0
- package/dist/{chunk-EQFBLWTR.js → chunk-QTVXFNDT.js} +116 -116
- package/dist/{chunk-EQFBLWTR.js.map → chunk-QTVXFNDT.js.map} +1 -1
- package/dist/{chunk-CR7QKE2U.js → chunk-QVEIU6CT.js} +461 -139
- package/dist/chunk-QVEIU6CT.js.map +1 -0
- package/dist/{chunk-MS53U5GW.js → chunk-RI2MDAZV.js} +17 -35
- package/dist/chunk-RI2MDAZV.js.map +1 -0
- package/dist/{chunk-4SJKVIMO.mjs → chunk-RQBHNRQI.mjs} +98 -50
- package/dist/chunk-RQBHNRQI.mjs.map +1 -0
- package/dist/{chunk-URGUMSYY.js → chunk-RWSCSNXR.js} +9 -9
- package/dist/chunk-RWSCSNXR.js.map +1 -0
- package/dist/{chunk-N7GXMXCG.mjs → chunk-SGQCBCZP.mjs} +5 -5
- package/dist/chunk-SGQCBCZP.mjs.map +1 -0
- package/dist/{chunk-QVAVKV7B.mjs → chunk-SGSATXWE.mjs} +35 -20
- package/dist/chunk-SGSATXWE.mjs.map +1 -0
- package/dist/{chunk-LHVWZCP7.mjs → chunk-SSBP42NY.mjs} +4 -4
- package/dist/{chunk-LHVWZCP7.mjs.map → chunk-SSBP42NY.mjs.map} +1 -1
- package/dist/{chunk-ACFD6QGB.js → chunk-TINNQTRW.js} +228 -76
- package/dist/chunk-TINNQTRW.js.map +1 -0
- package/dist/{chunk-SAGEIWSS.mjs → chunk-TVDZCBCH.mjs} +4 -4
- package/dist/{chunk-SAGEIWSS.mjs.map → chunk-TVDZCBCH.mjs.map} +1 -1
- package/dist/{chunk-IYKVKTG4.mjs → chunk-TYEMSDVX.mjs} +185 -164
- package/dist/chunk-TYEMSDVX.mjs.map +1 -0
- package/dist/{chunk-PFXOHVRZ.js → chunk-U7OD6HVN.js} +6 -6
- package/dist/{chunk-PFXOHVRZ.js.map → chunk-U7OD6HVN.js.map} +1 -1
- package/dist/{chunk-5VB74EH4.mjs → chunk-UGLVAZL5.mjs} +17 -4
- package/dist/chunk-UGLVAZL5.mjs.map +1 -0
- package/dist/{chunk-DPAHRZXT.js → chunk-UVTSPGS6.js} +20 -20
- package/dist/{chunk-DPAHRZXT.js.map → chunk-UVTSPGS6.js.map} +1 -1
- package/dist/{chunk-LHSA5YBP.js → chunk-VBLTVNUG.js} +6 -6
- package/dist/{chunk-LHSA5YBP.js.map → chunk-VBLTVNUG.js.map} +1 -1
- package/dist/{chunk-XH46Y7ZX.mjs → chunk-VEY64VQX.mjs} +307 -18
- package/dist/chunk-VEY64VQX.mjs.map +1 -0
- package/dist/{chunk-OGDPZNXV.mjs → chunk-VMCCTT2W.mjs} +6 -21
- package/dist/chunk-VMCCTT2W.mjs.map +1 -0
- package/dist/{chunk-YISPJ5NQ.mjs → chunk-VOYWAYTT.mjs} +6 -6
- package/dist/{chunk-YISPJ5NQ.mjs.map → chunk-VOYWAYTT.mjs.map} +1 -1
- package/dist/chunk-VVNVAPCT.js +94 -0
- package/dist/chunk-VVNVAPCT.js.map +1 -0
- package/dist/{chunk-B4BFVTLU.mjs → chunk-WLTKHKGA.mjs} +16 -87
- package/dist/chunk-WLTKHKGA.mjs.map +1 -0
- package/dist/{chunk-7S25VW4D.js → chunk-WNSF22JE.js} +16 -15
- package/dist/chunk-WNSF22JE.js.map +1 -0
- package/dist/{chunk-UIALOTTF.js → chunk-WQEAPJSQ.js} +38 -38
- package/dist/{chunk-UIALOTTF.js.map → chunk-WQEAPJSQ.js.map} +1 -1
- package/dist/{chunk-KSVMRXVJ.mjs → chunk-WXZKBZHQ.mjs} +3 -3
- package/dist/{chunk-KSVMRXVJ.mjs.map → chunk-WXZKBZHQ.mjs.map} +1 -1
- package/dist/{chunk-WCYQ5GUY.js → chunk-XEKMW2ZM.js} +172 -83
- package/dist/chunk-XEKMW2ZM.js.map +1 -0
- package/dist/{chunk-4UNVJV4H.js → chunk-XOR3ZM4C.js} +7 -8
- package/dist/{chunk-4UNVJV4H.js.map → chunk-XOR3ZM4C.js.map} +1 -1
- package/dist/{chunk-MPIYUV5A.mjs → chunk-XZWSDYSE.mjs} +4 -4
- package/dist/{chunk-MPIYUV5A.mjs.map → chunk-XZWSDYSE.mjs.map} +1 -1
- package/dist/chunk-Y4DJ4IGE.mjs +123 -0
- package/dist/chunk-Y4DJ4IGE.mjs.map +1 -0
- package/dist/{chunk-OVOWSTE4.js → chunk-YN7Q3JXK.js} +18 -18
- package/dist/{chunk-OVOWSTE4.js.map → chunk-YN7Q3JXK.js.map} +1 -1
- package/dist/{chunk-SOV5TD55.js → chunk-YYX6BND2.js} +48 -128
- package/dist/chunk-YYX6BND2.js.map +1 -0
- package/dist/{chunk-QFGL2CVP.js → chunk-ZBNJ2QUE.js} +4 -4
- package/dist/{chunk-QFGL2CVP.js.map → chunk-ZBNJ2QUE.js.map} +1 -1
- package/dist/{chunk-OYSMLSH4.js → chunk-ZE44IIYM.js} +5 -5
- package/dist/{chunk-OYSMLSH4.js.map → chunk-ZE44IIYM.js.map} +1 -1
- package/dist/{chunk-6RKCDNHB.mjs → chunk-ZSDD3KDO.mjs} +95 -4
- package/dist/chunk-ZSDD3KDO.mjs.map +1 -0
- package/dist/{chunk-FIIUH5OR.js → chunk-ZZMKVRTV.js} +5 -5
- package/dist/{chunk-FIIUH5OR.js.map → chunk-ZZMKVRTV.js.map} +1 -1
- package/dist/{connector-descriptor-CPaWdvJP.d.ts → connector-descriptor-CxwkaW25.d.ts} +8 -0
- package/dist/{connector-descriptor-NLtr0fqV.d.mts → connector-descriptor-M2EElfhr.d.mts} +8 -0
- package/dist/contracts/index.d.mts +1294 -57
- package/dist/contracts/index.d.ts +1294 -57
- package/dist/contracts/index.js +13 -0
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/index.mjs +11 -1
- package/dist/contracts/index.mjs.map +1 -1
- package/dist/data/index.d.mts +412 -142
- package/dist/data/index.d.ts +412 -142
- package/dist/data/index.js +775 -648
- package/dist/data/index.mjs +18 -19
- package/dist/{data-engine.zod-Cgihahi9.d.mts → data-engine.zod-BTuqC-xI.d.mts} +60 -12
- package/dist/{data-engine.zod-Bks2qGz8.d.ts → data-engine.zod-O8CikxlT.d.ts} +60 -12
- package/dist/{datasource.zod-B4W9TNh5.d.ts → datasource.zod-Cx0PSJ5M.d.mts} +6 -6
- package/dist/{datasource.zod-B4W9TNh5.d.mts → datasource.zod-Cx0PSJ5M.d.ts} +6 -6
- package/dist/{error-code-ledger.zod-CoEMSQs8.d.ts → error-code-ledger.zod-BGF1EK-s.d.ts} +2 -1
- package/dist/{error-code-ledger.zod-nuvblmpF.d.mts → error-code-ledger.zod-KJChQM4C.d.mts} +2 -1
- package/dist/eval-user.zod-BnHHO8Fu.d.mts +159 -0
- package/dist/eval-user.zod-Db1QEfe8.d.ts +159 -0
- package/dist/{expression.zod-D1Vc0Ing.d.mts → expression.zod-C2ODz84X.d.mts} +10 -10
- package/dist/{expression.zod-D1Vc0Ing.d.ts → expression.zod-C2ODz84X.d.ts} +10 -10
- package/dist/{flow.zod-qc1iILl5.d.mts → flow.zod-BSAQpsqF.d.mts} +8 -6
- package/dist/{flow.zod-qc1iILl5.d.ts → flow.zod-BSAQpsqF.d.ts} +8 -6
- package/dist/identity/index.d.mts +13 -12
- package/dist/identity/index.d.ts +13 -12
- package/dist/identity/index.js +43 -43
- package/dist/identity/index.mjs +3 -3
- package/dist/index.d.mts +18 -17
- package/dist/index.d.ts +18 -17
- package/dist/index.js +137 -139
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -38
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/kernel/index.d.mts +49 -24
- package/dist/kernel/index.d.ts +49 -24
- package/dist/kernel/index.js +294 -295
- package/dist/kernel/index.js.map +1 -1
- package/dist/kernel/index.mjs +37 -38
- package/dist/kernel/index.mjs.map +1 -1
- package/dist/{manifest.zod-BviBvo6W.d.ts → manifest.zod-DopqE_eD.d.ts} +2 -1
- package/dist/{manifest.zod-CEKdQcZG.d.mts → manifest.zod-kCcUXU-q.d.mts} +2 -1
- package/dist/marketplace/index.d.mts +2 -2
- package/dist/marketplace/index.d.ts +2 -2
- package/dist/marketplace/index.js +49 -50
- package/dist/marketplace/index.js.map +1 -1
- package/dist/marketplace/index.mjs +12 -13
- package/dist/marketplace/index.mjs.map +1 -1
- package/dist/{membership-role-Dci8HkGi.d.ts → membership-role-CiBHHmNX.d.mts} +1 -157
- package/dist/{membership-role-D3WpEmDE.d.mts → membership-role-CiBHHmNX.d.ts} +1 -157
- package/dist/migrations/index.d.mts +6 -6
- package/dist/migrations/index.d.ts +6 -6
- package/dist/migrations/index.js +610 -27
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/index.mjs +606 -23
- package/dist/migrations/index.mjs.map +1 -1
- package/dist/{node-executor.zod-BH9sM5Jq.d.mts → node-executor.zod-gyps2MyJ.d.mts} +28 -0
- package/dist/{node-executor.zod-BH9sM5Jq.d.ts → node-executor.zod-gyps2MyJ.d.ts} +28 -0
- package/dist/{object.zod-DbH5iTtz.d.ts → object.zod-BvalyH5Q.d.ts} +1273 -838
- package/dist/{object.zod-CKAlc9lk.d.mts → object.zod-HjX5KUOZ.d.mts} +1273 -838
- package/dist/{package-artifact.zod-DcmpEbgA.d.mts → package-artifact.zod-DCJBPs2g.d.mts} +171 -61
- package/dist/{package-artifact.zod-DcmpEbgA.d.ts → package-artifact.zod-DCJBPs2g.d.ts} +171 -61
- package/dist/{package-registry.zod-Dczl_FlV.d.mts → package-registry.zod-Cc_IeZkF.d.ts} +8 -1
- package/dist/{package-registry.zod-T-8qIwus.d.ts → package-registry.zod-FGbzMReh.d.mts} +8 -1
- package/dist/{page.zod-CAchh5cM.d.ts → page.zod-DVO4brmi.d.ts} +37 -35
- package/dist/{page.zod-xukDYA8M.d.mts → page.zod-FDHD9Z1a.d.mts} +37 -35
- package/dist/{percent-scale-CpKyXMOx.d.mts → percent-scale-CsiIfQll.d.mts} +7 -1
- package/dist/{percent-scale-CpKyXMOx.d.ts → percent-scale-CsiIfQll.d.ts} +7 -1
- package/dist/{permission.zod-BsRt8o0B.d.mts → permission.zod-CivNRXGH.d.mts} +21 -1
- package/dist/{permission.zod-BsRt8o0B.d.ts → permission.zod-CivNRXGH.d.ts} +21 -1
- package/dist/security/index.d.mts +11 -11
- package/dist/security/index.d.ts +11 -11
- package/dist/security/index.js +50 -50
- package/dist/security/index.mjs +8 -8
- package/dist/shared/index.d.mts +1 -1
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +81 -82
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/index.mjs +21 -22
- package/dist/shared/index.mjs.map +1 -1
- package/dist/{skill.zod-DOHwngOS.d.mts → skill.zod-UQHH2df3.d.mts} +19 -9
- package/dist/{skill.zod-DOHwngOS.d.ts → skill.zod-UQHH2df3.d.ts} +19 -9
- package/dist/{stack.zod-DBv8qFZU.d.ts → stack.zod-BILSUEGr.d.ts} +4262 -2684
- package/dist/{stack.zod-CuueyYV7.d.mts → stack.zod-Bc9FG3G_.d.mts} +4262 -2684
- package/dist/system/index.d.mts +5426 -3218
- package/dist/system/index.d.ts +5426 -3218
- package/dist/system/index.js +515 -496
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.mjs +52 -53
- package/dist/system/index.mjs.map +1 -1
- package/dist/{translation.zod-Buyx2dzz.d.mts → translation.zod-CiahYd3b.d.mts} +192 -6
- package/dist/{translation.zod-Buyx2dzz.d.ts → translation.zod-CiahYd3b.d.ts} +192 -6
- package/dist/ui/index.d.mts +354 -282
- package/dist/ui/index.d.ts +354 -282
- package/dist/ui/index.js +335 -319
- package/dist/ui/index.mjs +10 -10
- package/dist/{view.zod-CZa19_R5.d.ts → view.zod-BqHLXVI0.d.mts} +524 -425
- package/dist/{view.zod-CZa19_R5.d.mts → view.zod-BqHLXVI0.d.ts} +524 -425
- package/dist/{webhook.zod-CWJkOSxJ.d.ts → webhook.zod-CzT19O4e.d.mts} +0 -1
- package/dist/{webhook.zod-CWJkOSxJ.d.mts → webhook.zod-CzT19O4e.d.ts} +0 -1
- package/json-schema/.build-input-hash-schema +1 -1
- package/json-schema/ai/AIModelConfig.json +2 -2
- package/json-schema/ai/AIUsageRecord.json +2 -2
- package/json-schema/ai/Agent.json +2 -2
- package/json-schema/ai/BlueprintApp.json +2 -2
- package/json-schema/ai/BlueprintCondition.json +2 -2
- package/json-schema/ai/BlueprintDashboard.json +2 -2
- package/json-schema/ai/BlueprintField.json +20 -3
- package/json-schema/ai/BlueprintNavItem.json +2 -2
- package/json-schema/ai/BlueprintObject.json +20 -3
- package/json-schema/ai/BlueprintSeed.json +2 -2
- package/json-schema/ai/BlueprintSummaryOperations.json +2 -2
- package/json-schema/ai/BlueprintView.json +2 -2
- package/json-schema/ai/BlueprintWidgetCondition.json +2 -2
- package/json-schema/ai/BuildProgressFrame.json +2 -2
- package/json-schema/ai/BuildProgressPhase.json +2 -2
- package/json-schema/ai/CodeContent.json +2 -2
- package/json-schema/ai/ConversationAnalytics.json +2 -2
- package/json-schema/ai/ConversationContext.json +2 -2
- package/json-schema/ai/ConversationMessage.json +2 -2
- package/json-schema/ai/ConversationSession.json +2 -2
- package/json-schema/ai/ConversationSummary.json +2 -2
- package/json-schema/ai/DatasetNextStep.json +37 -0
- package/json-schema/ai/DatasetNextStepDecision.json +12 -0
- package/json-schema/ai/DatasetProvenance.json +2 -2
- package/json-schema/ai/DatasetTermCandidate.json +27 -0
- package/json-schema/ai/DatasetTermMatch.json +2 -2
- package/json-schema/ai/DatasetTermMatchedOn.json +2 -2
- package/json-schema/ai/DatasetToolCatalogDimension.json +2 -2
- package/json-schema/ai/DatasetToolCatalogEntry.json +2 -2
- package/json-schema/ai/DatasetToolCatalogMeasure.json +2 -2
- package/json-schema/ai/EmbeddingModel.json +2 -2
- package/json-schema/ai/FileContent.json +2 -2
- package/json-schema/ai/FileKnowledgeSource.json +2 -2
- package/json-schema/ai/FunctionCall.json +2 -2
- package/json-schema/ai/HttpKnowledgeSource.json +2 -2
- package/json-schema/ai/ImageContent.json +2 -2
- package/json-schema/ai/KnowledgeChunk.json +2 -2
- package/json-schema/ai/KnowledgeDocument.json +2 -2
- package/json-schema/ai/KnowledgeHit.json +2 -2
- package/json-schema/ai/KnowledgeRefreshPolicy.json +2 -2
- package/json-schema/ai/KnowledgeSource.json +2 -2
- package/json-schema/ai/KnowledgeSourceKind.json +2 -2
- package/json-schema/ai/ListDatasetsInput.json +2 -2
- package/json-schema/ai/ListDatasetsOutput.json +66 -2
- package/json-schema/ai/MCPApprovalPolicy.json +2 -2
- package/json-schema/ai/MCPServerRef.json +2 -2
- package/json-schema/ai/MCPToolBinding.json +2 -2
- package/json-schema/ai/MCPTransport.json +2 -2
- package/json-schema/ai/McpActionNamespace.json +2 -2
- package/json-schema/ai/McpListedActionAddress.json +2 -2
- package/json-schema/ai/MessageContent.json +2 -2
- package/json-schema/ai/MessageContentType.json +2 -2
- package/json-schema/ai/MessagePruningEvent.json +2 -2
- package/json-schema/ai/MessageRole.json +2 -2
- package/json-schema/ai/ModelCapability.json +2 -2
- package/json-schema/ai/ModelConfig.json +2 -2
- package/json-schema/ai/ModelLimits.json +2 -2
- package/json-schema/ai/ModelPricing.json +2 -2
- package/json-schema/ai/ModelProvider.json +2 -2
- package/json-schema/ai/ModelRegistry.json +2 -2
- package/json-schema/ai/ModelRegistryEntry.json +2 -2
- package/json-schema/ai/ModelSelectionCriteria.json +2 -2
- package/json-schema/ai/ObjectKnowledgeSource.json +2 -2
- package/json-schema/ai/ObjectQuerySource.json +7 -4
- package/json-schema/ai/PromptTemplate.json +2 -2
- package/json-schema/ai/PromptVariable.json +2 -2
- package/json-schema/ai/QueryDatasetInput.json +2 -2
- package/json-schema/ai/QueryDatasetOutput.json +7 -2
- package/json-schema/ai/Skill.json +8 -4
- package/json-schema/ai/SkillTriggerCondition.json +2 -2
- package/json-schema/ai/SolutionBlueprint.json +20 -3
- package/json-schema/ai/SolutionBlueprintStrict.json +41 -4
- package/json-schema/ai/StructuredOutputConfig.json +2 -2
- package/json-schema/ai/StructuredOutputFormat.json +2 -2
- package/json-schema/ai/TextContent.json +2 -2
- package/json-schema/ai/TokenBudgetConfig.json +2 -2
- package/json-schema/ai/TokenBudgetStrategy.json +2 -2
- package/json-schema/ai/TokenUsage.json +2 -2
- package/json-schema/ai/TokenUsageStats.json +2 -2
- package/json-schema/ai/Tool.json +2 -2
- package/json-schema/ai/ToolCall.json +2 -2
- package/json-schema/ai/TransformPipelineStep.json +2 -2
- package/json-schema/ai/VectorStore.json +2 -2
- package/json-schema/ai/VectorStoreProvider.json +2 -2
- package/json-schema/api/AckMessage.json +2 -2
- package/json-schema/api/AiAgentCapabilities.json +2 -2
- package/json-schema/api/AiAgentChatRequest.json +2 -2
- package/json-schema/api/AiAgentSummary.json +2 -2
- package/json-schema/api/AiAgentsResponse.json +2 -2
- package/json-schema/api/AiChatRequest.json +2 -2
- package/json-schema/api/AiChatResponse.json +2 -2
- package/json-schema/api/AiCompleteRequest.json +2 -2
- package/json-schema/api/AiConversation.json +2 -2
- package/json-schema/api/AiMessage.json +2 -2
- package/json-schema/api/AiModelsResponse.json +7 -2
- package/json-schema/api/AiPendingAction.json +2 -2
- package/json-schema/api/AiPendingActionStatus.json +2 -2
- package/json-schema/api/AiStreamChunk.json +2 -2
- package/json-schema/api/AnalyticsEndpoint.json +2 -2
- package/json-schema/api/AnalyticsMetadataResponse.json +5 -2
- package/json-schema/api/AnalyticsQueryRequest.json +2 -2
- package/json-schema/api/AnalyticsResultResponse.json +5 -2
- package/json-schema/api/AnalyticsSqlResponse.json +5 -2
- package/json-schema/api/ApiChangelogEntry.json +2 -2
- package/json-schema/api/ApiDocumentationConfig.json +2 -2
- package/json-schema/api/ApiEndpoint.json +2 -2
- package/json-schema/api/ApiError.json +5 -2
- package/json-schema/api/ApiMapping.json +2 -2
- package/json-schema/api/ApiRoutes.json +2 -2
- package/json-schema/api/ApiTestCollection.json +2 -2
- package/json-schema/api/ApiTestRequest.json +2 -2
- package/json-schema/api/AppDefinitionResponse.json +5 -2
- package/json-schema/api/AppMetadataBundleResponse.json +7 -7
- package/json-schema/api/ApproveAiPendingActionResponse.json +2 -2
- package/json-schema/api/AssembledInstalledPackage.json +797 -48
- package/json-schema/api/AuditMetaItemRequest.json +2 -2
- package/json-schema/api/AuditMetaItemResponse.json +2 -2
- package/json-schema/api/AuthEndpoint.json +2 -2
- package/json-schema/api/AuthFamilies.json +3 -3
- package/json-schema/api/AuthFeaturesConfig.json +19 -3
- package/json-schema/api/AuthProvider.json +2 -2
- package/json-schema/api/AuthProviderInfo.json +2 -2
- package/json-schema/api/AutomationActionsResponse.json +2 -2
- package/json-schema/api/AutomationApiErrorCode.json +2 -2
- package/json-schema/api/AutomationFlowPathParams.json +2 -2
- package/json-schema/api/AutomationRunPathParams.json +2 -2
- package/json-schema/api/AutomationTriggerRequest.json +2 -2
- package/json-schema/api/AutomationTriggerResponse.json +2 -2
- package/json-schema/api/BasePresence.json +2 -2
- package/json-schema/api/BaseResponse.json +5 -2
- package/json-schema/api/BatchConfig.json +2 -2
- package/json-schema/api/BatchDataRequest.json +2 -2
- package/json-schema/api/BatchDataResponse.json +8 -2
- package/json-schema/api/BatchEndpointsConfig.json +2 -2
- package/json-schema/api/BatchLoadingStrategy.json +2 -2
- package/json-schema/api/BatchOperationResult.json +5 -2
- package/json-schema/api/BatchOperationType.json +2 -2
- package/json-schema/api/BatchOptions.json +2 -2
- package/json-schema/api/BatchRecord.json +2 -2
- package/json-schema/api/BatchUpdateRequest.json +2 -2
- package/json-schema/api/BatchUpdateResponse.json +8 -2
- package/json-schema/api/BuildProbeReport.json +138 -0
- package/json-schema/api/BulkDataEvent.json +2 -2
- package/json-schema/api/BulkDataEventType.json +2 -2
- package/json-schema/api/BulkRequest.json +2 -2
- package/json-schema/api/BulkResponse.json +8 -2
- package/json-schema/api/CacheControl.json +2 -2
- package/json-schema/api/CacheDirective.json +2 -2
- package/json-schema/api/CacheInvalidationRequest.json +2 -2
- package/json-schema/api/CacheInvalidationResponse.json +2 -2
- package/json-schema/api/CacheInvalidationTarget.json +2 -2
- package/json-schema/api/CapabilityDescriptor.json +2 -2
- package/json-schema/api/CheckPermissionRequest.json +2 -2
- package/json-schema/api/CheckPermissionResponse.json +2 -2
- package/json-schema/api/CloneDataResponse.json +2 -2
- package/json-schema/api/CloneFlowRequest.json +2 -2
- package/json-schema/api/CloneFlowResponse.json +9 -2
- package/json-schema/api/CodeGenerationTemplate.json +2 -2
- package/json-schema/api/CompleteChunkedUploadRequest.json +2 -2
- package/json-schema/api/CompleteChunkedUploadResponse.json +5 -2
- package/json-schema/api/CompleteUploadRequest.json +2 -2
- package/json-schema/api/ConceptListResponse.json +5 -2
- package/json-schema/api/ConflictResolutionStrategy.json +2 -2
- package/json-schema/api/CreateAiConversationRequest.json +2 -2
- package/json-schema/api/CreateDataRequest.json +2 -2
- package/json-schema/api/CreateDataResponse.json +2 -2
- package/json-schema/api/CreateFlowRequest.json +6 -2
- package/json-schema/api/CreateFlowResponse.json +9 -2
- package/json-schema/api/CreateImportJobRequest.json +2 -2
- package/json-schema/api/CreateImportJobResponse.json +2 -2
- package/json-schema/api/CreateManyDataRequest.json +2 -2
- package/json-schema/api/CreateManyDataResponse.json +2 -2
- package/json-schema/api/CreateRequest.json +2 -2
- package/json-schema/api/CrossObjectBatchDroppedFields.json +2 -2
- package/json-schema/api/CrossObjectBatchOperation.json +2 -2
- package/json-schema/api/CrossObjectBatchRequest.json +2 -2
- package/json-schema/api/CrossObjectBatchResponse.json +2 -2
- package/json-schema/api/CrudEndpointsConfig.json +2 -2
- package/json-schema/api/CrudOperation.json +2 -2
- package/json-schema/api/CursorMessage.json +2 -2
- package/json-schema/api/CursorPosition.json +2 -2
- package/json-schema/api/DataEvent.json +2 -2
- package/json-schema/api/DataEventType.json +2 -2
- package/json-schema/api/DataLoaderConfig.json +2 -2
- package/json-schema/api/DatasetCompareTo.json +2 -2
- package/json-schema/api/DatasetQueryBatchEntry.json +5 -2
- package/json-schema/api/DatasetQueryBatchRequest.json +2 -2
- package/json-schema/api/DatasetQueryBatchResponse.json +8 -2
- package/json-schema/api/DatasetSelection.json +2 -2
- package/json-schema/api/DatasetTotals.json +2 -2
- package/json-schema/api/DeduplicationStrategy.json +2 -2
- package/json-schema/api/DeleteDataRequest.json +2 -2
- package/json-schema/api/DeleteDataResponse.json +2 -2
- package/json-schema/api/DeleteFlowRequest.json +2 -2
- package/json-schema/api/DeleteFlowResponse.json +5 -2
- package/json-schema/api/DeleteManyDataRequest.json +2 -2
- package/json-schema/api/DeleteManyDataResponse.json +8 -2
- package/json-schema/api/DeleteManyRequest.json +2 -2
- package/json-schema/api/DeleteMetaItemRequest.json +2 -2
- package/json-schema/api/DeleteMetaItemResponse.json +53 -2
- package/json-schema/api/DeleteResponse.json +5 -2
- package/json-schema/api/DeviceRequestResponse.json +2 -2
- package/json-schema/api/DeviceTokenResponse.json +2 -2
- package/json-schema/api/DiffMetaItemRequest.json +37 -0
- package/json-schema/api/DiffMetaItemResponse.json +2 -2
- package/json-schema/api/DisablePackageRequest.json +2 -2
- package/json-schema/api/DisablePackageResponse.json +11 -3
- package/json-schema/api/DiscardPackageDraftsResponse.json +2 -2
- package/json-schema/api/Discovery.json +3 -3
- package/json-schema/api/DiscoveryEnvironment.json +2 -2
- package/json-schema/api/DispatcherConfig.json +2 -2
- package/json-schema/api/DispatcherErrorCode.json +2 -2
- package/json-schema/api/DispatcherErrorResponse.json +2 -2
- package/json-schema/api/DispatcherRoute.json +2 -2
- package/json-schema/api/DocumentState.json +2 -2
- package/json-schema/api/DuplicatePackageResponse.json +2 -2
- package/json-schema/api/ETag.json +2 -2
- package/json-schema/api/EditMessage.json +2 -2
- package/json-schema/api/EditOperation.json +2 -2
- package/json-schema/api/EditOperationType.json +2 -2
- package/json-schema/api/EmailPasswordConfigPublic.json +2 -2
- package/json-schema/api/EnablePackageRequest.json +2 -2
- package/json-schema/api/EnablePackageResponse.json +11 -3
- package/json-schema/api/EndpointRegistry.json +2 -2
- package/json-schema/api/EnhancedApiError.json +2 -2
- package/json-schema/api/EnsureCustomizationPackageRequest.json +2 -2
- package/json-schema/api/EnsureCustomizationPackageResponse.json +2 -2
- package/json-schema/api/EnvironmentType.json +2 -2
- package/json-schema/api/ErrorCategory.json +2 -2
- package/json-schema/api/ErrorCode.json +5 -2
- package/json-schema/api/ErrorHandlingConfig.json +2 -2
- package/json-schema/api/ErrorMessage.json +2 -2
- package/json-schema/api/ErrorResponse.json +2 -2
- package/json-schema/api/EventMessage.json +2 -2
- package/json-schema/api/EventPattern.json +2 -2
- package/json-schema/api/EventSubscription.json +2 -2
- package/json-schema/api/ExportFormat.json +2 -2
- package/json-schema/api/ExportImportTemplate.json +2 -2
- package/json-schema/api/ExportRequest.json +2 -2
- package/json-schema/api/FieldError.json +2 -2
- package/json-schema/api/FieldErrorCode.json +2 -2
- package/json-schema/api/FieldMappingEntry.json +2 -2
- package/json-schema/api/FieldSortability.json +2 -2
- package/json-schema/api/FileDownloadUrlResponse.json +5 -2
- package/json-schema/api/FileTypeValidation.json +2 -2
- package/json-schema/api/FileUploadResponse.json +5 -2
- package/json-schema/api/FindDataRequest.json +2 -2
- package/json-schema/api/FindDataResponse.json +2 -2
- package/json-schema/api/FindReferencesToMetaResponse.json +2 -2
- package/json-schema/api/FlowFailureDetails.json +13 -3
- package/json-schema/api/FlowInnerRefusal.json +5 -2
- package/json-schema/api/FlowRegistration.json +2 -2
- package/json-schema/api/FlowRegistrationRefusal.json +2 -2
- package/json-schema/api/GeneratedApiDocumentation.json +2 -2
- package/json-schema/api/GeneratedEndpoint.json +2 -2
- package/json-schema/api/GetAnalyticsMetaRequest.json +2 -2
- package/json-schema/api/GetAuthConfigResponse.json +19 -3
- package/json-schema/api/GetDataRequest.json +2 -2
- package/json-schema/api/GetDataResponse.json +2 -2
- package/json-schema/api/GetDiscoveryRequest.json +2 -2
- package/json-schema/api/GetDiscoveryResponse.json +3 -3
- package/json-schema/api/GetEffectivePermissionsRequest.json +2 -2
- package/json-schema/api/GetEffectivePermissionsResponse.json +2 -2
- package/json-schema/api/GetFieldLabelsRequest.json +2 -2
- package/json-schema/api/GetFieldLabelsResponse.json +2 -2
- package/json-schema/api/GetFlowRequest.json +2 -2
- package/json-schema/api/GetFlowResponse.json +9 -2
- package/json-schema/api/GetInstalledPackageRequest.json +2 -2
- package/json-schema/api/GetInstalledPackageResponse.json +804 -49
- package/json-schema/api/GetLocalesRequest.json +2 -2
- package/json-schema/api/GetLocalesResponse.json +2 -2
- package/json-schema/api/GetMetaDiagnosticsResponse.json +2 -2
- package/json-schema/api/GetMetaItemCachedRequest.json +2 -2
- package/json-schema/api/GetMetaItemCachedResponse.json +2 -2
- package/json-schema/api/GetMetaItemLayeredRequest.json +2 -2
- package/json-schema/api/GetMetaItemLayeredResponse.json +2 -2
- package/json-schema/api/GetMetaItemRequest.json +10 -2
- package/json-schema/api/GetMetaItemResponse.json +3 -3
- package/json-schema/api/GetMetaItemsRequest.json +2 -2
- package/json-schema/api/GetMetaItemsResponse.json +2 -2
- package/json-schema/api/GetMetaTypesRequest.json +2 -2
- package/json-schema/api/GetMetaTypesResponse.json +2 -2
- package/json-schema/api/GetNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/GetNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/GetObjectPermissionsRequest.json +2 -2
- package/json-schema/api/GetObjectPermissionsResponse.json +9 -3
- package/json-schema/api/GetPackageCustomizationsRequest.json +2 -2
- package/json-schema/api/GetPackageCustomizationsResponse.json +2 -2
- package/json-schema/api/GetPackageRequest.json +2 -2
- package/json-schema/api/GetPackageResponse.json +11 -3
- package/json-schema/api/GetPresenceRequest.json +2 -2
- package/json-schema/api/GetPresenceResponse.json +2 -2
- package/json-schema/api/GetPresignedUrlRequest.json +2 -2
- package/json-schema/api/GetPublishedMetaItemResponse.json +2 -2
- package/json-schema/api/GetRecordFieldAccessResponse.json +2 -2
- package/json-schema/api/GetRunRequest.json +2 -2
- package/json-schema/api/GetRunResponse.json +63 -2
- package/json-schema/api/GetTranslationsRequest.json +2 -2
- package/json-schema/api/GetTranslationsResponse.json +214 -3
- package/json-schema/api/GetUiViewRequest.json +2 -2
- package/json-schema/api/GetUiViewResponse.json +70 -8
- package/json-schema/api/HistoryMetaItemRequest.json +6 -2
- package/json-schema/api/HistoryMetaItemResponse.json +2 -2
- package/json-schema/api/HttpFindQueryParams.json +2 -2
- package/json-schema/api/HttpMethod.json +2 -2
- package/json-schema/api/IdRequest.json +2 -2
- package/json-schema/api/ImportJobProgress.json +2 -2
- package/json-schema/api/ImportJobResults.json +2 -2
- package/json-schema/api/ImportJobStatus.json +2 -2
- package/json-schema/api/ImportJobSummary.json +2 -2
- package/json-schema/api/ImportMapping.json +2 -2
- package/json-schema/api/ImportRequest.json +2 -2
- package/json-schema/api/ImportResponse.json +2 -2
- package/json-schema/api/ImportRowResult.json +2 -2
- package/json-schema/api/ImportUnmanagedPackageRequest.json +2 -2
- package/json-schema/api/ImportUnmanagedPackageResponse.json +2 -2
- package/json-schema/api/ImportValidationConfig.json +2 -2
- package/json-schema/api/ImportValidationMode.json +2 -2
- package/json-schema/api/ImportValidationResult.json +5 -2
- package/json-schema/api/ImportWriteMode.json +2 -2
- package/json-schema/api/InitiateChunkedUploadRequest.json +2 -2
- package/json-schema/api/InitiateChunkedUploadResponse.json +5 -2
- package/json-schema/api/InstallPackageRequest.json +11 -3
- package/json-schema/api/InstallPackageResponse.json +11 -3
- package/json-schema/api/InstalledPackageAtEitherStage.json +801 -49
- package/json-schema/api/ListAiConversationsRequest.json +2 -2
- package/json-schema/api/ListAiConversationsResponse.json +2 -2
- package/json-schema/api/ListAiPendingActionsRequest.json +2 -2
- package/json-schema/api/ListAiPendingActionsResponse.json +2 -2
- package/json-schema/api/ListDraftsResponse.json +2 -2
- package/json-schema/api/ListImportJobsRequest.json +2 -2
- package/json-schema/api/ListImportJobsResponse.json +2 -2
- package/json-schema/api/ListInstalledPackagesRequest.json +2 -2
- package/json-schema/api/ListInstalledPackagesResponse.json +804 -49
- package/json-schema/api/ListNotificationsRequest.json +2 -2
- package/json-schema/api/ListNotificationsResponse.json +2 -2
- package/json-schema/api/ListPackageCommitsResponse.json +2 -2
- package/json-schema/api/ListPackagesRequest.json +2 -2
- package/json-schema/api/ListPackagesResponse.json +11 -3
- package/json-schema/api/ListRecordResponse.json +5 -2
- package/json-schema/api/ListRunsRequest.json +2 -2
- package/json-schema/api/ListRunsResponse.json +63 -2
- package/json-schema/api/LoginRequest.json +2 -2
- package/json-schema/api/LoginType.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadResponse.json +2 -2
- package/json-schema/api/MarkNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkNotificationsReadResponse.json +2 -2
- package/json-schema/api/MePermissionsAnonymousResponse.json +2 -2
- package/json-schema/api/MePermissionsAuthenticatedResponse.json +11 -3
- package/json-schema/api/MePermissionsResponse.json +11 -3
- package/json-schema/api/MetadataAuthoringClient.json +2 -2
- package/json-schema/api/MetadataAuthoringSurface.json +2 -2
- package/json-schema/api/MetadataBulkRegisterRequest.json +2 -2
- package/json-schema/api/MetadataBulkResponse.json +5 -2
- package/json-schema/api/MetadataBulkUnregisterRequest.json +2 -2
- package/json-schema/api/MetadataCacheRequest.json +2 -2
- package/json-schema/api/MetadataCacheResponse.json +2 -2
- package/json-schema/api/MetadataConflictError.json +2 -2
- package/json-schema/api/MetadataDeleteResponse.json +5 -2
- package/json-schema/api/MetadataDependenciesResponse.json +5 -2
- package/json-schema/api/MetadataDependentsResponse.json +5 -2
- package/json-schema/api/MetadataEndpointsConfig.json +3 -3
- package/json-schema/api/MetadataEvent.json +2 -2
- package/json-schema/api/MetadataEventType.json +2 -2
- package/json-schema/api/MetadataExistsResponse.json +5 -2
- package/json-schema/api/MetadataExportRequest.json +2 -2
- package/json-schema/api/MetadataExportResponse.json +5 -2
- package/json-schema/api/MetadataImportRequest.json +2 -2
- package/json-schema/api/MetadataImportResponse.json +5 -2
- package/json-schema/api/MetadataItemResponse.json +5 -2
- package/json-schema/api/MetadataListResponse.json +5 -2
- package/json-schema/api/MetadataNamesResponse.json +5 -2
- package/json-schema/api/MetadataQueryRequest.json +2 -2
- package/json-schema/api/MetadataQueryResponse.json +5 -2
- package/json-schema/api/MetadataRegisterRequest.json +2 -2
- package/json-schema/api/MetadataTypeInfoResponse.json +184 -10
- package/json-schema/api/MetadataTypesResponse.json +5 -2
- package/json-schema/api/MetadataValidateRequest.json +2 -2
- package/json-schema/api/MetadataValidateResponse.json +5 -2
- package/json-schema/api/ModificationResult.json +5 -2
- package/json-schema/api/Notification.json +2 -2
- package/json-schema/api/NotificationPreferences.json +2 -2
- package/json-schema/api/ODataConfig.json +2 -2
- package/json-schema/api/ODataError.json +2 -2
- package/json-schema/api/ODataFilterFunction.json +2 -2
- package/json-schema/api/ODataMetadata.json +2 -2
- package/json-schema/api/ODataQuery.json +2 -2
- package/json-schema/api/ODataQueryAdapter.json +2 -2
- package/json-schema/api/ODataResponse.json +2 -2
- package/json-schema/api/ObjectDefinitionResponse.json +243 -18
- package/json-schema/api/ObjectSortability.json +2 -2
- package/json-schema/api/OneTimeTokenHandoffQuery.json +2 -2
- package/json-schema/api/OneTimeTokenVerifyRequest.json +2 -2
- package/json-schema/api/OneTimeTokenVerifyResponse.json +2 -2
- package/json-schema/api/OpenApiGenerationConfig.json +2 -2
- package/json-schema/api/OpenApiSecurityScheme.json +2 -2
- package/json-schema/api/OpenApiServer.json +2 -2
- package/json-schema/api/OpenApiSpec.json +2 -2
- package/json-schema/api/OperatorMapping.json +2 -2
- package/json-schema/api/OrganizationEditionChoice.json +2 -2
- package/json-schema/api/PackageApiErrorCode.json +2 -2
- package/json-schema/api/PackageExportBundle.json +2 -2
- package/json-schema/api/PackageExportManifest.json +2 -2
- package/json-schema/api/PackageInstallBody.json +20 -4
- package/json-schema/api/PackageInstallManifest.json +11 -3
- package/json-schema/api/PackageInstallRequest.json +11 -3
- package/json-schema/api/PackageInstallResponse.json +14 -3
- package/json-schema/api/PackagePathParams.json +2 -2
- package/json-schema/api/PackagePublishResult.json +2 -2
- package/json-schema/api/PackageRollbackRequest.json +2 -2
- package/json-schema/api/PackageUpgradeRequest.json +11 -3
- package/json-schema/api/PackageUpgradeResponse.json +5 -2
- package/json-schema/api/PingMessage.json +2 -2
- package/json-schema/api/PongMessage.json +2 -2
- package/json-schema/api/PresenceMessage.json +2 -2
- package/json-schema/api/PresenceState.json +2 -2
- package/json-schema/api/PresenceStatus.json +2 -2
- package/json-schema/api/PresenceUpdate.json +2 -2
- package/json-schema/api/PresignedUrlResponse.json +5 -2
- package/json-schema/api/ProvenanceWaiver.json +2 -2
- package/json-schema/api/PublicFormSubmitResponse.json +2 -2
- package/json-schema/api/PublishMetaItemRequest.json +10 -2
- package/json-schema/api/PublishMetaItemResponse.json +2 -2
- package/json-schema/api/PublishPackageDraftsRequest.json +2 -2
- package/json-schema/api/PublishPackageDraftsResponse.json +169 -5
- package/json-schema/api/PushDeliveryData.json +2 -2
- package/json-schema/api/PushRelayDelivery.json +2 -2
- package/json-schema/api/PushRelayError.json +2 -2
- package/json-schema/api/PushRelayErrorResponse.json +2 -2
- package/json-schema/api/PushRelayPayload.json +2 -2
- package/json-schema/api/PushRelayPriority.json +2 -2
- package/json-schema/api/PushRelayRequest.json +2 -2
- package/json-schema/api/PushRelayResponse.json +2 -2
- package/json-schema/api/PushRelayResult.json +2 -2
- package/json-schema/api/PushRelayResultStatus.json +2 -2
- package/json-schema/api/PushRoute.json +2 -2
- package/json-schema/api/QueryAdapterConfig.json +2 -2
- package/json-schema/api/QueryAdapterTarget.json +2 -2
- package/json-schema/api/QueryOptimizationConfig.json +2 -2
- package/json-schema/api/RawUploadResponse.json +5 -2
- package/json-schema/api/RealtimeConfig.json +2 -2
- package/json-schema/api/RealtimeConnectRequest.json +2 -2
- package/json-schema/api/RealtimeConnectResponse.json +2 -2
- package/json-schema/api/RealtimeDisconnectRequest.json +2 -2
- package/json-schema/api/RealtimeDisconnectResponse.json +2 -2
- package/json-schema/api/RealtimeEvent.json +2 -2
- package/json-schema/api/RealtimeEventType.json +2 -2
- package/json-schema/api/RealtimePresence.json +2 -2
- package/json-schema/api/RealtimeRecordAction.json +2 -2
- package/json-schema/api/RealtimeSubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeSubscribeResponse.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeResponse.json +2 -2
- package/json-schema/api/ReassignOrphanedMetadataResponse.json +2 -2
- package/json-schema/api/RecordData.json +2 -2
- package/json-schema/api/RecordPageActivityRequest.json +2 -2
- package/json-schema/api/RecordPageApprovals.json +2 -2
- package/json-schema/api/RecordPageAttachmentsRequest.json +2 -2
- package/json-schema/api/RecordPageDiscussion.json +2 -2
- package/json-schema/api/RecordPageDiscussionReactions.json +2 -2
- package/json-schema/api/RecordPageExplainAnswer.json +2 -2
- package/json-schema/api/RecordPageExplainOperation.json +2 -2
- package/json-schema/api/RecordPagePartError.json +2 -2
- package/json-schema/api/RecordPagePartRefusal.json +2 -2
- package/json-schema/api/RecordPageRelatedAnswer.json +2 -2
- package/json-schema/api/RecordPageRelatedRefusal.json +2 -2
- package/json-schema/api/RecordPageRelatedRequest.json +2 -2
- package/json-schema/api/RecordPageRelatedRows.json +2 -2
- package/json-schema/api/RecordPageRequest.json +2 -2
- package/json-schema/api/RecordPageResponse.json +2 -2
- package/json-schema/api/RecordPageStreamRefusal.json +2 -2
- package/json-schema/api/RecordPageStreamRows.json +2 -2
- package/json-schema/api/RecordPageTimelineCount.json +2 -2
- package/json-schema/api/RecordPageTimelineRequest.json +2 -2
- package/json-schema/api/RefreshTokenRequest.json +2 -2
- package/json-schema/api/RegisterDeviceRequest.json +2 -2
- package/json-schema/api/RegisterDeviceResponse.json +2 -2
- package/json-schema/api/RegisterRequest.json +2 -2
- package/json-schema/api/RejectAiPendingActionResponse.json +2 -2
- package/json-schema/api/RequestValidationConfig.json +2 -2
- package/json-schema/api/ResolveDependenciesRequest.json +11 -3
- package/json-schema/api/ResolveDependenciesResponse.json +5 -2
- package/json-schema/api/ResolvedBook.json +2 -2
- package/json-schema/api/ResolvedEntry.json +2 -2
- package/json-schema/api/ResolvedGroup.json +2 -2
- package/json-schema/api/ResponseEnvelopeConfig.json +2 -2
- package/json-schema/api/RestApiConfig.json +2 -2
- package/json-schema/api/RestApiEndpoint.json +2 -2
- package/json-schema/api/RestApiPluginConfig.json +2 -2
- package/json-schema/api/RestApiRouteCategory.json +2 -2
- package/json-schema/api/RestApiRouteRegistration.json +2 -2
- package/json-schema/api/RestQueryAdapter.json +2 -2
- package/json-schema/api/RestServerConfig.json +3 -3
- package/json-schema/api/ResumeFailureDetails.json +2 -2
- package/json-schema/api/RetryStrategy.json +2 -2
- package/json-schema/api/RevertPackageCommitResponse.json +2 -2
- package/json-schema/api/RollbackMetaItemRequest.json +40 -0
- package/json-schema/api/RollbackMetaItemResponse.json +2 -2
- package/json-schema/api/RollbackToPackageCommitResponse.json +2 -2
- package/json-schema/api/RouteCategory.json +2 -2
- package/json-schema/api/RouteDefinition.json +2 -2
- package/json-schema/api/RouteGenerationConfig.json +2 -2
- package/json-schema/api/RouteHealthEntry.json +2 -2
- package/json-schema/api/RouteHealthReport.json +2 -2
- package/json-schema/api/RouterConfig.json +2 -2
- package/json-schema/api/RuntimeAuthoringIssue.json +2 -2
- package/json-schema/api/RuntimeBuildIssue.json +87 -0
- package/json-schema/api/SaveMetaItemRequest.json +11 -3
- package/json-schema/api/SaveMetaItemResponse.json +2 -2
- package/json-schema/api/SearchAllHit.json +2 -2
- package/json-schema/api/SearchAllPageHit.json +2 -2
- package/json-schema/api/SearchAllResponse.json +2 -2
- package/json-schema/api/SeedAppliedIdList.json +2 -2
- package/json-schema/api/SeedAppliedLanded.json +2 -2
- package/json-schema/api/ServiceInfo.json +2 -2
- package/json-schema/api/ServiceSelfInfo.json +2 -2
- package/json-schema/api/ServiceStatus.json +2 -2
- package/json-schema/api/Session.json +2 -2
- package/json-schema/api/SessionResponse.json +5 -2
- package/json-schema/api/SessionUser.json +2 -2
- package/json-schema/api/SetPresenceRequest.json +2 -2
- package/json-schema/api/SetPresenceResponse.json +2 -2
- package/json-schema/api/SimpleCursorPosition.json +2 -2
- package/json-schema/api/SimplePresenceState.json +2 -2
- package/json-schema/api/SingleRecordResponse.json +5 -2
- package/json-schema/api/StandardErrorCode.json +2 -2
- package/json-schema/api/StandardSynonymWaiver.json +2 -2
- package/json-schema/api/SubscribeMessage.json +2 -2
- package/json-schema/api/Subscription.json +2 -2
- package/json-schema/api/SubscriptionEvent.json +2 -2
- package/json-schema/api/ToggleFlowRequest.json +2 -2
- package/json-schema/api/ToggleFlowResponse.json +5 -2
- package/json-schema/api/TransportProtocol.json +2 -2
- package/json-schema/api/TriggerFlowRequest.json +2 -2
- package/json-schema/api/TriggerFlowResponse.json +16 -3
- package/json-schema/api/UndoImportJobResponse.json +2 -2
- package/json-schema/api/UninstallPackageApiRequest.json +2 -2
- package/json-schema/api/UninstallPackageApiResponse.json +5 -2
- package/json-schema/api/UninstallPackageRequest.json +2 -2
- package/json-schema/api/UninstallPackageResponse.json +2 -2
- package/json-schema/api/UnregisterDeviceRequest.json +2 -2
- package/json-schema/api/UnregisterDeviceResponse.json +2 -2
- package/json-schema/api/UnsubscribeMessage.json +2 -2
- package/json-schema/api/UnsubscribeRequest.json +2 -2
- package/json-schema/api/UpdateAiConversationRequest.json +2 -2
- package/json-schema/api/UpdateDataRequest.json +2 -2
- package/json-schema/api/UpdateDataResponse.json +2 -2
- package/json-schema/api/UpdateFlowRequest.json +6 -2
- package/json-schema/api/UpdateFlowResponse.json +9 -2
- package/json-schema/api/UpdateManyDataRequest.json +2 -2
- package/json-schema/api/UpdateManyDataResponse.json +8 -2
- package/json-schema/api/UpdateManyRecord.json +2 -2
- package/json-schema/api/UpdateManyRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/UpdateRequest.json +2 -2
- package/json-schema/api/UploadArtifactRequest.json +2 -2
- package/json-schema/api/UploadArtifactResponse.json +5 -2
- package/json-schema/api/UploadChunkRequest.json +2 -2
- package/json-schema/api/UploadChunkResponse.json +5 -2
- package/json-schema/api/UploadProgress.json +5 -2
- package/json-schema/api/UploadScope.json +2 -2
- package/json-schema/api/UserProfileResponse.json +5 -2
- package/json-schema/api/ValidateDataIssue.json +2 -2
- package/json-schema/api/ValidateDataRequest.json +2 -2
- package/json-schema/api/ValidateDataResponse.json +2 -2
- package/json-schema/api/ValidationMode.json +2 -2
- package/json-schema/api/VersionDefinition.json +2 -2
- package/json-schema/api/VersionNegotiationResponse.json +2 -2
- package/json-schema/api/VersionStatus.json +2 -2
- package/json-schema/api/VersioningConfig.json +2 -2
- package/json-schema/api/VersioningStrategy.json +2 -2
- package/json-schema/api/WebSocketConfig.json +2 -2
- package/json-schema/api/WebSocketEvent.json +2 -2
- package/json-schema/api/WebSocketMessage.json +2 -2
- package/json-schema/api/WebSocketMessageType.json +2 -2
- package/json-schema/api/WebSocketPresenceStatus.json +2 -2
- package/json-schema/api/WebSocketServerConfig.json +2 -2
- package/json-schema/api/WellKnownCapabilities.json +2 -2
- package/json-schema/automation/ActionCategory.json +2 -2
- package/json-schema/automation/ActionDescriptor.json +2 -2
- package/json-schema/automation/ActionParadigm.json +2 -2
- package/json-schema/automation/ApiTriggerBodySignature.json +2 -2
- package/json-schema/automation/ApiTriggerSecretRef.json +2 -2
- package/json-schema/automation/ApiTriggerSignature.json +2 -2
- package/json-schema/automation/ApiTriggerTimestampedSignature.json +2 -2
- package/json-schema/automation/ApprovalDecision.json +2 -2
- package/json-schema/automation/ApprovalEscalation.json +2 -2
- package/json-schema/automation/ApprovalNodeApprover.json +10 -5
- package/json-schema/automation/ApprovalNodeConfig.json +18 -8
- package/json-schema/automation/ApproverType.json +5 -4
- package/json-schema/automation/AssignmentConfig.json +2 -2
- package/json-schema/automation/AssignmentExpressionValue.json +2 -2
- package/json-schema/automation/AssignmentRule.json +2 -2
- package/json-schema/automation/AssignmentRuleEntry.json +2 -2
- package/json-schema/automation/AssignmentStrategy.json +2 -2
- package/json-schema/automation/AssignmentTarget.json +2 -2
- package/json-schema/automation/AssignmentValue.json +2 -2
- package/json-schema/automation/BpmnDiagnostic.json +2 -2
- package/json-schema/automation/BpmnElementMapping.json +2 -2
- package/json-schema/automation/BpmnExportOptions.json +2 -2
- package/json-schema/automation/BpmnImportOptions.json +2 -2
- package/json-schema/automation/BpmnInteropResult.json +2 -2
- package/json-schema/automation/BpmnUnmappedStrategy.json +2 -2
- package/json-schema/automation/BpmnVersion.json +2 -2
- package/json-schema/automation/Checkpoint.json +2 -2
- package/json-schema/automation/ConcurrencyPolicy.json +2 -2
- package/json-schema/automation/CreateRecordConfig.json +4 -4
- package/json-schema/automation/DecisionCondition.json +2 -2
- package/json-schema/automation/DecisionConfig.json +2 -2
- package/json-schema/automation/DecisionOutputDef.json +2 -2
- package/json-schema/automation/DeleteRecordConfig.json +2 -2
- package/json-schema/automation/EndConfig.json +2 -2
- package/json-schema/automation/ExecutionError.json +2 -2
- package/json-schema/automation/ExecutionErrorSeverity.json +2 -2
- package/json-schema/automation/ExecutionLog.json +60 -2
- package/json-schema/automation/ExecutionStatus.json +2 -2
- package/json-schema/automation/ExecutionStepLog.json +47 -2
- package/json-schema/automation/ExecutionStepMetrics.json +2 -2
- package/json-schema/automation/ExecutionStepSkipReason.json +2 -2
- package/json-schema/automation/Flow.json +6 -2
- package/json-schema/automation/FlowCollectionSlot.json +2 -2
- package/json-schema/automation/FlowEdge.json +2 -2
- package/json-schema/automation/FlowFunctionEffect.json +2 -2
- package/json-schema/automation/FlowFunctionLoweredDeclaration.json +2 -2
- package/json-schema/automation/FlowNode.json +2 -2
- package/json-schema/automation/FlowNodeAction.json +2 -2
- package/json-schema/automation/FlowRecordFieldValue.json +14 -0
- package/json-schema/automation/FlowRegion.json +2 -2
- package/json-schema/automation/FlowRunGateSummary.json +2 -2
- package/json-schema/automation/FlowRunNodeSummary.json +9 -2
- package/json-schema/automation/FlowRunSummary.json +9 -2
- package/json-schema/automation/FlowValueSlot.json +2 -2
- package/json-schema/automation/FlowVariable.json +2 -2
- package/json-schema/automation/FlowVersionHistory.json +6 -2
- package/json-schema/automation/GetRecordConfig.json +2 -2
- package/json-schema/automation/HttpConfig.json +2 -2
- package/json-schema/automation/LoopConfig.json +2 -2
- package/json-schema/automation/MapConfig.json +2 -2
- package/json-schema/automation/NodeExecutorDescriptor.json +2 -2
- package/json-schema/automation/NotifyConfig.json +2 -2
- package/json-schema/automation/NotifyEmailFieldRecipient.json +2 -2
- package/json-schema/automation/ParallelBranch.json +2 -2
- package/json-schema/automation/ParallelConfig.json +2 -2
- package/json-schema/automation/RetryPolicy.json +2 -2
- package/json-schema/automation/SaveNoticeConfig.json +2 -2
- package/json-schema/automation/ScheduleOrganization.json +2 -2
- package/json-schema/automation/ScreenConfig.json +2 -2
- package/json-schema/automation/ScreenFieldConfig.json +2 -2
- package/json-schema/automation/ScriptConfig.json +2 -2
- package/json-schema/automation/SubflowConfig.json +2 -2
- package/json-schema/automation/TimeRelativeTrigger.json +2 -2
- package/json-schema/automation/TryCatchConfig.json +2 -2
- package/json-schema/automation/TryCatchErrorValue.json +2 -2
- package/json-schema/automation/UpdateRecordConfig.json +4 -4
- package/json-schema/automation/WaitEventType.json +2 -2
- package/json-schema/automation/WaitExecutorConfig.json +2 -2
- package/json-schema/automation/WaitResumePayload.json +2 -2
- package/json-schema/automation/WaitTimeoutBehavior.json +2 -2
- package/json-schema/automation/Webhook.json +2 -3
- package/json-schema/automation/WebhookTriggerType.json +2 -2
- package/json-schema/data/Address.json +2 -2
- package/json-schema/data/AddressValue.json +2 -2
- package/json-schema/data/AggregationFunction.json +2 -2
- package/json-schema/data/AggregationMetricType.json +2 -2
- package/json-schema/data/AggregationNode.json +2 -2
- package/json-schema/data/AggregationPipeline.json +2 -2
- package/json-schema/data/AggregationStage.json +2 -2
- package/json-schema/data/AnalyticsDateRange.json +2 -2
- package/json-schema/data/AnalyticsDateRangePreset.json +2 -2
- package/json-schema/data/AnalyticsQuery.json +2 -2
- package/json-schema/data/ApiMethod.json +2 -2
- package/json-schema/data/ApiOperation.json +2 -2
- package/json-schema/data/AutoPersistenceConfig.json +2 -2
- package/json-schema/data/BaseEngineOptions.json +36 -7
- package/json-schema/data/BodyActivityAppendInput.json +2 -2
- package/json-schema/data/BodyDoorRecordRef.json +2 -2
- package/json-schema/data/BodyMailSendInput.json +2 -2
- package/json-schema/data/CalendarDateValue.json +2 -2
- package/json-schema/data/ClockTimeValue.json +2 -2
- package/json-schema/data/ColumnApplyOn.json +2 -2
- package/json-schema/data/ComparisonOperator.json +2 -2
- package/json-schema/data/ConditionalValidation.json +2 -2
- package/json-schema/data/ConsistencyLevel.json +2 -2
- package/json-schema/data/ContextToken.json +2 -2
- package/json-schema/data/ContextTokenPlaceholder.json +2 -2
- package/json-schema/data/CrossFieldValidation.json +2 -2
- package/json-schema/data/Cube.json +2 -2
- package/json-schema/data/CubeJoin.json +2 -2
- package/json-schema/data/CurrencyConfig.json +2 -2
- package/json-schema/data/DataEngineAggregateOptions.json +36 -7
- package/json-schema/data/DataEngineCountOptions.json +36 -7
- package/json-schema/data/DataEngineDeleteOptions.json +36 -7
- package/json-schema/data/DataEngineFilter.json +2 -2
- package/json-schema/data/DataEngineInsertOptions.json +36 -7
- package/json-schema/data/DataEngineQueryOptions.json +36 -7
- package/json-schema/data/DataEngineSort.json +2 -2
- package/json-schema/data/DataEngineUpdateOptions.json +36 -7
- package/json-schema/data/DataTypeMapping.json +2 -2
- package/json-schema/data/Datasource.json +2 -2
- package/json-schema/data/DateGranularity.json +2 -2
- package/json-schema/data/DateMacroPlaceholder.json +2 -2
- package/json-schema/data/DateMacroToken.json +2 -2
- package/json-schema/data/Dimension.json +2 -2
- package/json-schema/data/DimensionType.json +2 -2
- package/json-schema/data/DocumentSchemaValidation.json +2 -2
- package/json-schema/data/DriverCapabilities.json +18 -2
- package/json-schema/data/DriverConfig.json +18 -2
- package/json-schema/data/DriverDefinition.json +2 -2
- package/json-schema/data/DriverOptions.json +6 -2
- package/json-schema/data/DriverSslToggle.json +2 -2
- package/json-schema/data/DriverType.json +2 -2
- package/json-schema/data/DroppedFieldsEvent.json +2 -2
- package/json-schema/data/EngineAggregateOptions.json +36 -7
- package/json-schema/data/EngineCountOptions.json +36 -7
- package/json-schema/data/EngineDeleteOptions.json +36 -7
- package/json-schema/data/EngineQueryOptions.json +36 -7
- package/json-schema/data/EngineUpdateOptions.json +36 -7
- package/json-schema/data/EqualityOperator.json +2 -2
- package/json-schema/data/ExpressionBody.json +2 -2
- package/json-schema/data/ExternalCatalog.json +2 -2
- package/json-schema/data/ExternalColumn.json +2 -2
- package/json-schema/data/ExternalDatasourceSettings.json +2 -2
- package/json-schema/data/ExternalTable.json +2 -2
- package/json-schema/data/FeedFilterMode.json +2 -2
- package/json-schema/data/FeedItemType.json +2 -2
- package/json-schema/data/Field.json +16 -5
- package/json-schema/data/FieldMaskingKeep.json +2 -2
- package/json-schema/data/FieldMaskingRule.json +2 -2
- package/json-schema/data/FieldNode.json +2 -2
- package/json-schema/data/FieldOperators.json +2 -2
- package/json-schema/data/FieldReference.json +2 -2
- package/json-schema/data/FieldType.json +2 -2
- package/json-schema/data/FileLikeValue.json +2 -2
- package/json-schema/data/FilePersistenceConfig.json +2 -2
- package/json-schema/data/FileReferenceIdValue.json +2 -2
- package/json-schema/data/FileRefusedValue.json +2 -2
- package/json-schema/data/FileValue.json +2 -2
- package/json-schema/data/FilterArray.json +2 -2
- package/json-schema/data/FilterCondition.json +2 -2
- package/json-schema/data/FormatValidation.json +2 -2
- package/json-schema/data/FullTextSearch.json +2 -2
- package/json-schema/data/GroupByNode.json +2 -2
- package/json-schema/data/Hook.json +76 -7
- package/json-schema/data/HookBody.json +2 -2
- package/json-schema/data/HookBodyCapability.json +2 -2
- package/json-schema/data/HookContext.json +15 -3
- package/json-schema/data/HookEvent.json +2 -2
- package/json-schema/data/HookRefusal.json +40 -4
- package/json-schema/data/HookText.json +32 -0
- package/json-schema/data/ImportFieldMapping.json +2 -2
- package/json-schema/data/Index.json +2 -2
- package/json-schema/data/InlineGridColumn.json +2 -2
- package/json-schema/data/InstantValue.json +2 -2
- package/json-schema/data/JSONValidation.json +2 -2
- package/json-schema/data/Lifecycle.json +6 -2
- package/json-schema/data/LifecycleClass.json +2 -2
- package/json-schema/data/LocalStoragePersistenceConfig.json +2 -2
- package/json-schema/data/LocationCoordinates.json +2 -2
- package/json-schema/data/LocationValue.json +2 -2
- package/json-schema/data/LookupFilterRecordReference.json +18 -0
- package/json-schema/data/Mapping.json +4 -3
- package/json-schema/data/Metric.json +2 -2
- package/json-schema/data/MongoConfig.json +2 -2
- package/json-schema/data/MssqlConfig.json +2 -2
- package/json-schema/data/MysqlConfig.json +2 -2
- package/json-schema/data/NoSQLDataTypeMapping.json +2 -2
- package/json-schema/data/NoSQLDatabaseType.json +2 -2
- package/json-schema/data/NoSQLDriverConfig.json +18 -2
- package/json-schema/data/NoSQLIndex.json +2 -2
- package/json-schema/data/NoSQLIndexType.json +2 -2
- package/json-schema/data/NoSQLOperationType.json +2 -2
- package/json-schema/data/NoSQLQueryOptions.json +2 -2
- package/json-schema/data/NoSQLTransactionOptions.json +2 -2
- package/json-schema/data/NormalizedFilter.json +2 -2
- package/json-schema/data/NowAnchor.json +2 -2
- package/json-schema/data/Object.json +240 -18
- package/json-schema/data/ObjectAccessConfig.json +2 -2
- package/json-schema/data/ObjectCapabilities.json +2 -2
- package/json-schema/data/ObjectDependencyGraph.json +2 -2
- package/json-schema/data/ObjectDependencyNode.json +2 -2
- package/json-schema/data/ObjectExtension.json +16 -5
- package/json-schema/data/ObjectExternalBinding.json +2 -2
- package/json-schema/data/ObjectFieldGroup.json +3 -2
- package/json-schema/data/ObjectOwnershipEnum.json +2 -2
- package/json-schema/data/ObjectRequiredPermissions.json +2 -2
- package/json-schema/data/OracleConfig.json +2 -2
- package/json-schema/data/PerOperationRequiredPermissions.json +2 -2
- package/json-schema/data/PersistenceType.json +2 -2
- package/json-schema/data/Picklist.json +2 -2
- package/json-schema/data/PicklistExtension.json +2 -2
- package/json-schema/data/PicklistServedField.json +2 -2
- package/json-schema/data/PoolConfig.json +2 -2
- package/json-schema/data/PostgresConfig.json +2 -2
- package/json-schema/data/Query.json +2 -2
- package/json-schema/data/QueryFilter.json +2 -2
- package/json-schema/data/QueryPageWindow.json +2 -2
- package/json-schema/data/QueryPageWindowParam.json +2 -2
- package/json-schema/data/QueryTransportParams.json +2 -2
- package/json-schema/data/QueryWithTransport.json +2 -2
- package/json-schema/data/RangeOperator.json +2 -2
- package/json-schema/data/RecycleBinClearedReference.json +2 -2
- package/json-schema/data/RecycleBinEntry.json +2 -2
- package/json-schema/data/RecycleBinRetentionDays.json +2 -2
- package/json-schema/data/RecycleBinRetentionDaysEnv.json +2 -2
- package/json-schema/data/RecycleBinSnapshot.json +2 -2
- package/json-schema/data/RecycleBinSnapshotRow.json +2 -2
- package/json-schema/data/ReferenceIdValue.json +2 -2
- package/json-schema/data/ReferenceNameOnlyValue.json +2 -2
- package/json-schema/data/ReferenceResolution.json +2 -2
- package/json-schema/data/ReferenceResolutionError.json +2 -2
- package/json-schema/data/ReplicationConfig.json +2 -2
- package/json-schema/data/RowCrudActionOverride.json +2 -2
- package/json-schema/data/SQLDialect.json +2 -2
- package/json-schema/data/SQLDriverConfig.json +18 -2
- package/json-schema/data/SSLConfig.json +2 -2
- package/json-schema/data/SchemaMode.json +2 -2
- package/json-schema/data/ScriptBody.json +2 -2
- package/json-schema/data/ScriptValidation.json +2 -2
- package/json-schema/data/Seed.json +11 -3
- package/json-schema/data/SeedColumn.json +2 -2
- package/json-schema/data/SeedFileContent.json +2 -2
- package/json-schema/data/SeedFilePath.json +2 -2
- package/json-schema/data/SeedFileReference.json +2 -2
- package/json-schema/data/SeedIdentity.json +2 -2
- package/json-schema/data/SeedLoadResult.json +2 -2
- package/json-schema/data/SeedLoaderConfig.json +2 -2
- package/json-schema/data/SeedLoaderRequest.json +11 -3
- package/json-schema/data/SeedLoaderResult.json +2 -2
- package/json-schema/data/SeedMode.json +2 -2
- package/json-schema/data/SelectOption.json +2 -2
- package/json-schema/data/SetOperator.json +2 -2
- package/json-schema/data/ShardingConfig.json +2 -2
- package/json-schema/data/SortNode.json +2 -2
- package/json-schema/data/SpecialOperator.json +2 -2
- package/json-schema/data/SqlAutoMigrate.json +2 -2
- package/json-schema/data/SqliteConfig.json +2 -2
- package/json-schema/data/SqliteWasmConfig.json +2 -2
- package/json-schema/data/SqliteWasmPersistMode.json +2 -2
- package/json-schema/data/StateMachineValidation.json +2 -2
- package/json-schema/data/StringOperator.json +2 -2
- package/json-schema/data/TenancyConfig.json +2 -2
- package/json-schema/data/TimeUpdateInterval.json +2 -2
- package/json-schema/data/TransformType.json +2 -2
- package/json-schema/data/TursoConfig.json +2 -2
- package/json-schema/data/TursoTransportMode.json +2 -2
- package/json-schema/data/UniqueScope.json +2 -2
- package/json-schema/data/ValidationAdvisoryEvent.json +2 -2
- package/json-schema/data/ValidationRule.json +2 -2
- package/json-schema/identity/Account.json +2 -2
- package/json-schema/identity/EvalUser.json +2 -2
- package/json-schema/identity/Invitation.json +2 -2
- package/json-schema/identity/InvitationStatus.json +2 -2
- package/json-schema/identity/Member.json +2 -2
- package/json-schema/identity/Organization.json +2 -2
- package/json-schema/identity/Position.json +3 -3
- package/json-schema/identity/SCIMAddress.json +2 -2
- package/json-schema/identity/SCIMBulkOperation.json +2 -2
- package/json-schema/identity/SCIMBulkRequest.json +2 -2
- package/json-schema/identity/SCIMBulkResponse.json +2 -2
- package/json-schema/identity/SCIMBulkResponseOperation.json +2 -2
- package/json-schema/identity/SCIMEmail.json +2 -2
- package/json-schema/identity/SCIMEnterpriseUser.json +2 -2
- package/json-schema/identity/SCIMError.json +2 -2
- package/json-schema/identity/SCIMGroup.json +2 -2
- package/json-schema/identity/SCIMGroupReference.json +2 -2
- package/json-schema/identity/SCIMListResponse.json +2 -2
- package/json-schema/identity/SCIMMemberReference.json +2 -2
- package/json-schema/identity/SCIMMeta.json +2 -2
- package/json-schema/identity/SCIMName.json +2 -2
- package/json-schema/identity/SCIMPatchOperation.json +2 -2
- package/json-schema/identity/SCIMPatchRequest.json +2 -2
- package/json-schema/identity/SCIMPhoneNumber.json +2 -2
- package/json-schema/identity/SCIMUser.json +2 -2
- package/json-schema/identity/User.json +2 -2
- package/json-schema/identity/VerificationToken.json +2 -2
- package/json-schema/integration/Connector.json +2 -2
- package/json-schema/integration/ConnectorAction.json +2 -2
- package/json-schema/integration/ConnectorActionEffect.json +2 -2
- package/json-schema/integration/ConnectorAppCredentialVendor.json +2 -2
- package/json-schema/integration/ConnectorInstanceAPIKeyAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceAppCredentialAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceBasicAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceBearerAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceNoAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceOAuth2Auth.json +2 -2
- package/json-schema/integration/ConnectorInstanceOAuth2AuthorizationCodeAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceOAuth2ClientCredentialsAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedAlipayV3Auth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedAliyunAcs3Auth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedAuth.json +2 -2
- package/json-schema/integration/ConnectorInstanceSignedTencentCloudTc3Auth.json +2 -2
- package/json-schema/integration/ConnectorOAuth2Grant.json +2 -2
- package/json-schema/integration/ConnectorRetryStrategy.json +2 -2
- package/json-schema/integration/ConnectorSigningScheme.json +2 -2
- package/json-schema/integration/ConnectorType.json +2 -2
- package/json-schema/integration/DeclarativeConnectorEntry.json +2 -2
- package/json-schema/integration/RetryConfig.json +2 -2
- package/json-schema/kernel/ArtifactChecksum.json +2 -2
- package/json-schema/kernel/ArtifactFileEntry.json +2 -2
- package/json-schema/kernel/ArtifactSignature.json +2 -2
- package/json-schema/kernel/AuthGateCode.json +2 -2
- package/json-schema/kernel/AuthGateScope.json +2 -2
- package/json-schema/kernel/BreakingChange.json +2 -2
- package/json-schema/kernel/CapabilityConformanceLevel.json +2 -2
- package/json-schema/kernel/ClusterCapabilityConfig.json +2 -2
- package/json-schema/kernel/ClusterDriver.json +2 -2
- package/json-schema/kernel/ClusterTenantIsolation.json +2 -2
- package/json-schema/kernel/CompatibilityLevel.json +2 -2
- package/json-schema/kernel/CompatibilityMatrixEntry.json +2 -2
- package/json-schema/kernel/DeadLetterQueueEntry.json +2 -2
- package/json-schema/kernel/DependencyConflict.json +2 -2
- package/json-schema/kernel/DependencyGraph.json +2 -2
- package/json-schema/kernel/DependencyGraphNode.json +2 -2
- package/json-schema/kernel/DependencyResolutionResult.json +2 -2
- package/json-schema/kernel/DependencyStatusEnum.json +2 -2
- package/json-schema/kernel/DeprecationNotice.json +2 -2
- package/json-schema/kernel/DisablePackageRequest.json +2 -2
- package/json-schema/kernel/DisablePackageResponse.json +11 -3
- package/json-schema/kernel/EnablePackageRequest.json +2 -2
- package/json-schema/kernel/EnablePackageResponse.json +11 -3
- package/json-schema/kernel/Event.json +2 -2
- package/json-schema/kernel/EventBusConfig.json +2 -2
- package/json-schema/kernel/EventClusterOptions.json +2 -2
- package/json-schema/kernel/EventDeliverySemantics.json +2 -2
- package/json-schema/kernel/EventHandler.json +2 -2
- package/json-schema/kernel/EventLogEntry.json +2 -2
- package/json-schema/kernel/EventMessageQueueConfig.json +2 -2
- package/json-schema/kernel/EventMetadata.json +2 -2
- package/json-schema/kernel/EventPersistence.json +2 -2
- package/json-schema/kernel/EventPriority.json +2 -2
- package/json-schema/kernel/EventQueueConfig.json +2 -2
- package/json-schema/kernel/EventReplayConfig.json +2 -2
- package/json-schema/kernel/EventRoute.json +2 -2
- package/json-schema/kernel/EventScope.json +2 -2
- package/json-schema/kernel/EventSourcingConfig.json +2 -2
- package/json-schema/kernel/EventTypeDefinition.json +2 -2
- package/json-schema/kernel/EventWebhookConfig.json +2 -2
- package/json-schema/kernel/ExecutionContext.json +36 -7
- package/json-schema/kernel/ExtensionPoint.json +2 -2
- package/json-schema/kernel/GetPackageRequest.json +2 -2
- package/json-schema/kernel/GetPackageResponse.json +11 -3
- package/json-schema/kernel/HotReloadConfig.json +2 -2
- package/json-schema/kernel/InstallMode.json +2 -2
- package/json-schema/kernel/InstallPackageRequest.json +11 -3
- package/json-schema/kernel/InstallPackageResponse.json +11 -3
- package/json-schema/kernel/InstalledPackage.json +11 -3
- package/json-schema/kernel/InstalledPackageSource.json +2 -2
- package/json-schema/kernel/KernelContext.json +2 -2
- package/json-schema/kernel/KernelSecurityPolicy.json +2 -2
- package/json-schema/kernel/ListPackagesRequest.json +2 -2
- package/json-schema/kernel/ListPackagesResponse.json +11 -3
- package/json-schema/kernel/Manifest.json +11 -3
- package/json-schema/kernel/ManifestPermissions.json +2 -2
- package/json-schema/kernel/MetadataBulkResult.json +2 -2
- package/json-schema/kernel/MetadataCategoryEnum.json +2 -2
- package/json-schema/kernel/MetadataDependency.json +2 -2
- package/json-schema/kernel/MetadataFallbackStrategy.json +2 -2
- package/json-schema/kernel/MetadataLock.json +2 -2
- package/json-schema/kernel/MetadataLockSource.json +2 -2
- package/json-schema/kernel/MetadataManagerConfig.json +2 -2
- package/json-schema/kernel/MetadataPluginConfig.json +2 -2
- package/json-schema/kernel/MetadataPluginManifest.json +2 -2
- package/json-schema/kernel/MetadataProvenance.json +2 -2
- package/json-schema/kernel/MetadataQuery.json +2 -2
- package/json-schema/kernel/MetadataQueryResult.json +2 -2
- package/json-schema/kernel/MetadataType.json +2 -2
- package/json-schema/kernel/MetadataTypeRegistryEntry.json +181 -10
- package/json-schema/kernel/MetadataValidationResult.json +2 -2
- package/json-schema/kernel/MultiVersionSupport.json +2 -2
- package/json-schema/kernel/NamespaceConflictError.json +2 -2
- package/json-schema/kernel/NamespaceRegistryEntry.json +2 -2
- package/json-schema/kernel/OclifPluginConfig.json +2 -2
- package/json-schema/kernel/OpsDomainModule.json +2 -2
- package/json-schema/kernel/OpsFilePath.json +2 -2
- package/json-schema/kernel/OpsPluginStructure.json +2 -2
- package/json-schema/kernel/OverrideDeclaration.json +2 -2
- package/json-schema/kernel/PackageArtifact.json +2 -2
- package/json-schema/kernel/PackageDependencyConflict.json +2 -2
- package/json-schema/kernel/PackageDependencyResolutionResult.json +2 -2
- package/json-schema/kernel/PackageStatusEnum.json +2 -2
- package/json-schema/kernel/PermissionAction.json +2 -2
- package/json-schema/kernel/PermissionScope.json +2 -2
- package/json-schema/kernel/PermissionSetAddress.json +2 -2
- package/json-schema/kernel/Plugin.json +2 -2
- package/json-schema/kernel/PluginCapability.json +2 -2
- package/json-schema/kernel/PluginCapabilityManifest.json +2 -2
- package/json-schema/kernel/PluginCompatibilityMatrix.json +2 -2
- package/json-schema/kernel/PluginDependency.json +2 -2
- package/json-schema/kernel/PluginDependencyResolutionResult.json +2 -2
- package/json-schema/kernel/PluginEngines.json +2 -2
- package/json-schema/kernel/PluginHealthCheck.json +2 -2
- package/json-schema/kernel/PluginHealthReport.json +2 -2
- package/json-schema/kernel/PluginHealthStatus.json +2 -2
- package/json-schema/kernel/PluginInstallConfig.json +2 -2
- package/json-schema/kernel/PluginIntegrity.json +2 -2
- package/json-schema/kernel/PluginInterface.json +2 -2
- package/json-schema/kernel/PluginLoadingEvent.json +2 -2
- package/json-schema/kernel/PluginLoadingState.json +2 -2
- package/json-schema/kernel/PluginMetadata.json +2 -2
- package/json-schema/kernel/PluginPackaging.json +2 -2
- package/json-schema/kernel/PluginPermission.json +2 -2
- package/json-schema/kernel/PluginPermissionSet.json +2 -2
- package/json-schema/kernel/PluginPermissions.json +2 -2
- package/json-schema/kernel/PluginProvenance.json +2 -2
- package/json-schema/kernel/PluginQualityMetrics.json +2 -2
- package/json-schema/kernel/PluginRegistryEntry.json +2 -2
- package/json-schema/kernel/PluginRuntime.json +2 -2
- package/json-schema/kernel/PluginSearchFilters.json +2 -2
- package/json-schema/kernel/PluginSecurityManifest.json +2 -2
- package/json-schema/kernel/PluginStartupResult.json +2 -2
- package/json-schema/kernel/PluginStateSnapshot.json +2 -2
- package/json-schema/kernel/PluginStatistics.json +2 -2
- package/json-schema/kernel/PluginTrustLevel.json +2 -2
- package/json-schema/kernel/PluginTrustScore.json +2 -2
- package/json-schema/kernel/PluginVendor.json +2 -2
- package/json-schema/kernel/PluginVersionMetadata.json +2 -2
- package/json-schema/kernel/ProtocolFeature.json +2 -2
- package/json-schema/kernel/ProtocolReference.json +2 -2
- package/json-schema/kernel/ProtocolVersion.json +2 -2
- package/json-schema/kernel/RealTimeNotificationConfig.json +2 -2
- package/json-schema/kernel/RequiredAction.json +2 -2
- package/json-schema/kernel/ResolvedDependency.json +2 -2
- package/json-schema/kernel/ResolvedPackageDependency.json +2 -2
- package/json-schema/kernel/ResourceType.json +2 -2
- package/json-schema/kernel/RuntimeConfig.json +2 -2
- package/json-schema/kernel/RuntimeMode.json +2 -2
- package/json-schema/kernel/SBOM.json +2 -2
- package/json-schema/kernel/SBOMEntry.json +2 -2
- package/json-schema/kernel/SandboxConfig.json +2 -2
- package/json-schema/kernel/ScopeConfig.json +2 -2
- package/json-schema/kernel/ScopeInfo.json +2 -2
- package/json-schema/kernel/SecurityPolicy.json +2 -2
- package/json-schema/kernel/SecurityScanResult.json +2 -2
- package/json-schema/kernel/SecurityVulnerability.json +2 -2
- package/json-schema/kernel/SemanticVersion.json +2 -2
- package/json-schema/kernel/ServiceClusterAnnotations.json +2 -2
- package/json-schema/kernel/ServiceClusterScope.json +2 -2
- package/json-schema/kernel/ServiceFactoryRegistration.json +2 -2
- package/json-schema/kernel/ServiceLeaderStrategy.json +2 -2
- package/json-schema/kernel/ServiceMetadata.json +2 -2
- package/json-schema/kernel/ServiceRegistryConfig.json +2 -2
- package/json-schema/kernel/ServiceScopeType.json +2 -2
- package/json-schema/kernel/TenantRuntimeContext.json +2 -2
- package/json-schema/kernel/UninstallPackageRequest.json +2 -2
- package/json-schema/kernel/UninstallPackageResponse.json +2 -2
- package/json-schema/kernel/ValidationError.json +2 -2
- package/json-schema/kernel/ValidationResult.json +2 -2
- package/json-schema/kernel/ValidationWarning.json +2 -2
- package/json-schema/kernel/VersionConstraint.json +2 -2
- package/json-schema/kernel/VulnerabilitySeverity.json +2 -2
- package/json-schema/marketplace/ArtifactDownloadResponse.json +2 -2
- package/json-schema/marketplace/ArtifactReference.json +2 -2
- package/json-schema/marketplace/CreatePackageRequest.json +2 -2
- package/json-schema/marketplace/CreatePackageVersionRequest.json +2 -2
- package/json-schema/marketplace/ListingStatus.json +2 -2
- package/json-schema/marketplace/MarketplaceBusinessFunction.json +2 -2
- package/json-schema/marketplace/MarketplaceBusinessFunctions.json +2 -2
- package/json-schema/marketplace/MarketplaceIndustries.json +2 -2
- package/json-schema/marketplace/MarketplaceIndustry.json +2 -2
- package/json-schema/marketplace/MarketplaceInstallRequest.json +2 -2
- package/json-schema/marketplace/MarketplaceInstallResponse.json +2 -2
- package/json-schema/marketplace/MarketplaceListing.json +2 -2
- package/json-schema/marketplace/MarketplaceSearchRequest.json +2 -2
- package/json-schema/marketplace/MarketplaceSearchResponse.json +2 -2
- package/json-schema/marketplace/MarketplaceSolutionType.json +2 -2
- package/json-schema/marketplace/Package.json +2 -2
- package/json-schema/marketplace/PackageDependency.json +2 -2
- package/json-schema/marketplace/PackageLocale.json +2 -2
- package/json-schema/marketplace/PackageManifest.json +2 -2
- package/json-schema/marketplace/PackageMaturity.json +2 -2
- package/json-schema/marketplace/PackagePublisher.json +2 -2
- package/json-schema/marketplace/PackageSubmission.json +2 -2
- package/json-schema/marketplace/PackageTranslation.json +2 -2
- package/json-schema/marketplace/PackageTranslations.json +2 -2
- package/json-schema/marketplace/PackageVersion.json +2 -2
- package/json-schema/marketplace/PackageVersionStatus.json +2 -2
- package/json-schema/marketplace/PackageVisibility.json +2 -2
- package/json-schema/marketplace/PricingModel.json +2 -2
- package/json-schema/marketplace/PublishPackageVersionRequest.json +2 -2
- package/json-schema/marketplace/Publisher.json +2 -2
- package/json-schema/marketplace/PublisherVerification.json +2 -2
- package/json-schema/marketplace/TemplateManifest.json +2 -2
- package/json-schema/marketplace/UpdatePackageRequest.json +2 -2
- package/json-schema/marketplace/UpdatePackageVersionRequest.json +2 -2
- package/json-schema/objectstack.json +12873 -3846
- package/json-schema/openapi.json +22 -1
- package/json-schema/qa/TestAction.json +2 -2
- package/json-schema/qa/TestActionType.json +2 -2
- package/json-schema/qa/TestAssertion.json +2 -2
- package/json-schema/qa/TestAssertionType.json +2 -2
- package/json-schema/qa/TestContext.json +2 -2
- package/json-schema/qa/TestScenario.json +2 -2
- package/json-schema/qa/TestStep.json +2 -2
- package/json-schema/qa/TestSuite.json +2 -2
- package/json-schema/security/AccessMatrix.json +2 -2
- package/json-schema/security/AccessMatrixEntry.json +2 -2
- package/json-schema/security/AdminScope.json +2 -2
- package/json-schema/security/AuthzPosture.json +2 -2
- package/json-schema/security/CapabilityDeclaration.json +2 -2
- package/json-schema/security/CriteriaSharingRule.json +2 -2
- package/json-schema/security/DeclaredQueueMember.json +2 -2
- package/json-schema/security/DefaultRowScope.json +2 -2
- package/json-schema/security/EffectiveObjectPermission.json +2 -2
- package/json-schema/security/ExplainDecision.json +2 -2
- package/json-schema/security/ExplainLayer.json +2 -2
- package/json-schema/security/ExplainMatchedRule.json +2 -2
- package/json-schema/security/ExplainOperation.json +2 -2
- package/json-schema/security/ExplainRecordAttribution.json +2 -2
- package/json-schema/security/ExplainRequest.json +2 -2
- package/json-schema/security/FieldPermission.json +9 -3
- package/json-schema/security/MembershipKey.json +2 -2
- package/json-schema/security/MembershipKeyName.json +2 -2
- package/json-schema/security/MembershipKeys.json +2 -2
- package/json-schema/security/OWDModel.json +2 -2
- package/json-schema/security/ObjectAccessScope.json +2 -2
- package/json-schema/security/ObjectPermission.json +2 -2
- package/json-schema/security/OrgScopingEntitlement.json +2 -2
- package/json-schema/security/PermissionSet.json +10 -4
- package/json-schema/security/PlatformGlobalObjects.json +2 -2
- package/json-schema/security/Queue.json +2 -2
- package/json-schema/security/QueueMemberType.json +2 -2
- package/json-schema/security/RLSEvaluationResult.json +2 -2
- package/json-schema/security/RLSOperation.json +2 -2
- package/json-schema/security/RLSUserContext.json +2 -2
- package/json-schema/security/RowLevelSecurityPolicy.json +2 -2
- package/json-schema/security/ShareRecipientType.json +2 -2
- package/json-schema/security/SharingLevel.json +2 -2
- package/json-schema/security/SharingRule.json +2 -2
- package/json-schema/security/SharingRuleType.json +2 -2
- package/json-schema/security/TenancyPosture.json +2 -2
- package/json-schema/security/TenantLayer0Verdict.json +2 -2
- package/json-schema/shared/BaseMetadataRecord.json +2 -2
- package/json-schema/shared/CorsConfig.json +2 -2
- package/json-schema/shared/CronExpressionInput.json +2 -2
- package/json-schema/shared/DurationMs.json +2 -2
- package/json-schema/shared/DurationSeconds.json +2 -2
- package/json-schema/shared/EpochMs.json +2 -2
- package/json-schema/shared/EvaluatedExpression.json +2 -2
- package/json-schema/shared/EvaluatedExpressionInput.json +2 -2
- package/json-schema/shared/Expression.json +2 -2
- package/json-schema/shared/ExpressionDialect.json +2 -2
- package/json-schema/shared/ExpressionInput.json +2 -2
- package/json-schema/shared/ExpressionMeta.json +2 -2
- package/json-schema/shared/FieldMapping.json +2 -2
- package/json-schema/shared/HttpMethod.json +2 -2
- package/json-schema/shared/HttpMethodSubset.json +2 -2
- package/json-schema/shared/HttpRequest.json +2 -2
- package/json-schema/shared/IsolationLevelEnum.json +2 -2
- package/json-schema/shared/MetadataFormat.json +2 -2
- package/json-schema/shared/MetadataItemName.json +2 -2
- package/json-schema/shared/MutationEventEnum.json +2 -2
- package/json-schema/shared/Predicate.json +2 -2
- package/json-schema/shared/PredicateInput.json +2 -2
- package/json-schema/shared/Protection.json +2 -2
- package/json-schema/shared/RateLimitConfig.json +2 -2
- package/json-schema/shared/SnakeCaseIdentifier.json +2 -2
- package/json-schema/shared/SortDirectionEnum.json +2 -2
- package/json-schema/shared/SortItem.json +2 -2
- package/json-schema/shared/StaticMount.json +2 -2
- package/json-schema/shared/SystemIdentifier.json +2 -2
- package/json-schema/shared/TemplateExpressionInput.json +2 -2
- package/json-schema/shared/ValueDomain.json +2 -2
- package/json-schema/studio/ActionContribution.json +2 -2
- package/json-schema/studio/ActionContributionLocation.json +2 -2
- package/json-schema/studio/CommandContribution.json +2 -2
- package/json-schema/studio/ERDiagramConfig.json +2 -2
- package/json-schema/studio/ERLayoutAlgorithm.json +2 -2
- package/json-schema/studio/ERNodeDisplay.json +2 -2
- package/json-schema/studio/FieldEditorConfig.json +2 -2
- package/json-schema/studio/FieldGroup.json +2 -2
- package/json-schema/studio/FieldPropertySection.json +2 -2
- package/json-schema/studio/FlowBuilderConfig.json +2 -2
- package/json-schema/studio/FlowCanvasEdge.json +2 -2
- package/json-schema/studio/FlowCanvasEdgeStyle.json +2 -2
- package/json-schema/studio/FlowCanvasNode.json +2 -2
- package/json-schema/studio/FlowLayoutAlgorithm.json +2 -2
- package/json-schema/studio/FlowLayoutDirection.json +2 -2
- package/json-schema/studio/FlowNodeRenderDescriptor.json +2 -2
- package/json-schema/studio/FlowNodeShape.json +2 -2
- package/json-schema/studio/MetadataIconContribution.json +2 -2
- package/json-schema/studio/MetadataViewerContribution.json +2 -2
- package/json-schema/studio/ObjectDesignerConfig.json +2 -2
- package/json-schema/studio/ObjectDesignerDefaultView.json +2 -2
- package/json-schema/studio/ObjectFilter.json +2 -2
- package/json-schema/studio/ObjectListDisplayMode.json +2 -2
- package/json-schema/studio/ObjectManagerConfig.json +2 -2
- package/json-schema/studio/ObjectPreviewConfig.json +2 -2
- package/json-schema/studio/ObjectPreviewTab.json +2 -2
- package/json-schema/studio/ObjectSortField.json +2 -2
- package/json-schema/studio/PanelContribution.json +2 -2
- package/json-schema/studio/PanelLocation.json +2 -2
- package/json-schema/studio/RelationshipDisplay.json +2 -2
- package/json-schema/studio/RelationshipMapperConfig.json +2 -2
- package/json-schema/studio/SidebarGroupContribution.json +2 -2
- package/json-schema/studio/StudioPluginContributions.json +2 -2
- package/json-schema/studio/StudioPluginManifest.json +2 -2
- package/json-schema/studio/ViewMode.json +2 -2
- package/json-schema/system/AccessControlConfig.json +2 -2
- package/json-schema/system/ActionResultDialogTranslation.json +18 -2
- package/json-schema/system/AddFieldOperation.json +16 -5
- package/json-schema/system/AdvancedAuthConfig.json +2 -2
- package/json-schema/system/AnalyzerConfig.json +2 -2
- package/json-schema/system/ApnsTransportConfig.json +2 -2
- package/json-schema/system/AppCompatibilityCheck.json +2 -2
- package/json-schema/system/AppInstallRequest.json +2 -2
- package/json-schema/system/AppInstallResult.json +2 -2
- package/json-schema/system/AppManifest.json +2 -2
- package/json-schema/system/AudienceConfig.json +2 -2
- package/json-schema/system/AuthConfig.json +4 -4
- package/json-schema/system/AuthPluginConfig.json +3 -3
- package/json-schema/system/AuthProviderConfig.json +2 -2
- package/json-schema/system/AwarenessEvent.json +2 -2
- package/json-schema/system/AwarenessSession.json +2 -2
- package/json-schema/system/AwarenessUpdate.json +2 -2
- package/json-schema/system/AwarenessUserState.json +2 -2
- package/json-schema/system/BackupConfig.json +2 -2
- package/json-schema/system/BackupRetention.json +2 -2
- package/json-schema/system/BackupStrategy.json +2 -2
- package/json-schema/system/BatchProgress.json +2 -2
- package/json-schema/system/Book.json +2 -2
- package/json-schema/system/BookAudience.json +2 -2
- package/json-schema/system/BookGroup.json +2 -2
- package/json-schema/system/BookInclude.json +2 -2
- package/json-schema/system/BookNode.json +2 -2
- package/json-schema/system/BucketConfig.json +2 -2
- package/json-schema/system/CRDTMergeResult.json +2 -2
- package/json-schema/system/CRDTState.json +2 -2
- package/json-schema/system/CRDTType.json +2 -2
- package/json-schema/system/CacheAvalanchePrevention.json +2 -2
- package/json-schema/system/CacheConfig.json +2 -2
- package/json-schema/system/CacheConsistency.json +2 -2
- package/json-schema/system/CacheInvalidation.json +2 -2
- package/json-schema/system/CacheStrategy.json +2 -2
- package/json-schema/system/CacheTier.json +2 -2
- package/json-schema/system/CacheWarmup.json +2 -2
- package/json-schema/system/ChangeSet.json +474 -38
- package/json-schema/system/CollaborationMode.json +2 -2
- package/json-schema/system/CollaborationSession.json +2 -2
- package/json-schema/system/CollaborationSessionConfig.json +2 -2
- package/json-schema/system/CollaborativeCursor.json +2 -2
- package/json-schema/system/ComplianceAuditRequirement.json +2 -2
- package/json-schema/system/ComplianceEncryptionRequirement.json +2 -2
- package/json-schema/system/ComplianceFramework.json +2 -2
- package/json-schema/system/ConsoleDestinationConfig.json +2 -2
- package/json-schema/system/CoreServiceName.json +2 -2
- package/json-schema/system/CounterOperation.json +2 -2
- package/json-schema/system/CoverageBreakdownEntry.json +2 -2
- package/json-schema/system/CreateObjectOperation.json +240 -18
- package/json-schema/system/CronSchedule.json +2 -2
- package/json-schema/system/CursorColorPreset.json +2 -2
- package/json-schema/system/CursorSelection.json +2 -2
- package/json-schema/system/CursorStyle.json +2 -2
- package/json-schema/system/CursorUpdate.json +2 -2
- package/json-schema/system/DataClassification.json +2 -2
- package/json-schema/system/DataClassificationPolicy.json +2 -2
- package/json-schema/system/DataMigrationFlag.json +2 -2
- package/json-schema/system/DatabaseLevelIsolationStrategy.json +2 -2
- package/json-schema/system/DatabaseProvider.json +2 -2
- package/json-schema/system/DeleteObjectOperation.json +2 -2
- package/json-schema/system/DemoStaff.json +2 -2
- package/json-schema/system/DeployBundle.json +2 -2
- package/json-schema/system/DeployDiff.json +2 -2
- package/json-schema/system/DeployManifest.json +2 -2
- package/json-schema/system/DeployStatusEnum.json +2 -2
- package/json-schema/system/DeployValidationIssue.json +2 -2
- package/json-schema/system/DeployValidationResult.json +2 -2
- package/json-schema/system/DevLogin.json +2 -2
- package/json-schema/system/DisasterRecoveryPlan.json +2 -2
- package/json-schema/system/DistributedCacheConfig.json +2 -2
- package/json-schema/system/Doc.json +2 -2
- package/json-schema/system/EmailAddressConfig.json +2 -2
- package/json-schema/system/EmailAndPasswordConfig.json +2 -2
- package/json-schema/system/EmailProvider.json +2 -2
- package/json-schema/system/EmailServiceConfig.json +2 -2
- package/json-schema/system/EmailTemplateDefinition.json +2 -2
- package/json-schema/system/EmailTemplateDefinitionVariable.json +2 -2
- package/json-schema/system/EmailVerificationConfig.json +2 -2
- package/json-schema/system/EncryptionAlgorithm.json +2 -2
- package/json-schema/system/EncryptionConfig.json +2 -2
- package/json-schema/system/ExecuteSqlOperation.json +2 -2
- package/json-schema/system/ExtendedLogLevel.json +2 -2
- package/json-schema/system/ExternalServiceDestinationConfig.json +2 -2
- package/json-schema/system/FacetConfig.json +2 -2
- package/json-schema/system/FailoverConfig.json +2 -2
- package/json-schema/system/FailoverMode.json +2 -2
- package/json-schema/system/FcmTransportConfig.json +2 -2
- package/json-schema/system/Feature.json +2 -2
- package/json-schema/system/FieldEncryption.json +2 -2
- package/json-schema/system/FieldTranslation.json +2 -2
- package/json-schema/system/FileDestinationConfig.json +2 -2
- package/json-schema/system/FileMetadata.json +2 -2
- package/json-schema/system/GCounter.json +2 -2
- package/json-schema/system/HistogramBucketConfig.json +2 -2
- package/json-schema/system/HttpDestinationConfig.json +2 -2
- package/json-schema/system/IntervalSchedule.json +2 -2
- package/json-schema/system/Job.json +2 -2
- package/json-schema/system/JobExecution.json +2 -2
- package/json-schema/system/JobExecutionStatus.json +2 -2
- package/json-schema/system/KernelServiceMap.json +2 -2
- package/json-schema/system/KernelServiceStatus.json +2 -2
- package/json-schema/system/KeyManagementProvider.json +2 -2
- package/json-schema/system/KeyRotationPolicy.json +2 -2
- package/json-schema/system/LWWRegister.json +2 -2
- package/json-schema/system/License.json +2 -2
- package/json-schema/system/LicenseMetricType.json +2 -2
- package/json-schema/system/LifecycleAction.json +2 -2
- package/json-schema/system/LifecyclePolicyConfig.json +2 -2
- package/json-schema/system/LifecyclePolicyRule.json +2 -2
- package/json-schema/system/Locale.json +2 -2
- package/json-schema/system/LogDestination.json +2 -2
- package/json-schema/system/LogDestinationType.json +2 -2
- package/json-schema/system/LogEnrichmentConfig.json +2 -2
- package/json-schema/system/LogEntry.json +2 -2
- package/json-schema/system/LogFormat.json +2 -2
- package/json-schema/system/LogLevel.json +2 -2
- package/json-schema/system/LoggerConfig.json +2 -2
- package/json-schema/system/LoggingConfig.json +2 -2
- package/json-schema/system/MaskingVisibilityRule.json +2 -2
- package/json-schema/system/MetadataCollectionInfo.json +2 -2
- package/json-schema/system/MetadataDiffResult.json +2 -2
- package/json-schema/system/MetadataFallbackStrategy.json +2 -2
- package/json-schema/system/MetadataFormat.json +2 -2
- package/json-schema/system/MetadataHistoryQueryOptions.json +2 -2
- package/json-schema/system/MetadataHistoryQueryResult.json +2 -2
- package/json-schema/system/MetadataHistoryRecord.json +2 -2
- package/json-schema/system/MetadataHistoryRetentionPolicy.json +2 -2
- package/json-schema/system/MetadataLoadOptions.json +2 -2
- package/json-schema/system/MetadataLoadResult.json +2 -2
- package/json-schema/system/MetadataLoaderContract.json +2 -2
- package/json-schema/system/MetadataManagerConfig.json +2 -2
- package/json-schema/system/MetadataRecord.json +2 -2
- package/json-schema/system/MetadataSaveOptions.json +2 -2
- package/json-schema/system/MetadataSaveResult.json +2 -2
- package/json-schema/system/MetadataScope.json +2 -2
- package/json-schema/system/MetadataSource.json +2 -2
- package/json-schema/system/MetadataState.json +2 -2
- package/json-schema/system/MetadataStats.json +2 -2
- package/json-schema/system/MetadataWatchEvent.json +2 -2
- package/json-schema/system/MetricAggregationConfig.json +2 -2
- package/json-schema/system/MetricAggregationType.json +2 -2
- package/json-schema/system/MetricDataPoint.json +2 -2
- package/json-schema/system/MetricDefinition.json +2 -2
- package/json-schema/system/MetricExportConfig.json +2 -2
- package/json-schema/system/MetricLabels.json +2 -2
- package/json-schema/system/MetricType.json +2 -2
- package/json-schema/system/MetricUnit.json +2 -2
- package/json-schema/system/MetricsConfig.json +2 -2
- package/json-schema/system/MiddlewareConfig.json +2 -2
- package/json-schema/system/MiddlewareType.json +2 -2
- package/json-schema/system/MigrationDependency.json +2 -2
- package/json-schema/system/MigrationJournalEvent.json +2 -2
- package/json-schema/system/MigrationOperation.json +249 -21
- package/json-schema/system/MigrationPlan.json +2 -2
- package/json-schema/system/MigrationStatement.json +2 -2
- package/json-schema/system/ModifyFieldOperation.json +2 -2
- package/json-schema/system/MultipartUploadConfig.json +2 -2
- package/json-schema/system/MutualTLSConfig.json +2 -2
- package/json-schema/system/NotificationChannel.json +2 -2
- package/json-schema/system/ORSet.json +2 -2
- package/json-schema/system/ORSetElement.json +2 -2
- package/json-schema/system/OTComponent.json +2 -2
- package/json-schema/system/OTOperation.json +2 -2
- package/json-schema/system/OTOperationType.json +2 -2
- package/json-schema/system/OTTransformResult.json +2 -2
- package/json-schema/system/ObjectMetadata.json +2 -2
- package/json-schema/system/ObjectStorageConfig.json +2 -2
- package/json-schema/system/ObjectTranslationData.json +68 -2
- package/json-schema/system/OidcProviderConfig.json +2 -2
- package/json-schema/system/OidcProvidersConfig.json +2 -2
- package/json-schema/system/OnceSchedule.json +2 -2
- package/json-schema/system/OpenTelemetryCompatibility.json +2 -2
- package/json-schema/system/OrganizationOwnershipAnchor.json +2 -2
- package/json-schema/system/OrganizationOwnershipBirthMarker.json +2 -2
- package/json-schema/system/OrganizationOwnershipCategory.json +2 -2
- package/json-schema/system/OrganizationOwnershipDeparture.json +2 -2
- package/json-schema/system/OrganizationOwnershipFate.json +2 -2
- package/json-schema/system/OrganizationOwnershipRowCondition.json +2 -2
- package/json-schema/system/OrganizationOwnershipSupplement.json +2 -2
- package/json-schema/system/OrganizationOwnershipSupplementEntry.json +2 -2
- package/json-schema/system/OtelExporterType.json +2 -2
- package/json-schema/system/PNCounter.json +2 -2
- package/json-schema/system/PackagePublishResult.json +2 -2
- package/json-schema/system/Plan.json +2 -2
- package/json-schema/system/PlatformTranslationBundle.json +214 -3
- package/json-schema/system/PlatformTranslationData.json +214 -3
- package/json-schema/system/PresignedUrlConfig.json +2 -2
- package/json-schema/system/PushDirectTransportConfig.json +2 -2
- package/json-schema/system/PushRelayTransportConfig.json +2 -2
- package/json-schema/system/PushServiceConfig.json +2 -2
- package/json-schema/system/PushVendor.json +2 -2
- package/json-schema/system/QueueConfig.json +2 -2
- package/json-schema/system/QuotaEnforcementResult.json +2 -2
- package/json-schema/system/RPO.json +2 -2
- package/json-schema/system/RTO.json +2 -2
- package/json-schema/system/RegistryConfig.json +2 -2
- package/json-schema/system/RegistrySyncPolicy.json +2 -2
- package/json-schema/system/RegistryUpstream.json +2 -2
- package/json-schema/system/RemoveFieldOperation.json +2 -2
- package/json-schema/system/RenameObjectOperation.json +2 -2
- package/json-schema/system/ResolvedBook.json +2 -2
- package/json-schema/system/ResolvedEntry.json +2 -2
- package/json-schema/system/ResolvedGroup.json +2 -2
- package/json-schema/system/ResolvedSettingValue.json +2 -2
- package/json-schema/system/RestrictionProfile.json +2 -2
- package/json-schema/system/RestrictionProfileNodeType.json +2 -2
- package/json-schema/system/RetryPolicy.json +2 -2
- package/json-schema/system/RouteHandlerMetadata.json +2 -2
- package/json-schema/system/RowLevelIsolationStrategy.json +2 -2
- package/json-schema/system/SamplingDecision.json +2 -2
- package/json-schema/system/SamplingStrategyType.json +2 -2
- package/json-schema/system/Schedule.json +2 -2
- package/json-schema/system/SchemaChange.json +2 -2
- package/json-schema/system/SchemaLevelIsolationStrategy.json +2 -2
- package/json-schema/system/SearchConfig.json +2 -2
- package/json-schema/system/SearchIndexConfig.json +2 -2
- package/json-schema/system/SearchProvider.json +2 -2
- package/json-schema/system/SecurityContextConfig.json +2 -2
- package/json-schema/system/SecurityEventCorrelation.json +2 -2
- package/json-schema/system/ServedTranslationData.json +214 -3
- package/json-schema/system/ServerRateLimitConfig.json +2 -2
- package/json-schema/system/ServiceConfig.json +2 -2
- package/json-schema/system/ServiceCriticality.json +2 -2
- package/json-schema/system/ServiceLevelIndicator.json +2 -2
- package/json-schema/system/ServiceLevelObjective.json +2 -2
- package/json-schema/system/SettingsActionResult.json +2 -2
- package/json-schema/system/SettingsChangeEvent.json +2 -2
- package/json-schema/system/SettingsManifest.json +2 -2
- package/json-schema/system/SettingsNamespacePayload.json +4 -4
- package/json-schema/system/Sha256Digest.json +2 -2
- package/json-schema/system/SocialProviderConfig.json +2 -2
- package/json-schema/system/Span.json +2 -2
- package/json-schema/system/SpanAttributeValue.json +2 -2
- package/json-schema/system/SpanAttributes.json +2 -2
- package/json-schema/system/SpanEvent.json +2 -2
- package/json-schema/system/SpanKind.json +2 -2
- package/json-schema/system/SpanLink.json +2 -2
- package/json-schema/system/SpanStatus.json +2 -2
- package/json-schema/system/Specifier.json +2 -2
- package/json-schema/system/SpecifierHandler.json +2 -2
- package/json-schema/system/SpecifierOption.json +2 -2
- package/json-schema/system/SpecifierScope.json +2 -2
- package/json-schema/system/SpecifierType.json +2 -2
- package/json-schema/system/SpecifierValueDomain.json +2 -2
- package/json-schema/system/StackEmailConfig.json +2 -2
- package/json-schema/system/StackEmailProviderOptions.json +2 -2
- package/json-schema/system/StackServerConfig.json +2 -2
- package/json-schema/system/StackServerSecurity.json +2 -2
- package/json-schema/system/StackSmsConfig.json +2 -2
- package/json-schema/system/StorageAcl.json +2 -2
- package/json-schema/system/StorageClass.json +2 -2
- package/json-schema/system/StorageConnection.json +2 -2
- package/json-schema/system/StorageProvider.json +2 -2
- package/json-schema/system/StorageScope.json +2 -2
- package/json-schema/system/StructuredLogEntry.json +2 -2
- package/json-schema/system/SupplierAssessmentStatus.json +2 -2
- package/json-schema/system/SupplierRiskLevel.json +2 -2
- package/json-schema/system/SupplierSecurityAssessment.json +2 -2
- package/json-schema/system/SupplierSecurityPolicy.json +2 -2
- package/json-schema/system/SupplierSecurityRequirement.json +2 -2
- package/json-schema/system/Task.json +2 -2
- package/json-schema/system/TaskExecutionResult.json +2 -2
- package/json-schema/system/TaskPriority.json +2 -2
- package/json-schema/system/TaskRetryPolicy.json +2 -2
- package/json-schema/system/TaskStatus.json +2 -2
- package/json-schema/system/Tenant.json +2 -2
- package/json-schema/system/TenantConnectionConfig.json +2 -2
- package/json-schema/system/TenantIsolationConfig.json +2 -2
- package/json-schema/system/TenantIsolationLevel.json +2 -2
- package/json-schema/system/TenantQuota.json +2 -2
- package/json-schema/system/TenantSecurityPolicy.json +2 -2
- package/json-schema/system/TenantUsage.json +2 -2
- package/json-schema/system/TextCRDTOperation.json +2 -2
- package/json-schema/system/TextCRDTState.json +2 -2
- package/json-schema/system/TimeSeries.json +2 -2
- package/json-schema/system/TimeSeriesDataPoint.json +2 -2
- package/json-schema/system/TraceContext.json +2 -2
- package/json-schema/system/TraceContextPropagation.json +2 -2
- package/json-schema/system/TraceFlags.json +2 -2
- package/json-schema/system/TracePropagationFormat.json +2 -2
- package/json-schema/system/TraceSamplingConfig.json +2 -2
- package/json-schema/system/TraceState.json +2 -2
- package/json-schema/system/TracingConfig.json +2 -2
- package/json-schema/system/TranslationBundle.json +214 -3
- package/json-schema/system/TranslationConfig.json +7 -2
- package/json-schema/system/TranslationCoverageResult.json +2 -2
- package/json-schema/system/TranslationData.json +214 -3
- package/json-schema/system/TranslationDiffItem.json +2 -2
- package/json-schema/system/TranslationDiffStatus.json +2 -2
- package/json-schema/system/TranslationItem.json +214 -3
- package/json-schema/system/TrustedAppScheme.json +2 -2
- package/json-schema/system/UserActivityStatus.json +2 -2
- package/json-schema/system/UserDevice.json +2 -2
- package/json-schema/system/VectorClock.json +2 -2
- package/json-schema/system/WorkerStats.json +2 -2
- package/json-schema/ui/Action.json +181 -10
- package/json-schema/ui/ActionAi.json +2 -2
- package/json-schema/ui/ActionButtonProps.json +2 -2
- package/json-schema/ui/ActionGroupProps.json +2 -2
- package/json-schema/ui/ActionIconProps.json +2 -2
- package/json-schema/ui/ActionLocation.json +2 -2
- package/json-schema/ui/ActionMenuProps.json +2 -2
- package/json-schema/ui/ActionNavItem.json +2 -2
- package/json-schema/ui/ActionParam.json +3 -2
- package/json-schema/ui/ActionRefusal.json +60 -0
- package/json-schema/ui/ActionSession.json +2 -2
- package/json-schema/ui/ActionType.json +2 -2
- package/json-schema/ui/AddRecordConfig.json +2 -2
- package/json-schema/ui/App.json +2 -2
- package/json-schema/ui/AppBranding.json +2 -2
- package/json-schema/ui/AppContextSelector.json +2 -2
- package/json-schema/ui/AppLandingEntry.json +2 -2
- package/json-schema/ui/AppearanceConfig.json +4 -3
- package/json-schema/ui/AriaProps.json +2 -2
- package/json-schema/ui/BulkActionDef.json +2 -2
- package/json-schema/ui/BulkActionExecution.json +2 -2
- package/json-schema/ui/BulkActionOperation.json +2 -2
- package/json-schema/ui/BulkActionParam.json +2 -2
- package/json-schema/ui/BulkActionResult.json +43 -0
- package/json-schema/ui/CalendarConfig.json +2 -2
- package/json-schema/ui/ChartAggregate.json +2 -2
- package/json-schema/ui/ChartAggregateFunction.json +2 -2
- package/json-schema/ui/ChartAnnotation.json +2 -2
- package/json-schema/ui/ChartAxis.json +2 -2
- package/json-schema/ui/ChartConfig.json +2 -2
- package/json-schema/ui/ChartDrillDown.json +2 -2
- package/json-schema/ui/ChartGroupBy.json +2 -2
- package/json-schema/ui/ChartInteraction.json +2 -2
- package/json-schema/ui/ChartSeries.json +2 -2
- package/json-schema/ui/ChartType.json +2 -2
- package/json-schema/ui/ColumnPrefix.json +2 -2
- package/json-schema/ui/ColumnSummary.json +2 -2
- package/json-schema/ui/ColumnSummaryConfig.json +2 -2
- package/json-schema/ui/ComponentNavItem.json +2 -2
- package/json-schema/ui/Dashboard.json +2 -2
- package/json-schema/ui/DashboardHeader.json +2 -2
- package/json-schema/ui/DashboardHeaderAction.json +2 -2
- package/json-schema/ui/DashboardNavItem.json +2 -2
- package/json-schema/ui/DashboardWidget.json +2 -2
- package/json-schema/ui/DashboardWidgetChartConfig.json +2 -2
- package/json-schema/ui/DashboardWidgetOptions.json +2 -2
- package/json-schema/ui/Dataset.json +2 -2
- package/json-schema/ui/DatasetDimension.json +2 -2
- package/json-schema/ui/DatasetDurationUnit.json +2 -2
- package/json-schema/ui/DatasetMeasure.json +2 -2
- package/json-schema/ui/DatasetMeasureDuration.json +2 -2
- package/json-schema/ui/DatasetMeasurePolarity.json +2 -2
- package/json-schema/ui/DatasetMemberSynonyms.json +2 -2
- package/json-schema/ui/DerivedMeasureOp.json +2 -2
- package/json-schema/ui/DocNavItem.json +2 -2
- package/json-schema/ui/ElementApiDataSource.json +2 -2
- package/json-schema/ui/ElementButtonProps.json +3 -2
- package/json-schema/ui/ElementDataSource.json +2 -2
- package/json-schema/ui/ElementDefinitionListProps.json +2 -2
- package/json-schema/ui/ElementFilterProps.json +2 -2
- package/json-schema/ui/ElementFormProps.json +2 -2
- package/json-schema/ui/ElementImageProps.json +2 -2
- package/json-schema/ui/ElementMetadataViewerProps.json +2 -2
- package/json-schema/ui/ElementNumberProps.json +2 -2
- package/json-schema/ui/ElementRecordPickerProps.json +2 -2
- package/json-schema/ui/ElementRepeaterProps.json +2 -2
- package/json-schema/ui/ElementTextInputProps.json +2 -2
- package/json-schema/ui/ElementTextProps.json +2 -2
- package/json-schema/ui/EmptyState.json +2 -2
- package/json-schema/ui/ExpressionBindableTextKey.json +2 -2
- package/json-schema/ui/FormButtonConfig.json +2 -2
- package/json-schema/ui/FormField.json +3 -3
- package/json-schema/ui/FormSection.json +3 -3
- package/json-schema/ui/FormSelectOption.json +2 -2
- package/json-schema/ui/FormView.json +3 -3
- package/json-schema/ui/GalleryConfig.json +2 -2
- package/json-schema/ui/GanttConfig.json +2 -2
- package/json-schema/ui/GanttQuickFilter.json +2 -2
- package/json-schema/ui/GlobalFilter.json +2 -2
- package/json-schema/ui/GlobalFilterOptionsFrom.json +2 -2
- package/json-schema/ui/GroupNavItem.json +2 -2
- package/json-schema/ui/GroupingConfig.json +2 -2
- package/json-schema/ui/GroupingField.json +2 -2
- package/json-schema/ui/HttpMethodSubset.json +2 -2
- package/json-schema/ui/HttpRequest.json +2 -2
- package/json-schema/ui/I18nLabel.json +2 -2
- package/json-schema/ui/InlineAction.json +3 -2
- package/json-schema/ui/InlineLocaleMap.json +2 -2
- package/json-schema/ui/InterfacePageConfig.json +4 -3
- package/json-schema/ui/JoinedReportBlock.json +2 -2
- package/json-schema/ui/KanbanConfig.json +2 -2
- package/json-schema/ui/ListChartConfig.json +2 -2
- package/json-schema/ui/ListColumn.json +2 -2
- package/json-schema/ui/ListMapConfig.json +2 -2
- package/json-schema/ui/ListView.json +36 -5
- package/json-schema/ui/NavigationArea.json +2 -2
- package/json-schema/ui/NavigationConfig.json +2 -2
- package/json-schema/ui/NavigationContribution.json +2 -2
- package/json-schema/ui/NavigationItem.json +2 -2
- package/json-schema/ui/NavigationMode.json +2 -2
- package/json-schema/ui/NotificationPosition.json +2 -2
- package/json-schema/ui/NotificationSeverity.json +2 -2
- package/json-schema/ui/NotificationType.json +2 -2
- package/json-schema/ui/ObjectCalendarProps.json +2 -2
- package/json-schema/ui/ObjectFormProps.json +2 -2
- package/json-schema/ui/ObjectGanttProps.json +2 -2
- package/json-schema/ui/ObjectGridProps.json +2 -2
- package/json-schema/ui/ObjectKanbanProps.json +2 -2
- package/json-schema/ui/ObjectListView.json +36 -5
- package/json-schema/ui/ObjectMapProps.json +2 -2
- package/json-schema/ui/ObjectMasterDetailFormProps.json +2 -2
- package/json-schema/ui/ObjectMetricProps.json +2 -2
- package/json-schema/ui/ObjectNavItem.json +2 -2
- package/json-schema/ui/ObjectTimelineProps.json +2 -2
- package/json-schema/ui/ObjectTreeProps.json +2 -2
- package/json-schema/ui/ObjectUserFilters.json +2 -2
- package/json-schema/ui/Page.json +4 -3
- package/json-schema/ui/PageAccordionProps.json +2 -2
- package/json-schema/ui/PageCardProps.json +2 -2
- package/json-schema/ui/PageComponent.json +2 -2
- package/json-schema/ui/PageComponentType.json +2 -2
- package/json-schema/ui/PageContainerProps.json +2 -2
- package/json-schema/ui/PageHeaderProps.json +2 -2
- package/json-schema/ui/PageNavItem.json +2 -2
- package/json-schema/ui/PagePrint.json +2 -2
- package/json-schema/ui/PageRecordBinding.json +2 -2
- package/json-schema/ui/PageRegion.json +2 -2
- package/json-schema/ui/PageTabsProps.json +2 -2
- package/json-schema/ui/PageTemplate.json +2 -2
- package/json-schema/ui/PageType.json +2 -2
- package/json-schema/ui/PageVariable.json +2 -2
- package/json-schema/ui/PaginationConfig.json +2 -2
- package/json-schema/ui/RecordActivityProps.json +11 -4
- package/json-schema/ui/RecordAlertAction.json +2 -2
- package/json-schema/ui/RecordAlertProps.json +2 -2
- package/json-schema/ui/RecordChatterProps.json +11 -4
- package/json-schema/ui/RecordDetailsProps.json +2 -2
- package/json-schema/ui/RecordHighlightsField.json +2 -2
- package/json-schema/ui/RecordHighlightsProps.json +2 -2
- package/json-schema/ui/RecordHistoryProps.json +2 -2
- package/json-schema/ui/RecordLineItemsProps.json +2 -2
- package/json-schema/ui/RecordPathProps.json +2 -2
- package/json-schema/ui/RecordQuickActionsProps.json +2 -2
- package/json-schema/ui/RecordReferenceRailProps.json +2 -2
- package/json-schema/ui/RecordRelatedListProps.json +2 -2
- package/json-schema/ui/ReferenceRailEntry.json +2 -2
- package/json-schema/ui/Report.json +2 -2
- package/json-schema/ui/ReportChart.json +2 -2
- package/json-schema/ui/ReportNavItem.json +2 -2
- package/json-schema/ui/ReportSort.json +2 -2
- package/json-schema/ui/ReportType.json +2 -2
- package/json-schema/ui/ResponsiveStyles.json +2 -2
- package/json-schema/ui/RowColorConfig.json +2 -2
- package/json-schema/ui/RowHeight.json +2 -2
- package/json-schema/ui/SelectionConfig.json +2 -2
- package/json-schema/ui/SharingConfig.json +2 -2
- package/json-schema/ui/StyleMap.json +2 -2
- package/json-schema/ui/TimelineConfig.json +2 -2
- package/json-schema/ui/TimesheetConfig.json +31 -0
- package/json-schema/ui/TreeConfig.json +2 -2
- package/json-schema/ui/UrlNavItem.json +2 -2
- package/json-schema/ui/UserActionsConfig.json +2 -2
- package/json-schema/ui/UserFilterField.json +2 -2
- package/json-schema/ui/UserFilters.json +2 -2
- package/json-schema/ui/View.json +70 -8
- package/json-schema/ui/ViewData.json +2 -2
- package/json-schema/ui/ViewFilterElement.json +2 -2
- package/json-schema/ui/ViewFilterOrGroup.json +2 -2
- package/json-schema/ui/ViewFilterRule.json +2 -2
- package/json-schema/ui/ViewItem.json +37 -6
- package/json-schema/ui/ViewItemName.json +2 -2
- package/json-schema/ui/ViewItemWire.json +37 -6
- package/json-schema/ui/ViewKind.json +2 -2
- package/json-schema/ui/ViewScope.json +2 -2
- package/json-schema/ui/ViewSharing.json +2 -2
- package/json-schema/ui/ViewTab.json +2 -2
- package/json-schema/ui/VisualizationType.json +4 -3
- package/json-schema/ui/WidgetActionType.json +2 -2
- package/json-schema/ui/WidgetColorVariant.json +2 -2
- package/liveness/action.json +68 -1
- package/liveness/field.json +4 -4
- package/liveness/flow.json +6 -0
- package/liveness/hook.json +49 -2
- package/liveness/metadata_endpoints.json +1 -1
- package/liveness/object.json +7 -1
- package/liveness/permission.json +7 -0
- package/liveness/position.json +1 -1
- package/liveness/seed.json +7 -0
- package/liveness/skill.json +10 -3
- package/liveness/state-counts/action.md +1 -1
- package/liveness/state-counts/flow.md +1 -1
- package/liveness/state-counts/hook.md +1 -1
- package/liveness/state-counts/object.md +1 -1
- package/liveness/state-counts/permission.md +1 -1
- package/liveness/state-counts/seed.md +1 -1
- package/liveness/state-counts/skill.md +1 -1
- package/liveness/state-counts/translation.md +1 -1
- package/liveness/state-counts/view.md +1 -1
- package/liveness/tool.json +1 -1
- package/liveness/translation.json +62 -0
- package/liveness/view.json +23 -1
- package/liveness/webhook.json +1 -1
- package/llms.txt +2 -2
- package/package.json +1 -1
- package/protocol-upgrade-guide.md +135 -11
- package/spec-changes.json +806 -1529
- package/src/ai/dataset-tools.zod.ts +164 -3
- package/src/ai/object-query-source.zod.ts +20 -3
- package/src/ai/skill.zod.ts +87 -21
- package/src/ai/solution-blueprint.zod.ts +140 -5
- package/src/ai/tool.zod.ts +34 -25
- package/src/api/auth-endpoints.zod.ts +21 -2
- package/src/api/auth.zod.ts +14 -1
- package/src/api/automation-api.zod.ts +19 -9
- package/src/api/discovery.zod.ts +3 -2
- package/src/api/error-code-ledger.zod.ts +50 -7
- package/src/api/protocol.zod.ts +420 -36
- package/src/api/rest-server.zod.ts +3 -1
- package/src/automation/approval.zod.ts +42 -7
- package/src/automation/builtin-node-config.zod.ts +102 -11
- package/src/automation/execution.zod.ts +41 -0
- package/src/automation/flow.zod.ts +36 -0
- package/src/automation/io-node-config.zod.ts +5 -5
- package/src/automation/webhook.zod.ts +28 -1
- package/src/data/data-engine.zod.ts +10 -2
- package/src/data/declared-entry.zod.ts +342 -0
- package/src/data/driver.zod.ts +207 -4
- package/src/data/field.zod.ts +219 -16
- package/src/data/hook.zod.ts +294 -87
- package/src/data/mapping.zod.ts +6 -2
- package/src/data/object.zod.ts +308 -26
- package/src/data/seed-loader.zod.ts +4 -2
- package/src/data/seed.zod.ts +77 -17
- package/src/identity/position.zod.ts +26 -12
- package/src/kernel/execution-context.zod.ts +124 -30
- package/src/security/permission.zod.ts +69 -4
- package/src/stack.zod.ts +211 -53
- package/src/system/auth-config.zod.ts +32 -16
- package/src/system/settings-manifest.zod.ts +13 -4
- package/src/system/translation.zod.ts +242 -40
- package/src/ui/action.zod.ts +240 -7
- package/src/ui/bulk-action.zod.ts +79 -0
- package/src/ui/component.zod.ts +54 -6
- package/src/ui/view.zod.ts +77 -4
- package/dist/chunk-2FWQDUKW.mjs.map +0 -1
- package/dist/chunk-3TCQO3LJ.mjs +0 -3
- package/dist/chunk-3XZUOSSH.mjs +0 -62
- package/dist/chunk-3XZUOSSH.mjs.map +0 -1
- package/dist/chunk-4AKCXVO5.js +0 -163
- package/dist/chunk-4AKCXVO5.js.map +0 -1
- package/dist/chunk-4RBVUYL6.js.map +0 -1
- package/dist/chunk-4SJKVIMO.mjs.map +0 -1
- package/dist/chunk-4W7WDTS7.js.map +0 -1
- package/dist/chunk-5BIB3PXT.mjs.map +0 -1
- package/dist/chunk-5D3BCLIA.js.map +0 -1
- package/dist/chunk-5FC5VIRA.js.map +0 -1
- package/dist/chunk-5K5WXEMX.mjs +0 -3
- package/dist/chunk-5VB74EH4.mjs.map +0 -1
- package/dist/chunk-6BXBCSBN.mjs +0 -89
- package/dist/chunk-6BXBCSBN.mjs.map +0 -1
- package/dist/chunk-6KSJMV6P.js.map +0 -1
- package/dist/chunk-6QZI7EOF.js.map +0 -1
- package/dist/chunk-6RKCDNHB.mjs.map +0 -1
- package/dist/chunk-7S25VW4D.js.map +0 -1
- package/dist/chunk-ACFD6QGB.js.map +0 -1
- package/dist/chunk-B4BFVTLU.mjs.map +0 -1
- package/dist/chunk-BBXB3HTK.js +0 -69
- package/dist/chunk-BBXB3HTK.js.map +0 -1
- package/dist/chunk-BP6RNSGE.js.map +0 -1
- package/dist/chunk-BWCETSLG.js.map +0 -1
- package/dist/chunk-C3YBGX53.js.map +0 -1
- package/dist/chunk-CHSWC7EF.js.map +0 -1
- package/dist/chunk-CR7QKE2U.js.map +0 -1
- package/dist/chunk-DCV2R7R4.mjs.map +0 -1
- package/dist/chunk-DYEKZYWU.mjs.map +0 -1
- package/dist/chunk-EDQHRDYH.mjs.map +0 -1
- package/dist/chunk-EHBWO45W.mjs.map +0 -1
- package/dist/chunk-FH4VIOYX.js.map +0 -1
- package/dist/chunk-GGIWCMX7.mjs.map +0 -1
- package/dist/chunk-GMWFDQKU.mjs.map +0 -1
- package/dist/chunk-GTMHSUTC.mjs.map +0 -1
- package/dist/chunk-H2COWFTZ.mjs.map +0 -1
- package/dist/chunk-H2WHT7JC.js +0 -94
- package/dist/chunk-H2WHT7JC.js.map +0 -1
- package/dist/chunk-HRKLUOOS.js +0 -12
- package/dist/chunk-HRKLUOOS.js.map +0 -1
- package/dist/chunk-IS2IOB3W.mjs +0 -9
- package/dist/chunk-IS2IOB3W.mjs.map +0 -1
- package/dist/chunk-IYKVKTG4.mjs.map +0 -1
- package/dist/chunk-LVUIIEKT.js +0 -4
- package/dist/chunk-MS53U5GW.js.map +0 -1
- package/dist/chunk-MSYYZYOC.js.map +0 -1
- package/dist/chunk-MVRLZGGC.mjs.map +0 -1
- package/dist/chunk-N7GXMXCG.mjs.map +0 -1
- package/dist/chunk-NFI2BLPG.js.map +0 -1
- package/dist/chunk-O4EWVL3J.mjs.map +0 -1
- package/dist/chunk-OGDPZNXV.mjs.map +0 -1
- package/dist/chunk-ORXO3DUF.mjs +0 -150
- package/dist/chunk-ORXO3DUF.mjs.map +0 -1
- package/dist/chunk-PUHQKTMT.js.map +0 -1
- package/dist/chunk-QOPFMYAQ.mjs.map +0 -1
- package/dist/chunk-QVAVKV7B.mjs.map +0 -1
- package/dist/chunk-RCPIIEZH.js.map +0 -1
- package/dist/chunk-S3JVWJ7P.mjs.map +0 -1
- package/dist/chunk-SOV5TD55.js.map +0 -1
- package/dist/chunk-TWWAHLVY.mjs.map +0 -1
- package/dist/chunk-URGUMSYY.js.map +0 -1
- package/dist/chunk-UYR4XP54.mjs.map +0 -1
- package/dist/chunk-W7TCSP7I.js +0 -4
- package/dist/chunk-WCYQ5GUY.js.map +0 -1
- package/dist/chunk-XH46Y7ZX.mjs.map +0 -1
- package/dist/chunk-YGJWOWL5.js.map +0 -1
- package/dist/chunk-YV5Z5UZA.js.map +0 -1
- package/dist/chunk-ZOIWTYZO.js.map +0 -1
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { A as AnalyticsQuery, C as Cube, I as IDataEngine, b as IObjectQLEngine } from '../analytics.zod-
|
|
2
|
-
export { D as DriverQuery, E as EngineDatasourceDef,
|
|
3
|
-
import { a8 as ValidationResult, H as MetadataQuery, J as MetadataQueryResult, s as MetadataBulkResult, R as MetadataValidationResult, w as MetadataDependency, E as ExecutionContext, m as DependencyResolutionResult, T as PackageArtifact } from '../package-artifact.zod-
|
|
4
|
-
export { $ as PluginStartupResult } from '../package-artifact.zod-
|
|
1
|
+
import { A as AnalyticsQuery, C as Cube, I as IDataEngine, b as IObjectQLEngine } from '../analytics.zod-CHiBKso9.mjs';
|
|
2
|
+
export { D as DriverAggregateQuery, c as DriverQuery, E as EngineDatasourceDef, e as EngineFilterJudgement, f as EngineFilterJudgementOptions, g as EngineSchemaRegistryView, h as EngineTransactionInfo, i as EngineTransactionOptions, j as IDataDriver, k as ISchemaDiffService, l as IScopedContext, m as IScopedObjectRepository, n as InternalFieldEvaluationOptions, o as InternalFieldEvaluationQuery, p as IntrospectedColumn, q as IntrospectedIndex, r as IntrospectedSchema, s as IntrospectedTable, M as MigrationApplyResult, Q as QueryEvaluationGate, W as WriteObservabilityOptions } from '../analytics.zod-CHiBKso9.mjs';
|
|
3
|
+
import { a8 as ValidationResult, H as MetadataQuery, J as MetadataQueryResult, s as MetadataBulkResult, R as MetadataValidationResult, w as MetadataDependency, E as ExecutionContext, m as DependencyResolutionResult, T as PackageArtifact } from '../package-artifact.zod-DCJBPs2g.mjs';
|
|
4
|
+
export { $ as PluginStartupResult } from '../package-artifact.zod-DCJBPs2g.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { O as ObjectSchema, F as FieldSchema } from '../object.zod-
|
|
6
|
+
import { O as ObjectSchema, F as FieldSchema } from '../object.zod-HjX5KUOZ.mjs';
|
|
7
7
|
import { N as NotificationChannel, U as UserDevice, i as AppManifest, a as AppCompatibilityCheckParsed, f as AppInstallResult } from '../app-install.zod-Bxc_bLIa.mjs';
|
|
8
|
-
import {
|
|
9
|
-
export {
|
|
8
|
+
import { ek as RegisterDeviceRequest, em as RegisterDeviceResponse, f8 as UnregisterDeviceResponse, A as ApiEndpoint, bA as FlowInnerRefusal, bD as FlowRegistration, aY as DatasetSelection, cM as GetRecordFieldAccessResponse, eq as ResumeFailureDetails } from '../automation-api.zod-DM-Kpv7b.mjs';
|
|
9
|
+
export { aN as DatasetCompareTo } from '../automation-api.zod-DM-Kpv7b.mjs';
|
|
10
10
|
import { P as PackagePublishResult, L as MetadataWatchEvent, e as MetadataHistoryQueryOptions, h as MetadataHistoryQueryResult, c as MetadataDiffResult } from '../metadata-persistence.zod-lk7CgkvP.mjs';
|
|
11
|
-
import { b as Action } from '../action.zod-
|
|
12
|
-
import { l as FlowParsed } from '../flow.zod-
|
|
13
|
-
import { G as FlowRunSummary, r as ExecutionStatus, o as ExecutionLog, b as ActionDescriptor } from '../node-executor.zod-
|
|
14
|
-
import { c as ConnectorState, a as ConnectorDescriptor } from '../connector-descriptor-
|
|
11
|
+
import { b as Action } from '../action.zod-CdixFxVV.mjs';
|
|
12
|
+
import { l as FlowParsed } from '../flow.zod-BSAQpsqF.mjs';
|
|
13
|
+
import { G as FlowRunSummary, r as ExecutionStatus, o as ExecutionLog, b as ActionDescriptor } from '../node-executor.zod-gyps2MyJ.mjs';
|
|
14
|
+
import { c as ConnectorState, a as ConnectorDescriptor } from '../connector-descriptor-M2EElfhr.mjs';
|
|
15
15
|
import { C as ConversionNotice, a as ConversionTodoNotice } from '../types-DgE8lLsC.mjs';
|
|
16
|
-
import { k as JobExecution, M as TranslationCoverageResult, R as TranslationDiffItem } from '../translation.zod-
|
|
17
|
-
import { c as DroppedFieldsEvent, A as AggregationFunction } from '../data-engine.zod-
|
|
16
|
+
import { k as JobExecution, M as TranslationCoverageResult, R as TranslationDiffItem } from '../translation.zod-CiahYd3b.mjs';
|
|
17
|
+
import { c as DroppedFieldsEvent, A as AggregationFunction } from '../data-engine.zod-BTuqC-xI.mjs';
|
|
18
18
|
import { F as FilterCondition } from '../filter.zod-CBdjKsB4.mjs';
|
|
19
|
-
import { P as PercentScale, E as ExternalCatalog, S as SeedLoaderRequestParsed, a as SeedLoaderResultParsed, O as ObjectDependencyGraphParsed, b as Seed, c as SeedLoaderConfig } from '../percent-scale-
|
|
19
|
+
import { P as PercentScale, E as ExternalCatalog, S as SeedLoaderRequestParsed, a as SeedLoaderResultParsed, O as ObjectDependencyGraphParsed, b as Seed, c as SeedLoaderConfig } from '../percent-scale-CsiIfQll.mjs';
|
|
20
20
|
import { j as DatasetMeasurePolarity, c as Dataset } from '../dataset.zod-DK-HxBHP.mjs';
|
|
21
21
|
import { ModelMessage, ToolCallPart, TextStreamPart, ToolSet, ToolResultPart } from 'ai';
|
|
22
22
|
export { AssistantModelMessage, FinishReason, ModelMessage, SystemModelMessage, TextStreamPart, ToolCallPart, ToolModelMessage, ToolResultPart, ToolSet, UserModelMessage } from 'ai';
|
|
23
|
+
import { E as EvalUser } from '../eval-user.zod-BnHHO8Fu.mjs';
|
|
23
24
|
import { p as ExplainOperation, u as ExplainRequest, h as ExplainDecision, C as TenancyPosture, y as QueueMemberType } from '../queue.zod-XtDL8wI1.mjs';
|
|
24
|
-
import { h as ObjectAccessScope, P as PermissionSet, E as EffectiveObjectPermission } from '../permission.zod-
|
|
25
|
-
import { E as ErrorCode } from '../error-code-ledger.zod-
|
|
26
|
-
import { N as NamespaceConflictError, o as InstalledPackage } from '../package-registry.zod-
|
|
27
|
-
import { O as ObjectStackManifest } from '../manifest.zod-
|
|
25
|
+
import { h as ObjectAccessScope, P as PermissionSet, E as EffectiveObjectPermission } from '../permission.zod-CivNRXGH.mjs';
|
|
26
|
+
import { E as ErrorCode } from '../error-code-ledger.zod-KJChQM4C.mjs';
|
|
27
|
+
import { N as NamespaceConflictError, o as InstalledPackage } from '../package-registry.zod-FGbzMReh.mjs';
|
|
28
|
+
import { O as ObjectStackManifest } from '../manifest.zod-kCcUXU-q.mjs';
|
|
28
29
|
import { k as KnowledgeSource, d as KnowledgeDocument, f as KnowledgeHit } from '../knowledge-document.zod-CTfynR_c.mjs';
|
|
29
30
|
import { S as SchemaDiffEntry } from '../external-errors-rBGCrupD.mjs';
|
|
30
31
|
import { i as DeployStatus, a as DeployBundle, m as DeployValidationResult, M as MigrationPlan } from '../deploy-bundle.zod-SFDlORwa.mjs';
|
|
31
32
|
import '../flow-function.zod-0vgfDg0n.mjs';
|
|
32
|
-
import '../expression.zod-
|
|
33
|
-
import '../view.zod-
|
|
33
|
+
import '../expression.zod-C2ODz84X.mjs';
|
|
34
|
+
import '../view.zod-BqHLXVI0.mjs';
|
|
34
35
|
import '../connector.zod-CI3iB7HD.mjs';
|
|
35
36
|
import '../errors.zod-KArpiGSk.mjs';
|
|
36
|
-
import '../app.zod-
|
|
37
|
+
import '../app.zod-CjFtVfyi.mjs';
|
|
37
38
|
|
|
38
39
|
/**
|
|
39
40
|
* Logger Contract
|
|
@@ -131,6 +132,12 @@ interface IHttpRequest {
|
|
|
131
132
|
* handler must not catch the refusal and carry on, because anything it
|
|
132
133
|
* does after the catch acts on a request that has already been refused.
|
|
133
134
|
*
|
|
135
|
+
* A body larger than the transport's request-body limit is refused the
|
|
136
|
+
* same way, with 413 `PAYLOAD_TOO_LARGE`. That refusal alone has one way
|
|
137
|
+
* out: a handler that then reads {@link rawBody} takes the read over under
|
|
138
|
+
* its own bound (an upload door whose limit is above the transport's), and
|
|
139
|
+
* its own answer stands. Such a handler owes that bound to `rawBody`.
|
|
140
|
+
*
|
|
134
141
|
* A handler that needs the raw bytes (a file upload, a media type not
|
|
135
142
|
* listed above) reads {@link rawBody} and never reads `body`.
|
|
136
143
|
*/
|
|
@@ -146,8 +153,33 @@ interface IHttpRequest {
|
|
|
146
153
|
* Implementations should consume the underlying request stream lazily so
|
|
147
154
|
* handlers that only need `body` do not pay the parsing cost. May be
|
|
148
155
|
* undefined when the underlying framework cannot expose the raw stream.
|
|
149
|
-
|
|
150
|
-
|
|
156
|
+
*
|
|
157
|
+
* The bytes are NOT bounded by the transport's request-body limit: the
|
|
158
|
+
* reader is a door that bounds them by its own. It states that bound as
|
|
159
|
+
* `options.maxBytes`, and an implementation MUST then hold the body to it
|
|
160
|
+
* whether or not the request declares a length:
|
|
161
|
+
*
|
|
162
|
+
* - a declared `Content-Length` over `maxBytes` is refused without reading
|
|
163
|
+
* the body;
|
|
164
|
+
* - a body with no declared length is counted as it is read, and refused
|
|
165
|
+
* once it passes `maxBytes`: the read stops there and the rest is not
|
|
166
|
+
* buffered;
|
|
167
|
+
* - exactly `maxBytes` is read whole.
|
|
168
|
+
*
|
|
169
|
+
* `maxBytes` is a non-negative whole number of bytes. Any other value is
|
|
170
|
+
* the calling door's bug, never "no bound": the call itself throws a
|
|
171
|
+
* `TypeError`, before anything is read, rather than returning a promise.
|
|
172
|
+
*
|
|
173
|
+
* A refusal rejects with an error carrying `status` 413 and `code`
|
|
174
|
+
* `PAYLOAD_TOO_LARGE`. The door answers it with its own refusal; one that
|
|
175
|
+
* lets it escape is answered 413 `PAYLOAD_TOO_LARGE`. Without `maxBytes`
|
|
176
|
+
* the whole body is read, as before, so a door that has a bound passes it.
|
|
177
|
+
* The first call reads the body; a later call answers those same bytes
|
|
178
|
+
* judged against its own `maxBytes`, or the first call's refusal.
|
|
179
|
+
*/
|
|
180
|
+
rawBody?: (options?: {
|
|
181
|
+
maxBytes?: number;
|
|
182
|
+
}) => Promise<Buffer>;
|
|
151
183
|
/**
|
|
152
184
|
* The TRANSPORT's own peer address for this request — the socket's remote
|
|
153
185
|
* address, never a header.
|
|
@@ -2588,6 +2620,14 @@ interface IMetadataService {
|
|
|
2588
2620
|
listDashboards?(): Promise<unknown[]>;
|
|
2589
2621
|
/**
|
|
2590
2622
|
* Unregister all metadata items from a specific package
|
|
2623
|
+
*
|
|
2624
|
+
* [#32985] This contract has no `force` and answers nothing: an
|
|
2625
|
+
* implementation may keep some of the package's items and still resolve
|
|
2626
|
+
* (`MetadataManager` keeps an item whose stored row names the package by
|
|
2627
|
+
* the `_packageId` stamp alone). An uninstall UI must not report success
|
|
2628
|
+
* from this call. It calls `MetadataManager.unregisterPackageWithReport`
|
|
2629
|
+
* (`@objectstack/metadata`) and shows each `kept` item, or the uninstall
|
|
2630
|
+
* looks complete while those items stay live.
|
|
2591
2631
|
* @param packageName - The package name whose items should be removed
|
|
2592
2632
|
*/
|
|
2593
2633
|
unregisterPackage?(packageName: string): Promise<void>;
|
|
@@ -4601,7 +4641,8 @@ interface AutomationResult {
|
|
|
4601
4641
|
*/
|
|
4602
4642
|
userMessage?: string;
|
|
4603
4643
|
/**
|
|
4604
|
-
* The refusal a node
|
|
4644
|
+
* The refusal a node met inside the run (a data node's read or write, or a
|
|
4645
|
+
* `script` node's function resolution), structured —
|
|
4605
4646
|
* `{ code, message }`, `code` in its WIRE spelling (`UNIQUE_VIOLATION`
|
|
4606
4647
|
* for a unique refusal), the shape a record save of the same write
|
|
4607
4648
|
* answers with (ruling B′ on #24914; #24996).
|
|
@@ -4867,13 +4908,21 @@ interface FlowRuntimeState {
|
|
|
4867
4908
|
* at the region boundary the first time that child suspends. Author remedy:
|
|
4868
4909
|
* move the call onto the top-level graph, or republish the child without a
|
|
4869
4910
|
* node that suspends, and the flow arms.
|
|
4911
|
+
* - `retried_callout_in_subflow` — the arming gate declined the flow because it
|
|
4912
|
+
* runs after a record change and a `subflow` / `map` node of it reaches a
|
|
4913
|
+
* child flow holding an inline outbound call (`http` without `durable: true`,
|
|
4914
|
+
* or `connector_action`) that something on the call chain retries: the save
|
|
4915
|
+
* waits for the run and the run for its child, so a failing call would hold
|
|
4916
|
+
* the user's save through every attempt and backoff delay. Author remedy:
|
|
4917
|
+
* make the child's `http` node durable, or remove the retry, and the flow
|
|
4918
|
+
* arms.
|
|
4870
4919
|
* - `missing_trigger` — no trigger of the declared type is registered on this
|
|
4871
4920
|
* kernel. Author remedy: depend on the trigger package
|
|
4872
4921
|
* (`requires: ['triggers']`).
|
|
4873
4922
|
* - `binding_failure` — the trigger is registered but binding the flow to it
|
|
4874
4923
|
* failed. Engineering remedy: the earlier boot warnings name the error.
|
|
4875
4924
|
*/
|
|
4876
|
-
declare const FLOW_UNBOUND_CAUSES: readonly ["deployment_policy", "disabled_subflow", "notice_after_suspending_subflow", "suspending_subflow_in_region", "missing_trigger", "binding_failure"];
|
|
4925
|
+
declare const FLOW_UNBOUND_CAUSES: readonly ["deployment_policy", "disabled_subflow", "notice_after_suspending_subflow", "suspending_subflow_in_region", "retried_callout_in_subflow", "missing_trigger", "binding_failure"];
|
|
4877
4926
|
/** Why an enabled, triggered flow is not armed — derived from {@link FLOW_UNBOUND_CAUSES}. */
|
|
4878
4927
|
type FlowUnboundCause = (typeof FLOW_UNBOUND_CAUSES)[number];
|
|
4879
4928
|
/**
|
|
@@ -5188,6 +5237,16 @@ interface ConnectorConnectionState {
|
|
|
5188
5237
|
interface ConnectorConnectionRequest {
|
|
5189
5238
|
/** The declarative connector instance, by name. */
|
|
5190
5239
|
connector: string;
|
|
5240
|
+
/**
|
|
5241
|
+
* ADR-0150 D9 (#31699) — the package whose instance of `connector` is
|
|
5242
|
+
* meant, when two packages of different namespaces each declare one of the
|
|
5243
|
+
* name. The namespace-addressed connection door
|
|
5244
|
+
* (`/automation/connectors/:ns/:name/connection`) fills it from the address;
|
|
5245
|
+
* left out, the bare name must resolve to one instance or the call is
|
|
5246
|
+
* refused `409` (ambiguity is reported, never guessed). A connect that
|
|
5247
|
+
* already recorded a connection keeps that connection's package.
|
|
5248
|
+
*/
|
|
5249
|
+
package?: string;
|
|
5191
5250
|
/** The caller — its organization selects the connection, its user stamps the row. */
|
|
5192
5251
|
context?: ExecutionContext;
|
|
5193
5252
|
/**
|
|
@@ -5229,6 +5288,269 @@ interface ConnectorConnectionCallbackRequest {
|
|
|
5229
5288
|
/** The caller — it must be the user and organization that began the connect. */
|
|
5230
5289
|
context?: ExecutionContext;
|
|
5231
5290
|
}
|
|
5291
|
+
/**
|
|
5292
|
+
* What {@link IAutomationService.dryRun} is asked to run the definition
|
|
5293
|
+
* against (#33757): the acting user, and the start a trigger would hand the
|
|
5294
|
+
* run. The start keys are {@link AutomationContext}'s own, read as
|
|
5295
|
+
* {@link IAutomationService.execute} reads them.
|
|
5296
|
+
*
|
|
5297
|
+
* ⛔ No grants: no positions, permission sets, posture or email. The engine
|
|
5298
|
+
* resolves the named user's own, so a caller cannot run a dry run with grants
|
|
5299
|
+
* the user does not hold.
|
|
5300
|
+
*/
|
|
5301
|
+
interface FlowDryRunOptions extends Pick<AutomationContext, 'record' | 'previous' | 'object' | 'event' | 'params' | 'locale'> {
|
|
5302
|
+
/**
|
|
5303
|
+
* The acting user, a `sys_user` id. Required: a dry run always acts as a
|
|
5304
|
+
* named user, so it never meets `AUTOMATION_UNSCOPED_RUN_DATA_ACCESS`.
|
|
5305
|
+
*/
|
|
5306
|
+
userId: string;
|
|
5307
|
+
/**
|
|
5308
|
+
* The organization the run is in, read as {@link AutomationContext.tenantId}.
|
|
5309
|
+
* It must be an organization the named user is a member of; any other is
|
|
5310
|
+
* refused before any node runs (`status: 'refused'`,
|
|
5311
|
+
* `PERMISSION_DENIED`). That refusal is the dry run's own: a live run's
|
|
5312
|
+
* setup refuses no organization, it only resolves none of the user's
|
|
5313
|
+
* grants there. Absent, the run is in no organization, as a by-name start
|
|
5314
|
+
* that carries none.
|
|
5315
|
+
*/
|
|
5316
|
+
tenantId?: string;
|
|
5317
|
+
}
|
|
5318
|
+
/**
|
|
5319
|
+
* The overall answer of {@link IAutomationService.dryRun}.
|
|
5320
|
+
*
|
|
5321
|
+
* - `'completed'`: the run reached an `end` node. An `end` node declaring
|
|
5322
|
+
* `outcome: 'refused'` completes too; its step carries the rendered
|
|
5323
|
+
* `refusalMessage`.
|
|
5324
|
+
* - `'condition_not_met'`: the start node's `condition` did not hold for the
|
|
5325
|
+
* supplied `record` / `previous`, so no node ran and there are no steps.
|
|
5326
|
+
* It mirrors the live run's skip exit (`execute` answers
|
|
5327
|
+
* `output: { skipped: true, reason: 'condition_not_met' }`); the result
|
|
5328
|
+
* carries the condition in {@link FlowDryRunResult.startCondition}.
|
|
5329
|
+
* - `'stopped'`: the run reached a node it does not go past (see
|
|
5330
|
+
* {@link FlowDryRunStopStep}); that node is the last step.
|
|
5331
|
+
* - `'failed'`: the dry run could not continue past a step, or could not
|
|
5332
|
+
* evaluate the start condition. A node failed, or met a refusal, that no
|
|
5333
|
+
* `fault` edge or `try_catch` region contains; that node is the last
|
|
5334
|
+
* step. It is the dry run's own answer, not a prediction: a dry run can
|
|
5335
|
+
* fail where the live run would not (a later node reads an outbound
|
|
5336
|
+
* node's output, which a dry run leaves unset; a `runAs: 'system'` draft,
|
|
5337
|
+
* which a dry run never elevates, meets a refusal; a filtered read misses
|
|
5338
|
+
* a simulated write), and pass where the live run would fail (a
|
|
5339
|
+
* validation rule, a uniqueness constraint, a required field, or any
|
|
5340
|
+
* refusal a dry run does not judge).
|
|
5341
|
+
* A start node whose `condition` throws when it is evaluated against the
|
|
5342
|
+
* supplied `record` / `previous` fails before any node runs: there are no
|
|
5343
|
+
* steps, and {@link FlowDryRunResult.startCondition} carries the condition
|
|
5344
|
+
* and the fault. On the default error strategy this one follows the live
|
|
5345
|
+
* run, whose `execute` answers the same throw `status: 'failed'`. Under
|
|
5346
|
+
* `errorHandling.strategy: 'retry'` it is the dry run's own answer, not a
|
|
5347
|
+
* prediction: the live run hands the throw to `retryExecution`, whose
|
|
5348
|
+
* attempts (`executeWithoutRetry`) do not evaluate the start condition and
|
|
5349
|
+
* run the nodes (#33935, the engine card; this clause goes when it lands).
|
|
5350
|
+
* - `'refused'`: the run never started (see {@link FlowDryRunResult.refusal}).
|
|
5351
|
+
* ⛔ Not {@link AutomationResult.status}'s `'refused'`, which is an `end`
|
|
5352
|
+
* node's outcome; here that case is `'completed'`.
|
|
5353
|
+
*/
|
|
5354
|
+
type FlowDryRunStatus = 'completed' | 'condition_not_met' | 'stopped' | 'failed' | 'refused';
|
|
5355
|
+
/**
|
|
5356
|
+
* Why a dry run never started: existing {@link AutomationResult.code} members
|
|
5357
|
+
* only, each with the meaning it has there. ⛔ No new code is minted for a dry
|
|
5358
|
+
* run. (`FLOW_NO_START_NODE` is not among them: a definition with no `start`
|
|
5359
|
+
* node is one {@link IAutomationService.registerFlow} refuses, so a dry run
|
|
5360
|
+
* throws for it before it could answer.)
|
|
5361
|
+
*/
|
|
5362
|
+
type FlowDryRunRefusalCode = Extract<NonNullable<AutomationResult['code']>, 'PERMISSION_DENIED' | 'FLOW_INPUT_SCHEMA_INVALID'>;
|
|
5363
|
+
/** What every step of a dry run reports. */
|
|
5364
|
+
interface FlowDryRunStepBase {
|
|
5365
|
+
/** The node's id in the definition. */
|
|
5366
|
+
nodeId: string;
|
|
5367
|
+
/** The node's `type` as the definition declares it. */
|
|
5368
|
+
nodeType: string;
|
|
5369
|
+
/**
|
|
5370
|
+
* A refusal this node met, as a failed live run reports it
|
|
5371
|
+
* ({@link AutomationResult.innerRefusal}): a read refused in the named
|
|
5372
|
+
* user's scope, for example. Absent when the node met none.
|
|
5373
|
+
*/
|
|
5374
|
+
refusal?: FlowInnerRefusal;
|
|
5375
|
+
/** The node's failure text when it failed for a reason other than a refusal. */
|
|
5376
|
+
error?: string;
|
|
5377
|
+
}
|
|
5378
|
+
/**
|
|
5379
|
+
* A node that only routes the run: `start`, `end`, `loop`, `parallel` and
|
|
5380
|
+
* `try_catch`.
|
|
5381
|
+
*/
|
|
5382
|
+
interface FlowDryRunRouteStep extends FlowDryRunStepBase {
|
|
5383
|
+
kind: 'route';
|
|
5384
|
+
/** An `end` node declaring `outcome: 'refused'`: its message, rendered. */
|
|
5385
|
+
refusalMessage?: string;
|
|
5386
|
+
}
|
|
5387
|
+
/** An `assignment` node: the variables it set, with the values it computed. */
|
|
5388
|
+
interface FlowDryRunAssignmentStep extends FlowDryRunStepBase {
|
|
5389
|
+
kind: 'assignment';
|
|
5390
|
+
values: Record<string, unknown>;
|
|
5391
|
+
}
|
|
5392
|
+
/** A `decision` node: which way the run went, and why. */
|
|
5393
|
+
interface FlowDryRunDecisionStep extends FlowDryRunStepBase {
|
|
5394
|
+
kind: 'decision';
|
|
5395
|
+
/**
|
|
5396
|
+
* The branch label: the `label` of the first `config.conditions` entry that
|
|
5397
|
+
* held, or `'default'` when none held. Absent on a decision that declares
|
|
5398
|
+
* no conditions, whose out-edges carry the branching.
|
|
5399
|
+
*/
|
|
5400
|
+
branch?: string;
|
|
5401
|
+
/**
|
|
5402
|
+
* Why: every authored expression that held, in declaration order. One for
|
|
5403
|
+
* a `config.conditions` entry or an exclusive decision's out-edge; one per
|
|
5404
|
+
* branch taken for `mode: 'inclusive'`. Empty when the run took the
|
|
5405
|
+
* default branch because none held.
|
|
5406
|
+
*/
|
|
5407
|
+
expressions: string[];
|
|
5408
|
+
/** The ids of the nodes the run went on to; more than one only for `mode: 'inclusive'`. */
|
|
5409
|
+
next: string[];
|
|
5410
|
+
}
|
|
5411
|
+
/** A `get_record` node: the rows it read, in the named user's scope. */
|
|
5412
|
+
interface FlowDryRunReadStep extends FlowDryRunStepBase {
|
|
5413
|
+
kind: 'read';
|
|
5414
|
+
object: string;
|
|
5415
|
+
/** The ids of the rows the read answered, placeholder ids included. */
|
|
5416
|
+
recordIds: string[];
|
|
5417
|
+
}
|
|
5418
|
+
/**
|
|
5419
|
+
* Whether the named user may make a simulated write, as far as a dry run can
|
|
5420
|
+
* judge it without writing.
|
|
5421
|
+
*
|
|
5422
|
+
* - `'allowed'` / `'refused'`: an insert or an update, answered by the
|
|
5423
|
+
* object-level write check (`canWriteObject`, insert or update) for the
|
|
5424
|
+
* named user. `'allowed'` says that check admits the write, never that the
|
|
5425
|
+
* write would succeed.
|
|
5426
|
+
* - `'not_judged'`: every delete (the check has no delete arm), and every
|
|
5427
|
+
* write when no object-level check is installed. `canWriteObject` is a
|
|
5428
|
+
* method of `@objectstack/plugin-security`'s service, not of
|
|
5429
|
+
* `ISecurityService`, so a kernel without that plugin has none. ⛔
|
|
5430
|
+
* `'not_judged'` never means allowed.
|
|
5431
|
+
*
|
|
5432
|
+
* Never reported, for any operation, whatever the answer: the refusals that
|
|
5433
|
+
* check does not judge, which are row-level and post-image rules (the RLS
|
|
5434
|
+
* `using` pre-image and `check` post-image), controlled-by-parent, the tenant
|
|
5435
|
+
* post-image, provenance gates and the `owner_id` forge.
|
|
5436
|
+
*/
|
|
5437
|
+
type FlowDryRunWritePermission = 'allowed' | 'refused' | 'not_judged';
|
|
5438
|
+
/**
|
|
5439
|
+
* A `create_record`, `update_record` or `delete_record` node: the write it
|
|
5440
|
+
* would make. ⛔ Nothing was written.
|
|
5441
|
+
*/
|
|
5442
|
+
interface FlowDryRunWriteStep extends FlowDryRunStepBase {
|
|
5443
|
+
kind: 'write';
|
|
5444
|
+
operation: 'create' | 'update' | 'delete';
|
|
5445
|
+
object: string;
|
|
5446
|
+
/**
|
|
5447
|
+
* The rows the write targets. For an update or a delete, the live rows (or
|
|
5448
|
+
* placeholder ids) it would change, as the named user's scope reads them.
|
|
5449
|
+
* For a create, the one placeholder id the run binds to the new row.
|
|
5450
|
+
*/
|
|
5451
|
+
recordIds: string[];
|
|
5452
|
+
/**
|
|
5453
|
+
* The field values as the node computed them; absent for a delete.
|
|
5454
|
+
*/
|
|
5455
|
+
values?: Record<string, unknown>;
|
|
5456
|
+
/** The named user's permission for this write, as far as a dry run judges it. */
|
|
5457
|
+
permission: FlowDryRunWritePermission;
|
|
5458
|
+
}
|
|
5459
|
+
/**
|
|
5460
|
+
* A node with an effect outside the data: `notify`, `http`,
|
|
5461
|
+
* `connector_action`, `script` and `save_notice`. ⛔ Nothing was sent or
|
|
5462
|
+
* called.
|
|
5463
|
+
*/
|
|
5464
|
+
interface FlowDryRunOutboundStep extends FlowDryRunStepBase {
|
|
5465
|
+
kind: 'outbound';
|
|
5466
|
+
/**
|
|
5467
|
+
* What the node would send, as it computed it: the message, the request,
|
|
5468
|
+
* the connector input, or (`script`) the function name and its inputs.
|
|
5469
|
+
*/
|
|
5470
|
+
payload: unknown;
|
|
5471
|
+
}
|
|
5472
|
+
/**
|
|
5473
|
+
* The node the run stopped at. Always the last step, and only on a
|
|
5474
|
+
* `'stopped'` result.
|
|
5475
|
+
*/
|
|
5476
|
+
interface FlowDryRunStopStep extends FlowDryRunStepBase {
|
|
5477
|
+
kind: 'stop';
|
|
5478
|
+
/**
|
|
5479
|
+
* What the node would do that a dry run does not:
|
|
5480
|
+
* - `'approval'`: ask people to decide (the approvals plugin's `approval`
|
|
5481
|
+
* and `approval_revise` nodes);
|
|
5482
|
+
* - `'wait'`: wait for a timer or a signal (`wait`);
|
|
5483
|
+
* - `'screen'`: ask the person for input (`screen`);
|
|
5484
|
+
* - `'starts_flow'`: start another flow (`subflow`, `map`);
|
|
5485
|
+
* - `'suspends'`: suspend the run for another reason (any other node type
|
|
5486
|
+
* whose descriptor declares `supportsPause: true`);
|
|
5487
|
+
* - `'not_simulated'`: something a dry run cannot know (a node type
|
|
5488
|
+
* outside every class this contract names).
|
|
5489
|
+
*/
|
|
5490
|
+
reason: 'approval' | 'wait' | 'screen' | 'starts_flow' | 'suspends' | 'not_simulated';
|
|
5491
|
+
/** An approval node: the ids of the users it would ask, when the run can resolve them. */
|
|
5492
|
+
approvers?: string[];
|
|
5493
|
+
/** A `wait` node: what would resume it, from its `waitEventConfig`. */
|
|
5494
|
+
wait?: {
|
|
5495
|
+
eventType: string;
|
|
5496
|
+
timerDuration?: string;
|
|
5497
|
+
signalName?: string;
|
|
5498
|
+
};
|
|
5499
|
+
/** A `screen` node: the screen it would show. */
|
|
5500
|
+
screen?: ScreenSpec;
|
|
5501
|
+
/** A `subflow` or `map` node: the flow it would start. */
|
|
5502
|
+
flowName?: string;
|
|
5503
|
+
}
|
|
5504
|
+
/** One executed node of a dry run. */
|
|
5505
|
+
type FlowDryRunStep = FlowDryRunRouteStep | FlowDryRunAssignmentStep | FlowDryRunDecisionStep | FlowDryRunReadStep | FlowDryRunWriteStep | FlowDryRunOutboundStep | FlowDryRunStopStep;
|
|
5506
|
+
/** What {@link IAutomationService.dryRun} answers. */
|
|
5507
|
+
interface FlowDryRunResult {
|
|
5508
|
+
status: FlowDryRunStatus;
|
|
5509
|
+
/**
|
|
5510
|
+
* One entry per node execution: a node inside a loop appears once per
|
|
5511
|
+
* pass. Empty when `status` is `'refused'` or `'condition_not_met'`, and
|
|
5512
|
+
* when it is `'failed'` because the start condition could not be evaluated.
|
|
5513
|
+
* Branches that run side by side (a `parallel` node's branches, a node's
|
|
5514
|
+
* several unconditional out-edges) are listed one branch after another, in
|
|
5515
|
+
* declaration order (`config.branches`, then out-edges), each branch's
|
|
5516
|
+
* steps together; an inclusive decision's branches likewise, as the live
|
|
5517
|
+
* run takes them one at a time. For unconditional out-edges that is the
|
|
5518
|
+
* dry run's own order, and it can differ from the live step log, which can
|
|
5519
|
+
* interleave them. Otherwise steps are in the order the run executed them.
|
|
5520
|
+
*/
|
|
5521
|
+
steps: FlowDryRunStep[];
|
|
5522
|
+
/** Set exactly when `status` is `'refused'`: why the run never started. */
|
|
5523
|
+
refusal?: {
|
|
5524
|
+
code: FlowDryRunRefusalCode;
|
|
5525
|
+
message: string;
|
|
5526
|
+
};
|
|
5527
|
+
/**
|
|
5528
|
+
* The start node's `condition` as authored (its `source`, for an expression
|
|
5529
|
+
* envelope), set exactly when the dry run ended on it:
|
|
5530
|
+
* - with `result: false` when `status` is `'condition_not_met'`: it did not
|
|
5531
|
+
* hold against the supplied `record` / `previous`;
|
|
5532
|
+
* - with `fault` when `status` is `'failed'` and there are no steps: its
|
|
5533
|
+
* evaluation threw. `fault` is the thrown message, and `error` carries
|
|
5534
|
+
* the same text. On the default error strategy it is the text `execute`
|
|
5535
|
+
* answers as `error` for that throw. Under
|
|
5536
|
+
* `errorHandling.strategy: 'retry'` the live run does not answer it: its
|
|
5537
|
+
* retry attempts do not evaluate the start condition (#33935).
|
|
5538
|
+
*/
|
|
5539
|
+
startCondition?: {
|
|
5540
|
+
expression: string;
|
|
5541
|
+
result: false;
|
|
5542
|
+
fault?: never;
|
|
5543
|
+
} | {
|
|
5544
|
+
expression: string;
|
|
5545
|
+
fault: string;
|
|
5546
|
+
result?: never;
|
|
5547
|
+
};
|
|
5548
|
+
/**
|
|
5549
|
+
* Set exactly when `status` is `'failed'`: the run's failure text (for a
|
|
5550
|
+
* start condition that could not be evaluated, the thrown message).
|
|
5551
|
+
*/
|
|
5552
|
+
error?: string;
|
|
5553
|
+
}
|
|
5232
5554
|
interface IAutomationService {
|
|
5233
5555
|
/**
|
|
5234
5556
|
* Execute a named flow or script
|
|
@@ -5301,6 +5623,176 @@ interface IAutomationService {
|
|
|
5301
5623
|
*/
|
|
5302
5624
|
todos?: ConversionTodoNotice[];
|
|
5303
5625
|
};
|
|
5626
|
+
/**
|
|
5627
|
+
* Dry-run a flow definition that need not be published: once, unarmed, as
|
|
5628
|
+
* a named user, against a supplied start, without changing live data
|
|
5629
|
+
* (#33757, the contract half of #33661; objectstack-ai/cloud#3309 item 5,
|
|
5630
|
+
* option A). A maker sees what a drafted flow would do before publishing it.
|
|
5631
|
+
*
|
|
5632
|
+
* Optional, like every member past {@link execute} and {@link listFlows}:
|
|
5633
|
+
* only the engine that runs flows can offer it, and a caller that finds it
|
|
5634
|
+
* absent says a dry run is not available rather than guessing.
|
|
5635
|
+
*
|
|
5636
|
+
* **In what order it answers.**
|
|
5637
|
+
* - `options.userId` that is not a non-empty string: throws a `TypeError`
|
|
5638
|
+
* before the definition is read.
|
|
5639
|
+
* - A definition {@link registerFlow} would refuse under the definition's
|
|
5640
|
+
* own `name`: throws what {@link registerFlow} throws for it. Nothing is
|
|
5641
|
+
* registered.
|
|
5642
|
+
* - A `tenantId` naming an organization the named user is not a member
|
|
5643
|
+
* of, then admission: `status: 'refused'`, `PERMISSION_DENIED` in
|
|
5644
|
+
* `refusal`, and no steps.
|
|
5645
|
+
* - Then the start condition. A start node whose `condition` does not hold
|
|
5646
|
+
* for the supplied `record` / `previous` answers
|
|
5647
|
+
* `status: 'condition_not_met'`, the condition and its value in
|
|
5648
|
+
* `startCondition`, and no steps. This mirrors the live run's skip exit
|
|
5649
|
+
* (`execute`, `output: { skipped: true, reason: 'condition_not_met' }`,
|
|
5650
|
+
* `engine.ts` in `@objectstack/service-automation`), in the live run's
|
|
5651
|
+
* order: `execute` evaluates the start condition before its node
|
|
5652
|
+
* input-schema check, so a condition that does not hold answers first.
|
|
5653
|
+
* A `condition` whose evaluation throws (a CEL error against the
|
|
5654
|
+
* supplied `record` / `previous`, for instance) answers
|
|
5655
|
+
* `status: 'failed'` and no steps, the condition and the thrown message
|
|
5656
|
+
* in `startCondition` (`fault`) and the same message in `error`, also
|
|
5657
|
+
* before the input-schema check. On the default error strategy that is
|
|
5658
|
+
* the live run's answer: `execute`'s catch answers that throw
|
|
5659
|
+
* `status: 'failed'` with the message as `error`, before any node runs.
|
|
5660
|
+
* Under `errorHandling.strategy: 'retry'` the answer is the dry run's
|
|
5661
|
+
* own: `execute` hands the throw to `retryExecution`, whose attempts
|
|
5662
|
+
* (`executeWithoutRetry`) do not evaluate the start condition, and the
|
|
5663
|
+
* live run goes on to run the nodes (#33935, the engine card; this
|
|
5664
|
+
* clause goes when it lands).
|
|
5665
|
+
* - `execute`'s re-entrancy guard (`reentrancy_loop_guard`), which sits
|
|
5666
|
+
* between the two checks, cannot fire for a dry run: a dry run holds no
|
|
5667
|
+
* active-run key and writes nothing.
|
|
5668
|
+
* - Then the node input-schema check {@link execute} runs before dispatch:
|
|
5669
|
+
* `status: 'refused'`, `FLOW_INPUT_SCHEMA_INVALID` in `refusal`, and no
|
|
5670
|
+
* steps.
|
|
5671
|
+
* - No node has run before any of these answers. Otherwise the nodes run,
|
|
5672
|
+
* as described below.
|
|
5673
|
+
*
|
|
5674
|
+
* **The name.** The definition's own `name` is the flow's name for the
|
|
5675
|
+
* call: the name registration judges, and the one nodes read their per-flow
|
|
5676
|
+
* keys under (the `flows.<flow>.…` translation keys). It is never looked
|
|
5677
|
+
* up among registered flows, and a registered flow of that name is neither
|
|
5678
|
+
* read nor touched.
|
|
5679
|
+
*
|
|
5680
|
+
* **Unarmed and unregistered.**
|
|
5681
|
+
* - The definition is never registered: {@link listFlows} and
|
|
5682
|
+
* {@link getFlow} do not answer it during or after the call.
|
|
5683
|
+
* - Its trigger (a record change, a schedule, an API route) is never armed.
|
|
5684
|
+
* - The definition runs once per call, with no retry.
|
|
5685
|
+
* - No run is persisted: there is no `runId`, and {@link getRun},
|
|
5686
|
+
* {@link listRuns} and the run history never show it.
|
|
5687
|
+
*
|
|
5688
|
+
* **Identity: the named user.**
|
|
5689
|
+
* - The run acts as `options.userId`. The engine resolves that user's own
|
|
5690
|
+
* grants (positions, permission sets, posture, email), as it does for a
|
|
5691
|
+
* run whose context carries none; the options have no slot for grants.
|
|
5692
|
+
* - It is never elevated. A definition declaring `runAs: 'system'` also
|
|
5693
|
+
* runs as the named user: every read and every permission judgement is
|
|
5694
|
+
* that user's, so its report can show a refusal the published flow,
|
|
5695
|
+
* running elevated, would not meet.
|
|
5696
|
+
* - The method does not judge whether its caller may act as `userId`, as
|
|
5697
|
+
* {@link execute} does not judge `AutomationContext.userId`. A door that
|
|
5698
|
+
* serves a person passes that person's id.
|
|
5699
|
+
*
|
|
5700
|
+
* **Admission: the by-name start rule.** The rules that admit a start by
|
|
5701
|
+
* name (`flowStartRefusal`, `@objectstack/runtime`'s
|
|
5702
|
+
* `flow-start-admission.ts`), judged on the supplied definition's `runAs`
|
|
5703
|
+
* and `requiredPermissions` against the named user. There is no
|
|
5704
|
+
* system-principal bypass, since the run always names a user.
|
|
5705
|
+
* - A definition declaring `runAs: 'system'` whose `type` starts on its own
|
|
5706
|
+
* trigger (`autolaunched`, `record_change`, `schedule`) is admitted to a
|
|
5707
|
+
* dry run for the named user (ruling B, record 6917953931). The run is
|
|
5708
|
+
* never elevated: every read and every permission judgement is the
|
|
5709
|
+
* named user's. A by-name start of a published flow keeps refusing it
|
|
5710
|
+
* (`flowStartRefusal`); the widening is the dry run's alone.
|
|
5711
|
+
* - A definition declaring `runAs: 'system'` is refused when the named user
|
|
5712
|
+
* is an AI service account (ADR-0151 D3), as at the trigger routes: a dry
|
|
5713
|
+
* run starts with no action in hand, so no AI opt-in stands.
|
|
5714
|
+
* - A named user missing any capability the definition's
|
|
5715
|
+
* `requiredPermissions` names is refused.
|
|
5716
|
+
* - Each refusal is `code: 'PERMISSION_DENIED'` with the message the
|
|
5717
|
+
* by-name start answers for the same rule.
|
|
5718
|
+
*
|
|
5719
|
+
* **Writes: simulated, never made.**
|
|
5720
|
+
* - `create_record`, `update_record` and `delete_record` write nothing, and
|
|
5721
|
+
* nothing is rolled back, since nothing was written. Each reports the
|
|
5722
|
+
* write it would make ({@link FlowDryRunWriteStep}).
|
|
5723
|
+
* - A create binds a placeholder id to the new row: opaque, unique within
|
|
5724
|
+
* the call, and never the id of a live row.
|
|
5725
|
+
* - A later read by id of a row the run updated answers the live row with
|
|
5726
|
+
* the simulated fields laid over it; of a row the run deleted, nothing.
|
|
5727
|
+
* - A row the run created holds only the fields the flow set. The fields
|
|
5728
|
+
* the engine sets on a real insert (defaults, autonumbers, formulas, the
|
|
5729
|
+
* owner, timestamps) are absent from it, so a later node that reads one
|
|
5730
|
+
* finds it unset.
|
|
5731
|
+
* - A read that filters rather than names an id answers the live rows the
|
|
5732
|
+
* named user can read, and does not see the run's simulated writes.
|
|
5733
|
+
* - Since nothing is written, nothing a write sets off runs: no record
|
|
5734
|
+
* hook, no record-change trigger, no other flow, no audit row.
|
|
5735
|
+
* - The data engine does not judge a simulated write, so a write it would
|
|
5736
|
+
* refuse for a validation rule, a uniqueness constraint or a required
|
|
5737
|
+
* field reports as it would be made.
|
|
5738
|
+
* - Each write step carries a three-way `permission`
|
|
5739
|
+
* ({@link FlowDryRunWritePermission}). An insert or an update answers
|
|
5740
|
+
* `'allowed'` or `'refused'`, from the object-level write check
|
|
5741
|
+
* (`canWriteObject`, insert or update) for the named user; `'allowed'`
|
|
5742
|
+
* never means the write would succeed. A delete answers `'not_judged'`,
|
|
5743
|
+
* since that check has no delete arm. With no object-level check
|
|
5744
|
+
* installed, every write step answers `'not_judged'`.
|
|
5745
|
+
* `'not_judged'` never means allowed.
|
|
5746
|
+
* - The refusals that check does not judge are never reported, for any
|
|
5747
|
+
* operation: row-level and post-image rules, controlled-by-parent, the
|
|
5748
|
+
* tenant post-image, provenance gates, the `owner_id` forge.
|
|
5749
|
+
* - A `'refused'` write is a refusal the step met: its step carries
|
|
5750
|
+
* `refusal` (`code: 'PERMISSION_DENIED'`), and the run goes on as after
|
|
5751
|
+
* any refusal (below).
|
|
5752
|
+
*
|
|
5753
|
+
* **Reads.** `get_record` reads live data, in the named user's scope.
|
|
5754
|
+
*
|
|
5755
|
+
* **A node that meets a refusal or fails.** It is reported, never skipped
|
|
5756
|
+
* silently: its step carries the refusal or the failure, and the run goes
|
|
5757
|
+
* on along a `fault` edge or out of a `try_catch` region that contains it,
|
|
5758
|
+
* or else it ends `'failed'`: the dry run could not continue past this
|
|
5759
|
+
* step. That is the dry run's own answer, in both directions: it can fail
|
|
5760
|
+
* where the live run would not, and pass where the live run would fail
|
|
5761
|
+
* ({@link FlowDryRunStatus}).
|
|
5762
|
+
*
|
|
5763
|
+
* **Side effects outside the data.** `notify`, `http`, `connector_action`,
|
|
5764
|
+
* `script` and `save_notice` never send or call anything. Each reports the
|
|
5765
|
+
* payload it computed ({@link FlowDryRunOutboundStep}) and binds no output,
|
|
5766
|
+
* so a later node that reads its output finds it unset.
|
|
5767
|
+
*
|
|
5768
|
+
* **Approval nodes and waits: the run stops.** At the first node whose type's
|
|
5769
|
+
* descriptor declares `supportsPause: true` (an approval, a `wait`, a
|
|
5770
|
+
* `screen`, a `subflow`, a `map`), the run stops with `status: 'stopped'`
|
|
5771
|
+
* and reports the node and what it would do: who it would ask, how long or
|
|
5772
|
+
* for what it would wait, the screen it would show, or the flow it would
|
|
5773
|
+
* start ({@link FlowDryRunStopStep}). No approval request is created, no
|
|
5774
|
+
* resume is scheduled, and no child run starts. A node type outside every
|
|
5775
|
+
* class named here also stops the run (`reason: 'not_simulated'`).
|
|
5776
|
+
*
|
|
5777
|
+
* **Nodes that route or compute** (`start`, `end`, `decision`,
|
|
5778
|
+
* `assignment`, `loop`, `parallel`, `try_catch`) run as the live run runs
|
|
5779
|
+
* them, and report what they did.
|
|
5780
|
+
*
|
|
5781
|
+
* **Step order.** One list ({@link FlowDryRunResult.steps}). Branches that
|
|
5782
|
+
* run side by side (a `parallel` node's branches, a node's several
|
|
5783
|
+
* unconditional out-edges) are listed one branch after another in
|
|
5784
|
+
* declaration order, each branch's steps together, as the `parallel` node's
|
|
5785
|
+
* own run record lists them; an inclusive decision's branches likewise, as
|
|
5786
|
+
* the live run takes them one at a time. For a node's unconditional
|
|
5787
|
+
* out-edges this is the dry run's own order: the live run runs those
|
|
5788
|
+
* branches under `Promise.all`, and its step log can interleave them.
|
|
5789
|
+
*
|
|
5790
|
+
* @param definition - The flow definition (raw, pre-parse), as
|
|
5791
|
+
* {@link registerFlow} takes it
|
|
5792
|
+
* @param options - The acting user and the start
|
|
5793
|
+
* @returns The run's status and its ordered steps
|
|
5794
|
+
*/
|
|
5795
|
+
dryRun?(definition: unknown, options: FlowDryRunOptions): Promise<FlowDryRunResult>;
|
|
5304
5796
|
/**
|
|
5305
5797
|
* Unregister a flow by name
|
|
5306
5798
|
* @param name - Flow name (snake_case)
|
|
@@ -5318,7 +5810,12 @@ interface IAutomationService {
|
|
|
5318
5810
|
* (ADR-0126 §7.2). A flow authored in the deployment is not this switch's:
|
|
5319
5811
|
* the automation service refuses it with `RESOURCE_CONFLICT` / 409 and
|
|
5320
5812
|
* changes nothing. That flow's switch is its own `status` (`'obsolete'` /
|
|
5321
|
-
* `'active'`), published through {@link registerFlow}.
|
|
5813
|
+
* `'active'`), published through {@link registerFlow}. A packaged flow
|
|
5814
|
+
* whose own `status` disables it (`'obsolete'` / `'invalid'`) is refused
|
|
5815
|
+
* the same way when switched ON — `RESOURCE_CONFLICT` / 409, nothing
|
|
5816
|
+
* written — because the ledger row alone would leave it off while the
|
|
5817
|
+
* caller read it as on; publishing its definition `'active'` arms it.
|
|
5818
|
+
* Switching such a flow OFF is accepted and records the choice.
|
|
5322
5819
|
*
|
|
5323
5820
|
* `caller` names who made the request, so the activation-ledger row the
|
|
5324
5821
|
* switch writes, and the audit row that write produces, attribute it to
|
|
@@ -7050,7 +7547,9 @@ interface AIToolDefinition {
|
|
|
7050
7547
|
* ONE exported constant, because the member's SPELLING is the whole contract:
|
|
7051
7548
|
* the door that refuses and the client that retries have to agree on it, and a
|
|
7052
7549
|
* door hand-spelling its own `'confirm'` is precisely how two doors drift into
|
|
7053
|
-
* two dialects (Prime Directive #12). Every
|
|
7550
|
+
* two dialects (Prime Directive #12). Every door that gates on the member reads
|
|
7551
|
+
* this, and the MCP `run_action` and `resume_run` tools key their REFUSAL of it
|
|
7552
|
+
* off this constant (below).
|
|
7054
7553
|
*
|
|
7055
7554
|
* It rides as a TOP-LEVEL member of the action request. The two request
|
|
7056
7555
|
* shapes it is destined for are the MCP `run_action` tool input (`actionName`
|
|
@@ -7058,8 +7557,13 @@ interface AIToolDefinition {
|
|
|
7058
7557
|
* and the runtime action door's own request object — the `input` argument of
|
|
7059
7558
|
* `invokeBusinessAction` (`objectName` / `recordId` / `params`,
|
|
7060
7559
|
* `packages/runtime/src/action-execution.ts`), which the MCP bridge builds
|
|
7061
|
-
* that object from. Each
|
|
7062
|
-
*
|
|
7560
|
+
* that object from. Each grew the member in the change that enforced it. The
|
|
7561
|
+
* MCP tool input has since retired it (below). The runtime request keeps it
|
|
7562
|
+
* for the host door, which reads it; on the MCP bridge path the same request
|
|
7563
|
+
* type still accepts it but nothing reads it there (the amended contract asks
|
|
7564
|
+
* the person instead), and no MCP call can supply it, because the tool refuses
|
|
7565
|
+
* the member before the bridge is called. A third door
|
|
7566
|
+
* carries the same member
|
|
7063
7567
|
* at the top level of its input: the MCP `delete_record` tool (see
|
|
7064
7568
|
* {@link AIActionConfirmation}, "The second gate"). Two placements were
|
|
7065
7569
|
* rejected, and the reasons are the contract:
|
|
@@ -7084,6 +7588,21 @@ interface AIToolDefinition {
|
|
|
7084
7588
|
* — there is no header there for it to ride on. A free-form header would
|
|
7085
7589
|
* also be an OPEN channel, which is the one thing a safety member must not
|
|
7086
7590
|
* be.
|
|
7591
|
+
*
|
|
7592
|
+
* ## Amended: on a declared-gated action the member stops confirming
|
|
7593
|
+
*
|
|
7594
|
+
* The amended contract ({@link AI_ACTION_CONFIRMATION_CAPABILITY}) has a
|
|
7595
|
+
* person confirm an action declaring `ai.requiresConfirmation: true`, through
|
|
7596
|
+
* an elicitation or a hand-off to the app, and the member never counts on such
|
|
7597
|
+
* a call. The MCP `run_action` and `resume_run` tools implement it, and with
|
|
7598
|
+
* it the member is RETIRED from both tools' input: a call that carries it is
|
|
7599
|
+
* refused by the tool's closed input, before the call is resolved, on every
|
|
7600
|
+
* action, declared-gated or not. The refusal says that confirmation happens in
|
|
7601
|
+
* the app, by the person, and the caller resends without the member. A door
|
|
7602
|
+
* that has not implemented the amendment (a host door under the `ai` posture)
|
|
7603
|
+
* still gates on the member as described above and in
|
|
7604
|
+
* {@link AIActionConfirmation}. The MCP `delete_record` and `delete_records`
|
|
7605
|
+
* gates are outside the amendment and keep reading it.
|
|
7087
7606
|
*/
|
|
7088
7607
|
declare const AI_ACTION_CONFIRMATION_MEMBER = "confirm";
|
|
7089
7608
|
/**
|
|
@@ -7091,6 +7610,23 @@ declare const AI_ACTION_CONFIRMATION_MEMBER = "confirm";
|
|
|
7091
7610
|
* member, declared once here and mixed into each door's own request shape
|
|
7092
7611
|
* rather than restated by it.
|
|
7093
7612
|
*
|
|
7613
|
+
* ## Amended: the member contract is the FROM half
|
|
7614
|
+
*
|
|
7615
|
+
* For an action declaring `ai.requiresConfirmation: true`, the contract is
|
|
7616
|
+
* now a person's confirmation ({@link AI_ACTION_CONFIRMATION_CAPABILITY}):
|
|
7617
|
+
* the server elicits it through the client, or hands the call to the host's
|
|
7618
|
+
* pending-confirmation service for the person to decide in the app, and the
|
|
7619
|
+
* caller's own `confirm` never counts. The MCP `run_action` and `resume_run`
|
|
7620
|
+
* tools implement the amendment and no longer accept the member at all: a call
|
|
7621
|
+
* that carries it is refused at the tool's input, on every action, and the
|
|
7622
|
+
* caller resends without it. What follows describes the member contract a
|
|
7623
|
+
* door enforces until it implements the amendment (a host door under the `ai`
|
|
7624
|
+
* posture), and the FROM half of the MCP tools' breaking note; the
|
|
7625
|
+
* predicate section (the DECLARED flag, never the listing heuristic) and the
|
|
7626
|
+
* AI service account rule carry over unchanged. The MCP `delete_record` and
|
|
7627
|
+
* `delete_records` gates are outside the amendment and keep reading the
|
|
7628
|
+
* member as described below.
|
|
7629
|
+
*
|
|
7094
7630
|
* ## What the member means
|
|
7095
7631
|
*
|
|
7096
7632
|
* `confirm: true` asserts that the human in the loop has approved THIS call.
|
|
@@ -7212,14 +7748,470 @@ interface ActionConfirmationRequiredDetails {
|
|
|
7212
7748
|
/** The object the action operates on; omitted for object-less actions. */
|
|
7213
7749
|
objectName?: string;
|
|
7214
7750
|
/**
|
|
7215
|
-
*
|
|
7216
|
-
*
|
|
7217
|
-
*
|
|
7218
|
-
*
|
|
7219
|
-
*
|
|
7220
|
-
* the
|
|
7751
|
+
* Always the value of {@link AI_ACTION_CONFIRMATION_MEMBER}, echoed so the
|
|
7752
|
+
* caller reads the member's spelling off the refusal instead of restating
|
|
7753
|
+
* it. What the caller does with it depends on the gate that refused:
|
|
7754
|
+
*
|
|
7755
|
+
* - A member gate (no `reason`: the MCP `delete_record` / `delete_records`
|
|
7756
|
+
* gate, or a door before the amendment): a caller acting for a person
|
|
7757
|
+
* sets it to `true` and retries, once its human approves.
|
|
7758
|
+
* - A refusal under the amended contract ({@link AI_ACTION_CONFIRMATION_CAPABILITY},
|
|
7759
|
+
* `reason` set): the member confers nothing, and no retry with it runs
|
|
7760
|
+
* the action; `reason` says what the caller can do. At the MCP
|
|
7761
|
+
* `run_action` and `resume_run` tools the echo names the member those
|
|
7762
|
+
* tools REFUSE at their input: the caller never sends it there, since
|
|
7763
|
+
* the person confirms, in the client when it can be asked there and in
|
|
7764
|
+
* the app otherwise.
|
|
7765
|
+
*
|
|
7766
|
+
* An AI service account's refusal carries it too, but no retry of that
|
|
7767
|
+
* account's succeeds: a person runs the action (ADR-0151 D3 rule 3).
|
|
7221
7768
|
*/
|
|
7222
7769
|
confirmationMember: typeof AI_ACTION_CONFIRMATION_MEMBER;
|
|
7770
|
+
/**
|
|
7771
|
+
* Which case of the amended contract refused the call; see
|
|
7772
|
+
* {@link ActionConfirmationRefusalReason}. Every door implementing that
|
|
7773
|
+
* contract sets it on a declared-gated refusal, the AI service account's
|
|
7774
|
+
* included on every door. A refusal without it comes from a member gate:
|
|
7775
|
+
* a door before the implementing change, or the MCP `delete_record` /
|
|
7776
|
+
* `delete_records` gate.
|
|
7777
|
+
*/
|
|
7778
|
+
reason?: ActionConfirmationRefusalReason;
|
|
7779
|
+
}
|
|
7780
|
+
/**
|
|
7781
|
+
* The MCP client capability a person's in-client confirmation travels
|
|
7782
|
+
* through: `elicitation`, which an MCP client advertises in the
|
|
7783
|
+
* `capabilities` of its `initialize` request.
|
|
7784
|
+
*
|
|
7785
|
+
* ONE exported constant for the same reason {@link AI_ACTION_CONFIRMATION_MEMBER}
|
|
7786
|
+
* is one: the door that reads the capability and the client that advertises
|
|
7787
|
+
* it have to agree on its spelling.
|
|
7788
|
+
*
|
|
7789
|
+
* ## Why the contract was amended
|
|
7790
|
+
*
|
|
7791
|
+
* Under the member contract ({@link AIActionConfirmation}) the confirmation of
|
|
7792
|
+
* a declared-gated action is the caller's own `confirm: true`, an
|
|
7793
|
+
* unverifiable claim: the gate made FORGETTING loud and did not prove a
|
|
7794
|
+
* person. Measured on published 18.4.0, an agent sent `confirm: true` itself
|
|
7795
|
+
* on an irreversible action in 2 of 6 runs, reading the person's instruction
|
|
7796
|
+
* as consent. The account owner ruled the fix on objectstack-ai/cloud#3826
|
|
7797
|
+
* (「3826 照建议(征询版)」, phase 1, card 1 of its item-6 chain) and amended
|
|
7798
|
+
* it on the card that carries this contract (「我开始重新接受你说的主流方案,就是推送到客户的手机端」,
|
|
7799
|
+
* 「比如最简单的我可以先推送到邮件」): the server asks the person, in the
|
|
7800
|
+
* client when the client can be asked and in the app otherwise, and the
|
|
7801
|
+
* caller's own answer never counts.
|
|
7802
|
+
*
|
|
7803
|
+
* ## The contract
|
|
7804
|
+
*
|
|
7805
|
+
* 1. **Which calls.** A call on an action whose author declared
|
|
7806
|
+
* `ai.requiresConfirmation: true` (the DECLARED flag, never the listing
|
|
7807
|
+
* heuristic; {@link AIActionConfirmation} keeps that predicate), through
|
|
7808
|
+
* EVERY AI door that starts one: the MCP `run_action` tool, the MCP
|
|
7809
|
+
* `resume_run` tool for the candidate action it would run, and the in-app
|
|
7810
|
+
* assistant's action tools (the actions-as-tools runtime of ADR-0011). Every
|
|
7811
|
+
* caller acting for a person is covered, OAuth token, API key or a session
|
|
7812
|
+
* to the app, a person or an agent acting for one (`onBehalfOf`). Rules 2
|
|
7813
|
+
* to 4 below are the MCP doors' channel. The in-app door asks through its
|
|
7814
|
+
* own channel, under "The in-app assistant door" below; rules 5 and 6 bind
|
|
7815
|
+
* it as written.
|
|
7816
|
+
* 2. **When the person is asked.** After EVERY admission gate has passed,
|
|
7817
|
+
* the subject load and the caller-scope subject verdict included, so
|
|
7818
|
+
* nobody is asked to confirm a call that is refused anyway, and before
|
|
7819
|
+
* anything dispatches. A call refused at confirmation, or never confirmed,
|
|
7820
|
+
* may therefore have READ its subject under the caller's permissions; it
|
|
7821
|
+
* writes nothing.
|
|
7822
|
+
* 3. **How the person is asked — three steps, in order.**
|
|
7823
|
+
* 1. **Elicit**, when the client advertised `elicitation` at `initialize`
|
|
7824
|
+
* for the session the call rides on and the door can carry a request to
|
|
7825
|
+
* it while the call is open. The server sends ONE MCP
|
|
7826
|
+
* `elicitation/create` request in form mode, naming the action, the
|
|
7827
|
+
* object and the record it runs on (its id, and its title when the
|
|
7828
|
+
* subject load read one). An empty `elicitation: {}` reads as form mode
|
|
7829
|
+
* (MCP 2025-11-25). The answer is the result's `action` alone; any
|
|
7830
|
+
* `content` is not read.
|
|
7831
|
+
* 2. **Hand off**, otherwise: the door hands the call to the host's
|
|
7832
|
+
* pending-confirmation service ({@link IActionConfirmationService}, the
|
|
7833
|
+
* service registered under {@link ACTION_CONFIRMATION_SERVICE}) and
|
|
7834
|
+
* answers the caller with {@link ActionConfirmationPending}: a pending
|
|
7835
|
+
* id and a plain message that a confirmation was sent to the person.
|
|
7836
|
+
* Nothing runs then. The host shows the pending item to the person in
|
|
7837
|
+
* the app and notifies them (an emailed link, for example); the person
|
|
7838
|
+
* signs in and approves or rejects it there. The person who approves or
|
|
7839
|
+
* rejects is the person the call ran as (its `userId`, the person an
|
|
7840
|
+
* agent acts for), and nobody else: another user who can see the item
|
|
7841
|
+
* cannot decide it. When a pending item lapses,
|
|
7842
|
+
* and how the caller learns its outcome, are the host's to define and
|
|
7843
|
+
* outside this contract.
|
|
7844
|
+
* 3. **Refuse**, only when the host registers no service under
|
|
7845
|
+
* {@link ACTION_CONFIRMATION_SERVICE}: reason
|
|
7846
|
+
* `no_confirmation_service`. The message tells the person to use a
|
|
7847
|
+
* client that supports confirmation, or to perform the action in the
|
|
7848
|
+
* app.
|
|
7849
|
+
* A door or a client that cannot elicit is never refused for that alone:
|
|
7850
|
+
* it takes step 2, or step 3 when the host has no service. No step ever
|
|
7851
|
+
* falls back to the member.
|
|
7852
|
+
* 4. **What each answer does.**
|
|
7853
|
+
* - Elicited `accept`: the call dispatches as any admitted call does,
|
|
7854
|
+
* exactly once, under the caller's permissions. The confirmation covers
|
|
7855
|
+
* that one call: nothing is stored, and the next call is asked again.
|
|
7856
|
+
* For a `resume_run` call the accept is bound to the screen the run was
|
|
7857
|
+
* parked on when the person was asked: when the run has moved on to
|
|
7858
|
+
* another screen meanwhile, the resume is refused `409
|
|
7859
|
+
* RESOURCE_CONFLICT`, nothing resumes, and the run stays where it is.
|
|
7860
|
+
* - Elicited `decline`: the person said no. Refused, reason `declined`;
|
|
7861
|
+
* nothing runs. The caller does not retry unless the person asks again.
|
|
7862
|
+
* - Elicited `cancel`: the person dismissed the question without choosing.
|
|
7863
|
+
* Refused, reason `cancelled`; nothing runs. An error answer to the
|
|
7864
|
+
* elicitation request, or a connection that drops before an answer, is
|
|
7865
|
+
* read the same way.
|
|
7866
|
+
* - Elicitation timed out: no answer within the door's bound, which the
|
|
7867
|
+
* implementing door names. Refused, reason `timed_out`; nothing runs,
|
|
7868
|
+
* and an answer that arrives later runs nothing.
|
|
7869
|
+
* - Handed off, then approved in the app: the action runs as the person
|
|
7870
|
+
* who approved it, through the same admitted sequence, every gate and
|
|
7871
|
+
* permission re-checked at that moment; a refusal there runs nothing and
|
|
7872
|
+
* is recorded on the pending item. A handed-off `resume_run` call
|
|
7873
|
+
* carries its run ({@link ActionConfirmationHandOff.run}): approving it
|
|
7874
|
+
* resumes THAT parked run with the values the call carried, as the
|
|
7875
|
+
* approver, who must be the run's owner as today; it never starts a new
|
|
7876
|
+
* run of the flow. The approval is bound to the screen the run was
|
|
7877
|
+
* parked on when the call was handed off (the run's `screenNodeId`):
|
|
7878
|
+
* when the host passes that screen back and the run has moved on to
|
|
7879
|
+
* another one, the resume is refused and the run stays where it is.
|
|
7880
|
+
* - Handed off, then rejected in the app: nothing runs.
|
|
7881
|
+
* The approve and reject doors of the pending-confirmation service take a
|
|
7882
|
+
* person's signed-in session to the app and nothing else. They refuse an
|
|
7883
|
+
* AI identity: an agent principal (`principalKind: 'agent'`, with or
|
|
7884
|
+
* without `onBehalfOf`), and any call that arrives through an AI door. They
|
|
7885
|
+
* also refuse an API key, a delegated or OAuth token and any other service
|
|
7886
|
+
* credential, whoever it resolves to: a person's own API key resolves as
|
|
7887
|
+
* that person, and is refused there all the same. A person decides; an
|
|
7888
|
+
* agent, a script or a credential never decides for one.
|
|
7889
|
+
* 5. **The caller's `confirm` never counts.** On a declared-gated call the
|
|
7890
|
+
* member ({@link AI_ACTION_CONFIRMATION_MEMBER}) confers nothing: not with
|
|
7891
|
+
* an elicitation, not in place of one, not in place of a hand-off, and not
|
|
7892
|
+
* when the host has no service. The MCP `run_action` and `resume_run`
|
|
7893
|
+
* tools do not accept it at all: a call carrying it is refused at the
|
|
7894
|
+
* tool's input, on every action, gated or not, because the person
|
|
7895
|
+
* confirms (elicited in the client where it can be asked, in the app
|
|
7896
|
+
* otherwise); the caller resends without it.
|
|
7897
|
+
* 6. **An AI service account: unchanged** (ADR-0151 D3 rule 3). An agent
|
|
7898
|
+
* principal acting for itself, with no `onBehalfOf`, is refused whatever it
|
|
7899
|
+
* sends, reason `service_account`. It is neither elicited (no person stands
|
|
7900
|
+
* behind the account, and its own client could answer) nor handed off. The
|
|
7901
|
+
* one admitted sequence asks this rule at every door that runs an action,
|
|
7902
|
+
* so REST `/actions` and a host door carry the same `reason` on that
|
|
7903
|
+
* refusal.
|
|
7904
|
+
*
|
|
7905
|
+
* Every refusal keeps the registered envelope: `428`,
|
|
7906
|
+
* `ACTION_CONFIRMATION_REQUIRED`, and `error.details` shaped as
|
|
7907
|
+
* {@link ActionConfirmationRequiredDetails}, whose `reason` says which case
|
|
7908
|
+
* above it is. A hand-off is not a refusal: it is the successful answer
|
|
7909
|
+
* {@link ActionConfirmationPending}.
|
|
7910
|
+
*
|
|
7911
|
+
* ## The in-app assistant door: the same rule, its own channel
|
|
7912
|
+
*
|
|
7913
|
+
* Ruled on #33689 (record 6893484458, 「B 同一规则,两套流程暂留」): the rule
|
|
7914
|
+
* binds every AI door, the in-app assistant included, and the in-app door
|
|
7915
|
+
* keeps its own channel. Merging the two channels was not ruled.
|
|
7916
|
+
*
|
|
7917
|
+
* The in-app assistant asks through the pending-action queue of
|
|
7918
|
+
* {@link IAIService}: the call is recorded as a pending action
|
|
7919
|
+
* ({@link IAIService.proposePendingAction}), the tool answers the model
|
|
7920
|
+
* `pending_approval`, and the person is shown the item as an inline
|
|
7921
|
+
* pending-approval card in the conversation and in the inbox. Nothing runs
|
|
7922
|
+
* until the item is decided. When that channel is not wired (no AI service
|
|
7923
|
+
* that records pending actions, or the host has not turned the queue on),
|
|
7924
|
+
* the door does not offer a declared-gated action as a tool at all: it is
|
|
7925
|
+
* neither run unconfirmed nor offered and then refused. Three points bind the
|
|
7926
|
+
* in-app door, the same three that bind a hand-off:
|
|
7927
|
+
*
|
|
7928
|
+
* 1. **Who decides.** Only the person the call ran as (the conversation's
|
|
7929
|
+
* user, the person an agent acts for) approves or rejects the item. Holding
|
|
7930
|
+
* `ai:approve`, or any other permission, does not let another user decide
|
|
7931
|
+
* it. A host that wants a second person to approve the write uses the
|
|
7932
|
+
* existing `held` outcome of {@link IAIService.approvePendingAction}: the
|
|
7933
|
+
* person approves, and the write waits on the approvals engine.
|
|
7934
|
+
* 2. **Which credential.** The approve and reject doors take a person's
|
|
7935
|
+
* signed-in session to the app and nothing else, exactly as the
|
|
7936
|
+
* pending-confirmation service's doors do (rule 4): an API key, a delegated
|
|
7937
|
+
* or OAuth token and any other service credential are refused, whoever it
|
|
7938
|
+
* resolves to, and so is an AI identity (an agent principal, with or
|
|
7939
|
+
* without `onBehalfOf`, and any call that arrives through an AI door).
|
|
7940
|
+
* 3. **As whom it runs.** An approved item runs as that person, never as a
|
|
7941
|
+
* synthetic AI principal, through the same admitted sequence as any action
|
|
7942
|
+
* call, every gate and permission re-checked at the moment of approval. A
|
|
7943
|
+
* refusal there runs nothing and is recorded on the item as `failed`.
|
|
7944
|
+
*
|
|
7945
|
+
* The three points bind EVERY item in the in-app queue, whichever trigger
|
|
7946
|
+
* queued it: an action declaring `ai.requiresConfirmation: true`, or one the
|
|
7947
|
+
* destructive heuristic gates (ADR-0011's confirmation table). A pending row
|
|
7948
|
+
* does not record why it was queued, and the queue has one decider rule; an
|
|
7949
|
+
* administrator who is to approve as well does so through `held`, never by
|
|
7950
|
+
* deciding the person's item.
|
|
7951
|
+
*
|
|
7952
|
+
* Neither the model's own confirmation nor the caller's `confirm` counts
|
|
7953
|
+
* (rule 5): the item waits for the person. An approval proves what an approved
|
|
7954
|
+
* hand-off proves, that a signed-in session to the app answered.
|
|
7955
|
+
*
|
|
7956
|
+
* ## What an answer proves
|
|
7957
|
+
*
|
|
7958
|
+
* An elicited `accept` proves that the CLIENT answered, not that a person
|
|
7959
|
+
* did. The amendment closes the measured hole, an agent model answering for
|
|
7960
|
+
* the person inside a client that would have asked its user; a caller that
|
|
7961
|
+
* writes its own client can advertise `elicitation` and answer `accept`
|
|
7962
|
+
* itself, bounded by its credentials as before.
|
|
7963
|
+
*
|
|
7964
|
+
* An approval of a hand-off proves that a signed-in session to the app
|
|
7965
|
+
* answered, not that a person did: the approve and reject doors refuse every
|
|
7966
|
+
* credential but a person's session, so a caller holding only the person's
|
|
7967
|
+
* API key or token cannot approve its own hand-off, and one that holds the
|
|
7968
|
+
* person's session (their password, or a browser they are signed in to) can,
|
|
7969
|
+
* bounded by that session as any action in the app is. Each answer is as
|
|
7970
|
+
* strong as what it takes to give it; neither proves a human.
|
|
7971
|
+
*
|
|
7972
|
+
* ## Its bounds
|
|
7973
|
+
*
|
|
7974
|
+
* - The MCP `delete_record` and `delete_records` gates are not declared-gated
|
|
7975
|
+
* actions: they read the member, as {@link AIActionConfirmation} describes,
|
|
7976
|
+
* until a decision moves them.
|
|
7977
|
+
* - REST `/actions` stays outside the gate for a person, as before.
|
|
7978
|
+
* - The in-app door's pending-action queue and the pending-confirmation
|
|
7979
|
+
* service ({@link IActionConfirmationService}) stay two seams; the rule
|
|
7980
|
+
* that binds them is one.
|
|
7981
|
+
*
|
|
7982
|
+
* ## When it binds
|
|
7983
|
+
*
|
|
7984
|
+
* This text is the contract from the release that carries it. The doors
|
|
7985
|
+
* implement it in the change that enforces it, which also moves the shipped
|
|
7986
|
+
* prescriptions that describe the member. Until a door's change ships, it
|
|
7987
|
+
* still gates on the member as {@link AIActionConfirmation} describes. The
|
|
7988
|
+
* MCP `run_action` and `resume_run` tools ran a declared-gated action on
|
|
7989
|
+
* `confirm: true` until theirs, over stdio and over Streamable HTTP alike, and
|
|
7990
|
+
* that reading is the FROM half of their breaking note; the release that
|
|
7991
|
+
* ships their hand-off also retires the member from their input, so a call
|
|
7992
|
+
* that carries it is refused there. The in-app door likewise runs
|
|
7993
|
+
* ADR-0011's queue as documented until its implementing change ships: any
|
|
7994
|
+
* holder of `ai:approve` may decide an item, the approve and reject doors take
|
|
7995
|
+
* whatever credential they authenticate, and an approved item is re-dispatched
|
|
7996
|
+
* through the pre-registered dispatcher of ADR-0011's invocation flow. That
|
|
7997
|
+
* reading is the FROM half for the in-app door's three points.
|
|
7998
|
+
*
|
|
7999
|
+
* Measured at the amendment: the long-lived stdio server keeps the client's
|
|
8000
|
+
* `initialize` capabilities and can send a request to the client while a call
|
|
8001
|
+
* is open. The Streamable HTTP door (`handleHttpRequest` in
|
|
8002
|
+
* `packages/mcp/src/mcp-server-runtime.ts`) builds a fresh server per request,
|
|
8003
|
+
* issues no session id and answers in JSON, so as built it can do neither:
|
|
8004
|
+
* under step 2 its callers are handed off. Whether, and how, that door comes
|
|
8005
|
+
* to elicit is the implementing change's decision.
|
|
8006
|
+
*/
|
|
8007
|
+
declare const AI_ACTION_CONFIRMATION_CAPABILITY = "elicitation";
|
|
8008
|
+
/**
|
|
8009
|
+
* Why a declared-gated call was refused under the amended contract
|
|
8010
|
+
* ({@link AI_ACTION_CONFIRMATION_CAPABILITY}), carried as
|
|
8011
|
+
* {@link ActionConfirmationRequiredDetails.reason}. A CLOSED set; a hand-off is
|
|
8012
|
+
* not among them, because it is not a refusal:
|
|
8013
|
+
*
|
|
8014
|
+
* - `declined`: the person answered an elicitation with no.
|
|
8015
|
+
* - `cancelled`: the person dismissed the elicitation, the client answered it
|
|
8016
|
+
* with an error, or the connection dropped first.
|
|
8017
|
+
* - `timed_out`: no answer to the elicitation within the door's bound.
|
|
8018
|
+
* - `no_confirmation_service`: the client could not be elicited and the host
|
|
8019
|
+
* registers no pending-confirmation service ({@link IActionConfirmationService})
|
|
8020
|
+
* under {@link ACTION_CONFIRMATION_SERVICE}.
|
|
8021
|
+
* The person uses a client that supports confirmation, or performs the
|
|
8022
|
+
* action in the app.
|
|
8023
|
+
* - `service_account`: an AI service account, which never confirms an action
|
|
8024
|
+
* for itself (ADR-0151 D3 rule 3). A person runs the action.
|
|
8025
|
+
*/
|
|
8026
|
+
declare const ACTION_CONFIRMATION_REFUSAL_REASONS: readonly ["declined", "cancelled", "timed_out", "no_confirmation_service", "service_account"];
|
|
8027
|
+
/** One member of {@link ACTION_CONFIRMATION_REFUSAL_REASONS}. */
|
|
8028
|
+
type ActionConfirmationRefusalReason = (typeof ACTION_CONFIRMATION_REFUSAL_REASONS)[number];
|
|
8029
|
+
/**
|
|
8030
|
+
* The call an AI door hands to the host's pending-confirmation service (step 2
|
|
8031
|
+
* of {@link AI_ACTION_CONFIRMATION_CAPABILITY}): enough to show the person what
|
|
8032
|
+
* they are asked to approve, and to run it again, as them, once they do.
|
|
8033
|
+
*/
|
|
8034
|
+
interface ActionConfirmationHandOff {
|
|
8035
|
+
/** The declarative action name the call addressed. */
|
|
8036
|
+
actionName: string;
|
|
8037
|
+
/** The object the action operates on; omitted for object-less actions. */
|
|
8038
|
+
objectName?: string;
|
|
8039
|
+
/** The package namespace the call qualified the action with, if any. */
|
|
8040
|
+
namespace?: string;
|
|
8041
|
+
/** The record the action runs on, when it takes one. */
|
|
8042
|
+
recordId?: string;
|
|
8043
|
+
/** The action params the call carried, after the door's own checks. */
|
|
8044
|
+
params: Record<string, unknown>;
|
|
8045
|
+
/** The AI door the call arrived through, e.g. `mcp`. */
|
|
8046
|
+
door: string;
|
|
8047
|
+
/**
|
|
8048
|
+
* The parked run a `resume_run` call continues: present exactly when the
|
|
8049
|
+
* call is a `resume_run`, absent for `run_action`. Approval resumes this
|
|
8050
|
+
* run with `values`, as the approver, who must be the run's owner; it
|
|
8051
|
+
* never starts a new run, and `params` is then empty.
|
|
8052
|
+
*/
|
|
8053
|
+
run?: {
|
|
8054
|
+
/** The paused run the call resumes. */
|
|
8055
|
+
runId: string;
|
|
8056
|
+
/** The screen's field values the call carried. */
|
|
8057
|
+
values: Record<string, unknown>;
|
|
8058
|
+
/**
|
|
8059
|
+
* The screen the run was parked on when the call was handed off: its
|
|
8060
|
+
* `nodeId` (`ScreenSpec.nodeId`, `./automation-service`), the screen
|
|
8061
|
+
* `values` were given for. Absent when the engine named no node for
|
|
8062
|
+
* it. A host that stores it and passes it back on approval
|
|
8063
|
+
* (`ActionResumeRequest.screenNodeId`, `@objectstack/runtime`) binds
|
|
8064
|
+
* the approval to that screen: a run that has moved on to another
|
|
8065
|
+
* screen (a wizard the person advanced in the app, or a second
|
|
8066
|
+
* approval of the same call) is refused, and nothing resumes.
|
|
8067
|
+
*/
|
|
8068
|
+
screenNodeId?: string;
|
|
8069
|
+
};
|
|
8070
|
+
}
|
|
8071
|
+
/**
|
|
8072
|
+
* The answer an AI door gives the caller when it hands a declared-gated call
|
|
8073
|
+
* off (step 2 of {@link AI_ACTION_CONFIRMATION_CAPABILITY}). A success, not a
|
|
8074
|
+
* refusal: the call was accepted for a person's decision, and nothing has run.
|
|
8075
|
+
*/
|
|
8076
|
+
interface ActionConfirmationPending {
|
|
8077
|
+
/** The discriminant: the call waits on a person's confirmation in the app. */
|
|
8078
|
+
status: 'pending_confirmation';
|
|
8079
|
+
/** The pending item's id in the host's pending-confirmation service. */
|
|
8080
|
+
pendingId: string;
|
|
8081
|
+
/** A plain message for the person: a confirmation was sent to them, and where to answer it. */
|
|
8082
|
+
message: string;
|
|
8083
|
+
/** The declarative action name the call addressed. */
|
|
8084
|
+
actionName: string;
|
|
8085
|
+
/** The object the action operates on; omitted for object-less actions. */
|
|
8086
|
+
objectName?: string;
|
|
8087
|
+
}
|
|
8088
|
+
/**
|
|
8089
|
+
* The service slot a {@link IActionConfirmationService} is registered under
|
|
8090
|
+
* (step 2 of {@link AI_ACTION_CONFIRMATION_CAPABILITY}). The open build ships
|
|
8091
|
+
* none; with none registered, a door that cannot elicit refuses, reason
|
|
8092
|
+
* `no_confirmation_service` (step 3).
|
|
8093
|
+
*/
|
|
8094
|
+
declare const ACTION_CONFIRMATION_SERVICE = "ai.actionConfirmation";
|
|
8095
|
+
/**
|
|
8096
|
+
* The host's pending-confirmation service: the hand-off seam of the amended
|
|
8097
|
+
* contract ({@link AI_ACTION_CONFIRMATION_CAPABILITY}, step 2), registered
|
|
8098
|
+
* under {@link ACTION_CONFIRMATION_SERVICE}. OPTIONAL — a host without one
|
|
8099
|
+
* refuses, reason `no_confirmation_service` (step 3), which is the case of a
|
|
8100
|
+
* bare open-source deployment.
|
|
8101
|
+
*
|
|
8102
|
+
* The service owns what happens after the hand-off: it stores the pending
|
|
8103
|
+
* item, shows it to the person the call ran as in the app and notifies them,
|
|
8104
|
+
* and serves the approve and reject doors. Only that person decides the item.
|
|
8105
|
+
* Those doors take a person's signed-in session and nothing else: they refuse
|
|
8106
|
+
* an AI identity (an agent principal, with or without `onBehalfOf`, and any
|
|
8107
|
+
* call through an AI door) and an API key, token or other service credential,
|
|
8108
|
+
* whoever it resolves to. On approval the action runs as the approving person
|
|
8109
|
+
* through the same admitted sequence, every gate and permission re-checked; a
|
|
8110
|
+
* hand-off that carries a run ({@link ActionConfirmationHandOff.run}) resumes
|
|
8111
|
+
* that run instead of starting one. On rejection nothing runs. When an item
|
|
8112
|
+
* lapses, and how the caller learns its outcome, are the host's to define.
|
|
8113
|
+
*
|
|
8114
|
+
* The approval leg runs through the framework's host doors, so a host keeps
|
|
8115
|
+
* no copy of the admission rules (`@objectstack/runtime`):
|
|
8116
|
+
* `dispatchAction(kernel, { …, posture: 'ai', confirm: true })` runs a
|
|
8117
|
+
* handed-off `run_action` as the approving person, and
|
|
8118
|
+
* `dispatchActionResume(kernel, { executionContext, runId, values, confirm:
|
|
8119
|
+
* true })` resumes the run a handed-off `resume_run` carries
|
|
8120
|
+
* ({@link ActionConfirmationHandOff.run}) as that person, asking every
|
|
8121
|
+
* `resume_run` gate again: a run no longer paused, or one another person
|
|
8122
|
+
* started, is refused. A wizard the first approval moved on to its next
|
|
8123
|
+
* screen is still paused under the same run id, so the host passes back the
|
|
8124
|
+
* screen the call was handed off on (`run.screenNodeId`, as `screenNodeId`):
|
|
8125
|
+
* a run no longer on that screen is refused, `409 RESOURCE_CONFLICT`, and
|
|
8126
|
+
* stays where it is. Without it, a second call with the same hand-off
|
|
8127
|
+
* resumes whatever screen the run is on with the values given. Deciding a
|
|
8128
|
+
* pending item once is the host's.
|
|
8129
|
+
*
|
|
8130
|
+
* A host may build it over its own pending-action store; the
|
|
8131
|
+
* `held` outcome of {@link IAIService.approvePendingAction} is the existing
|
|
8132
|
+
* precedent for a write that waits on a person outside the conversation.
|
|
8133
|
+
*/
|
|
8134
|
+
interface IActionConfirmationService {
|
|
8135
|
+
/**
|
|
8136
|
+
* Record `handOff` for the person the caller acts for, notify them, and
|
|
8137
|
+
* return the pending item's id. Runs nothing.
|
|
8138
|
+
*
|
|
8139
|
+
* @param handOff - The call to confirm
|
|
8140
|
+
* @param context - The caller's execution context: who is asked, and as
|
|
8141
|
+
* whose call the item is recorded
|
|
8142
|
+
*/
|
|
8143
|
+
submit(handOff: ActionConfirmationHandOff, context: ExecutionContext): Promise<{
|
|
8144
|
+
pendingId: string;
|
|
8145
|
+
}>;
|
|
8146
|
+
}
|
|
8147
|
+
/**
|
|
8148
|
+
* Which credential admitted the caller of an AI route, as
|
|
8149
|
+
* {@link AIRouteUser.credential} carries it. One vocabulary: the runtime's
|
|
8150
|
+
* environment-membership gate and its api-action forward read the same three
|
|
8151
|
+
* values.
|
|
8152
|
+
*
|
|
8153
|
+
* - `session`: a person's signed-in session to the app, whichever carrier
|
|
8154
|
+
* brought its token: the session cookie, or an `Authorization: Bearer`
|
|
8155
|
+
* header (the same session, read by the same session read; a client on a
|
|
8156
|
+
* split-origin deployment, where the cookie does not flow, sends it that
|
|
8157
|
+
* way). Ruled on #34184 (record 6942875153), Q1 A.
|
|
8158
|
+
* - `api_key`: an API key, in any spelling the key header accepts.
|
|
8159
|
+
* - `oauth`: an OAuth access token (honoured on the MCP endpoint alone), or
|
|
8160
|
+
* the credential the server mints to forward an OAuth-connected agent's call
|
|
8161
|
+
* in process; both resolve to an agent principal carrying the token's
|
|
8162
|
+
* scopes.
|
|
8163
|
+
*/
|
|
8164
|
+
type AIRouteCredentialKind = 'session' | 'api_key' | 'oauth';
|
|
8165
|
+
/**
|
|
8166
|
+
* The caller an AI route handler receives as `req.user`: the route table the
|
|
8167
|
+
* AI service registers (`buildAIRoutes`) is dispatched with
|
|
8168
|
+
* `{ body, params, query, headers, user }`, and `user` is this shape, or
|
|
8169
|
+
* absent for an anonymous caller (reachable only on a route that declares
|
|
8170
|
+
* `auth: false`).
|
|
8171
|
+
*
|
|
8172
|
+
* The identity core is an `EvalUser` (ADR-0068 D1), extended with the keys
|
|
8173
|
+
* every dispatch path that hands a user to customer code publishes: the
|
|
8174
|
+
* id and display-name aliases and the two authority channels, which are never
|
|
8175
|
+
* merged. Two facts are the AI route's own, so that a door reserved to the
|
|
8176
|
+
* person (an approval only the person the call ran as may give) can tell who
|
|
8177
|
+
* is acting and how they came in, without reading request headers:
|
|
8178
|
+
* {@link AIRouteUser.impersonatedBy} and {@link AIRouteUser.credential}.
|
|
8179
|
+
*/
|
|
8180
|
+
interface AIRouteUser extends EvalUser {
|
|
8181
|
+
/** The acting user's id (`sys_user.id`). */
|
|
8182
|
+
id: string;
|
|
8183
|
+
/** Alias of {@link AIRouteUser.id}. */
|
|
8184
|
+
userId: string;
|
|
8185
|
+
/** The display name (`sys_user.name`); the id when none resolves. */
|
|
8186
|
+
name: string;
|
|
8187
|
+
/** Alias of {@link AIRouteUser.name}. */
|
|
8188
|
+
displayName: string;
|
|
8189
|
+
/** ADR-0090 position names held by the caller. */
|
|
8190
|
+
positions: string[];
|
|
8191
|
+
/** Permission-SET names (`admin_full_access`, `ai_seat`, …). */
|
|
8192
|
+
permissions: string[];
|
|
8193
|
+
/** CAPABILITIES (`manage_metadata`, `studio.access`, …): a separate channel. */
|
|
8194
|
+
systemPermissions: string[];
|
|
8195
|
+
/**
|
|
8196
|
+
* The administrator (a `sys_user` id) who started the impersonation session
|
|
8197
|
+
* this request runs in: `ExecutionContext.impersonatedBy`, carried as is.
|
|
8198
|
+
* Absent on every other request; absence means the user in
|
|
8199
|
+
* {@link AIRouteUser.id} is acting themselves. {@link AIRouteUser.id} stays
|
|
8200
|
+
* the impersonated user.
|
|
8201
|
+
*
|
|
8202
|
+
* A fact a door may use to refuse an act reserved to the person (ruled on
|
|
8203
|
+
* #34184, record 6942875153, Q2 A). It is never the authorization subject, and no platform
|
|
8204
|
+
* middleware reads it; what it decides is the consuming door's.
|
|
8205
|
+
*/
|
|
8206
|
+
impersonatedBy?: string;
|
|
8207
|
+
/**
|
|
8208
|
+
* Which credential admitted this caller; see {@link AIRouteCredentialKind}.
|
|
8209
|
+
* Absent when the request recorded none (a host that hands the dispatcher
|
|
8210
|
+
* an execution context without running its identity step). A door reserved
|
|
8211
|
+
* to a person's signed-in session reads anything but `'session'`, absence
|
|
8212
|
+
* included, as not that session.
|
|
8213
|
+
*/
|
|
8214
|
+
credential?: AIRouteCredentialKind;
|
|
7223
8215
|
}
|
|
7224
8216
|
interface IAIService {
|
|
7225
8217
|
/**
|
|
@@ -7295,11 +8287,25 @@ interface IAIService {
|
|
|
7295
8287
|
* Persist a proposed AI-initiated action that requires human approval
|
|
7296
8288
|
* before execution. Used by the actions-as-tools runtime when the
|
|
7297
8289
|
* picked action is dangerous (delete / danger variant / has
|
|
7298
|
-
* `confirmText`)
|
|
8290
|
+
* `confirmText`) or declares `ai.requiresConfirmation: true`, and
|
|
8291
|
+
* `enableActionApproval` is on.
|
|
7299
8292
|
*
|
|
7300
8293
|
* Implementations write a row to `ai_pending_actions` and return
|
|
7301
8294
|
* its id. The caller (the tool handler) immediately returns a
|
|
7302
8295
|
* `{ status: 'pending_approval' }` envelope to the LLM.
|
|
8296
|
+
*
|
|
8297
|
+
* This is the in-app assistant door's channel of the confirmation rule
|
|
8298
|
+
* ({@link AI_ACTION_CONFIRMATION_CAPABILITY}, "The in-app assistant
|
|
8299
|
+
* door"), and its three points bind the item from the moment it is
|
|
8300
|
+
* recorded:
|
|
8301
|
+
*
|
|
8302
|
+
* 1. **Who decides:** only the person the call ran as, recorded as
|
|
8303
|
+
* `proposedBy`; no other user decides it, whatever permission they
|
|
8304
|
+
* hold, `ai:approve` included.
|
|
8305
|
+
* 2. **Which credential:** the item is decided on that person's signed-in
|
|
8306
|
+
* session to the app, never on an API key, token or AI identity.
|
|
8307
|
+
* 3. **As whom it runs:** once approved, as that person, every gate and
|
|
8308
|
+
* permission re-checked.
|
|
7303
8309
|
*/
|
|
7304
8310
|
proposePendingAction?(input: ProposePendingActionInput): Promise<{
|
|
7305
8311
|
id: string;
|
|
@@ -7310,6 +8316,24 @@ interface IAIService {
|
|
|
7310
8316
|
* required. Updates the row to `executed` (or `failed`) and returns
|
|
7311
8317
|
* the outcome.
|
|
7312
8318
|
*
|
|
8319
|
+
* The three points of the in-app assistant door
|
|
8320
|
+
* ({@link AI_ACTION_CONFIRMATION_CAPABILITY}) bind it:
|
|
8321
|
+
*
|
|
8322
|
+
* 1. **Who decides:** `actorId` must be the person the call ran as (the
|
|
8323
|
+
* row's `proposed_by`). Another user is refused whatever permission
|
|
8324
|
+
* they hold, `ai:approve` included, and the row stays `pending`.
|
|
8325
|
+
* 2. **Which credential:** the door that calls this member admits only a
|
|
8326
|
+
* person's signed-in session to the app; an API key, a delegated or
|
|
8327
|
+
* OAuth token, any other service credential and an AI identity are
|
|
8328
|
+
* refused before it is called, whoever they resolve to.
|
|
8329
|
+
* 3. **As whom it runs:** the re-dispatch runs as that person, through
|
|
8330
|
+
* the same admitted sequence as any action call, every gate and
|
|
8331
|
+
* permission re-checked at this moment. A refusal there runs nothing
|
|
8332
|
+
* and the row is `failed`.
|
|
8333
|
+
*
|
|
8334
|
+
* A host that wants a second person to approve the write does not let
|
|
8335
|
+
* that person decide the item: it uses `held`, below.
|
|
8336
|
+
*
|
|
7313
8337
|
* `held` is the third outcome: the confirmation was accepted, and the
|
|
7314
8338
|
* write waits on an approval outside the conversation, because a host
|
|
7315
8339
|
* policy held it for a human approver. Nothing has been written yet,
|
|
@@ -7326,6 +8350,15 @@ interface IAIService {
|
|
|
7326
8350
|
/**
|
|
7327
8351
|
* Reject a pending action. The row transitions to `rejected` and the
|
|
7328
8352
|
* optional `reason` is stored so the next LLM turn can surface it.
|
|
8353
|
+
* Nothing runs.
|
|
8354
|
+
*
|
|
8355
|
+
* The deciding points of the in-app assistant door
|
|
8356
|
+
* ({@link AI_ACTION_CONFIRMATION_CAPABILITY}) bind it as they bind
|
|
8357
|
+
* {@link IAIService.approvePendingAction}: `actorId` must be the person
|
|
8358
|
+
* the call ran as (the row's `proposed_by`), whatever permission another
|
|
8359
|
+
* user holds, `ai:approve` included; and the door that calls this member
|
|
8360
|
+
* admits only that person's signed-in session to the app, never an API
|
|
8361
|
+
* key, token or AI identity.
|
|
7329
8362
|
*/
|
|
7330
8363
|
rejectPendingAction?(id: string, actorId: string, reason?: string): Promise<void>;
|
|
7331
8364
|
/**
|
|
@@ -7855,14 +8888,17 @@ interface II18nService {
|
|
|
7855
8888
|
*/
|
|
7856
8889
|
getLocales(): string[];
|
|
7857
8890
|
/**
|
|
7858
|
-
* Get the current default locale
|
|
7859
|
-
*
|
|
7860
|
-
*
|
|
7861
|
-
*
|
|
7862
|
-
*
|
|
7863
|
-
*
|
|
7864
|
-
*
|
|
7865
|
-
*
|
|
8891
|
+
* Get the current default locale — the language a user who has not chosen
|
|
8892
|
+
* one is served (`i18n.defaultLocale`).
|
|
8893
|
+
*
|
|
8894
|
+
* [#15711 · #33634] Also the language the deployment's metadata labels are
|
|
8895
|
+
* authored in UNLESS the deployment declared otherwise: the serving layer
|
|
8896
|
+
* threads the authored language into the document translators'
|
|
8897
|
+
* `ResolveOptions.defaultLocale` (`@objectstack/spec/system`) as
|
|
8898
|
+
* {@link getSourceLocale} when that answers, else this, so a request for
|
|
8899
|
+
* the authored language answers with the authored label instead of
|
|
8900
|
+
* walking the declared fallback chain — the authored label IS that
|
|
8901
|
+
* language's text. Absent both, no request is treated as the authored one.
|
|
7866
8902
|
* @returns BCP-47 locale code
|
|
7867
8903
|
*/
|
|
7868
8904
|
getDefaultLocale?(): string;
|
|
@@ -7943,6 +8979,64 @@ interface II18nService {
|
|
|
7943
8979
|
* @param locale - BCP-47 locale code
|
|
7944
8980
|
*/
|
|
7945
8981
|
setFallbackLocale?(locale: string): void;
|
|
8982
|
+
/**
|
|
8983
|
+
* The language the deployment's inline metadata text is written in — the
|
|
8984
|
+
* DECLARED `i18n.sourceLocale`, the locale a plain-string `label:` IS the
|
|
8985
|
+
* text of.
|
|
8986
|
+
*
|
|
8987
|
+
* [#33634] Declared so the serving layer can thread the authored language
|
|
8988
|
+
* into the metadata-document translators' `ResolveOptions.defaultLocale`
|
|
8989
|
+
* (`@objectstack/spec/system`). Every caller that builds those options
|
|
8990
|
+
* holds only this service, and {@link getDefaultLocale} answers a
|
|
8991
|
+
* different question — which language a user who has not chosen one gets.
|
|
8992
|
+
* The two coincide for most stacks; for an app authored in English that
|
|
8993
|
+
* defaults its users to `zh-CN` they do not, and before this accessor an
|
|
8994
|
+
* `en` request walked the declared fallback chain (`zh-CN`) ahead of the
|
|
8995
|
+
* English inline label and was served the Chinese bundle row.
|
|
8996
|
+
*
|
|
8997
|
+
* Contract for the value: `undefined` means NOTHING was declared — a
|
|
8998
|
+
* provider that was never told omits the method or answers `undefined`,
|
|
8999
|
+
* and the serving layer then reads {@link getDefaultLocale} as the
|
|
9000
|
+
* authored language, exactly as a stack that declares no `sourceLocale`
|
|
9001
|
+
* always has. ⛔ A provider never answers this from `defaultLocale` itself:
|
|
9002
|
+
* that collapse is the CALLER's (`getSourceLocale?.() ?? getDefaultLocale?.()`),
|
|
9003
|
+
* so the accessor reports only what the deployment declared — the same
|
|
9004
|
+
* "report, never invent" stance {@link getFallbackLocale} takes.
|
|
9005
|
+
*
|
|
9006
|
+
* @returns BCP-47 locale code, or `undefined` when no source locale is declared
|
|
9007
|
+
*/
|
|
9008
|
+
getSourceLocale?(): string | undefined;
|
|
9009
|
+
/**
|
|
9010
|
+
* Set the language the deployment's inline metadata text is written in —
|
|
9011
|
+
* the app's DECLARED `i18n.sourceLocale`.
|
|
9012
|
+
*
|
|
9013
|
+
* [#33634] The INJECTION counterpart of {@link getSourceLocale}, threaded
|
|
9014
|
+
* by `AppPlugin.loadTranslations` beside `setDefaultLocale` and
|
|
9015
|
+
* {@link setFallbackLocale}, for the same reason: the declaration lives on
|
|
9016
|
+
* the stack artifact, which only the runtime app-plugin layer can see.
|
|
9017
|
+
*
|
|
9018
|
+
* Semantics implementations must honour:
|
|
9019
|
+
* - Never called means no declaration, which must keep the provider's
|
|
9020
|
+
* existing behaviour exactly: {@link getSourceLocale} keeps answering
|
|
9021
|
+
* `undefined`. An app that declares no `i18n.sourceLocale` is not opting
|
|
9022
|
+
* into anything.
|
|
9023
|
+
* - The value changes no `t()` lookup. It is the authored language of the
|
|
9024
|
+
* METADATA labels the document translators resolve, not a locale in the
|
|
9025
|
+
* message chain — `t()` keeps consulting the requested locale, then
|
|
9026
|
+
* {@link getFallbackLocale}.
|
|
9027
|
+
*
|
|
9028
|
+
* ⛔ Implementing this does NOT oblige implementing {@link getSourceLocale},
|
|
9029
|
+
* the same per-value stance the fallback pair takes: they answer
|
|
9030
|
+
* different questions — what the provider was TOLD versus what the
|
|
9031
|
+
* serving layer may ASK it. A provider that implements one without the
|
|
9032
|
+
* other leaves the serving layer reading {@link getDefaultLocale} as the
|
|
9033
|
+
* authored language; the in-repo providers (`FileI18nAdapter`, the
|
|
9034
|
+
* kernel's in-memory fallback) implement both, because the getter answers
|
|
9035
|
+
* only what the setter was told and so never has to invent a value.
|
|
9036
|
+
*
|
|
9037
|
+
* @param locale - BCP-47 locale code
|
|
9038
|
+
*/
|
|
9039
|
+
setSourceLocale?(locale: string): void;
|
|
7946
9040
|
/**
|
|
7947
9041
|
* Narrow what `getLocales()` reports to the locales the APP declared
|
|
7948
9042
|
* (`i18n.supportedLocales` on the stack artifact).
|
|
@@ -8490,6 +9584,17 @@ interface PlatformBaselineSetAdmission {
|
|
|
8490
9584
|
* The first three legs run on every hop, so `object_permission` can name the
|
|
8491
9585
|
* master's own master. A closed vocabulary: a consumer branches on it and
|
|
8492
9586
|
* never parses the refusal's prose.
|
|
9587
|
+
*
|
|
9588
|
+
* [ADR-0055 §3 as amended for #33250] A hop whose detail declares
|
|
9589
|
+
* `sharing.controlledByParent.writeRequiresMasterRead: true` asks READ on its
|
|
9590
|
+
* master instead of the three edit legs, and the walk ends there (the read of
|
|
9591
|
+
* a `controlled_by_parent` master composes its own chain). Its refusals use two
|
|
9592
|
+
* legs of this same vocabulary: `object_permission` when the read is refused
|
|
9593
|
+
* (no object-level read grant on the master, or a capability it requires not
|
|
9594
|
+
* held), and `row_level_security` when the master row is not readable to the
|
|
9595
|
+
* principal (hidden by its read scope: row-level security, record sharing and,
|
|
9596
|
+
* for a `controlled_by_parent` master, its own chain, which the read door does
|
|
9597
|
+
* not tell apart). `record_sharing` is never the leg of such a hop.
|
|
8493
9598
|
*/
|
|
8494
9599
|
type ControlledByParentWriteDenialLeg = 'object_permission' | 'row_level_security' | 'record_sharing' | 'master_chain';
|
|
8495
9600
|
/**
|
|
@@ -8531,8 +9636,12 @@ type ControlledByParentWriteUnresolvedReason = 'master_detail_relation_missing'
|
|
|
8531
9636
|
* the context is not on behalf of another user, the record's stored
|
|
8532
9637
|
* `owner_id` is the principal's own `userId`, and the principal can READ the
|
|
8533
9638
|
* master the record names, so no leg asks EDIT on that master or any master
|
|
8534
|
-
* above it. Or the
|
|
8535
|
-
*
|
|
9639
|
+
* above it. Or the detail (or a `controlled_by_parent` master above it)
|
|
9640
|
+
* declares `sharing.controlledByParent.writeRequiresMasterRead: true`
|
|
9641
|
+
* (ADR-0055 §3 as amended for #33250) and the principal can READ the master
|
|
9642
|
+
* that hop names: the walk asks the read in place of the edit legs there,
|
|
9643
|
+
* for the owner and for everyone else alike. Or the context is a system
|
|
9644
|
+
* one, which the write path never checks.
|
|
8536
9645
|
* - `deny`: the check refuses, on the {@link ControlledByParentWriteDenialLeg}
|
|
8537
9646
|
* it names.
|
|
8538
9647
|
* - `not_applicable`: the object does not declare `controlled_by_parent`, so
|
|
@@ -8697,6 +9806,35 @@ interface ISecurityService {
|
|
|
8697
9806
|
* this method only answers the projection question when a mask applies.
|
|
8698
9807
|
*/
|
|
8699
9808
|
getMetadataReadableFields?(object: string, context?: SecurityContext): Promise<string[] | undefined>;
|
|
9809
|
+
/**
|
|
9810
|
+
* [ADR-0106 D1/D7] The METADATA-PLANE answer for the fields of `object` that
|
|
9811
|
+
* a disabled package withholds from the served schema: which of those names
|
|
9812
|
+
* may be DISCLOSED to `context`. A served object read carries the names in
|
|
9813
|
+
* its `_withheldFields` read decoration; a schema-serving outlet keeps an
|
|
9814
|
+
* entry for a caller only when this answer names it.
|
|
9815
|
+
*
|
|
9816
|
+
* **Why {@link getMetadataReadableFields} cannot answer it.** That answer
|
|
9817
|
+
* enumerates the live object's fields, and a withheld field is not one of
|
|
9818
|
+
* them, so it names a withheld field for no caller, admitted or denied. This
|
|
9819
|
+
* member judges each withheld name against the field's STORAGE definition
|
|
9820
|
+
* (the definition with every `extend` contribution folded in, disabled or
|
|
9821
|
+
* not): the caller's permission-set field entry, the stored field's own
|
|
9822
|
+
* `requiredPermissions`, the same zero-set fallback resolution as
|
|
9823
|
+
* {@link getMetadataReadableFields}, and the on-behalf-of delegator's
|
|
9824
|
+
* intersection. A name it cannot judge is not admitted.
|
|
9825
|
+
*
|
|
9826
|
+
* **Answers:** the admitted names, a subset of the withheld ones; `[]` when
|
|
9827
|
+
* nothing is withheld or nothing withheld may be disclosed; `undefined` when
|
|
9828
|
+
* the withheld set or the caller's posture cannot be determined. A system
|
|
9829
|
+
* context yields every withheld name.
|
|
9830
|
+
*
|
|
9831
|
+
* **OPTIONAL, and absence fails CLOSED.** Unlike the readable-field answers,
|
|
9832
|
+
* a consumer reads absence, `undefined` and a throw alike as "no withheld
|
|
9833
|
+
* name may be disclosed" and drops every entry: the decoration is a hint to
|
|
9834
|
+
* a client, never a field the caller needs to read, so dropping it costs a
|
|
9835
|
+
* convenience and serving it on a guess discloses a field's existence.
|
|
9836
|
+
*/
|
|
9837
|
+
getMetadataReadableWithheldFields?(object: string, context?: SecurityContext): Promise<string[] | undefined>;
|
|
8700
9838
|
/**
|
|
8701
9839
|
* [#20935] The field names `context` may QUERY ON in `object` — filter, sort,
|
|
8702
9840
|
* group or aggregate by — as far as field-level security decides. The
|
|
@@ -9195,7 +10333,15 @@ interface ISecurityService {
|
|
|
9195
10333
|
* every body naming a new master does. Every other caller, and every
|
|
9196
10334
|
* insert, delete, predicate update and on-behalf-of write, keeps the edit
|
|
9197
10335
|
* rule. The leg is part of the check, so such an owner who can read the
|
|
9198
|
-
* master gets `allow` here as on the update.
|
|
10336
|
+
* master gets `allow` here as on the update. A detail that declares
|
|
10337
|
+
* `sharing.controlledByParent.writeRequiresMasterRead: true` (ADR-0055 §3 as
|
|
10338
|
+
* amended for #33250) is asked READ on its master in place of EDIT for every
|
|
10339
|
+
* write, by every principal, and so is any hop of the chain whose detail
|
|
10340
|
+
* declares it; the check answers `allow` for a principal who can read that
|
|
10341
|
+
* master, as the update gets, and `deny` on `object_permission` or
|
|
10342
|
+
* `row_level_security` for one who cannot (see
|
|
10343
|
+
* {@link ControlledByParentWriteDenialLeg}). On an on-behalf-of context each
|
|
10344
|
+
* principal is asked the read, the agent and then the delegator. This member exposes that check
|
|
9199
10345
|
* to code outside the write path, such as a gate on a record's attachments or
|
|
9200
10346
|
* comments that must judge the record as its own update is judged. It adds no
|
|
9201
10347
|
* verdict: every outcome it resolves with is one the check already reaches,
|
|
@@ -10179,6 +11325,26 @@ interface SendTemplateInput {
|
|
|
10179
11325
|
to: EmailAddress | EmailAddress[];
|
|
10180
11326
|
/** Render context — placeholders in subject/body are resolved against this object. */
|
|
10181
11327
|
data?: Record<string, unknown>;
|
|
11328
|
+
/**
|
|
11329
|
+
* Deliver-only render values: delivered with the message and never written
|
|
11330
|
+
* to the stored mail row.
|
|
11331
|
+
*
|
|
11332
|
+
* The message the recipient receives renders `data` overlaid with these
|
|
11333
|
+
* values. The stored row (`sys_email` / `sys_identity_email`) records the
|
|
11334
|
+
* message rendered from `data` alone, so a hole present in both reads the
|
|
11335
|
+
* `data` value in the row, and the row gives no sign that deliver-only
|
|
11336
|
+
* values were overlaid. Required template variables are checked against
|
|
11337
|
+
* `data` alone, so a deliver-only value never satisfies one. A send carrying
|
|
11338
|
+
* any deliver-only value is delivered inline, never through the durable
|
|
11339
|
+
* queue, so its sender gives up queued delivery where a queue is mounted:
|
|
11340
|
+
* the queue delivers from the stored row, which does not hold them. A
|
|
11341
|
+
* message re-delivered from its stored row carries the row's faces.
|
|
11342
|
+
*
|
|
11343
|
+
* Only this server-side template send declares it; the caller-facing mail
|
|
11344
|
+
* doors (`POST /email/send`, a script body's `ctx.email.send`) take a
|
|
11345
|
+
* {@link SendEmailInput}, which has no such member.
|
|
11346
|
+
*/
|
|
11347
|
+
deliverOnlyData?: Record<string, unknown>;
|
|
10182
11348
|
/**
|
|
10183
11349
|
* Preferred BCP-47 locale (e.g. user's locale).
|
|
10184
11350
|
*
|
|
@@ -11628,6 +12794,32 @@ interface IOwnershipQueueService {
|
|
|
11628
12794
|
* registered service does not carry it.
|
|
11629
12795
|
*/
|
|
11630
12796
|
hasAnyQueue?(organizationId: string | null): Promise<boolean>;
|
|
12797
|
+
/**
|
|
12798
|
+
* The objects of `organizationId`, by name, on which a queue filter can find
|
|
12799
|
+
* something — the union of two readings, so neither misses what the other
|
|
12800
|
+
* sees:
|
|
12801
|
+
*
|
|
12802
|
+
* - **sitting now**: some record of the object, in the organization, has no
|
|
12803
|
+
* owner and a queue set (the list's "in a queue" filter, verbatim). An
|
|
12804
|
+
* object with no tenant column and no declared tenant field holds
|
|
12805
|
+
* environment-wide records, and is read environment-wide;
|
|
12806
|
+
* - **routed**: an active assignment rule routes the object's new records
|
|
12807
|
+
* into a queue — an organization's `sys_assignment_rule` row, or a
|
|
12808
|
+
* declared rule the activation ledger leaves on.
|
|
12809
|
+
*
|
|
12810
|
+
* Only objects that carry the platform's `queue` column with storage behind
|
|
12811
|
+
* it are considered. Resolved under system context; ordered by name.
|
|
12812
|
+
*
|
|
12813
|
+
* The answer `GET /auth/me/permissions` carries as `objectsUsingQueues`
|
|
12814
|
+
* (`MePermissionsAuthenticatedResponseSchema`, `@objectstack/spec/api`),
|
|
12815
|
+
* narrowed there to the objects the caller may read. It discloses no queue
|
|
12816
|
+
* name and no count. A caller that has already learned `hasAnyQueue` is
|
|
12817
|
+
* false need not ask: with no queue, nothing can sit in one.
|
|
12818
|
+
*
|
|
12819
|
+
* Optional, as {@link hasAnyQueue} is: the route answers `[]` when the
|
|
12820
|
+
* registered service does not carry it.
|
|
12821
|
+
*/
|
|
12822
|
+
objectsUsingQueues?(organizationId: string | null): Promise<string[]>;
|
|
11631
12823
|
/**
|
|
11632
12824
|
* The declared queue named `name`, whether or not the activation ledger
|
|
11633
12825
|
* switches it off — `null` when no package declares it. Optional: the
|
|
@@ -12036,7 +13228,14 @@ interface ApprovalRequestRow {
|
|
|
12036
13228
|
* routed to an unstaffed position, or whose approvers have all since left,
|
|
12037
13229
|
* which would otherwise leave the request undecidable and the record locked
|
|
12038
13230
|
* forever. Clients OR it into the decision actions' `visible` gate; the
|
|
12039
|
-
* service re-checks the same privilege before applying any override.
|
|
13231
|
+
* service re-checks the same privilege before applying any override. The
|
|
13232
|
+
* override never APPROVES a request the caller submitted, so the approve
|
|
13233
|
+
* lever reads `can_override_approve` instead.
|
|
13234
|
+
* - `can_override_approve` — `can_override`, except on a request the caller
|
|
13235
|
+
* submitted: the override never approves its actor's own request, and the
|
|
13236
|
+
* approve door refuses one with `403 FORBIDDEN`. Added beside
|
|
13237
|
+
* `can_override`, which keeps its meaning for reject / reassign / recall.
|
|
13238
|
+
* Optional only because a server that predates it does not send it.
|
|
12040
13239
|
*
|
|
12041
13240
|
* Absent when the row is surfaced outside a service read with a user context
|
|
12042
13241
|
* (e.g. a raw data-API grid); a `record.viewer.*` predicate then fails closed.
|
|
@@ -12045,6 +13244,7 @@ interface ApprovalRequestRow {
|
|
|
12045
13244
|
can_act: boolean;
|
|
12046
13245
|
is_submitter: boolean;
|
|
12047
13246
|
can_override: boolean;
|
|
13247
|
+
can_override_approve?: boolean;
|
|
12048
13248
|
};
|
|
12049
13249
|
}
|
|
12050
13250
|
/**
|
|
@@ -12477,6 +13677,17 @@ interface ApprovalDecisionResult {
|
|
|
12477
13677
|
* declares — a caller holding only the status code reads a bare 500 as "the
|
|
12478
13678
|
* decision did not happen", and the row IS terminal.
|
|
12479
13679
|
*
|
|
13680
|
+
* When the run stranded because the step after the decision was REFUSED —
|
|
13681
|
+
* a record hook's declared refusal, a validation rule, a permission — the
|
|
13682
|
+
* same body also carries that refusal (#34579): `innerRefusal`
|
|
13683
|
+
* (`{ code, message }`, the engine's `AutomationResult.innerRefusal`,
|
|
13684
|
+
* ruling B′ on #24914) and the refusal's marked `userMessage`, the text an
|
|
13685
|
+
* approver can read. Both are absent when the run met no refusal (a fault),
|
|
13686
|
+
* and neither moves the status code or the four facts. A flow author who
|
|
13687
|
+
* wants such a refusal handled rather than stranded draws a `fault` edge
|
|
13688
|
+
* from that step: the engine routes the refusal down it like any run-time
|
|
13689
|
+
* failure, and the decision then answers normally.
|
|
13690
|
+
*
|
|
12480
13691
|
* ⛔ They are not members of this result and must never be added to it:
|
|
12481
13692
|
* they ride the ERROR, so declaring them here would declare a success shape
|
|
12482
13693
|
* that never carries them. ⛔ Nor are they {@link resumeFailure}, which
|
|
@@ -14026,7 +15237,7 @@ interface ICryptoProvider {
|
|
|
14026
15237
|
* {@link AUDIT_CHECKPOINT_SIGNER_SERVICE}. The open build ships the local
|
|
14027
15238
|
* signer (ADR-0154 D6: one deployment Ed25519 key whose private half is a
|
|
14028
15239
|
* `sys_secret` handle under scope `audit_seal`); stage 2 registers a
|
|
14029
|
-
* KMS-held one.
|
|
15240
|
+
* KMS-held one, which signs Ed25519 or ES256 (ADR-0154 D4, D6, amended).
|
|
14030
15241
|
* - **export** — {@link IAuditCheckpointSink}, in the service slot
|
|
14031
15242
|
* {@link AUDIT_CHECKPOINT_SINK_SERVICE}. The open build ships none; with none
|
|
14032
15243
|
* registered, checkpoints stay on the host.
|
|
@@ -14039,16 +15250,30 @@ interface ICryptoProvider {
|
|
|
14039
15250
|
declare const AUDIT_CHECKPOINT_SIGNER_SERVICE = "audit.checkpointSigner";
|
|
14040
15251
|
/** The service slot a {@link IAuditCheckpointSink} is registered under (ADR-0154 D11). */
|
|
14041
15252
|
declare const AUDIT_CHECKPOINT_SINK_SERVICE = "audit.checkpointSink";
|
|
14042
|
-
/**
|
|
15253
|
+
/**
|
|
15254
|
+
* One signature, and the key that made it.
|
|
15255
|
+
*
|
|
15256
|
+
* Two algorithms, closed (ADR-0154 D4, D6, amended): **Ed25519** and **ES256**
|
|
15257
|
+
* (ECDSA on P-256 with SHA-256). Which one a signature is checked by is the
|
|
15258
|
+
* type of the key {@link IAuditCheckpointSigner.trustedPublicKey} answers for
|
|
15259
|
+
* `keyId` — never a field of the record, which carries none. Any other key
|
|
15260
|
+
* type, curve or encoding is no trusted key: what it signed verifies nothing.
|
|
15261
|
+
*/
|
|
14043
15262
|
interface AuditCheckpointSignature {
|
|
14044
15263
|
/**
|
|
14045
15264
|
* The id of the key that signed: its fingerprint, the lowercase hex SHA-256
|
|
14046
|
-
* of the
|
|
14047
|
-
*
|
|
14048
|
-
* the
|
|
15265
|
+
* of the public key's bytes exactly as `trustedPublicKey` answers them
|
|
15266
|
+
* (an Ed25519 key's raw 32 bytes; an ES256 key's DER SubjectPublicKeyInfo),
|
|
15267
|
+
* so the key's type is bound under the id. Returned WITH the signature,
|
|
15268
|
+
* never asked for separately, so a rotation between two calls cannot pair a
|
|
15269
|
+
* signature with the wrong key.
|
|
14049
15270
|
*/
|
|
14050
15271
|
readonly keyId: string;
|
|
14051
|
-
/**
|
|
15272
|
+
/**
|
|
15273
|
+
* The signature over the bytes given, base64: Ed25519's 64 bytes, or for an
|
|
15274
|
+
* ES256 key `r || s`, 64 bytes (IEEE P1363, the JWS form). A signer whose
|
|
15275
|
+
* KMS returns a DER-encoded ECDSA signature converts it; DER never verifies.
|
|
15276
|
+
*/
|
|
14052
15277
|
readonly signature: string;
|
|
14053
15278
|
}
|
|
14054
15279
|
/**
|
|
@@ -14073,14 +15298,26 @@ interface IAuditCheckpointSigner {
|
|
|
14073
15298
|
*/
|
|
14074
15299
|
sign(bytes: Uint8Array): Promise<AuditCheckpointSignature>;
|
|
14075
15300
|
/**
|
|
14076
|
-
* The public key
|
|
14077
|
-
*
|
|
15301
|
+
* The public key this signer vouches for under `keyId`, base64, or `null`
|
|
15302
|
+
* when it vouches for none. An Ed25519 key is its raw 32 bytes; an ES256 key
|
|
15303
|
+
* is the DER SubjectPublicKeyInfo of a P-256 key with its point
|
|
15304
|
+
* uncompressed. `keyId` must be the SHA-256 of exactly these bytes, or the
|
|
15305
|
+
* key is not trusted.
|
|
14078
15306
|
*
|
|
14079
15307
|
* This is the trust anchor `os audit verify`'s live check reads. ⛔ A public
|
|
14080
15308
|
* key is never trusted because a row carries it: the local signer answers
|
|
14081
15309
|
* only for a key whose wrapped private half opens under that key's own
|
|
14082
15310
|
* fingerprint and derives exactly that public key (ADR-0154 D6); a KMS
|
|
14083
15311
|
* signer answers with the public half its KMS serves for the key id.
|
|
15312
|
+
*
|
|
15313
|
+
* A host signer registered in place of the local one is the ONLY anchor:
|
|
15314
|
+
* the local derivation is not asked, so the history the local key signed
|
|
15315
|
+
* stays trusted only if the host signer pins it (ADR-0154 D6, amended).
|
|
15316
|
+
* Before the switch the operator runs `os audit verify --out`; its proof
|
|
15317
|
+
* bundle lists each trusted fingerprint with its public key. The host keeps
|
|
15318
|
+
* those keys off the host and answers for exactly those fingerprints,
|
|
15319
|
+
* beside its own key; a fingerprint it does not pin — a key row planted on
|
|
15320
|
+
* the host after the switch included — is untrusted.
|
|
14084
15321
|
*/
|
|
14085
15322
|
trustedPublicKey(keyId: string): Promise<string | null>;
|
|
14086
15323
|
}
|
|
@@ -14396,4 +15633,4 @@ interface ICloudBindingService {
|
|
|
14396
15633
|
*/
|
|
14397
15634
|
declare const CLOUD_BINDING_SERVICE = "cloud-binding";
|
|
14398
15635
|
|
|
14399
|
-
export { type AIActionConfirmation, type AIConversation, type AIMessage, type AIMessageWithTools, type AIObjectResult, type AIRequestOptions, type AIRequestOptionsWithTools, type AIResult, type AIStreamEvent, type AIToolCall, type AIToolDefinition, type AIToolResult, AI_ACTION_CONFIRMATION_MEMBER, APPROVAL_ACTION_KINDS, APPROVAL_ACTION_KIND_LABELS, APPROVAL_CANCEL_REASONS, APPROVAL_CANCEL_REASON_LABELS, APPROVAL_STATUSES, APPROVAL_STATUS_LABELS, AUDIT_CHECKPOINT_SIGNER_SERVICE, AUDIT_CHECKPOINT_SINK_SERVICE, type ActionConfirmationRequiredDetails, type AdapterContext, type AdapterSearchOptions, type AnalyticsDriverCapabilities, AnalyticsQuery, type AnalyticsResult, type AnalyticsStrategy, type ApiEndpointMatch, type ApiKeyLifecyclePolicy, type ApprovalActionAttachment, type ApprovalActionKind, type ApprovalActionRow, type ApprovalCancelReason, type ApprovalDecisionInput, type ApprovalDecisionResult, type ApprovalRecallInput, type ApprovalRecallResult, type ApprovalRequestRow, type ApprovalResubmitInput, type ApprovalResubmitResult, type ApprovalSendBackInput, type ApprovalSendBackResult, type ApprovalStatus, type AttachFileInput, type AttachedFile, type AudienceBindingSuggestion, type AudienceBindingSuggestionFilter, type AudienceBindingSuggestionSync, type AuditCheckpointSignature, type AuditCheckpointSinkEntry, type AuthRequestTransport, type AuthResult, type AuthSession, type AuthSessionApi, type AuthUser, type AuthoredRowWriteOperation, type AuthoredRowWriteVerdict, type AutomationContext, type AutomationResult, CLOUD_BINDING_SERVICE, CRYPTO_CONTEXT_SCOPES, type CacheStats, type ChatWithToolsOptions, type CheckNamespaceInput, type CheckNamespaceResult, type ClusterCallContext, type ConnectorConnectionBegin, type ConnectorConnectionCallbackQuery, type ConnectorConnectionCallbackRequest, type ConnectorConnectionRequest, type ConnectorConnectionState, type ConnectorCredentialClearRequest, type ConnectorCredentialRef, type ConnectorCredentialSetRequest, type ConnectorSourcePullConnectorResult, type ConnectorSourcePullDatasourceResult, type ConnectorSourcePullRequest, type ConnectorSourcePullResult, type ConnectorSourcePullResultBase, type ConnectorSourcePullSummary, type ControlledByParentWriteDenialLeg, type ControlledByParentWriteOutcome, type ControlledByParentWriteUnresolvedReason, type CoreServiceContract, type CoreServiceContracts, type CounterIncrOptions, type CreateShareLinkInput, type CryptoContext, type CryptoContextScope, type CryptoHandle, type CubeMeta, DEFAULT_STORAGE_LIST_LIMIT, DatasetSelection, type DefineSharingRuleInput, type DelegableAdminScope, type DelegableScope, type DelegationNarrowing, type DeployExecutionResult, EMBEDDER_SERVICE, type EffectiveAccess, type EffectivePermissionSet, type EffectivePermissionSetOrigin, type EmailAddress, type EmailAttachment, type EmailDeliveryStatus, type ExplainAccessRequest, FIELD_FILE_SERVICE, FILE_ATTACHMENT_SERVICE, FLOW_UNBOUND_CAUSES, type FieldFileDescription, type FieldFileSlot, type FlowRuntimeState, type FlowUnboundCause, type GenerateDraftOpts, type GenerateObjectOptions, type GrantShareInput, type HierarchyScope, type HierarchyScopeContext, type HttpResponseObservation, type HttpResponseObserver, type IAIConversationService, type IAIService, type IAdvancedServiceRegistry, type IAnalyticsService, type IAppLifecycleService, type IApprovalService, type IAuditCheckpointSigner, type IAuditCheckpointSink, type IAuthService, type IAutomationService, type IBasicServiceRegistry, type IBusinessUnitGraphService, type ICacheService, type ICloudBindingService, type IClusterService, type ICounter, type ICryptoProvider, IDataEngine, type IDeployPipelineService, type IEmailService, type IEmailTransport, type IEmbedder, type IExternalDatasourceService, type IFieldFileService, type IFileAccessDelegate, type IFileAttachmentService, type IHierarchyScopeResolver, type IHttpRequest, type IHttpResponse, type IHttpServer, type II18nService, type IJobService, type IKV, type IKnowledgeAdapter, type IKnowledgeService, type ILock, type IMetadataService, type INotificationService, IObjectQLEngine, type IOwnershipQueueService, type IPackageService, type IPluginLifecycleEvents, type IPluginValidator, type IPubSub, type IQueueService, type IRealtimeService, type IRlsMembershipResolver, type ISchemaDriver, type ISearchService, type ISecurityService, type ISeedLoaderService, type ISeedSettlementService, type IServiceRegistry, type IShareLinkService, type ISharingRuleService, type ISharingService, type ISmsService, type ISmsTransport, type IStorageService, type ITeamGraphService, type ITriggerApiService, type IWebhookService, type ImportObjectOpts, type ImportObjectResult, type InboxListResult, type InboxNotification, type InboxQuery, type InstallPackageInput, type InstallPackageResult, JobExecution, type JobHandler, type JobReplayOptions, type JobRetryPolicy, type JobRunOutcome, type JobRunTrigger, type JobSchedule, type JobScheduleOptions, KNOWLEDGE_SERVICE, type KVEntry, type KVSetOptions, type KnowledgeReindexOptions, type KnowledgeReindexResult, type KnowledgeSearchOptions, type LLMAdapter, type LifecycleEventName, type ListShareLinksFilter, type LockAcquireOptions, type LockHandle, type Logger, METADATA_ROUNDTRIP_CASES, type MarkReadResult, type MessageObservability, type MetadataExportOptions, type MetadataImportOptions, type MetadataImportResult, type MetadataRoundTripCase, type MetadataRoundTripExpectation, type MetadataRoundTripRemoval, type MetadataRoundTripWrite, type MetadataTypeInfo, type MetadataWatchCallback, type MetadataWatchHandle, type MetadataWriteOptions, type Middleware, type NormalizedEmailMessage, type NormalizedSmsMessage, NotificationChannel, type NotificationMessage, type NotificationResult, OWNERSHIP_QUEUE_SERVICE, type ObjectDraft, type OwnershipFloorAlternate, type OwnershipQueueCallerPackage, type OwnershipQueueFailedReadAnswer, PRINCIPAL_SESSION_MAX_TTL_SECONDS, type PendingActionRow, type PendingActionStatus, type PlatformBaselineSetAdmission, type PlatformBaselineSetContribution, type Plugin, type PositionGrantSummary, type PositionGrantVia, type PresignedDownloadDescriptor, type PresignedDownloadOptions, type PresignedUploadDescriptor, type PrincipalSession, type PrincipalSessionCookie, type PrincipalSessionMintOptions, type ProposePendingActionInput, type PubSubHandler, type PubSubMessage, type PublishOptions, type QueueBackoffPolicy, type QueueExpansionPurpose, type QueueHandler, type QueueMemberSpec, type QueueMessage, type QueueMessageRecord, type QueuePublishOptions, RESERVED_RLS_MEMBERSHIP_KEYS, RESUME_AUTHORITY_SERVICE, RLS_MEMBERSHIP_RESOLVER_SERVICE, type RealtimeEventHandler, type RealtimeEventPayload, type RealtimeSubscriptionFilter, type RealtimeSubscriptionOptions, type RecordShare, type RecordShareRecipientType, type RemoteTable, type RenderTemplateInput, type RenderTemplateResult, type ResolveDependenciesInput, type ResolveShareLinkResult, type ResolvedQueue, type ResumeFailureReport, type ResumeSignal, type RlsMembershipContext, type RouteHandler, type RunListResult, SEED_SETTLEMENT_SERVICE, SHARE_LINK_SERVICE, type SaveNoticeChannel, type SchemaValidationReport, type SchemaValidationResult, type ScreenFieldSpec, type ScreenProgressSpec, type ScreenSpec, type SearchHit, type SearchOptions, type SearchResult, type SecurityContext, type SeedSettlementSnapshot, type SeedSuppressionReason, type SendEmailInput, type SendEmailResult, type SendSmsInput, type SendSmsResult, type SendTemplateInput, type ServiceSlotContract, type ServiceSlotContracts, type ShareAccessLevel, type ShareLink, type ShareLinkAudience, type ShareLinkExecutionContext, type ShareLinkPermission, type ShareSource, type SharingRuleEvaluationResult, type SharingRuleRecipientType, type SharingRuleRow, type SharingWriteVerdict, type SmsDeliveryStatus, type SmsTransportSendResult, type StorageFileInfo, type StorageListOptions, type StorageListPage, type StorageUploadOptions, type StoreFieldFileInput, type StoredFieldFile, type StrategyContext, type SubscribeOptions, type ToolExecutionContext, type TransportSendResult, UNMATCHED_ROUTE_PATTERN, type Unsubscribe, type UploadArtifactInput, type UploadArtifactResult, ValidationResult, decodeStorageListCursor, encodeStorageListCursor, resolveStorageListLimit };
|
|
15636
|
+
export { ACTION_CONFIRMATION_REFUSAL_REASONS, ACTION_CONFIRMATION_SERVICE, type AIActionConfirmation, type AIConversation, type AIMessage, type AIMessageWithTools, type AIObjectResult, type AIRequestOptions, type AIRequestOptionsWithTools, type AIResult, type AIRouteCredentialKind, type AIRouteUser, type AIStreamEvent, type AIToolCall, type AIToolDefinition, type AIToolResult, AI_ACTION_CONFIRMATION_CAPABILITY, AI_ACTION_CONFIRMATION_MEMBER, APPROVAL_ACTION_KINDS, APPROVAL_ACTION_KIND_LABELS, APPROVAL_CANCEL_REASONS, APPROVAL_CANCEL_REASON_LABELS, APPROVAL_STATUSES, APPROVAL_STATUS_LABELS, AUDIT_CHECKPOINT_SIGNER_SERVICE, AUDIT_CHECKPOINT_SINK_SERVICE, type ActionConfirmationHandOff, type ActionConfirmationPending, type ActionConfirmationRefusalReason, type ActionConfirmationRequiredDetails, type AdapterContext, type AdapterSearchOptions, type AnalyticsDriverCapabilities, AnalyticsQuery, type AnalyticsResult, type AnalyticsStrategy, type ApiEndpointMatch, type ApiKeyLifecyclePolicy, type ApprovalActionAttachment, type ApprovalActionKind, type ApprovalActionRow, type ApprovalCancelReason, type ApprovalDecisionInput, type ApprovalDecisionResult, type ApprovalRecallInput, type ApprovalRecallResult, type ApprovalRequestRow, type ApprovalResubmitInput, type ApprovalResubmitResult, type ApprovalSendBackInput, type ApprovalSendBackResult, type ApprovalStatus, type AttachFileInput, type AttachedFile, type AudienceBindingSuggestion, type AudienceBindingSuggestionFilter, type AudienceBindingSuggestionSync, type AuditCheckpointSignature, type AuditCheckpointSinkEntry, type AuthRequestTransport, type AuthResult, type AuthSession, type AuthSessionApi, type AuthUser, type AuthoredRowWriteOperation, type AuthoredRowWriteVerdict, type AutomationContext, type AutomationResult, CLOUD_BINDING_SERVICE, CRYPTO_CONTEXT_SCOPES, type CacheStats, type ChatWithToolsOptions, type CheckNamespaceInput, type CheckNamespaceResult, type ClusterCallContext, type ConnectorConnectionBegin, type ConnectorConnectionCallbackQuery, type ConnectorConnectionCallbackRequest, type ConnectorConnectionRequest, type ConnectorConnectionState, type ConnectorCredentialClearRequest, type ConnectorCredentialRef, type ConnectorCredentialSetRequest, type ConnectorSourcePullConnectorResult, type ConnectorSourcePullDatasourceResult, type ConnectorSourcePullRequest, type ConnectorSourcePullResult, type ConnectorSourcePullResultBase, type ConnectorSourcePullSummary, type ControlledByParentWriteDenialLeg, type ControlledByParentWriteOutcome, type ControlledByParentWriteUnresolvedReason, type CoreServiceContract, type CoreServiceContracts, type CounterIncrOptions, type CreateShareLinkInput, type CryptoContext, type CryptoContextScope, type CryptoHandle, type CubeMeta, DEFAULT_STORAGE_LIST_LIMIT, DatasetSelection, type DefineSharingRuleInput, type DelegableAdminScope, type DelegableScope, type DelegationNarrowing, type DeployExecutionResult, EMBEDDER_SERVICE, type EffectiveAccess, type EffectivePermissionSet, type EffectivePermissionSetOrigin, type EmailAddress, type EmailAttachment, type EmailDeliveryStatus, type ExplainAccessRequest, FIELD_FILE_SERVICE, FILE_ATTACHMENT_SERVICE, FLOW_UNBOUND_CAUSES, type FieldFileDescription, type FieldFileSlot, type FlowDryRunAssignmentStep, type FlowDryRunDecisionStep, type FlowDryRunOptions, type FlowDryRunOutboundStep, type FlowDryRunReadStep, type FlowDryRunRefusalCode, type FlowDryRunResult, type FlowDryRunRouteStep, type FlowDryRunStatus, type FlowDryRunStep, type FlowDryRunStepBase, type FlowDryRunStopStep, type FlowDryRunWritePermission, type FlowDryRunWriteStep, type FlowRuntimeState, type FlowUnboundCause, type GenerateDraftOpts, type GenerateObjectOptions, type GrantShareInput, type HierarchyScope, type HierarchyScopeContext, type HttpResponseObservation, type HttpResponseObserver, type IAIConversationService, type IAIService, type IActionConfirmationService, type IAdvancedServiceRegistry, type IAnalyticsService, type IAppLifecycleService, type IApprovalService, type IAuditCheckpointSigner, type IAuditCheckpointSink, type IAuthService, type IAutomationService, type IBasicServiceRegistry, type IBusinessUnitGraphService, type ICacheService, type ICloudBindingService, type IClusterService, type ICounter, type ICryptoProvider, IDataEngine, type IDeployPipelineService, type IEmailService, type IEmailTransport, type IEmbedder, type IExternalDatasourceService, type IFieldFileService, type IFileAccessDelegate, type IFileAttachmentService, type IHierarchyScopeResolver, type IHttpRequest, type IHttpResponse, type IHttpServer, type II18nService, type IJobService, type IKV, type IKnowledgeAdapter, type IKnowledgeService, type ILock, type IMetadataService, type INotificationService, IObjectQLEngine, type IOwnershipQueueService, type IPackageService, type IPluginLifecycleEvents, type IPluginValidator, type IPubSub, type IQueueService, type IRealtimeService, type IRlsMembershipResolver, type ISchemaDriver, type ISearchService, type ISecurityService, type ISeedLoaderService, type ISeedSettlementService, type IServiceRegistry, type IShareLinkService, type ISharingRuleService, type ISharingService, type ISmsService, type ISmsTransport, type IStorageService, type ITeamGraphService, type ITriggerApiService, type IWebhookService, type ImportObjectOpts, type ImportObjectResult, type InboxListResult, type InboxNotification, type InboxQuery, type InstallPackageInput, type InstallPackageResult, JobExecution, type JobHandler, type JobReplayOptions, type JobRetryPolicy, type JobRunOutcome, type JobRunTrigger, type JobSchedule, type JobScheduleOptions, KNOWLEDGE_SERVICE, type KVEntry, type KVSetOptions, type KnowledgeReindexOptions, type KnowledgeReindexResult, type KnowledgeSearchOptions, type LLMAdapter, type LifecycleEventName, type ListShareLinksFilter, type LockAcquireOptions, type LockHandle, type Logger, METADATA_ROUNDTRIP_CASES, type MarkReadResult, type MessageObservability, type MetadataExportOptions, type MetadataImportOptions, type MetadataImportResult, type MetadataRoundTripCase, type MetadataRoundTripExpectation, type MetadataRoundTripRemoval, type MetadataRoundTripWrite, type MetadataTypeInfo, type MetadataWatchCallback, type MetadataWatchHandle, type MetadataWriteOptions, type Middleware, type NormalizedEmailMessage, type NormalizedSmsMessage, NotificationChannel, type NotificationMessage, type NotificationResult, OWNERSHIP_QUEUE_SERVICE, type ObjectDraft, type OwnershipFloorAlternate, type OwnershipQueueCallerPackage, type OwnershipQueueFailedReadAnswer, PRINCIPAL_SESSION_MAX_TTL_SECONDS, type PendingActionRow, type PendingActionStatus, type PlatformBaselineSetAdmission, type PlatformBaselineSetContribution, type Plugin, type PositionGrantSummary, type PositionGrantVia, type PresignedDownloadDescriptor, type PresignedDownloadOptions, type PresignedUploadDescriptor, type PrincipalSession, type PrincipalSessionCookie, type PrincipalSessionMintOptions, type ProposePendingActionInput, type PubSubHandler, type PubSubMessage, type PublishOptions, type QueueBackoffPolicy, type QueueExpansionPurpose, type QueueHandler, type QueueMemberSpec, type QueueMessage, type QueueMessageRecord, type QueuePublishOptions, RESERVED_RLS_MEMBERSHIP_KEYS, RESUME_AUTHORITY_SERVICE, RLS_MEMBERSHIP_RESOLVER_SERVICE, type RealtimeEventHandler, type RealtimeEventPayload, type RealtimeSubscriptionFilter, type RealtimeSubscriptionOptions, type RecordShare, type RecordShareRecipientType, type RemoteTable, type RenderTemplateInput, type RenderTemplateResult, type ResolveDependenciesInput, type ResolveShareLinkResult, type ResolvedQueue, type ResumeFailureReport, type ResumeSignal, type RlsMembershipContext, type RouteHandler, type RunListResult, SEED_SETTLEMENT_SERVICE, SHARE_LINK_SERVICE, type SaveNoticeChannel, type SchemaValidationReport, type SchemaValidationResult, type ScreenFieldSpec, type ScreenProgressSpec, type ScreenSpec, type SearchHit, type SearchOptions, type SearchResult, type SecurityContext, type SeedSettlementSnapshot, type SeedSuppressionReason, type SendEmailInput, type SendEmailResult, type SendSmsInput, type SendSmsResult, type SendTemplateInput, type ServiceSlotContract, type ServiceSlotContracts, type ShareAccessLevel, type ShareLink, type ShareLinkAudience, type ShareLinkExecutionContext, type ShareLinkPermission, type ShareSource, type SharingRuleEvaluationResult, type SharingRuleRecipientType, type SharingRuleRow, type SharingWriteVerdict, type SmsDeliveryStatus, type SmsTransportSendResult, type StorageFileInfo, type StorageListOptions, type StorageListPage, type StorageUploadOptions, type StoreFieldFileInput, type StoredFieldFile, type StrategyContext, type SubscribeOptions, type ToolExecutionContext, type TransportSendResult, UNMATCHED_ROUTE_PATTERN, type Unsubscribe, type UploadArtifactInput, type UploadArtifactResult, ValidationResult, decodeStorageListCursor, encodeStorageListCursor, resolveStorageListLimit };
|