@kern0x1b/penstock-cli 26.11.1 → 26.11.2
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/THIRD-PARTY-NOTICES.md +16 -16
- package/dist/chunk-account-BaYNvO18.js +1 -0
- package/dist/{chunk-agentLaunch-D21uPuMr.js → chunk-agentLaunch-BnrpVME4.js} +1 -1
- package/dist/chunk-agentServe-BeOh1rjE.js +10 -0
- package/dist/chunk-agents-CZJoU2u2.js +1 -0
- package/dist/chunk-agentsMigrate-DnrqoXNz.js +2 -0
- package/dist/{chunk-analyze-BG-rlggA.js → chunk-analyze-ClE2LBCj.js} +1 -1
- package/dist/chunk-analyze-DgQqzEgb.js +1 -0
- package/dist/{chunk-analyzeFlow-2cYPgjh-.js → chunk-analyzeFlow-F2ZFmJhv.js} +1 -1
- package/dist/chunk-apiTemplates-Cl_z63FA.js +1 -0
- package/dist/{chunk-bot-DlhStBoG.js → chunk-bot-C2k8yaXA.js} +5 -5
- package/dist/chunk-cmmnFindings-DKpYqUZN.js +1 -0
- package/dist/{chunk-codeFactSet-LxSnQy8K.js → chunk-codeFactSet-DiAYqvbb.js} +1 -1
- package/dist/{chunk-codeIndex-N1gnP_sW.js → chunk-codeIndex-vStNh6Bm.js} +1 -1
- package/dist/chunk-codeLinks-BVpn4_Sr.js +1 -0
- package/dist/chunk-codeLinks-BrGduhsm.js +1 -0
- package/dist/chunk-command-8s6m3ZUw.js +5 -0
- package/dist/chunk-command-aMxPQdiV.js +1 -0
- package/dist/chunk-command-vH1_y5F0.js +1 -0
- package/dist/chunk-commands-B8YVT41b.js +5 -0
- package/dist/{chunk-commands-DcjlDt7B.js → chunk-commands-CJCSznbv.js} +1 -1
- package/dist/chunk-compose-BUJTvoFX.js +4 -0
- package/dist/chunk-connections-Drr67X9U.js +1 -0
- package/dist/chunk-connectors-DcMqy0u8.js +1 -0
- package/dist/chunk-convert-Ce1MZmsE.js +3 -0
- package/dist/chunk-convert-FkMnlxyi.js +1 -0
- package/dist/chunk-deploy-BHg8pB9x.js +1 -0
- package/dist/chunk-deploy-DZgCTgaY.js +6 -0
- package/dist/{chunk-diagrams-BukAOL0g.js → chunk-diagrams-CtGMGTa8.js} +1 -1
- package/dist/chunk-diff-9hjavV6V.js +1 -0
- package/dist/chunk-diff-Dp3fUALc.js +1 -0
- package/dist/chunk-dispatch-o-eqJb9Y.js +7 -0
- package/dist/chunk-dmnTests-BOxutoRs.js +1 -0
- package/dist/{chunk-dmnTests-ChwX1YVo.js → chunk-dmnTests-BzNA-u2k.js} +1 -1
- package/dist/{chunk-docs-D7yEDpa4.js → chunk-docs-B3C3pZpY.js} +17 -17
- package/dist/chunk-doctor-CRxbsAm7.js +1 -0
- package/dist/{chunk-editPreview-CC2vwhIW.js → chunk-editPreview-DCUnMkTU.js} +1 -1
- package/dist/chunk-evidence-ny_2ltVe.js +23 -0
- package/dist/{chunk-examples-0HkF-frb.js → chunk-examples-BG0lGXcZ.js} +9 -9
- package/dist/chunk-export-Blwjf23H.js +1 -0
- package/dist/chunk-export-kt3sBTZu.js +20 -0
- package/dist/{chunk-facts-DSVaURw5.js → chunk-facts-Dl5lLriU.js} +1 -1
- package/dist/chunk-failure-BRyRvObj.js +1 -0
- package/dist/{chunk-file-BswMa3FN.js → chunk-file-1YhfNmPn.js} +1 -1
- package/dist/chunk-import-Dh3az4BC.js +6 -0
- package/dist/chunk-importCommand-Dhikkmo0.js +1 -0
- package/dist/chunk-incident-LJe2-ohi.js +1 -0
- package/dist/chunk-init-D34Q4YA8.js +227 -0
- package/dist/chunk-lint-CnEhoYRB.js +1 -0
- package/dist/{chunk-lsp-7vA_mIt1.js → chunk-lsp-BzeJkpmf.js} +1 -1
- package/dist/chunk-main-BZF-ErAx.js +1 -0
- package/dist/chunk-mcp-B_B9bet5.js +95 -0
- package/dist/{chunk-mcpLaunch-LyfmIF_Z.js → chunk-mcpLaunch-BS709697.js} +1 -1
- package/dist/chunk-migrate-DVfXC-iJ.js +1 -0
- package/dist/chunk-migrate-DwWg0k5_.js +16 -0
- package/dist/{chunk-migrateApply-CzOkgKhB.js → chunk-migrateApply-e8O9oZXP.js} +3 -3
- package/dist/chunk-migrateVerify-oIBf-PM3.js +1 -0
- package/dist/{chunk-model-f8AzYUK7.js → chunk-model-BulEKnY1.js} +2 -2
- package/dist/{chunk-parse-B-uKGDy-.js → chunk-parse-DiOcpdOU.js} +1 -1
- package/dist/{chunk-penstockCli-CKMvaZ0O.js → chunk-penstockCli-C41P_G7i.js} +1 -1
- package/dist/chunk-policy-BVb7c7G_.js +1 -0
- package/dist/chunk-policyGate-BOgKsqLq.js +2 -0
- package/dist/chunk-pr-1jKcTNnP.js +1 -0
- package/dist/{chunk-project-DBYOlYRi.js → chunk-project-COaBZhMt.js} +1 -1
- package/dist/chunk-project-lO_6DX8G.js +1 -0
- package/dist/chunk-promotion-CTMPjXjZ.js +2 -0
- package/dist/chunk-promotion-DDLrgBqZ.js +1 -0
- package/dist/{chunk-promotion-DchO6xoC.js → chunk-promotion-NeRj4uTP.js} +1 -1
- package/dist/chunk-receipt-C4NqnSkH.js +1 -0
- package/dist/chunk-receiptDeps-B7MehyHT.js +1 -0
- package/dist/chunk-receiptGate-BZCKCMTV.js +1 -0
- package/dist/chunk-receiptGate-DRcw327y.js +1 -0
- package/dist/{chunk-receiptSnapshot-B6ruXw8z.js → chunk-receiptSnapshot-CHSk3_4N.js} +1 -1
- package/dist/{chunk-receiptStore-Cy-L0H1u.js → chunk-receiptStore-DhROtI2h.js} +1 -1
- package/dist/chunk-refactor-CO3qyIEv.js +17 -0
- package/dist/chunk-refactor-CWeCOl7w.js +1 -0
- package/dist/{chunk-render-Ci5d6mg4.js → chunk-render-DZd5hScS.js} +1 -1
- package/dist/chunk-report-w7YZwhyg.js +1 -0
- package/dist/chunk-review-DYMgFDSy.js +1 -0
- package/dist/chunk-say-CP1IyOSv.js +1 -0
- package/dist/{chunk-security-VgKwtohm.js → chunk-security-pgip-kdY.js} +2 -2
- package/dist/chunk-serve-CKt2rO05.js +10 -0
- package/dist/{chunk-share-CBV2FuKq.js → chunk-share-rsL0itIM.js} +18 -18
- package/dist/chunk-stages-B2sBBxUc.js +3 -0
- package/dist/chunk-systemError-O3vQ8hLb.js +1 -0
- package/dist/chunk-systemError-n2E6isvg.js +1 -0
- package/dist/chunk-taskTest-DWoME1mY.js +2 -0
- package/dist/chunk-taskTest-JErgWO6t.js +1 -0
- package/dist/{chunk-templateDiagnostics-BwH7RNkz.js → chunk-templateDiagnostics-6txfKwas.js} +2 -2
- package/dist/chunk-templates-Y3xfCO_3.js +1 -0
- package/dist/chunk-testCases-BwimUfDC.js +4 -0
- package/dist/chunk-testCases-DO2Rkyvd.js +1 -0
- package/dist/chunk-tests-Cy325OGw.js +1 -0
- package/dist/chunk-tests-DNkORsqB.js +23 -0
- package/dist/{chunk-trust-DXcsUJaK.js → chunk-trust-DSX-k3by.js} +1 -1
- package/dist/{chunk-trust-DubjEjlN.js → chunk-trust-Di4EYPah.js} +1 -1
- package/dist/{chunk-variableChecks-KnECGMR3.js → chunk-variableChecks-CBDpmI4d.js} +1 -1
- package/dist/{chunk-workerVariables-CajAcbwl.js → chunk-workerVariables-CNnCRijJ.js} +1 -1
- package/dist/{chunk-workerVariables-DIDoUpHF.js → chunk-workerVariables-CulLc3YH.js} +1 -1
- package/dist/chunk-wrapper-CGYED7G2.js +1 -0
- package/dist/chunk-wrapper-CK7Xtes6.js +3 -0
- package/dist/grammars/web-tree-sitter.wasm +0 -0
- package/dist/penstock.js +1 -1
- package/dist/web/assets/{AgentSettings-Cn5Vcph3.js → AgentSettings-D24jOuht.js} +1 -1
- package/dist/web/assets/{AgentsDialog-C6WqzlxZ.js → AgentsDialog-BMWv3Gyk.js} +1 -1
- package/dist/web/assets/{AgentsDialog-dpbwVSxk.js → AgentsDialog-DbY2O6O5.js} +1 -1
- package/dist/web/assets/{AgentsTab-C34OhVkw.js → AgentsTab-D6LbK6sG.js} +2 -2
- package/dist/web/assets/{BpmnCanvas-yur9daZa.js → BpmnCanvas-BcQRQ2Br.js} +27 -27
- package/dist/web/assets/BpmnDocument-Ce5F4K1e.js +27 -0
- package/dist/web/assets/CmmnDocument-C_UlPowC.js +17 -0
- package/dist/web/assets/{ConflictDialog-Bb5kduaR.js → ConflictDialog-DfFp8F7n.js} +1 -1
- package/dist/web/assets/{ConnectionsDialog-qtF7yDFw.js → ConnectionsDialog-BaYtHD5h.js} +1 -1
- package/dist/web/assets/{DiffDocument-LHOif5Ac.js → DiffDocument-BOPdBEN3.js} +1 -1
- package/dist/web/assets/{DmnDocument-0f5uS67x.css → DmnDocument-DZ9u2uk2.css} +1 -1
- package/dist/web/assets/DmnDocument-vtnARy7Q.js +41 -0
- package/dist/web/assets/{DriftDialog-Chl6BX6k.js → DriftDialog-dIbCbSK2.js} +1 -1
- package/dist/web/assets/FormDocument-B0q8DF9v.css +1 -0
- package/dist/web/assets/FormDocument-DHBUBUzO.js +32 -0
- package/dist/web/assets/FormStepView-CbHb32_8.js +1 -0
- package/dist/web/assets/{GraphAwareLayoutService-wsos3yPD.js → GraphAwareLayoutService-C5N8K9dm.js} +1 -1
- package/dist/web/assets/{MigrationDialog-CBJU7Oe3.js → MigrationDialog-DA3Vrzgw.js} +1 -1
- package/dist/web/assets/{NewFileDialog-B7075LWG.js → NewFileDialog-Dev41oA1.js} +1 -1
- package/dist/web/assets/PolicyDialog-qR19Csji.js +1 -0
- package/dist/web/assets/{QuickOpen-DJQrI7Od.js → QuickOpen-ps-rMjiS.js} +1 -1
- package/dist/web/assets/ScriptPane-BQLMNYzc.js +2 -0
- package/dist/web/assets/{ScriptRunDialog-BwE4cXnp.js → ScriptRunDialog-YivjHB6j.js} +1 -1
- package/dist/web/assets/{SettingsDialog-c307wPsg.js → SettingsDialog-DI0vZ6Ay.js} +1 -1
- package/dist/web/assets/ShortcutsDialog-DLXnv4Vm.js +1 -0
- package/dist/web/assets/SourceDocument-Cj8cGsoS.js +1 -0
- package/dist/web/assets/TemplateDocument-BRyFsofH.js +7 -0
- package/dist/web/assets/TextDocument-DB2hEuMA.js +1 -0
- package/dist/web/assets/{UnreadableFileLayer-CUP_30X8.js → UnreadableFileLayer-CRW3MM7w.js} +1 -1
- package/dist/web/assets/{UploadDialog-CaVBOxUL.js → UploadDialog-D-X6GG98.js} +1 -1
- package/dist/web/assets/Viewer-BcpDlvg_.js +4 -0
- package/dist/web/assets/apply-Nsj6ek02.js +1 -0
- package/dist/web/assets/{bpmnTheme-CZ7xp4R5.js → bpmnTheme-pKgl9Mrn.js} +2 -2
- package/dist/web/assets/{data-ZauKnQ2Z.js → data-CdiToGOq.js} +2 -2
- package/dist/web/assets/{data-Da5Nxzev.js → data-wU6sw6RY.js} +1 -1
- package/dist/web/assets/{dialog-DSLu1Bbo.js → dialog-BDJ5dDiU.js} +1 -1
- package/dist/web/assets/{diff-C4hitkRR.js → diff-BhYqTg4l.js} +1 -1
- package/dist/web/assets/dist-27z6Phtg.js +23 -0
- package/dist/web/assets/{dist-CofBTWz1.js → dist-B7TL-7R3.js} +4 -4
- package/dist/web/assets/dist-BEpeEbIu.js +1 -0
- package/dist/web/assets/{dist-CYCbBoYQ.js → dist-BTf7NfeQ.js} +1 -1
- package/dist/web/assets/{dist-CJKVV2_S.js → dist-BqGv7f4M.js} +10 -10
- package/dist/web/assets/dist-C-q1IWjr.js +6 -0
- package/dist/web/assets/{dist-Blylfrak.js → dist-CJx_2eBF.js} +2 -2
- package/dist/web/assets/dist-COUY_jv5.js +1 -0
- package/dist/web/assets/{dist-DpDu6Wz_.js → dist-CWjAtsKe.js} +1 -1
- package/dist/web/assets/{dist-gb3IfUZi.js → dist-Cv8_A_95.js} +2 -2
- package/dist/web/assets/dist-DDE6BjgI.js +5 -0
- package/dist/web/assets/{dist-7VC_hKpw.js → dist-DDNYYQtV.js} +1 -1
- package/dist/web/assets/dist-DW-S9iZN.js +1 -0
- package/dist/web/assets/dist-OnU5n5o1.js +1 -0
- package/dist/web/assets/dmn-Cgoh6wXm.js +3 -0
- package/dist/web/assets/{documentBridge-1Eg7H9yI.js → documentBridge-CHw4XsZH.js} +3 -3
- package/dist/web/assets/{documents-LG-7CTrn.js → documents-CEtohzAC.js} +1 -1
- package/dist/web/assets/duplicate-D_ic-m62.js +342 -0
- package/dist/web/assets/{engines-DhO6OW1S.js → engines-lyEvb0pH.js} +1 -1
- package/dist/web/assets/{executable-BTarDLry.js → executable--4381_Lf.js} +1 -1
- package/dist/web/assets/{file-CIeVSOHy.js → file-BbVBUuIH.js} +1 -1
- package/dist/web/assets/formChecks-CSClH9sH.js +1 -0
- package/dist/web/assets/frontend-uXAWaalt.js +1 -0
- package/dist/web/assets/{httpHost-DBSjdVth.js → httpHost-C973OTRe.js} +1 -1
- package/dist/web/assets/{index.es-pigASDxC.js → index.es-CMvq8Bhe.js} +3 -3
- package/dist/web/assets/index.es-GbdJvMnO.js +78 -0
- package/dist/web/assets/{index.esm-CTLpq4ik.js → index.esm-Ba6q0zSu.js} +1 -1
- package/dist/web/assets/{intelligence-_1C71hkQ.js → intelligence-DNqJNmdB.js} +3 -3
- package/dist/web/assets/{jspdf.es.min-PgZzOmkT.js → jspdf.es.min-C0L4zezU.js} +6 -6
- package/dist/web/assets/{kind-X3_nabTt.js → kind-DDHnk6dW.js} +1 -1
- package/dist/web/assets/{lib-BmLAen_d.js → lib-DrkEMJ65.js} +1 -1
- package/dist/web/assets/{list-DovB9lWV.js → list-TmXvCwja.js} +1 -1
- package/dist/web/assets/{migrationHost-BcguK4K5.js → migrationHost-DCWBb3L6.js} +1 -1
- package/dist/web/assets/moddle-f0Q4Guwd.js +1 -0
- package/dist/web/assets/{model--Bj28IOj.js → model-afHgSxJs.js} +1 -1
- package/dist/web/assets/{nudges-UF9_cBuO.js → nudges-DPG3WpyV.js} +1 -1
- package/dist/web/assets/{open-C9Kt9JLw.js → open-Vkx72dYx.js} +1 -1
- package/dist/web/assets/platform-G53Cenyw.js +2 -0
- package/dist/web/assets/{preload-helper-VRuDKI9K.js → preload-helper-DExCAR_V.js} +1 -1
- package/dist/web/assets/{run-BZgz1U9U.js → run-BMfRBe5O.js} +1 -1
- package/dist/web/assets/samples-BL3jA_Vd.js +1 -0
- package/dist/web/assets/{say-WvEHqIbO.js → say-BkdZMivA.js} +1 -1
- package/dist/web/assets/{say-ChFGKK2E.js → say-C7KqKcFr.js} +1 -1
- package/dist/web/assets/{sections-N6WYk7b8.js → sections-LJKSRDTS.js} +1 -1
- package/dist/web/assets/sharedReader-BsXfiBT8.js +1 -0
- package/dist/web/assets/{source-frame-DcptKpVq.js → source-frame-DC4W0A5-.js} +2 -2
- package/dist/web/assets/{syntax-DW10Wzg4.js → syntax-00Hk6Xv7.js} +4 -4
- package/dist/web/assets/{template-CMl68jPp.js → template-BQP7ZXdK.js} +1 -1
- package/dist/web/assets/testCaseRuns-liAhWMg7.js +1 -0
- package/dist/web/assets/{trace-DLziNpe2.js → trace-DXQU2N_l.js} +1 -1
- package/dist/web/assets/{translator-DLDFsUlE.js → translator-BLCeE6UY.js} +1 -1
- package/dist/web/assets/ui-BLtm3Y1J.js +1 -0
- package/dist/web/assets/{useTrace-UYBskc2k.js → useTrace-dZdQ805W.js} +1 -1
- package/dist/web/assets/web-C4k0NLZ9.js +982 -0
- package/dist/web/assets/web-CnDpD6qy.css +1 -0
- package/dist/web/assets/{workerVariables-DURgyUbG.js → workerVariables-O6VqwDzr.js} +1 -1
- package/dist/web/assets/xml-DIWt4von.js +1 -0
- package/dist/web/index.html +39 -40
- package/package.json +5 -5
- package/dist/chunk-account-CpZu-RTg.js +0 -1
- package/dist/chunk-agentServe-BYRtgGGD.js +0 -10
- package/dist/chunk-agents-B9oxdPTA.js +0 -1
- package/dist/chunk-agentsMigrate-BV8TeRXq.js +0 -2
- package/dist/chunk-analyze-pgzR-Cx-.js +0 -1
- package/dist/chunk-apiTemplates-cU7C8vap.js +0 -1
- package/dist/chunk-cmmnFindings-S2TGSnEp.js +0 -1
- package/dist/chunk-codeLinks-C8N6e8k3.js +0 -1
- package/dist/chunk-codeLinks-o0a8tBGk.js +0 -1
- package/dist/chunk-command-Bqlbgo-2.js +0 -1
- package/dist/chunk-command-DT84ioJb.js +0 -5
- package/dist/chunk-command-DrGP2kg8.js +0 -1
- package/dist/chunk-commands-B4PoZbpX.js +0 -5
- package/dist/chunk-compose-CWKKVtN5.js +0 -4
- package/dist/chunk-connections-DQpKbIGD.js +0 -1
- package/dist/chunk-connectors-PtAvE91B.js +0 -1
- package/dist/chunk-convert-CpgtOlZk.js +0 -1
- package/dist/chunk-convert-HbFpg8ab.js +0 -3
- package/dist/chunk-deploy-l4MdFfn8.js +0 -6
- package/dist/chunk-deploy-qRaaKGZb.js +0 -1
- package/dist/chunk-diff-BhTFlCE3.js +0 -1
- package/dist/chunk-diff-kBF83vzM.js +0 -1
- package/dist/chunk-dispatch-BnO-QhMh.js +0 -7
- package/dist/chunk-dmnTests-0x_yUH6S.js +0 -1
- package/dist/chunk-doctor-BuHK1dTm.js +0 -1
- package/dist/chunk-evidence-oLw_C6j8.js +0 -23
- package/dist/chunk-export-cIFHDXug.js +0 -1
- package/dist/chunk-export-jBVxtmCH.js +0 -20
- package/dist/chunk-failure-D5brrYW2.js +0 -1
- package/dist/chunk-import-BBOe-5RZ.js +0 -6
- package/dist/chunk-importCommand-DRjYoljA.js +0 -1
- package/dist/chunk-incident-BK1h37CD.js +0 -1
- package/dist/chunk-init-_OALJuKm.js +0 -227
- package/dist/chunk-lint-7KJFxyCN.js +0 -1
- package/dist/chunk-main-Cw2JXCil.js +0 -1
- package/dist/chunk-mcp-K63bhqnF.js +0 -95
- package/dist/chunk-migrate-BMwBV5sc.js +0 -16
- package/dist/chunk-migrate-CxfVmKt0.js +0 -1
- package/dist/chunk-migrateVerify-DSEXSpfR.js +0 -1
- package/dist/chunk-policy-BX0Ftdws.js +0 -1
- package/dist/chunk-policyGate-dmcufnwB.js +0 -2
- package/dist/chunk-pr-ByrGcfam.js +0 -1
- package/dist/chunk-project-DA3KnAZH.js +0 -1
- package/dist/chunk-promotion-Boedyq43.js +0 -1
- package/dist/chunk-promotion-D8Ti-vxp.js +0 -2
- package/dist/chunk-receipt-CusJaqNn.js +0 -1
- package/dist/chunk-receiptDeps-oVbX156d.js +0 -1
- package/dist/chunk-receiptGate-DrGChj7i.js +0 -1
- package/dist/chunk-receiptGate-xldHKMyJ.js +0 -1
- package/dist/chunk-refactor-B1W_MGTp.js +0 -1
- package/dist/chunk-refactor-BJXxEtVs.js +0 -17
- package/dist/chunk-report-D9pM09Nu.js +0 -1
- package/dist/chunk-review-UcqS5AAi.js +0 -1
- package/dist/chunk-say-CYb4HeJD.js +0 -1
- package/dist/chunk-serve-Dmqen1yd.js +0 -10
- package/dist/chunk-stages-BTQJrAMF.js +0 -3
- package/dist/chunk-systemError-BYrMzp2o.js +0 -1
- package/dist/chunk-systemError-CXvnhNPK.js +0 -1
- package/dist/chunk-taskTest-9gMsx0zu.js +0 -2
- package/dist/chunk-taskTest-BjXYpG5p.js +0 -1
- package/dist/chunk-templates-D3ouIwHD.js +0 -1
- package/dist/chunk-testCases-9jwT_Y7z.js +0 -4
- package/dist/chunk-testCases-BcpBPg9L.js +0 -1
- package/dist/chunk-tests-CEEXnWOp.js +0 -23
- package/dist/chunk-tests-CRVosdWp.js +0 -1
- package/dist/chunk-wrapper-B2WnOIoB.js +0 -3
- package/dist/chunk-wrapper-DiKCKZti.js +0 -1
- package/dist/web/assets/BpmnDocument-C247Rqim.js +0 -27
- package/dist/web/assets/CmmnDocument-Dj48bsUd.js +0 -17
- package/dist/web/assets/DmnDocument-Cb9Zi9fS.js +0 -41
- package/dist/web/assets/FormDocument-DoZaxWd-.js +0 -32
- package/dist/web/assets/FormDocument-URLcKn84.css +0 -1
- package/dist/web/assets/FormStepView-D8MFcpeI.js +0 -1
- package/dist/web/assets/PolicyDialog-CGdglmDn.js +0 -1
- package/dist/web/assets/ScriptPane-T6M5f6fc.js +0 -2
- package/dist/web/assets/ShortcutsDialog-BAoL9EHu.js +0 -1
- package/dist/web/assets/SourceDocument-C9KIzBA5.js +0 -1
- package/dist/web/assets/TemplateDocument-CNt2turg.js +0 -7
- package/dist/web/assets/TextDocument-CtkHoEqN.js +0 -1
- package/dist/web/assets/Viewer-DZske1C5.js +0 -4
- package/dist/web/assets/apply-nnKP9HIM.js +0 -1
- package/dist/web/assets/dist--PmHUHDp.js +0 -1
- package/dist/web/assets/dist-BoPrKCf2.js +0 -5
- package/dist/web/assets/dist-C1m02xAO.js +0 -1
- package/dist/web/assets/dist-CLqJMzT-.js +0 -1
- package/dist/web/assets/dist-D3jqq0XS.js +0 -1
- package/dist/web/assets/dist-DA-9F0U9.js +0 -1
- package/dist/web/assets/dist-DojzF5q2.js +0 -6
- package/dist/web/assets/dist-yvjzrXXf.js +0 -23
- package/dist/web/assets/dmn-DwdcYXGr.js +0 -3
- package/dist/web/assets/duplicate-D-ilQqKz.js +0 -342
- package/dist/web/assets/formChecks-CGox1z7R.js +0 -1
- package/dist/web/assets/frontend-Qq5hBH0U.js +0 -1
- package/dist/web/assets/index.es-CcNNw3VB.js +0 -78
- package/dist/web/assets/moddle-DJxj0oEU.js +0 -1
- package/dist/web/assets/platform-BLPhsye9.js +0 -2
- package/dist/web/assets/samples-oeXBsJ9Y.js +0 -1
- package/dist/web/assets/sharedReader-Bopy7Uk9.js +0 -1
- package/dist/web/assets/testCaseRuns-B_XdqGFh.js +0 -1
- package/dist/web/assets/ui-BTKMbWYG.js +0 -1
- package/dist/web/assets/web-FzNBw1kZ.css +0 -1
- package/dist/web/assets/web-jPMZVwbQ.js +0 -982
- package/dist/web/assets/xml-DTgZ-B-l.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./rolldown-runtime-B8BYMn-z.js";import{c as e,d as t,h as n,o as r,r as i}from"./vendor-NJP34MHU.js";import{i as a}from"./translator-DLDFsUlE.js";import{C as o}from"./frontend-Qq5hBH0U.js";import{t as s}from"./bridgeInstance-qzSInqLW.js";import{s as c}from"./ui-BTKMbWYG.js";import{r as l}from"./moddle-DJxj0oEU.js";import{a as u,i as d,n as f}from"./dist-DHrd1AHo.js";import{n as p}from"./dist-BoPrKCf2.js";import{r as m}from"./sharedReader-Bopy7Uk9.js";import{a as h,l as g}from"./file-CIeVSOHy.js";import{c as _,s as v}from"./testCaseRuns-B_XdqGFh.js";import{a as y,n as b,o as x,r as S,s as C,t as w}from"./model--Bj28IOj.js";import{t as T}from"./data-Da5Nxzev.js";import{t as E}from"./BpmnDocument-C247Rqim.js";u();function segmentsOf(e){let t=e.startsWith(`=`)?`=`:``,n=e.slice(t.length),r=t?[{text:t,tone:`tok-operator`}]:[];try{let e=p().language.parser.parse(n),t=0;d(e,f,(e,i,a)=>{e>t&&r.push({text:n.slice(t,e),tone:``});let o=n.slice(e,i);r.push({text:o,tone:o===`fromAi`?`tok-function`:a}),t=i}),t<n.length&&r.push({text:n.slice(t),tone:``})}catch{return[{text:e,tone:``}]}return r}function FeelText({source:e}){let t=r(()=>segmentsOf(e),[e]);return i(`pre`,{class:`ai-agents__feel`,children:t.map((e,t)=>e.tone?i(`span`,{class:e.tone,children:e.text},t):e.text)})}function Fact({label:e,children:t}){return i(n,{children:[i(`dt`,{class:`ai-agents__label type-help`,children:e}),i(`dd`,{class:`ai-agents__value`,children:t})]})}function Value({value:e}){return e===null||e.trim()===``?i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.value.notSet`)}):i(`span`,{class:`ai-agents__mono`,children:e.startsWith(`=`)&&!e.includes(` `)?e.slice(1):e})}function Flag({on:e}){return i(`span`,{children:a(e?`app.aiAgents.value.yes`:`app.aiAgents.value.no`)})}function Section({title:e,children:t}){return i(`section`,{class:`ai-agents__section`,children:[i(`h3`,{class:`ai-agents__heading type-section-heading`,children:e}),t]})}function PromptView({label:e,prompt:t}){return i(`div`,{class:`ai-agents__prompt`,children:[i(`span`,{class:`ai-agents__label type-help`,children:e}),t===null&&i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.prompt.empty`)}),t!==null&&t.text!==null&&i(`p`,{class:`ai-agents__rendered`,children:t.text}),t!==null&&t.text===null&&i(FeelText,{source:t.source})]})}function ToolView({tool:e,onSelect:t}){return i(`li`,{class:`ai-agents__tool`,children:[i(`button`,{type:`button`,class:`ai-agents__link`,title:a(`app.aiAgents.select`),onClick:()=>t(e.id),children:e.name||e.id}),i(`span`,{class:`ai-agents__muted`,children:e.kind}),e.name&&e.name!==e.id&&i(`span`,{class:`ai-agents__muted ai-agents__mono`,children:e.id}),i(`p`,{class:`ai-agents__description`,children:e.description??i(`span`,{class:`ai-agents__problem`,children:a(`app.aiAgents.tool.noDescription`)})}),e.parameters.length===0&&i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tool.noParameters`)}),e.parameters.length>0&&i(`table`,{class:`ai-agents__table`,children:[i(`thead`,{children:i(`tr`,{children:[i(`th`,{class:`type-table-header`,children:a(`app.aiAgents.param.name`)}),i(`th`,{class:`type-table-header`,children:a(`app.aiAgents.param.type`)}),i(`th`,{class:`type-table-header`,children:a(`app.aiAgents.param.description`)})]})}),i(`tbody`,{children:e.parameters.map((e,t)=>i(`tr`,{class:e.complete?void 0:`is-incomplete`,children:[i(`td`,{class:`ai-agents__mono`,children:e.name}),i(`td`,{children:e.type??(e.schema?a(`app.aiAgents.param.schema`):i(`span`,{class:`ai-agents__problem`,children:a(`app.aiAgents.param.noType`)}))}),i(`td`,{children:e.description??i(`span`,{class:`ai-agents__problem`,children:a(`app.aiAgents.param.noDescription`)})})]},`${e.name}-${t}`))})]})]})}function listText(e){return e.kind===`none`?null:e.kind===`dynamic`?a(`app.aiAgents.filter.dynamic`):e.names.length===0?a(`app.aiAgents.value.nothing`):e.names.join(`, `)}function FilterView({filter:e}){let t=listText(e.included),n=listText(e.excluded);return t===null&&n===null?null:i(`li`,{class:`ai-agents__filter`,children:[i(`span`,{class:`ai-agents__muted`,children:a(`app.agents.scope.${e.scope}`)}),t!==null&&i(`span`,{children:a(`app.aiAgents.filter.included`,{names:t})}),n!==null&&i(`span`,{children:a(`app.aiAgents.filter.excluded`,{names:n})})]})}function ClientView({client:e,status:t,onSelect:n}){let r=e.clientId??e.url??e.name??e.elementId,o=e.remote?a(`app.aiAgents.mcp.remote`,{transport:e.transport??`http`}):a(t===null?`app.aiAgents.mcp.unverifiable`:`app.aiAgents.mcp.${t}`);return i(`li`,{class:`ai-agents__client`,children:[i(`button`,{type:`button`,class:`ai-agents__link`,title:a(`app.aiAgents.select`),onClick:()=>n(e.elementId),children:r}),i(`span`,{class:`ai-agents__status is-${e.remote?`defined`:t??`unverifiable`}`,children:o}),e.filters.length>0&&i(`ul`,{class:`ai-agents__filters`,children:e.filters.map((e,t)=>i(FilterView,{filter:e},t))})]})}function AgentCard({agent:e,findings:t,statusOf:r,onSelect:o,actions:s}){let c=[e.provider,e.model].filter(e=>!!e).join(` / `);return i(`article`,{class:`ai-agents__card`,children:[i(`header`,{class:`ai-agents__header`,children:[i(`button`,{type:`button`,class:`ai-agents__title ai-agents__link type-section-heading`,title:a(`app.aiAgents.select`),onClick:()=>o(e.id),children:e.name||e.id}),i(`span`,{class:`ai-agents__muted`,children:[a(e.kind===`task`?`app.aiAgents.kind.task`:`app.aiAgents.kind.subprocess`),e.legacyTemplate?` · ${a(`app.aiAgents.template.deprecated`)}`:``]})]}),i(Section,{title:a(`app.aiAgents.section.model`),children:[i(`dl`,{class:`ai-agents__facts`,children:[i(Fact,{label:a(`app.aiAgents.field.provider`),children:c===``?i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.value.notSet`)}):i(`span`,{children:c})}),e.backend!==null&&i(Fact,{label:a(`app.aiAgents.field.backend`),children:i(Value,{value:e.backend})}),i(Fact,{label:a(`app.aiAgents.field.template`),children:i(`span`,{class:`ai-agents__mono`,children:`${e.template.id??`-`} v${e.template.version??`?`}`})})]}),e.legacyTemplate&&i(`p`,{class:`ai-agents__note type-help`,children:a(`app.aiAgents.template.migrate`)})]}),i(Section,{title:a(`app.aiAgents.section.prompts`),children:[i(PromptView,{label:a(`app.aiAgents.field.systemPrompt`),prompt:e.systemPrompt}),i(PromptView,{label:a(`app.aiAgents.field.userPrompt`),prompt:e.userPrompt})]}),i(Section,{title:a(`app.aiAgents.section.tools`),children:i(n,{children:[e.containerMissing&&i(`p`,{class:`ai-agents__problem`,children:a(`app.aiAgents.tools.containerMissing`,{id:e.container?.id??``})}),e.containerDynamic&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tools.dynamicContainer`)}),e.container===null&&!e.containerDynamic&&e.kind===`task`&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tools.noContainer`)}),e.tools.length===0&&e.container!==null&&!e.containerMissing&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tools.none`)}),e.tools.length>0&&i(`ul`,{class:`ai-agents__list`,children:e.tools.map(e=>i(ToolView,{tool:e,onSelect:o},e.id))})]})}),i(Section,{title:a(`app.aiAgents.section.limits`),children:i(`dl`,{class:`ai-agents__facts`,children:i(Fact,{label:a(`app.aiAgents.field.maxModelCalls`),children:i(Value,{value:e.maxModelCalls})})})}),i(Section,{title:a(`app.aiAgents.section.memory`),children:i(`dl`,{class:`ai-agents__facts`,children:[i(Fact,{label:a(`app.aiAgents.field.storage`),children:i(Value,{value:e.memory.storage})}),i(Fact,{label:a(`app.aiAgents.field.contextWindow`),children:i(Value,{value:e.memory.contextWindowSize})})]})}),i(Section,{title:a(`app.aiAgents.section.guardrails`),children:i(`dl`,{class:`ai-agents__facts`,children:[i(Fact,{label:a(`app.aiAgents.field.responseFormat`),children:i(Value,{value:e.response.format})}),i(Fact,{label:a(`app.aiAgents.field.parseJson`),children:i(Value,{value:e.response.parseJson})}),i(Fact,{label:a(`app.aiAgents.field.schema`),children:i(Flag,{on:e.response.schema})}),i(Fact,{label:a(`app.aiAgents.field.humanApproval`),children:i(Flag,{on:e.humanApproval})})]})}),i(Section,{title:a(`app.aiAgents.section.mcp`),children:i(n,{children:[e.mcpClients.length===0&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.mcp.none`)}),e.mcpClients.length>0&&i(`ul`,{class:`ai-agents__list`,children:e.mcpClients.map(e=>i(ClientView,{client:e,status:r(e),onSelect:o},e.elementId))})]})}),i(Section,{title:a(`app.aiAgents.section.findings`),children:i(n,{children:[t.length===0&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.findings.none`)}),t.length>0&&i(`ul`,{class:`ai-agents__list`,children:t.map((e,t)=>i(`li`,{class:`ai-agents__finding`,children:i(`button`,{type:`button`,class:`ai-agents__link`,title:a(`app.aiAgents.select`),onClick:()=>o(e.elementId),children:[i(`span`,{class:`ai-agents__severity is-${e.severity}`,children:a(`app.aiAgents.severity.${e.severity}`)}),C(e)]})},t))})]})}),s&&i(`footer`,{class:`ai-agents__footer`,children:[i(`div`,{class:`ai-agents__buttons`,children:[i(`button`,{type:`button`,class:`ui-button`,disabled:s.busy,title:a(`app.aiAgents.scenario.hint`),onClick:s.makeScenario,children:a(`app.aiAgents.scenario.button`)}),s.migrate&&i(`button`,{type:`button`,class:`ui-button`,disabled:s.busy,title:a(`app.aiAgents.migrate.hint`),onClick:s.migrate,children:a(`app.aiAgents.migrate.button`)})]}),s.notice&&i(`p`,{class:`ai-agents__note type-help`,role:`status`,children:s.notice})]})]})}var D=`agent`;function find(e,t){if(e?.id===t)return e;for(let n of e?.flowElements??[]){let e=find(n,t);if(e)return e}return null}function elementOf(e,t){for(let n of e?.rootElements??[]){let e=find(n,t);if(e)return e;for(let e of n.participants??[]){let n=e.processRef?find(e.processRef,t):null;if(n)return n}}return null}function extension(e,t){return e?.extensionElements?.values?.find(e=>e.$type===t)}function jobTypeOf(e){let t=extension(e,`zeebe:TaskDefinition`)?.type;return typeof t==`string`&&t!==``&&!t.startsWith(`=`)?t:null}function resultVariableOf(e){let t=(extension(e,`zeebe:TaskHeaders`)?.values??[]).find(e=>e.key===`resultVariable`)?.value;return typeof t==`string`&&t.trim()!==``&&!t.startsWith(`=`)?t.trim():D}function selector(e){return{processDefinitionId:e}}function taskScenario(e,t,n){let r=selector(e.processId),i=[{type:`CREATE_PROCESS_INSTANCE`,processDefinitionSelector:selector(e.processId),variables:{}},{type:`MOCK_JOB_WORKER_COMPLETE_JOB`,jobType:t,variables:{[n]:{context:{},toolCalls:[],responseText:a(`app.agents.scenario.stubAnswer`)}}},{type:`ASSERT_ELEMENT_INSTANCE`,processInstanceSelector:r,elementSelector:{elementId:e.id},state:`IS_COMPLETED`}];return e.tools.length>0&&i.push({type:`ASSERT_ELEMENT_INSTANCES`,processInstanceSelector:r,elementSelectors:e.tools.map(e=>({elementId:e.id})),state:`IS_NOT_ACTIVATED`}),{instructions:i,notes:[a(`app.agents.scenario.noteTaskStub`)]}}function subprocessScenario(e){let t=selector(e.processId),n=e.tools[0],r=[{type:`CREATE_PROCESS_INSTANCE`,processDefinitionSelector:selector(e.processId),variables:{}},{type:`COMPLETE_JOB_AD_HOC_SUB_PROCESS`,jobSelector:{elementId:e.id},...n?{activateElements:[{elementId:n.id}]}:{},variables:{agent:{responseText:a(`app.agents.scenario.stubAnswer`)}}}];return n&&r.push({type:`ASSERT_ELEMENT_INSTANCE`,processInstanceSelector:t,elementSelector:{elementId:n.id},state:`IS_COMPLETED`}),r.push({type:`ASSERT_ELEMENT_INSTANCE`,processInstanceSelector:t,elementSelector:{elementId:e.id},state:`IS_ACTIVE`}),{instructions:r,notes:[a(`app.agents.scenario.noteSubprocessRunner`)]}}async function agentScenarios(e,t){let n=await l(e);if(!n)return{scenarios:[],missing:a(`app.agents.scenario.unreadable`)};let r=b(n),i=t===void 0?r.agents:r.agents.filter(e=>e.id===t);if(i.length===0)return{scenarios:[],missing:t===void 0?a(`app.agents.scenario.noAgents`):a(`app.agents.scenario.noSuchAgent`,{id:t})};let o=[];for(let e of i){let t=elementOf(n,e.id),r=t?jobTypeOf(t):null,i=t?S(t):{id:null,version:null};if(!r){o.push({agentId:e.id,processId:e.processId,runnable:!1,notes:[a(`app.agents.scenario.noJobType`,{template:i.id??``})],testCase:null});continue}let s=e.kind===`task`?taskScenario(e,r,t?resultVariableOf(t):D):subprocessScenario(e);o.push({agentId:e.id,processId:e.processId,runnable:e.kind===`task`,notes:s.notes,testCase:{name:a(`app.agents.scenario.name`,{agent:e.id}),description:a(`app.agents.scenario.description`,{agent:e.name||e.id}),instructions:s.instructions}})}return{scenarios:o,missing:null}}async function addAgentScenario(e){let t=await agentScenarios(e.xml,e.agentId);if(t.missing!==null)return a(`app.aiAgents.scenario.failed`,{reason:t.missing});let[n]=t.scenarios;if(!n||!n.testCase)return a(`app.aiAgents.scenario.failed`,{reason:n?.notes.join(` `)??``});let{file:r}=await _(e.diagramPath,e.xml),i=h(await v(r),[n.testCase]);return`problem`in i?a(`app.aiAgents.scenario.failed`,{reason:`${m(r)}: ${i.problem}`}):i.added.length===0?a(`app.aiAgents.scenario.exists`,{file:m(r)}):(await e.save(r,g(i.file)),[a(`app.aiAgents.scenario.written`,{file:m(r)}),...n.notes].join(` `))}var O={id:`io.camunda.connectors.agenticai.ai-agent-subprocess.v2`,version:1,elementType:`bpmn:AdHocSubProcess`,taskDefinitionType:`io.camunda.agenticai:aiagent:subprocess:2`,agentType:`aiAgentSubProcess`,inputs:[{name:`provider.type`,type:`Dropdown`,value:`anthropic`,choices:[`anthropic`,`bedrock`,`openai`,`google-gemini`,`mistral`,`custom`]},{name:`provider.anthropic.backend.type`,type:`Dropdown`,value:`anthropic-api`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`anthropic-api`,`aws-bedrock-mantle`,`foundry`,`custom`]},{name:`provider.anthropic.backend.anthropic.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.anthropic.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.anthropic.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientId`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.anthropic.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.anthropic.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.region`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.endpoint`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`provider.type`,equals:`bedrock`},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.bedrock.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`apiKey`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.type`,type:`Dropdown`,value:`responses`,condition:{property:`provider.type`,equals:`openai`},choices:[`responses`,`completions`]},{name:`provider.openai.backend.type`,type:`Dropdown`,value:`openai-api`,condition:{property:`provider.type`,equals:`openai`},choices:[`openai-api`,`foundry`,`custom`]},{name:`provider.openai.backend.openai.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.openai.organizationId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.openai.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientId`,id:`provider.openai.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,id:`provider.openai.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.openai.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.openai.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`},optional:!0},{name:`provider.googleGemini.backend.type`,type:`Dropdown`,value:`google-gemini-api`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`google-gemini-api`,`google-vertex-ai`]},{name:`provider.googleGemini.backend.googleGeminiApi.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleGeminiApi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.authentication.type`,type:`Dropdown`,value:`serviceAccountCredentials`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},choices:[`serviceAccountCredentials`,`applicationDefaultCredentials`]},{name:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.googleVertexAi.authentication.type`,equals:`serviceAccountCredentials`},{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.backend.type`,type:`Dropdown`,value:`mistral-api`,condition:{property:`provider.type`,equals:`mistral`},choices:[`mistral-api`,`custom`]},{name:`provider.mistral.backend.mistral.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.mistral.endpoint`,type:`Hidden`,value:`https://api.mistral.ai/v1`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.mistral.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.mistral.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.providerType`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.parameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`custom`},optional:!0},{name:`provider.anthropic.backend.anthropic.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.bedrock.headers`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.queryParameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.bodyProperties`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.backend.openai.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.apiVersion`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.mistral.backend.mistral.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.anthropic.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`}},{name:`provider.anthropic.model.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.anthropic.model.parameters.thinking.mode`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`enabled`,`adaptive`,`disabled`]},{name:`provider.anthropic.model.parameters.thinking.budgetTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`enabled`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.model.parameters.thinking.display`,type:`Dropdown`,value:`summarized`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`adaptive`},{property:`provider.type`,equals:`anthropic`}]},choices:[`summarized`,`omitted`],optional:!0},{name:`provider.anthropic.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`}},{name:`provider.openai.api.responses.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.openai.api.completions.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.googleGemini.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`}},{name:`provider.googleGemini.model.parameters.thinking.thinkingBudget`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,equals:`modelDefault`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`]},{name:`provider.mistral.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`}},{name:`provider.mistral.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`mistral`},choices:[`modelDefault`,`none`,`high`]},{name:`provider.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.anthropic.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.responses.maxOutputTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.maxCompletionTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.googleGemini.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`data.systemPrompt.prompt`,type:`Text`,value:`="You are **TaskAgent**, a helpful, capable agent that can handle a wide variety of customer requests using your own knowledge **and** any tools explicitly provided to you at runtime. Prefer a provided tool over guessing whenever it would give a more accurate or reliable answer, and only use tools that were explicitly configured for you (never assume a tool exists). You can call the same tool multiple times with different inputs if that helps complete the request. If no tool fits the request, answer from your own knowledge; if you can't produce a reliable answer, say so plainly and explain why, rather than guessing."`,feel:`required`},{name:`data.userPrompt.prompt`,type:`Text`,feel:`required`},{name:`data.userPrompt.documents`,type:`String`,feel:`required`,optional:!0},{name:`agentContext`,type:`Text`,feel:`required`},{name:`data.memory.storage.type`,type:`Dropdown`,value:`in-process`,choices:[`in-process`,`camunda-document`,`aws-agentcore`,`custom`]},{name:`data.memory.storage.timeToLive`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.customProperties`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.region`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.endpoint`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},optional:!0},{name:`data.memory.storage.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},choices:[`credentials`,`defaultCredentialsChain`]},{name:`data.memory.storage.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.memoryId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.actorId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.storeType`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`custom`}},{name:`data.memory.storage.parameters`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`custom`},optional:!0},{name:`data.memory.contextWindowSize`,type:`Number`,value:20,feel:`static`},{name:`data.limits.maxModelCalls`,type:`Number`,value:10,feel:`static`},{name:`data.events.behavior`,type:`Dropdown`,value:`WAIT_FOR_TOOL_CALL_RESULTS`,choices:[`WAIT_FOR_TOOL_CALL_RESULTS`,`INTERRUPT_TOOL_CALLS`]},{name:`data.response.format.type`,type:`Dropdown`,value:`text`,choices:[`text`,`json`]},{name:`data.response.format.parseJson`,type:`Boolean`,feel:`static`,condition:{property:`data.response.format.type`,equals:`text`},optional:!0},{name:`data.response.format.schema`,type:`String`,feel:`required`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.format.schemaName`,type:`String`,value:`Response`,feel:`optional`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.includeAssistantMessage`,type:`Boolean`,feel:`static`,optional:!0},{name:`data.response.includeAgentContext`,type:`Boolean`,feel:`static`,optional:!0},{name:`agent`,type:`Hidden`}],migratesFrom:{schemaVersion:1,sources:[{kind:`change`,sourceTemplateId:`io.camunda.connectors.agenticai.aiagent.jobworker.v1`,minSourceVersion:12,paths:[{from:`provider.type`,to:`provider.type`,valueMap:{rules:[{match:`anthropic`,value:`anthropic`},{match:`bedrock`,value:`bedrock`},{match:`openai`,value:`openai`},{match:`azureOpenAi`,value:`openai`},{match:`openaiCompatible`,value:`openai`},{match:`google-vertex-ai`,value:`google-gemini`}]}},{when:{path:`provider.type`,equals:`anthropic`},rules:[{to:`provider.anthropic.model.parameters.promptCaching.enabled`,set:!0,note:`Anthropic prompt caching is now enabled, and effort and thinking use the model default. v1 sent no caching or reasoning settings.`},{when:{path:`provider.anthropic.endpoint`,exists:!1},rules:[{to:`provider.anthropic.backend.type`,set:`anthropic-api`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.anthropic.apiKey`}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:[{path:`provider.anthropic.endpoint`,exists:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`,not:!0}],rules:[{to:`provider.anthropic.backend.type`,set:`custom`},{to:`provider.anthropic.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.custom.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.custom.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the custom backend. v2 appends /v1/messages, so remove a trailing /v1.`}}]}]},{when:{path:`provider.type`,equals:`bedrock`},rules:[{to:`provider.bedrock.model.parameters.promptCaching.enabled`,set:!0,note:`AWS Bedrock prompt caching is now enabled. v1 sent no caching settings.`}]},{when:{path:`provider.type`,equals:`openai`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`openai-api`},{from:`provider.openai.authentication.apiKey`,to:`provider.openai.backend.openai.apiKey`},{from:`provider.openai.authentication.organizationId`,to:`provider.openai.backend.openai.organizationId`},{from:`provider.openai.authentication.projectId`,to:`provider.openai.backend.openai.projectId`},{from:`provider.openai.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openai.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openai.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`azureOpenAi`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`foundry`},{from:`provider.azureOpenAi.endpoint`,to:`provider.openai.backend.foundry.endpoint`},{from:`provider.azureOpenAi.authentication.type`,to:`provider.openai.backend.foundry.authentication.type`},{from:`provider.azureOpenAi.authentication.apiKey`,to:`provider.openai.backend.foundry.authentication.apiKey`},{from:`provider.azureOpenAi.authentication.clientId`,to:`provider.openai.backend.foundry.authentication.clientId`},{from:`provider.azureOpenAi.authentication.clientSecret`,to:`provider.openai.backend.foundry.authentication.clientSecret`},{from:`provider.azureOpenAi.authentication.tenantId`,to:`provider.openai.backend.foundry.authentication.tenantId`},{from:`provider.azureOpenAi.authentication.authorityHost`,to:`provider.openai.backend.foundry.authentication.authorityHost`},{from:`provider.azureOpenAi.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.azureOpenAi.model.deploymentName`,to:`provider.openai.model.model`},{from:`provider.azureOpenAi.model.parameters.maxTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.azureOpenAi.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.azureOpenAi.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`openaiCompatible`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`custom`},{from:`provider.openaiCompatible.endpoint`,to:`provider.openai.backend.custom.endpoint`},{from:`provider.openaiCompatible.headers`,to:`provider.openai.backend.custom.headers`},{from:`provider.openaiCompatible.queryParameters`,to:`provider.openai.backend.custom.queryParameters`},{from:`provider.openaiCompatible.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.openaiCompatible.model.model`,to:`provider.openai.model.model`},{from:`provider.openaiCompatible.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openaiCompatible.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openaiCompatible.model.parameters.topP`,to:`provider.openai.api.completions.topP`},{from:`provider.openaiCompatible.model.parameters.customParameters`,to:`provider.openai.backend.custom.bodyProperties`},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!0},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.openaiCompatible.authentication.apiKey`,to:`provider.openai.backend.custom.authentication.apiKey`}]},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!1},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`none`}]}]},{when:{path:`provider.type`,equals:`google-vertex-ai`},rules:[{to:`provider.googleGemini.backend.type`,set:`google-vertex-ai`},{from:`provider.googleVertexAi.projectId`,to:`provider.googleGemini.backend.googleVertexAi.projectId`},{from:`provider.googleVertexAi.region`,to:`provider.googleGemini.backend.googleVertexAi.region`},{from:`provider.googleVertexAi.endpoint`,to:`provider.googleGemini.backend.googleVertexAi.endpoint`,note:{level:`warning`,message:`The custom Vertex AI endpoint was moved to a hidden v2 field. It applies at runtime, but Modeler no longer shows or edits it.`}},{from:`provider.googleVertexAi.authentication.type`,to:`provider.googleGemini.backend.googleVertexAi.authentication.type`},{from:`provider.googleVertexAi.authentication.jsonKey`,to:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`},{from:`provider.googleVertexAi.timeouts.timeout`,to:`provider.googleGemini.timeouts.timeout`},{from:`provider.googleVertexAi.model.model`,to:`provider.googleGemini.model.model`},{from:`provider.googleVertexAi.model.parameters.maxOutputTokens`,to:`provider.googleGemini.model.parameters.maxTokens`},{from:`provider.googleVertexAi.model.parameters.temperature`,to:`provider.googleGemini.model.parameters.temperature`},{from:`provider.googleVertexAi.model.parameters.topP`,to:`provider.googleGemini.model.parameters.topP`},{from:`provider.googleVertexAi.model.parameters.topK`,to:`provider.googleGemini.model.parameters.topK`}]}]}]}},k={id:`io.camunda.connectors.agenticai.ai-agent-task.v2`,version:1,elementType:`bpmn:ServiceTask`,taskDefinitionType:`io.camunda.agenticai:aiagent:task:2`,agentType:`aiAgentTask`,inputs:[{name:`provider.type`,type:`Dropdown`,value:`anthropic`,choices:[`anthropic`,`bedrock`,`openai`,`google-gemini`,`mistral`,`custom`]},{name:`provider.anthropic.backend.type`,type:`Dropdown`,value:`anthropic-api`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`anthropic-api`,`aws-bedrock-mantle`,`foundry`,`custom`]},{name:`provider.anthropic.backend.anthropic.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.anthropic.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.anthropic.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientId`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.anthropic.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.anthropic.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.region`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.endpoint`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`provider.type`,equals:`bedrock`},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.bedrock.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`apiKey`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.type`,type:`Dropdown`,value:`responses`,condition:{property:`provider.type`,equals:`openai`},choices:[`responses`,`completions`]},{name:`provider.openai.backend.type`,type:`Dropdown`,value:`openai-api`,condition:{property:`provider.type`,equals:`openai`},choices:[`openai-api`,`foundry`,`custom`]},{name:`provider.openai.backend.openai.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.openai.organizationId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.openai.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientId`,id:`provider.openai.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,id:`provider.openai.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.openai.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.openai.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`},optional:!0},{name:`provider.googleGemini.backend.type`,type:`Dropdown`,value:`google-gemini-api`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`google-gemini-api`,`google-vertex-ai`]},{name:`provider.googleGemini.backend.googleGeminiApi.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleGeminiApi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.authentication.type`,type:`Dropdown`,value:`serviceAccountCredentials`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},choices:[`serviceAccountCredentials`,`applicationDefaultCredentials`]},{name:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.googleVertexAi.authentication.type`,equals:`serviceAccountCredentials`},{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.backend.type`,type:`Dropdown`,value:`mistral-api`,condition:{property:`provider.type`,equals:`mistral`},choices:[`mistral-api`,`custom`]},{name:`provider.mistral.backend.mistral.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.mistral.endpoint`,type:`Hidden`,value:`https://api.mistral.ai/v1`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.mistral.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.mistral.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.providerType`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.parameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`custom`},optional:!0},{name:`provider.anthropic.backend.anthropic.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.bedrock.headers`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.queryParameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.bodyProperties`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.backend.openai.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.apiVersion`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.mistral.backend.mistral.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.anthropic.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`}},{name:`provider.anthropic.model.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.anthropic.model.parameters.thinking.mode`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`enabled`,`adaptive`,`disabled`]},{name:`provider.anthropic.model.parameters.thinking.budgetTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`enabled`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.model.parameters.thinking.display`,type:`Dropdown`,value:`summarized`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`adaptive`},{property:`provider.type`,equals:`anthropic`}]},choices:[`summarized`,`omitted`],optional:!0},{name:`provider.anthropic.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`}},{name:`provider.openai.api.responses.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.openai.api.completions.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.googleGemini.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`}},{name:`provider.googleGemini.model.parameters.thinking.thinkingBudget`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,equals:`modelDefault`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`]},{name:`provider.mistral.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`}},{name:`provider.mistral.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`mistral`},choices:[`modelDefault`,`none`,`high`]},{name:`provider.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.anthropic.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.responses.maxOutputTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.maxCompletionTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.googleGemini.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`data.systemPrompt.prompt`,type:`Text`,value:`="You are **TaskAgent**, a helpful, capable agent that can handle a wide variety of customer requests using your own knowledge **and** any tools explicitly provided to you at runtime. Prefer a provided tool over guessing whenever it would give a more accurate or reliable answer, and only use tools that were explicitly configured for you (never assume a tool exists). You can call the same tool multiple times with different inputs if that helps complete the request. If no tool fits the request, answer from your own knowledge; if you can't produce a reliable answer, say so plainly and explain why, rather than guessing."`,feel:`required`},{name:`data.userPrompt.prompt`,type:`Text`,feel:`required`},{name:`data.userPrompt.documents`,type:`String`,feel:`required`,optional:!0},{name:`data.tools.containerElementId`,type:`String`,feel:`optional`,optional:!0},{name:`data.tools.toolCallResults`,type:`Text`,feel:`required`,optional:!0},{name:`data.context`,id:`data.agentContext`,type:`Text`,value:`=agent.context`,feel:`required`},{name:`data.memory.storage.type`,type:`Dropdown`,value:`in-process`,choices:[`in-process`,`camunda-document`,`aws-agentcore`,`custom`]},{name:`data.memory.storage.timeToLive`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.customProperties`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.region`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.endpoint`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},optional:!0},{name:`data.memory.storage.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},choices:[`credentials`,`defaultCredentialsChain`]},{name:`data.memory.storage.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.memoryId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.actorId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.storeType`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`custom`}},{name:`data.memory.storage.parameters`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`custom`},optional:!0},{name:`data.memory.contextWindowSize`,type:`Number`,value:20,feel:`static`},{name:`data.limits.maxModelCalls`,type:`Number`,value:10,feel:`static`},{name:`data.response.format.type`,type:`Dropdown`,value:`text`,choices:[`text`,`json`]},{name:`data.response.format.parseJson`,type:`Boolean`,feel:`static`,condition:{property:`data.response.format.type`,equals:`text`},optional:!0},{name:`data.response.format.schema`,type:`String`,feel:`required`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.format.schemaName`,type:`String`,value:`Response`,feel:`optional`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.includeAssistantMessage`,type:`Boolean`,feel:`static`,optional:!0}],migratesFrom:{schemaVersion:1,sources:[{kind:`change`,sourceTemplateId:`io.camunda.connectors.agenticai.aiagent.v1`,minSourceVersion:12,paths:[{from:`provider.type`,to:`provider.type`,valueMap:{rules:[{match:`anthropic`,value:`anthropic`},{match:`bedrock`,value:`bedrock`},{match:`openai`,value:`openai`},{match:`azureOpenAi`,value:`openai`},{match:`openaiCompatible`,value:`openai`},{match:`google-vertex-ai`,value:`google-gemini`}]}},{when:{path:`provider.type`,equals:`anthropic`},rules:[{to:`provider.anthropic.model.parameters.promptCaching.enabled`,set:!0,note:`Anthropic prompt caching is now enabled, and effort and thinking use the model default. v1 sent no caching or reasoning settings.`},{when:{path:`provider.anthropic.endpoint`,exists:!1},rules:[{to:`provider.anthropic.backend.type`,set:`anthropic-api`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.anthropic.apiKey`}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:[{path:`provider.anthropic.endpoint`,exists:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`,not:!0}],rules:[{to:`provider.anthropic.backend.type`,set:`custom`},{to:`provider.anthropic.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.custom.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.custom.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the custom backend. v2 appends /v1/messages, so remove a trailing /v1.`}}]}]},{when:{path:`provider.type`,equals:`bedrock`},rules:[{to:`provider.bedrock.model.parameters.promptCaching.enabled`,set:!0,note:`AWS Bedrock prompt caching is now enabled. v1 sent no caching settings.`}]},{when:{path:`provider.type`,equals:`openai`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`openai-api`},{from:`provider.openai.authentication.apiKey`,to:`provider.openai.backend.openai.apiKey`},{from:`provider.openai.authentication.organizationId`,to:`provider.openai.backend.openai.organizationId`},{from:`provider.openai.authentication.projectId`,to:`provider.openai.backend.openai.projectId`},{from:`provider.openai.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openai.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openai.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`azureOpenAi`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`foundry`},{from:`provider.azureOpenAi.endpoint`,to:`provider.openai.backend.foundry.endpoint`},{from:`provider.azureOpenAi.authentication.type`,to:`provider.openai.backend.foundry.authentication.type`},{from:`provider.azureOpenAi.authentication.apiKey`,to:`provider.openai.backend.foundry.authentication.apiKey`},{from:`provider.azureOpenAi.authentication.clientId`,to:`provider.openai.backend.foundry.authentication.clientId`},{from:`provider.azureOpenAi.authentication.clientSecret`,to:`provider.openai.backend.foundry.authentication.clientSecret`},{from:`provider.azureOpenAi.authentication.tenantId`,to:`provider.openai.backend.foundry.authentication.tenantId`},{from:`provider.azureOpenAi.authentication.authorityHost`,to:`provider.openai.backend.foundry.authentication.authorityHost`},{from:`provider.azureOpenAi.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.azureOpenAi.model.deploymentName`,to:`provider.openai.model.model`},{from:`provider.azureOpenAi.model.parameters.maxTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.azureOpenAi.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.azureOpenAi.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`openaiCompatible`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`custom`},{from:`provider.openaiCompatible.endpoint`,to:`provider.openai.backend.custom.endpoint`},{from:`provider.openaiCompatible.headers`,to:`provider.openai.backend.custom.headers`},{from:`provider.openaiCompatible.queryParameters`,to:`provider.openai.backend.custom.queryParameters`},{from:`provider.openaiCompatible.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.openaiCompatible.model.model`,to:`provider.openai.model.model`},{from:`provider.openaiCompatible.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openaiCompatible.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openaiCompatible.model.parameters.topP`,to:`provider.openai.api.completions.topP`},{from:`provider.openaiCompatible.model.parameters.customParameters`,to:`provider.openai.backend.custom.bodyProperties`},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!0},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.openaiCompatible.authentication.apiKey`,to:`provider.openai.backend.custom.authentication.apiKey`}]},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!1},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`none`}]}]},{when:{path:`provider.type`,equals:`google-vertex-ai`},rules:[{to:`provider.googleGemini.backend.type`,set:`google-vertex-ai`},{from:`provider.googleVertexAi.projectId`,to:`provider.googleGemini.backend.googleVertexAi.projectId`},{from:`provider.googleVertexAi.region`,to:`provider.googleGemini.backend.googleVertexAi.region`},{from:`provider.googleVertexAi.endpoint`,to:`provider.googleGemini.backend.googleVertexAi.endpoint`,note:{level:`warning`,message:`The custom Vertex AI endpoint was moved to a hidden v2 field. It applies at runtime, but Modeler no longer shows or edits it.`}},{from:`provider.googleVertexAi.authentication.type`,to:`provider.googleGemini.backend.googleVertexAi.authentication.type`},{from:`provider.googleVertexAi.authentication.jsonKey`,to:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`},{from:`provider.googleVertexAi.timeouts.timeout`,to:`provider.googleGemini.timeouts.timeout`},{from:`provider.googleVertexAi.model.model`,to:`provider.googleGemini.model.model`},{from:`provider.googleVertexAi.model.parameters.maxOutputTokens`,to:`provider.googleGemini.model.parameters.maxTokens`},{from:`provider.googleVertexAi.model.parameters.temperature`,to:`provider.googleGemini.model.parameters.temperature`},{from:`provider.googleVertexAi.model.parameters.topP`,to:`provider.googleGemini.model.parameters.topP`},{from:`provider.googleVertexAi.model.parameters.topK`,to:`provider.googleGemini.model.parameters.topK`}]}]}]}},A={[x]:k,[y]:O},Refusal=class extends Error{reason;detail;constructor(e,t,n={}){let r=a(`app.agents.migrate.refusal.${t}`,n);super(r),this.reason=e,this.detail=r}};function glob(e,t){let n=e.split(`*`).map(e=>e.replace(/[.+?^${}()|[\]\\]/g,`\\$&`)).join(`.*`);return RegExp(`^${n}$`,`s`).test(t)}function holdsWhen(e,t){let n=t.get(e.path),r;if(e.exists!==void 0)r=(n!==void 0&&n.trim()!==``)===e.exists;else if(e.equals!==void 0)r=n===e.equals;else if(e.matches!==void 0)r=n!==void 0&&glob(e.matches,n);else throw new Refusal(`unsupported-rule`,`unknownCondition`,{what:JSON.stringify(e)});return e.not===!0?!r:r}function holdsAll(e,t){return e===void 0||(Array.isArray(e)?e:[e]).every(e=>holdsWhen(e,t))}function noteOf(e){return e===void 0?null:typeof e==`string`?{level:`info`,message:e}:typeof e.message==`string`?{level:e.level===`warning`?`warning`:`info`,message:e.message}:null}function serialize(e,t){return typeof t==`boolean`?`=${t}`:typeof t==`number`?e?.feel===`static`||e?.type===`Number`?`=${t}`:String(t):t}function applyRules(e,t,n,r){for(let i of e)if(i.rules!==void 0)holdsAll(i.when,t)&&applyRules(i.rules,t,n,r);else{if(i.to===void 0)throw new Refusal(`unsupported-rule`,`noTarget`);if(holdsAll(i.when,t)){if(i.from!==void 0){let e=t.get(i.from);if(e===void 0)continue;let r=e;if(i.valueMap){let t=i.valueMap.rules.find(t=>t.match===e);if(!t)throw new Refusal(`unmapped-value`,e.startsWith(`=`)?`unmappedExpression`:`unmappedValue`,{path:i.from,value:e});r=t.value}n.moves.set(i.from,{to:i.to,source:r}),n.changes.push({kind:`moved`,target:i.to,from:i.from});let a=noteOf(i.note);a&&n.notes.push(a)}else if(i.set!==void 0){n.sets.set(i.to,serialize(r.get(i.to),i.set)),n.changes.push({kind:`set`,target:i.to});let e=noteOf(i.note);e&&n.notes.push(e)}else throw new Refusal(`unsupported-rule`,`noAction`,{target:i.to})}}}function conditionHolds(e,t){if(e===void 0)return!0;if(e.allMatch)return e.allMatch.every(e=>conditionHolds(e,t));let n=t(e.property);if(n===null)throw new Refusal(`dynamic-value`,`dynamicValue`,{property:e.property});if(e.equals!==void 0)return n===e.equals;if(e.oneOf!==void 0)return n!==void 0&&e.oneOf.includes(n);throw new Refusal(`unsupported-rule`,`unknownCondition`,{what:JSON.stringify(e)})}function plan(e,t){let n=A[t.id],r=n.migratesFrom.sources.find(e=>e.sourceTemplateId===t.id);if(!r)throw new Refusal(`unsupported-rule`,`noMigration`);if(t.version===null)throw new Refusal(`no-version`,`noVersion`);if(t.version<r.minSourceVersion)throw new Refusal(`too-old`,`tooOld`,{version:t.version,min:r.minSourceVersion});if(t.version>13)throw new Refusal(`too-new`,`tooNew`,{version:t.version,max:13});let i=w(e);if(((e.extensionElements?.values??[]).find(e=>e.$type===`zeebe:IoMapping`)?.inputParameters??[]).length!==i.size)throw new Refusal(`duplicate-input`,`duplicateInput`);let a=new Map(n.inputs.map(e=>[e.name,e])),o=new Map(n.inputs.map(e=>[e.id??e.name,e])),s={moves:new Map,sets:new Map,notes:[],changes:[]};applyRules(r.paths,i,s,a);let c=[],l=new Map,put=e=>{let t=l.get(e.target);t===void 0?(l.set(e.target,c.length),c.push(e)):c[t]=e};for(let[e,t]of i){let n=s.moves.get(e);put(n?{target:n.to,source:n.source,raw:null,origin:`moved`,oldTarget:e}:{target:e,source:t,raw:t,origin:`old`,oldTarget:e})}for(let[e,t]of s.sets)put({target:e,source:t,raw:null,origin:`set`,oldTarget:e});let u=new Map(c.map(e=>[e.target,e.source??``])),valueOf=e=>{let t=o.get(e),n=t?.name??e,r=u.get(n);return r===void 0?t?.value===void 0?void 0:serialize(t,t.value):r.startsWith(`=`)?null:r},d=new Set;for(let e of n.inputs)conditionHolds(e.condition,valueOf)&&d.add(e.name);let f=[];for(let e of c){let t=a.get(e.target);if(!t)throw new Refusal(`unknown-input`,`unknownInput`,{target:e.oldTarget});if(!d.has(e.target)){if((e.source??``).trim()===``)continue;throw new Refusal(`inactive-input`,`inactiveInput`,{target:e.target})}if(t.choices&&e.source!==null&&!t.choices.includes(e.source)&&!(e.source.startsWith(`=`)&&t.feel!==void 0&&t.type!==`Dropdown`))throw new Refusal(`bad-choice`,`badChoice`,{target:e.target,value:e.source});f.push(e)}let p=new Set(f.map(e=>e.target));for(let e of n.inputs)if(d.has(e.name)&&!p.has(e.name)){if(e.value!==void 0)f.push({target:e.name,source:serialize(e,e.value),raw:null,origin:`default`,oldTarget:e.name});else if(e.optional!==!0){if(e.type===`Dropdown`)throw new Refusal(`unmapped-value`,`mustChoose`,{target:e.name});f.push({target:e.name,source:e.type===`Boolean`?`=false`:null,raw:null,origin:`default`,oldTarget:e.name})}}let m=[];for(let e of s.changes)f.some(t=>t.target===e.target)&&m.push(e);for(let e of f)e.origin==="default"&&m.push({kind:`added`,target:e.target});return{finals:f,changes:m,notes:s.notes,template:n}}var j=`(?:\\s+[^\\s=>/]+\\s*=\\s*(?:"[^"]*"|'[^']*'))*`;function escapeAttribute(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/\r?\n/g,` `).replace(/\t/g,`	`)}function decode(e){return e.replace(/&#(\d+);/g,(e,t)=>String.fromCodePoint(Number(t))).replace(/&#x([0-9a-f]+);/gi,(e,t)=>String.fromCodePoint(parseInt(t,16))).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`).replace(/&/g,`&`)}function attributesOf(e){let t=new Map;for(let n of e.matchAll(/([^\s=]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g))t.set(n[1],decode(n[2]??n[3]??``));return t}function zeebePrefix(e){let t=/xmlns:([\w.-]+)\s*=\s*["']http:\/\/camunda\.org\/schema\/zeebe\/1\.0["']/.exec(e);return t?t[1]:null}function locate(e,t){let n=[...e.matchAll(RegExp(`<([\\w.-]+:)?(?:serviceTask|adHocSubProcess)(${j})\\s*(/?)>`,`g`))].filter(e=>attributesOf(e[2]).get(`id`)===t);if(n.length!==1||n[0][3]===`/`)return null;let r=n[0],i=r.index,a=i+r[0].length,o=r[1]??``,s=e.slice(a),c=RegExp(`^(?:\\s|<${o}documentation(?:\\s[^>]*)?>[\\s\\S]*?</${o}documentation>)*<${o}extensionElements\\s*>`).exec(s);if(!c)return null;let l=a+c[0].length,u=e.indexOf(`</${o}extensionElements>`,l);return u<0?null:{tagStart:i,tagEnd:a,tag:r[0],blockStart:l,blockEnd:u,block:e.slice(l,u)}}function inputBlock(e,t){let n=RegExp(`<${t}ioMapping\\s*>([\\s\\S]*?)</${t}ioMapping>`).exec(e);if(!n)return null;let r=`<${t}ioMapping>`,i=n[1],a=n.index+n[0].indexOf(`>`)+1,o=[],s=RegExp(`<${t}(input|output)(${j})\\s*/>`,`g`);for(let e of i.matchAll(s)){if(e[1]===`output`)continue;let t=attributesOf(e[2]);o.push({start:a+e.index,end:a+e.index+e[0].length,text:e[0],target:t.get(`target`)??``,source:t.get(`source`)??``})}let c=/\n([ \t]*)<[^>]*\/>/.exec(i);return{start:n.index,end:n.index+n[0].length,open:r,inputs:o,indent:c?c[1]:``}}function inputLine(e,t,n){return n===null?`<${e}input target="${escapeAttribute(t)}" />`:`<${e}input source="${escapeAttribute(n)}" target="${escapeAttribute(t)}" />`}function setAttribute(e,t,n){let r=RegExp(`(\\s${t.replace(/[.:]/g,`\\$&`)}\\s*=\\s*)(?:"[^"]*"|'[^']*')`);return r.test(e)?e.replace(r,`$1"${escapeAttribute(n)}"`):e.replace(/\s*(\/?)>$/,` ${t}="${escapeAttribute(n)}"$1>`)}function patched(e,t,n){let r=zeebePrefix(e);if(r===null)throw new Refusal(`not-locatable`,`noZeebe`);let i=locate(e,t);if(!i)throw new Refusal(`not-locatable`,`noElement`);let a=`${r}:`,o=inputBlock(i.block,a);if(!o)throw new Refusal(`not-locatable`,`noInputs`);let s=new Map(o.inputs.map(e=>[e.target,e.text])),c=n.finals.map(e=>e.origin===`old`?s.get(e.oldTarget)??inputLine(a,e.target,e.source):inputLine(a,e.target,e.source)),l=i.block.slice(0,o.start),u=i.block.slice(o.end),d=`\n${o.indent}${c.join(`\n${o.indent}`)}\n${o.indent.slice(0,Math.max(0,o.indent.length-2))}`,f=`${l}${o.open}${d}</${a}ioMapping>${u}`,p=RegExp(`(<${a}taskDefinition${j}\\s*/>)`).exec(f);if(!p)throw new Refusal(`not-locatable`,`noTaskDefinition`);f=f.replace(p[1],setAttribute(p[1],`type`,n.template.taskDefinitionType));for(let[e,t]of[[`elementTemplateVersion`,String(n.template.version)],[`elementTemplateId`,n.template.id]]){let n=RegExp(`<${a}header(?=\\s)[^>]*\\bkey\\s*=\\s*"${e}"[^>]*/>`).exec(f);n&&(f=f.replace(n[0],setAttribute(n[0],`value`,t)))}let m=i.tag;return m=setAttribute(m,`${a}modelerTemplate`,n.template.id),m=setAttribute(m,`${a}modelerTemplateVersion`,String(n.template.version)),`${e.slice(0,i.tagStart)}${m}${e.slice(i.tagEnd,i.blockStart)}${f}${e.slice(i.blockEnd)}`}function everyElement(e){let t=[],visit=e=>{for(let n of e.flowElements??[])t.push(n),n.flowElements&&visit(n)};for(let t of e?.rootElements??[])if(t.$type===`bpmn:Process`&&visit(t),t.$type===`bpmn:Collaboration`)for(let e of t.participants??[])e.processRef&&visit(e.processRef);return t}function labelOf(e){return typeof e.name==`string`&&e.name.trim()!==``?e.name:e.id}function summary(e,t){let n=[];for(let r of everyElement(e)){if(t.has(r.id))continue;let e=(r.extensionElements?.values??[]).find(e=>e.$type===`zeebe:TaskHeaders`)?.values??[];n.push(JSON.stringify([r.id,r.$type,S(r),[...w(r)],e.map(e=>[e.key,e.value])]))}return n.join(`
|
|
2
|
-
`)}async function migrateAgents(e){let t=await
|
|
1
|
+
import"./rolldown-runtime-B8BYMn-z.js";import{c as e,d as t,h as n,o as r,r as i}from"./vendor-NJP34MHU.js";import{i as a}from"./translator-BLCeE6UY.js";import{s as o}from"./ui-BLtm3Y1J.js";import{t as s}from"./bridgeInstance-qzSInqLW.js";import{C as c}from"./frontend-uXAWaalt.js";import{t as l}from"./BpmnDocument-Ce5F4K1e.js";import{a as u,n as d,o as f,r as p,s as m,t as h}from"./model-afHgSxJs.js";import{n as g}from"./dist-DDE6BjgI.js";import{a as _,i as v,n as y}from"./dist-DHrd1AHo.js";import{t as b}from"./data-wU6sw6RY.js";import{r as x}from"./moddle-f0Q4Guwd.js";import{r as S}from"./sharedReader-BsXfiBT8.js";import{a as C,l as w}from"./file-BbVBUuIH.js";import{c as T,s as E}from"./testCaseRuns-liAhWMg7.js";_();function segmentsOf(e){let t=e.startsWith(`=`)?`=`:``,n=e.slice(t.length),r=t?[{text:t,tone:`tok-operator`}]:[];try{let e=g().language.parser.parse(n),t=0;v(e,y,(e,i,a)=>{e>t&&r.push({text:n.slice(t,e),tone:``});let o=n.slice(e,i);r.push({text:o,tone:o===`fromAi`?`tok-function`:a}),t=i}),t<n.length&&r.push({text:n.slice(t),tone:``})}catch{return[{text:e,tone:``}]}return r}function FeelText({source:e}){let t=r(()=>segmentsOf(e),[e]);return i(`pre`,{class:`ai-agents__feel`,children:t.map((e,t)=>e.tone?i(`span`,{class:e.tone,children:e.text},t):e.text)})}function Fact({label:e,children:t}){return i(n,{children:[i(`dt`,{class:`ai-agents__label type-help`,children:e}),i(`dd`,{class:`ai-agents__value`,children:t})]})}function Value({value:e}){return e===null||e.trim()===``?i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.value.notSet`)}):i(`span`,{class:`ai-agents__mono`,children:e.startsWith(`=`)&&!e.includes(` `)?e.slice(1):e})}function Flag({on:e}){return i(`span`,{children:a(e?`app.aiAgents.value.yes`:`app.aiAgents.value.no`)})}function Section({title:e,children:t}){return i(`section`,{class:`ai-agents__section`,children:[i(`h3`,{class:`ai-agents__heading type-section-heading`,children:e}),t]})}function PromptView({label:e,prompt:t}){return i(`div`,{class:`ai-agents__prompt`,children:[i(`span`,{class:`ai-agents__label type-help`,children:e}),t===null&&i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.prompt.empty`)}),t!==null&&t.text!==null&&i(`p`,{class:`ai-agents__rendered`,children:t.text}),t!==null&&t.text===null&&i(FeelText,{source:t.source})]})}function ToolView({tool:e,onSelect:t}){return i(`li`,{class:`ai-agents__tool`,children:[i(`button`,{type:`button`,class:`ai-agents__link`,title:a(`app.aiAgents.select`),onClick:()=>t(e.id),children:e.name||e.id}),i(`span`,{class:`ai-agents__muted`,children:e.kind}),e.name&&e.name!==e.id&&i(`span`,{class:`ai-agents__muted ai-agents__mono`,children:e.id}),i(`p`,{class:`ai-agents__description`,children:e.description??i(`span`,{class:`ai-agents__problem`,children:a(`app.aiAgents.tool.noDescription`)})}),e.parameters.length===0&&i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tool.noParameters`)}),e.parameters.length>0&&i(`table`,{class:`ai-agents__table`,children:[i(`thead`,{children:i(`tr`,{children:[i(`th`,{class:`type-table-header`,children:a(`app.aiAgents.param.name`)}),i(`th`,{class:`type-table-header`,children:a(`app.aiAgents.param.type`)}),i(`th`,{class:`type-table-header`,children:a(`app.aiAgents.param.description`)})]})}),i(`tbody`,{children:e.parameters.map((e,t)=>i(`tr`,{class:e.complete?void 0:`is-incomplete`,children:[i(`td`,{class:`ai-agents__mono`,children:e.name}),i(`td`,{children:e.type??(e.schema?a(`app.aiAgents.param.schema`):i(`span`,{class:`ai-agents__problem`,children:a(`app.aiAgents.param.noType`)}))}),i(`td`,{children:e.description??i(`span`,{class:`ai-agents__problem`,children:a(`app.aiAgents.param.noDescription`)})})]},`${e.name}-${t}`))})]})]})}function listText(e){return e.kind===`none`?null:e.kind===`dynamic`?a(`app.aiAgents.filter.dynamic`):e.names.length===0?a(`app.aiAgents.value.nothing`):e.names.join(`, `)}function FilterView({filter:e}){let t=listText(e.included),n=listText(e.excluded);return t===null&&n===null?null:i(`li`,{class:`ai-agents__filter`,children:[i(`span`,{class:`ai-agents__muted`,children:a(`app.agents.scope.${e.scope}`)}),t!==null&&i(`span`,{children:a(`app.aiAgents.filter.included`,{names:t})}),n!==null&&i(`span`,{children:a(`app.aiAgents.filter.excluded`,{names:n})})]})}function ClientView({client:e,status:t,onSelect:n}){let r=e.clientId??e.url??e.name??e.elementId,o=e.remote?a(`app.aiAgents.mcp.remote`,{transport:e.transport??`http`}):a(t===null?`app.aiAgents.mcp.unverifiable`:`app.aiAgents.mcp.${t}`);return i(`li`,{class:`ai-agents__client`,children:[i(`button`,{type:`button`,class:`ai-agents__link`,title:a(`app.aiAgents.select`),onClick:()=>n(e.elementId),children:r}),i(`span`,{class:`ai-agents__status is-${e.remote?`defined`:t??`unverifiable`}`,children:o}),e.filters.length>0&&i(`ul`,{class:`ai-agents__filters`,children:e.filters.map((e,t)=>i(FilterView,{filter:e},t))})]})}function AgentCard({agent:e,findings:t,statusOf:r,onSelect:o,actions:s}){let c=[e.provider,e.model].filter(e=>!!e).join(` / `);return i(`article`,{class:`ai-agents__card`,children:[i(`header`,{class:`ai-agents__header`,children:[i(`button`,{type:`button`,class:`ai-agents__title ai-agents__link type-section-heading`,title:a(`app.aiAgents.select`),onClick:()=>o(e.id),children:e.name||e.id}),i(`span`,{class:`ai-agents__muted`,children:[a(e.kind===`task`?`app.aiAgents.kind.task`:`app.aiAgents.kind.subprocess`),e.legacyTemplate?` · ${a(`app.aiAgents.template.deprecated`)}`:``]})]}),i(Section,{title:a(`app.aiAgents.section.model`),children:[i(`dl`,{class:`ai-agents__facts`,children:[i(Fact,{label:a(`app.aiAgents.field.provider`),children:c===``?i(`span`,{class:`ai-agents__muted`,children:a(`app.aiAgents.value.notSet`)}):i(`span`,{children:c})}),e.backend!==null&&i(Fact,{label:a(`app.aiAgents.field.backend`),children:i(Value,{value:e.backend})}),i(Fact,{label:a(`app.aiAgents.field.template`),children:i(`span`,{class:`ai-agents__mono`,children:`${e.template.id??`-`} v${e.template.version??`?`}`})})]}),e.legacyTemplate&&i(`p`,{class:`ai-agents__note type-help`,children:a(`app.aiAgents.template.migrate`)})]}),i(Section,{title:a(`app.aiAgents.section.prompts`),children:[i(PromptView,{label:a(`app.aiAgents.field.systemPrompt`),prompt:e.systemPrompt}),i(PromptView,{label:a(`app.aiAgents.field.userPrompt`),prompt:e.userPrompt})]}),i(Section,{title:a(`app.aiAgents.section.tools`),children:i(n,{children:[e.containerMissing&&i(`p`,{class:`ai-agents__problem`,children:a(`app.aiAgents.tools.containerMissing`,{id:e.container?.id??``})}),e.containerDynamic&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tools.dynamicContainer`)}),e.container===null&&!e.containerDynamic&&e.kind===`task`&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tools.noContainer`)}),e.tools.length===0&&e.container!==null&&!e.containerMissing&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.tools.none`)}),e.tools.length>0&&i(`ul`,{class:`ai-agents__list`,children:e.tools.map(e=>i(ToolView,{tool:e,onSelect:o},e.id))})]})}),i(Section,{title:a(`app.aiAgents.section.limits`),children:i(`dl`,{class:`ai-agents__facts`,children:i(Fact,{label:a(`app.aiAgents.field.maxModelCalls`),children:i(Value,{value:e.maxModelCalls})})})}),i(Section,{title:a(`app.aiAgents.section.memory`),children:i(`dl`,{class:`ai-agents__facts`,children:[i(Fact,{label:a(`app.aiAgents.field.storage`),children:i(Value,{value:e.memory.storage})}),i(Fact,{label:a(`app.aiAgents.field.contextWindow`),children:i(Value,{value:e.memory.contextWindowSize})})]})}),i(Section,{title:a(`app.aiAgents.section.guardrails`),children:i(`dl`,{class:`ai-agents__facts`,children:[i(Fact,{label:a(`app.aiAgents.field.responseFormat`),children:i(Value,{value:e.response.format})}),i(Fact,{label:a(`app.aiAgents.field.parseJson`),children:i(Value,{value:e.response.parseJson})}),i(Fact,{label:a(`app.aiAgents.field.schema`),children:i(Flag,{on:e.response.schema})}),i(Fact,{label:a(`app.aiAgents.field.humanApproval`),children:i(Flag,{on:e.humanApproval})})]})}),i(Section,{title:a(`app.aiAgents.section.mcp`),children:i(n,{children:[e.mcpClients.length===0&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.mcp.none`)}),e.mcpClients.length>0&&i(`ul`,{class:`ai-agents__list`,children:e.mcpClients.map(e=>i(ClientView,{client:e,status:r(e),onSelect:o},e.elementId))})]})}),i(Section,{title:a(`app.aiAgents.section.findings`),children:i(n,{children:[t.length===0&&i(`p`,{class:`ai-agents__muted`,children:a(`app.aiAgents.findings.none`)}),t.length>0&&i(`ul`,{class:`ai-agents__list`,children:t.map((e,t)=>i(`li`,{class:`ai-agents__finding`,children:i(`button`,{type:`button`,class:`ai-agents__link`,title:a(`app.aiAgents.select`),onClick:()=>o(e.elementId),children:[i(`span`,{class:`ai-agents__severity is-${e.severity}`,children:a(`app.aiAgents.severity.${e.severity}`)}),m(e)]})},t))})]})}),s&&i(`footer`,{class:`ai-agents__footer`,children:[i(`div`,{class:`ai-agents__buttons`,children:[i(`button`,{type:`button`,class:`ui-button`,disabled:s.busy,title:a(`app.aiAgents.scenario.hint`),onClick:s.makeScenario,children:a(`app.aiAgents.scenario.button`)}),s.migrate&&i(`button`,{type:`button`,class:`ui-button`,disabled:s.busy,title:a(`app.aiAgents.migrate.hint`),onClick:s.migrate,children:a(`app.aiAgents.migrate.button`)})]}),s.notice&&i(`p`,{class:`ai-agents__note type-help`,role:`status`,children:s.notice})]})]})}var D=`agent`;function find(e,t){if(e?.id===t)return e;for(let n of e?.flowElements??[]){let e=find(n,t);if(e)return e}return null}function elementOf(e,t){for(let n of e?.rootElements??[]){let e=find(n,t);if(e)return e;for(let e of n.participants??[]){let n=e.processRef?find(e.processRef,t):null;if(n)return n}}return null}function extension(e,t){return e?.extensionElements?.values?.find(e=>e.$type===t)}function jobTypeOf(e){let t=extension(e,`zeebe:TaskDefinition`)?.type;return typeof t==`string`&&t!==``&&!t.startsWith(`=`)?t:null}function resultVariableOf(e){let t=(extension(e,`zeebe:TaskHeaders`)?.values??[]).find(e=>e.key===`resultVariable`)?.value;return typeof t==`string`&&t.trim()!==``&&!t.startsWith(`=`)?t.trim():D}function selector(e){return{processDefinitionId:e}}function taskScenario(e,t,n){let r=selector(e.processId),i=[{type:`CREATE_PROCESS_INSTANCE`,processDefinitionSelector:selector(e.processId),variables:{}},{type:`MOCK_JOB_WORKER_COMPLETE_JOB`,jobType:t,variables:{[n]:{context:{},toolCalls:[],responseText:a(`app.agents.scenario.stubAnswer`)}}},{type:`ASSERT_ELEMENT_INSTANCE`,processInstanceSelector:r,elementSelector:{elementId:e.id},state:`IS_COMPLETED`}];return e.tools.length>0&&i.push({type:`ASSERT_ELEMENT_INSTANCES`,processInstanceSelector:r,elementSelectors:e.tools.map(e=>({elementId:e.id})),state:`IS_NOT_ACTIVATED`}),{instructions:i,notes:[a(`app.agents.scenario.noteTaskStub`)]}}function subprocessScenario(e){let t=selector(e.processId),n=e.tools[0],r=[{type:`CREATE_PROCESS_INSTANCE`,processDefinitionSelector:selector(e.processId),variables:{}},{type:`COMPLETE_JOB_AD_HOC_SUB_PROCESS`,jobSelector:{elementId:e.id},...n?{activateElements:[{elementId:n.id}]}:{},variables:{agent:{responseText:a(`app.agents.scenario.stubAnswer`)}}}];return n&&r.push({type:`ASSERT_ELEMENT_INSTANCE`,processInstanceSelector:t,elementSelector:{elementId:n.id},state:`IS_COMPLETED`}),r.push({type:`ASSERT_ELEMENT_INSTANCE`,processInstanceSelector:t,elementSelector:{elementId:e.id},state:`IS_ACTIVE`}),{instructions:r,notes:[a(`app.agents.scenario.noteSubprocessRunner`)]}}async function agentScenarios(e,t){let n=await x(e);if(!n)return{scenarios:[],missing:a(`app.agents.scenario.unreadable`)};let r=d(n),i=t===void 0?r.agents:r.agents.filter(e=>e.id===t);if(i.length===0)return{scenarios:[],missing:t===void 0?a(`app.agents.scenario.noAgents`):a(`app.agents.scenario.noSuchAgent`,{id:t})};let o=[];for(let e of i){let t=elementOf(n,e.id),r=t?jobTypeOf(t):null,i=t?p(t):{id:null,version:null};if(!r){o.push({agentId:e.id,processId:e.processId,runnable:!1,notes:[a(`app.agents.scenario.noJobType`,{template:i.id??``})],testCase:null});continue}let s=e.kind===`task`?taskScenario(e,r,t?resultVariableOf(t):D):subprocessScenario(e);o.push({agentId:e.id,processId:e.processId,runnable:e.kind===`task`,notes:s.notes,testCase:{name:a(`app.agents.scenario.name`,{agent:e.id}),description:a(`app.agents.scenario.description`,{agent:e.name||e.id}),instructions:s.instructions}})}return{scenarios:o,missing:null}}async function addAgentScenario(e){let t=await agentScenarios(e.xml,e.agentId);if(t.missing!==null)return a(`app.aiAgents.scenario.failed`,{reason:t.missing});let[n]=t.scenarios;if(!n||!n.testCase)return a(`app.aiAgents.scenario.failed`,{reason:n?.notes.join(` `)??``});let{file:r}=await T(e.diagramPath,e.xml),i=C(await E(r),[n.testCase]);return`problem`in i?a(`app.aiAgents.scenario.failed`,{reason:`${S(r)}: ${i.problem}`}):i.added.length===0?a(`app.aiAgents.scenario.exists`,{file:S(r)}):(await e.save(r,w(i.file)),[a(`app.aiAgents.scenario.written`,{file:S(r)}),...n.notes].join(` `))}var O={id:`io.camunda.connectors.agenticai.ai-agent-subprocess.v2`,version:1,elementType:`bpmn:AdHocSubProcess`,taskDefinitionType:`io.camunda.agenticai:aiagent:subprocess:2`,agentType:`aiAgentSubProcess`,inputs:[{name:`provider.type`,type:`Dropdown`,value:`anthropic`,choices:[`anthropic`,`bedrock`,`openai`,`google-gemini`,`mistral`,`custom`]},{name:`provider.anthropic.backend.type`,type:`Dropdown`,value:`anthropic-api`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`anthropic-api`,`aws-bedrock-mantle`,`foundry`,`custom`]},{name:`provider.anthropic.backend.anthropic.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.anthropic.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.anthropic.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientId`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.anthropic.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.anthropic.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.region`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.endpoint`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`provider.type`,equals:`bedrock`},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.bedrock.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`apiKey`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.type`,type:`Dropdown`,value:`responses`,condition:{property:`provider.type`,equals:`openai`},choices:[`responses`,`completions`]},{name:`provider.openai.backend.type`,type:`Dropdown`,value:`openai-api`,condition:{property:`provider.type`,equals:`openai`},choices:[`openai-api`,`foundry`,`custom`]},{name:`provider.openai.backend.openai.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.openai.organizationId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.openai.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientId`,id:`provider.openai.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,id:`provider.openai.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.openai.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.openai.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`},optional:!0},{name:`provider.googleGemini.backend.type`,type:`Dropdown`,value:`google-gemini-api`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`google-gemini-api`,`google-vertex-ai`]},{name:`provider.googleGemini.backend.googleGeminiApi.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleGeminiApi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.authentication.type`,type:`Dropdown`,value:`serviceAccountCredentials`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},choices:[`serviceAccountCredentials`,`applicationDefaultCredentials`]},{name:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.googleVertexAi.authentication.type`,equals:`serviceAccountCredentials`},{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.backend.type`,type:`Dropdown`,value:`mistral-api`,condition:{property:`provider.type`,equals:`mistral`},choices:[`mistral-api`,`custom`]},{name:`provider.mistral.backend.mistral.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.mistral.endpoint`,type:`Hidden`,value:`https://api.mistral.ai/v1`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.mistral.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.mistral.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.providerType`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.parameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`custom`},optional:!0},{name:`provider.anthropic.backend.anthropic.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.bedrock.headers`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.queryParameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.bodyProperties`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.backend.openai.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.apiVersion`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.mistral.backend.mistral.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.anthropic.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`}},{name:`provider.anthropic.model.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.anthropic.model.parameters.thinking.mode`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`enabled`,`adaptive`,`disabled`]},{name:`provider.anthropic.model.parameters.thinking.budgetTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`enabled`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.model.parameters.thinking.display`,type:`Dropdown`,value:`summarized`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`adaptive`},{property:`provider.type`,equals:`anthropic`}]},choices:[`summarized`,`omitted`],optional:!0},{name:`provider.anthropic.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`}},{name:`provider.openai.api.responses.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.openai.api.completions.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.googleGemini.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`}},{name:`provider.googleGemini.model.parameters.thinking.thinkingBudget`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,equals:`modelDefault`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`]},{name:`provider.mistral.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`}},{name:`provider.mistral.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`mistral`},choices:[`modelDefault`,`none`,`high`]},{name:`provider.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.anthropic.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.responses.maxOutputTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.maxCompletionTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.googleGemini.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`data.systemPrompt.prompt`,type:`Text`,value:`="You are **TaskAgent**, a helpful, capable agent that can handle a wide variety of customer requests using your own knowledge **and** any tools explicitly provided to you at runtime. Prefer a provided tool over guessing whenever it would give a more accurate or reliable answer, and only use tools that were explicitly configured for you (never assume a tool exists). You can call the same tool multiple times with different inputs if that helps complete the request. If no tool fits the request, answer from your own knowledge; if you can't produce a reliable answer, say so plainly and explain why, rather than guessing."`,feel:`required`},{name:`data.userPrompt.prompt`,type:`Text`,feel:`required`},{name:`data.userPrompt.documents`,type:`String`,feel:`required`,optional:!0},{name:`agentContext`,type:`Text`,feel:`required`},{name:`data.memory.storage.type`,type:`Dropdown`,value:`in-process`,choices:[`in-process`,`camunda-document`,`aws-agentcore`,`custom`]},{name:`data.memory.storage.timeToLive`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.customProperties`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.region`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.endpoint`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},optional:!0},{name:`data.memory.storage.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},choices:[`credentials`,`defaultCredentialsChain`]},{name:`data.memory.storage.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.memoryId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.actorId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.storeType`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`custom`}},{name:`data.memory.storage.parameters`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`custom`},optional:!0},{name:`data.memory.contextWindowSize`,type:`Number`,value:20,feel:`static`},{name:`data.limits.maxModelCalls`,type:`Number`,value:10,feel:`static`},{name:`data.events.behavior`,type:`Dropdown`,value:`WAIT_FOR_TOOL_CALL_RESULTS`,choices:[`WAIT_FOR_TOOL_CALL_RESULTS`,`INTERRUPT_TOOL_CALLS`]},{name:`data.response.format.type`,type:`Dropdown`,value:`text`,choices:[`text`,`json`]},{name:`data.response.format.parseJson`,type:`Boolean`,feel:`static`,condition:{property:`data.response.format.type`,equals:`text`},optional:!0},{name:`data.response.format.schema`,type:`String`,feel:`required`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.format.schemaName`,type:`String`,value:`Response`,feel:`optional`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.includeAssistantMessage`,type:`Boolean`,feel:`static`,optional:!0},{name:`data.response.includeAgentContext`,type:`Boolean`,feel:`static`,optional:!0},{name:`agent`,type:`Hidden`}],migratesFrom:{schemaVersion:1,sources:[{kind:`change`,sourceTemplateId:`io.camunda.connectors.agenticai.aiagent.jobworker.v1`,minSourceVersion:12,paths:[{from:`provider.type`,to:`provider.type`,valueMap:{rules:[{match:`anthropic`,value:`anthropic`},{match:`bedrock`,value:`bedrock`},{match:`openai`,value:`openai`},{match:`azureOpenAi`,value:`openai`},{match:`openaiCompatible`,value:`openai`},{match:`google-vertex-ai`,value:`google-gemini`}]}},{when:{path:`provider.type`,equals:`anthropic`},rules:[{to:`provider.anthropic.model.parameters.promptCaching.enabled`,set:!0,note:`Anthropic prompt caching is now enabled, and effort and thinking use the model default. v1 sent no caching or reasoning settings.`},{when:{path:`provider.anthropic.endpoint`,exists:!1},rules:[{to:`provider.anthropic.backend.type`,set:`anthropic-api`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.anthropic.apiKey`}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:[{path:`provider.anthropic.endpoint`,exists:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`,not:!0}],rules:[{to:`provider.anthropic.backend.type`,set:`custom`},{to:`provider.anthropic.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.custom.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.custom.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the custom backend. v2 appends /v1/messages, so remove a trailing /v1.`}}]}]},{when:{path:`provider.type`,equals:`bedrock`},rules:[{to:`provider.bedrock.model.parameters.promptCaching.enabled`,set:!0,note:`AWS Bedrock prompt caching is now enabled. v1 sent no caching settings.`}]},{when:{path:`provider.type`,equals:`openai`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`openai-api`},{from:`provider.openai.authentication.apiKey`,to:`provider.openai.backend.openai.apiKey`},{from:`provider.openai.authentication.organizationId`,to:`provider.openai.backend.openai.organizationId`},{from:`provider.openai.authentication.projectId`,to:`provider.openai.backend.openai.projectId`},{from:`provider.openai.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openai.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openai.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`azureOpenAi`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`foundry`},{from:`provider.azureOpenAi.endpoint`,to:`provider.openai.backend.foundry.endpoint`},{from:`provider.azureOpenAi.authentication.type`,to:`provider.openai.backend.foundry.authentication.type`},{from:`provider.azureOpenAi.authentication.apiKey`,to:`provider.openai.backend.foundry.authentication.apiKey`},{from:`provider.azureOpenAi.authentication.clientId`,to:`provider.openai.backend.foundry.authentication.clientId`},{from:`provider.azureOpenAi.authentication.clientSecret`,to:`provider.openai.backend.foundry.authentication.clientSecret`},{from:`provider.azureOpenAi.authentication.tenantId`,to:`provider.openai.backend.foundry.authentication.tenantId`},{from:`provider.azureOpenAi.authentication.authorityHost`,to:`provider.openai.backend.foundry.authentication.authorityHost`},{from:`provider.azureOpenAi.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.azureOpenAi.model.deploymentName`,to:`provider.openai.model.model`},{from:`provider.azureOpenAi.model.parameters.maxTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.azureOpenAi.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.azureOpenAi.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`openaiCompatible`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`custom`},{from:`provider.openaiCompatible.endpoint`,to:`provider.openai.backend.custom.endpoint`},{from:`provider.openaiCompatible.headers`,to:`provider.openai.backend.custom.headers`},{from:`provider.openaiCompatible.queryParameters`,to:`provider.openai.backend.custom.queryParameters`},{from:`provider.openaiCompatible.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.openaiCompatible.model.model`,to:`provider.openai.model.model`},{from:`provider.openaiCompatible.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openaiCompatible.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openaiCompatible.model.parameters.topP`,to:`provider.openai.api.completions.topP`},{from:`provider.openaiCompatible.model.parameters.customParameters`,to:`provider.openai.backend.custom.bodyProperties`},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!0},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.openaiCompatible.authentication.apiKey`,to:`provider.openai.backend.custom.authentication.apiKey`}]},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!1},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`none`}]}]},{when:{path:`provider.type`,equals:`google-vertex-ai`},rules:[{to:`provider.googleGemini.backend.type`,set:`google-vertex-ai`},{from:`provider.googleVertexAi.projectId`,to:`provider.googleGemini.backend.googleVertexAi.projectId`},{from:`provider.googleVertexAi.region`,to:`provider.googleGemini.backend.googleVertexAi.region`},{from:`provider.googleVertexAi.endpoint`,to:`provider.googleGemini.backend.googleVertexAi.endpoint`,note:{level:`warning`,message:`The custom Vertex AI endpoint was moved to a hidden v2 field. It applies at runtime, but Modeler no longer shows or edits it.`}},{from:`provider.googleVertexAi.authentication.type`,to:`provider.googleGemini.backend.googleVertexAi.authentication.type`},{from:`provider.googleVertexAi.authentication.jsonKey`,to:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`},{from:`provider.googleVertexAi.timeouts.timeout`,to:`provider.googleGemini.timeouts.timeout`},{from:`provider.googleVertexAi.model.model`,to:`provider.googleGemini.model.model`},{from:`provider.googleVertexAi.model.parameters.maxOutputTokens`,to:`provider.googleGemini.model.parameters.maxTokens`},{from:`provider.googleVertexAi.model.parameters.temperature`,to:`provider.googleGemini.model.parameters.temperature`},{from:`provider.googleVertexAi.model.parameters.topP`,to:`provider.googleGemini.model.parameters.topP`},{from:`provider.googleVertexAi.model.parameters.topK`,to:`provider.googleGemini.model.parameters.topK`}]}]}]}},k={id:`io.camunda.connectors.agenticai.ai-agent-task.v2`,version:1,elementType:`bpmn:ServiceTask`,taskDefinitionType:`io.camunda.agenticai:aiagent:task:2`,agentType:`aiAgentTask`,inputs:[{name:`provider.type`,type:`Dropdown`,value:`anthropic`,choices:[`anthropic`,`bedrock`,`openai`,`google-gemini`,`mistral`,`custom`]},{name:`provider.anthropic.backend.type`,type:`Dropdown`,value:`anthropic-api`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`anthropic-api`,`aws-bedrock-mantle`,`foundry`,`custom`]},{name:`provider.anthropic.backend.anthropic.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.anthropic.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`credentials`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.awsBedrockMantle.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.awsBedrockMantle.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.anthropic.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.clientId`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.authentication.entraIdScope`,id:`provider.anthropic.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.anthropic.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.anthropic.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.anthropic.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.region`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.endpoint`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`provider.type`,equals:`bedrock`},choices:[`credentials`,`apiKey`,`defaultCredentialsChain`]},{name:`provider.bedrock.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`credentials`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.bedrock.authentication.type`,equals:`apiKey`},{property:`provider.type`,equals:`bedrock`}]}},{name:`provider.bedrock.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.type`,type:`Dropdown`,value:`responses`,condition:{property:`provider.type`,equals:`openai`},choices:[`responses`,`completions`]},{name:`provider.openai.backend.type`,type:`Dropdown`,value:`openai-api`,condition:{property:`provider.type`,equals:`openai`},choices:[`openai-api`,`foundry`,`custom`]},{name:`provider.openai.backend.openai.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.openai.organizationId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.type`,type:`Dropdown`,value:`apiKey`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},choices:[`apiKey`,`clientCredentials`,`managedIdentity`]},{name:`provider.openai.backend.foundry.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.tenantId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.foundry.authentication.authorityHost`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`clientCredentials`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.clientId`,id:`provider.openai.backend.foundry.authentication.managedIdentity.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.authentication.entraIdScope`,id:`provider.openai.backend.foundry.authentication.managedIdentity.entraIdScope`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.foundry.authentication.type`,equals:`managedIdentity`},{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.openai.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]}},{name:`provider.openai.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.openai.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.openai.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`},optional:!0},{name:`provider.googleGemini.backend.type`,type:`Dropdown`,value:`google-gemini-api`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`google-gemini-api`,`google-vertex-ai`]},{name:`provider.googleGemini.backend.googleGeminiApi.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleGeminiApi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-gemini-api`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.projectId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.region`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.backend.googleVertexAi.endpoint`,type:`Hidden`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.backend.googleVertexAi.authentication.type`,type:`Dropdown`,value:`serviceAccountCredentials`,condition:{allMatch:[{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]},choices:[`serviceAccountCredentials`,`applicationDefaultCredentials`]},{name:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.googleGemini.backend.googleVertexAi.authentication.type`,equals:`serviceAccountCredentials`},{property:`provider.googleGemini.backend.type`,equals:`google-vertex-ai`},{property:`provider.type`,equals:`google-gemini`}]}},{name:`provider.googleGemini.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.backend.type`,type:`Dropdown`,value:`mistral-api`,condition:{property:`provider.type`,equals:`mistral`},choices:[`mistral-api`,`custom`]},{name:`provider.mistral.backend.mistral.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.mistral.endpoint`,type:`Hidden`,value:`https://api.mistral.ai/v1`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.endpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.type`,type:`Dropdown`,value:`none`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`none`,`apiKey`,`oauth-client-credentials-flow`]},{name:`provider.mistral.backend.custom.authentication.apiKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`apiKey`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.oauthTokenEndpoint`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientId`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.clientSecret`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]}},{name:`provider.mistral.backend.custom.authentication.audience`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.authentication.clientAuthentication`,type:`Dropdown`,value:`BASIC_AUTH_HEADER`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},choices:[`BASIC_AUTH_HEADER`,`CREDENTIALS_BODY`]},{name:`provider.mistral.backend.custom.authentication.scopes`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`provider.mistral.backend.custom.authentication.type`,equals:`oauth-client-credentials-flow`},{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.timeouts.timeout`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.providerType`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.parameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`custom`},optional:!0},{name:`provider.anthropic.backend.anthropic.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.anthropic.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`anthropic-api`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.awsBedrockMantle.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`aws-bedrock-mantle`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.anthropic.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.backend.type`,equals:`custom`},{property:`provider.type`,equals:`anthropic`}]},optional:!0},{name:`provider.bedrock.headers`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.queryParameters`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.bodyProperties`,type:`String`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.backend.openai.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.openai.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`openai-api`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.apiVersion`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.foundry.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`foundry`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.openai.backend.type`,equals:`custom`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.mistral.backend.mistral.headers`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.queryParameters`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.mistral.bodyProperties`,type:`Hidden`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`mistral-api`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.headers`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.queryParameters`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.mistral.backend.custom.bodyProperties`,type:`String`,feel:`required`,condition:{allMatch:[{property:`provider.mistral.backend.type`,equals:`custom`},{property:`provider.type`,equals:`mistral`}]},optional:!0},{name:`provider.anthropic.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`anthropic`}},{name:`provider.anthropic.model.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.anthropic.model.parameters.thinking.mode`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`anthropic`},choices:[`modelDefault`,`enabled`,`adaptive`,`disabled`]},{name:`provider.anthropic.model.parameters.thinking.budgetTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`enabled`},{property:`provider.type`,equals:`anthropic`}]}},{name:`provider.anthropic.model.parameters.thinking.display`,type:`Dropdown`,value:`summarized`,condition:{allMatch:[{property:`provider.anthropic.model.parameters.thinking.mode`,equals:`adaptive`},{property:`provider.type`,equals:`anthropic`}]},choices:[`summarized`,`omitted`],optional:!0},{name:`provider.anthropic.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`bedrock`}},{name:`provider.bedrock.model.parameters.promptCaching.enabled`,type:`Boolean`,value:!0,feel:`static`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`openai`}},{name:`provider.openai.api.responses.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.openai.api.completions.effort`,type:`Dropdown`,value:`modelDefault`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`,`xhigh`,`max`]},{name:`provider.googleGemini.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`google-gemini`}},{name:`provider.googleGemini.model.parameters.thinking.thinkingBudget`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,equals:`modelDefault`},{property:`provider.type`,equals:`google-gemini`}]},optional:!0},{name:`provider.googleGemini.model.parameters.thinking.thinkingLevel`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`google-gemini`},choices:[`modelDefault`,`minimal`,`low`,`medium`,`high`]},{name:`provider.mistral.model.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`mistral`}},{name:`provider.mistral.parameters.effort`,type:`Dropdown`,value:`modelDefault`,condition:{property:`provider.type`,equals:`mistral`},choices:[`modelDefault`,`none`,`high`]},{name:`provider.model`,type:`String`,feel:`optional`,condition:{property:`provider.type`,equals:`custom`}},{name:`provider.anthropic.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.anthropic.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`anthropic`},optional:!0},{name:`provider.bedrock.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.bedrock.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`bedrock`},optional:!0},{name:`provider.openai.api.responses.maxOutputTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.responses.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`responses`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.maxCompletionTokens`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.temperature`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.openai.api.completions.topP`,type:`Number`,feel:`required`,condition:{allMatch:[{property:`provider.openai.api.type`,equals:`completions`},{property:`provider.type`,equals:`openai`}]},optional:!0},{name:`provider.googleGemini.model.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.googleGemini.model.parameters.topK`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`google-gemini`},optional:!0},{name:`provider.mistral.parameters.maxTokens`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.temperature`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`provider.mistral.parameters.topP`,type:`Number`,feel:`required`,condition:{property:`provider.type`,equals:`mistral`},optional:!0},{name:`data.systemPrompt.prompt`,type:`Text`,value:`="You are **TaskAgent**, a helpful, capable agent that can handle a wide variety of customer requests using your own knowledge **and** any tools explicitly provided to you at runtime. Prefer a provided tool over guessing whenever it would give a more accurate or reliable answer, and only use tools that were explicitly configured for you (never assume a tool exists). You can call the same tool multiple times with different inputs if that helps complete the request. If no tool fits the request, answer from your own knowledge; if you can't produce a reliable answer, say so plainly and explain why, rather than guessing."`,feel:`required`},{name:`data.userPrompt.prompt`,type:`Text`,feel:`required`},{name:`data.userPrompt.documents`,type:`String`,feel:`required`,optional:!0},{name:`data.tools.containerElementId`,type:`String`,feel:`optional`,optional:!0},{name:`data.tools.toolCallResults`,type:`Text`,feel:`required`,optional:!0},{name:`data.context`,id:`data.agentContext`,type:`Text`,value:`=agent.context`,feel:`required`},{name:`data.memory.storage.type`,type:`Dropdown`,value:`in-process`,choices:[`in-process`,`camunda-document`,`aws-agentcore`,`custom`]},{name:`data.memory.storage.timeToLive`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.customProperties`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`camunda-document`},optional:!0},{name:`data.memory.storage.region`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.endpoint`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},optional:!0},{name:`data.memory.storage.authentication.type`,type:`Dropdown`,value:`credentials`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`},choices:[`credentials`,`defaultCredentialsChain`]},{name:`data.memory.storage.authentication.accessKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.authentication.secretKey`,type:`String`,feel:`optional`,condition:{allMatch:[{property:`data.memory.storage.authentication.type`,equals:`credentials`},{property:`data.memory.storage.type`,equals:`aws-agentcore`}]}},{name:`data.memory.storage.memoryId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.actorId`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`aws-agentcore`}},{name:`data.memory.storage.storeType`,type:`String`,feel:`optional`,condition:{property:`data.memory.storage.type`,equals:`custom`}},{name:`data.memory.storage.parameters`,type:`String`,feel:`required`,condition:{property:`data.memory.storage.type`,equals:`custom`},optional:!0},{name:`data.memory.contextWindowSize`,type:`Number`,value:20,feel:`static`},{name:`data.limits.maxModelCalls`,type:`Number`,value:10,feel:`static`},{name:`data.response.format.type`,type:`Dropdown`,value:`text`,choices:[`text`,`json`]},{name:`data.response.format.parseJson`,type:`Boolean`,feel:`static`,condition:{property:`data.response.format.type`,equals:`text`},optional:!0},{name:`data.response.format.schema`,type:`String`,feel:`required`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.format.schemaName`,type:`String`,value:`Response`,feel:`optional`,condition:{property:`data.response.format.type`,equals:`json`},optional:!0},{name:`data.response.includeAssistantMessage`,type:`Boolean`,feel:`static`,optional:!0}],migratesFrom:{schemaVersion:1,sources:[{kind:`change`,sourceTemplateId:`io.camunda.connectors.agenticai.aiagent.v1`,minSourceVersion:12,paths:[{from:`provider.type`,to:`provider.type`,valueMap:{rules:[{match:`anthropic`,value:`anthropic`},{match:`bedrock`,value:`bedrock`},{match:`openai`,value:`openai`},{match:`azureOpenAi`,value:`openai`},{match:`openaiCompatible`,value:`openai`},{match:`google-vertex-ai`,value:`google-gemini`}]}},{when:{path:`provider.type`,equals:`anthropic`},rules:[{to:`provider.anthropic.model.parameters.promptCaching.enabled`,set:!0,note:`Anthropic prompt caching is now enabled, and effort and thinking use the model default. v1 sent no caching or reasoning settings.`},{when:{path:`provider.anthropic.endpoint`,exists:!1},rules:[{to:`provider.anthropic.backend.type`,set:`anthropic-api`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.anthropic.apiKey`}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`},rules:[{to:`provider.anthropic.backend.type`,set:`foundry`},{to:`provider.anthropic.backend.foundry.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.foundry.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.foundry.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the Microsoft Foundry backend. v2 adds /anthropic if missing and appends /v1/messages, so remove a trailing /anthropic/v1 or /v1.`}}]},{when:[{path:`provider.anthropic.endpoint`,exists:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.com*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.us*`,not:!0},{path:`provider.anthropic.endpoint`,matches:`*.azure.cn*`,not:!0}],rules:[{to:`provider.anthropic.backend.type`,set:`custom`},{to:`provider.anthropic.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.anthropic.authentication.apiKey`,to:`provider.anthropic.backend.custom.authentication.apiKey`},{from:`provider.anthropic.endpoint`,to:`provider.anthropic.backend.custom.endpoint`,note:{level:`warning`,message:`The Anthropic endpoint was copied as-is to the custom backend. v2 appends /v1/messages, so remove a trailing /v1.`}}]}]},{when:{path:`provider.type`,equals:`bedrock`},rules:[{to:`provider.bedrock.model.parameters.promptCaching.enabled`,set:!0,note:`AWS Bedrock prompt caching is now enabled. v1 sent no caching settings.`}]},{when:{path:`provider.type`,equals:`openai`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`openai-api`},{from:`provider.openai.authentication.apiKey`,to:`provider.openai.backend.openai.apiKey`},{from:`provider.openai.authentication.organizationId`,to:`provider.openai.backend.openai.organizationId`},{from:`provider.openai.authentication.projectId`,to:`provider.openai.backend.openai.projectId`},{from:`provider.openai.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openai.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openai.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`azureOpenAi`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`foundry`},{from:`provider.azureOpenAi.endpoint`,to:`provider.openai.backend.foundry.endpoint`},{from:`provider.azureOpenAi.authentication.type`,to:`provider.openai.backend.foundry.authentication.type`},{from:`provider.azureOpenAi.authentication.apiKey`,to:`provider.openai.backend.foundry.authentication.apiKey`},{from:`provider.azureOpenAi.authentication.clientId`,to:`provider.openai.backend.foundry.authentication.clientId`},{from:`provider.azureOpenAi.authentication.clientSecret`,to:`provider.openai.backend.foundry.authentication.clientSecret`},{from:`provider.azureOpenAi.authentication.tenantId`,to:`provider.openai.backend.foundry.authentication.tenantId`},{from:`provider.azureOpenAi.authentication.authorityHost`,to:`provider.openai.backend.foundry.authentication.authorityHost`},{from:`provider.azureOpenAi.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.azureOpenAi.model.deploymentName`,to:`provider.openai.model.model`},{from:`provider.azureOpenAi.model.parameters.maxTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.azureOpenAi.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.azureOpenAi.model.parameters.topP`,to:`provider.openai.api.completions.topP`}]},{when:{path:`provider.type`,equals:`openaiCompatible`},rules:[{to:`provider.openai.api.type`,set:`completions`},{to:`provider.openai.backend.type`,set:`custom`},{from:`provider.openaiCompatible.endpoint`,to:`provider.openai.backend.custom.endpoint`},{from:`provider.openaiCompatible.headers`,to:`provider.openai.backend.custom.headers`},{from:`provider.openaiCompatible.queryParameters`,to:`provider.openai.backend.custom.queryParameters`},{from:`provider.openaiCompatible.timeouts.timeout`,to:`provider.openai.timeouts.timeout`},{from:`provider.openaiCompatible.model.model`,to:`provider.openai.model.model`},{from:`provider.openaiCompatible.model.parameters.maxCompletionTokens`,to:`provider.openai.api.completions.maxCompletionTokens`},{from:`provider.openaiCompatible.model.parameters.temperature`,to:`provider.openai.api.completions.temperature`},{from:`provider.openaiCompatible.model.parameters.topP`,to:`provider.openai.api.completions.topP`},{from:`provider.openaiCompatible.model.parameters.customParameters`,to:`provider.openai.backend.custom.bodyProperties`},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!0},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`apiKey`},{from:`provider.openaiCompatible.authentication.apiKey`,to:`provider.openai.backend.custom.authentication.apiKey`}]},{when:{path:`provider.openaiCompatible.authentication.apiKey`,exists:!1},rules:[{to:`provider.openai.backend.custom.authentication.type`,set:`none`}]}]},{when:{path:`provider.type`,equals:`google-vertex-ai`},rules:[{to:`provider.googleGemini.backend.type`,set:`google-vertex-ai`},{from:`provider.googleVertexAi.projectId`,to:`provider.googleGemini.backend.googleVertexAi.projectId`},{from:`provider.googleVertexAi.region`,to:`provider.googleGemini.backend.googleVertexAi.region`},{from:`provider.googleVertexAi.endpoint`,to:`provider.googleGemini.backend.googleVertexAi.endpoint`,note:{level:`warning`,message:`The custom Vertex AI endpoint was moved to a hidden v2 field. It applies at runtime, but Modeler no longer shows or edits it.`}},{from:`provider.googleVertexAi.authentication.type`,to:`provider.googleGemini.backend.googleVertexAi.authentication.type`},{from:`provider.googleVertexAi.authentication.jsonKey`,to:`provider.googleGemini.backend.googleVertexAi.authentication.jsonKey`},{from:`provider.googleVertexAi.timeouts.timeout`,to:`provider.googleGemini.timeouts.timeout`},{from:`provider.googleVertexAi.model.model`,to:`provider.googleGemini.model.model`},{from:`provider.googleVertexAi.model.parameters.maxOutputTokens`,to:`provider.googleGemini.model.parameters.maxTokens`},{from:`provider.googleVertexAi.model.parameters.temperature`,to:`provider.googleGemini.model.parameters.temperature`},{from:`provider.googleVertexAi.model.parameters.topP`,to:`provider.googleGemini.model.parameters.topP`},{from:`provider.googleVertexAi.model.parameters.topK`,to:`provider.googleGemini.model.parameters.topK`}]}]}]}},A={[f]:k,[u]:O},Refusal=class extends Error{reason;detail;constructor(e,t,n={}){let r=a(`app.agents.migrate.refusal.${t}`,n);super(r),this.reason=e,this.detail=r}};function glob(e,t){let n=e.split(`*`).map(e=>e.replace(/[.+?^${}()|[\]\\]/g,`\\$&`)).join(`.*`);return RegExp(`^${n}$`,`s`).test(t)}function holdsWhen(e,t){let n=t.get(e.path),r;if(e.exists!==void 0)r=(n!==void 0&&n.trim()!==``)===e.exists;else if(e.equals!==void 0)r=n===e.equals;else if(e.matches!==void 0)r=n!==void 0&&glob(e.matches,n);else throw new Refusal(`unsupported-rule`,`unknownCondition`,{what:JSON.stringify(e)});return e.not===!0?!r:r}function holdsAll(e,t){return e===void 0||(Array.isArray(e)?e:[e]).every(e=>holdsWhen(e,t))}function noteOf(e){return e===void 0?null:typeof e==`string`?{level:`info`,message:e}:typeof e.message==`string`?{level:e.level===`warning`?`warning`:`info`,message:e.message}:null}function serialize(e,t){return typeof t==`boolean`?`=${t}`:typeof t==`number`?e?.feel===`static`||e?.type===`Number`?`=${t}`:String(t):t}function applyRules(e,t,n,r){for(let i of e)if(i.rules!==void 0)holdsAll(i.when,t)&&applyRules(i.rules,t,n,r);else{if(i.to===void 0)throw new Refusal(`unsupported-rule`,`noTarget`);if(holdsAll(i.when,t)){if(i.from!==void 0){let e=t.get(i.from);if(e===void 0)continue;let r=e;if(i.valueMap){let t=i.valueMap.rules.find(t=>t.match===e);if(!t)throw new Refusal(`unmapped-value`,e.startsWith(`=`)?`unmappedExpression`:`unmappedValue`,{path:i.from,value:e});r=t.value}n.moves.set(i.from,{to:i.to,source:r}),n.changes.push({kind:`moved`,target:i.to,from:i.from});let a=noteOf(i.note);a&&n.notes.push(a)}else if(i.set!==void 0){n.sets.set(i.to,serialize(r.get(i.to),i.set)),n.changes.push({kind:`set`,target:i.to});let e=noteOf(i.note);e&&n.notes.push(e)}else throw new Refusal(`unsupported-rule`,`noAction`,{target:i.to})}}}function conditionHolds(e,t){if(e===void 0)return!0;if(e.allMatch)return e.allMatch.every(e=>conditionHolds(e,t));let n=t(e.property);if(n===null)throw new Refusal(`dynamic-value`,`dynamicValue`,{property:e.property});if(e.equals!==void 0)return n===e.equals;if(e.oneOf!==void 0)return n!==void 0&&e.oneOf.includes(n);throw new Refusal(`unsupported-rule`,`unknownCondition`,{what:JSON.stringify(e)})}function plan(e,t){let n=A[t.id],r=n.migratesFrom.sources.find(e=>e.sourceTemplateId===t.id);if(!r)throw new Refusal(`unsupported-rule`,`noMigration`);if(t.version===null)throw new Refusal(`no-version`,`noVersion`);if(t.version<r.minSourceVersion)throw new Refusal(`too-old`,`tooOld`,{version:t.version,min:r.minSourceVersion});if(t.version>13)throw new Refusal(`too-new`,`tooNew`,{version:t.version,max:13});let i=h(e);if(((e.extensionElements?.values??[]).find(e=>e.$type===`zeebe:IoMapping`)?.inputParameters??[]).length!==i.size)throw new Refusal(`duplicate-input`,`duplicateInput`);let a=new Map(n.inputs.map(e=>[e.name,e])),o=new Map(n.inputs.map(e=>[e.id??e.name,e])),s={moves:new Map,sets:new Map,notes:[],changes:[]};applyRules(r.paths,i,s,a);let c=[],l=new Map,put=e=>{let t=l.get(e.target);t===void 0?(l.set(e.target,c.length),c.push(e)):c[t]=e};for(let[e,t]of i){let n=s.moves.get(e);put(n?{target:n.to,source:n.source,raw:null,origin:`moved`,oldTarget:e}:{target:e,source:t,raw:t,origin:`old`,oldTarget:e})}for(let[e,t]of s.sets)put({target:e,source:t,raw:null,origin:`set`,oldTarget:e});let u=new Map(c.map(e=>[e.target,e.source??``])),valueOf=e=>{let t=o.get(e),n=t?.name??e,r=u.get(n);return r===void 0?t?.value===void 0?void 0:serialize(t,t.value):r.startsWith(`=`)?null:r},d=new Set;for(let e of n.inputs)conditionHolds(e.condition,valueOf)&&d.add(e.name);let f=[];for(let e of c){let t=a.get(e.target);if(!t)throw new Refusal(`unknown-input`,`unknownInput`,{target:e.oldTarget});if(!d.has(e.target)){if((e.source??``).trim()===``)continue;throw new Refusal(`inactive-input`,`inactiveInput`,{target:e.target})}if(t.choices&&e.source!==null&&!t.choices.includes(e.source)&&!(e.source.startsWith(`=`)&&t.feel!==void 0&&t.type!==`Dropdown`))throw new Refusal(`bad-choice`,`badChoice`,{target:e.target,value:e.source});f.push(e)}let p=new Set(f.map(e=>e.target));for(let e of n.inputs)if(d.has(e.name)&&!p.has(e.name)){if(e.value!==void 0)f.push({target:e.name,source:serialize(e,e.value),raw:null,origin:`default`,oldTarget:e.name});else if(e.optional!==!0){if(e.type===`Dropdown`)throw new Refusal(`unmapped-value`,`mustChoose`,{target:e.name});f.push({target:e.name,source:e.type===`Boolean`?`=false`:null,raw:null,origin:`default`,oldTarget:e.name})}}let m=[];for(let e of s.changes)f.some(t=>t.target===e.target)&&m.push(e);for(let e of f)e.origin==="default"&&m.push({kind:`added`,target:e.target});return{finals:f,changes:m,notes:s.notes,template:n}}var j=`(?:\\s+[^\\s=>/]+\\s*=\\s*(?:"[^"]*"|'[^']*'))*`;function escapeAttribute(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/\r?\n/g,` `).replace(/\t/g,`	`)}function decode(e){return e.replace(/&#(\d+);/g,(e,t)=>String.fromCodePoint(Number(t))).replace(/&#x([0-9a-f]+);/gi,(e,t)=>String.fromCodePoint(parseInt(t,16))).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`).replace(/&/g,`&`)}function attributesOf(e){let t=new Map;for(let n of e.matchAll(/([^\s=]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g))t.set(n[1],decode(n[2]??n[3]??``));return t}function zeebePrefix(e){let t=/xmlns:([\w.-]+)\s*=\s*["']http:\/\/camunda\.org\/schema\/zeebe\/1\.0["']/.exec(e);return t?t[1]:null}function locate(e,t){let n=[...e.matchAll(RegExp(`<([\\w.-]+:)?(?:serviceTask|adHocSubProcess)(${j})\\s*(/?)>`,`g`))].filter(e=>attributesOf(e[2]).get(`id`)===t);if(n.length!==1||n[0][3]===`/`)return null;let r=n[0],i=r.index,a=i+r[0].length,o=r[1]??``,s=e.slice(a),c=RegExp(`^(?:\\s|<${o}documentation(?:\\s[^>]*)?>[\\s\\S]*?</${o}documentation>)*<${o}extensionElements\\s*>`).exec(s);if(!c)return null;let l=a+c[0].length,u=e.indexOf(`</${o}extensionElements>`,l);return u<0?null:{tagStart:i,tagEnd:a,tag:r[0],blockStart:l,blockEnd:u,block:e.slice(l,u)}}function inputBlock(e,t){let n=RegExp(`<${t}ioMapping\\s*>([\\s\\S]*?)</${t}ioMapping>`).exec(e);if(!n)return null;let r=`<${t}ioMapping>`,i=n[1],a=n.index+n[0].indexOf(`>`)+1,o=[],s=RegExp(`<${t}(input|output)(${j})\\s*/>`,`g`);for(let e of i.matchAll(s)){if(e[1]===`output`)continue;let t=attributesOf(e[2]);o.push({start:a+e.index,end:a+e.index+e[0].length,text:e[0],target:t.get(`target`)??``,source:t.get(`source`)??``})}let c=/\n([ \t]*)<[^>]*\/>/.exec(i);return{start:n.index,end:n.index+n[0].length,open:r,inputs:o,indent:c?c[1]:``}}function inputLine(e,t,n){return n===null?`<${e}input target="${escapeAttribute(t)}" />`:`<${e}input source="${escapeAttribute(n)}" target="${escapeAttribute(t)}" />`}function setAttribute(e,t,n){let r=RegExp(`(\\s${t.replace(/[.:]/g,`\\$&`)}\\s*=\\s*)(?:"[^"]*"|'[^']*')`);return r.test(e)?e.replace(r,`$1"${escapeAttribute(n)}"`):e.replace(/\s*(\/?)>$/,` ${t}="${escapeAttribute(n)}"$1>`)}function patched(e,t,n){let r=zeebePrefix(e);if(r===null)throw new Refusal(`not-locatable`,`noZeebe`);let i=locate(e,t);if(!i)throw new Refusal(`not-locatable`,`noElement`);let a=`${r}:`,o=inputBlock(i.block,a);if(!o)throw new Refusal(`not-locatable`,`noInputs`);let s=new Map(o.inputs.map(e=>[e.target,e.text])),c=n.finals.map(e=>e.origin===`old`?s.get(e.oldTarget)??inputLine(a,e.target,e.source):inputLine(a,e.target,e.source)),l=i.block.slice(0,o.start),u=i.block.slice(o.end),d=`\n${o.indent}${c.join(`\n${o.indent}`)}\n${o.indent.slice(0,Math.max(0,o.indent.length-2))}`,f=`${l}${o.open}${d}</${a}ioMapping>${u}`,p=RegExp(`(<${a}taskDefinition${j}\\s*/>)`).exec(f);if(!p)throw new Refusal(`not-locatable`,`noTaskDefinition`);f=f.replace(p[1],setAttribute(p[1],`type`,n.template.taskDefinitionType));for(let[e,t]of[[`elementTemplateVersion`,String(n.template.version)],[`elementTemplateId`,n.template.id]]){let n=RegExp(`<${a}header(?=\\s)[^>]*\\bkey\\s*=\\s*"${e}"[^>]*/>`).exec(f);n&&(f=f.replace(n[0],setAttribute(n[0],`value`,t)))}let m=i.tag;return m=setAttribute(m,`${a}modelerTemplate`,n.template.id),m=setAttribute(m,`${a}modelerTemplateVersion`,String(n.template.version)),`${e.slice(0,i.tagStart)}${m}${e.slice(i.tagEnd,i.blockStart)}${f}${e.slice(i.blockEnd)}`}function everyElement(e){let t=[],visit=e=>{for(let n of e.flowElements??[])t.push(n),n.flowElements&&visit(n)};for(let t of e?.rootElements??[])if(t.$type===`bpmn:Process`&&visit(t),t.$type===`bpmn:Collaboration`)for(let e of t.participants??[])e.processRef&&visit(e.processRef);return t}function labelOf(e){return typeof e.name==`string`&&e.name.trim()!==``?e.name:e.id}function summary(e,t){let n=[];for(let r of everyElement(e)){if(t.has(r.id))continue;let e=(r.extensionElements?.values??[]).find(e=>e.$type===`zeebe:TaskHeaders`)?.values??[];n.push(JSON.stringify([r.id,r.$type,p(r),[...h(r)],e.map(e=>[e.key,e.value])]))}return n.join(`
|
|
2
|
+
`)}async function migrateAgents(e){let t=await x(e),n=[];if(!t)return{xml:e,items:n};let r=e;for(let e of everyElement(t)){let t=p(e);if(t.id===null||!(t.id in A))continue;let i=t.id===`io.camunda.connectors.agenticai.aiagent.v1`?`task`:`subprocess`,a=A[t.id],o={id:a.id,version:a.version},s={elementId:e.id,name:labelOf(e),kind:i,from:{id:t.id,version:t.version},to:o};try{if((i===`task`?`bpmn:ServiceTask`:`bpmn:AdHocSubProcess`)!==e.$type)throw new Refusal(`unsupported-rule`,`wrongType`,{type:e.$type});let a=plan(e,{id:t.id,version:t.version}),c=patched(r,e.id,a),l=await x(c);if(!l)throw new Refusal(`verification`,`unreadable`);let u=everyElement(l).find(t=>t.id===e.id),d=new Map(a.finals.map(e=>[e.target,e.source??``])),f=u?h(u):new Map,m=f.size===d.size&&[...d].every(([e,t])=>f.get(e)===t),g=u?p(u):{id:null,version:null};if(!u||!m||g.id!==o.id||g.version!==o.version)throw new Refusal(`verification`,`readBack`);if(summary(l,new Set([e.id]))!==summary(await x(r),new Set([e.id])))throw new Refusal(`verification`,`otherChanged`);r=c,n.push({...s,status:`migrated`,reason:null,detail:null,changes:a.changes,notes:a.notes})}catch(e){if(!(e instanceof Refusal))throw e;n.push({...s,status:`untouched`,reason:e.reason,detail:e.detail,changes:[],notes:[]})}}return{xml:r,items:n}}async function migrateAgentInDiagram(e){let t=await migrateAgents(await e.xml()),n=t.items.find(t=>t.elementId===e.agentId);if(!n)return a(`app.aiAgents.migrate.nothing`);if(n.status===`untouched`)return a(`app.aiAgents.migrate.untouched`,{reason:n.detail??``});let r=t.items.filter(e=>e.status===`migrated`),i=t.items.length-r.length;return await e.confirm({title:a(`app.aiAgents.migrate.confirmTitle`),text:a(`app.aiAgents.migrate.confirmText`,{migrated:r.length,untouched:i}),accept:a(`app.aiAgents.migrate.accept`),decline:a(`app.common.cancel`),warning:!1})?(await e.apply(t.xml),a(`app.aiAgents.migrate.done`,{migrated:r.length,untouched:i})):a(`app.aiAgents.migrate.cancelled`)}var M=[];function AgentsTab({modeler:n,selectedElementId:r,facts:u}){let d=u?.model??null,f=u?.status??null,p=u?.findings??M,[m,h]=e(!1),[g,_]=e(null),v=t(e=>{n&&l(n,e)},[n]),y=t(e=>e.remote||e.clientId===null||!f?null:f(e.clientId),[f]),x=t(async e=>{if(!u?.diagramPath)return;let t=s();h(!0);try{if(!await(async()=>t.requestFeature(c.AGENT_TOOLS))().catch(()=>!1))return;let n=await u.xml();if(!n)return;let r=await addAgentScenario({diagramPath:u.diagramPath,xml:n,agentId:e.id,save:(e,n)=>t.saveFile(e,n)});_({agent:e.id,text:r})}catch(t){_({agent:e.id,text:a(`app.aiAgents.scenario.failed`,{reason:t instanceof Error?t.message:String(t)})})}finally{h(!1)}},[u]),S=t(async e=>{if(!n)return;let t=s();h(!0);try{if(!await(async()=>t.requestFeature(c.AGENT_TOOLS))().catch(()=>!1))return;let r=await migrateAgentInDiagram({agentId:e.id,xml:async()=>(await n.saveXML({format:!0})).xml,confirm:e=>t.confirmWithUser(e),apply:async e=>{await n.importXML(e),await t.saveBpmnXml(e)}});_({agent:e.id,text:r}),await t.notifyUser(r)}catch(t){_({agent:e.id,text:a(`app.aiAgents.migrate.failed`,{reason:t instanceof Error?t.message:String(t)})})}finally{h(!1)}},[n]);if(!d||d.agents.length===0&&d.orphans.length===0)return i(o,{title:a(`app.aiAgents.tab.emptyTitle`),hint:a(`app.aiAgents.tab.emptyHint`)});let C=b(d,r);return C?i(`div`,{class:`ai-agents`,children:i(AgentCard,{agent:C,findings:p.filter(e=>e.agentId===C.id),statusOf:y,onSelect:v,actions:u?.diagramPath?{makeScenario:()=>void x(C),migrate:C.legacyTemplate?()=>void S(C):null,busy:m,notice:g?.agent===C.id?g.text:null}:null})}):i(`div`,{class:`ai-agents`,children:[i(`p`,{class:`ai-agents__note type-help`,children:a(`app.aiAgents.tab.listHint`)}),i(`ul`,{class:`ai-agents__list`,children:d.agents.map(e=>{let t=p.filter(t=>t.agentId===e.id),n=[e.provider,e.model].filter(Boolean).join(` / `);return i(`li`,{children:i(`button`,{type:`button`,class:`ai-agents__row`,onClick:()=>v(e.id),children:[i(`span`,{class:`ai-agents__row-title`,children:e.name||e.id}),i(`span`,{class:`ai-agents__muted`,children:[a(e.kind===`task`?`app.aiAgents.kind.task`:`app.aiAgents.kind.subprocess`),n,a(`app.aiAgents.tools.count`,{count:e.tools.length})].filter(Boolean).join(` · `)}),t.length>0&&i(`span`,{class:`ai-agents__problem`,children:a(`app.aiAgents.findings.count`,{count:t.length})})]})},e.id)})}),d.orphans.length>0&&i(`section`,{class:`ai-agents__section`,children:[i(`h3`,{class:`ai-agents__heading type-section-heading`,children:a(`app.aiAgents.orphans`)}),i(`ul`,{class:`ai-agents__list`,children:d.orphans.map(e=>i(`li`,{children:i(`button`,{type:`button`,class:`ai-agents__link`,onClick:()=>v(e.id),children:e.name||e.id})},e.id))})]})]})}export{AgentsTab};
|